- $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_admin_menu (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','config_autopurge','Auto-Löschung','Automatisch inaktive oder nicht bestätigte Accounts löschen.','12')";
- $SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_admin_menu (`action`,`what`,`title`,`descr`,`sort`) VALUES ('user','list_autopurge','Inaktive finden','Lassen Sie sich vor dem täglichen Reset anzeigen, welche Mitglieder als inaktiv erkannt werden und welche gelöscht werden.','10')";
+ $SQLs[] = "INSERT INTO `{!_MYSQL_PREFIX!}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','config_autopurge','Auto-Löschung','Automatisch inaktive oder nicht bestätigte Accounts löschen.','12')";
+ $SQLs[] = "INSERT INTO `{!_MYSQL_PREFIX!}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('user','list_autopurge','Inaktive finden','Lassen Sie sich vor dem täglichen Reset anzeigen, welche Mitglieder als inaktiv erkannt werden und welche gelöscht werden.','10')";
$UPDATE_NOTES = "Automatisches Lö:schen von inaktiven bzw. nicht bestätigten Accounts hinzugefügt.";
@@ -102,13+102,13 @@ case "update": // Update an extension
case "0.1.4": // SQL queries for v0.1.4
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Fehler <FONT class=\"admin_failed\">Warning: Missing argument 2 for create_timestamp_from_selections() in {!PATH!}inc/libs/pro_functions.php on line 227</FONT> behoben.";
+ $UPDATE_NOTES = "Fehler <div class=\"admin_failed\">Warning: Missing argument 2 for create_timestamp_from_selections() in {!PATH!}inc/libs/pro_functions.php on line 227</div> behoben.";
break;
case "0.1.5": // SQL queries for v0.1.5
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Anstelle von <STRONG>ref_depth</STRONG> wurde <STRONG>level</STRONG> programmiert.";
+ $UPDATE_NOTES = "Anstelle von <strong>ref_depth</strong> wurde <strong>level</strong> programmiert.";
break;
case "0.1.6": // SQL queries for v0.1.6
@@ -127,20+127,20 @@ case "update": // Update an extension
- $UPDATE_NOTES = "Bereinigung von zu löschenden Aufgaben klappt wieder. Zeitlimit für genanntes kann eingestellt werden (Default = 7 Tage).<br /><br /><U>Bitte aktualisieren Sie auch die Admin-Templates!</U>";
+ $UPDATE_NOTES = "Bereinigung von zu löschenden Aufgaben klappt wieder. Zeitlimit für genanntes kann eingestellt werden (Default = 7 Tage).<br /><br /><u>Bitte aktualisieren Sie auch die Admin-Templates!</u>";
$UPDATE_NOTES = "Von bereits gelöschten Mitgliedern die Mails löschen integriert.";
@@ -214,12+214,12 @@ case "update": // Update an extension
case "0.3.4": // SQL queries for v0.3.4
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Fehler mit <STRONG>timestamp_send</STRONG> (Zeile 308) beseitigt.";
+ $UPDATE_NOTES = "Fehler mit <strong>timestamp_send</strong> (Zeile 308) beseitigt.";
break;
case "0.3.5": // SQL queries for v0.3.5
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Fehler mit <STRONG>ap_del_emails</STRONG> (Einstellungen im Admin-Bereich) beseitigt.";
+ $UPDATE_NOTES = "Fehler mit <strong>ap_del_emails</strong> (Einstellungen im Admin-Bereich) beseitigt.";
break;
case "0.3.6": // SQL queries for v0.3.6
@@ -239,7+239,7 @@ case "update": // Update an extension
case "0.3.9": // SQL queries for v0.3.9
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "if-Anweisungen auf Funktion <STRONG>empty()</STRONG> umgestellt. Unter <STRONG>Auto-Löschung</STRONG> finden Sie nun auch die Einstellungen zu Mailbestätigungs wieder. Zudem werden keine Urlauber (neue Urlaubsschaltung beachtet) mehr als inaktiv erkannt.";
+ $UPDATE_NOTES = "if-Anweisungen auf Funktion <strong>empty()</strong> umgestellt. Unter <strong>Auto-Löschung</strong> finden Sie nun auch die Einstellungen zu Mailbestätigungs wieder. Zudem werden keine Urlauber (neue Urlaubsschaltung beachtet) mehr als inaktiv erkannt.";
break;
case "0.4.0": // SQL queries for v0.4.0
@@ -249,12+249,14 @@ case "update": // Update an extension
}
break;
+case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
+ break;
+
default: // Do stuff when extension is loaded
// Do we have a daily-reset-run?
- if (isBooleanConstantAndTrue('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1))
- {
+ if (isBooleanConstantAndTrue('__DAILY_RESET') && (!isBooleanConstantAndTrue('DEBUG_MODE')) && ($GLOBALS['output_mode'] != 1)) {
// Yes, we have. So let's auto-purge some campaigns, inactive users and unconfirmed accounts