X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_sponsor.php;h=47afe0509efc3a03274fc024db745ccce848db00;hb=101e5f161c0c367c022c9288398226a57f3919d7;hp=1c006bdaaec882014597d7547da2940eb37a8662;hpb=2ede2488c926695e022e33fa40fe74584831990f;p=mailer.git
diff --git a/inc/modules/admin/what-list_sponsor.php b/inc/modules/admin/what-list_sponsor.php
index 1c006bdaae..47afe0509e 100644
--- a/inc/modules/admin/what-list_sponsor.php
+++ b/inc/modules/admin/what-list_sponsor.php
@@ -74,7 +74,7 @@ WHERE
$content['id'] = getRequestParameter('id');
// Contact data
$content['email_link'] = generateEmailLink($content['email'], 'sponsor_data');
- // Timestamps
+ // Epoche times
$content['sponsor_created'] = generateDateTime($content['sponsor_created'], 2);
$content['last_online'] = generateDateTime($content['last_online'], 2);
$content['last_change'] = generateDateTime($content['last_change'], 2);
@@ -85,7 +85,7 @@ WHERE
loadTemplate('admin_list_sponsor_details', false, $content);
} else {
// Sponsor not found
- loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_SPONSOR_404', bigintval(getRequestParameter('id'))));
+ displayMessage('{%message,ADMIN_SPONSOR_404=' . bigintval(getRequestParameter('id')) . '%}');
}
// Free result
@@ -119,11 +119,11 @@ ORDER BY
SQL_FREERESULT($result);
} else {
// No refs made so far
- loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_SPONSOR_REFS_404', '' . bigintval(getRequestParameter('refid')) . ''));
+ displayMessage(getMaskedMessage('ADMIN_SPONSOR_REFS_404', '' . bigintval(getRequestParameter('refid')) . ''));
}
} else {
// Sponsor not found
- loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_SPONSOR_404', bigintval(getRequestParameter('refid'))));
+ displayMessage('{%message,ADMIN_SPONSOR_404=' . bigintval(getRequestParameter('refid')) . '%}');
}
} else {
// List all sponsors
@@ -159,7 +159,7 @@ ORDER BY
loadTemplate('admin_list_sponsor', false, $OUT);
} else {
// No sponsors registered so far
- loadTemplate('admin_settings_saved', false, '{--ADMIN_SPONSOR_NONE_REGISTERED--}');
+ displayMessage('{--ADMIN_SPONSOR_NONE_REGISTERED--}');
}
}