From d39f1d71a6edf6d2db73a49ede5441ad01cbc8e2 Mon Sep 17 00:00:00 2001 From: laf Date: Wed, 4 Nov 2015 19:23:39 +0000 Subject: [PATCH] Few small changes --- html/includes/print-service-add.inc.php | 1 + html/includes/print-service-edit.inc.php | 3 +++ html/pages/addsrv.inc.php | 2 +- html/pages/services.inc.php | 1 - 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/html/includes/print-service-add.inc.php b/html/includes/print-service-add.inc.php index f8ab34e9a..ac5b67759 100644 --- a/html/includes/print-service-add.inc.php +++ b/html/includes/print-service-add.inc.php @@ -47,6 +47,7 @@ echo "
+ This may be required based on the service check.
diff --git a/html/includes/print-service-edit.inc.php b/html/includes/print-service-edit.inc.php index d0ad23a56..7b5c1bafb 100644 --- a/html/includes/print-service-edit.inc.php +++ b/html/includes/print-service-edit.inc.php @@ -26,6 +26,9 @@ if (isset($_POST['service']) && is_numeric($_POST['service'])) {
+
+ This may be required based on the service check. +
diff --git a/html/pages/addsrv.inc.php b/html/pages/addsrv.inc.php index 6196dac76..8fe145982 100644 --- a/html/pages/addsrv.inc.php +++ b/html/pages/addsrv.inc.php @@ -21,7 +21,7 @@ else { if ($handle = opendir($config['nagios_plugins'])) { while (false !== ($file = readdir($handle))) { if ($file != '.' && $file != '..' && !strstr($file, '.') && strstr($file, 'check_')) { - list(,$check_name) = explode('_',$file); + list(,$check_name) = explode('_',$file,2); $servicesform .= ""; } } diff --git a/html/pages/services.inc.php b/html/pages/services.inc.php index 315ab88ca..e908172f2 100644 --- a/html/pages/services.inc.php +++ b/html/pages/services.inc.php @@ -8,7 +8,6 @@ echo "Services » "; $menu_options = array( 'basic' => 'Basic', - 'details' => 'Details', ); $sql_param = array();