bigintval(getRequestElement('userid'))
), __FILE__, __LINE__);
- // Do we have some entries?
+ // Are there some entries?
if (!SQL_HASZERONUMS($result)) {
// Some unconfirmed mails left
if (getRequestElement('delete') == 'all') {
// Initializes all other elements
$linkData['mail_id'] = '';
$linkData['problem'] = '{--ADMIN_GENERAL_MAIL_PROBLEM--}';
- $result_data = false;
+ $result_data = FALSE;
// Load data from stats table...
// @TODO Rewrite this to includes/filter
break;
} // END - switch
- // Do we have an entry?
+ // Is there an entry?
if (SQL_NUMROWS($result_data) == 1) {
// Mail was found
$mailData = merge_array($linkData, SQL_FETCHARRAY($result_data));
// Fix empty subject
if (empty($mailData['subject'])) {
// The subject line is empty so we use the default
- $mailData['subject'] = '{--DEFAULT_SUBJECT_LINE--}';
+ $mailData['subject'] = '{--DEFAULT_SUBJECT--}';
} // END - if
// Prepare data for the row template
$mailData['timestamp'] = generateDateTime($mailData['timestamp'], 0);
// Load row template
- $OUT .= loadTemplate('admin_list_links_row', true, $mailData);
+ $OUT .= loadTemplate('admin_list_links_row', TRUE, $mailData);
} else {
// Load template for error
- $OUT .= loadTemplate('admin_list_links_problem', true, $linkData);
+ $OUT .= loadTemplate('admin_list_links_problem', TRUE, $linkData);
}
// Free result
SQL_FREERESULT($result);
// Load final template
- loadTemplate('admin_list_links', false, $content);
+ loadTemplate('admin_list_links', FALSE, $content);
}
} else {
// No mails left to confirm