diff options
author | Colin Fleming <cj_fleming@sky.com> | 2014-12-14 22:03:37 +0000 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2014-12-14 22:03:37 +0000 |
commit | 6678fdd1ebd720c9c4de34069cafb7f153354a20 (patch) | |
tree | 5bc59e2184ebdae1bd54275e3403d31b5fff35a1 /usr/local/www/widgets/widgets/interfaces.widget.php | |
parent | f358fe3f6d105e3efad1497726cd363ece1fdfa6 (diff) | |
download | pfsense-6678fdd1ebd720c9c4de34069cafb7f153354a20.zip pfsense-6678fdd1ebd720c9c4de34069cafb7f153354a20.tar.gz |
Tidy up "widgets" XHTML
Add CDATA sections to scripts
Add ALT to image tags and close image tags
DIV tag cannot be inside a STRONG tag, so swap them around
SCRIPT cannot be part of TR tag, so place the SCRIPT inside a TD tag but
hide it.
Diffstat (limited to 'usr/local/www/widgets/widgets/interfaces.widget.php')
-rw-r--r-- | usr/local/www/widgets/widgets/interfaces.widget.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/local/www/widgets/widgets/interfaces.widget.php b/usr/local/www/widgets/widgets/interfaces.widget.php index bcf8704..4cdee4e 100644 --- a/usr/local/www/widgets/widgets/interfaces.widget.php +++ b/usr/local/www/widgets/widgets/interfaces.widget.php @@ -103,21 +103,19 @@ foreach ($ifdescrs as $ifdescr => $ifname): </tr> <tr> <td class="listr"> - <strong> <?php if($ifinfo['ipaddr'] != ""): ?> - <div id="<?php echo $ifname;?>-ip" style="display:inline"><?=htmlspecialchars($ifinfo['ipaddr']);?> </div> + <div id="<?php echo $ifname;?>-ip" style="display:inline"><strong><?=htmlspecialchars($ifinfo['ipaddr']);?> </strong></div> <br /> <?php endif; if ($ifinfo['ipaddrv6'] != ""): ?> - <div id="<?php echo $ifname;?>-ipv6" style="display:inline"><?=htmlspecialchars($ifinfo['ipaddrv6']);?> </div> + <div id="<?php echo $ifname;?>-ipv6" style="display:inline"><strong><?=htmlspecialchars($ifinfo['ipaddrv6']);?> </strong></div> <?php endif; ?> - </strong> </td> </tr> <?php |