X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=0.2.1%2Finc%2Fextensions%2Fext-birthday.php;h=fe51e4f71212e67127cf09c1ad4ebbbac4beb05a;hb=4ac856c74ab07fc19ab64039904f2075c8f35b40;hp=d0120ff0c492b16a446d7460ea366c9dad1f85a3;hpb=4696b799ced069ba2a264fa3b38fc033e3dc31dc;p=mailer.git diff --git a/0.2.1/inc/extensions/ext-birthday.php b/0.2.1/inc/extensions/ext-birthday.php index d0120ff0c4..fe51e4f712 100644 --- a/0.2.1/inc/extensions/ext-birthday.php +++ b/0.2.1/inc/extensions/ext-birthday.php @@ -1,212 +1,212 @@ -birtday_confirm.php durchgeführt."; - break; - - case "0.2.8": // SQL queries for v0.2.8 - // Update notes (these will be set as task text!) - $UPDATE_NOTES = "Vergessenes _OB_CACHING gesetzt."; - break; - - case "0.2.9": // SQL queries for v0.2.9 - // Update notes (these will be set as task text!) - $UPDATE_NOTES = "Seit Patch 340 überflüssige HTML-Tags entfernt."; - break; - - case "0.3.0": // SQL queries for v0.3.0 - // Update notes (these will be set as task text!) - $UPDATE_NOTES = "Ausgabe des generierten HTML-Codes nach inc/footer.php verlagert."; - break; - - case "0.3.1": // SQL queries for v0.3.1 - // Update notes (these will be set as task text!) - $UPDATE_NOTES = "Wort Punkte dynamisiert."; - break; - - case "0.3.2": // SQL queries for v0.3.2 - // Update notes (these will be set as task text!) - $UPDATE_NOTES = "Sicherheitsupdate: SQL-Anweisungen geschützt."; - break; - - case "0.3.3": // SQL queries for v0.3.3 - // Update notes (these will be set as task text!) - $UPDATE_NOTES = "Bitte verschieben Sie die birthday-Templates (Ordner: ".PATH."/templates/".GET_LANGUAGE()."/html/) in den neuen Order birthday!"; - break; - - case "0.3.4": // SQL queries for v0.3.4 - // Update notes (these will be set as task text!) - $UPDATE_NOTES = "Abspeichern von Einstellungen repariert."; - break; - - case "0.3.5": // SQL queries for v0.3.5 - // Update notes (these will be set as task text!) - $UPDATE_NOTES = "Vorbereitung auf die neue Mediendaten v0.0.4."; - break; - - case "0.3.6": // SQL queries for v0.3.6 - $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD birthday_mode enum('DIRECT', 'REF') not null default 'DIRECT'"; - $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD birthday_active enum('Y', 'N') not null default 'N'"; - - // Update notes (these will be set as task text!) - $UPDATE_NOTES = "Vergütungsmodus des Geburtstagsbonus einstellbar."; - break; - - case "0.3.7": // SQL queries for v0.3.7 - // Update notes (these will be set as task text!) - $UPDATE_NOTES = "Im Script inc/birthday_mails.php hat sich ein Zeichen mit dem Code 160 eingeschlichen, welches einen Parser Error verursachte, aber wie eine gewöhnliche Leerstelle aussah."; - break; - - case "0.3.8": // SQL queries for v0.3.8 - // Update notes (these will be set as task text!) - $UPDATE_NOTES = "Hash-Erstellung von md5() auf bessere Funktion generateHash() umgestellt."; - break; - } - break; - -default: // Do stuff when extension is loaded - $DUMMY = LOAD_CONFIG("0"); - - // Copy config to main array - $CONFIG['birthday_points'] = $DUMMY['birthday_points']; - $CONFIG['birthday_mode'] = $DUMMY['birthday_mode']; - $CONFIG['birthday_active'] = $DUMMY['birthday_active']; - - // Save some RAM... - unset($DUMMY); - - if ((defined('__DAILY_RESET')) && ($CONFIG['birthday_points'] > 0)) - { - // Daily reset was run and we shall pay points so we start checking for members who - // has a birthday for today - $INC_POOL[] = PATH."inc/mails/birthday_mails.php"; - } - break; -} - -// Language file prefix -$EXT_LANG_PREFIX = "birthday"; - -// Extension is always active? -$EXT_ALWAYS_ACTIVE = "N"; - -// -?> +birtday_confirm.php durchgeführt."; + break; + + case "0.2.8": // SQL queries for v0.2.8 + // Update notes (these will be set as task text!) + $UPDATE_NOTES = "Vergessenes _OB_CACHING gesetzt."; + break; + + case "0.2.9": // SQL queries for v0.2.9 + // Update notes (these will be set as task text!) + $UPDATE_NOTES = "Seit Patch 340 überflüssige HTML-Tags entfernt."; + break; + + case "0.3.0": // SQL queries for v0.3.0 + // Update notes (these will be set as task text!) + $UPDATE_NOTES = "Ausgabe des generierten HTML-Codes nach inc/footer.php verlagert."; + break; + + case "0.3.1": // SQL queries for v0.3.1 + // Update notes (these will be set as task text!) + $UPDATE_NOTES = "Wort Punkte dynamisiert."; + break; + + case "0.3.2": // SQL queries for v0.3.2 + // Update notes (these will be set as task text!) + $UPDATE_NOTES = "Sicherheitsupdate: SQL-Anweisungen geschützt."; + break; + + case "0.3.3": // SQL queries for v0.3.3 + // Update notes (these will be set as task text!) + $UPDATE_NOTES = "Bitte verschieben Sie die birthday-Templates (Ordner: ".PATH."/templates/".GET_LANGUAGE()."/html/) in den neuen Order birthday!"; + break; + + case "0.3.4": // SQL queries for v0.3.4 + // Update notes (these will be set as task text!) + $UPDATE_NOTES = "Abspeichern von Einstellungen repariert."; + break; + + case "0.3.5": // SQL queries for v0.3.5 + // Update notes (these will be set as task text!) + $UPDATE_NOTES = "Vorbereitung auf die neue Mediendaten v0.0.4."; + break; + + case "0.3.6": // SQL queries for v0.3.6 + $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD birthday_mode enum('DIRECT', 'REF') not null default 'DIRECT'"; + $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD birthday_active enum('Y', 'N') not null default 'N'"; + + // Update notes (these will be set as task text!) + $UPDATE_NOTES = "Vergütungsmodus des Geburtstagsbonus einstellbar."; + break; + + case "0.3.7": // SQL queries for v0.3.7 + // Update notes (these will be set as task text!) + $UPDATE_NOTES = "Im Script inc/birthday_mails.php hat sich ein Zeichen mit dem Code 160 eingeschlichen, welches einen Parser Error verursachte, aber wie eine gewöhnliche Leerstelle aussah."; + break; + + case "0.3.8": // SQL queries for v0.3.8 + // Update notes (these will be set as task text!) + $UPDATE_NOTES = "Hash-Erstellung von md5() auf bessere Funktion generateHash() umgestellt."; + break; + } + break; + +default: // Do stuff when extension is loaded + $DUMMY = LOAD_CONFIG("0"); + + // Copy config to main array + $CONFIG['birthday_points'] = $DUMMY['birthday_points']; + $CONFIG['birthday_mode'] = $DUMMY['birthday_mode']; + $CONFIG['birthday_active'] = $DUMMY['birthday_active']; + + // Save some RAM... + unset($DUMMY); + + if ((defined('__DAILY_RESET')) && ($CONFIG['birthday_points'] > 0)) + { + // Daily reset was run and we shall pay points so we start checking for members who + // has a birthday for today + $INC_POOL[] = PATH."inc/mails/birthday_mails.php"; + } + break; +} + +// Language file prefix +$EXT_LANG_PREFIX = "birthday"; + +// Extension is always active? +$EXT_ALWAYS_ACTIVE = "N"; + +// +?>