X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Fwhat-unlock_sponsor.php;h=e8676e512ac9274e2e097c1e0105d5afc06f7ad8;hb=04b69ac9f33369cbf654396c4a42cb1fff710ff4;hp=94d606139e80a35407fa59e4934dc2a57eea7b03;hpb=32933a97e4462c232a794fc33bd91f01ff997cb9;p=mailer.git diff --git a/inc/modules/admin/what-unlock_sponsor.php b/inc/modules/admin/what-unlock_sponsor.php index 94d606139e..e8676e512a 100644 --- a/inc/modules/admin/what-unlock_sponsor.php +++ b/inc/modules/admin/what-unlock_sponsor.php @@ -182,7 +182,7 @@ LIMIT 1", } // END - foreach } else { // Nothing selected - loadTemplate('admin_settings_saved', false, getMessage('ADMIN_SPONSOR_NONE_SELECTED_UNLOCK')); + loadTemplate('admin_settings_saved', false, '{--ADMIN_SPONSOR_NONE_SELECTED_UNLOCK--}'); } } // END - if @@ -201,16 +201,15 @@ if (SQL_NUMROWS($result) > 0) { $OUT = ''; $SW = 2; while ($content = SQL_FETCHARRAY($result)) { // Transfer data to array - // @TODO Rewritings: remote->remote_addr, created->sponsor_created in template $content = array( - 'sw' => $SW, - 'id' => $content['id'], - 'gender' => translateGender($content['gender']), - 'surname' => $content['surname'], - 'family' => $content['family'], - 'email' => generateEmailLink($content['email'], 'sponsor_data'), - 'remote' => $content['remote_addr'], - 'created' => generateDateTime($content['sponsor_created'], 2), + 'sw' => $SW, + 'id' => $content['id'], + 'gender' => $content['gender'], + 'surname' => $content['surname'], + 'family' => $content['family'], + 'email' => generateEmailLink($content['email'], 'sponsor_data'), + 'remote_addr' => $content['remote_addr'], + 'sponsor_created' => generateDateTime($content['sponsor_created'], 2), ); // Load row template and switch colors @@ -222,7 +221,7 @@ if (SQL_NUMROWS($result) > 0) { loadTemplate('admin_unlock_sponsor', false, $OUT); } else { // No pending accounts found - loadTemplate('admin_settings_saved', false, getMessage('ADMIN_SPONSOR_NONE_PENDING')); + loadTemplate('admin_settings_saved', false, '{--ADMIN_SPONSOR_NONE_PENDING--}'); } // Free memory