Commit 07bafdf6 authored by Franco Fichtner's avatar Franco Fichtner

services: enrich with plugins

parent 9709336b
......@@ -177,6 +177,12 @@ function service_control_restart($name, $extras)
$services = services_get();
require_once 'plugins.inc';
foreach (plugins_services() as $service) {
$services[] = $service;
}
if (count($services) > 0) {
uasort($services, "service_name_compare");
}
......
......@@ -39,6 +39,12 @@ require_once("interfaces.inc");
$services = services_get();
require_once 'plugins.inc';
foreach (plugins_services() as $service) {
$services[] = $service;
}
if (isset($_POST['servicestatusfilter'])) {
$config['widgets']['servicestatusfilter'] = htmlspecialchars($_POST['servicestatusfilter'], ENT_QUOTES | ENT_HTML401);
write_config("Saved Service Status Filter via Dashboard");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment