./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:1111:// @TODO Rewrite these two constants
-./inc/language/de.php:1126:// @TODO Rewrite these three constants
+./inc/language/de.php:1099:// @TODO Rewrite these two constants
+./inc/language/de.php:1114:// @TODO Rewrite these three constants
./inc/language/de.php:300: // @TODO Following two are unused?
-./inc/language/de.php:804:// @TODO Are these constants longer used?
+./inc/language/de.php:799:// @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/modules/admin/what-list_unconfirmed.php:98: // @TODO "Please do not call me directly." Should be rewritten to a nice selection depending on ext-bonus
./inc/modules/admin/what-list_user.php:151: // @TODO Rewrite these to filters
./inc/modules/admin/what-list_user.php:257: // @TODO Rewrite this into a filter
-./inc/modules/admin/what-list_user.php:300: // @TODO Rewrite this into a filter
+./inc/modules/admin/what-list_user.php:297: // @TODO Rewrite this into a filter
./inc/modules/admin/what-list_user.php:59:// @TODO Rewrite these if-blocks in a filter
./inc/modules/admin/what-logs.php:66: // @TODO Fix content-type here
./inc/modules/admin/what-logs.php:72: // @TODO Fix content-type here
$GLOBALS['page_footer'] = '';
// Footer disabled or already sent?
-// 1234 5 54 45 5 5 543 3 321
+// 1234 5 54 45 5 5 543 3 44321
if ((((!isset($GLOBALS['footer_sent'])) || (($GLOBALS['footer_sent'] != 1) && ($GLOBALS['footer_sent'] != 2))) && (!isCssOutputMode()))) {
// Run the filter, sweet huh?
runFilterChain('page_footer');
'TOTAL_POINTS' => "{?POINTS?} gesamt",
'TOTAL_REFERALS' => "Referals gesamt",
'ADMIN_MEMBER_FUNCTIONS' => "Administrative Funktionen",
- 'ADMIN_DELETE_USER' => "Löschen",
- 'ADMIN_LOCK_USER' => "Sperren",
- 'ADMIN_UNLOCK_USER' => "Entsperren",
- 'ADMIN_ADD_POINTS' => "{?POINTS?} aufbuchen",
- 'ADMIN_EDIT_USER' => "Ändern",
'ADMIN_ALL_REFS' => "Alle Refs auflisten",
'BIRTHDAY2' => "Geburtstag",
'TOTAL_CATEGORIES' => "Ausgewählte Kategorien",
'ADMIN_SUB_POINTS_FROM_USER' => "Abzug von {?POINTS?} eines Mitgliedes",
'ADMIN_ENTER_POINTS_SUB' => "Abzuziehende {?POINTS?}",
'ADMIN_ENTER_SUB_REASON' => "Grund des Abzuges",
- 'ADMIN_SUB_POINTS' => "{?POINTS?} abziehen",
'ADMIN_SUB_POINTS_FROM_ALL' => "Allen Mitgliedern {?POINTS?} abziehen",
'ADMIN_DOWNLOAD_SVN' => "SVN-Version herunterladen",
'ADMIN_SVN_REPOSITORY' => "SVN-Repository",
'PROBLEM_POINTS_OVERVIEW_UNAVAILABLE' => "{?POINTS?}-Übersicht derzeit nicht verfügbar.",
'ADMIN_NOTHING_SELECTED_CHANGE' => "Sie haben nichts zum Ändern des Status ausgewählt.",
'TEMPLATE_CONTENT' => "Templatedaten:",
- 'ADMIN_LINK_DELETE_USER_TITLE' => "Mitglied löschen (mit Abfrage)",
- 'ADMIN_LINK_EDIT_USER_TITLE' => "Mitglied editieren",
- 'ADMIN_LINK_LOCK_USER_TITLE' => "Mitglied sperren",
- 'ADMIN_LINK_UNLOCK_USER_TITLE' => "Mitglied entsperren",
- 'ADMIN_LINK_ADD_POINTS_TITLE' => "{?POINTS?} aufbuchen",
- 'ADMIN_LINK_SUB_POINTS_TITLE' => "{?POINTS?} abziehen",
'MESSAGE_HEADER' => "Hinweis:",
'WARNING_MESSAGE_HEADER' => "Warnung:",
'ADMIN_ALPHA_SELCTION' => "Alphabetische Suche:",
'ADMIN_USER_ACCOUNT_NOT_SAVED' => "Mitgliedsaccount <u>nicht</u> gespeichert.",
'ADMIN_USER_ACCOUNT_LOCKED' => "Mitgliedsaccount <span class=\"data\">%s</span> wurde gesperrt.",
'ADMIN_USER_ACCOUNT_UNLOCKED' => "Mitgliedsaccount <span class=\"data\">%s</span> wurde freigegeben.",
+ 'ADMIN_USER_ACTION_LINK_DEL_USER' => "Löschen",
+ 'ADMIN_USER_ACTION_LINK_EDIT_USER' => "Ändern",
+ 'ADMIN_USER_ACTION_LINK_LOCK_USER' => "Sperren",
+ 'ADMIN_USER_ACTION_LINK_UNLOCK_USER' => "Entsperren",
+ 'ADMIN_USER_ACTION_LINK_ADD_POINTS' => "{?POINTS?} aufbuchen",
+ 'ADMIN_USER_ACTION_LINK_SUB_POINTS' => "{?POINTS?} abziehen",
+ 'ADMIN_USER_ACTION_LINK_DEL_USER_TITLE' => "Mitglied löschen (mit Abfrage)",
+ 'ADMIN_USER_ACTION_LINK_EDIT_USER_TITLE' => "Mitglied editieren",
+ 'ADMIN_USER_ACTION_LINK_LOCK_USER_TITLE' => "Mitglied sperren (mit Sperrgrund)",
+ 'ADMIN_USER_ACTION_LINK_UNLOCK_USER_TITLE' => "Mitglied entsperren",
+ 'ADMIN_USER_ACTION_LINK_ADD_POINTS_TITLE' => "Dem Mitglied {?POINTS?} aufbuchen",
+ 'ADMIN_USER_ACTION_LINK_SUB_POINTS_TITLE' => "Dem Mitglied {?POINTS?} abziehen",
));
// [EOF]
// Get number of unconfirmed mails
$content['links'] = countSumTotalData($content['userid'], 'user_links', 'id', 'userid', true);
- if ($content['links'] > 0) $content['links'] = $base . '&what=list_links&userid=' . $content['userid'] . '%}">' . translateComma($content['links']) . '</a>]';
+ if ($content['links'] > 0) $content['links'] = $base . '&what=list_links&userid=' . $content['userid'] . '%}">{%pipe,translateComma=' . $content['links'] . '%}</a>]';
// Set link to sent mails if present
- if ($content['emails_sent'] > 0) $content['emails_sent'] = $base . '&what=email_details&userid=' . $content['userid'] . '%}">' . translateComma($content['emails_sent']) . '</a>]';
+ if ($content['emails_sent'] > 0) $content['emails_sent'] = $base . '&what=email_details&userid=' . $content['userid'] . '%}">{%pipe,translateComma=' . $content['emails_sent'] . '%}</a>]';
// Add nickname
$content['nickname'] = '{--EXT_NICKNAME_404--}';
if (isExtensionInstalled('nickname')) $content['nickname'] = getNickname($content['userid']);
- // Calculate total points
- $content['points'] = getTotalPoints($content['userid']);
-
// Clickrate
$content['rate'] = '0';
if ($content['emails_received'] > 0) {
$OUT = '[';
foreach ($targetArray as $tar) {
- $OUT .= '<span class="admin_user_link"><a href="{%url=modules.php?module=admin&what=' . $tar . '&userid=' . $userid . '%}" title="{--ADMIN_LINK_';
+ $OUT .= '<span class="admin_user_link"><a href="{%url=modules.php?module=admin&what=' . $tar . '&userid=' . $userid . '%}" title="{--ADMIN_USER_ACTION_LINK_';
//* DEBUG: */ debugOutput('*' . $tar.'/' . $status.'*');
if (($tar == 'lock_user') && ($status == 'LOCKED')) {
// Locked accounts shall be unlocked
// All other status is fine
$OUT .= strtoupper($tar);
}
- $OUT .= '_TITLE--}">{--ADMIN_';
+ $OUT .= '_TITLE--}">{--ADMIN_USER_ACTION_LINK_';
if (($tar == 'lock_user') && ($status == 'LOCKED')) {
// Locked accounts shall be unlocked
$OUT .= 'UNLOCK_USER';
<td align="center" class="{%template,ColorSwitch%}"><strong>{--TOTAL_REFERALS--}:</strong></td>
</tr>
<tr>
- <td align="center" class="right {%template,ColorSwitch%} bottom">{%pipe,translateComma=$content[points]%} {?POINTS?}</td>
+ <td align="center" class="right {%template,ColorSwitch%} bottom">{%pipe,getTotalPoints,translateComma=$content[userid]%} {?POINTS?}</td>
<td align="center" class="right {%template,ColorSwitch%} bottom">$content[emails_sent]</td>
<td align="center" class="right {%template,ColorSwitch%} bottom">{%pipe,translateComma=$content[rate]%}%</td>
<td align="center" class="right {%template,ColorSwitch%} bottom">{%pipe,translateComma=$content[locked]%} {?POINTS?}</td>