summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_captiveportal_vouchers.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2014-05-16 21:12:58 +0100
committerColin Fleming <cj_fleming@sky.com>2014-05-16 21:12:58 +0100
commit0cb6064557e1d762ae4892bcb715a27dd0bcbac7 (patch)
treeca0b8c96aae124522f2570468720a08c3ce2ee91 /usr/local/www/status_captiveportal_vouchers.php
parent024068017f98572f6bd41b7ba542fc36fccee39a (diff)
downloadpfsense-0cb6064557e1d762ae4892bcb715a27dd0bcbac7.zip
pfsense-0cb6064557e1d762ae4892bcb715a27dd0bcbac7.tar.gz
Tidy up "status_captiveportal" XHTML
Add SUMMARY to TABLES Remove PHP ECHO that isn't in a PHP statement Update HTML Boolean operator Add COLSPAN to fill the width of the table Move NOWRAP to CLASS statement Close INPUT and IMG tags and add ALT to IMG Add BODY between HEAD.INC and FBEGIN.INC Remove TYPE from TEXTAREA, invalid in XHTML Add closing BODY and closing HTML tags
Diffstat (limited to 'usr/local/www/status_captiveportal_vouchers.php')
-rw-r--r--usr/local/www/status_captiveportal_vouchers.php15
1 files changed, 9 insertions, 6 deletions
diff --git a/usr/local/www/status_captiveportal_vouchers.php b/usr/local/www/status_captiveportal_vouchers.php
index b52e1c8..663ead1 100644
--- a/usr/local/www/status_captiveportal_vouchers.php
+++ b/usr/local/www/status_captiveportal_vouchers.php
@@ -97,8 +97,9 @@ if ($_GET['order']) {
}
include("head.inc");
-include("fbegin.inc");
?>
+<body>
+<?php include("fbegin.inc"); ?>
<form action="status_captiveportal_vouchers.php" method="post" enctype="multipart/form-data" name="iform" id="iform">
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="tab pane">
@@ -118,11 +119,11 @@ include("fbegin.inc");
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="content pane">
<tr>
- <td class="listhdrr"><a href="?order=0&showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Voucher"); ?></a></td>
- <td class="listhdrr"><a href="?order=1&showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Roll"); ?></a></td>
- <td class="listhdrr"><a href="?order=2&showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Activated at"); ?></a></td>
- <td class="listhdrr"><a href="?order=3&showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Expires in"); ?></a></td>
- <td class="listhdr"><a href="?order=4&showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Expires at"); ?></a></td>
+ <td class="listhdrr"><a href="?order=0&amp;showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Voucher"); ?></a></td>
+ <td class="listhdrr"><a href="?order=1&amp;showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Roll"); ?></a></td>
+ <td class="listhdrr"><a href="?order=2&amp;showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Activated at"); ?></a></td>
+ <td class="listhdrr"><a href="?order=3&amp;showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Expires in"); ?></a></td>
+ <td class="listhdr"><a href="?order=4&amp;showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Expires at"); ?></a></td>
<td class="list"></td>
</tr>
<?php foreach ($db as $dbent): ?>
@@ -141,3 +142,5 @@ include("fbegin.inc");
</table>
</form>
<?php include("fend.inc"); ?>
+</body>
+</html>
OpenPOWER on IntegriCloud