]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_mods.php
Surfbar actions will never be deleted/locked/undeleted
[mailer.git] / inc / modules / admin / what-config_mods.php
index 4e9d3cad26747259ed57d63048b1c461058b2e91..eeb980ca5adaa02d4c1ae0420d2c37d38a18cce9 100644 (file)
@@ -16,7 +16,7 @@
  * $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 *
@@ -76,13 +76,13 @@ if (isFormSent('edit')) {
                loadTemplate('admin_edit_mods', false, $OUT);
        } else {
                // Nothing selected
-               loadTemplate('admin_settings_saved', false, '{--ADMIN_MODS_NOTHING_SELECTED--}');
+               displayMessage('{--ADMIN_MODS_NOTHING_SELECTED--}');
 
                // Remove maybe confusing data
                unsetPostRequestParameter('edit');
-               unsetPostRequestParameter('change');
+               unsetPostRequestParameter('do_edit');
        }
-} elseif (isFormSent('change')) {
+} elseif (isFormSent('do_edit')) {
        // Init SQLs
        initSqls();
 
@@ -112,7 +112,7 @@ if (isFormSent('edit')) {
        } // END - if
 
        // Entries updated
-       loadTemplate('admin_settings_saved', false, '{--ADMIN_MODS_CHANGED--}');
+       displayMessage('{--ADMIN_MODS_CHANGED--}');
 }
 
 if (!ifPostContainsSelections()) {