0) { uasort($services, "service_name_compare"); foreach ($services as $service) { if (empty($service['name'])) { continue; } if (empty($service['description'])) { $service['description'] = get_pkg_descr($service['name']); } echo "\n"; echo "\n"; // if service is running then listr else listbg $bgclass = null; if (get_service_status($service)) { $bgclass = "listr"; } else { $bgclass = "listbg"; } echo "\n"; echo "\n"; } } else { echo "\n"; } ?>
" . $service['name'] . "" . $service['description'] . "" . get_service_status_icon($service, true, true) . "" . get_service_control_links($service); $scut = get_shortcut_by_service_name($service['name']); if (!empty($scut)) { echo get_shortcut_main_link($scut, true, $service); echo get_shortcut_status_link($scut, true, $service); echo get_shortcut_log_link($scut, true); } echo "
" . gettext("No services found") . " .