./inc/modules/member/what-logout.php:17: * @TODO Rewrite the code to a filter *
./inc/modules/member/what-logout.php:52: // @TODO Move this in a filter, e.g. member_logout
./inc/modules/member/what-mydata.php:82: // @TODO Move this to a function (for better EL code)
-./inc/modules/member/what-order.php:362: // @TODO Rewrite this to a filter
+./inc/modules/member/what-order.php:365: // @TODO Rewrite this to a filter
./inc/modules/member/what-order.php:72: // @TODO Try to move out url_tlock to a filter for extra SQL statements
./inc/modules/member/what-payout.php:208: // @TODO Rewrite this to a filter
./inc/modules/member/what-points.php:61:// @TODO Should we rewrite this to a filter?
./inc/template-functions.php:209: * @TODO On some pages this is buggy
./inc/template-functions.php:298: // @TODO Remove these sanity checks if all is fine
./inc/template-functions.php:747: // @TODO $userid is deprecated and should be removed from loadEmailTemplate() and replaced with $content[userid] in all templates
-./inc/wrapper-functions.php:3215: // @TODO Find a way to not use direct module comparison
+./inc/wrapper-functions.php:3227: // @TODO Find a way to not use direct module comparison
./inc/wrapper-functions.php:566:// @TODO Do some more sanity check here
./inc/xml-functions.php:240: // @TODO Handle characters
./mailid.php:123: // @TODO Rewrite this to a filter/function
Dollarzeichen = {DOLLAR_TAG}
Klammer-Auf = {OPEN_TAG}
Klammer-Zu = {CLOSE_TAG}
-Template-Auf = {OPEN_TEMPLATE} (damit ist {-- gemeint!)
-Template-Zu = {CLOSE_TEMPLATE} (damit ist --} gemeint!)
+Sprache-Auf = {OPEN_LANGUAGE} (damit ist {-- gemeint)
+Sprache-Zu = {CLOSE_LANGUAGE} (damit ist --} gemeint)
+Template-Auf = {OPEN_TEMPLATE} (damit ist {% gemeint)
+Template-Zu = {CLOSE_TEMPLATE} (damit ist %} gemeint)
Neu sind (v0.0.8 mit neusten Patches):
Abostrof (') = {QUOT}
Dollarzeichen = {DOLLAR_TAG}
Klammer-Auf = {OPEN_TAG}
Klammer-Zu = {CLOSE_TAG}
-Template-Auf = {OPEN_TEMPLATE} (damit ist {-- gemeint!)
-Template-Zu = {CLOSE_TEMPLATE} (damit ist --} gemeint!)
+Sprache-Auf = {OPEN_LANGUAGE} (damit ist {-- gemeint)
+Sprache-Zu = {CLOSE_LANGUAGE} (damit ist --} gemeint)
+Template-Auf = {OPEN_TEMPLATE} (damit ist {% gemeint)
+Template-Zu = {CLOSE_TEMPLATE} (damit ist %} gemeint)
Neu sind (v0.0.8 mit neusten Patches):
Abostrof (') = {QUOT}
// Load text for task if found
if (isFileReadable($FQFN)) {
// Load extension's description template (but do not compile the code)
- $message = loadTemplate('ext_' . $ext_name, TRUE, array(), FALSE);
+ $message = '{OPEN_TEMPLATE}template,LoadTemplate=ext_' . $ext_name . '{CLOSE_TEMPLATE}';
} else {
// Write this in debug.log as well
logDebugMessage(__FUNCTION__, __LINE__, $message);
// SQL commands to run
// Register module
- //addModuleSql('foo', '{OPEN_TEMPLATE}MODULE_FOO_TITLE{CLOSE_TEMPLATE}','Y','Y','N','N');
+ //addModuleSql('foo', '{OPEN_LANGUAGE}MODULE_FOO_TITLE{CLOSE_LANGUAGE}','Y','Y','N','N');
break;
case 'remove': // Do stuff when removing extension
// SQL commands to run
// Register module
- //addModuleSql('foo', '{OPEN_TEMPLATE}MODULE_FOO_TITLE{CLOSE_TEMPLATE}','Y','Y','N','N');
+ //addModuleSql('foo', '{OPEN_LANGUAGE}MODULE_FOO_TITLE{CLOSE_LANGUAGE}','Y','Y','N','N');
break;
case 'remove': // Do stuff when removing extension
} // END - if
// Version number
-setThisExtensionVersion('0.3.5');
+setThisExtensionVersion('0.3.6');
// Version history array (add more with , '0.0.1' and so on)
-setExtensionVersionHistory(array('0.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', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5'));
+setExtensionVersionHistory(array('0.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', '0.1.9', '0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.2.5', '0.2.6', '0.2.7', '0.2.8', '0.2.9', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.3.5', '0.3.6'));
switch (getExtensionMode()) {
case 'setup': // Do stuff when installation is running
case '0.3.2': // SQL queries for v0.3.2
// Add module entry
- addModuleSql('beg', '{OPEN_TEMPLATE}MODULE_BEG_TITLE{CLOSE_TEMPLATE}', 'Y', 'Y', 'N', 'N');
+ addModuleSql('beg', '{OPEN_LANGUAGE}MODULE_BEG_TITLE{CLOSE_LANGUAGE}', 'Y', 'Y', 'N', 'N');
// Set module title
addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `title`='Betteln bei {OPEN_CONFIG}MAIN_TITLE{CLOSE_CONFIG}' WHERE `module`='beg' AND `title`='' LIMIT 1");
// Update notes
setExtensionUpdateNotes("Filter für das Ausschließen des konfigurierbaren Mitgliedaccounts hinzugefügt.");
break;
+
+ case '0.3.6': // SQL queries for v0.3.6
+ // SQL to update module
+ addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_mod_reg` SET `title`='{OPEN_LANGUAGE}MODULE_BEG_TITLE{CLOSE_LANGUAGE}' WHERE `module`='beg' LIMIT 1");
+
+ // Update notes
+ setExtensionUpdateNotes("Modul-Titel nach neuem Format angepasst.");
+ break;
} // END - switch
break;
// SQL commands to run
// Register module
- //addModuleSql('foo', '{OPEN_TEMPLATE}MODULE_CPRPING_TITLE{CLOSE_TEMPLATE}','Y','Y','N','N');
+ //addModuleSql('foo', '{OPEN_LANGUAGE}MODULE_CPRPING_TITLE{CLOSE_LANGUAGE}','Y','Y','N','N');
break;
case 'remove': // Do stuff when removing extension
// SQL commands to run
// Register module
- //addModuleSql('foo', '{OPEN_TEMPLATE}MODULE_FOO_TITLE{CLOSE_TEMPLATE}','Y','Y','N','N');
+ //addModuleSql('foo', '{OPEN_LANGUAGE}MODULE_FOO_TITLE{CLOSE_LANGUAGE}','Y','Y','N','N');
break;
case 'remove': // Do stuff when removing extension
addAdminMenuSql('surfbar', 'list_surfbar_actions', 'Mitglieder-Aktionen', 'Listet alle Mitglieder-Aktionen auf.', 7);
// Register module
- addModuleSql('surfbar', '{OPEN_TEMPLATE}MODULE_SURFBAR_TITLE{CLOSE_TEMPLATE}', 'Y', 'Y', 'N', 'N');
+ addModuleSql('surfbar', '{OPEN_LANGUAGE}MODULE_SURFBAR_TITLE{CLOSE_LANGUAGE}', 'Y', 'Y', 'N', 'N');
// Insert data for points accounts
registerExtensionPointsData('monthly_surfbar', 'points', 'LOCKED', 'DIRECT');
addConfigAddSql('network_logging_purge', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT ' . (getOneDay() * 3));
// Register modules
-addModuleSql('network-delurl', '{OPEN_TEMPLATE}MODULE_NETWORK_DELURL_TITLE{CLOSE_TEMPLATE}', 'Y', 'Y', 'N', 'N');
-addModuleSql('network-vcheck', '{OPEN_TEMPLATE}MODULE_NETWORK_VCHECK_TITLE{CLOSE_TEMPLATE}', 'Y', 'Y', 'N', 'N');
+addModuleSql('network-delurl', '{OPEN_LANGUAGE}MODULE_NETWORK_DELURL_TITLE{CLOSE_LANGUAGE}', 'Y', 'Y', 'N', 'N');
+addModuleSql('network-vcheck', '{OPEN_LANGUAGE}MODULE_NETWORK_VCHECK_TITLE{CLOSE_LANGUAGE}', 'Y', 'Y', 'N', 'N');
// [EOF]
?>
//
// Register module
//
- addModuleSql('sponsor', '{OPEN_TEMPLATE}MODULE_SPONSOR_TITLE{CLOSE_TEMPLATE}', 'Y', 'Y', 'N', 'N');
- addModuleSql('sponsor_confirm', '{OPEN_TEMPLATE}MODULE_SPONSOR_CONFIRM_TITLE{CLOSE_TEMPLATE}', 'Y', 'Y', 'N', 'N');
- addModuleSql('sponsor_ref', '{OPEN_TEMPLATE}MODULE_SPONSOR_REF_TITLE{CLOSE_TEMPLATE}', 'Y', 'Y', 'N', 'N');
+ addModuleSql('sponsor', '{OPEN_LANGUAGE}MODULE_SPONSOR_TITLE{CLOSE_LANGUAGE}', 'Y', 'Y', 'N', 'N');
+ addModuleSql('sponsor_confirm', '{OPEN_LANGUAGE}MODULE_SPONSOR_CONFIRM_TITLE{CLOSE_LANGUAGE}', 'Y', 'Y', 'N', 'N');
+ addModuleSql('sponsor_ref', '{OPEN_LANGUAGE}MODULE_SPONSOR_REF_TITLE{CLOSE_LANGUAGE}', 'Y', 'Y', 'N', 'N');
// [EOF]
?>
break;
case '0.0.3': // SQL queries for v0.0.3
- addConfigAddSql('points_word', "VARCHAR(255) NOT NULL DEFAULT '{OPEN_TEMPLATE}DEFAULT_POINTS{CLOSE_TEMPLATE}'");
+ addConfigAddSql('points_word', "VARCHAR(255) NOT NULL DEFAULT '{OPEN_LANGUAGE}DEFAULT_POINTS{CLOSE_LANGUAGE}'");
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Das Wort "Punkte" kann nun per Datenbank geändert werden. Damit können anstelle des Wortes Punkte auch Klammlose, Wernis, Primera und auch € geschrieben werden.");
// Generate arrays which holds the relevante chars to replace
$GLOBALS['security_chars'] = array(
// The chars we are looking for...
- 'from' => array('/', '.', chr(39), '$', '(', ')', '{--', '--}', '{?', '?}', '%', ';', '[', ']', ':', '--', chr(92), chr(39), '<', '>'),
+ 'from' => array('/', '.', chr(39), '$', '(', ')', '{--', '--}', '{%', '%}', '{?', '?}', '%', ';', '[', ']', ':', '--', chr(92), chr(39), '<', '>'),
// ... and we will replace to.
'to' => array(
'{SLASH}',
'{DOLLAR}',
'{OPEN_ANCHOR}',
'{CLOSE_ANCHOR}',
+ '{OPEN_LANGUAGE}',
+ '{CLOSE_LANGUAGE}',
'{OPEN_TEMPLATE}',
'{CLOSE_TEMPLATE}',
'{OPEN_CONFIG}',
<div class="para">
- Sperren Sie Email-Adressen oder URLs mit dieser Erweiterung. Diese
- Erweiterung sollte in keinem {?mt_word?} fehlen.
+ Sperren Sie mit dieser Erweiterung Email-Adressen, IP-Adressen, URLs oder
+ was auch immer. Diese Erweiterung sollte in keinem {?mt_word?} fehlen.
</div>