templates/de/html/admin/admin_edit_guest_menu_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_edit_member_menu.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_edit_member_menu_row.tpl -text svneol=unset#text/plain
+templates/de/html/admin/admin_edit_mods.tpl -text svneol=unset#text/plain
+templates/de/html/admin/admin_edit_mods_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_edit_network_params.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_edit_network_params_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_edit_network_types.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_edit_sponsor_sub_points.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_edit_surfbar_urls.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_edit_surfbar_urls_row.tpl -text svneol=unset#text/plain
+templates/de/html/admin/admin_edit_theme.tpl -text svneol=unset#text/plain
+templates/de/html/admin/admin_edit_theme_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_edit_user.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_email_archiv.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_email_archiv_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_extensions_text.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_footer.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_guest_menu_status.tpl -text svneol=unset#text/plain
+templates/de/html/admin/admin_import_theme.tpl -text svneol=unset#text/plain
+templates/de/html/admin/admin_import_theme_none.tpl svneol=native#text/plain
+templates/de/html/admin/admin_import_theme_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_list_admins.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_list_admins_row.tpl -text svneol=unset#text/plain
templates/de/html/admin/admin_list_autopurge.tpl -text svneol=unset#text/plain
./inc/functions.php:2261: // @TODO This is still very static, rewrite it somehow
./inc/gen_sql_patches.php:96:// @TODO Rewrite this to a filter
./inc/install-functions.php:59: // @TODO DEACTIVATED: changeDataInFile(getCachePath() . 'config-local.php', 'OUTPUT-MODE', "setConfigEntry('OUTPUT_MODE', '", "');", postRequestParameter('omode'), 0);
-./inc/language/de.php:1101:// @TODO Rewrite these two constants
-./inc/language/de.php:1116:// @TODO Rewrite these three constants
-./inc/language/de.php:300: // @TODO Following two are unused?
-./inc/language/de.php:801:// @TODO Are these constants longer used?
+./inc/language/de.php:1089:// @TODO Rewrite these two constants
+./inc/language/de.php:1104:// @TODO Rewrite these three constants
+./inc/language/de.php:288: // @TODO Following two are unused?
+./inc/language/de.php:789:// @TODO Are these constants longer used?
./inc/language-functions.php:234: // @TODO These are all valid languages, again hard-coded
./inc/language-functions.php:46:// @TODO Rewrite all language constants to this function.
./inc/language/newsletter_de.php:13: * @TODO This language file is completely out-dated, please do no *
./inc/libs/rallye_functions.php:855:// @TODO Please document this function
./inc/libs/rallye_functions.php:911: // Load count @TODO Can't we rewrite this to our API?
./inc/libs/refback_functions.php:61: // @TODO Try to rewrite the following unset()
-./inc/libs/register_functions.php:292: // @TODO Rewrite these all to a single filter
-./inc/libs/register_functions.php:362: // @TODO Rewrite this to a filter
-./inc/libs/register_functions.php:369: // @TODO Wether the registration bonus should only be added to user directly or through referal system should be configurable
+./inc/libs/register_functions.php:287: // @TODO Rewrite these all to a single filter
+./inc/libs/register_functions.php:357: // @TODO Rewrite this to a filter
+./inc/libs/register_functions.php:364: // @TODO Wether the registration bonus should only be added to user directly or through referal system should be configurable
./inc/libs/sponsor_functions.php:162: // @TODO Rewrite this to API function
./inc/libs/sponsor_functions.php:433: // @TODO Rewrite this to API function
./inc/libs/surfbar_functions.php:1540: // @TODO This can be somehow rewritten
./templates/de/html/admin/admin_admins_contct_form.tpl:4: <!-- @TODO Shouldn't we add a title here? //-->
./templates/de/html/admin/admin_config_other.tpl:67: <!-- @TODO Rewrite this selection to one of our functions //-->
./templates/de/html/admin/admin_edit_admin_menu.tpl:4:<!-- @TODO Shouldn't we add a title here? //-->
+./templates/de/html/admin/admin_edit_mods.tpl:4: <!-- @TODO Shouldn't we add a title here? //-->
./templates/de/html/admin/admin_list_autopurge.tpl:2: <!-- @TODO Shouldn't we add a title here? //-->
./templates/de/html/admin/admin_list_beg.tpl:3: <!-- @TODO No title here? //-->
./templates/de/html/admin/admin_list_bonus.tpl:3: <!-- @TODO No title here? //-->
./templates/de/html/admin/admin_list_wernis_main.tpl:2:<!-- @TODO No title here? //-->
./templates/de/html/admin/admin_login_form.tpl:34: @TODO Doesn't work with sessions
./templates/de/html/admin/admin_login_form.tpl:37: @TODO Try to move the select box to our generic functions
-./templates/de/html/admin/admin_mods_edit.tpl:3: <!-- @TODO Shouldn't we add a title here? //-->
./templates/de/html/admin/admin_optimize.tpl:3: <!-- @TODO Shouldn't we add a title here? //-->
./templates/de/html/admin/admin_send_bonus_form.tpl:4: <!-- @TODO Maybe add some title? //-->
./templates/de/html/guest/guest_login.tpl:21: @TODO Deactivated feature, try to implement it or remove it.
### ### DEPRECATION FOLLOWS: ### ###
./inc/modules/admin/admin-inc.php:439:// @DEPRECATED
./templates/de/emails/profile-updte.tpl:1:@DEPRECATED
+./templates/de/html/admin/admin_mods_edit_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_mods_edit.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_theme_edit_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_theme_edit.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_theme_import_none.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_theme_import_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/admin/admin_theme_import.tpl:1:<!-- @DEPRECATED //-->
### ### template-warnings.log follows: ### ###
Warning: Not parsing JavaScript templates/de/html/js/js_order_send.tpl.
Warning: Not parsing JavaScript templates/de/html/js/js_cookies_disabled.tpl.
// Installation/setup
addMessages(array(
// Language constants
- '_TABLE' => "Tabelle",
- '_SIZE' => "Größe",
- '_STATUS' => "Status",
- '_SPACESAVED' => "Freigegeben",
- '_ORESULT' => "Optimization Resultat",
- '_OJETZT' => "Jetzt freigegeben",
- '_ONR' => "Sie haben bereits ",
- '_ONRR' => "mal die Tabellen optimiert",
- '_OGESAMT' => "KiloByte Gesamt optimiert",
- '_WOPT' => "wurde bereits optimiert",
- '_OKOPT' => "Optimiert.",
- 'MAILER_DOWN_FOR_MAINTENANCE' => "System wegen Wartungsarbeiten geschlossen.",
'MODULE_REGISTRY_404' => "Modul <span class=\"data\">%s</span> existiert nicht.",
'MODULE_ERROR_404' => "Fehler: Modul nicht gefunden",
'UNKNOWN_MODULE_DETECTED' => "Unbekanntes Modul %s",
'FATAL_CANNOT_WRITE_CONFIG' => "Kann Konfigurationsdaten nicht speichern, da ich keinen Schreibzugriff auf {?CACHE_PATH?}/config-local.php habe.",
'FATAL_CANNOT_CREATE_TMP' => "Kann eine temporäre Datei nicht erzeugen! Bitte setzen Sie CHMOD 777 auf Verzeichnis inc.",
'FATAL_ERROR' => "Fataler Fehler",
- 'NO_RENDER_DIRECT' => "Sie haben weder 'render' noch 'direct' als Ausgabe-Modus eingestellt.",
+ 'NO_RENDER_DIRECT' => "Sie haben weder 'render' noch 'direct' als Ausgabe-Modus eingestellt.",
'FATAL_NO' => "Fataler Fehler Nr. #",
'FATAL_CORRECT_ERRORS' => "Kann nicht fortsetzen! Bitte korregieren Sie erst die obrigen Probleme und versuchen Sie es dann erneut.",
'YES' => "Ja",
'NO' => "Nein",
'RUNTIME_PROBLEMS_DETECTED' => "Laufzeit-Problem erkannt.",
- 'FATAL_INC_WRITABLE' => "Das Verzeichnis inc ist beschreibbar! Bitte setzen Sie die Zugriffsrechte auf 755 oder 555.",
+ 'FATAL_INC_WRITABLE' => "Das Verzeichnis <strong>inc</strong> ist beschreibbar! Bitte setzen Sie die Zugriffsrechte auf 755 oder 555.",
'MYSQL_ERRORS' => "Es sind MySQL-Fehler aufgetreten! Bitte korregieren Sie diese.",
'UNKNOWN_MODULE_STATUS' => "Der Return-Code <span class=\"data\">%s</span> ist unbekannt.",
'MODULE_IS_LOCKED' => "Das Modul <span class=\"data\">%s</span> wurde gesperrt.",
'ADMIN_CHANGE_MENUS' => "Ändern",
'ADMIN_CHANGE_MEMBER_MENU' => "Verdecken, anzeigen, deaktivieren, aktivieren des Mitgliedsmenüs",
'ADMIN_CHANGE_MENU' => "Ändern von <span class=\"data\">%s</span> Menüeinträgen",
- 'IS_VISIBLE' => "Wird angezeigt",
- 'IS_ACTIVE' => "Aktiviert",
+ 'ADMIN_IS_VISIBLE' => "Wird angezeigt",
+ 'ADMIN_IS_ACTIVE' => "Aktiviert",
'ADMIN_CHANGE_ENTRIES' => "Änderungen durchführen",
'BASE_URL_NOTE' => "Ohne abschliessendem /.",
'ADMIN_WRONG_CALL' => "Falscher Aufruf einer Aktion oder des Scriptes. Bitte navigieren Sie links weiter.",
'MAILID_LINK' => "Best.-Link",
'UNKNOWN_MAILID_CODE' => "Unbekannter Fehler-Code <span class=\"data\">%s</span> erkannt.",
'ADMIN_CHANGE_GUEST_MENU_TITLE' => "Verdecken, anzeigen, deaktivieren, aktivieren des Gastmenüs",
- 'IS_LOCKED' => "Ist gesperrt",
+ 'ADMIN_MENU_IS_LOCKED' => "Ist gesperrt",
'ADMIN_REMOVE_STATS_ENTRY' => "Hier klicken, um Mitgliederstatistik zu entfernen.",
'ADMIN_USER_STATS_REMOVED' => "Mitgliederstatistiken entfernt.",
'MAIL_WILL_NEVER_EXPIRE' => "Bestätigungslink verfällt nicht.",
* =================== Last change: 08/13/2004 *
* *
* -------------------------------------------------------------------- *
- * File : de.php *
+ * File : maintenance_de.php *
* -------------------------------------------------------------------- *
* Short description : German langugage support *
* -------------------------------------------------------------------- *
// Language constans
addMessages(array(
+ // General messages
+ 'MAILER_DOWN_FOR_MAINTENANCE' => "System wegen Wartungsarbeiten geschlossen.",
+ // Admin messages
'ADMIN_CHANGE_MAINTENANCE_MODE' => "Wartungsmodus ändern",
'ADMIN_MAINTENANCE_MODE_INTRO' => "Wartungsmodus Ihrer Webseite",
'ADMIN_MAINTENANCE_MODE_IS_INACTIVE' => "Der Wartungsmodus ist derzeit ausgeschaltet. Wenn Sie ihn jetzt aktivieren, wird Ihre Webseite gesperrt. Nur Administratoren können diese dann besuchen.",
if (strlen(postRequestParameter('day')) == 1) setPostRequestParameter('day' , '0' . postRequestParameter('day'));
if (strlen(postRequestParameter('month')) == 1) setPostRequestParameter('month', '0' . postRequestParameter('month'));
- // Get total ...
- // ... confirmed, ...
- $confirmedUsers = getTotalConfirmedUser();
- // ... unconfirmed ...
- $unconfirmedUsers = getTotalUnconfirmedUser();
- // ... and locked users!
- $lockedUsers = getTotalLockedUser();
-
// Generate hash which will be inserted into confirmation mail
$hash = generateHash(sha1(
- $confirmedUsers . getEncryptSeperator() .
- $unconfirmedUsers . getEncryptSeperator() .
- $lockedUsers . getEncryptSeperator() .
+ // Get total confirmed, ...
+ getTotalConfirmedUser() . getEncryptSeperator() .
+ // ... unconfirmed ...
+ getTotalUnconfirmedUser() . getEncryptSeperator() .
+ // ... and locked users!
+ getTotalLockedUser() . getEncryptSeperator() .
postRequestParameter('month') . '-' .
postRequestParameter('day') . '-' .
postRequestParameter('year') . getEncryptSeperator() .
} // END - if
// ... rewrite a zero referal id to the main title
- if (postRequestParameter('refid') == '0') setPostRequestParameter('refid', getMainTitle());
+ if (!isValidUserId(postRequestParameter('refid'))) setPostRequestParameter('refid', getMainTitle());
// Is ZIP code set?
if (isPostRequestParameterSet('zip')) {
foreach (postRequestParameter('sel') as $id => $sel) {
// Load module data
// @TODO This can be moved into mysql-function.php, see checkModulePermissions() function
- $result = SQL_QUERY_ESC("SELECT `module`, `title`, `locked`, `hidden`, `admin_only`, `mem_only` FROM `{?_MYSQL_PREFIX?}_mod_reg` WHERE `id`=%s LIMIT 1",
+ $result = SQL_QUERY_ESC("SELECT `id`, `module`, `title`, `locked`, `hidden`, `admin_only`, `mem_only` FROM `{?_MYSQL_PREFIX?}_mod_reg` WHERE `id`=%s LIMIT 1",
array(bigintval($id)), __FILE__, __LINE__);
// Load data
- $data = SQL_FETCHARRAY($result);
+ $content = SQL_FETCHARRAY($result);
// Free result
SQL_FREERESULT($result);
// Prepare array for the template
- $content = array(
- 'mod' => $data['module'],
- 'id' => $id,
- 'title' => $data['title'],
- 'locked' => addSelectionBox('yn', $data['locked'] , 'locked', $id),
- 'hidden' => addSelectionBox('yn', $data['hidden'] , 'hidden', $id),
- 'admin' => addSelectionBox('yn', $data['admin_only'], 'admin' , $id),
- 'mem' => addSelectionBox('yn', $data['mem_only'] , 'member', $id),
- );
+ $content['locked'] => addSelectionBox('yn', $content['locked'] , 'locked', $id);
+ $content['hidden'] => addSelectionBox('yn', $content['hidden'] , 'hidden', $id);
+ $content['admin_only'] => addSelectionBox('yn', $content['admin_only'], 'admin' , $id);
+ $content['mem_only'] => addSelectionBox('yn', $content['mem_only'] , 'member', $id);
// Load row template
- $OUT .= loadTemplate('admin_mods_edit_row', true, $content);
+ $OUT .= loadTemplate('admin_edit_mods_row', true, $content
} // END - foreach
// Load main template
- loadTemplate('admin_mods_edit', false, $OUT);
+ loadTemplate('admin_edit_mods', false, $OUT);
} else {
// Nothing selected
loadTemplate('admin_settings_saved', false, '{--ADMIN_MODS_NOTHING_SELECTED--}');
switch (getConfig('maintenance')) {
case 'Y':
$target_mode = 'N';
- $out = '{--ADMIN_MAINTENANCE_DEACTIVATED--}';
+ $message = '{--ADMIN_MAINTENANCE_DEACTIVATED--}';
break;
case 'N':
$target_mode = 'Y';
- $out = '{--ADMIN_MAINTENANCE_ACTIVATED--}';
+ $message = '{--ADMIN_MAINTENANCE_ACTIVATED--}';
break;
}
updateConfiguration('maintenance', $target_mode);
// Load template
- loadTemplate('admin_settings_saved', false, $out);
+ loadTemplate('admin_settings_saved', false, $message);
} else {
switch (getConfig('maintenance')) {
case 'Y': // Maintenance mode is active
loadInclude($inc);
// Is the loaded theme name != current theme name?
- $LINK = $content['theme_path'];
- if ($content['theme_path'] != getCurrentTheme()) $LINK = '<a href="{%url=modules.php?module=admin&what=theme_edit&default_theme=' . $content['theme_path'] . '%}" title="{--ADMIN_SET_AS_NEW_THEME--}">' . $content['theme_path'] . '</a>';
+ $content['link'] = $content['theme_path'];
+ if ($content['theme_path'] != getCurrentTheme()) $content['link'] = '<a href="{%url=modules.php?module=admin&what=theme_edit&default_theme=' . $content['theme_path'] . '%}" title="{--ADMIN_SET_AS_NEW_THEME--}">' . $content['theme_path'] . '</a>';
// Prepare data for the row template
- $content = array(
- 'id' => $content['id'],
- 'link' => $LINK,
- 'theme_name' => $content['theme_name'],
- 'theme_active' => $content['theme_active'],
- 'email' => '<a href="mailto:' . $GLOBALS['theme_data']['email'] . '?Subject=[Theme:] ' . $GLOBALS['theme_data']['name'] . ' (' . $content['theme_path'] . ')\>' . $GLOBALS['theme_data']['author'] . '</a>',
- 'url' => $GLOBALS['theme_data']['url'],
- 'theme_version' => $content['theme_version'],
- );
+ $content['email'] = '<a href="mailto:' . $GLOBALS['theme_data']['email'] . '?Subject=[Theme:] ' . $GLOBALS['theme_data']['name'] . ' (' . $content['theme_path'] . ')\>' . $GLOBALS['theme_data']['author'] . '</a>';
// Load row template and switch color
- $OUT .= loadTemplate('admin_theme_edit_row', true, $content);
+ $OUT .= loadTemplate('admin_edit_theme_row', true, $content);
} // END - while
// Free memory
}
// Load template
-loadTemplate('admin_theme_edit', false, $OUT);
+loadTemplate('admin_edit_theme', false, $OUT);
// [EOF]
?>
// Check if current theme is already imported or not
if (!ifThemeExists($unix)) {
// Theme not installed
- $formContent = loadTemplate('admin_theme_import_form', true, $unix);
+ $formContent = loadTemplate('admin_import_theme_form', true, $unix);
} // END - if
// Prepare content
);
// Add row template
- $OUT .= loadTemplate('admin_theme_import_row', true, $content);
+ $OUT .= loadTemplate('admin_import_theme_row', true, $content);
} // END - foreach
if (empty($OUT)) {
// No themes found???
- $OUT .= loadTemplate('admin_theme_import_none', true, loadTemplate('admin_settings_saved', true, '{--ADMIN_NO_THEMES_FOUND--}'));
+ $OUT .= loadTemplate('admin_import_theme_none', true, loadTemplate('admin_settings_saved', true, '{--ADMIN_NO_THEMES_FOUND--}'));
} // END - if
// Load template
-loadTemplate('admin_theme_import', false, $OUT);
+loadTemplate('admin_import_theme', false, $OUT);
// [EOF]
?>
//* DEBUG: */ debugOutput(__FUNCTION__ . '(<font color="#0000aa">' . __LINE__ . '</font>):userid='.$userid.',points='.$points);
if (fetchUserData($userid)) {
// Determine wether the user has some mails to click before he/she gets the points
- $locked = ((getUserData('ref_payout') > 0) && (!isDirectPaymentEnabled()));
+ $locked = ifUserPointsLocked($userid);
// Default is 'normal' points
$data = 'points';
// Send email
sendEmail($userid, '{--THANX_REFERAL_ONE_SUBJECT--}', $message);
- } elseif (($sendNotify === true) && (getUserData('refid') == '0') && ($locked === false) && ($add_mode == 'direct')) {
+ } elseif (($sendNotify === true) && (!isValidUserId(getUserData('refid'))) && ($locked === false) && ($add_mode == 'direct')) {
// Prepare content
$content = array(
'reason' => '{--REASON_DIRECT_PAYMENT--}',
return generateEmailLink($email, 'user_data');
}
+// Wrapper to check if user points are locked
+function ifUserPointsLocked ($userid) {
+ // Do we have cache?
+ if (!isset($GLOBALS[__FUNCTION__][$userid])) {
+ // Determine it
+ $GLOBALS[__FUNCTION__][$userid] = ((getFetchedUserData('userid', $userid, 'ref_payout') > 0) && (!isDirectPaymentEnabled()));
+ } // END - if
+
+ // Return cache
+ return $GLOBALS[__FUNCTION__][$userid];
+}
+
// [EOF]
?>
$mode = '';
// Secure all data
-if (isGetRequestParameterSet('userid')) $userId = bigintval(getRequestParameter('userid'));
-if (isGetRequestParameterSet('mailid')) $mailId = bigintval(getRequestParameter('mailid'));
-if (isGetRequestParameterSet('bonusid')) $bonusId = bigintval(getRequestParameter('bonusid'));
-if (isGetRequestParameterSet('code')) $code = bigintval(getRequestParameter('code'));
-if (isGetRequestParameterSet('mode')) $mode = getRequestParameter('mode');
+if (isGetRequestParameterSet('userid')) $userId = bigintval(getRequestParameter('userid'));
+if (isGetRequestParameterSet('mailid')) $mailId = bigintval(getRequestParameter('mailid'));
+if (isGetRequestParameterSet('bonusid')) $bonusId = bigintval(getRequestParameter('bonusid'));
+if (isGetRequestParameterSet('code')) $code = bigintval(getRequestParameter('code'));
+if (isGetRequestParameterSet('mode')) $mode = getRequestParameter('mode');
-// 01 1 12 2 2 21 1 22 10
+// 01 2 21 12 2 2 21 1 2210
if ((isValidUserId($userId)) && (($mailId > 0) || ($bonusId > 0)) && (!ifFatalErrorsDetected())) {
// No image? Then output header
if ($mode != 'img') loadIncludeOnce('inc/header.php');
$template = 'mailid_points_done';
// Right code entered add points and remove entry
- if ((getUserData('ref_payout') > 0) && (!isDirectPaymentEnabled())) {
+ if (ifUserPointsLocked($userId)) {
// Don't add points over the referal system
$template = 'mailid_points_locked';
} // END - if
// Set template to mailid_points_done2 which contains a link to the ranking list
$template = 'mailid_points_done2';
- if ($locked) $template = 'mailid_points_locked2';
+
+ // Different template if user has some mails to confirm
+ if (ifUserPointsLocked($userId)) {
+ $template = 'mailid_points_locked2';
+ } // END - if
+
+ // Assign more data for the template
$content['userid'] = $userId;
$content['type'] = $type;
$content['data'] = $urlId;
<tr>
<td class="header_column bottom right" align="center"><strong>{--ID_SELECT--}</strong></td>
<td class="header_column bottom right" align="center"><strong>{--CATEGORY_NAME--}</strong></td>
- <td class="header_column bottom right" align="center"><strong>{--IS_VISIBLE--}</strong></td>
+ <td class="header_column bottom right" align="center"><strong>{--ADMIN_IS_VISIBLE--}</strong></td>
<td class="header_column bottom" align="center"><strong>{--SORTING_KEY--}</strong></td>
</tr>
$content
--- /dev/null
+<div align="center">
+<form accept-charset="utf-8" action="{%url=modules.php?module=admin&what=config_mods%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+ <!-- @TODO Shouldn't we add a title here? //-->
+ <tr>
+ <td align="center" class="header_column bottom right" height="25"><strong>{--ADMIN_MODS_NAME--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_TITLE--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_LOCKED--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_HIDDEN--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_ADMIN--}</strong></td>
+ <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_MEMBER--}</strong></td>
+ </tr>
+ $content
+ <tr>
+ <td colspan="6" class="table_footer">
+ <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
+ <input type="submit" name="change" class="form_submit" value="{--SAVE_CHANGES--}" />
+ </td>
+ </tr>
+</table>
+</form>
+</div>
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%} bottom right">
+ $content[module] <input type="hidden" name="sel[$content[id]]" value="1" />
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ <input type="text" class="form_field" name="title[$content[id]]" size="20" maxlength="255" value="$content[title]" />
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[locked]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[hidden]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[admin_only]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[mem_only]
+ </td>
+</tr>
--- /dev/null
+<div align="center">
+<form accept-charset="utf-8" action="{%url=modules.php?module=admin&what=theme_edit%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+ <tr>
+ <td class="header_column bottom right" align="center">{--ID_SELECT--}</td>
+ <td class="header_column bottom right" align="center">{--THEME_UNIX--}</td>
+ <td class="header_column bottom right" align="center">{--THEME_NAME--}</td>
+ <td class="header_column bottom right" align="center">{--THEME_ACTIVE--}</td>
+ <td class="header_column bottom right" align="center">{--THEME_AUTHOR--}</td>
+ <td class="header_column bottom" align="center">{--THEME_VERSION--}</td>
+ </tr>
+ $content
+ <tr>
+ <td colspan="6" class="table_footer">
+ <input type="reset" class="form_reset" value="{--RESET_SELECT--}" />
+ <input type="submit" name="status" class="form_submit" value="{--ADMIN_CHANGE_STATUS_THEME--}" />
+ <input type="submit" name="del" class="form_delete" value="{--ADMIN_DELETE_ENTRIES--}" />
+ </td>
+ </tr>
+</table>
+</form>
+
+<div class="notice">
+ {--ADMIN_THEME_NEW_DEFAULT_THEME--}
+</div>
+
+</div>
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ <input type="checkbox" name="sel[$content[id]]" title="{--ID_SELECT--} $content[id]" class="form_field" value="1" />
+ <input type="hidden" name="active[$content[id]]" value="$content[theme_active]" />
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[link]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[theme_name]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ {%pipe,translateYesNo=$content[theme_active]%}
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ $content[email]
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ <a href="{%pipe,generateDerefererUrl=$content[url]%}" target="_blank">$content[url]</a>
+ </td>
+ <td class="{%template,ColorSwitch%} bottom" align="center">
+ v$content[theme_version]
+ </td>
+</tr>
--- /dev/null
+<div align="center">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
+ <tr>
+ <td class="header_column bottom right" align="center">{--THEME_UNIX--}</td>
+ <td class="header_column bottom right" align="center">{--THEME_NAME--}</td>
+ <td class="header_column bottom right" align="center">{--THEME_AUTHOR--}</td>
+ <td class="header_column bottom right" align="center">{--THEME_URL--}</td>
+ <td class="header_column bottom right" align="center">{--THEME_VERSION--}</td>
+ <td class="header_column bottom" align="center">{--THEME_INSTALL--}</td>
+ </tr>
+ $content
+ <tr>
+ <td colspan="6" class="table_footer">
+ <div class="notice">{--ADMIN_THEME_LIST_NOTE--}</div>
+ </td>
+ </tr>
+</table>
+</div>
--- /dev/null
+<tr>
+ <td colspan="6" class="bottom" height="80">
+ $content
+ </td>
+</tr>
--- /dev/null
+<tr>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">$content[unix]</td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">$content[theme_name]</td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ <a href="mailto:$content[theme_email]?Subject=[Theme:] $content[theme_name] ($content[unix])">$content[theme_author]</a>
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">
+ <a href="{%pipe,generateDerefererUrl=$content[theme_url]%}" target="_blank">$content[theme_url]</a>
+ </td>
+ <td class="{%template,ColorSwitch%} bottom right" align="center">v$content[theme_version]</td>
+ <td class="{%template,ColorSwitch%} bottom" align="center">
+ $content[form_content]
+ </td>
+</tr>
<input type="hidden" name="sel[$content[sel]]" value="$content[menu]" />
</td>
<td width="25%" class="{%template,ColorSwitch%} bottom">
- {--IS_VISIBLE--}:
+ {--ADMIN_IS_VISIBLE--}:
$content[visible]
</td>
<td width="25%" class="{%template,ColorSwitch%} bottom">
- {--IS_LOCKED--}:
+ {--ADMIN_MENU_IS_LOCKED--}:
$content[locked]
</td>
</tr>
-<form accept-charset="utf-8" action="{%url=modules.php?module=admin&what=config_mods%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
- <!-- @TODO Shouldn't we add a title here? //-->
- <tr>
- <td align="center" class="header_column bottom right" height="25"><strong>{--ADMIN_MODS_NAME--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_TITLE--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_LOCKED--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_HIDDEN--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_ADMIN--}</strong></td>
- <td align="center" class="header_column bottom right"><strong>{--ADMIN_MODS_IS_MEMBER--}</strong></td>
- </tr>
- $content
- <tr>
- <td colspan="6" class="table_footer">
- <input type="reset" class="form_reset" value="{--UNDO_SELECTIONS--}" />
- <input type="submit" name="change" class="form_submit" value="{--SAVE_CHANGES--}" />
- </td>
- </tr>
-</table>
-</form>
+<!-- @DEPRECATED //-->
-<tr>
- <td class="{%template,ColorSwitch%} bottom right">
- $content[mod] <input type="hidden" name="sel[$content[id]]" value="1" />
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- <input type="text" class="form_field" name="title[$content[id]]" size="20" maxlength="255" value="$content[title]" />
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[locked]
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[hidden]
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[admin]
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[mem]
- </td>
-</tr>
+<!-- @DEPRECATED //-->
-<div align="center">
-<form accept-charset="utf-8" action="{%url=modules.php?module=admin&what=theme_edit%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
- <tr>
- <td class="header_column bottom right" align="center">{--ID_SELECT--}</td>
- <td class="header_column bottom right" align="center">{--THEME_UNIX--}</td>
- <td class="header_column bottom right" align="center">{--THEME_NAME--}</td>
- <td class="header_column bottom right" align="center">{--THEME_ACTIVE--}</td>
- <td class="header_column bottom right" align="center">{--THEME_AUTHOR--}</td>
- <td class="header_column bottom" align="center">{--THEME_VERSION--}</td>
- </tr>
- $content
- <tr>
- <td colspan="6" class="table_footer">
- <input type="reset" class="form_reset" value="{--RESET_SELECT--}" />
- <input type="submit" name="status" class="form_submit" value="{--ADMIN_CHANGE_STATUS_THEME--}" />
- <input type="submit" name="del" class="form_delete" value="{--ADMIN_DELETE_ENTRIES--}" />
- </td>
- </tr>
-</table>
-</form>
-
-<div class="notice">
- {--ADMIN_THEME_NEW_DEFAULT_THEME--}
-</div>
-
-</div>
+<!-- @DEPRECATED //-->
-<tr>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- <input type="checkbox" name="sel[$content[id]]" title="{--ID_SELECT--} $content[id]" class="form_field" value="1" />
- <input type="hidden" name="active[$content[id]]" value="$content[theme_active]" />
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[link]
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[theme_name]
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- {%pipe,translateYesNo=$content[theme_active]%}
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- $content[email]
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- <a href="{%pipe,generateDerefererUrl=$content[url]%}" target="_blank">$content[url]</a>
- </td>
- <td class="{%template,ColorSwitch%} bottom" align="center">
- v$content[theme_version]
- </td>
-</tr>
+<!-- @DEPRECATED //-->
-<div align="center">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
- <tr>
- <td class="header_column bottom right" align="center">{--THEME_UNIX--}</td>
- <td class="header_column bottom right" align="center">{--THEME_NAME--}</td>
- <td class="header_column bottom right" align="center">{--THEME_AUTHOR--}</td>
- <td class="header_column bottom right" align="center">{--THEME_URL--}</td>
- <td class="header_column bottom right" align="center">{--THEME_VERSION--}</td>
- <td class="header_column bottom" align="center">{--THEME_INSTALL--}</td>
- </tr>
- $content
- <tr>
- <td colspan="6" class="table_footer">
- <div class="notice">{--ADMIN_THEME_LIST_NOTE--}</div>
- </td>
- </tr>
-</table>
-</div>
+<!-- @DEPRECATED //-->
-<tr>
- <td colspan="6" class="bottom" height="80">
- $content
- </td>
-</tr>
+<!-- @DEPRECATED //-->
-<tr>
- <td class="{%template,ColorSwitch%} bottom right" align="center">$content[unix]</td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">$content[theme_name]</td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- <a href="mailto:$content[theme_email]?Subject=[Theme:] $content[theme_name] ($content[unix])">$content[theme_author]</a>
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">
- <a href="{%pipe,generateDerefererUrl=$content[theme_url]%}" target="_blank">$content[theme_url]</a>
- </td>
- <td class="{%template,ColorSwitch%} bottom right" align="center">v$content[theme_version]</td>
- <td class="{%template,ColorSwitch%} bottom" align="center">
- $content[form_content]
- </td>
-</tr>
+<!-- @DEPRECATED //-->