X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fextensions%2Fext-mydata.php;h=3d59ac095db27d8dab89f78c61d94473bc8adefb;hb=a090e351c49fe021fb3064325694da03402332e0;hp=7aff390729f3709ed75ddc29879d802ed716591f;hpb=e01fcf1ca8ddeb72af76465df3ef72301a1cdae7;p=mailer.git diff --git a/inc/extensions/ext-mydata.php b/inc/extensions/ext-mydata.php index 7aff390729..3d59ac095d 100644 --- a/inc/extensions/ext-mydata.php +++ b/inc/extensions/ext-mydata.php @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Ausgelagertes "Profildaten aendern" * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: stelzi $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * @@ -43,132 +43,132 @@ if (!defined('__SECURITY')) { } // Version number -EXT_SET_VERSION("0.1.8"); +EXT_SET_VERSION('0.1.8'); -// Version history array (add more with , "0.1" and so on) -EXT_SET_VER_HISTORY(array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.0.6", "0.0.7", "0.0.8", "0.0.9", "0.1.0", "0.1.1", "0.1.2", "0.1.3", "0.1.4", "0.1.5", "0.1.6", "0.1.7", "0.1.8")); +// Version history array (add more with , '0.1.0' and so on) +EXT_SET_VER_HISTORY(array('0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6', '0.0.7', '0.0.8', '0.0.9', '0.1.0', '0.1.1', '0.1.2', '0.1.3', '0.1.4', '0.1.5', '0.1.6', '0.1.7', '0.1.8')); switch ($EXT_LOAD_MODE) { -case "register": // Do stuff when installation is running (modules.php?module=admin&action=login is called) +case 'register': // Do stuff when installation is running (modules.php?module=admin&action=login is called) // SQL commands to run - ADD_SQL(""); + ADD_EXT_SQL(""); break; -case "remove": // Do stuff when removing extension +case 'remove': // Do stuff when removing extension // SQL commands to run - ADD_SQL(""); + ADD_EXT_SQL(""); break; -case "activate": // Do stuff when admin activates this extension +case 'activate': // Do stuff when admin activates this extension // SQL commands to run - ADD_SQL(""); + ADD_EXT_SQL(""); break; -case "deactivate": // Do stuff when admin deactivates this extension +case 'deactivate': // Do stuff when admin deactivates this extension // SQL commands to run - ADD_SQL(""); + ADD_EXT_SQL(""); break; -case "update": // Update an extension +case 'update': // Update an extension switch ($EXT_VER) { - case "0.0.2": // SQL queries for v0.0.2 + case '0.0.2': // SQL queries for v0.0.2 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Fehlende Abfrage im Mitlieder-Modul, on Erweiterung auch aktiviert ist."); break; - case "0.0.3": // SQL queries for v0.0.3 + case '0.0.3': // SQL queries for v0.0.3 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist."); break; - case "0.0.4": // SQL queries for v0.0.4 + case '0.0.4': // SQL queries for v0.0.4 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist."); break; - case "0.0.5": // SQL queries for v0.0.5 + case '0.0.5': // SQL queries for v0.0.5 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist."); break; - case "0.0.6": // SQL queries for v0.0.6 + case '0.0.6': // SQL queries for v0.0.6 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Menüpunkte im Gast-/Mitgliedsbereich können nicht mehr aufgerufen werden, wenn die Erweiterung deaktiviert ist."); break; - case "0.0.7": // SQL queries for v0.0.7 + case '0.0.7': // SQL queries for v0.0.7 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Sperrung des Mitgliederprofiles nach Änderung kann unter "Sonstige Einstellungen" abgeschaltet werden (0 setzen!)"); break; - case "0.0.8": // SQL queries for v0.0.8 + case '0.0.8': // SQL queries for v0.0.8 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Seit Patch 340 überflüssige HTML-Tags entfernt."); break; - case "0.0.9": // SQL queries for v0.0.9 + case '0.0.9': // SQL queries for v0.0.9 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Anrede "Firma" hinzugefügt."); break; - case "0.1.0": // SQL queries for v0.2.1 + case '0.1.0': // SQL queries for v0.2.1 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Datumsformat festgelegt auf ausführlich."); break; - case "0.1.1": // SQL queries for v0.1.1 + case '0.1.1': // SQL queries for v0.1.1 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Email-Adresse wird vor dem Speichern auf G¨tigkeit hin getestet."); break; - case "0.1.2": // SQL queries for v0.1.2 + case '0.1.2': // SQL queries for v0.1.2 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Einbindung der Erweiterung country, die Sie sich noch optional von meiner Seite herunterladen müssen.

Wichtig: Laden Sie noch die Template member_mydata_overview und member_mydata_edit (beide zu finden unter templates/".GET_LANGUAGE()."/html/member/ !) mit hoch!"); // Depends on 'country'! - EXT_SET_UPDATE_DEPENDS("country"); + EXT_ADD_UPDATE_DEPENDS('country'); break; - case "0.1.3": // SQL queries for v0.1.3 + case '0.1.3': // SQL queries for v0.1.3 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Es werden dem Mitglied nur aktivierte Ländercodes zur Auswahl angeboten."); break; - case "0.1.4": // SQL queries for v0.1.4 + case '0.1.4': // SQL queries for v0.1.4 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("SQL-Anweisungen mit SQL_QUERY_ESC() abgesichert."); break; - case "0.1.5": // SQL queries for v0.1.5 + case '0.1.5': // SQL queries for v0.1.5 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Abspeichern von Einstellungen repariert."); break; - case "0.1.6": // SQL queries for v0.1.6 + case '0.1.6': // SQL queries for v0.1.6 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Die Einstellungen können nun auch ohne der Erweiterung country abgespeichert werden."); break; - case "0.1.7": // SQL queries for v0.1.7 + case '0.1.7': // SQL queries for v0.1.7 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Hash-Erstellung von md5() auf bessere Funktion generateHash() umgestellt."); break; - case "0.1.8": // SQL queries for v0.1.8 + case '0.1.8': // SQL queries for v0.1.8 // Update notes (these will be set as task text!) EXT_SET_UPDATE_NOTES("Fehlerhinweis bei deaktivierter Erweiterung verbessert."); break; } break; -case "modify": // When the extension got modified +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. For details see file inc/modules/admin/what-extensions.php, arround line 305. break; default: // Do stuff when extension is loaded