summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/widgets
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2013-03-05 11:22:01 -0800
committerJim P <jim@pingle.org>2013-03-05 11:22:01 -0800
commit6af76e873f6b6316c7732a1ceec56f2d38410216 (patch)
tree6c427008403cb9618fa72ae6b8304ac76083b589 /usr/local/www/widgets/widgets
parenta038e6b4c381133b760d0539ed330e65a1628d2f (diff)
parent7a1f4f1ff7138c48ac6b88080a8d29299413d1b9 (diff)
downloadpfsense-6af76e873f6b6316c7732a1ceec56f2d38410216.zip
pfsense-6af76e873f6b6316c7732a1ceec56f2d38410216.tar.gz
Merge pull request #453 from ExolonDX/branch_22
Tidy up "carp_status" widget XHTML
Diffstat (limited to 'usr/local/www/widgets/widgets')
-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