summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_captiveportal_zones.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2014-04-03 15:09:15 +0100
committerColin Fleming <cj_fleming@sky.com>2014-04-03 15:09:15 +0100
commit8abd178241420b72789831ae8f6851b2101690d1 (patch)
tree5b353c06794d97b41eb7b46fb5b529ac9f1fba6b /usr/local/www/services_captiveportal_zones.php
parenta4b1bf88bbdc0b05f39c5dcca245ccf3f0563f7d (diff)
downloadpfsense-8abd178241420b72789831ae8f6851b2101690d1.zip
pfsense-8abd178241420b72789831ae8f6851b2101690d1.tar.gz
Tidy up "services_captiveportal_zones.php" XHTML
Add SUMMARY to tables Close IMG and add ALT Close INPUT Move NOWRAP to class Deprecate ampersand Swap BODY with php statement Remove redundant closing TR and TABLE
Diffstat (limited to 'usr/local/www/services_captiveportal_zones.php')
-rw-r--r--usr/local/www/services_captiveportal_zones.php21
1 files changed, 9 insertions, 12 deletions
diff --git a/usr/local/www/services_captiveportal_zones.php b/usr/local/www/services_captiveportal_zones.php
index d6adb64..a2c5650 100644
--- a/usr/local/www/services_captiveportal_zones.php
+++ b/usr/local/www/services_captiveportal_zones.php
@@ -52,17 +52,17 @@ include("head.inc");
<?php print_info_box_np(gettext("The CaptivePortal entry list has been changed") . ".<br />" . gettext("You must apply the changes in order for them to take effect."));?>
<?php endif; ?>
-<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
+<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0" summary="captive portal">
<tr>
<td width="15%" class="listhdrr"><?=gettext("Zone");?></td>
<td width="30%" class="listhdrr"><?=gettext("Interfaces");?></td>
<td width="10%" class="listhdrr"><?=gettext("Number of users");?></td>
<td width="40%" class="listhdrr"><?=gettext("Description");?></td>
<td width="5%" class="list">
- <table border="0" cellspacing="0" cellpadding="1">
+ <table border="0" cellspacing="0" cellpadding="1" summary="icons">
<tr>
<td valign="middle" width="17">&nbsp;</td>
- <td valign="middle"><a href="services_captiveportal_zones_edit.php"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0" title="<?=gettext("add a new captiveportal instance");?>"></a></td>
+ <td valign="middle"><a href="services_captiveportal_zones_edit.php"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0" title="<?=gettext("add a new captiveportal instance");?>" alt="add" /></a></td>
</tr>
</table>
</td>
@@ -87,11 +87,11 @@ include("head.inc");
<td class="listbg" ondblclick="document.location='services_captiveportal.php?zone=<?=$cpzone;?>';">
<?=htmlspecialchars($cpitem['descr']);?>&nbsp;
</td>
- <td valign="middle" nowrap class="list">
- <table border="0" cellspacing="0" cellpadding="1">
+ <td valign="middle" class="list nowrap">
+ <table border="0" cellspacing="0" cellpadding="1" summary="icons">
<tr>
- <td valign="middle"><a href="services_captiveportal.php?zone=<?=$cpzone?>"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0" title="<?=gettext("edit captiveportal instance"); ?>"></a></td>
- <td><a href="services_captiveportal_zones.php?act=del&zone=<?=$cpzone;?>" onclick="return confirm('<?=gettext("Do you really want to delete this entry?");?>')"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" title="<?=gettext("delete captiveportal instance");?>"></a></td>
+ <td valign="middle"><a href="services_captiveportal.php?zone=<?=$cpzone?>"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0" title="<?=gettext("edit captiveportal instance"); ?>" alt="edit" /></a></td>
+ <td><a href="services_captiveportal_zones.php?act=del&amp;zone=<?=$cpzone;?>" onclick="return confirm('<?=gettext("Do you really want to delete this entry?");?>')"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" title="<?=gettext("delete captiveportal instance");?>" alt="delete" /></a></td>
</tr>
</table>
</td>
@@ -100,18 +100,15 @@ include("head.inc");
<tr>
<td class="list" colspan="4"></td>
<td class="list">
- <table border="0" cellspacing="0" cellpadding="1">
+ <table border="0" cellspacing="0" cellpadding="1" summary="add">
<tr>
<td valign="middle" width="17">&nbsp;</td>
- <td valign="middle"><a href="services_captiveportal_zones_edit.php"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0" title="<?=gettext("add a new captiveportal instance");?>"></a></td>
- </td>
+ <td valign="middle"><a href="services_captiveportal_zones_edit.php"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0" title="<?=gettext("add a new captiveportal instance");?>" alt="add" /></a></td>
</tr>
</table>
</td>
</tr>
</table>
-</tr>
-</table>
</form>
<?php include("fend.inc"); ?>
</body>
OpenPOWER on IntegriCloud