From: Roland Häder Date: Tue, 20 Jul 2010 05:39:43 +0000 (+0000) Subject: More usage of EL X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1551e5820800685c80c19871a376986c0ad6f0f6;p=mailer.git More usage of EL --- diff --git a/inc/libs/admins_functions.php b/inc/libs/admins_functions.php index f87aff12df..cc99398621 100644 --- a/inc/libs/admins_functions.php +++ b/inc/libs/admins_functions.php @@ -400,9 +400,6 @@ function adminsListAdminAccounts() { $content['mode'] = '{--ADMINS_' . strtoupper($content['mode']) . '_MODE--}'; $content['la_mode'] = '{--ADMINS_' . strtoupper($content['la_mode']) . '_LA_SETTING--}'; - // Prepare some more data - $content['email_link'] = generateEmailLink($content['id'], 'admins'); - // Load row template and switch color $OUT .= loadTemplate('admin_list_admins_row', true, $content); } // END - while diff --git a/inc/libs/task_functions.php b/inc/libs/task_functions.php index cee84ef22a..5250de06ce 100644 --- a/inc/libs/task_functions.php +++ b/inc/libs/task_functions.php @@ -342,11 +342,13 @@ ORDER BY } // END - if addSql("SELECT - ".$USE." AS points + " . $USE . " AS points FROM `{?_MYSQL_PREFIX?}_user_data` WHERE - `status`='CONFIRMED' AND ".$USE." > 0".$lastOnline." + `status`='CONFIRMED' AND + " . $USE . " > 0 + " . $lastOnline . " ORDER BY `points` DESC, `userid` ASC"); @@ -379,7 +381,7 @@ ORDER BY $WHATs[] = 'list_beg'; $DESCRs[] = '{--ADMIN_TASK_LIST_BEG--}'; $TITLEs[] = '{--ADMIN_TASK_LIST_BEG_TITLE--}'; - } + } // END - if if (isExtensionActive('doubler')) { // List waiting payouts @@ -391,7 +393,7 @@ ORDER BY $WHATs[] = 'list_doubler'; $DESCRs[] = '{--ADMIN_TASK_LIST_DOUBLER_ALL--}'; $TITLEs[] = '{--ADMIN_TASK_LIST_DOUBLER_ALL_TITLE--}'; - } + } // END - if // // All referal banner diff --git a/inc/modules/admin/what-list_sponsor.php b/inc/modules/admin/what-list_sponsor.php index 1e9ff87d4f..b0f0cf593d 100644 --- a/inc/modules/admin/what-list_sponsor.php +++ b/inc/modules/admin/what-list_sponsor.php @@ -70,15 +70,15 @@ WHERE // Prepare all data for the template // Sponsor's id - $content['id'] = getRequestParameter('id'); + $content['id'] = getRequestParameter('id'); // Contact data - $content['email_link'] = generateEmailLink($content['email'], 'sponsor_data'); + $content['email_link'] = generateEmailLink($content['email'], 'sponsor_data'); // Timestamps $content['sponsor_created'] = generateDateTime($content['sponsor_created'], 2); $content['last_online'] = generateDateTime($content['last_online'], 2); $content['last_change'] = generateDateTime($content['last_change'], 2); // Orders total - $content['orders'] = countSumTotalData(bigintval(getRequestParameter('id')), 'sponsor_orders', 'id', 'sponsorid', true); + $content['orders'] = countSumTotalData(bigintval(getRequestParameter('id')), 'sponsor_orders', 'id', 'sponsorid', true); // Load template loadTemplate('admin_list_sponsor_details', false, $content); diff --git a/templates/de/html/admin/admin_list_admins_row.tpl b/templates/de/html/admin/admin_list_admins_row.tpl index 148f0488fc..9dc2e10ec9 100644 --- a/templates/de/html/admin/admin_list_admins_row.tpl +++ b/templates/de/html/admin/admin_list_admins_row.tpl @@ -3,7 +3,7 @@ -   $content[login] +   $content[login]   $content[email]