************************************************************************/
// 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);
}
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;
switch ($EXT_VER)
{
case "0.0.1": // SQL queries for v0.0.1
- $SQLs[] = "UPDATE "._MYSQL_PREFIX."_extensions SET ext_lang_file='mailid' WHERE ext_name='mailid' AND ext_lang_file != 'mailid' LIMIT 1";
-
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Sprachdatei auf mailid gesetzt.";
+ $UPDATE_NOTES = "Veraltetes Update.";
break;
case "0.0.2": // SQL queries for v0.0.2
case "0.2.7": // SQL queries for v0.2.7
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Wenn die ".POINTS." dem <STRONG>noch auf Auszahlung wartendem Guthaben</STRONG> aufaddiert wird, wird eine entsprechende Nachricht ausgegeben (neue Templates <STRONG>mailid_points_locked</STRONG> und <STRONG>mailid_points_locked2</STRONG> sind hinzugekommen!)";
+ $UPDATE_NOTES = "Wenn die {!POINTS!} dem <STRONG>noch auf Auszahlung wartendem Guthaben</STRONG> aufaddiert wird, wird eine entsprechende Nachricht ausgegeben (neue Templates <STRONG>mailid_points_locked</STRONG> und <STRONG>mailid_points_locked2</STRONG> sind hinzugekommen!)";
break;
case "0.2.8": // SQL queries for v0.2.8
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Bonus- und Standart-Referral-ID ausblendbar aus Aktiv-Rallye und bekommt kein Aktiv-Guthaben.";
+ $UPDATE_NOTES = "Bonus- und Standart-Referal-ID ausblendbar aus Aktiv-Rallye und bekommt kein Aktiv-Guthaben.";
break;
case "0.2.9": // SQL queries for v0.2.9
case "0.3.2": // SQL queries for v0.3.2
// Update notes (these will be set as task text!)
- $UPDATE_NOTES = "Bitte das Template <em><strong>".PATH."/templates/de/html/mailid/mailid_points_lcoked2.tpl</strong></em> löschen. Noices fixed.";
+ $UPDATE_NOTES = "Bitte das Template <em><strong>{!PATH!}/templates/de/html/mailid/mailid_points_lcoked2.tpl</strong></em> löschen. Noices fixed.";
break;
case "0.3.3": // SQL queries for v0.3.3
break;
}
-// Language file prefix
-$EXT_LANG_PREFIX = "mailid";
-
-// Extension is always active?
-$EXT_ALWAYS_ACTIVE = "N";
-
//
?>