diff --git a/html/pages/device/edit/services.inc.php b/html/pages/device/edit/services.inc.php index 47b77c3b4c..120417b264 100644 --- a/html/pages/device/edit/services.inc.php +++ b/html/pages/device/edit/services.inc.php @@ -8,6 +8,13 @@ if($_POST['addsrv']) { } } +if($_POST['delsrv']) { + if($_SESSION['userlevel'] == '10') { + include("includes/service-delete.inc.php"); + } +} + + if ($handle = opendir($config['install_dir'] . "/includes/services/")) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != ".." && !strstr($file, ".")) { @@ -47,7 +54,7 @@ echo(" Type - $existform