diff options
author | Colin Fleming <cj_fleming@sky.com> | 2014-04-18 22:35:12 +0100 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2014-04-18 22:35:12 +0100 |
commit | d3c90ddd70041d2925920ca566962f3ce42901cf (patch) | |
tree | d0ba21c97d3906640f46e880e857db37d738649e /usr/local/www/services_rfc2136.php | |
parent | 928dc66a4341eeb7d84d79d7a331462107863170 (diff) | |
download | pfsense-d3c90ddd70041d2925920ca566962f3ce42901cf.zip pfsense-d3c90ddd70041d2925920ca566962f3ce42901cf.tar.gz |
Tidy up "services rfc2136" XHTML
Add SUMMARY to tables
Move NOWRAP to class statement
Close INPUT and IMG tags and add ALT to IMG tags
Update HTML Boolean operators
Remove duplicate closing TD tag
Add missing closing TD tag
Diffstat (limited to 'usr/local/www/services_rfc2136.php')
-rw-r--r-- | usr/local/www/services_rfc2136.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/usr/local/www/services_rfc2136.php b/usr/local/www/services_rfc2136.php index 4a6c060..fb38005 100644 --- a/usr/local/www/services_rfc2136.php +++ b/usr/local/www/services_rfc2136.php @@ -60,7 +60,7 @@ include("head.inc"); <?php include("fbegin.inc"); ?> <form action="services_rfc2136.php" method="post" name="iform" id="iform"> <?php if ($input_errors) print_input_errors($input_errors); ?> -<table width="100%" border="0" cellpadding="0" cellspacing="0"> +<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="rfc2136"> <tr> <td> <?php @@ -74,7 +74,7 @@ include("head.inc"); <tr> <td> <div id="mainarea"> - <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0"> + <table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0" summary="main area"> <tr> <td width="5%" class="listhdrr"><?=gettext("If");?></td> <td width="15%" class="listhdrr"><?=gettext("Server");?></td> @@ -102,7 +102,7 @@ include("head.inc"); <td class="listr"> <?php if (!isset($rfc2136['enable'])) - echo "<span class=\"gray\">".htmlspecialchars($rfc2136['server'])."</span>"; + echo "<span class=\"gray\">" . htmlspecialchars($rfc2136['server']) . "</span>"; else echo htmlspecialchars($rfc2136['server']); ?> @@ -110,7 +110,7 @@ include("head.inc"); <td class="listr"> <?php if (!isset($rfc2136['enable'])) - echo "<span class=\"gray\">".htmlspecialchars($rfc2136['host'])."</span>"; + echo "<span class=\"gray\">" . htmlspecialchars($rfc2136['host']) . "</span>"; else echo htmlspecialchars($rfc2136['host']); ?> @@ -155,20 +155,20 @@ include("head.inc"); <td class="listbg"> <?php if (!isset($rfc2136['enable'])) - echo "<span class=\"gray\">".htmlspecialchars($rfc2136['descr'])."</span>"; + echo "<span class=\"gray\">" . htmlspecialchars($rfc2136['descr']) . "</span>"; else echo htmlspecialchars($rfc2136['descr']); ?> </td> - <td valign="middle" nowrap class="list"> - <a href="services_rfc2136_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0"></a> - <a href="services_rfc2136.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this client?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a> + <td valign="middle" class="list nowrap"> + <a href="services_rfc2136_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0" alt="edit" /></a> + <a href="services_rfc2136.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this client?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" alt="delete" /></a> </td> </tr> <?php $i++; endforeach; ?> <tr> <td class="list" colspan="5"> </td> - <td class="list"> <a href="services_rfc2136_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td> + <td class="list"><a href="services_rfc2136_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0" alt="add" /></a></td> </tr> <tr> <td colspan="3" class="list"> @@ -184,4 +184,4 @@ include("head.inc"); </form> <?php include("fend.inc"); ?> </body> -</html>
\ No newline at end of file +</html> |