From cd00dffa7210a16063ab8e8f7811929b75f9a8e8 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 17 Mar 2010 23:50:53 +0000 Subject: feature 1515: the new admin menu organization implies to tell the accordion menu which section to open on page load. I've moved the single function in functions_themes.inc.php to function.php to avoid misunderstanding with theme manager. Ability to preset the active menu (in the future, a plugin may add its admin page anywhere in the menu, this features needs other change to be possible) git-svn-id: http://piwigo.org/svn/trunk@5173 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/admin.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/themes/default/template') diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl index 0c029031d..bd63518a9 100644 --- a/admin/themes/default/template/admin.tpl +++ b/admin/themes/default/template/admin.tpl @@ -7,7 +7,7 @@ jQuery().ready(function(){ldelim} jQuery('#menubar').accordion({ldelim} header: "dt.rdion", event: "click", - active: {$U_ACTIVE_MENU|default:$themeconf.selected_admin_menu} + active: {$ACTIVE_MENU} }); }); -- cgit v1.2.3