summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/widgets
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2013-03-05 11:22:37 -0800
committerJim P <jim@pingle.org>2013-03-05 11:22:37 -0800
commit456bae658596f46d8a19643b54d5bafed81de831 (patch)
tree9e06e87e1b8de7b5c14d83836e4e7a43d0c76c18 /usr/local/www/widgets/widgets
parent6af76e873f6b6316c7732a1ceec56f2d38410216 (diff)
parent8e4bb27fb60591ba43c0b1637914d66467edaeef (diff)
downloadpfsense-456bae658596f46d8a19643b54d5bafed81de831.zip
pfsense-456bae658596f46d8a19643b54d5bafed81de831.tar.gz
Merge pull request #454 from ExolonDX/branch_23
Tidy up "gateways" widgets XHTML
Diffstat (limited to 'usr/local/www/widgets/widgets')
-rw-r--r--usr/local/www/widgets/widgets/gateways.widget.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr/local/www/widgets/widgets/gateways.widget.php b/usr/local/www/widgets/widgets/gateways.widget.php
index 17efa58..1b7bd81 100644
--- a/usr/local/www/widgets/widgets/gateways.widget.php
+++ b/usr/local/www/widgets/widgets/gateways.widget.php
@@ -32,6 +32,7 @@ $nocsrf = true;
require_once("guiconfig.inc");
require_once("pfsense-utils.inc");
require_once("functions.inc");
+require_once("/usr/local/www/widgets/include/gateways.inc");
$a_gateways = return_gateways_array();
$gateways_status = array();
@@ -41,13 +42,13 @@ $counter = 1;
?>
-<table bgcolor="#990000" width="100%" border="0" cellspacing="0" cellpadding="0">
+<table bgcolor="#990000" width="100%" border="0" cellspacing="0" cellpadding="0" summary="gateway status">
<tr>
<td class="vncellt" width="30%" id="gatewayname">
Name
</td>
<td width="70%" class="listr">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="heading">
<tr>
<td width="25%" class="listhdrr">RTT</td>
<td width="25%" class="listhdrr">Loss</td>
@@ -65,7 +66,7 @@ $counter = 1;
<?php $counter++; ?>
</td>
<td width="70%" class="listr">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="address">
<tr>
<td class="vncellt" width="100%">
<div id="gateway<?php echo $counter; ?>" style="display:inline">
@@ -84,7 +85,7 @@ $counter = 1;
</td>
</tr>
</table>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="statistics">
<tr>
<td width="25%" class="listlr" align="center" id="gateway<?php echo $counter; ?>">
<?php
@@ -105,7 +106,7 @@ $counter = 1;
<?php $counter++; ?>
</td>
<td width="50%" class="listr" id="gateway<?php echo $counter ?>" >
- <table border="0" cellpadding="0" cellspacing="2">
+ <table border="0" cellpadding="0" cellspacing="2" summary="status">
<?php
if ($gateways_status[$gname]) {
if (stristr($gateways_status[$gname]['status'], "down")) {
OpenPOWER on IntegriCloud