From 34abb859df61756059ae64c2e8aeb0fdd263a259 Mon Sep 17 00:00:00 2001 From: Mark Schouten Date: Fri, 28 Aug 2015 17:01:51 +0200 Subject: [PATCH] Remove proxmox as a page and add is as an app. Also, this introduces actual working app_instance stuff into LibreNMS --- html/includes/print-menubar.php | 39 +++++++----------- html/pages/apps/proxmox.inc.php | 52 ++++++++++++++++++++++++ html/pages/apps/proxmox/vm.inc.php | 35 ++++++++++++++++ html/pages/proxmox.inc.php | 65 ------------------------------ html/pages/proxmox/vm.inc.php | 60 --------------------------- 5 files changed, 102 insertions(+), 149 deletions(-) create mode 100644 html/pages/apps/proxmox.inc.php create mode 100644 html/pages/apps/proxmox/vm.inc.php delete mode 100644 html/pages/proxmox.inc.php delete mode 100644 html/pages/proxmox/vm.inc.php diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index f24eb41c0..1cf1747e0 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -360,21 +360,32 @@ foreach (array_keys($menu_sensors) as $item) { = '5' && ($app_count) > "0") { +if ($_SESSION['userlevel'] >= '5' && count($app_list) > "0") { ?>