X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=0.2.1%2Finc%2Fextensions%2Fext-newsletter.php;h=ed9e51e0c2383fb31e65496593793eefa964d19f;hb=7bc25dd08431c94ce9edca131d56c1a36b13c28a;hp=6c5a3d5d0ea7c7b9b6a058bb7d49afd18f86ad81;hpb=157ee010917df5ca07e6d31b42f67417b2516d74;p=mailer.git
diff --git a/0.2.1/inc/extensions/ext-newsletter.php b/0.2.1/inc/extensions/ext-newsletter.php
index 6c5a3d5d0e..ed9e51e0c2 100644
--- a/0.2.1/inc/extensions/ext-newsletter.php
+++ b/0.2.1/inc/extensions/ext-newsletter.php
@@ -1,191 +1,191 @@
-Immer aktiv für diese Erweiterung deaktiviert.";
- break;
-
- case "0.0.3": // SQL queries for v0.0.3
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Wörter Mailtausch, Mailtausches und Mailtauscher sind austauschbar.";
- break;
-
- case "0.0.4": // SQL queries for v0.0.4
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert.";
- break;
-
- case "0.0.5": // SQL queries for v0.0.5
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Abspeichern von Einstellungen repariert.";
- break;
-
- case "0.0.6": // SQL queries for v0.0.6
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Bitte Script inc/monthly_newsletter.php löschen!";
- break;
-
- case "0.0.7": // SQL queries for v0.0.7
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Script inc/monthly/monthly_newsletter.php wird nicht mehr ausgeführt, wenn die Erweiterung nicht aktiviert ist.";
- break;
-
- case "0.0.8": // SQL queries for v0.0.8
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Sicherheitsupdate für die Include-Befehle.";
- break;
-
- case "0.0.9": // SQL queries for v0.0.9
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Nur bei installierter Erweiterung html_mail können Sie auch HTML-Mails versenden.";
- break;
-
- case "0.1.0": // SQL queries for v0.1.0
- $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD nl_month char(2) not null default '".date("m", time())."'";
-
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Nur bei installierter Erweiterung html_mail können Sie auch HTML-Mails versenden.";
- break;
-
- case "0.1.1": // SQL queries for v0.1.1
- $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config DROP nl_currency";
-
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Währung auf die Erweiterung ext-other.zip verlagert. Bitte auch diese aktualisieren.";
- break;
-
- case "0.1.2": // SQL queries for v0.1.2
- // Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Fehlerhinweis bei deaktivierter Erweiterung verbessert.";
- break;
- }
- break;
-
-default: // Do stuff when extension is loaded
- $DUMMY = LOAD_CONFIG("0");
- $CONFIG['nl_charge'] = $DUMMY['nl_charge']; // Charge for your members to switch off the newsletter
- $CONFIG['nl_month'] = $DUMMY['nl_month']; // Last month of check interval
- unset($DUMMY);
-
- // URL ends which are used to indentify the end of an URL or email link
- // Don't use these chars in links... ;-)
- //
- $URL_ENDS = array(
- " ",
- "\n",
- "\r",
- ")",
- );
-
- // Valid email chars (without @, or do you want to have another @ inside your email addy?)
- $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'
- );
-
- if (defined('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1))
- {
- // Daily reset was run so let's check out for expired newsletter orders
- $INC_POOL[] = PATH."inc/monthly/monthly_newsletter.php";
- }
- break;
-}
-
-// Language file prefix
-$EXT_LANG_PREFIX = "newsletter";
-
-// Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
-
-//
-?>
+Immer aktiv für diese Erweiterung deaktiviert.";
+ break;
+
+ case "0.0.3": // SQL queries for v0.0.3
+ // Update notes (these will be set as task text!)
+ $UPDATE_NOTES = "Wörter Mailtausch, Mailtausches und Mailtauscher sind austauschbar.";
+ break;
+
+ case "0.0.4": // SQL queries for v0.0.4
+ // Update notes (these will be set as task text!)
+ $UPDATE_NOTES = "HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert.";
+ break;
+
+ case "0.0.5": // SQL queries for v0.0.5
+ // Update notes (these will be set as task text!)
+ $UPDATE_NOTES = "Abspeichern von Einstellungen repariert.";
+ break;
+
+ case "0.0.6": // SQL queries for v0.0.6
+ // Update notes (these will be set as task text!)
+ $UPDATE_NOTES = "Bitte Script inc/monthly_newsletter.php löschen!";
+ break;
+
+ case "0.0.7": // SQL queries for v0.0.7
+ // Update notes (these will be set as task text!)
+ $UPDATE_NOTES = "Script inc/monthly/monthly_newsletter.php wird nicht mehr ausgeführt, wenn die Erweiterung nicht aktiviert ist.";
+ break;
+
+ case "0.0.8": // SQL queries for v0.0.8
+ // Update notes (these will be set as task text!)
+ $UPDATE_NOTES = "Sicherheitsupdate für die Include-Befehle.";
+ break;
+
+ case "0.0.9": // SQL queries for v0.0.9
+ // Update notes (these will be set as task text!)
+ $UPDATE_NOTES = "Nur bei installierter Erweiterung html_mail können Sie auch HTML-Mails versenden.";
+ break;
+
+ case "0.1.0": // SQL queries for v0.1.0
+ $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD nl_month char(2) not null default '".date("m", time())."'";
+
+ // Update notes (these will be set as task text!)
+ $UPDATE_NOTES = "Nur bei installierter Erweiterung html_mail können Sie auch HTML-Mails versenden.";
+ break;
+
+ case "0.1.1": // SQL queries for v0.1.1
+ $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config DROP nl_currency";
+
+ // Update notes (these will be set as task text!)
+ $UPDATE_NOTES = "Währung auf die Erweiterung ext-other.zip verlagert. Bitte auch diese aktualisieren.";
+ break;
+
+ case "0.1.2": // SQL queries for v0.1.2
+ // Update notes (these will be set as task text!)
+ $UPDATE_NOTES = "Fehlerhinweis bei deaktivierter Erweiterung verbessert.";
+ break;
+ }
+ break;
+
+default: // Do stuff when extension is loaded
+ $DUMMY = LOAD_CONFIG("0");
+ $CONFIG['nl_charge'] = $DUMMY['nl_charge']; // Charge for your members to switch off the newsletter
+ $CONFIG['nl_month'] = $DUMMY['nl_month']; // Last month of check interval
+ unset($DUMMY);
+
+ // URL ends which are used to indentify the end of an URL or email link
+ // Don't use these chars in links... ;-)
+ //
+ $URL_ENDS = array(
+ " ",
+ "\n",
+ "\r",
+ ")",
+ );
+
+ // Valid email chars (without @, or do you want to have another @ inside your email addy?)
+ $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'
+ );
+
+ if (defined('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1))
+ {
+ // Daily reset was run so let's check out for expired newsletter orders
+ $INC_POOL[] = PATH."inc/monthly/monthly_newsletter.php";
+ }
+ break;
+}
+
+// Language file prefix
+$EXT_LANG_PREFIX = "newsletter";
+
+// Extension is always active?
+$EXT_ALWAYS_ACTIVE = "N";
+
+//
+?>