OSDN Git Service

Redirect to ?action=pluginlist after changing the order of plugins
authorkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Tue, 30 Oct 2007 19:04:24 +0000 (19:04 +0000)
committerkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Tue, 30 Oct 2007 19:04:24 +0000 (19:04 +0000)
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

index 6a97cde..559ac97 100755 (executable)
@@ -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');
        }
 
        /**