* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009, 2010 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
} // END - if
// Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
// Some sanity-check
if ((!isPostRequestParameterSet('url')) || (!isPostRequestParameterSet('alternate'))) {
} // END - switch
// Check if we have saved (updated)
- if (SQL_AFFECTEDROWS() == 1) {
+ if (!SQL_HASZEROAFFECTED()) {
// Updated!
$content = '{--SETTINGS_SAVED--}';
} else {
}
// Display message
- loadTemplate('admin_settings_saved', false, $content);
+ displayMessage($content);
} elseif ((ifPostContainsSelections()) && (isFormSent('edit'))) {
// Edit banner
$OUT = '';