X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-lock_sponsor.php;h=75a0b2856f101c289adb72c63d3381bbed7d41e4;hb=067dc339f4058c7834f5e5d2f7d8d44ce6d7cea3;hp=281fd8800ecce8b26ddcafd59f8ca5e527df71c2;hpb=3f51c40f4fede87228216f9285b745a339e3891d;p=mailer.git diff --git a/inc/modules/admin/what-lock_sponsor.php b/inc/modules/admin/what-lock_sponsor.php index 281fd8800e..75a0b2856f 100644 --- a/inc/modules/admin/what-lock_sponsor.php +++ b/inc/modules/admin/what-lock_sponsor.php @@ -1,7 +1,7 @@ {!__GENDER!} {!__SURNAME!} {!__FAMILY!}'); + $content['email_link'] = '' . $content['gender'] . ' ' . $content['surname'] . ' ' . $content['family'] . ''; // Display form - LOAD_TEMPLATE('admin_lock_sponsor'); + loadTemplate('admin_lock_sponsor', false, $content); } } else { // Cannot change status on unconfirmed or pending accounts! @@ -112,8 +109,11 @@ if (REQUEST_ISSET_GET('id')) { } } else { // Sponsor not found! - $message = sprintf(getMessage('ADMIN_SPONSOR_404'), bigintval(REQUEST_GET('id'))); + $message = getMaskedMessage('ADMIN_SPONSOR_404', bigintval(getRequestParameter('id'))); } + + // Free result + SQL_FREERESULT($result_sponsor); } else { // Not called by what-list_sponsor.php $message = getMessage('ADMIN_CALL_NOT_DIRECTLY'); @@ -121,8 +121,8 @@ if (REQUEST_ISSET_GET('id')) { if (!empty($message)) { // Output message - LOAD_TEMPLATE('admin_settings_saved', false, $message); -} + loadTemplate('admin_settings_saved', false, $message); +} // END - if -// +// [EOF] ?>