* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
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