summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets
diff options
context:
space:
mode:
authorN0YB <Al_Stu@Frontier.com>2014-01-26 21:58:25 -0800
committerN0YB <Al_Stu@Frontier.com>2014-01-26 21:58:25 -0800
commitcd6173f48c290cd523d9cbb5a989e8a13d3d51a2 (patch)
tree91f17c78ce2a46ecdf3c4734f5e19a233e0544ac /usr/local/www/widgets
parent8467c588e48965a412e2a146b1fd033c3a4d7ea2 (diff)
downloadpfsense-cd6173f48c290cd523d9cbb5a989e8a13d3d51a2.zip
pfsense-cd6173f48c290cd523d9cbb5a989e8a13d3d51a2.tar.gz
The service status icon (get_service_status_icon) is not always in a table.
So the caller should apply table td element, rather than the function. Document type does not allow element "td" here <td class="listr" align="center"> The element named above was found in a context where it is not allowed.
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r--usr/local/www/widgets/widgets/services_status.widget.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/widgets/widgets/services_status.widget.php b/usr/local/www/widgets/widgets/services_status.widget.php
index 9ae8696..ee8d521 100644
--- a/usr/local/www/widgets/widgets/services_status.widget.php
+++ b/usr/local/www/widgets/widgets/services_status.widget.php
@@ -75,7 +75,9 @@ if (count($services) > 0) {
$service_desc = explode(".",$service['description']);
echo '<tr><td class="listlr">' . $service['name'] . '</td>' . "\n";
echo '<td class="listr">' . $service_desc[0] . '</td>' . "\n";
+ echo '<td class="listr" align="center">' . "\n";
echo get_service_status_icon($service, false, true);
+ echo "</td>\n";
echo '<td valign="middle" class="list nowrap">';
echo get_service_control_links($service);
echo "</td></tr>\n";
OpenPOWER on IntegriCloud