summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorN0YB <Al_Stu@Frontier.com>2014-03-07 12:40:15 -0800
committerN0YB <Al_Stu@Frontier.com>2014-03-07 12:40:15 -0800
commit98669e514c88cd5473c2f88f5603a478199cae17 (patch)
tree5bb22511bd4cdbdccd629d2833fd3c420e7f71f4 /usr
parentbe11dd7075bdd3c449ad093a726a0404912348f0 (diff)
downloadpfsense-98669e514c88cd5473c2f88f5603a478199cae17.zip
pfsense-98669e514c88cd5473c2f88f5603a478199cae17.tar.gz
XHTML Compliance
VPN - IPsec - Mobile Clients
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/vpn_ipsec_mobile.php80
1 files changed, 40 insertions, 40 deletions
diff --git a/usr/local/www/vpn_ipsec_mobile.php b/usr/local/www/vpn_ipsec_mobile.php
index 30927c2..84bf198 100755
--- a/usr/local/www/vpn_ipsec_mobile.php
+++ b/usr/local/www/vpn_ipsec_mobile.php
@@ -246,7 +246,7 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<script language="JavaScript">
+<script type="text/JavaScript">
<!--
function pool_change() {
@@ -327,12 +327,12 @@ function login_banner_change() {
if ($savemsg)
print_info_box($savemsg);
if (isset($config['ipsec']['enable']) && is_subsystem_dirty('ipsec'))
- print_info_box_np(gettext("The IPsec tunnel configuration has been changed") . ".<br>" . gettext("You must apply the changes in order for them to take effect."));
+ print_info_box_np(gettext("The IPsec tunnel configuration has been changed") . ".<br />" . gettext("You must apply the changes in order for them to take effect."));
foreach ($a_phase1 as $ph1ent)
if (isset($ph1ent['mobile']))
$ph1found = true;
if ($pconfig['enable'] && !$ph1found)
- print_info_box_np(gettext("Support for IPsec Mobile clients is enabled but a Phase1 definition was not found") . ".<br>" . gettext("Please click Create to define one."),gettext("create"),gettext("Create Phase1"));
+ print_info_box_np(gettext("Support for IPsec Mobile clients is enabled but a Phase1 definition was not found") . ".<br />" . gettext("Please click Create to define one."),gettext("create"),gettext("Create Phase1"));
if ($input_errors)
print_input_errors($input_errors);
?>
@@ -360,7 +360,7 @@ function login_banner_change() {
<tr>
<td>
<?php set_checked($pconfig['enable'],$chk); ?>
- <input name="enable" type="checkbox" id="enable" value="yes" <?=$chk;?>>
+ <input name="enable" type="checkbox" id="enable" value="yes" <?=$chk;?>/>
</td>
<td>
<strong><?=gettext("Enable IPsec Mobile Client Support"); ?></strong>
@@ -381,14 +381,14 @@ function login_banner_change() {
<td width="22%" valign="top" class="vncellreq"><?=gettext("User Authentication"); ?></td>
<td width="78%" class="vtable">
<?=gettext("Source"); ?>:&nbsp;&nbsp;
- <select name="user_source[]" class="formselect" id="user_source" multiple="true" size="3">
+ <select name="user_source[]" class="formselect" id="user_source" multiple="multiple" size="3">
<?php
$authmodes = explode(",", $pconfig['user_source']);
$auth_servers = auth_get_authserver_list();
foreach ($auth_servers as $auth_server) {
$selected = "";
if (in_array($auth_server['name'], $authmodes))
- $selected = "selected";
+ $selected = "selected=\"selected\"";
echo "<option value='{$auth_server['name']}' {$selected}>{$auth_server['name']}</option>\n";
}
?>
@@ -401,7 +401,7 @@ function login_banner_change() {
<?=gettext("Source"); ?>:&nbsp;&nbsp;
<select name="group_source" class="formselect" id="group_source">
<option value="none"><?=gettext("none"); ?></option>
- <option value="system" <?php if ($pconfig['group_source'] == "system") echo "selected"; ?> ><?=gettext("system"); ?></option>
+ <option value="system" <?php if ($pconfig['group_source'] == "system") echo "selected=\"selected\""; ?> ><?=gettext("system"); ?></option>
</select>
</td>
</tr>
@@ -420,10 +420,10 @@ function login_banner_change() {
<tr>
<td>
<?php set_checked($pconfig['pool_enable'],$chk); ?>
- <input name="pool_enable" type="checkbox" id="pool_enable" value="yes" <?=$chk;?> onClick="pool_change()">
+ <input name="pool_enable" type="checkbox" id="pool_enable" value="yes" <?=$chk;?> onclick="pool_change()"/>
</td>
<td>
- <?=gettext("Provide a virtual IP address to clients"); ?><br>
+ <?=gettext("Provide a virtual IP address to clients"); ?><br />
</td>
</tr>
</table>
@@ -431,11 +431,11 @@ function login_banner_change() {
<tr>
<td>
<?=gettext("Network"); ?>:&nbsp;
- <input name="pool_address" type="text" class="formfld unknown" id="pool_address" size="20" value="<?=htmlspecialchars($pconfig['pool_address']);?>">
+ <input name="pool_address" type="text" class="formfld unknown" id="pool_address" size="20" value="<?=htmlspecialchars($pconfig['pool_address']);?>"/>
/
<select name="pool_netbits" class="formselect" id="pool_netbits">
<?php for ($i = 32; $i >= 0; $i--): ?>
- <option value="<?=$i;?>" <?php if ($i == $pconfig['pool_netbits']) echo "selected"; ?>>
+ <option value="<?=$i;?>" <?php if ($i == $pconfig['pool_netbits']) echo "selected=\"selected\""; ?>>
<?=$i;?>
</option>
<?php endfor; ?>
@@ -452,10 +452,10 @@ function login_banner_change() {
<tr>
<td>
<?php set_checked($pconfig['net_list_enable'],$chk); ?>
- <input name="net_list_enable" type="checkbox" id="net_list_enable" value="yes" <?=$chk;?>>
+ <input name="net_list_enable" type="checkbox" id="net_list_enable" value="yes" <?=$chk;?>/>
</td>
<td>
- <?=gettext("Provide a list of accessible networks to clients"); ?><br>
+ <?=gettext("Provide a list of accessible networks to clients"); ?><br />
</td>
</tr>
</table>
@@ -468,11 +468,11 @@ function login_banner_change() {
<tr>
<td>
<?php set_checked($pconfig['save_passwd_enable'],$chk); ?>
- <input name="save_passwd_enable" type="checkbox" id="save_passwd_enable" value="yes" <?=$chk;?>>
+ <input name="save_passwd_enable" type="checkbox" id="save_passwd_enable" value="yes" <?=$chk;?>/>
</td>
<td>
- <?=gettext("Allow clients to save Xauth passwords (Cisco VPN client only)."); ?><br>
- <?=gettext("NOTE: With iPhone clients, this does not work when deployed via the iPhone configuration utility, only by manual entry."); ?><br>
+ <?=gettext("Allow clients to save Xauth passwords (Cisco VPN client only)."); ?><br />
+ <?=gettext("NOTE: With iPhone clients, this does not work when deployed via the iPhone configuration utility, only by manual entry."); ?><br />
</td>
</tr>
</table>
@@ -485,17 +485,17 @@ function login_banner_change() {
<tr>
<td>
<?php set_checked($pconfig['dns_domain_enable'],$chk); ?>
- <input name="dns_domain_enable" type="checkbox" id="dns_domain_enable" value="yes" <?=$chk;?> onClick="dns_domain_change()">
+ <input name="dns_domain_enable" type="checkbox" id="dns_domain_enable" value="yes" <?=$chk;?> onclick="dns_domain_change()"/>
</td>
<td>
- <?=gettext("Provide a default domain name to clients"); ?><br>
+ <?=gettext("Provide a default domain name to clients"); ?><br />
</td>
</tr>
</table>
<table border="0" cellspacing="2" cellpadding="0">
<tr>
<td>
- <input name="dns_domain" type="text" class="formfld unknown" id="dns_domain" size="30" value="<?=htmlspecialchars($pconfig['dns_domain']);?>">
+ <input name="dns_domain" type="text" class="formfld unknown" id="dns_domain" size="30" value="<?=htmlspecialchars($pconfig['dns_domain']);?>"/>
</td>
</tr>
</table>
@@ -508,10 +508,10 @@ function login_banner_change() {
<tr>
<td>
<?php set_checked($pconfig['dns_split_enable'],$chk); ?>
- <input name="dns_split_enable" type="checkbox" id="dns_split_enable" value="yes" <?=$chk;?> onClick="dns_split_change()">
+ <input name="dns_split_enable" type="checkbox" id="dns_split_enable" value="yes" <?=$chk;?> onclick="dns_split_change()"/>
</td>
<td>
- <?=gettext("Provide a list of split DNS domain names to clients. Enter a comma separated list."); ?><br>
+ <?=gettext("Provide a list of split DNS domain names to clients. Enter a comma separated list."); ?><br />
<?=gettext("NOTE: If left blank, and a default domain is set, it will be used for this value."); ?>
</td>
</tr>
@@ -519,7 +519,7 @@ function login_banner_change() {
<table border="0" cellspacing="2" cellpadding="0">
<tr>
<td>
- <input name="dns_split" type="text" class="formfld unknown" id="dns_split" size="30" value="<?=htmlspecialchars($pconfig['dns_split']);?>">
+ <input name="dns_split" type="text" class="formfld unknown" id="dns_split" size="30" value="<?=htmlspecialchars($pconfig['dns_split']);?>"/>
</td>
</tr>
</table>
@@ -532,10 +532,10 @@ function login_banner_change() {
<tr>
<td>
<?php set_checked($pconfig['dns_server_enable'],$chk); ?>
- <input name="dns_server_enable" type="checkbox" id="dns_server_enable" value="yes" <?=$chk;?> onClick="dns_server_change()">
+ <input name="dns_server_enable" type="checkbox" id="dns_server_enable" value="yes" <?=$chk;?> onclick="dns_server_change()"/>
</td>
<td>
- <?=gettext("Provide a DNS server list to clients"); ?><br>
+ <?=gettext("Provide a DNS server list to clients"); ?><br />
</td>
</tr>
</table>
@@ -543,25 +543,25 @@ function login_banner_change() {
<tr>
<td>
<?=gettext("Server"); ?> #1:&nbsp;
- <input name="dns_server1" type="text" class="formfld unknown" id="dns_server1" size="20" value="<?=htmlspecialchars($pconfig['dns_server1']);?>">
+ <input name="dns_server1" type="text" class="formfld unknown" id="dns_server1" size="20" value="<?=htmlspecialchars($pconfig['dns_server1']);?>"/>
</td>
</tr>
<tr>
<td>
<?=gettext("Server"); ?> #2:&nbsp;
- <input name="dns_server2" type="text" class="formfld unknown" id="dns_server2" size="20" value="<?=htmlspecialchars($pconfig['dns_server2']);?>">
+ <input name="dns_server2" type="text" class="formfld unknown" id="dns_server2" size="20" value="<?=htmlspecialchars($pconfig['dns_server2']);?>"/>
</td>
</tr>
<tr>
<td>
<?=gettext("Server"); ?> #3:&nbsp;
- <input name="dns_server3" type="text" class="formfld unknown" id="dns_server3" size="20" value="<?=htmlspecialchars($pconfig['dns_server3']);?>">
+ <input name="dns_server3" type="text" class="formfld unknown" id="dns_server3" size="20" value="<?=htmlspecialchars($pconfig['dns_server3']);?>"/>
</td>
</tr>
<tr>
<td>
<?=gettext("Server"); ?> #4:&nbsp;
- <input name="dns_server4" type="text" class="formfld unknown" id="dns_server4" size="20" value="<?=htmlspecialchars($pconfig['dns_server4']);?>">
+ <input name="dns_server4" type="text" class="formfld unknown" id="dns_server4" size="20" value="<?=htmlspecialchars($pconfig['dns_server4']);?>"/>
</td>
</tr>
</table>
@@ -574,10 +574,10 @@ function login_banner_change() {
<tr>
<td>
<?php set_checked($pconfig['wins_server_enable'],$chk); ?>
- <input name="wins_server_enable" type="checkbox" id="wins_server_enable" value="yes" <?=$chk;?> onClick="wins_server_change()">
+ <input name="wins_server_enable" type="checkbox" id="wins_server_enable" value="yes" <?=$chk;?> onclick="wins_server_change()"/>
</td>
<td>
- <?=gettext("Provide a WINS server list to clients"); ?><br>
+ <?=gettext("Provide a WINS server list to clients"); ?><br />
</td>
</tr>
</table>
@@ -585,13 +585,13 @@ function login_banner_change() {
<tr>
<td>
<?=gettext("Server"); ?> #1:&nbsp;
- <input name="wins_server1" type="text" class="formfld unknown" id="wins_server1" size="20" value="<?=htmlspecialchars($pconfig['wins_server1']);?>">
+ <input name="wins_server1" type="text" class="formfld unknown" id="wins_server1" size="20" value="<?=htmlspecialchars($pconfig['wins_server1']);?>"/>
</td>
</tr>
<tr>
<td>
<?=gettext("Server"); ?> #2:&nbsp;
- <input name="wins_server2" type="text" class="formfld unknown" id="wins_server2" size="20" value="<?=htmlspecialchars($pconfig['wins_server2']);?>">
+ <input name="wins_server2" type="text" class="formfld unknown" id="wins_server2" size="20" value="<?=htmlspecialchars($pconfig['wins_server2']);?>"/>
</td>
</tr>
</table>
@@ -604,10 +604,10 @@ function login_banner_change() {
<tr>
<td>
<?php set_checked($pconfig['pfs_group_enable'],$chk); ?>
- <input name="pfs_group_enable" type="checkbox" id="pfs_group_enable" value="yes" <?=$chk;?> onClick="pfs_group_change()">
+ <input name="pfs_group_enable" type="checkbox" id="pfs_group_enable" value="yes" <?=$chk;?> onclick="pfs_group_change()"/>
</td>
<td>
- <?=gettext("Provide the Phase2 PFS group to clients ( overrides all mobile phase2 settings )"); ?><br>
+ <?=gettext("Provide the Phase2 PFS group to clients ( overrides all mobile phase2 settings )"); ?><br />
</td>
</tr>
</table>
@@ -617,7 +617,7 @@ function login_banner_change() {
<?=gettext("Group"); ?>:&nbsp;&nbsp;
<select name="pfs_group" class="formselect" id="pfs_group">
<?php foreach ($p2_pfskeygroups as $keygroup => $keygroupname): ?>
- <option value="<?=$keygroup;?>" <?php if ($pconfig['pfs_group'] == $keygroup) echo "selected"; ?>>
+ <option value="<?=$keygroup;?>" <?php if ($pconfig['pfs_group'] == $keygroup) echo "selected=\"selected\""; ?>>
<?=htmlspecialchars($keygroupname);?>
</option>
<?php endforeach; ?>
@@ -634,10 +634,10 @@ function login_banner_change() {
<tr>
<td>
<?php set_checked($pconfig['login_banner_enable'],$chk); ?>
- <input name="login_banner_enable" type="checkbox" id="login_banner_enable" value="yes" <?=$chk;?> onClick="login_banner_change()">
+ <input name="login_banner_enable" type="checkbox" id="login_banner_enable" value="yes" <?=$chk;?> onclick="login_banner_change()"/>
</td>
<td>
- <?=gettext("Provide a login banner to clients"); ?><br>
+ <?=gettext("Provide a login banner to clients"); ?><br />
</td>
</tr>
</table>
@@ -654,7 +654,7 @@ function login_banner_change() {
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
- <input name="submit" type="submit" class="formbtn" value="<?=gettext("Save"); ?>">
+ <input name="submit" type="submit" class="formbtn" value="<?=gettext("Save"); ?>"/>
</td>
</tr>
</table>
@@ -663,7 +663,7 @@ function login_banner_change() {
</tr>
</table>
</form>
-<script language="JavaScript">
+<script type="text/JavaScript">
pool_change();
dns_domain_change();
dns_split_change();
@@ -683,7 +683,7 @@ login_banner_change();
function set_checked($var,& $chk) {
if($var)
- $chk = 'checked';
+ $chk = 'checked="checked"';
else
$chk = '';
}
OpenPOWER on IntegriCloud