X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_rallyes.php;h=ebaf99f9741518a9536050f43a40be6ddb0d3eb3;hb=cc59ea1cce3e0fafc2cc6c9e36142698cf2b58ef;hp=fda9a05b29ebd83329b0e48ffc1903e3e15dfa22;hpb=fd0bc034f4e10c4b0feb28e85dc302ddce919339;p=mailer.git diff --git a/inc/modules/admin/what-list_rallyes.php b/inc/modules/admin/what-list_rallyes.php index fda9a05b29..ebaf99f974 100644 --- a/inc/modules/admin/what-list_rallyes.php +++ b/inc/modules/admin/what-list_rallyes.php @@ -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 * @@ -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 @@ -264,7 +264,7 @@ ORDER BY 'bold_l' => $bl , 'bold_r' => $br , 'refs' => $row['refs'], - 'cnt' => $count, + 'count' => $count, 'opoints' => ($points - $row['curr_points']), ); @@ -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--}'); } }