X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fextensions%2Fext-mydata.php;h=4e2bd33447445ac7fcca9bc0bec63e0c517581a3;hb=960275cb88e8d42645a735b695e1d176b135d4b1;hp=5b4617a17c68f1b68e7cdabcbc3a6d8137df8ee8;hpb=fff3e2abc8ffb5a086fbf0f3a7d6b9f2ff5ddaed;p=mailer.git
diff --git a/inc/extensions/ext-mydata.php b/inc/extensions/ext-mydata.php
index 5b4617a17c..4e2bd33447 100644
--- a/inc/extensions/ext-mydata.php
+++ b/inc/extensions/ext-mydata.php
@@ -32,8 +32,7 @@
************************************************************************/
// Some security stuff...
-if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])))
-{
+if (!defined('__SECURITY')) {
$INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
}
@@ -49,7 +48,7 @@ $EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.
switch ($EXT_LOAD_MODE)
{
-case "register": // Do stuff when installtion 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
$SQLs[] = "";
break;
@@ -104,7 +103,7 @@ case "update": // Update an extension
case "0.0.8": // SQL queries for v0.0.8
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Seit Patch 340 überflüssige HTML-Tags entfernt.";
+ $UPDATE_NOTES = "Seit Patch 340 überflüssige HTML-Tags entfernt.";
break;
case "0.0.9": // SQL queries for v0.0.9
@@ -112,7 +111,7 @@ case "update": // Update an extension
$UPDATE_NOTES = "Anrede "Firma" hinzugefügt.";
break;
- case "0.1.0": // SQL queries for v0.1.0
+ case "0.1.0": // SQL queries for v0.2.1
// Update notes (these will be set as task text!)
$UPDATE_NOTES = "Datumsformat festgelegt auf ausführlich.";
break;
@@ -124,12 +123,13 @@ case "update": // Update an extension
case "0.1.2": // SQL queries for v0.1.2
// Update notes (these will be set as task text!)
- $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!";
+ $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_UPDATE_DEPENDS = "country";
+ break;
case "0.1.3": // SQL queries for v0.1.3
// Update notes (these will be set as task text!)
@@ -148,12 +148,12 @@ case "update": // Update an extension
case "0.1.6": // SQL queries for v0.1.6
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Die Einstellungen können nun auch ohne der Erweiterung country abgespeichert werden.";
+ $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
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Hash-Erstellung von md5() auf bessere Funktion generateHash() umgestellt.";
+ $UPDATE_NOTES = "Hash-Erstellung von md5() auf bessere Funktion generateHash() umgestellt.";
break;
case "0.1.8": // SQL queries for v0.1.8
@@ -163,15 +163,12 @@ case "update": // Update an extension
}
break;
+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
break;
}
-// Language file prefix
-$EXT_LANG_PREFIX = "mydata";
-
-// Extension is always active?
-$EXT_ALWAYS_ACTIVE = 'N';
-
//
?>