X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-mydata.php;h=39338716728bb8b6156795d3c51f2b855ad99089;hb=0437f06b273f885db05736449a952c6eb72086ca;hp=04730bb21add089dfc3b8606f2bbaa13204e4b81;hpb=f26aab4a55972825a0d3ef9346c8c8dea8752b7b;p=mailer.git diff --git a/inc/extensions/ext-mydata.php b/inc/extensions/ext-mydata.php index 04730bb21a..3933871672 100644 --- a/inc/extensions/ext-mydata.php +++ b/inc/extensions/ext-mydata.php @@ -38,137 +38,137 @@ // Some security stuff... if (!defined('__SECURITY')) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; + $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; require($INC); } // 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_EXT_SQL(""); break; -case "remove": // Do stuff when removing extension +case 'remove': // Do stuff when removing extension // SQL commands to run 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_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_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!"); +Wichtig: Laden Sie noch die Template member_mydata_overview und member_mydata_edit (beide zu finden unter templates/".getLanguage()."/html/member/ !) mit hoch!"); // Depends on 'country'! - EXT_ADD_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