Révision bca63487
Ajouté par Colin Fleming il y a presque 10 ans
usr/local/www/vpn_pptp_users_edit.php | ||
---|---|---|
143 | 143 |
<?php if ($input_errors) print_input_errors($input_errors); ?> |
144 | 144 |
<form action="vpn_pptp_users_edit.php" method="post" name="iform" id="iform"> |
145 | 145 |
<div id="mainarea"> |
146 |
<table width="100%" border="0" cellpadding="6" cellspacing="0"> |
|
146 |
<table width="100%" border="0" cellpadding="6" cellspacing="0" summary="vpn pptp users edit">
|
|
147 | 147 |
<tr> |
148 | 148 |
<td width="22%" valign="top" class="vncellreq"><?=gettext("Username");?></td> |
149 | 149 |
<td width="78%" class="vtable"> |
150 |
<?=$mandfldhtml;?><input name="username" type="text" class="formfld user" id="username" size="20" value="<?=htmlspecialchars($pconfig['username']);?>"> |
|
150 |
<?=$mandfldhtml;?><input name="username" type="text" class="formfld user" id="username" size="20" value="<?=htmlspecialchars($pconfig['username']);?>" />
|
|
151 | 151 |
</td> |
152 |
</tr> |
|
152 | 153 |
<tr> |
153 | 154 |
<td width="22%" valign="top" class="vncellreq"><?=gettext("Password");?></td> |
154 | 155 |
<td width="78%" class="vtable"> |
155 |
<?=$mandfldhtml;?><input name="password" type="password" class="formfld pwd" id="password" size="20"> |
|
156 |
<br /><?=$mandfldhtml;?><input name="password2" type="password" class="formfld pwd" id="password2" size="20"> |
|
156 |
<?=$mandfldhtml;?><input name="password" type="password" class="formfld pwd" id="password" size="20" />
|
|
157 |
<br /><?=$mandfldhtml;?><input name="password2" type="password" class="formfld pwd" id="password2" size="20" />
|
|
157 | 158 |
(<?=gettext("confirmation");?>)<?php if (isset($id) && $a_secret[$id]): ?><br /> |
158 | 159 |
<span class="vexpl"><?=gettext("If you want to change the users' password, ". |
159 | 160 |
"enter it here twice.");?></span><?php endif; ?></td> |
... | ... | |
161 | 162 |
<tr> |
162 | 163 |
<td width="22%" valign="top" class="vncell"><?=gettext("IP address");?></td> |
163 | 164 |
<td width="78%" class="vtable"> |
164 |
<input name="ip" type="text" class="formfld unknown" id="ip" size="20" value="<?=htmlspecialchars($pconfig['ip']);?>"> |
|
165 |
<input name="ip" type="text" class="formfld unknown" id="ip" size="20" value="<?=htmlspecialchars($pconfig['ip']);?>" />
|
|
165 | 166 |
<br /><span class="vexpl"><?=gettext("If you want the user to be assigned a specific IP address, enter it here.");?></span></td> |
166 | 167 |
</tr> |
167 | 168 |
<tr> |
168 | 169 |
<td class="vncell" width="22%" valign="top"> </td> |
169 | 170 |
<td class="vncell" width="78%"> |
170 |
<input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>"> |
|
171 |
<input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" />
|
|
171 | 172 |
<?php if (isset($id) && $a_secret[$id]): ?> |
172 |
<input name="id" type="hidden" value="<?=htmlspecialchars($id);?>"> |
|
173 |
<input name="id" type="hidden" value="<?=htmlspecialchars($id);?>" />
|
|
173 | 174 |
<?php endif; ?> |
174 | 175 |
</td> |
175 | 176 |
</tr> |
... | ... | |
179 | 180 |
<?php include("fend.inc"); ?> |
180 | 181 |
</body> |
181 | 182 |
</html> |
182 |
|
|
183 |
|
Formats disponibles : Unified diff
Tidy up "vpn_pptp_users" XHTML
Add SUMMARY to TABLES
Close INPUT and IMG tags and add ALT to IMG
Move NOWRAP to CLASS statement
Deprecated Ampersand in Anchor tags
Add missing closing TR tag