break;
}
+ // Check if we have saved (updated)
if (SQL_AFFECTEDROWS() == 1) {
+ // Updated!
$content = getMessage('SETTINGS_SAVED');
} else {
- $content = "<span class=\"admin_failed\">{--SETTINGS_NOT_SAVED--}</span>";
+ // Nothing has been updated
+ $content = '<span class="admin_failed">{--SETTINGS_NOT_SAVED--}</span>';
}
+
+ // Display message
loadTemplate('admin_settings_saved', false, $content);
} elseif ((countPostSelection() > 0) && (isPostRequestParameterSet('edit'))) {
// Edit banner