From 1b46283108fc4b144ee489914fb44fc79d4acee0 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 10 Aug 2012 11:32:34 -0400 Subject: Fixup output formatting --- etc/inc/service-utils.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'etc/inc/service-utils.inc') diff --git a/etc/inc/service-utils.inc b/etc/inc/service-utils.inc index 51375cd..8bb7a4b 100644 --- a/etc/inc/service-utils.inc +++ b/etc/inc/service-utils.inc @@ -378,15 +378,15 @@ function get_service_status_icon($service, $withtext = true) { $output = ""; if(get_service_status($service)) { $output .= '
' . "\n"; - $output .= ""; + $output .= ""; if ($withtext) $output .= " " . gettext("Running"); $output .= "\n"; } else { $output .= '
' . "\n"; - $output .= " "; + $output .= ""; if ($withtext) - $output .= " " . gettext("Stopped"); + $output .= " " . gettext("Stopped") . ""; $output .= "\n"; } return $output; @@ -406,7 +406,7 @@ function get_service_control_links($service) { default: $output .= ""; } - $output .= "\n"; + $output .= "\n"; switch ($service['name']) { case "openvpn": $output .= ""; @@ -417,7 +417,7 @@ function get_service_control_links($service) { default: $output .= ""; } - $output .= ""; + $output .= ""; $output .= ""; } else { switch ($service['name']) { @@ -430,7 +430,7 @@ function get_service_control_links($service) { default: $output .= ""; } - $output .= "\n"; + $output .= "\n"; } return $output; } -- cgit v1.1