From baed7507fa22f5f58e43416749f3110e1e9e811d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 1 Nov 2010 16:10:01 +0000 Subject: [PATCH] Fix: test on option MAIN_MENU_USE_JQUERY_LAYOUT was not done everywhere. This fix borken feature in ecm when MAIN_MENU_USE_JQUERY_LAYOUT is not used. USage when option is one is still broken. --- htdocs/admin/menus/other.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/admin/menus/other.php b/htdocs/admin/menus/other.php index 1dd37b580e2..55f58424286 100644 --- a/htdocs/admin/menus/other.php +++ b/htdocs/admin/menus/other.php @@ -121,6 +121,8 @@ print ""; print ''; // hide unauthorized menu +if ($conf->global->MAIN_FEATURES_LEVEL > 0) // TODO There is still a bug with ecm when this option is on so deinfed as experimental feature +{ $var=!$var; print ""; print ''.$langs->trans("MenuUseLayout").''; @@ -135,6 +137,7 @@ if($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT == 1) } print ""; print ''; +} print '';