$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')) {
$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);
// 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;