} // END - if
// Query the pool
-$result = SQL_QUERY("SELECT
+$result = SQL_QUERY('SELECT
`id`, `sender`, `subject`, `payment_id`, `cat_id`
FROM
`{?_MYSQL_PREFIX?}_pool`
ORDER BY
- `timestamp` ASC", __FILE__, __LINE__);
+ `timestamp` ASC', __FILE__, __LINE__);
// Entries found?
if (!SQL_HASZERONUMS($result)) {
if (SQL_AFFECTEDROWS() == 1) {
$content = '{--SETTINGS_SAVED--}';
} else {
- $content = '<span class="admin_failed">{--SETTINGS_NOT_SAVED--}</span>';
+ $content = '<span class="notice">{--SETTINGS_NOT_SAVED--}</span>';
}
// Display message
}
} else {
// No mail orders left in pool
- loadTemplate('admin_settings_saved', false, '<span class="admin_failed">{--ADMIN_NO_MAILS_IN_POOL--}</span>');
+ loadTemplate('admin_settings_saved', false, '<span class="notice">{--ADMIN_NO_MAILS_IN_POOL--}</span>');
}
// [EOF]