summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-08-13 12:19:47 -0400
committerjim-p <jimp@pfsense.org>2012-08-13 12:19:47 -0400
commit36d1c79884640deb7b1032b395d6b7092a690ea5 (patch)
tree77ea994f80126c1bb1230da6f038ab5371a48b08 /usr/local
parentfbf55ce397db55e8dd5198ac53972d23031a35da (diff)
downloadpfsense-36d1c79884640deb7b1032b395d6b7092a690ea5.zip
pfsense-36d1c79884640deb7b1032b395d6b7092a690ea5.tar.gz
Refine the formatting of the service status icon a bit depending on its context.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/status_services.php2
-rw-r--r--usr/local/www/widgets/widgets/services_status.widget.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php
index fb8ffdc..84c1e4e 100755
--- a/usr/local/www/status_services.php
+++ b/usr/local/www/status_services.php
@@ -257,7 +257,7 @@ if (count($services) > 0) {
$service['description'] = get_pkg_descr($service['name']);
echo '<tr><td class="listlr">' . $service['name'] . '</td>' . "\n";
echo '<td class="listr">' . $service['description'] . '</td>' . "\n";
- echo get_service_status_icon($service);
+ echo get_service_status_icon($service, true, true);
echo '<td valign="middle" class="list" nowrap>';
echo get_service_control_links($service);
echo "</td></tr>\n";
diff --git a/usr/local/www/widgets/widgets/services_status.widget.php b/usr/local/www/widgets/widgets/services_status.widget.php
index dce2456..371766d 100644
--- a/usr/local/www/widgets/widgets/services_status.widget.php
+++ b/usr/local/www/widgets/widgets/services_status.widget.php
@@ -74,7 +74,7 @@ if (count($services) > 0) {
$service['description'] = get_pkg_descr($service['name']);
echo '<tr><td class="listlr">' . $service['name'] . '</td>' . "\n";
echo '<td class="listr">' . $service['description'] . '</td>' . "\n";
- echo get_service_status_icon($service);
+ echo get_service_status_icon($service, false, true);
echo '<td valign="middle" class="list" nowrap>';
echo get_service_control_links($service);
echo "</td></tr>\n";
OpenPOWER on IntegriCloud