Projet

Général

Profil

« Précédent | Suivant » 

Révision 391453a1

Ajouté par Colin Fleming il y a presque 10 ans

Tidy up "vpn_ipsec" XHTML

Add CDATA section to SCRIPTS
Add SUMMARY to TABLES
Update HTML Boolean operators
Close INPUT and IMG tags and ALT to IMG tags
Move NOWRAP into CLASS statement
Deprecate ampersand in Anchor tags

Voir les différences:

usr/local/www/vpn_ipsec_settings.php
122 122
<?php include("fbegin.inc"); ?>
123 123

  
124 124
<script type="text/javascript">
125
<!--
125
//<![CDATA[
126 126

  
127 127
function maxmss_checked(obj) {
128 128
	if (obj.checked)
......
131 131
		jQuery('#maxmss').attr('disabled','true');
132 132
}
133 133

  
134
//-->
134
//]]>
135 135
</script>
136 136

  
137 137
<form action="vpn_ipsec_settings.php" method="post" name="iform" id="iform">
......
143 143
		print_input_errors($input_errors);
144 144
?>
145 145

  
146
<table width="100%" border="0" cellpadding="0" cellspacing="0">
146
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="vpn ipsec settings">
147 147
	<tr>
148 148
		<td class="tabnavtbl">
149 149
			<?php
......
159 159
	<tr>
160 160
		<td id="mainarea">
161 161
			<div class="tabcont">
162
				<table width="100%" border="0" cellpadding="6" cellspacing="0">
162
				<table width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area">
163 163
					<tr>
164 164
						<td colspan="2" valign="top" class="listtopic"><?=gettext("IPSec Advanced Settings"); ?></td>
165 165
					</tr>
......
189 189
						<td width="78%" class="vtable">
190 190
							<strong><?=gettext("Start IPSec in debug mode based on sections selected"); ?></strong>
191 191
							<br />
192
							<table>
192
							<table summary="ipsec debug">
193 193
						<?php foreach ($ipsec_loglevels as $lkey => $ldescr): ?>
194 194
							<tr>
195 195
								<td width="22%" valign="top" class="vncell"><?=$ldescr;?></td>
......
206 206
								</td>
207 207
							</tr>
208 208
						<?php endforeach; ?>
209
							<tr style="display:none;"><td></td></tr>
209 210
							</table>
210 211
							<br /><?=gettext("Launches IPSec in debug mode so that more verbose logs " .
211 212
							"will be generated to aid in troubleshooting."); ?>
......
238 239
					<tr>
239 240
						<td width="22%" valign="top">&nbsp;</td>
240 241
						<td width="78%">
241
							<input name="submit" type="submit" class="formbtn" value="<?=gettext("Save"); ?>">
242
							<input name="submit" type="submit" class="formbtn" value="<?=gettext("Save"); ?>" />
242 243
						</td>
243 244
					</tr>
244 245
				</table>

Formats disponibles : Unified diff