X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_notifications.php;h=e95e439040d4cc6042fdf9a95fa19c91fe96d2f4;hb=501a861954273a54a21b714587fc33b57322d8e4;hp=18587326391592725bc296399beb223e12eddcdb;hpb=1ebf518b9552f71ee95de6f4b80e6de3a27716d1;p=mailer.git diff --git a/inc/modules/admin/what-list_notifications.php b/inc/modules/admin/what-list_notifications.php index 1858732639..e95e439040 100644 --- a/inc/modules/admin/what-list_notifications.php +++ b/inc/modules/admin/what-list_notifications.php @@ -49,7 +49,7 @@ $SQL2 = ''; $result_max = false; // Set offset an current page to default values -if (!isGetRequestElementSet('page')) setRequestGetElement('page' , '1'); +if (!isGetRequestElementSet('page')) setRequestGetElement('page' , 1); if (!isGetRequestElementSet('offset')) setRequestGetElement('offset', getConfig('mails_page')); if (isExtensionActive('bonus')) { @@ -98,10 +98,10 @@ if ((isExtensionActive('bonus')) && (SQL_NUMROWS($result_max) > 0) && (!empty($S $content = $bonus; $content['time'] = createFancyTime($content['time']); $content['category'] = getCategory($content['cat_id']); - $content['receivers'] = str_replace(';', ", ", $content['receivers']); + $content['receivers'] = convertReceivers($content['receivers']); $content['type'] = translatePoolType($content['data_type']); $content['frametester'] = generateFrametesterUrl($content['url']); - $content['timestamp'] = generateDateTime($content['timestamp'], '0'); + $content['timestamp'] = generateDateTime($content['timestamp'], 0); // Load row template $OUT .= loadTemplate('admin_list_notify_emails_row', true, $content); @@ -109,7 +109,7 @@ if ((isExtensionActive('bonus')) && (SQL_NUMROWS($result_max) > 0) && (!empty($S // Add navigation (without change box but with colspan=3) $content['nav'] = ''; - if ($PAGES > 1) $content['nav'] = addEmailNavigation($PAGES, getConfig('mails_page'), false, '3', true); + if ($PAGES > 1) $content['nav'] = addEmailNavigation($PAGES, getConfig('mails_page'), false, 3, true); // Prepare content $content['rows'] = $OUT;