X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-html_mail.php;h=53eb0ab7cae542c6fbd7b042b20893e864e5f20b;hb=175b3f506e193d8d791ec6523db42276e296dd0b;hp=654f940b64c80730dec471541ca3eb27fbd4fd50;hpb=c2e17d983fcbc0c3bd1dd37908d87c678f0367df;p=mailer.git
diff --git a/inc/extensions/ext-html_mail.php b/inc/extensions/ext-html_mail.php
index 654f940b64..53eb0ab7ca 100644
--- a/inc/extensions/ext-html_mail.php
+++ b/inc/extensions/ext-html_mail.php
@@ -1,24 +1,23 @@
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 +122,26 @@ switch (getExtensionMode()) {
case '0.1.6':
// Dependency is needed for ext-registration!! (want to alter a non existent Table)
- addExtensionUpdateDependency('bonus');
+ addExtensionDependency('bonus');
+
+ // Update notes (these will be set as task text!)
setExtensionUpdateNotes("Abhänigkeit von der Erweiterung bonus hinzugefügt.");
break;
- }
+
+ case '0.1.7':
+ // Register filter
+ registerFilter(__FILE__, __LINE__, 'pre_mail_order', 'CHECK_HTML_MAIL_ORDER', FALSE, TRUE, isExtensionDryRun());
+
+ // Update notes (these will be set as task text!)
+ setExtensionUpdateNotes("Filter für ext-order 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
@@ -157,8 +166,8 @@ switch (getExtensionMode()) {
//
$GLOBALS['url_ends'] = array(
' ',
- "\n",
- "\r",
+ PHP_EOL,
+ chr(13),
')',
);
@@ -172,9 +181,9 @@ switch (getExtensionMode()) {
break;
default: // Unknown extension mode
- DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown extension mode %s detected.", getExtensionMode()));
+ reportBug(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName()));
break;
-} // END - switc
+} // END - switch
// [EOF]
?>