summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_pptp_users_edit.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2014-05-09 00:20:29 +0100
committerColin Fleming <cj_fleming@sky.com>2014-05-09 00:20:29 +0100
commitbca63487abb9981d2da07b2245f8c4bd6af44e0f (patch)
treefffe09b0a51b10dda7a6f8eebc3b296dd25b5690 /usr/local/www/vpn_pptp_users_edit.php
parent0a15a38d75ebebdeda4727580e82290e87663816 (diff)
downloadpfsense-bca63487abb9981d2da07b2245f8c4bd6af44e0f.zip
pfsense-bca63487abb9981d2da07b2245f8c4bd6af44e0f.tar.gz
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
Diffstat (limited to 'usr/local/www/vpn_pptp_users_edit.php')
-rw-r--r--usr/local/www/vpn_pptp_users_edit.php17
1 files changed, 8 insertions, 9 deletions
diff --git a/usr/local/www/vpn_pptp_users_edit.php b/usr/local/www/vpn_pptp_users_edit.php
index 9777f5e..7b8baa5 100644
--- a/usr/local/www/vpn_pptp_users_edit.php
+++ b/usr/local/www/vpn_pptp_users_edit.php
@@ -143,17 +143,18 @@ include("head.inc");
<?php if ($input_errors) print_input_errors($input_errors); ?>
<form action="vpn_pptp_users_edit.php" method="post" name="iform" id="iform">
<div id="mainarea">
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
+ <table width="100%" border="0" cellpadding="6" cellspacing="0" summary="vpn pptp users edit">
<tr>
<td width="22%" valign="top" class="vncellreq"><?=gettext("Username");?></td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="username" type="text" class="formfld user" id="username" size="20" value="<?=htmlspecialchars($pconfig['username']);?>">
+ <?=$mandfldhtml;?><input name="username" type="text" class="formfld user" id="username" size="20" value="<?=htmlspecialchars($pconfig['username']);?>" />
</td>
+ </tr>
<tr>
<td width="22%" valign="top" class="vncellreq"><?=gettext("Password");?></td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="password" type="password" class="formfld pwd" id="password" size="20">
- <br /><?=$mandfldhtml;?><input name="password2" type="password" class="formfld pwd" id="password2" size="20">
+ <?=$mandfldhtml;?><input name="password" type="password" class="formfld pwd" id="password" size="20" />
+ <br /><?=$mandfldhtml;?><input name="password2" type="password" class="formfld pwd" id="password2" size="20" />
&nbsp;(<?=gettext("confirmation");?>)<?php if (isset($id) && $a_secret[$id]): ?><br />
<span class="vexpl"><?=gettext("If you want to change the users' password, ".
"enter it here twice.");?></span><?php endif; ?></td>
@@ -161,15 +162,15 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("IP address");?></td>
<td width="78%" class="vtable">
- <input name="ip" type="text" class="formfld unknown" id="ip" size="20" value="<?=htmlspecialchars($pconfig['ip']);?>">
+ <input name="ip" type="text" class="formfld unknown" id="ip" size="20" value="<?=htmlspecialchars($pconfig['ip']);?>" />
<br /><span class="vexpl"><?=gettext("If you want the user to be assigned a specific IP address, enter it here.");?></span></td>
</tr>
<tr>
<td class="vncell" width="22%" valign="top">&nbsp;</td>
<td class="vncell" width="78%">
- <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>">
+ <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" />
<?php if (isset($id) && $a_secret[$id]): ?>
- <input name="id" type="hidden" value="<?=htmlspecialchars($id);?>">
+ <input name="id" type="hidden" value="<?=htmlspecialchars($id);?>" />
<?php endif; ?>
</td>
</tr>
@@ -179,5 +180,3 @@ include("head.inc");
<?php include("fend.inc"); ?>
</body>
</html>
-
-
OpenPOWER on IntegriCloud