Projet

Général

Profil

« Précédent | Suivant » 

Révision 4d07ca6a

Ajouté par Colin Fleming il y a presque 10 ans

Tidy up "vpn_ipsec_keys" XHTML

Add SUMMARY to TABLES
Close INPUT and IMG tags and ALT
Move NOWRAP into CLASS statement
Deprecate ampersand in Anchor tags
Add missing closing BODY and HTML tags

Voir les différences:

usr/local/www/vpn_ipsec_keys_edit.php
123 123
<?php include("fbegin.inc"); ?>
124 124
<?php if ($input_errors) print_input_errors($input_errors); ?>
125 125
            <form action="vpn_ipsec_keys_edit.php" method="post" name="iform" id="iform">
126
              <table width="100%" border="0" cellpadding="6" cellspacing="0">
126
              <table width="100%" border="0" cellpadding="6" cellspacing="0" summary="vpn ipsec keys edit">
127 127
                <tr> 
128 128
                  <td valign="top" class="vncellreq"><?=gettext("Identifier"); ?></td>
129 129
                  <td class="vtable">
130
					<?=$mandfldhtml;?><input name="ident" type="text" class="formfld unknown" id="ident" size="30" value="<?=htmlspecialchars($pconfig['ident']);?>">
130
					<?=$mandfldhtml;?><input name="ident" type="text" class="formfld unknown" id="ident" size="30" value="<?=htmlspecialchars($pconfig['ident']);?>" />
131 131
                    <br />
132 132
<?=gettext("This can be either an IP address, fully qualified domain name or an e-mail address"); ?>.       
133 133
                  </td>
......
135 135
                <tr> 
136 136
                  <td width="22%" valign="top" class="vncellreq"><?=gettext("Pre-Shared Key"); ?></td>
137 137
                  <td width="78%" class="vtable"> 
138
                    <?=$mandfldhtml;?><input name="psk" type="text" class="formfld unknown" id="psk" size="40" value="<?=htmlspecialchars($pconfig['psk']);?>">
138
                    <?=$mandfldhtml;?><input name="psk" type="text" class="formfld unknown" id="psk" size="40" value="<?=htmlspecialchars($pconfig['psk']);?>" />
139 139
                  </td>
140 140
                </tr>
141 141
                <tr> 
142 142
                  <td width="22%" valign="top">&nbsp;</td>
143 143
                  <td width="78%"> 
144
                    <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save"); ?>"> 
144
                    <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save"); ?>" /> 
145 145
                    <?php if (isset($id) && $a_secret[$id]): ?>
146
                    <input name="id" type="hidden" value="<?=htmlspecialchars($id);?>">
146
                    <input name="id" type="hidden" value="<?=htmlspecialchars($id);?>" />
147 147
                    <?php endif; ?>
148 148
                  </td>
149 149
                </tr>
150 150
              </table>
151 151
</form>
152 152
<?php include("fend.inc"); ?>
153
</body>
154
</html>

Formats disponibles : Unified diff