From 4c3b1face679d1ceaa0f459b85fdd5f29305373e Mon Sep 17 00:00:00 2001 From: nikrou Date: Thu, 19 Mar 2009 20:30:10 +0000 Subject: 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/trunk@3216 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/template/goto/admin.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/template/goto') diff --git a/admin/template/goto/admin.tpl b/admin/template/goto/admin.tpl index 9c21bc4b2..c2a454f88 100644 --- a/admin/template/goto/admin.tpl +++ b/admin/template/goto/admin.tpl @@ -7,7 +7,7 @@ jQuery().ready(function(){ldelim} jQuery('#menubar').accordion({ldelim} header: "dt.rdion", event: "click", - active: {$themeconf.selected_admin_menu} + active: {$U_ACTIVE_MENU|default:$themeconf.selected_admin_menu} }); }); -- cgit v1.2.3