Projet

Général

Profil

« Précédent | Suivant » 

Révision 0cb60645

Ajouté par Colin Fleming il y a presque 10 ans

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

Voir les différences:

usr/local/www/status_captiveportal_vouchers.php
97 97
}
98 98

  
99 99
include("head.inc");
100
include("fbegin.inc");
101 100
?>
101
<body>
102
<?php include("fbegin.inc"); ?>
102 103

  
103 104
<form action="status_captiveportal_vouchers.php" method="post" enctype="multipart/form-data" name="iform" id="iform">
104 105
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="tab pane">
......
118 119

  
119 120
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="content pane">
120 121
  <tr>
121
    <td class="listhdrr"><a href="?order=0&showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Voucher"); ?></a></td>
122
    <td class="listhdrr"><a href="?order=1&showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Roll"); ?></a></td>
123
    <td class="listhdrr"><a href="?order=2&showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Activated at"); ?></a></td>
124
    <td class="listhdrr"><a href="?order=3&showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Expires in"); ?></a></td>
125
    <td class="listhdr"><a href="?order=4&showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Expires at"); ?></a></td>
122
    <td class="listhdrr"><a href="?order=0&amp;showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Voucher"); ?></a></td>
123
    <td class="listhdrr"><a href="?order=1&amp;showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Roll"); ?></a></td>
124
    <td class="listhdrr"><a href="?order=2&amp;showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Activated at"); ?></a></td>
125
    <td class="listhdrr"><a href="?order=3&amp;showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Expires in"); ?></a></td>
126
    <td class="listhdr"><a href="?order=4&amp;showact=<?=htmlspecialchars($_GET['showact']);?>"><?=gettext("Expires at"); ?></a></td>
126 127
    <td class="list"></td>
127 128
  </tr>
128 129
<?php foreach ($db as $dbent): ?>
......
141 142
</table>
142 143
</form>
143 144
<?php include("fend.inc"); ?>
145
</body>
146
</html>

Formats disponibles : Unified diff