summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/widgets/carp_status.widget.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2013-03-05 17:32:33 +0000
committerColin Fleming <cj_fleming@sky.com>2013-03-05 17:32:33 +0000
commit7a1f4f1ff7138c48ac6b88080a8d29299413d1b9 (patch)
tree2b74fce92c75b0dd915145b9ccf19dad83faa074 /usr/local/www/widgets/widgets/carp_status.widget.php
parentbcab1b076d4a73bf2ffdb3aa527fe0157185a6cb (diff)
downloadpfsense-7a1f4f1ff7138c48ac6b88080a8d29299413d1b9.zip
pfsense-7a1f4f1ff7138c48ac6b88080a8d29299413d1b9.tar.gz
Tidy up "carp_status" widget XHTML
Add ALT to img tags Close img tags
Diffstat (limited to 'usr/local/www/widgets/widgets/carp_status.widget.php')
-rw-r--r--usr/local/www/widgets/widgets/carp_status.widget.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr/local/www/widgets/widgets/carp_status.widget.php b/usr/local/www/widgets/widgets/carp_status.widget.php
index bc048ba..1710d1b 100644
--- a/usr/local/www/widgets/widgets/carp_status.widget.php
+++ b/usr/local/www/widgets/widgets/carp_status.widget.php
@@ -37,7 +37,7 @@ require_once("/usr/local/www/widgets/include/carp_status.inc");
$carp_enabled = get_carp_status();
?>
-<table bgcolor="#990000" width="100%" border="0" cellspacing="0" cellpadding="0">
+<table bgcolor="#990000" width="100%" border="0" cellspacing="0" cellpadding="0" summary="carp status">
<?php
if(is_array($config['virtualip']['vip'])) {
$carpint=0;
@@ -54,7 +54,7 @@ $carp_enabled = get_carp_status();
?>
<tr>
<td class="vncellt" width="35%">
- <img src="./themes/<?= $g['theme']; ?>/images/icons/icon_cablenic.gif"/> &nbsp;
+ <img src="./themes/<?= $g['theme']; ?>/images/icons/icon_cablenic.gif" alt="cablenic" />&nbsp;
<strong><a href="/system_hasync.php">
<span style="color:#000000"><?=htmlspecialchars($carp_int);?></span></a></strong>
</td>
@@ -62,14 +62,14 @@ $carp_enabled = get_carp_status();
<?php
if($carp_enabled == false) {
$status = "DISABLED";
- echo "<img src='/themes/".$g['theme']."/images/icons/icon_block.gif' title=\"$status\">";
+ echo "<img src='/themes/".$g['theme']."/images/icons/icon_block.gif' title=\"$status\" alt=\"$status\" />";
} else {
if($status == "MASTER") {
- echo "<img src='/themes/".$g['theme']."/images/icons/icon_pass.gif' title=\"$status\">";
+ echo "<img src='/themes/".$g['theme']."/images/icons/icon_pass.gif' title=\"$status\" alt=\"$status\" />";
} else if($status == "BACKUP") {
- echo "<img src='/themes/".$g['theme']."/images/icons/icon_pass_d.gif' title=\"$status\">";
+ echo "<img src='/themes/".$g['theme']."/images/icons/icon_pass_d.gif' title=\"$status\" alt=\"$status\" />";
} else if($status == "INIT") {
- echo "<img src='/themes/".$g['theme']."/images/icons/icon_log.gif' title=\"$status\">";
+ echo "<img src='/themes/".$g['theme']."/images/icons/icon_log.gif' title=\"$status\" alt=\"$status\" />";
}
}
if ($ipaddress){ ?> &nbsp;
@@ -79,4 +79,4 @@ $carp_enabled = get_carp_status();
} else { ?>
<tr><td class="listr">No CARP Interfaces Defined. Click <a href="carp_status.php">here</a> to configure CARP.</td></tr>
<?php } ?>
-</table>
+</table> \ No newline at end of file
OpenPOWER on IntegriCloud