From 462b87485cad0f30b1eaf004669dda9ae2548867 Mon Sep 17 00:00:00 2001 From: nikrou Date: Thu, 19 Mar 2009 21:39:38 +0000 Subject: merge r3216 from trunk to branch 2.0 feature_948_accordion feature 948 : fix problem with incorrect submenu open in admin use a new variable (U_ACTIVE_MENU) and use default position defined in selected_admin_menu if not exists git-svn-id: http://piwigo.org/svn/branches/2.0@3217 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/element_set.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'admin/element_set.php') diff --git a/admin/element_set.php b/admin/element_set.php index 7c8da0aa2..821c4e188 100644 --- a/admin/element_set.php +++ b/admin/element_set.php @@ -133,6 +133,7 @@ SELECT element_id else if ('not_linked' == $_GET['cat']) { $page['title'] = l10n('Elements_not_linked'); + $template->assign(array('U_ACTIVE_MENU' => 5 )); // we are searching elements not linked to any virtual category $query = ' @@ -163,6 +164,7 @@ SELECT DISTINCT(image_id) else if ('duplicates' == $_GET['cat']) { $page['title'] = l10n('Duplicates'); + $template->assign(array('U_ACTIVE_MENU' => 5 )); // we are searching related elements twice or more to physical categories // 1 - Retrieve Files -- cgit v1.2.3