X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-html_mail.php;h=276adfb1831933ac5e28b4362f0e97dcdf2f8256;hb=9b8fe454a575a1f000b00bc7ca37eaad6d59d21a;hp=59753a9d061d5924e17d1bfad3595bf1ce1ea639;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e;p=mailer.git diff --git a/inc/extensions/ext-html_mail.php b/inc/extensions/ext-html_mail.php index 59753a9d06..276adfb183 100644 --- a/inc/extensions/ext-html_mail.php +++ b/inc/extensions/ext-html_mail.php @@ -1,23 +1,22 @@ Mailtausch, Mailtausches und Mailtauscher sind austauschbar."); + setExtensionUpdateNotes("Wörter {?mt_word?}, {?mt_word2?} und {?mt_word3?} sind austauschbar."); break; case '0.1.3': // SQL queries for v0.1.3 @@ -123,16 +119,16 @@ switch (getExtensionMode()) { case '0.1.6': // Dependency is needed for ext-registration!! (want to alter a non existent Table) - addExtensionUpdateDependency('bonus'); + addExtensionDependency('bonus'); setExtensionUpdateNotes("Abhänigkeit von der Erweiterung bonus hinzugefügt."); break; - } + } // END - switch 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. + case 'test': // For testing purposes break; case 'init': // Do stuff when extension is initialized @@ -166,15 +162,15 @@ switch (getExtensionMode()) { $GLOBALS['valid_email_chars'] = array( 'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s', 't','u','v','w','x','y','z','a','B','C','D','E','F','G','H','I','J','K','L', - 'M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','-','.','_','0','1', - '2','3','4','5','6','7','8','9' + 'M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','-','.','_',0,1, + 2,3,4,5,6,7,8,9 ); break; default: // Unknown extension mode - DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown extension mode %s detected.", getExtensionMode())); + logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName())); break; -} // END - switc +} // END - switch // [EOF] ?>