X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-mods.php;h=b50e2c3440f76eb7154a6dc88c4407595ade1f4e;hb=dec5f26a4db7bb18c22289cba3e26e19ef90ca74;hp=c91e18ae08634a5f4aeb80358873bf6a56a5555b;hpb=f8da178ba4b2f0ed9bfd303d6d32f62b0919a442;p=mailer.git diff --git a/inc/extensions/ext-mods.php b/inc/extensions/ext-mods.php index c91e18ae08..b50e2c3440 100644 --- a/inc/extensions/ext-mods.php +++ b/inc/extensions/ext-mods.php @@ -1,7 +1,7 @@ Patch 340 überflüssige HTML-Tags entfernt."); + setExtensionUpdateNotes("Seit Patch 340 überflüssige HTML-Tags entfernt."); break; case '0.0.5': // SQL queries for v0.0.5 // Update notes (these will be set as task text!) - EXT_SET_UPDATE_NOTES("HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert."); + setExtensionUpdateNotes("HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert."); break; case '0.0.6': // SQL queries for v0.0.6 // Update notes (these will be set as task text!) - EXT_SET_UPDATE_NOTES("Abspeichern von Einstellungen repariert."); + setExtensionUpdateNotes("Abspeichern von Einstellungen repariert."); break; case '0.0.7': // SQL queries for v0.0.7 // Update notes (these will be set as task text!) - EXT_SET_UPDATE_NOTES("Sicherheitsupdate für die Include-Befehle."); + setExtensionUpdateNotes("Sicherheitsupdate für die Include-Befehle."); break; case '0.0.8': // SQL queries for v0.0.8 - ADD_EXT_SQL("UPDATE `{!_MYSQL_PREFIX!}_admin_menu` SET title = 'Modul-Management' WHERE action = 'mods' AND (`what`='' OR `what` IS NULL) LIMIT 1"); + addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET title = 'Modul-Management' WHERE action = 'mods' AND (`what`='' OR `what` IS NULL) LIMIT 1"); // Update notes (these will be set as task text!) - EXT_SET_UPDATE_NOTES("Verwaltung auf Management umgestellt."); + setExtensionUpdateNotes("Verwaltung auf Management umgestellt."); break; } break; - case 'modify': // When the extension got modified - break; + case 'modify': // When the extension got modified + break; - case 'test': // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305. - 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 - break; + case 'init': // Do stuff when extension is initialized + break; + + default: // Unknown extension mode + logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName())); + break; } -// +// [EOF] ?>