]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_rallyes.php
Fixes for referal system, shell scripts overworked:
[mailer.git] / inc / modules / admin / what-list_rallyes.php
index f6a25db6ecaaea37f2f175251d10767f0f66fd04..ec3c17b554ff59b586c2c74cdcd2b17904577389 100644 (file)
@@ -100,7 +100,7 @@ if (isGetRequestParameterSet('rallye')) {
 
        // Run SQL command
        runFilterChain('run_sqls');
-} elseif (isFormSent('remove')) {
+} elseif (isFormSent('do_delete')) {
        // Delete rallyes
        if (ifPostContainsSelections()) {
                // Init SQLs
@@ -126,7 +126,7 @@ if (isGetRequestParameterSet('rallye')) {
                // No rallye selected to delete!
                $message = '{--RALLYE_DELETE_NOTHING_SELECTED--}';
        }
-} elseif (isFormSent('change')) {
+} elseif (isFormSent('do_edit')) {
        // Change rallye
        if (ifPostContainsSelections('title')) {
                // Init SQLs
@@ -224,7 +224,7 @@ LIMIT 1",
                loadTemplate('admin_edit_rallyes', false, $OUT);
        } else {
                // Nothing selected to edit
-               loadTemplate('admin_settings_saved', false, '{--RALLYE_NO_RALLYES_SELECTED--}');
+               displayMessage('{--RALLYE_NO_RALLYES_SELECTED--}');
        }
 } elseif ((getRequestParameter('sub') == 'users') && (getRequestParameter('rallye') > 0)) {
        // List users and their refs before start and current
@@ -283,7 +283,7 @@ ORDER BY
                loadTemplate('admin_list_rallye_usr', false, $content);
        } else {
                // No entries found?
-               loadTemplate('admin_settings_saved', false, '{--RALLYE_ADMIN_USERS_404--}');
+               displayMessage('{--RALLYE_ADMIN_USERS_404--}');
        }
 } else {
        // Start listing rallyes
@@ -384,7 +384,7 @@ ORDER BY
                loadTemplate('admin_list_rallyes', false, $content);
        } else {
                // No rallyes setup so far
-               loadTemplate('admin_settings_saved', false, '{--RALLYE_NO_RALLYES_SETUP--}');
+               displayMessage('{--RALLYE_NO_RALLYES_SETUP--}');
        }
 }