]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-refbanner.php
The yearly copyright-update commit. 2009, 2010 are now copyrighted on the developer...
[mailer.git] / inc / modules / admin / what-refbanner.php
index 1d0171b880d2eb73fd82ba20f22299ce1c07d42c..7cbaf8b46e41dcb15ad6f95b1a52e7980ac8b22f 100644 (file)
@@ -18,6 +18,7 @@
  * 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 *
@@ -86,11 +87,16 @@ VALUES ('%s','%s','%s')",
                        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