aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-06-03 22:25:01 +0000
committermistic100 <mistic@piwigo.org>2011-06-03 22:25:01 +0000
commitd2fa16a7f5a0f334d72080eb12b78aea549e8d8b (patch)
tree2843951d03bc6248911539eee6047c520593fbe9 /admin.php
parent0af1d99ebf47e2028aef143d44b9f428e1a5df19 (diff)
store display order of plugins_new in a session var
git-svn-id: http://piwigo.org/svn/trunk@11222 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/admin.php b/admin.php
index 3ac3a3b68..18e0b31ad 100644
--- a/admin.php
+++ b/admin.php
@@ -44,6 +44,13 @@ check_status(ACCESS_ADMINISTRATOR);
// | Direct actions |
// +-----------------------------------------------------------------------+
+// save plugins_new display order (AJAX action)
+if (isset($_GET['plugins_new_order']))
+{
+ pwg_set_session_var('plugins_new_order', $_GET['plugins_new_order']);
+ exit;
+}
+
// theme changer
if (isset($_GET['change_theme']))
{