From 7837e2463afebfa394ab66f152e769bd110225c3 Mon Sep 17 00:00:00 2001 From: kmorimatsu Date: Tue, 30 Oct 2007 19:04:24 +0000 Subject: [PATCH] Redirect to ?action=pluginlist after changing the order of plugins git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/branches/branch-3-3@349 1ca29b6e-896d-4ea0-84a5-967f57386b96 --- utf8/nucleus/libs/ADMIN.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/utf8/nucleus/libs/ADMIN.php b/utf8/nucleus/libs/ADMIN.php index 6a97cde..559ac97 100755 --- a/utf8/nucleus/libs/ADMIN.php +++ b/utf8/nucleus/libs/ADMIN.php @@ -14,8 +14,8 @@ * * @license http://nucleuscms.org/license.txt GNU General Public License * @copyright Copyright (C) 2002-2007 The Nucleus Group - * @version $Id: ADMIN.php,v 1.21.2.3 2007-10-30 14:21:58 shizuki Exp $ - * @version $NucleusJP: ADMIN.php,v 1.21.2.2 2007/10/26 04:54:48 kimitake Exp $ + * @version $Id: ADMIN.php,v 1.21.2.4 2007-10-30 19:04:24 kmorimatsu Exp $ + * @version $NucleusJP: ADMIN.php,v 1.21.2.3 2007/10/30 14:21:58 shizuki Exp $ */ if ( !function_exists('requestVar') ) exit; @@ -6045,7 +6045,9 @@ selector(); sql_query('UPDATE '.sql_table('plugin').' SET porder='.$oldOrder.' WHERE porder='.$newOrder); sql_query('UPDATE '.sql_table('plugin').' SET porder='.$newOrder.' WHERE pid='.$plugid); - $this->action_pluginlist(); + //$this->action_pluginlist(); + // To avoid showing ticket in the URL, redirect to pluginlist, instead. + redirect('?action=pluginlist'); } /** @@ -6076,7 +6078,9 @@ selector(); sql_query('UPDATE '.sql_table('plugin').' SET porder='.$oldOrder.' WHERE porder='.$newOrder); sql_query('UPDATE '.sql_table('plugin').' SET porder='.$newOrder.' WHERE pid='.$plugid); - $this->action_pluginlist(); + //$this->action_pluginlist(); + // To avoid showing ticket in the URL, redirect to pluginlist, instead. + redirect('?action=pluginlist'); } /** -- 2.11.0