diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index d24f4d7951..49be946f91 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2014-05-21 Sergio Martin + + * general/main_menu.php + godmode/setup/setup_visuals.php + include/styles/pandora.css + include/functions_config.php: Added autohidden menu + feature + 2014-05-21 Vanessa Gil * images/dot_blue.png diff --git a/pandora_console/general/main_menu.php b/pandora_console/general/main_menu.php index fbcac4ac3e..79170dcd31 100644 --- a/pandora_console/general/main_menu.php +++ b/pandora_console/general/main_menu.php @@ -20,8 +20,18 @@ if (! isset ($config["id_user"])) { exit (); } +$autohidden_menu = 0; + +if (isset ($config["autohidden_menu"]) && $config["autohidden_menu"]) { + $autohidden_menu = 1; +} + +if ($autohidden_menu) { + $menu_container_id = 'menu_container'; +} + // Menu container prepared to autohide menu -echo '