From 4208fbe9ca328edf4020476d2a6d8eb14b99dfcb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 9 Dec 2008 18:09:21 +0000 Subject: [PATCH] Template fixed --- inc/databases.php | 2 +- inc/modules/admin/what-list_bonus.php | 3 ++- templates/de/html/admin/admin_list_bonus_rows.tpl | 12 ++++-------- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index 0a11142c33..5522e6f6f0 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -114,7 +114,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // Current SVN revision -define('CURR_SVN_REVISION', "612"); +define('CURR_SVN_REVISION', "613"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/modules/admin/what-list_bonus.php b/inc/modules/admin/what-list_bonus.php index 7030cade33..88fe74fd79 100644 --- a/inc/modules/admin/what-list_bonus.php +++ b/inc/modules/admin/what-list_bonus.php @@ -74,7 +74,7 @@ if ($_CONFIG['bonus_active'] == "Y") { } // Check if at least one is in the active rallye - $result = SQL_QUERY_ESC("SELECT userid, email, gender, surname, family, ".$USE." AS points, last_online AS last + $result = SQL_QUERY_ESC("SELECT userid AS uid, email, gender, surname, family, ".$USE." AS points, last_online AS last FROM "._MYSQL_PREFIX."_user_data WHERE status='CONFIRMED' AND ".$USE." > 0".$LAST." ORDER BY points DESC, last_online DESC, userid", @@ -96,6 +96,7 @@ ORDER BY points DESC, last_online DESC, userid", } // Prepare content + $content['uid'] = ADMIN_USER_PROFILE_LINK($content['uid']); $content['email'] = CREATE_EMAIL_LINK($content['email'], "user_data"); $content['gender'] = TRANSLATE_GENDER($content['gender']); $content['points'] = TRANSLATE_COMMA($content['points']); diff --git a/templates/de/html/admin/admin_list_bonus_rows.tpl b/templates/de/html/admin/admin_list_bonus_rows.tpl index 17e1fc6867..68cdd461b7 100644 --- a/templates/de/html/admin/admin_list_bonus_rows.tpl +++ b/templates/de/html/admin/admin_list_bonus_rows.tpl @@ -1,11 +1,7 @@ $content[win1]$content[cnt]$content[win2] - $content[win1]$content[uid]$content[win2] -  $content[win1]$content[gender] $content[sname] - $content[fname]$content[win2] -  $content[turbo] - {!POINTS!} + $content[win1]$content[uid]$content[win2] +  $content[win1]$content[gender] $content[sname] $content[fname]$content[win2] +  $content[turbo] {!POINTS!}  $content[last] - \ No newline at end of file + -- 2.39.5