From fb818064ed80bdf43df0d32d17efa54a6300069e Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Wed, 27 Mar 2019 14:39:02 +0100 Subject: [PATCH] minor fix menu Former-commit-id: 6d0ca2d3d86af083c91a098326dc073d90187ab0 --- pandora_console/general/header.php | 2 +- pandora_console/general/main_menu.php | 27 +++++++------ pandora_console/include/config_process.php | 6 +++ pandora_console/include/functions_menu.php | 46 ++++++++++++++-------- pandora_console/index.php | 2 +- 5 files changed, 51 insertions(+), 32 deletions(-) diff --git a/pandora_console/general/header.php b/pandora_console/general/header.php index 530adacea4..ee92aac2c4 100644 --- a/pandora_console/general/header.php +++ b/pandora_console/general/header.php @@ -19,7 +19,7 @@ require_once 'include/functions_notifications.php'; config_check(); -if ($_SESSION['menu_type'] == 'classic') { +if ($config['menu_type'] == 'classic') { echo '
'; } else { echo '
'; diff --git a/pandora_console/general/main_menu.php b/pandora_console/general/main_menu.php index 18808b788c..072484ee06 100644 --- a/pandora_console/general/main_menu.php +++ b/pandora_console/general/main_menu.php @@ -20,14 +20,12 @@ if (! isset($config['id_user'])) {