summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-09-01 20:47:31 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-09-01 20:47:31 +0000
commitb5c78501097b57d02fa20d85e03117160bb6900a (patch)
treeb50feb66872df62ae758786a7ab3c6769c7e22a4 /usr/local
parentbc40d758bea5ba6be700bd83fd9a7ae643378faa (diff)
downloadpfsense-b5c78501097b57d02fa20d85e03117160bb6900a.zip
pfsense-b5c78501097b57d02fa20d85e03117160bb6900a.tar.gz
Fixing css layout
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/diag_backup.php4
-rwxr-xr-xusr/local/www/diag_logs_settings.php4
-rw-r--r--usr/local/www/diag_packet_capture.php10
-rwxr-xr-xusr/local/www/edit.php2
-rwxr-xr-xusr/local/www/exec.php6
-rwxr-xr-xusr/local/www/firewall_aliases_edit.php8
-rwxr-xr-xusr/local/www/firewall_nat_1to1_edit.php11
-rwxr-xr-xusr/local/www/firewall_nat_edit.php14
-rwxr-xr-xusr/local/www/firewall_nat_out_edit.php24
-rwxr-xr-xusr/local/www/firewall_nat_server_edit.php4
-rwxr-xr-xusr/local/www/firewall_rules_edit.php28
-rw-r--r--usr/local/www/firewall_schedule_edit.php16
-rwxr-xr-xusr/local/www/firewall_shaper_edit.php30
-rwxr-xr-xusr/local/www/firewall_shaper_queues_edit.php4
-rwxr-xr-xusr/local/www/firewall_virtual_ip_edit.php15
-rwxr-xr-xusr/local/www/interfaces.php52
-rwxr-xr-xusr/local/www/interfaces_lan.php8
-rwxr-xr-xusr/local/www/interfaces_opt.php18
-rwxr-xr-xusr/local/www/interfaces_vlan_edit.php6
-rwxr-xr-xusr/local/www/interfaces_wan.php52
-rwxr-xr-xusr/local/www/services_captiveportal.php38
-rwxr-xr-xusr/local/www/services_captiveportal_filemanager.php2
-rwxr-xr-xusr/local/www/services_captiveportal_ip_edit.php6
-rwxr-xr-xusr/local/www/services_captiveportal_mac_edit.php4
-rwxr-xr-xusr/local/www/services_captiveportal_users_edit.php10
-rwxr-xr-xusr/local/www/services_dhcp.php42
-rwxr-xr-xusr/local/www/services_dhcp_edit.php8
-rwxr-xr-xusr/local/www/services_dhcp_relay.php2
-rwxr-xr-xusr/local/www/services_dnsmasq_domainoverride_edit.php6
-rwxr-xr-xusr/local/www/services_dyndns.php18
-rwxr-xr-xusr/local/www/services_proxyarp_edit.php14
-rwxr-xr-xusr/local/www/services_snmp.php16
-rwxr-xr-xusr/local/www/services_usermanager.php10
-rwxr-xr-xusr/local/www/services_wol.php4
-rwxr-xr-xusr/local/www/status_graph.php2
-rwxr-xr-xusr/local/www/system.php32
-rwxr-xr-xusr/local/www/system_advanced.php4
-rwxr-xr-xusr/local/www/system_firmware_settings.php4
-rwxr-xr-xusr/local/www/system_routes_edit.php10
-rwxr-xr-xusr/local/www/vpn_ipsec_ca_edit.php2
-rwxr-xr-xusr/local/www/vpn_ipsec_edit.php42
-rwxr-xr-xusr/local/www/vpn_ipsec_mobile.php22
-rwxr-xr-xusr/local/www/vpn_openvpn_create_certs.php14
-rwxr-xr-xusr/local/www/vpn_pppoe.php30
-rwxr-xr-xusr/local/www/vpn_pppoe_users_edit.php8
-rwxr-xr-xusr/local/www/vpn_pptp.php32
-rwxr-xr-xusr/local/www/vpn_pptp_users_edit.php8
47 files changed, 350 insertions, 356 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index c266b78..4545d32 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -271,7 +271,7 @@ include("head.inc");
<td width="22%" valign="baseline" class="vncell">&nbsp;</td>
<td width="78%" class="vtable">
Open a pfSense configuration XML file and click the button below to restore the configuration. <br /><br /> Restore area: <?php spit_out_select_items("restorearea"); ?>
- <p><input name="conffile" type="file" class="formfld" id="conffile" size="40"></p>
+ <p><input name="conffile" type="file" class="formfld unknown" id="conffile" size="40"></p>
<p><input name="Submit" type="submit" class="formbtn" id="restore" value="Restore configuration"></p>
<p><strong><span class="red">Note:</span></strong><br />The firewall will reboot after restoring the configuration.<br /></p>
</td>
@@ -314,4 +314,4 @@ if($reboot_needed == true) {
exit;
}
-?> \ No newline at end of file
+?>
diff --git a/usr/local/www/diag_logs_settings.php b/usr/local/www/diag_logs_settings.php
index 2f4cfc2..5878357 100755
--- a/usr/local/www/diag_logs_settings.php
+++ b/usr/local/www/diag_logs_settings.php
@@ -157,7 +157,7 @@ function enable_change(enable_over) {
<td width="22%" valign="top" class="vtable">&nbsp;</td>
<td width="78%" class="vtable">Number of log entries to
show:
- <input name="nentries" id="nentries" type="text" class="formfld" size="4" value="<?=htmlspecialchars($pconfig['nentries']);?>"></td>
+ <input name="nentries" id="nentries" type="text" class="formfld unknown" size="4" value="<?=htmlspecialchars($pconfig['nentries']);?>"></td>
</tr>
<tr>
<td valign="top" class="vtable">&nbsp;</td>
@@ -186,7 +186,7 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncell">Remote syslog
server</td>
- <td width="78%" class="vtable"> <input name="remoteserver" id="remoteserver" type="text" class="formfld" size="20" value="<?=htmlspecialchars($pconfig['remoteserver']);?>">
+ <td width="78%" class="vtable"> <input name="remoteserver" id="remoteserver" type="text" class="formfld host" size="20" value="<?=htmlspecialchars($pconfig['remoteserver']);?>">
<br>
IP address of remote syslog server<br> <br> <input name="system" id="system" type="checkbox" value="yes" onclick="enable_change(false)" <?php if ($pconfig['system']) echo "checked"; ?>>
system events <br> <input name="filter" id="filter" type="checkbox" value="yes" <?php if ($pconfig['filter']) echo "checked"; ?>>
diff --git a/usr/local/www/diag_packet_capture.php b/usr/local/www/diag_packet_capture.php
index 210b189..8f056d8 100644
--- a/usr/local/www/diag_packet_capture.php
+++ b/usr/local/www/diag_packet_capture.php
@@ -140,7 +140,7 @@ include("head.inc"); ?>
<tr>
<td width="17%" valign="top" class="vncellreq">Host Address</td>
<td width="83%" class="vtable">
- <input name="host" type="text" class="formfld" id="host" size="20" value="<?=htmlspecialchars($host);?>">
+ <input name="host" type="text" class="formfld host" id="host" size="20" value="<?=htmlspecialchars($host);?>">
<br/>This value is either the Source or Destination IP address. The packet capture will look for this address in either field.
<br/>This value can be a domain name or IP address.
<br/>If you leave this field blank all packets on the specified interface will be captured
@@ -149,7 +149,7 @@ include("head.inc"); ?>
<tr>
<td width="17%" valign="top" class="vncellreq">Port</td>
<td width="83%" class="vtable">
- <input name="port" type="text" class="formfld" id="port" size="5" value="<?=$port;?>">
+ <input name="port" type="text" class="formfld unknown" id="port" size="5" value="<?=$port;?>">
<br/>The port can be either the source or destination port. The packet capture will look for this port in either field.
<br/>Leave blank if you do not want to the capture to filter by port.
</td>
@@ -157,7 +157,7 @@ include("head.inc"); ?>
<tr>
<td width="17%" valign="top" class="vncellreq">Packet Length</td>
<td width="83%" class="vtable">
- <input name="snaplen" type="text" class="formfld" id="snaplen" size="5" value="<?=$snaplen;?>">
+ <input name="snaplen" type="text" class="formfld unknown" id="snaplen" size="5" value="<?=$snaplen;?>">
<br/>The Packet length is the number of bytes the packet will capture for each payload. Default value is 1500.
<br/>This value should be the same as the MTU of the Interface selected above.
</td>
@@ -165,13 +165,13 @@ include("head.inc"); ?>
<tr>
<td width="17%" valign="top" class="vncellreq">Count</td>
<td width="83%" class="vtable">
- <input name="count" type="text" class="formfld" id="count" size="5" value="<?=$count;?>">
+ <input name="count" type="text" class="formfld unknown" id="count" size="5" value="<?=$count;?>">
<br/>This is the number of packets the packet capture will grab. Default value is 100. <br/>Enter 0 (zero) for no count limit.
</tr>
<tr>
<td width="17%" valign="top" class="vncellreq">Level of Detail</td>
<td width="83%" class="vtable">
- <select name="detail" type="text" class="formfld" id="detail" size="1">
+ <select name="detail" type="text" class="formselect" id="detail" size="1">
<option value="-q" <?php if ($detail == "-q") echo "selected"; ?>>Normal</option>
<option value="-v" <?php if ($detail == "-v") echo "selected"; ?>>Medium</option>
<option value="-vv" <?php if ($detail == "-vv") echo "selected"; ?>>High</option>
diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php
index 073105c..f249890 100755
--- a/usr/local/www/edit.php
+++ b/usr/local/www/edit.php
@@ -152,7 +152,7 @@ function sf() { document.forms[0].savetopath.focus(); }
<tr>
<td>
<center>
- Save/Load from path: <input size="42" id="savetopath" name="savetopath" value="<?php echo $savetopath; ?>">
+ Save/Load from path: <input size="42" id="savetopath" class="formfld unknown" name="savetopath" value="<?php echo $savetopath; ?>">
<input name="submit" type="submit" class="button" id="Load" value="Load"> <input name="submit" type="submit" class="button" id="Save" value="Save">
<hr noshade>
<?php if($_POST['highlight'] == "no"): ?>
diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php
index a03caa4..d0f5275 100755
--- a/usr/local/www/exec.php
+++ b/usr/local/www/exec.php
@@ -218,7 +218,7 @@ if (!isBlank($_POST['txtPHPCommand'])) {
</tr>
<tr>
<td class="label" align="right">Command:</td>
- <td class="type"><input id="txtCommand" name="txtCommand" type="text" size="80" value="<?=htmlspecialchars($_POST['txtCommand']);?>"></td>
+ <td class="type"><input id="txtCommand" name="txtCommand" type="text" class="formfld unknown" size="80" value="<?=htmlspecialchars($_POST['txtCommand']);?>"></td>
</tr>
<tr>
<td valign="top">&nbsp;&nbsp;&nbsp;</td>
@@ -239,7 +239,7 @@ if (!isBlank($_POST['txtPHPCommand'])) {
<tr>
<td align="right">File to download:</td>
<td>
- <input name="dlPath" type="text" id="dlPath" size="50">
+ <input name="dlPath" type="text" class="formfld file" id="dlPath" size="50">
</td></tr>
<tr>
<td valign="top">&nbsp;&nbsp;&nbsp;</td>
@@ -256,7 +256,7 @@ if (!isBlank($_POST['txtPHPCommand'])) {
<tr>
<td align="right">File to upload:</td>
<td valign="top" class="label">
- <input name="ulfile" type="file" class="button" id="ulfile">
+ <input name="ulfile" type="file" class="formfld file" id="ulfile">
</td></tr>
<tr>
<td valign="top">&nbsp;&nbsp;&nbsp;</td>
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php
index 90143c1..d153637 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -451,7 +451,7 @@ EOD;
<tr>
<td valign="top" class="vncellreq">Name</td>
<td class="vtable">
- <input name="name" type="text" id="name" size="40" value="<?=htmlspecialchars($pconfig['name']);?>" />
+ <input name="name" type="text" id="name" class="formfld unknown" size="40" value="<?=htmlspecialchars($pconfig['name']);?>" />
<br />
<span class="vexpl">
The name of the alias may only consist of the characters a-z, A-Z and 0-9.
@@ -462,7 +462,7 @@ EOD;
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" id="descr" size="40" value="<?=$pconfig['descr'];?>" />
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=$pconfig['descr'];?>" />
<br />
<span class="vexpl">
You may enter a description here for your reference (not parsed).
@@ -515,7 +515,7 @@ EOD;
?>
<tr>
<td>
- <input name="address<?php echo $tracker; ?>" type="text" id="address<?php echo $tracker; ?>" size="30" value="<?=htmlspecialchars($address);?>" />
+ <input name="address<?php echo $tracker; ?>" type="text" class="formfld unknown" id="address<?php echo $tracker; ?>" size="30" value="<?=htmlspecialchars($address);?>" />
</td>
<td>
<select name="address_subnet<?php echo $tracker; ?>" class="formselect" id="address_subnet<?php echo $tracker; ?>">
@@ -526,7 +526,7 @@ EOD;
</select>
</td>
<td>
- <input name="detail<?php echo $tracker; ?>" type="text" id="detail<?php echo $tracker; ?>" size="50" value="<?=$item4;?>" />
+ <input name="detail<?php echo $tracker; ?>" type="text" class="formfld unknown" id="detail<?php echo $tracker; ?>" size="50" value="<?=$item4;?>" />
</td>
<td>
<?php
diff --git a/usr/local/www/firewall_nat_1to1_edit.php b/usr/local/www/firewall_nat_1to1_edit.php
index 84a95bd..fe80ac6 100755
--- a/usr/local/www/firewall_nat_1to1_edit.php
+++ b/usr/local/www/firewall_nat_1to1_edit.php
@@ -143,7 +143,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Interface</td>
<td width="78%" class="vtable">
- <select name="interface" class="formfld">
+ <select name="interface" class="formselect">
<?php
$interfaces = array('wan' => 'WAN');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
@@ -161,9 +161,8 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">External subnet</td>
<td width="78%" class="vtable">
- <input name="external" type="text" class="formfld" id="external" size="20" value="<?=htmlspecialchars($pconfig['external']);?>">
- /
- <select name="subnet" class="formfld" id="subnet">
+ <input name="external" type="text" class="formfld unknown" id="external" size="20" value="<?=htmlspecialchars($pconfig['external']);?>">
+ <select name="subnet" class="formselect" id="subnet">
<?php for ($i = 32; $i >= 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['subnet']) echo "selected"; ?>>
<?=$i;?>
@@ -176,14 +175,14 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Internal subnet</td>
<td width="78%" class="vtable">
- <input name="internal" type="text" class="formfld" id="internal" size="20" value="<?=htmlspecialchars($pconfig['internal']);?>">
+ <input name="internal" type="text" class="formfld unknown" id="internal" size="20" value="<?=htmlspecialchars($pconfig['internal']);?>">
<br>
<span class="vexpl">Enter the internal (LAN) subnet for the 1:1 mapping. The subnet size specified for the external subnet also applies to the internal subnet (they have to be the same).</span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here
for your reference (not parsed).</span></td>
</tr>
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php
index 7508768..a10a765 100755
--- a/usr/local/www/firewall_nat_edit.php
+++ b/usr/local/www/firewall_nat_edit.php
@@ -270,7 +270,7 @@ include("fbegin.inc"); ?>
<tr>
<td width="22%" valign="top" class="vncellreq">Interface</td>
<td width="78%" class="vtable">
- <select name="interface" class="formfld">
+ <select name="interface" class="formselect">
<?php
$interfaces = array('wan' => 'WAN', 'lan' => 'LAN', 'pptp' => 'PPTP', 'pppoe' => 'PPPOE');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
@@ -288,7 +288,7 @@ include("fbegin.inc"); ?>
<tr>
<td width="22%" valign="top" class="vncellreq">External address</td>
<td width="78%" class="vtable">
- <select name="extaddr" class="formfld">
+ <select name="extaddr" class="formselect">
<option value="" <?php if (!$pconfig['extaddr']) echo "selected"; ?>>Interface address</option>
<?php if (is_array($config['virtualip']['vip'])):
foreach ($config['virtualip']['vip'] as $sn): ?>
@@ -305,7 +305,7 @@ include("fbegin.inc"); ?>
<tr>
<td width="22%" valign="top" class="vncellreq">Protocol</td>
<td width="78%" class="vtable">
- <select name="proto" class="formfld" onChange="proto_change(); check_for_aliases();">
+ <select name="proto" class="formselect" onChange="proto_change(); check_for_aliases();">
<?php $protocols = explode(" ", "TCP UDP TCP/UDP GRE ESP"); foreach ($protocols as $proto): ?>
<option value="<?=strtolower($proto);?>" <?php if (strtolower($proto) == $pconfig['proto']) echo "selected"; ?>><?=htmlspecialchars($proto);?></option>
<?php endforeach; ?>
@@ -320,7 +320,7 @@ include("fbegin.inc"); ?>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>from:&nbsp;&nbsp;</td>
- <td><select name="beginport" class="formfld" onChange="ext_rep_change(); ext_change(); check_for_aliases();">
+ <td><select name="beginport" class="formselect" onChange="ext_rep_change(); ext_change(); check_for_aliases();">
<option value="">(other)</option>
<?php $bfound = 0; foreach ($wkports as $wkport => $wkportdesc): ?>
<option value="<?=$wkport;?>" <?php if ($wkport == $pconfig['beginport']) {
@@ -334,7 +334,7 @@ include("fbegin.inc"); ?>
</tr>
<tr>
<td>to:</td>
- <td><select name="endport" class="formfld" onChange="ext_change(); check_for_aliases();">
+ <td><select name="endport" class="formselect" onChange="ext_change(); check_for_aliases();">
<option value="">(other)</option>
<?php $bfound = 0; foreach ($wkports as $wkport => $wkportdesc): ?>
<option value="<?=$wkport;?>" <?php if ($wkport == $pconfig['endport']) {
@@ -363,7 +363,7 @@ include("fbegin.inc"); ?>
<tr>
<td width="22%" valign="top" class="vncellreq">Local port</td>
<td width="78%" class="vtable">
- <select name="localbeginport" class="formfld" onChange="ext_change();check_for_aliases();">
+ <select name="localbeginport" class="formselect" onChange="ext_change();check_for_aliases();">
<option value="">(other)</option>
<?php $bfound = 0; foreach ($wkports as $wkport => $wkportdesc): ?>
<option value="<?=$wkport;?>" <?php if ($wkport == $pconfig['localbeginport']) {
@@ -384,7 +384,7 @@ include("fbegin.inc"); ?>
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here
for your reference (not parsed).</span></td>
</tr>
diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php
index ff3ddeb..5c5863d 100755
--- a/usr/local/www/firewall_nat_out_edit.php
+++ b/usr/local/www/firewall_nat_out_edit.php
@@ -300,7 +300,7 @@ function sourcesel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">Interface</td>
<td width="78%" class="vtable">
- <select name="interface" class="formfld">
+ <select name="interface" class="formselect">
<?php
$interfaces = array('wan' => 'WAN', 'lan' => 'LAN');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
@@ -322,13 +322,13 @@ function sourcesel_change() {
<tr>
<td>Type:&nbsp;&nbsp;</td>
<td>
- <select name="source_type" class="formfld" onChange="sourcesel_change()">
+ <select name="source_type" class="formselect" onChange="sourcesel_change()">
<option value="any" <?php if ($pconfig['source'] == "any") echo "selected"; ?>>any</option>
<option value="network" <?php if ($pconfig['source'] != "any") echo "selected"; ?>>Network</option>
</select>
</td></tr>
<td>Address:&nbsp;&nbsp;</td>
- <td><input name="source" type="text" class="formfld" id="source" size="20" value="<?=htmlspecialchars($pconfig['source']);?>">/<select name="source_subnet" class="formfld" id="source_subnet">
+ <td><input name="source" type="text" class="formfld unknown" id="source" size="20" value="<?=htmlspecialchars($pconfig['source']);?>">/<select name="source_subnet" class="formfld" id="source_subnet">
<?php for ($i = 32; $i >= 0; $i--): ?>
<option value="<?=$i;?>"<?php if ($i == $pconfig['source_subnet']) echo " selected"; ?>><?=$i;?></option>
<?php endfor; ?>
@@ -340,7 +340,8 @@ function sourcesel_change() {
</tr>
<tr>
<td>Source port:&nbsp;&nbsp;</td>
- <td><input name="sourceport" type="text" class="formfld" id="sourceport" size="5" value="<?=htmlspecialchars($pconfig['sourceport']);?>"> (leave blank for any)</td>
+ <td><input name="sourceport" type="text" class="formfld unknown" id="sourceport" size="5" value="<?=htmlspecialchars($pconfig['sourceport']);?>"> (leave
+blank for any)</td>
</tr>
</table></td>
</tr>
@@ -354,7 +355,7 @@ function sourcesel_change() {
<table border="0" cellspacing="1" cellpadding="1">
<tr>
<td>Type:&nbsp;&nbsp;</td>
- <td><select name="destination_type" class="formfld" onChange="typesel_change()">
+ <td><select name="destination_type" class="formselect" onChange="typesel_change()">
<option value="any"<?php if ($pconfig['destination'] == "any") echo " selected"; ?>>
any</option>
<option value="network"<?php if ($pconfig['destination'] != "any") echo " selected"; ?>>
@@ -363,9 +364,9 @@ function sourcesel_change() {
</tr>
<tr>
<td>Address:&nbsp;&nbsp;</td>
- <td><input name="destination" type="text" class="formfld" id="destination" size="20" value="<?=htmlspecialchars($pconfig['destination']);?>">
+ <td><input name="destination" type="text" class="formfld unknown" id="destination" size="20" value="<?=htmlspecialchars($pconfig['destination']);?>">
/
- <select name="destination_subnet" class="formfld" id="destination_subnet">
+ <select name="destination_subnet" class="formselect" id="destination_subnet">
<?php for ($i = 32; $i >= 0; $i--): ?>
<option value="<?=$i;?>"<?php if ($i == $pconfig['destination_subnet']) echo " selected"; ?>><?=$i;?></option>
<?php endfor; ?>
@@ -378,7 +379,8 @@ function sourcesel_change() {
</tr>
<tr>
<td>Destination port:&nbsp;&nbsp;</td>
- <td><input name="dstport" type="text" class="formfld" id="dstport" size="5" value="<?=htmlspecialchars($pconfig['dstport']);?>"> (leave blank for any)</td>
+ <td><input name="dstport" type="text" class="formfld unknown" id="dstport" size="5" value="<?=htmlspecialchars($pconfig['dstport']);?>"> (leave blank for
+any)</td>
</tr>
</table>
</td>
@@ -389,7 +391,7 @@ function sourcesel_change() {
<table border="0" cellspacing="1" cellpadding="1">
<tr>
<td>Address:&nbsp;&nbsp;</td>
- <td><select name="target" class="formfld">
+ <td><select name="target" class="formselect">
<option value=""<?php if (!$pconfig['target']) echo " selected"; ?>>Interface address</option>
<?php if (is_array($config['virtualip']['vip'])):
foreach ($config['virtualip']['vip'] as $sn): ?>
@@ -410,7 +412,7 @@ function sourcesel_change() {
</td></tr>
<tr>
<td>Port:&nbsp;&nbsp;</td>
- <td><input name="natport" type="text" class="formfld" id="natport" size="5" value="<?=htmlspecialchars($pconfig['natport']);?>"></td>
+ <td><input name="natport" type="text" class="formfld unknown" id="natport" size="5" value="<?=htmlspecialchars($pconfig['natport']);?>"></td>
</tr>
<tr>
<td>Static-port:&nbsp;&nbsp;</td>
@@ -432,7 +434,7 @@ function sourcesel_change() {
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here
for your reference (not parsed).</span></td>
</tr>
diff --git a/usr/local/www/firewall_nat_server_edit.php b/usr/local/www/firewall_nat_server_edit.php
index 89cdfb4..b2be22f 100755
--- a/usr/local/www/firewall_nat_server_edit.php
+++ b/usr/local/www/firewall_nat_server_edit.php
@@ -125,14 +125,14 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">External IP address</td>
<td width="78%" class="vtable">
- <input name="ipaddr" type="text" class="formfld" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
+ <input name="ipaddr" type="text" class="formfld unknown" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here
for your reference (not parsed).</span></td>
</tr>
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index c188a84..69e1ae4 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -364,7 +364,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Action</td>
<td width="78%" class="vtable">
- <select name="type" class="formfld">
+ <select name="type" class="formselect">
<?php $types = explode(" ", "Pass Block Reject"); foreach ($types as $type): ?>
<option value="<?=strtolower($type);?>" <?php if (strtolower($type) == strtolower($pconfig['type'])) echo "selected"; ?>>
<?=htmlspecialchars($type);?>
@@ -389,7 +389,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Interface</td>
<td width="78%" class="vtable">
- <select name="interface" class="formfld">
+ <select name="interface" class="formselect">
<?php
$interfaces = array('wan' => 'WAN', 'lan' => 'LAN', 'pptp' => 'PPTP', 'pppoe' => 'PPPOE', 'enc0' => 'IPSEC');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
@@ -406,7 +406,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Protocol</td>
<td width="78%" class="vtable">
- <select name="proto" class="formfld" onchange="proto_change()">
+ <select name="proto" class="formselect" onchange="proto_change()">
<?php
$protocols = explode(" ", "TCP UDP TCP/UDP ICMP ESP AH GRE IGMP any carp pfsync");
foreach ($protocols as $proto): ?>
@@ -420,7 +420,7 @@ include("head.inc");
<tr id="icmpbox" name="icmpbox">
<td valign="top" class="vncell">ICMP type</td>
<td class="vtable">
- <select name="icmptype" class="formfld">
+ <select name="icmptype" class="formselect">
<?php
$icmptypes = array(
"" => "any",
@@ -463,7 +463,7 @@ include("head.inc");
<tr>
<td>Type:&nbsp;&nbsp;</td>
<td>
- <select name="srctype" class="formfld" onChange="typesel_change()">
+ <select name="srctype" class="formselect" onChange="typesel_change()">
<?php
$sel = is_specialnet($pconfig['src']); ?>
<option value="any" <?php if ($pconfig['src'] == "any") { echo "selected"; } ?>>any</option>
@@ -488,7 +488,7 @@ include("head.inc");
<td>Address:&nbsp;&nbsp;</td>
<td>
<input autocomplete='off' name="src" type="text" class="formfldalias" id="src" size="20" value="<?php if (!is_specialnet($pconfig['src'])) echo htmlspecialchars($pconfig['src']);?>"> /
- <select name="srcmask" class="formfld" id="srcmask">
+ <select name="srcmask" class="formselect" id="srcmask">
<?php for ($i = 31; $i > 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['srcmask']) echo "selected"; ?>><?=$i;?></option>
<?php endfor; ?>
@@ -509,7 +509,7 @@ include("head.inc");
<tr>
<td>from:&nbsp;&nbsp;</td>
<td>
- <select name="srcbeginport" class="formfld" onchange="src_rep_change();ext_change()">
+ <select name="srcbeginport" class="formselect" onchange="src_rep_change();ext_change()">
<option value="">(other)</option>
<option value="any" <?php $bfound = 0; if ($pconfig['srcbeginport'] == "any") { echo "selected"; $bfound = 1; } ?>>any</option>
<?php foreach ($wkports as $wkport => $wkportdesc): ?>
@@ -522,7 +522,7 @@ include("head.inc");
<tr>
<td>to:</td>
<td>
- <select name="srcendport" class="formfld" onchange="ext_change()">
+ <select name="srcendport" class="formselect" onchange="ext_change()">
<option value="">(other)</option>
<option value="any" <?php $bfound = 0; if ($pconfig['srcendport'] == "any") { echo "selected"; $bfound = 1; } ?>>any</option>
<?php foreach ($wkports as $wkport => $wkportdesc): ?>
@@ -541,7 +541,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Source OS</td>
<td width="78%" class="vtable">OS Type:&nbsp;
- <select name="os" id="os" class="formfld">
+ <select name="os" id="os" class="formselect">
<?php
$ostypes = array(
"" => "any",
@@ -578,7 +578,7 @@ include("head.inc");
<tr>
<td>Type:&nbsp;&nbsp;</td>
<td>
- <select name="dsttype" class="formfld" onChange="typesel_change()">
+ <select name="dsttype" class="formselect" onChange="typesel_change()">
<?php
$sel = is_specialnet($pconfig['dst']); ?>
<option value="any" <?php if ($pconfig['dst'] == "any") { echo "selected"; } ?>>any</option>
@@ -603,7 +603,7 @@ include("head.inc");
<td>
<input name="dst" type="text" class="formfldalias" id="dst" size="20" value="<?php if (!is_specialnet($pconfig['dst'])) echo htmlspecialchars($pconfig['dst']);?>">
/
- <select name="dstmask" class="formfld" id="dstmask">
+ <select name="dstmask" class="formselect" id="dstmask">
<?php
for ($i = 31; $i > 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['dstmask']) echo "selected"; ?>><?=$i;?></option>
@@ -622,7 +622,7 @@ include("head.inc");
<tr>
<td>from:&nbsp;&nbsp;</td>
<td>
- <select name="dstbeginport" class="formfld" onchange="dst_rep_change();ext_change()">
+ <select name="dstbeginport" class="formselect" onchange="dst_rep_change();ext_change()">
<option value="">(other)</option>
<option value="any" <?php $bfound = 0; if ($pconfig['dstbeginport'] == "any") { echo "selected"; $bfound = 1; } ?>>any</option>
<?php foreach ($wkports as $wkport => $wkportdesc): ?>
@@ -635,7 +635,7 @@ include("head.inc");
<tr>
<td>to:</td>
<td>
- <select name="dstendport" class="formfld" onchange="ext_change()">
+ <select name="dstendport" class="formselect" onchange="ext_change()">
<option value="">(other)</option>
<option value="any" <?php $bfound = 0; if ($pconfig['dstendport'] == "any") { echo "selected"; $bfound = 1; } ?>>any</option>
<?php foreach ($wkports as $wkport => $wkportdesc): ?>
@@ -815,7 +815,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="52" maxlength="52" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="52" maxlength="52" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br />
<span class="vexpl">You may enter a description here for your reference (not parsed).</span>
</td>
diff --git a/usr/local/www/firewall_schedule_edit.php b/usr/local/www/firewall_schedule_edit.php
index df0fff2..4120e0a 100644
--- a/usr/local/www/firewall_schedule_edit.php
+++ b/usr/local/www/firewall_schedule_edit.php
@@ -749,7 +749,7 @@ EOD;
<span class="vexpl">NOTE: This schedule is in use so the name may not be modified!</span>
</p>
<?php else: ?>
- <input name="name" type="text" id="name" size="40" maxlength="40" class="formfld" value="<?=htmlspecialchars($pconfig['name']);?>"><br>
+ <input name="name" type="text" id="name" size="40" maxlength="40" class="formfld unknown" value="<?=htmlspecialchars($pconfig['name']);?>"><br>
<span class="vexpl">
The name of the alias may only consist of the characters a-z, A-Z and 0-9
</span>
@@ -758,7 +758,7 @@ EOD;
</tr>
<tr>
<td width="15%" valign="top" class="vncell">Description</td>
- <td width="85%" class="vtable"><input name="descr" type="text" id="descr" size="40" maxlength="40" class="formfld" value="<?=htmlspecialchars($pconfig['descr']);?>"><br>
+ <td width="85%" class="vtable"><input name="descr" type="text" id="descr" size="40" maxlength="40" class="formfld unknown" value="<?=htmlspecialchars($pconfig['descr']);?>"><br>
<span class="vexpl">
You may enter a description here for your reference (not parsed).
</span>
@@ -882,7 +882,7 @@ EOD;
</tr>
<tr>
<td>
- <select name="starttimehour" class="formfld" id="starttimehour">
+ <select name="starttimehour" class="formselect" id="starttimehour">
<?php
for ($i=0; $i<24; $i++)
{
@@ -892,7 +892,7 @@ EOD;
}
?>
</select>&nbsp;Hr&nbsp;&nbsp;
- <select name="starttimemin" class="formfld" id="starttimemin">
+ <select name="starttimemin" class="formselect" id="starttimemin">
<option value="00">00</option>
<option value="15">15</option>
<option value="30">30</option>
@@ -902,7 +902,7 @@ EOD;
</td>
<td></td>
<td>
- <select name="stoptimehour" class="formfld" id="stoptimehour">
+ <select name="stoptimehour" class="formselect" id="stoptimehour">
<?php
for ($i=0; $i<24; $i++)
{
@@ -917,7 +917,7 @@ EOD;
}
?>
</select>&nbsp;Hr&nbsp;&nbsp;
- <select name="stoptimemin" class="formfld" id="stoptimemin">
+ <select name="stoptimemin" class="formselect" id="stoptimemin">
<option value="00">00</option>
<option value="15">15</option>
<option value="30">30</option>
@@ -932,7 +932,7 @@ EOD;
</tr>
<tr>
<td width="15%" valign="top" class="vncell">Time Range Description</td>
- <td width="85%" class="vtable"><input name="timerangedescr" type="text" class="formfld" id="timerangedescr" size="40" maxlength="40"><br>
+ <td width="85%" class="vtable"><input name="timerangedescr" type="text" class="formfld unknown" id="timerangedescr" size="40" maxlength="40"><br>
<span class="vexpl">
You may enter a description here for your reference (not parsed).
</span>
@@ -1130,4 +1130,4 @@ EOD;
</td></tr></table></form>
<?php include("fend.inc"); ?>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/usr/local/www/firewall_shaper_edit.php b/usr/local/www/firewall_shaper_edit.php
index 0083f13..b043db4 100755
--- a/usr/local/www/firewall_shaper_edit.php
+++ b/usr/local/www/firewall_shaper_edit.php
@@ -402,7 +402,7 @@ function dst_rep_change() {
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td valign="top" class="vncellreq">Target</td>
- <td class="vtable"> <select name="outqueue" class="formfld">
+ <td class="vtable"> <select name="outqueue" class="formselect">
<?php
foreach ($config['shaper']['queue'] as $queuei => $queue): ?>
<option value="<?=$queue['name'];?>" <?php if ($queue['name'] == $pconfig['outqueue']) echo "selected"; ?>>
@@ -413,7 +413,7 @@ function dst_rep_change() {
?>
</option>
<?php endforeach; ?>
- </select>/<select name="inqueue" class="formfld">
+ </select>/<select name="inqueue" class="formselect">
<?php
foreach ($config['shaper']['queue'] as $queuei => $queue): ?>
<option value="<?=$queue['name'];?>" <?php if ($queue['name'] == $pconfig['inqueue']) echo "selected"; ?>>
@@ -436,7 +436,7 @@ function dst_rep_change() {
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">In Interface</td>
- <td width="78%" class="vtable"> <select name="in-interface" class="formfld">
+ <td width="78%" class="vtable"> <select name="in-interface" class="formselect">
<?php $interfaces = array('lan' => 'LAN', 'wan' => 'WAN', 'pptp' => 'PPTP');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
$interfaces['opt' . $i] = $config['interfaces']['opt' . $i]['descr'];
@@ -451,7 +451,7 @@ function dst_rep_change() {
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Out Interface</td>
- <td width="78%" class="vtable"> <select name="out-interface" class="formfld">
+ <td width="78%" class="vtable"> <select name="out-interface" class="formselect">
<?php $interfaces = array('lan' => 'LAN', 'wan' => 'WAN', 'pptp' => 'PPTP');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
$interfaces['opt' . $i] = $config['interfaces']['opt' . $i]['descr'];
@@ -466,7 +466,7 @@ function dst_rep_change() {
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Protocol</td>
- <td width="78%" class="vtable"> <select name="proto" class="formfld" onchange="proto_change()">
+ <td width="78%" class="vtable"> <select name="proto" class="formselect" onchange="proto_change()">
<?php $protocols = explode(" ", "TCP UDP ICMP ESP AH GRE IPv6 IGMP any"); foreach ($protocols as $proto): ?>
<option value="<?=strtolower($proto);?>" <?php if (strtolower($proto) == $pconfig['proto']) echo "selected"; ?>>
<?=htmlspecialchars($proto);?>
@@ -484,7 +484,7 @@ function dst_rep_change() {
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Type:&nbsp;&nbsp;</td>
- <td><select name="srctype" class="formfld" onChange="typesel_change()">
+ <td><select name="srctype" class="formselect" onChange="typesel_change()">
<?php $sel = is_specialnet($pconfig['src']); ?>
<option value="any" <?php if ($pconfig['src'] == "any") { echo "selected"; } ?>>
any</option>
@@ -511,7 +511,7 @@ function dst_rep_change() {
<td>Address:&nbsp;&nbsp;</td>
<td><input autocomplete='off' name="src" type="text" class="formfldalias" id="src" size="20" value="<?php if (!is_specialnet($pconfig['src'])) echo htmlspecialchars($pconfig['src']);?>">
/
- <select name="srcmask" class="formfld" id="srcmask">
+ <select name="srcmask" class="formselect" id="srcmask">
<?php for ($i = 31; $i > 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['srcmask']) echo "selected"; ?>>
<?=$i;?>
@@ -527,7 +527,7 @@ function dst_rep_change() {
<td width="78%" class="vtable"> <table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>from:&nbsp;&nbsp;</td>
- <td><select name="srcbeginport" class="formfld" onchange="src_rep_change();ext_change()">
+ <td><select name="srcbeginport" class="formselect" onchange="src_rep_change();ext_change()">
<option value="">(other)</option>
<option value="any" <?php $bfound = 0; if ($pconfig['srcbeginport'] == "any") { echo "selected"; $bfound = 1; } ?>>any</option>
<?php foreach ($wkports as $wkport => $wkportdesc): ?>
@@ -542,7 +542,7 @@ function dst_rep_change() {
</tr>
<tr>
<td>to:</td>
- <td><select name="srcendport" class="formfld" onchange="ext_change()">
+ <td><select name="srcendport" class="formselect" onchange="ext_change()">
<option value="">(other)</option>
<option value="any" <?php $bfound = 0; if ($pconfig['srcendport'] == "any") { echo "selected"; $bfound = 1; } ?>>any</option>
<?php foreach ($wkports as $wkport => $wkportdesc): ?>
@@ -568,7 +568,7 @@ function dst_rep_change() {
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Type:&nbsp;&nbsp;</td>
- <td><select name="dsttype" class="formfld" onChange="typesel_change()">
+ <td><select name="dsttype" class="formselect" onChange="typesel_change()">
<?php $sel = is_specialnet($pconfig['dst']); ?>
<option value="any" <?php if ($pconfig['dst'] == "any") { echo "selected"; } ?>>
any</option>
@@ -595,7 +595,7 @@ function dst_rep_change() {
<td>Address:&nbsp;&nbsp;</td>
<td><input name="dst" autocomplete='off' type="text" class="formfldalias" id="dst" size="20" value="<?php if (!is_specialnet($pconfig['dst'])) echo htmlspecialchars($pconfig['dst']);?>">
/
- <select name="dstmask" class="formfld" id="dstmask">
+ <select name="dstmask" class="formselect" id="dstmask">
<?php for ($i = 31; $i > 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['dstmask']) echo "selected"; ?>>
<?=$i;?>
@@ -611,7 +611,7 @@ function dst_rep_change() {
<td width="78%" class="vtable"> <table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>from:&nbsp;&nbsp;</td>
- <td><select name="dstbeginport" class="formfld" onchange="dst_rep_change();ext_change()">
+ <td><select name="dstbeginport" class="formselect" onchange="dst_rep_change();ext_change()">
<option value="">(other)</option>
<option value="any" <?php $bfound = 0; if ($pconfig['dstbeginport'] == "any") { echo "selected"; $bfound = 1; } ?>>any</option>
<?php foreach ($wkports as $wkport => $wkportdesc): ?>
@@ -626,7 +626,7 @@ function dst_rep_change() {
</tr>
<tr>
<td>to:</td>
- <td><select name="dstendport" class="formfld" onchange="ext_change()">
+ <td><select name="dstendport" class="formselect" onchange="ext_change()">
<option value="">(other)</option>
<option value="any" <?php $bfound = 0; if ($pconfig['dstendport'] == "any") { echo "selected"; $bfound = 1; } ?>>any</option>
<?php foreach ($wkports as $wkport => $wkportdesc): ?>
@@ -646,7 +646,7 @@ function dst_rep_change() {
want to filter a single port</span></td>
<tr>
<td valign="top" class="vncell">Direction</td>
- <td class="vtable"> <select name="direction" class="formfld">
+ <td class="vtable"> <select name="direction" class="formselect">
<option value="" <?php if (!$pconfig['direction']) echo "selected"; ?>>any</option>
<option value="in" <?php if ($pconfig['direction'] == "in") echo "selected"; ?>>in</option>
<option value="out" <?php if ($pconfig['direction'] == "out") echo "selected"; ?>>out</option>
@@ -701,7 +701,7 @@ function dst_rep_change() {
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
- <td width="78%" class="vtable"> <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <td width="78%" class="vtable"> <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here
for your reference (not parsed).</span></td>
</tr>
diff --git a/usr/local/www/firewall_shaper_queues_edit.php b/usr/local/www/firewall_shaper_queues_edit.php
index c47eef4..d330023 100755
--- a/usr/local/www/firewall_shaper_queues_edit.php
+++ b/usr/local/www/firewall_shaper_queues_edit.php
@@ -308,7 +308,7 @@ function enable_attachtoqueue(enable_over) {
<?php if ($schedulertype == "cbq" or $schedulertype == "hfsc"): ?>
<tr>
<td valign="top" class="vncellreq">Bandwidth</td>
- <td class="vtable"> <input name="bandwidth" class="formfld" value="<?=htmlspecialchars($pconfig['bandwidth']);?>">
+ <td class="vtable"> <input name="bandwidth" class="formfld unknown" value="<?=htmlspecialchars($pconfig['bandwidth']);?>">
<select name="bandwidthtype">
<option value="<?=htmlspecialchars($pconfig['bandwidthtype']);?>"><?=htmlspecialchars($pconfig['bandwidthtype']);?></option>
<option value="b">bit/s</option>
@@ -329,7 +329,7 @@ function enable_attachtoqueue(enable_over) {
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Name</td>
- <td width="78%" class="vtable"> <input name="name" type="text" class="formfld" id="name" size="15" value="<?=htmlspecialchars($pconfig['name']);?>">
+ <td width="78%" class="vtable"> <input name="name" type="text" class="formfld unknown" id="name" size="15" value="<?=htmlspecialchars($pconfig['name']);?>">
<br> <span class="vexpl">Enter the name of the queue here. Do not use spaces and limit the size to 15 characters.
</span></td>
</tr>
diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php
index 86025bc..d693800 100755
--- a/usr/local/www/firewall_virtual_ip_edit.php
+++ b/usr/local/www/firewall_virtual_ip_edit.php
@@ -300,7 +300,7 @@ function typesel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">Interface</td>
<td width="78%" class="vtable">
- <select name="interface" class="formfld">
+ <select name="interface" class="formselect">
<?php $interfaces = array('wan' => 'WAN', 'lan' => 'LAN');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
$interfaces['opt' . $i] = $config['interfaces']['opt' . $i]['descr'];
@@ -319,7 +319,7 @@ function typesel_change() {
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Type:&nbsp;&nbsp;</td>
- <td><select name="type" class="formfld" onChange="typesel_change()">
+ <td><select name="type" class="formselect" onChange="typesel_change()">
<option value="single" <?php if ((!$pconfig['range'] && $pconfig['subnet_bits'] == 32) || (!isset($pconfig['ipaddr']))) echo "selected"; ?>>
Single address</option>
<option value="network" <?php if (!$pconfig['range'] && $pconfig['subnet_bits'] != 32 && isset($pconfig['ipaddr'])) echo "selected"; ?>>
@@ -330,9 +330,8 @@ function typesel_change() {
</tr>
<tr>
<td>Address:&nbsp;&nbsp;</td>
- <td><input name="subnet" type="text" class="formfld" id="subnet" size="20" value="<?=htmlspecialchars($pconfig['subnet']);?>">
-/
- <select name="subnet_bits" class="formfld" id="select">
+ <td><input name="subnet" type="text" class="formfld unknown" id="subnet" size="20" value="<?=htmlspecialchars($pconfig['subnet']);?>">
+ /<select name="subnet_bits" class="formselect" id="select">
<?php for ($i = 32; $i >= 1; $i--): ?>
<option value="<?=$i;?>" <?php if (($i == $pconfig['subnet_bits']) || (!isset($pconfig['ipaddr']) && $i == 32)) echo "selected"; ?>>
<?=$i;?>
@@ -345,9 +344,9 @@ function typesel_change() {
/*
<tr>
<td>Range:&nbsp;&nbsp;</td>
- <td><input name="range_from" type="text" class="formfld" id="range_from" size="20" value="<?=htmlspecialchars($pconfig['range']['from']);?>">
+ <td><input name="range_from" type="text" class="formfld unknown" id="range_from" size="20" value="<?=htmlspecialchars($pconfig['range']['from']);?>">
-
- <input name="range_to" type="text" class="formfld" id="range_to" size="20" value="<?=htmlspecialchars($pconfig['range']['to']);?>">
+ <input name="range_to" type="text" class="formfld unknown" id="range_to" size="20" value="<?=htmlspecialchars($pconfig['range']['to']);?>">
</td>
</tr>
*/
@@ -388,7 +387,7 @@ function typesel_change() {
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here for your reference (not parsed).</span></td>
</tr>
<tr>
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 15cda1a..d4dc2d1 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -723,7 +723,7 @@ function show_mon_config() {
</tr>
<tr>
<td valign="middle" class="vncell"><strong>Type</strong></td>
- <td class="vtable"> <select name="type" class="formfld" id="type" onchange="type_change()">
+ <td class="vtable"> <select name="type" class="formselect" id="type" onchange="type_change()">
<?php $opts = split(" ", "Static DHCP PPPoE PPTP BigPond");
foreach ($opts as $opt): ?>
<option <?php if ($opt == $pconfig['type']) echo "selected";?>>
@@ -734,7 +734,7 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncell">MAC address</td>
- <td class="vtable"> <input name="spoofmac" type="text" class="formfld" id="spoofmac" size="30" value="<?=htmlspecialchars($pconfig['spoofmac']);?>">
+ <td class="vtable"> <input name="spoofmac" type="text" class="formfld unknown" id="spoofmac" size="30" value="<?=htmlspecialchars($pconfig['spoofmac']);?>">
<?php
$ip = getenv('REMOTE_ADDR');
$mac = `/usr/sbin/arp -an | grep {$ip} | cut -d" " -f4`;
@@ -750,7 +750,7 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncell">MTU</td>
- <td class="vtable"> <input name="mtu" type="text" class="formfld" id="mtu" size="8" value="<?=htmlspecialchars($pconfig['mtu']);?>">
+ <td class="vtable"> <input name="mtu" type="text" class="formfld unknown" id="mtu" size="8" value="<?=htmlspecialchars($pconfig['mtu']);?>">
<br>
If you enter a value in this field, then MSS clamping for
TCP connections to the value entered above minus 40 (TCP/IP
@@ -766,9 +766,9 @@ function show_mon_config() {
</tr>
<tr>
<td width="100" valign="top" class="vncellreq">IP address</td>
- <td class="vtable"> <input name="ipaddr" type="text" class="formfld" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
+ <td class="vtable"> <input name="ipaddr" type="text" class="formfld unknown" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
/
- <select name="subnet" class="formfld" id="subnet">
+ <select name="subnet" class="formselect" id="subnet">
<?php
for ($i = 32; $i > 0; $i--) {
if($i <> 31) {
@@ -783,12 +783,12 @@ function show_mon_config() {
<tr>
<td valign="top" class="vncellreq">Point-to-point IP address </td>
<td class="vtable">
- <input name="pointtopoint" type="text" class="formfld" id="pointtopoint" size="20" value="<?=htmlspecialchars($pconfig['pointtopoint']);?>">
+ <input name="pointtopoint" type="text" class="formfld unknown" id="pointtopoint" size="20" value="<?=htmlspecialchars($pconfig['pointtopoint']);?>">
</td>
</tr><?php endif; ?>
<tr>
<td valign="top" class="vncellreq">Gateway</td>
- <td class="vtable"> <input name="gateway" type="text" class="formfld" id="gateway" size="20" value="<?=htmlspecialchars($pconfig['gateway']);?>">
+ <td class="vtable"> <input name="gateway" type="text" class="formfld unknown" id="gateway" size="20" value="<?=htmlspecialchars($pconfig['gateway']);?>">
</td>
</tr>
<tr>
@@ -799,7 +799,7 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncell">Hostname</td>
- <td class="vtable"> <input name="dhcphostname" type="text" class="formfld" id="dhcphostname" size="40" value="<?=htmlspecialchars($pconfig['dhcphostname']);?>">
+ <td class="vtable"> <input name="dhcphostname" type="text" class="formfld unknown" id="dhcphostname" size="40" value="<?=htmlspecialchars($pconfig['dhcphostname']);?>">
<br>
The value in this field is sent as the DHCP client identifier
and hostname when requesting a DHCP lease. Some ISPs may require
@@ -807,7 +807,7 @@ function show_mon_config() {
</tr>
<tr>
<td width="100" valign="top" class="vncellreq">Alias IP address</td>
- <td class="vtable"> <input name="alias-address" type="text" class="formfld" id="alias-address" size="20" value="<?=htmlspecialchars($pconfig['alias-address']);?>">
+ <td class="vtable"> <input name="alias-address" type="text" class="formfld unknown" id="alias-address" size="20" value="<?=htmlspecialchars($pconfig['alias-address']);?>">
<select name="alias-subnet" class="formselect" id="alias-subnet">
<?php
for ($i = 32; $i > 0; $i--) {
@@ -830,17 +830,17 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncellreq">Username</td>
- <td class="vtable"><input name="username" type="text" class="formfld" id="username" size="20" value="<?=htmlspecialchars($pconfig['username']);?>">
+ <td class="vtable"><input name="username" type="text" class="formfld user" id="username" size="20" value="<?=htmlspecialchars($pconfig['username']);?>">
</td>
</tr>
<tr>
<td valign="top" class="vncellreq">Password</td>
- <td class="vtable"><input name="password" type="text" class="formfld" id="password" size="20" value="<?=htmlspecialchars($pconfig['password']);?>">
+ <td class="vtable"><input name="password" type="text" class="formfld pwd" id="password" size="20" value="<?=htmlspecialchars($pconfig['password']);?>">
</td>
</tr>
<tr>
<td valign="top" class="vncell">Service name</td>
- <td class="vtable"><input name="provider" type="text" class="formfld" id="provider" size="20" value="<?=htmlspecialchars($pconfig['provider']);?>">
+ <td class="vtable"><input name="provider" type="text" class="formfld unknown" id="provider" size="20" value="<?=htmlspecialchars($pconfig['provider']);?>">
<br> <span class="vexpl">Hint: this field can usually be left
empty</span></td>
</tr>
@@ -853,7 +853,8 @@ function show_mon_config() {
<tr>
<td valign="top" class="vncell">Idle timeout</td>
<td class="vtable">
- <input name="pppoe_idletimeout" type="text" class="formfld" id="pppoe_idletimeout" size="8" value="<?=htmlspecialchars($pconfig['pppoe_idletimeout']);?>"> seconds<br>If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. An idle timeout of zero disables this feature.</td>
+ <input name="pppoe_idletimeout" type="text" class="formfld unknown" id="pppoe_idletimeout" size="8" value="<?=htmlspecialchars($pconfig['pppoe_idletimeout']);?>">
+seconds<br>If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. An idle timeout of zero disables this feature.</td>
</tr>
<tr>
<td valign="top" class="vncell"><?=gettext("Periodic reset");?></td>
@@ -920,19 +921,21 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncellreq">Username</td>
- <td class="vtable"><input name="pptp_username" type="text" class="formfld" id="pptp_username" size="20" value="<?=htmlspecialchars($pconfig['pptp_username']);?>">
+ <td class="vtable"><input name="pptp_username" type="text" class="formfld user" id="pptp_username" size="20" value="<?=htmlspecialchars($pconfig['pptp_username']);?>">
</td>
</tr>
<tr>
<td valign="top" class="vncellreq">Password</td>
- <td class="vtable"><input name="pptp_password" type="text" class="formfld" id="pptp_password" size="20" value="<?=htmlspecialchars($pconfig['pptp_password']);?>">
+ <td class="vtable"><input name="pptp_password" type="text" class="formfld pwd" id="pptp_password" size="20"
+value="<?=htmlspecialchars($pconfig['pptp_password']);?>">
</td>
</tr>
<tr>
<td width="100" valign="top" class="vncellreq">Local IP address</td>
- <td class="vtable"> <input name="pptp_local" type="text" class="formfld" id="pptp_local" size="20" value="<?=htmlspecialchars($pconfig['pptp_local']);?>">
+ <td class="vtable"> <input name="pptp_local" type="text" class="formfld unknown" id="pptp_local" size="20"
+value="<?=htmlspecialchars($pconfig['pptp_local']);?>">
/
- <select name="pptp_subnet" class="formfld" id="pptp_subnet">
+ <select name="pptp_subnet" class="formselect" id="pptp_subnet">
<?php for ($i = 31; $i > 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['pptp_subnet']) echo "selected"; ?>>
<?=$i;?>
@@ -942,7 +945,7 @@ function show_mon_config() {
</tr>
<tr>
<td width="100" valign="top" class="vncellreq">Remote IP address</td>
- <td class="vtable"> <input name="pptp_remote" type="text" class="formfld" id="pptp_remote" size="20" value="<?=htmlspecialchars($pconfig['pptp_remote']);?>">
+ <td class="vtable"> <input name="pptp_remote" type="text" class="formfld unknown" id="pptp_remote" size="20" value="<?=htmlspecialchars($pconfig['pptp_remote']);?>">
</td>
</tr>
<tr>
@@ -954,7 +957,8 @@ function show_mon_config() {
<tr>
<td valign="top" class="vncell">Idle timeout</td>
<td class="vtable">
- <input name="pptp_idletimeout" type="text" class="formfld" id="pptp_idletimeout" size="8" value="<?=htmlspecialchars($pconfig['pptp_idletimeout']);?>"> seconds<br>If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. An idle timeout of zero disables this feature.</td>
+ <input name="pptp_idletimeout" type="text" class="formfld unknown" id="pptp_idletimeout" size="8" value="<?=htmlspecialchars($pconfig['pptp_idletimeout']);?>">
+seconds<br>If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. An idle timeout of zero disables this feature.</td>
</tr>
<tr>
<td colspan="2" valign="top" height="16"></td>
@@ -964,23 +968,23 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncellreq">Username</td>
- <td class="vtable"><input name="bigpond_username" type="text" class="formfld" id="bigpond_username" size="20" value="<?=htmlspecialchars($pconfig['bigpond_username']);?>">
+ <td class="vtable"><input name="bigpond_username" type="text" class="formfld user" id="bigpond_username" size="20" value="<?=htmlspecialchars($pconfig['bigpond_username']);?>">
</td>
</tr>
<tr>
<td valign="top" class="vncellreq">Password</td>
- <td class="vtable"><input name="bigpond_password" type="text" class="formfld" id="bigpond_password" size="20" value="<?=htmlspecialchars($pconfig['bigpond_password']);?>">
+ <td class="vtable"><input name="bigpond_password" type="text" class="formfld pwd" id="bigpond_password" size="20" value="<?=htmlspecialchars($pconfig['bigpond_password']);?>">
</td>
</tr>
<tr>
<td valign="top" class="vncell">Authentication server</td>
- <td class="vtable"><input name="bigpond_authserver" type="text" class="formfld" id="bigpond_authserver" size="20" value="<?=htmlspecialchars($pconfig['bigpond_authserver']);?>">
+ <td class="vtable"><input name="bigpond_authserver" type="text" class="formfld unknown" id="bigpond_authserver" size="20" value="<?=htmlspecialchars($pconfig['bigpond_authserver']);?>">
<br>
<span class="vexpl">If this field is left empty, the default (&quot;dce-server&quot;) is used. </span></td>
</tr>
<tr>
<td valign="top" class="vncell">Authentication domain</td>
- <td class="vtable"><input name="bigpond_authdomain" type="text" class="formfld" id="bigpond_authdomain" size="20" value="<?=htmlspecialchars($pconfig['bigpond_authdomain']);?>">
+ <td class="vtable"><input name="bigpond_authdomain" type="text" class="formfld unknown" id="bigpond_authdomain" size="20" value="<?=htmlspecialchars($pconfig['bigpond_authdomain']);?>">
<br>
<span class="vexpl">If this field is left empty, the domain name assigned via DHCP will be used.<br>
<br>
@@ -989,7 +993,7 @@ function show_mon_config() {
<tr>
<td valign="top" class="vncell">Min. heartbeat interval</td>
<td class="vtable">
- <input name="bigpond_minheartbeatinterval" type="text" class="formfld" id="bigpond_minheartbeatinterval" size="8" value="<?=htmlspecialchars($pconfig['bigpond_minheartbeatinterval']);?>">seconds<br>Setting this to a sensible value (e.g. 60 seconds) can protect against DoS attacks. </td>
+ <input name="bigpond_minheartbeatinterval" type="text" class="formfld unknown" id="bigpond_minheartbeatinterval" size="8" value="<?=htmlspecialchars($pconfig['bigpond_minheartbeatinterval']);?>">seconds<br>Setting this to a sensible value (e.g. 60 seconds) can protect against DoS attacks. </td>
</tr>
<tr>
<td colspan="2" valign="top" height="16"></td>
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php
index c6c6b95..a7c0667 100755
--- a/usr/local/www/interfaces_lan.php
+++ b/usr/local/www/interfaces_lan.php
@@ -170,7 +170,7 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncellreq">Bridge with</td>
<td width="78%" class="vtable">
- <select name="bridge" class="formfld" id="bridge" onChange="enable_change(false)">
+ <select name="bridge" class="formselect" id="bridge" onChange="enable_change(false)">
<option <?php if (!$pconfig['bridge']) echo "selected";?> value="">none</option>
<?php $opts = array('wan' => "WAN");
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
@@ -188,9 +188,9 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncellreq">IP address</td>
<td width="78%" class="vtable">
- <input name="ipaddr" type="text" class="formfld" id="hostname" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
+ <input name="ipaddr" type="text" class="formfld unknown" id="hostname" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
/
- <select name="subnet" class="formfld" id="subnet">
+ <select name="subnet" class="formselect" id="subnet">
<?php
for ($i = 32; $i > 0; $i--) {
if($i <> 31) {
@@ -271,4 +271,4 @@ if ($_POST['apply'] <> "") {
}
-?> \ No newline at end of file
+?>
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php
index 66a26a3..261f374 100755
--- a/usr/local/www/interfaces_opt.php
+++ b/usr/local/www/interfaces_opt.php
@@ -309,7 +309,7 @@ function show_mon_config() {
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="30" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="30" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">Enter a description (name) for the interface here.</span>
</td>
</tr>
@@ -322,7 +322,7 @@ function show_mon_config() {
</tr>
<tr>
<td valign="middle" class="vncell"><strong>Type</strong></td>
- <td class="vtable"> <select name="type" class="formfld" id="type" onchange="type_change()">
+ <td class="vtable"> <select name="type" class="formselect" id="type" onchange="type_change()">
<?php $opts = split(" ", "Static DHCP");
foreach ($opts as $opt): ?>
<option <?php if ($opt == $pconfig['type']) echo "selected";?>>
@@ -333,7 +333,7 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncell">MAC address</td>
- <td class="vtable"> <input name="spoofmac" type="text" class="formfld" id="spoofmac" size="30" value="<?=htmlspecialchars($pconfig['spoofmac']);?>">
+ <td class="vtable"> <input name="spoofmac" type="text" class="formfld unknown" id="spoofmac" size="30" value="<?=htmlspecialchars($pconfig['spoofmac']);?>">
<?php
$ip = getenv('REMOTE_ADDR');
$mac = `/usr/sbin/arp -an | grep {$ip} | cut -d" " -f4`;
@@ -349,7 +349,7 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncell">MTU</td>
- <td class="vtable"> <input name="mtu" type="text" class="formfld" id="mtu" size="8" value="<?=htmlspecialchars($pconfig['mtu']);?>">
+ <td class="vtable"> <input name="mtu" type="text" class="formfld unknown" id="mtu" size="8" value="<?=htmlspecialchars($pconfig['mtu']);?>">
<br>
If you enter a value in this field, then MSS clamping for
TCP connections to the value entered above minus 40 (TCP/IP
@@ -367,7 +367,7 @@ function show_mon_config() {
<tr>
<td width="22%" valign="top" class="vncellreq">Bridge with</td>
<td width="78%" class="vtable">
- <select name="bridge" class="formfld" id="bridge" onChange="enable_change(false)">
+ <select name="bridge" class="formselect" id="bridge" onChange="enable_change(false)">
<option <?php if (!$pconfig['bridge']) echo "selected";?> value="">none</option>
<?php $opts = array('lan' => "LAN", 'wan' => "WAN");
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
@@ -385,9 +385,9 @@ function show_mon_config() {
<tr>
<td width="22%" valign="top" class="vncellreq">IP address</td>
<td width="78%" class="vtable">
- <input name="ipaddr" type="text" class="formfld" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
+ <input name="ipaddr" type="text" class="formfld unknown" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
/
- <select name="subnet" class="formfld" id="subnet">
+ <select name="subnet" class="formselect" id="subnet">
<?php
for ($i = 32; $i > 0; $i--) {
if($i <> 31) {
@@ -449,7 +449,7 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncell">Hostname</td>
- <td class="vtable"> <input name="dhcphostname" type="text" class="formfld" id="dhcphostname" size="40" value="<?=htmlspecialchars($pconfig['dhcphostname']);?>">
+ <td class="vtable"> <input name="dhcphostname" type="text" class="formfld unknown" id="dhcphostname" size="40" value="<?=htmlspecialchars($pconfig['dhcphostname']);?>">
<br>
The value in this field is sent as the DHCP client identifier
and hostname when requesting a DHCP lease. Some ISPs may require
@@ -457,7 +457,7 @@ function show_mon_config() {
</tr>
<tr>
<td width="100" valign="top" class="vncellreq">Alias IP address</td>
- <td class="vtable"> <input name="alias-address" type="text" class="formfld" id="alias-address" size="20" value="<?=htmlspecialchars($pconfig['alias-address']);?>">
+ <td class="vtable"> <input name="alias-address" type="text" class="formfld unknown" id="alias-address" size="20" value="<?=htmlspecialchars($pconfig['alias-address']);?>">
<select name="alias-subnet" class="formselect" id="alias-subnet">
<?php
for ($i = 32; $i > 0; $i--) {
diff --git a/usr/local/www/interfaces_vlan_edit.php b/usr/local/www/interfaces_vlan_edit.php
index 43307aa..3831dd9 100755
--- a/usr/local/www/interfaces_vlan_edit.php
+++ b/usr/local/www/interfaces_vlan_edit.php
@@ -110,7 +110,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Parent interface</td>
<td width="78%" class="vtable">
- <select name="if" class="formfld">
+ <select name="if" class="formselect">
<?php
foreach ($portlist as $ifn => $ifinfo)
if (is_jumbo_capable($ifn)) {
@@ -129,14 +129,14 @@ include("head.inc");
<tr>
<td valign="top" class="vncellreq">VLAN tag </td>
<td class="vtable">
- <input name="tag" type="text" class="formfld" id="tag" size="6" value="<?=htmlspecialchars($pconfig['tag']);?>">
+ <input name="tag" type="text" class="formfld unknown" id="tag" size="6" value="<?=htmlspecialchars($pconfig['tag']);?>">
<br>
<span class="vexpl">802.1Q VLAN tag (between 1 and 4094) </span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here
for your reference (not parsed).</span></td>
</tr>
diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php
index 15cda1a..d4dc2d1 100755
--- a/usr/local/www/interfaces_wan.php
+++ b/usr/local/www/interfaces_wan.php
@@ -723,7 +723,7 @@ function show_mon_config() {
</tr>
<tr>
<td valign="middle" class="vncell"><strong>Type</strong></td>
- <td class="vtable"> <select name="type" class="formfld" id="type" onchange="type_change()">
+ <td class="vtable"> <select name="type" class="formselect" id="type" onchange="type_change()">
<?php $opts = split(" ", "Static DHCP PPPoE PPTP BigPond");
foreach ($opts as $opt): ?>
<option <?php if ($opt == $pconfig['type']) echo "selected";?>>
@@ -734,7 +734,7 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncell">MAC address</td>
- <td class="vtable"> <input name="spoofmac" type="text" class="formfld" id="spoofmac" size="30" value="<?=htmlspecialchars($pconfig['spoofmac']);?>">
+ <td class="vtable"> <input name="spoofmac" type="text" class="formfld unknown" id="spoofmac" size="30" value="<?=htmlspecialchars($pconfig['spoofmac']);?>">
<?php
$ip = getenv('REMOTE_ADDR');
$mac = `/usr/sbin/arp -an | grep {$ip} | cut -d" " -f4`;
@@ -750,7 +750,7 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncell">MTU</td>
- <td class="vtable"> <input name="mtu" type="text" class="formfld" id="mtu" size="8" value="<?=htmlspecialchars($pconfig['mtu']);?>">
+ <td class="vtable"> <input name="mtu" type="text" class="formfld unknown" id="mtu" size="8" value="<?=htmlspecialchars($pconfig['mtu']);?>">
<br>
If you enter a value in this field, then MSS clamping for
TCP connections to the value entered above minus 40 (TCP/IP
@@ -766,9 +766,9 @@ function show_mon_config() {
</tr>
<tr>
<td width="100" valign="top" class="vncellreq">IP address</td>
- <td class="vtable"> <input name="ipaddr" type="text" class="formfld" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
+ <td class="vtable"> <input name="ipaddr" type="text" class="formfld unknown" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
/
- <select name="subnet" class="formfld" id="subnet">
+ <select name="subnet" class="formselect" id="subnet">
<?php
for ($i = 32; $i > 0; $i--) {
if($i <> 31) {
@@ -783,12 +783,12 @@ function show_mon_config() {
<tr>
<td valign="top" class="vncellreq">Point-to-point IP address </td>
<td class="vtable">
- <input name="pointtopoint" type="text" class="formfld" id="pointtopoint" size="20" value="<?=htmlspecialchars($pconfig['pointtopoint']);?>">
+ <input name="pointtopoint" type="text" class="formfld unknown" id="pointtopoint" size="20" value="<?=htmlspecialchars($pconfig['pointtopoint']);?>">
</td>
</tr><?php endif; ?>
<tr>
<td valign="top" class="vncellreq">Gateway</td>
- <td class="vtable"> <input name="gateway" type="text" class="formfld" id="gateway" size="20" value="<?=htmlspecialchars($pconfig['gateway']);?>">
+ <td class="vtable"> <input name="gateway" type="text" class="formfld unknown" id="gateway" size="20" value="<?=htmlspecialchars($pconfig['gateway']);?>">
</td>
</tr>
<tr>
@@ -799,7 +799,7 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncell">Hostname</td>
- <td class="vtable"> <input name="dhcphostname" type="text" class="formfld" id="dhcphostname" size="40" value="<?=htmlspecialchars($pconfig['dhcphostname']);?>">
+ <td class="vtable"> <input name="dhcphostname" type="text" class="formfld unknown" id="dhcphostname" size="40" value="<?=htmlspecialchars($pconfig['dhcphostname']);?>">
<br>
The value in this field is sent as the DHCP client identifier
and hostname when requesting a DHCP lease. Some ISPs may require
@@ -807,7 +807,7 @@ function show_mon_config() {
</tr>
<tr>
<td width="100" valign="top" class="vncellreq">Alias IP address</td>
- <td class="vtable"> <input name="alias-address" type="text" class="formfld" id="alias-address" size="20" value="<?=htmlspecialchars($pconfig['alias-address']);?>">
+ <td class="vtable"> <input name="alias-address" type="text" class="formfld unknown" id="alias-address" size="20" value="<?=htmlspecialchars($pconfig['alias-address']);?>">
<select name="alias-subnet" class="formselect" id="alias-subnet">
<?php
for ($i = 32; $i > 0; $i--) {
@@ -830,17 +830,17 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncellreq">Username</td>
- <td class="vtable"><input name="username" type="text" class="formfld" id="username" size="20" value="<?=htmlspecialchars($pconfig['username']);?>">
+ <td class="vtable"><input name="username" type="text" class="formfld user" id="username" size="20" value="<?=htmlspecialchars($pconfig['username']);?>">
</td>
</tr>
<tr>
<td valign="top" class="vncellreq">Password</td>
- <td class="vtable"><input name="password" type="text" class="formfld" id="password" size="20" value="<?=htmlspecialchars($pconfig['password']);?>">
+ <td class="vtable"><input name="password" type="text" class="formfld pwd" id="password" size="20" value="<?=htmlspecialchars($pconfig['password']);?>">
</td>
</tr>
<tr>
<td valign="top" class="vncell">Service name</td>
- <td class="vtable"><input name="provider" type="text" class="formfld" id="provider" size="20" value="<?=htmlspecialchars($pconfig['provider']);?>">
+ <td class="vtable"><input name="provider" type="text" class="formfld unknown" id="provider" size="20" value="<?=htmlspecialchars($pconfig['provider']);?>">
<br> <span class="vexpl">Hint: this field can usually be left
empty</span></td>
</tr>
@@ -853,7 +853,8 @@ function show_mon_config() {
<tr>
<td valign="top" class="vncell">Idle timeout</td>
<td class="vtable">
- <input name="pppoe_idletimeout" type="text" class="formfld" id="pppoe_idletimeout" size="8" value="<?=htmlspecialchars($pconfig['pppoe_idletimeout']);?>"> seconds<br>If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. An idle timeout of zero disables this feature.</td>
+ <input name="pppoe_idletimeout" type="text" class="formfld unknown" id="pppoe_idletimeout" size="8" value="<?=htmlspecialchars($pconfig['pppoe_idletimeout']);?>">
+seconds<br>If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. An idle timeout of zero disables this feature.</td>
</tr>
<tr>
<td valign="top" class="vncell"><?=gettext("Periodic reset");?></td>
@@ -920,19 +921,21 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncellreq">Username</td>
- <td class="vtable"><input name="pptp_username" type="text" class="formfld" id="pptp_username" size="20" value="<?=htmlspecialchars($pconfig['pptp_username']);?>">
+ <td class="vtable"><input name="pptp_username" type="text" class="formfld user" id="pptp_username" size="20" value="<?=htmlspecialchars($pconfig['pptp_username']);?>">
</td>
</tr>
<tr>
<td valign="top" class="vncellreq">Password</td>
- <td class="vtable"><input name="pptp_password" type="text" class="formfld" id="pptp_password" size="20" value="<?=htmlspecialchars($pconfig['pptp_password']);?>">
+ <td class="vtable"><input name="pptp_password" type="text" class="formfld pwd" id="pptp_password" size="20"
+value="<?=htmlspecialchars($pconfig['pptp_password']);?>">
</td>
</tr>
<tr>
<td width="100" valign="top" class="vncellreq">Local IP address</td>
- <td class="vtable"> <input name="pptp_local" type="text" class="formfld" id="pptp_local" size="20" value="<?=htmlspecialchars($pconfig['pptp_local']);?>">
+ <td class="vtable"> <input name="pptp_local" type="text" class="formfld unknown" id="pptp_local" size="20"
+value="<?=htmlspecialchars($pconfig['pptp_local']);?>">
/
- <select name="pptp_subnet" class="formfld" id="pptp_subnet">
+ <select name="pptp_subnet" class="formselect" id="pptp_subnet">
<?php for ($i = 31; $i > 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['pptp_subnet']) echo "selected"; ?>>
<?=$i;?>
@@ -942,7 +945,7 @@ function show_mon_config() {
</tr>
<tr>
<td width="100" valign="top" class="vncellreq">Remote IP address</td>
- <td class="vtable"> <input name="pptp_remote" type="text" class="formfld" id="pptp_remote" size="20" value="<?=htmlspecialchars($pconfig['pptp_remote']);?>">
+ <td class="vtable"> <input name="pptp_remote" type="text" class="formfld unknown" id="pptp_remote" size="20" value="<?=htmlspecialchars($pconfig['pptp_remote']);?>">
</td>
</tr>
<tr>
@@ -954,7 +957,8 @@ function show_mon_config() {
<tr>
<td valign="top" class="vncell">Idle timeout</td>
<td class="vtable">
- <input name="pptp_idletimeout" type="text" class="formfld" id="pptp_idletimeout" size="8" value="<?=htmlspecialchars($pconfig['pptp_idletimeout']);?>"> seconds<br>If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. An idle timeout of zero disables this feature.</td>
+ <input name="pptp_idletimeout" type="text" class="formfld unknown" id="pptp_idletimeout" size="8" value="<?=htmlspecialchars($pconfig['pptp_idletimeout']);?>">
+seconds<br>If no qualifying outgoing packets are transmitted for the specified number of seconds, the connection is brought down. An idle timeout of zero disables this feature.</td>
</tr>
<tr>
<td colspan="2" valign="top" height="16"></td>
@@ -964,23 +968,23 @@ function show_mon_config() {
</tr>
<tr>
<td valign="top" class="vncellreq">Username</td>
- <td class="vtable"><input name="bigpond_username" type="text" class="formfld" id="bigpond_username" size="20" value="<?=htmlspecialchars($pconfig['bigpond_username']);?>">
+ <td class="vtable"><input name="bigpond_username" type="text" class="formfld user" id="bigpond_username" size="20" value="<?=htmlspecialchars($pconfig['bigpond_username']);?>">
</td>
</tr>
<tr>
<td valign="top" class="vncellreq">Password</td>
- <td class="vtable"><input name="bigpond_password" type="text" class="formfld" id="bigpond_password" size="20" value="<?=htmlspecialchars($pconfig['bigpond_password']);?>">
+ <td class="vtable"><input name="bigpond_password" type="text" class="formfld pwd" id="bigpond_password" size="20" value="<?=htmlspecialchars($pconfig['bigpond_password']);?>">
</td>
</tr>
<tr>
<td valign="top" class="vncell">Authentication server</td>
- <td class="vtable"><input name="bigpond_authserver" type="text" class="formfld" id="bigpond_authserver" size="20" value="<?=htmlspecialchars($pconfig['bigpond_authserver']);?>">
+ <td class="vtable"><input name="bigpond_authserver" type="text" class="formfld unknown" id="bigpond_authserver" size="20" value="<?=htmlspecialchars($pconfig['bigpond_authserver']);?>">
<br>
<span class="vexpl">If this field is left empty, the default (&quot;dce-server&quot;) is used. </span></td>
</tr>
<tr>
<td valign="top" class="vncell">Authentication domain</td>
- <td class="vtable"><input name="bigpond_authdomain" type="text" class="formfld" id="bigpond_authdomain" size="20" value="<?=htmlspecialchars($pconfig['bigpond_authdomain']);?>">
+ <td class="vtable"><input name="bigpond_authdomain" type="text" class="formfld unknown" id="bigpond_authdomain" size="20" value="<?=htmlspecialchars($pconfig['bigpond_authdomain']);?>">
<br>
<span class="vexpl">If this field is left empty, the domain name assigned via DHCP will be used.<br>
<br>
@@ -989,7 +993,7 @@ function show_mon_config() {
<tr>
<td valign="top" class="vncell">Min. heartbeat interval</td>
<td class="vtable">
- <input name="bigpond_minheartbeatinterval" type="text" class="formfld" id="bigpond_minheartbeatinterval" size="8" value="<?=htmlspecialchars($pconfig['bigpond_minheartbeatinterval']);?>">seconds<br>Setting this to a sensible value (e.g. 60 seconds) can protect against DoS attacks. </td>
+ <input name="bigpond_minheartbeatinterval" type="text" class="formfld unknown" id="bigpond_minheartbeatinterval" size="8" value="<?=htmlspecialchars($pconfig['bigpond_minheartbeatinterval']);?>">seconds<br>Setting this to a sensible value (e.g. 60 seconds) can protect against DoS attacks. </td>
</tr>
<tr>
<td colspan="2" valign="top" height="16"></td>
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php
index 4cc54ba..0c7d2ba 100755
--- a/usr/local/www/services_captiveportal.php
+++ b/usr/local/www/services_captiveportal.php
@@ -278,7 +278,7 @@ function enable_change(enable_change) {
<tr>
<td width="22%" valign="top" class="vncellreq">Interface</td>
<td width="78%" class="vtable">
- <select name="cinterface" class="formfld" id="cinterface">
+ <select name="cinterface" class="formselect" id="cinterface">
<?php $interfaces = array('lan' => 'LAN');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
if (isset($config['interfaces']['opt' . $i]['enable']))
@@ -297,7 +297,8 @@ function enable_change(enable_change) {
<td class="vtable">
<table cellpadding="0" cellspacing="0">
<tr>
- <td><input name="maxprocperip" type="text" class="formfld" id="maxprocperip" size="5" value="<?=htmlspecialchars($pconfig['maxprocperip']);?>"> per client IP address (0 = no limit)</td>
+ <td><input name="maxprocperip" type="text" class="formfld unknown" id="maxprocperip" size="5"
+value="<?=htmlspecialchars($pconfig['maxprocperip']);?>"> per client IP address (0 = no limit)</td>
</tr>
</table>
This setting limits the number of concurrent connections to the captive portal HTTP(S) server. This does not set how many users can be logged in
@@ -307,14 +308,14 @@ Default is 4 connections per client IP address, with a total maximum of 16 conne
<tr>
<td valign="top" class="vncell">Idle timeout</td>
<td class="vtable">
- <input name="idletimeout" type="text" class="formfld" id="idletimeout" size="6" value="<?=htmlspecialchars($pconfig['idletimeout']);?>">
+ <input name="idletimeout" type="text" class="formfld unknown" id="idletimeout" size="6" value="<?=htmlspecialchars($pconfig['idletimeout']);?>">
minutes<br>
Clients will be disconnected after this amount of inactivity. They may log in again immediately, though. Leave this field blank for no idle timeout.</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Hard timeout</td>
<td width="78%" class="vtable">
- <input name="timeout" type="text" class="formfld" id="timeout" size="6" value="<?=htmlspecialchars($pconfig['timeout']);?>">
+ <input name="timeout" type="text" class="formfld unknown" id="timeout" size="6" value="<?=htmlspecialchars($pconfig['timeout']);?>">
minutes<br>
Clients will be disconnected after this amount of time, regardless of activity. They may log in again immediately, though. Leave this field blank for no hard timeout (not recommended unless an idle timeout is set).</td>
</tr>
@@ -328,7 +329,7 @@ Clients will be disconnected after this amount of inactivity. They may log in ag
<tr>
<td valign="top" class="vncell">Redirection URL</td>
<td class="vtable">
- <input name="redirurl" type="text" class="formfld" id="redirurl" size="60" value="<?=htmlspecialchars($pconfig['redirurl']);?>">
+ <input name="redirurl" type="text" class="formfld url" id="redirurl" size="60" value="<?=htmlspecialchars($pconfig['redirurl']);?>">
<br>
If you provide a URL here, clients will be redirected to that URL instead of the one they initially tried
to access after they've authenticated.</td>
@@ -359,11 +360,11 @@ to access after they've authenticated.</td>
<table cellpadding="0" cellspacing="0">
<tr>
<td>Default download</td>
- <td><input type="text" class="formfld" name="bwdefaultdn" id="bwdefaultdn" size="10" value="<?=htmlspecialchars($pconfig['bwdefaultdn']);?>"> Kbit/s</td>
+ <td><input type="text" class="formfld unknown" name="bwdefaultdn" id="bwdefaultdn" size="10" value="<?=htmlspecialchars($pconfig['bwdefaultdn']);?>"> Kbit/s</td>
</tr>
<tr>
<td>Default upload</td>
- <td><input type="text" class="formfld" name="bwdefaultup" id="bwdefaultup" size="10" value="<?=htmlspecialchars($pconfig['bwdefaultup']);?>"> Kbit/s</td>
+ <td><input type="text" class="formfld unknown" name="bwdefaultup" id="bwdefaultup" size="10" value="<?=htmlspecialchars($pconfig['bwdefaultup']);?>"> Kbit/s</td>
</tr></table>
<br>
If this option is set, the captive portal will restrict each user who logs in to the specified default bandwidth. RADIUS can override the default settings. Leave empty or set to 0 for no limit. You will <strong>need</strong> to enable the traffic shaper for this to be effective.</td>
@@ -396,17 +397,17 @@ to access after they've authenticated.</td>
</tr>
<tr>
<td class="vncell" valign="top">IP address</td>
- <td class="vtable"><input name="radiusip" type="text" class="formfld" id="radiusip" size="20" value="<?=htmlspecialchars($pconfig['radiusip']);?>"><br>
+ <td class="vtable"><input name="radiusip" type="text" class="formfld unknown" id="radiusip" size="20" value="<?=htmlspecialchars($pconfig['radiusip']);?>"><br>
Enter the IP address of the RADIUS server which users of the captive portal have to authenticate against.</td>
</tr>
<tr>
<td class="vncell" valign="top">Port</td>
- <td class="vtable"><input name="radiusport" type="text" class="formfld" id="radiusport" size="5" value="<?=htmlspecialchars($pconfig['radiusport']);?>"><br>
+ <td class="vtable"><input name="radiusport" type="text" class="formfld unknown" id="radiusport" size="5" value="<?=htmlspecialchars($pconfig['radiusport']);?>"><br>
Leave this field blank to use the default port (1812).</td>
</tr>
<tr>
<td class="vncell" valign="top">Shared secret&nbsp;&nbsp;</td>
- <td class="vtable"><input name="radiuskey" type="text" class="formfld" id="radiuskey" size="16" value="<?=htmlspecialchars($pconfig['radiuskey']);?>"><br>
+ <td class="vtable"><input name="radiuskey" type="text" class="formfld unknown" id="radiuskey" size="16" value="<?=htmlspecialchars($pconfig['radiuskey']);?>"><br>
Leave this field blank to not use a RADIUS shared secret (not recommended).</td>
</tr>
<tr>
@@ -417,16 +418,17 @@ to access after they've authenticated.</td>
</tr>
<tr>
<td class="vncell" valign="top">IP address</td>
- <td class="vtable"><input name="radiusip2" type="text" class="formfld" id="radiusip2" size="20" value="<?=htmlspecialchars($pconfig['radiusip2']);?>"><br>
+ <td class="vtable"><input name="radiusip2" type="text" class="formfld unknown" id="radiusip2" size="20" value="<?=htmlspecialchars($pconfig['radiusip2']);?>"><br>
If you have a second RADIUS server, you can activate it by entering its IP address here.</td>
</tr>
<tr>
<td class="vncell" valign="top">Port</td>
- <td class="vtable"><input name="radiusport2" type="text" class="formfld" id="radiusport2" size="5" value="<?=htmlspecialchars($pconfig['radiusport2']);?>"></td>
+ <td class="vtable"><input name="radiusport2" type="text" class="formfld unknown" id="radiusport2" size="5" value="<?=htmlspecialchars($pconfig['radiusport2']);?>"></td>
</tr>
<tr>
<td class="vncell" valign="top">Shared secret&nbsp;&nbsp;</td>
- <td class="vtable"><input name="radiuskey2" type="text" class="formfld" id="radiuskey2" size="16" value="<?=htmlspecialchars($pconfig['radiuskey2']);?>"></td>
+ <td class="vtable"><input name="radiuskey2" type="text" class="formfld unknown" id="radiuskey2" size="16"
+value="<?=htmlspecialchars($pconfig['radiuskey2']);?>"></td>
</tr>
<tr>
<td colspan="2" class="list" height="12"></td>
@@ -442,7 +444,7 @@ to access after they've authenticated.</td>
</tr>
<tr>
<td class="vncell" valign="top">Accounting port</td>
- <td class="vtable"><input name="radiusacctport" type="text" class="formfld" id="radiusacctport" size="5" value="<?=htmlspecialchars($pconfig['radiusacctport']);?>"><br>
+ <td class="vtable"><input name="radiusacctport" type="text" class="formfld unknown" id="radiusacctport" size="5" value="<?=htmlspecialchars($pconfig['radiusacctport']);?>"><br>
Leave blank to use the default port (1813).</td>
</tr>
<tr>
@@ -481,7 +483,7 @@ to access after they've authenticated.</td>
</tr>
<tr>
<td class="vncell">Shared secret</td>
- <td class="vtable"><input name="radmac_secret" type="text" class="formfld" id="radmac_secret" size="16" value="<?=htmlspecialchars($pconfig['radmac_secret']);?>"></td>
+ <td class="vtable"><input name="radmac_secret" type="text" class="formfld unknown" id="radmac_secret" size="16" value="<?=htmlspecialchars($pconfig['radmac_secret']);?>"></td>
</tr>
<tr>
<td colspan="2" class="list" height="12"></td>
@@ -526,7 +528,7 @@ to access after they've authenticated.</td>
<tr>
<td valign="top" class="vncell">HTTPS server name </td>
<td class="vtable">
- <input name="httpsname" type="text" class="formfld" id="httpsname" size="30" value="<?=htmlspecialchars($pconfig['httpsname']);?>"><br>
+ <input name="httpsname" type="text" class="formfld unknown" id="httpsname" size="30" value="<?=htmlspecialchars($pconfig['httpsname']);?>"><br>
This name will be used in the form action for the HTTPS POST and should match the Common Name (CN) in your certificate (otherwise, the client browser will most likely display a security warning). Make sure captive portal clients can resolve this name in DNS. </td>
</tr>
<tr>
@@ -546,7 +548,7 @@ to access after they've authenticated.</td>
<tr>
<td width="22%" valign="top" class="vncellreq">Portal page contents</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input type="file" name="htmlfile" class="formfld" id="htmlfile"><br>
+ <?=$mandfldhtml;?><input type="file" name="htmlfile" class="formfld file" id="htmlfile"><br>
<?php
list($host) = explode(":", $_SERVER['HTTP_HOST']);
if(isset($config['captiveportal']['httpslogin'])) {
@@ -577,7 +579,7 @@ Example code for the form:<br>
error page<br>
contents</td>
<td class="vtable">
- <input name="errfile" type="file" class="formfld" id="errfile"><br>
+ <input name="errfile" type="file" class="formfld file" id="errfile"><br>
<?php if ($config['captiveportal']['page']['errtext']): ?>
<a href="?act=viewerrhtml" target="_blank">View current page</a>
<br>
diff --git a/usr/local/www/services_captiveportal_filemanager.php b/usr/local/www/services_captiveportal_filemanager.php
index 760c1be..f0fca53 100755
--- a/usr/local/www/services_captiveportal_filemanager.php
+++ b/usr/local/www/services_captiveportal_filemanager.php
@@ -151,7 +151,7 @@ include("head.inc");
<?php if ($_GET['act'] == 'add'): ?>
<tr>
- <td class="listlr" colspan="2"><input type="file" name="new" class="formfld" size="40" id="new">
+ <td class="listlr" colspan="2"><input type="file" name="new" class="formfld file" size="40" id="new">
<input name="Submit" type="submit" class="formbtn" value="Upload"></td>
<td valign="middle" nowrap class="list">
<a href="services_captiveportal_filemanager.php"><img src="/themes/<?php echo $g['theme']; ?>/images/icons/icon_x.gif" title="cancel" width="17" height="17" border="0"></a>
diff --git a/usr/local/www/services_captiveportal_ip_edit.php b/usr/local/www/services_captiveportal_ip_edit.php
index d38e0bc..5d1abca 100755
--- a/usr/local/www/services_captiveportal_ip_edit.php
+++ b/usr/local/www/services_captiveportal_ip_edit.php
@@ -104,7 +104,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Direction</td>
<td width="78%" class="vtable">
- <select name="dir" class="formfld">
+ <select name="dir" class="formselect">
<?php
$dirs = explode(" ", "From To") ;
foreach ($dirs as $dir): ?>
@@ -120,14 +120,14 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">IP address</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="ip" type="text" class="formfld" id="ip" size="17" value="<?=htmlspecialchars($pconfig['ip']);?>">
+ <?=$mandfldhtml;?><input name="ip" type="text" class="formfld unknown" id="ip" size="17" value="<?=htmlspecialchars($pconfig['ip']);?>">
<br>
<span class="vexpl">IP address</span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here
for your reference (not parsed).</span></td>
</tr>
diff --git a/usr/local/www/services_captiveportal_mac_edit.php b/usr/local/www/services_captiveportal_mac_edit.php
index fcf7235..048b94e 100755
--- a/usr/local/www/services_captiveportal_mac_edit.php
+++ b/usr/local/www/services_captiveportal_mac_edit.php
@@ -102,14 +102,14 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">MAC address</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="mac" type="text" class="formfld" id="mac" size="17" value="<?=htmlspecialchars($pconfig['mac']);?>">
+ <?=$mandfldhtml;?><input name="mac" type="text" class="formfld unknown" id="mac" size="17" value="<?=htmlspecialchars($pconfig['mac']);?>">
<br>
<span class="vexpl">MAC address (6 hex octets separated by colons)</span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here
for your reference (not parsed).</span></td>
</tr>
diff --git a/usr/local/www/services_captiveportal_users_edit.php b/usr/local/www/services_captiveportal_users_edit.php
index ba51e6c..f03e830 100755
--- a/usr/local/www/services_captiveportal_users_edit.php
+++ b/usr/local/www/services_captiveportal_users_edit.php
@@ -142,14 +142,14 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Username</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="username" type="text" class="formfld" 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">Password</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="password" type="password" class="formfld" id="password" size="20"><br>
- <?=$mandfldhtml;?><input name="password2" type="password" class="formfld" 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;(confirmation)<?php if (isset($id) && $a_user[$id]): ?><br>
<span class="vexpl">If you want to change the users' password,
enter it here twice.</span><?php endif; ?>
@@ -158,14 +158,14 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncell">Full name</td>
<td width="78%" class="vtable">
- <input name="fullname" type="text" class="formfld" id="fullname" size="20" value="<?=htmlspecialchars($pconfig['fullname']);?>">
+ <input name="fullname" type="text" class="formfld unknown" id="fullname" size="20" value="<?=htmlspecialchars($pconfig['fullname']);?>">
<br>
<span class="vexpl">User's full name, for your own information only</span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Expiration date</td>
<td width="78%" class="vtable">
- <input name="expirationdate" type="text" class="formfld" id="expirationdate" size="10" value="<?=$pconfig['expirationdate'];?>">
+ <input name="expirationdate" type="text" class="formfld unknown" id="expirationdate" size="10" value="<?=$pconfig['expirationdate'];?>">
<a href="javascript:NewCal('expirationdate','mmddyyyy')"><img src="/themes/<?php echo $g['theme']; ?>/images/icons/icon_cal.gif" width="16" height="16" border="0" alt="Pick a date"></a>
<br>
<span class="vexpl">Leave blank if the account shouldn't expire, otherwise enter the expiration date in the following format: mm/dd/yyyy</span></td>
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index e401a3a..596f018 100755
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -407,7 +407,7 @@ function show_netboot_config() {
<tr>
<td width="22%" valign="top" class="vncellreq">Subnet Mask</td>
<td width="78%" class="vtable">
- <select name="netmask" class="formfld" id="netmask">
+ <select name="netmask" class="formselect" id="netmask">
<?php
for ($i = 32; $i > 0; $i--) {
if($i <> 31) {
@@ -424,50 +424,50 @@ function show_netboot_config() {
<tr>
<td width="22%" valign="top" class="vncellreq">Range</td>
<td width="78%" class="vtable">
- <input name="range_from" type="text" class="formfld" id="range_from" size="20" value="<?=htmlspecialchars($pconfig['range_from']);?>">
- &nbsp;to&nbsp; <input name="range_to" type="text" class="formfld" id="range_to" size="20" value="<?=htmlspecialchars($pconfig['range_to']);?>">
+ <input name="range_from" type="text" class="formfld unknown" id="range_from" size="20" value="<?=htmlspecialchars($pconfig['range_from']);?>">
+ &nbsp;to&nbsp; <input name="range_to" type="text" class="formfld unknown" id="range_to" size="20" value="<?=htmlspecialchars($pconfig['range_to']);?>">
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">WINS servers</td>
<td width="78%" class="vtable">
- <input name="wins1" type="text" class="formfld" id="wins1" size="20" value="<?=htmlspecialchars($pconfig['wins1']);?>"><br>
- <input name="wins2" type="text" class="formfld" id="wins2" size="20" value="<?=htmlspecialchars($pconfig['wins2']);?>">
+ <input name="wins1" type="text" class="formfld unknown" id="wins1" size="20" value="<?=htmlspecialchars($pconfig['wins1']);?>"><br>
+ <input name="wins2" type="text" class="formfld unknown" id="wins2" size="20" value="<?=htmlspecialchars($pconfig['wins2']);?>">
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">DNS servers</td>
<td width="78%" class="vtable">
- <input name="dns1" type="text" class="formfld" id="dns1" size="20" value="<?=htmlspecialchars($pconfig['dns1']);?>"><br>
- <input name="dns2" type="text" class="formfld" id="dns2" size="20" value="<?=htmlspecialchars($pconfig['dns2']);?>"><br>
+ <input name="dns1" type="text" class="formfld unknown" id="dns1" size="20" value="<?=htmlspecialchars($pconfig['dns1']);?>"><br>
+ <input name="dns2" type="text" class="formfld unknown" id="dns2" size="20" value="<?=htmlspecialchars($pconfig['dns2']);?>"><br>
NOTE: leave blank to use the system default DNS servers. This option is handy when your doing CARP+DHCP Failover, etc.
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Gateway</td>
<td width="78%" class="vtable">
- <input name="gateway" type="text" class="formfld" id="gateway" size="20" value="<?=htmlspecialchars($pconfig['gateway']);?>"><br>
+ <input name="gateway" type="text" class="formfld host" id="gateway" size="20" value="<?=htmlspecialchars($pconfig['gateway']);?>"><br>
The default is to use the IP of the firewall as the gateway. Specify an alternate gateway here if this is not the correct gateway for your network.
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Domain-Name</td>
<td width="78%" class="vtable">
- <input name="domain" type="text" class="formfld" id="domain" size="20" value="<?=htmlspecialchars($pconfig['domain']);?>"><br>
+ <input name="domain" type="text" class="formfld unknown" id="domain" size="20" value="<?=htmlspecialchars($pconfig['domain']);?>"><br>
The default is to use the domainname of the router as DNS-Search string that is served via DHCP. Specify an alternate DNS-Search string here.
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Domain-Searchlist</td>
<td width="78%" class="vtable">
- <input name="domainsearchlist" type="text" class="formfld" id="domainsearchlist" size="20" value="<?=htmlspecialchars($pconfig['domainsearchlist']);?>"><br>
+ <input name="domainsearchlist" type="text" class="formfld unknown" id="domainsearchlist" size="20" value="<?=htmlspecialchars($pconfig['domainsearchlist']);?>"><br>
DNS-Searchlist: the DHCP server can serve a list of domains to be searched.
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Default lease time</td>
<td width="78%" class="vtable">
- <input name="deftime" type="text" class="formfld" id="deftime" size="10" value="<?=htmlspecialchars($pconfig['deftime']);?>">
+ <input name="deftime" type="text" class="formfld unknown" id="deftime" size="10" value="<?=htmlspecialchars($pconfig['deftime']);?>">
seconds<br>
This is used for clients that do not ask for a specific
expiration time.<br>
@@ -477,7 +477,7 @@ function show_netboot_config() {
<tr>
<td width="22%" valign="top" class="vncell">Maximum lease time</td>
<td width="78%" class="vtable">
- <input name="maxtime" type="text" class="formfld" id="maxtime" size="10" value="<?=htmlspecialchars($pconfig['maxtime']);?>">
+ <input name="maxtime" type="text" class="formfld unknown" id="maxtime" size="10" value="<?=htmlspecialchars($pconfig['maxtime']);?>">
seconds<br>
This is the maximum lease time for clients that ask
for a specific expiration time.<br>
@@ -487,7 +487,7 @@ function show_netboot_config() {
<tr>
<td width="22%" valign="top" class="vncell">Failover peer IP:</td>
<td width="78%" class="vtable">
- <input name="failover_peerip" type="text" class="formfld" id="failover_peerip" size="20" value="<?=htmlspecialchars($pconfig['failover_peerip']);?>"><br>
+ <input name="failover_peerip" type="text" class="formfld host" id="failover_peerip" size="20" value="<?=htmlspecialchars($pconfig['failover_peerip']);?>"><br>
Leave blank to disable. Enter the REAL address of the other machine. Machines must be using CARP.
</td>
</tr>
@@ -524,7 +524,7 @@ function show_netboot_config() {
<input valign="middle" type="checkbox" value="yes" name="ddnsupdate" id="ddnsupdate" <?php if($pconfig['ddnsupdate']) echo " checked"; ?>>&nbsp;
<b>Enable registration of DHCP client names in DNS.</b><br />
<p>
- <input name="ddnsdomain" type="text" class="formfld" id="ddnsdomain" size="20" value="<?=htmlspecialchars($pconfig['ddnsdomain']);?>"><br />
+ <input name="ddnsdomain" type="text" class="formfld unknown" id="ddnsdomain" size="20" value="<?=htmlspecialchars($pconfig['ddnsdomain']);?>"><br />
Note: Leave blank to disable dynamic DNS registration.<br />
Enter the dynamic DNS domain which will be used to register client names in the DNS server.
</div>
@@ -537,8 +537,8 @@ function show_netboot_config() {
<input type="button" onClick="show_ntp_config()" value="Advanced"></input> - Show NTP configuration</a>
</div>
<div id="showntp" style="display:none">
- <input name="ntp1" type="text" class="formfld" id="ntp1" size="20" value="<?=htmlspecialchars($pconfig['ntp1']);?>"><br>
- <input name="ntp2" type="text" class="formfld" id="ntp2" size="20" value="<?=htmlspecialchars($pconfig['ntp2']);?>">
+ <input name="ntp1" type="text" class="formfld unknown" id="ntp1" size="20" value="<?=htmlspecialchars($pconfig['ntp1']);?>"><br>
+ <input name="ntp2" type="text" class="formfld unknown" id="ntp2" size="20" value="<?=htmlspecialchars($pconfig['ntp2']);?>">
</div>
</td>
</tr>
@@ -549,7 +549,7 @@ function show_netboot_config() {
<input type="button" onClick="show_tftp_config()" value="Advanced"></input> - Show TFTP configuration</a>
</div>
<div id="showtftp" style="display:none">
- <input name="tftp" type="text" class="formfld" id="tftp" size="50" value="<?=htmlspecialchars($pconfig['tftp']);?>"><br>
+ <input name="tftp" type="text" class="formfld unknown" id="tftp" size="50" value="<?=htmlspecialchars($pconfig['tftp']);?>"><br>
Leave blank to disable. Enter a full hostname or IP for the TFTP server.
</div>
</td>
@@ -561,7 +561,7 @@ function show_netboot_config() {
<input type="button" onClick="show_ldap_config()" value="Advanced"></input> - Show LDAP configuration</a>
</div>
<div id="showldap" style="display:none">
- <input name="ldap" type="text" class="formfld" id="ldap" size="80" value="<?=htmlspecialchars($pconfig['ldap']);?>"><br>
+ <input name="ldap" type="text" class="formfld unknown" id="ldap" size="80" value="<?=htmlspecialchars($pconfig['ldap']);?>"><br>
Leave blank to disable. Enter a full URI for the LDAP server in the form ldap://ldap.example.com/dc=example,dc=com
</div>
</td>
@@ -577,13 +577,13 @@ function show_netboot_config() {
<b>Enables network booting.</b>
<p>
Enter the IP of the <b>next-server</b>
- <input name="nextserver" type="text" class="formfld" id="nextserver" size="20" value="<?=htmlspecialchars($pconfig['nextserver']);?>">
+ <input name="nextserver" type="text" class="formfld unknown" id="nextserver" size="20" value="<?=htmlspecialchars($pconfig['nextserver']);?>">
and the filename
- <input name="filename" type="text" class="formfld" id="filename" size="20" value="<?=htmlspecialchars($pconfig['filename']);?>"><br>
+ <input name="filename" type="text" class="formfld unknown" id="filename" size="20" value="<?=htmlspecialchars($pconfig['filename']);?>"><br>
Note: You need both a filename and a boot server configured for this to work!
<p>
Enter the <b>root-path</b>-string
- <input name="rootpath" type="text" class="formfld" id="rootpath" size="90" value="<?=htmlspecialchars($pconfig['rootpath']);?>"><br>
+ <input name="rootpath" type="text" class="formfld unknown" id="rootpath" size="90" value="<?=htmlspecialchars($pconfig['rootpath']);?>"><br>
Note: string-format: iscsi:(servername):(protocol):(port):(LUN):targetname
</div>
</td>
diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php
index 370b9b6..6cbd77e 100755
--- a/usr/local/www/services_dhcp_edit.php
+++ b/usr/local/www/services_dhcp_edit.php
@@ -159,7 +159,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">MAC address</td>
<td width="78%" class="vtable">
- <input name="mac" type="text" class="formfld" id="mac" size="30" value="<?=htmlspecialchars($pconfig['mac']);?>">
+ <input name="mac" type="text" class="formfld unknown" id="mac" size="30" value="<?=htmlspecialchars($pconfig['mac']);?>">
<?php
$ip = getenv('REMOTE_ADDR');
$mac = `/usr/sbin/arp -an | grep {$ip} | cut -d" " -f4`;
@@ -173,20 +173,20 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncell">IP address</td>
<td width="78%" class="vtable">
- <input name="ipaddr" type="text" class="formfld" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
+ <input name="ipaddr" type="text" class="formfld unknown" id="ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipaddr']);?>">
<br>
If no IP address is given, one will be dynamically allocated from the pool.</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Hostname</td>
<td width="78%" class="vtable">
- <input name="hostname" type="text" class="formfld" id="hostname" size="20" value="<?=htmlspecialchars($pconfig['hostname']);?>">
+ <input name="hostname" type="text" class="formfld unknown" id="hostname" size="20" value="<?=htmlspecialchars($pconfig['hostname']);?>">
<br> <span class="vexpl">Name of the host, without domain part.</span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here
for your reference (not parsed).</span></td>
</tr>
diff --git a/usr/local/www/services_dhcp_relay.php b/usr/local/www/services_dhcp_relay.php
index 326a343..3d798ed 100755
--- a/usr/local/www/services_dhcp_relay.php
+++ b/usr/local/www/services_dhcp_relay.php
@@ -210,7 +210,7 @@ function enable_change(enable_over) {
<td width="22%" valign="top" class="vncell">Destination server</td>
<td width="78%" class="vtable">
<input name="proxydhcp" type="checkbox" value="yes" <?php if ($pconfig['proxydhcp']) echo "checked"; ?> onClick="enable_change(false)"> Proxy requests to DHCP server on WAN subnet
- <br><br><input name="server" type="text" class="formfld" id="server" size="20" value="<?=htmlspecialchars($pconfig['server']);?>">
+ <br><br><input name="server" type="text" class="formfld unknown" id="server" size="20" value="<?=htmlspecialchars($pconfig['server']);?>">
<br>
This is the IP address of the server to which the DHCP packet is relayed. Select "Proxy requests to DHCP server on WAN subnet" to relay DHCP packets to the server that was used on the WAN interface.
</td>
diff --git a/usr/local/www/services_dnsmasq_domainoverride_edit.php b/usr/local/www/services_dnsmasq_domainoverride_edit.php
index 730da16..a795c9f 100755
--- a/usr/local/www/services_dnsmasq_domainoverride_edit.php
+++ b/usr/local/www/services_dnsmasq_domainoverride_edit.php
@@ -108,21 +108,21 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Domain</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="domain" type="text" class="formfld" id="domain" size="40" value="<?=htmlspecialchars($pconfig['domain']);?>">
+ <?=$mandfldhtml;?><input name="domain" type="text" class="formfld unknown" id="domain" size="40" value="<?=htmlspecialchars($pconfig['domain']);?>">
<br> <span class="vexpl">Domain to override (NOTE: this does not have to be a valid TLD!)<br>
e.g. <em>test</em></span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">IP address</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="ip" type="text" class="formfld" id="ip" size="40" value="<?=htmlspecialchars($pconfig['ip']);?>">
+ <?=$mandfldhtml;?><input name="ip" type="text" class="formfld unknown" id="ip" size="40" value="<?=htmlspecialchars($pconfig['ip']);?>">
<br> <span class="vexpl">IP address of the authoritative dns server for this domain<br>
e.g. <em>192.168.100.100</em></span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here
for your reference (not parsed).</span></td>
</tr>
diff --git a/usr/local/www/services_dyndns.php b/usr/local/www/services_dyndns.php
index a9633d5..d1b5f6b 100755
--- a/usr/local/www/services_dyndns.php
+++ b/usr/local/www/services_dyndns.php
@@ -174,7 +174,7 @@ function enable_change(enable_change) {
<tr>
<td width="22%" valign="top" class="vncellreq">Service type</td>
<td width="78%" class="vtable">
-<select name="type" class="formfld" id="type">
+ <select name="type" class="formselect" id="type">
<?php
$types = explode(",", "DynDNS (dynamic),DynDNS (static),DynDNS (custom),DHS,DyNS,easyDNS,No-IP,ODS.org,ZoneEdit");
$vals = explode(" ", "dyndns dyndns-static dyndns-custom dhs dyns easydns noip ods zoneedit");
@@ -188,7 +188,7 @@ function enable_change(enable_change) {
<tr>
<td width="22%" valign="top" class="vncellreq">Hostname</td>
<td width="78%" class="vtable">
- <input name="host" type="text" class="formfld" id="host" size="30" value="<?=htmlspecialchars($pconfig['host']);?>">
+ <input name="host" type="text" class="formfld unknown" id="host" size="30" value="<?=htmlspecialchars($pconfig['host']);?>">
<br>
<span class="vexpl">
<span class="red"><strong>Note:<br></strong>
@@ -200,7 +200,7 @@ function enable_change(enable_change) {
<tr>
<td width="22%" valign="top" class="vncell">MX</td>
<td width="78%" class="vtable">
- <input name="mx" type="text" class="formfld" id="mx" size="30" value="<?=htmlspecialchars($pconfig['mx']);?>">
+ <input name="mx" type="text" class="formfld unknown" id="mx" size="30" value="<?=htmlspecialchars($pconfig['mx']);?>">
<br>
Note: With DynDNS service you can only use a hostname, not an IP address.
<br>
@@ -216,13 +216,13 @@ function enable_change(enable_change) {
<tr>
<td width="22%" valign="top" class="vncellreq">Username</td>
<td width="78%" class="vtable">
- <input name="username" type="text" class="formfld" id="username" size="20" value="<?=htmlspecialchars($pconfig['username']);?>">
+ <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">Password</td>
<td width="78%" class="vtable">
- <input name="password" type="password" class="formfld" id="password" size="20" value="<?=htmlspecialchars($pconfig['password']);?>">
+ <input name="password" type="password" class="formfld pwd" id="password" size="20" value="<?=htmlspecialchars($pconfig['password']);?>">
</td>
</tr>
<tr>
@@ -244,19 +244,19 @@ function enable_change(enable_change) {
<tr>
<td width="22%" valign="top" class="vncellreq">Hostname</td>
<td width="78%" class="vtable">
- <input name="dnsupdate_host" type="text" class="formfld" id="dnsupdate_host" size="30" value="<?=htmlspecialchars($pconfig['dnsupdate_host']);?>">
+ <input name="dnsupdate_host" type="text" class="formfld unknown" id="dnsupdate_host" size="30" value="<?=htmlspecialchars($pconfig['dnsupdate_host']);?>">
</td>
</tr>
<tr>
<td valign="top" class="vncellreq">TTL</td>
<td class="vtable">
- <input name="dnsupdate_ttl" type="text" class="formfld" id="dnsupdate_ttl" size="6" value="<?=htmlspecialchars($pconfig['dnsupdate_ttl']);?>">
+ <input name="dnsupdate_ttl" type="text" class="formfld unknown" id="dnsupdate_ttl" size="6" value="<?=htmlspecialchars($pconfig['dnsupdate_ttl']);?>">
seconds</td>
</tr>
<tr>
<td valign="top" class="vncellreq">Key name</td>
<td class="vtable">
- <input name="dnsupdate_keyname" type="text" class="formfld" id="dnsupdate_keyname" size="30" value="<?=htmlspecialchars($pconfig['dnsupdate_keyname']);?>">
+ <input name="dnsupdate_keyname" type="text" class="formfld unknown" id="dnsupdate_keyname" size="30" value="<?=htmlspecialchars($pconfig['dnsupdate_keyname']);?>">
<br>
This must match the setting on the DNS server.</td>
</tr>
@@ -270,7 +270,7 @@ function enable_change(enable_change) {
<tr>
<td valign="top" class="vncellreq">Key</td>
<td class="vtable">
- <input name="dnsupdate_keydata" type="text" class="formfld" id="dnsupdate_keydata" size="70" value="<?=htmlspecialchars($pconfig['dnsupdate_keydata']);?>">
+ <input name="dnsupdate_keydata" type="text" class="formfld unknown" id="dnsupdate_keydata" size="70" value="<?=htmlspecialchars($pconfig['dnsupdate_keydata']);?>">
<br>
Paste an HMAC-MD5 key here.</td>
</tr>
diff --git a/usr/local/www/services_proxyarp_edit.php b/usr/local/www/services_proxyarp_edit.php
index 922906a..22444ba 100755
--- a/usr/local/www/services_proxyarp_edit.php
+++ b/usr/local/www/services_proxyarp_edit.php
@@ -172,7 +172,7 @@ function typesel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">Interface</td>
<td width="78%" class="vtable">
- <select name="interface" class="formfld">
+ <select name="interface" class="formselect">
<?php $interfaces = array('wan' => 'WAN', 'lan' => 'LAN');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
$interfaces['opt' . $i] = $config['interfaces']['opt' . $i]['descr'];
@@ -190,7 +190,7 @@ function typesel_change() {
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>Type:&nbsp;&nbsp;</td>
- <td><select name="type" class="formfld" onChange="typesel_change()">
+ <td><select name="type" class="formselect" onChange="typesel_change()">
<option value="single" <?php if (!$pconfig['range_from'] && $pconfig['subnet_bits'] == 32) echo "selected"; ?>>
Single address</option>
<option value="network" <?php if (!$pconfig['range_from'] && $pconfig['subnet_bits'] != 32) echo "selected"; ?>>
@@ -201,9 +201,9 @@ function typesel_change() {
</tr>
<tr>
<td>Address:&nbsp;&nbsp;</td>
- <td><input name="subnet" type="text" class="formfld" id="subnet" size="20" value="<?=htmlspecialchars($pconfig['subnet']);?>">
+ <td><input name="subnet" type="text" class="formfld unknown" id="subnet" size="20" value="<?=htmlspecialchars($pconfig['subnet']);?>">
/
- <select name="subnet_bits" class="formfld" id="select">
+ <select name="subnet_bits" class="formselect" id="select">
<?php for ($i = 31; $i >= 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['subnet_bits']) echo "selected"; ?>>
<?=$i;?>
@@ -214,9 +214,9 @@ function typesel_change() {
</tr>
<tr>
<td>Range:&nbsp;&nbsp;</td>
- <td><input name="range_from" type="text" class="formfld" id="range_from" size="20" value="<?=htmlspecialchars($pconfig['range_from']);?>">
+ <td><input name="range_from" type="text" class="formfld unknown" id="range_from" size="20" value="<?=htmlspecialchars($pconfig['range_from']);?>">
-
- <input name="range_to" type="text" class="formfld" id="range_to" size="20" value="<?=htmlspecialchars($pconfig['range_to']);?>">
+ <input name="range_to" type="text" class="formfld unknown" id="range_to" size="20" value="<?=htmlspecialchars($pconfig['range_to']);?>">
</td>
</tr>
</table>
@@ -225,7 +225,7 @@ function typesel_change() {
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here
for your reference (not parsed).</span></td>
</tr>
diff --git a/usr/local/www/services_snmp.php b/usr/local/www/services_snmp.php
index 0fee7b8..10d5698 100755
--- a/usr/local/www/services_snmp.php
+++ b/usr/local/www/services_snmp.php
@@ -263,7 +263,7 @@ function enable_change(whichone) {
<tr>
<td width="22%" valign="top" class="vncellreq">Polling Port </td>
<td width="78%" class="vtable">
- <input name="pollport" type="text" class="formfld" id="pollport" size="40" value="<?=$pconfig['pollport'] ? htmlspecialchars($pconfig['pollport']) : htmlspecialchars(161);?>">
+ <input name="pollport" type="text" class="formfld unknown" id="pollport" size="40" value="<?=$pconfig['pollport'] ? htmlspecialchars($pconfig['pollport']) : htmlspecialchars(161);?>">
<br>Enter the port to accept polling events on (default 161)</br>
</td>
</tr>
@@ -271,21 +271,21 @@ function enable_change(whichone) {
<tr>
<td width="22%" valign="top" class="vncell">System location</td>
<td width="78%" class="vtable">
- <input name="syslocation" type="text" class="formfld" id="syslocation" size="40" value="<?=htmlspecialchars($pconfig['syslocation']);?>">
+ <input name="syslocation" type="text" class="formfld unknown" id="syslocation" size="40" value="<?=htmlspecialchars($pconfig['syslocation']);?>">
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">System contact</td>
<td width="78%" class="vtable">
- <input name="syscontact" type="text" class="formfld" id="syscontact" size="40" value="<?=htmlspecialchars($pconfig['syscontact']);?>">
+ <input name="syscontact" type="text" class="formfld unknown" id="syscontact" size="40" value="<?=htmlspecialchars($pconfig['syscontact']);?>">
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Read Community String</td>
<td width="78%" class="vtable">
- <input name="rocommunity" type="text" class="formfld" id="rocommunity" size="40" value="<?=htmlspecialchars($pconfig['rocommunity']);?>">
+ <input name="rocommunity" type="text" class="formfld unknown" id="rocommunity" size="40" value="<?=htmlspecialchars($pconfig['rocommunity']);?>">
<br>In most cases, &quot;public&quot; is used here</br>
</td>
</tr>
@@ -303,7 +303,7 @@ function enable_change(whichone) {
<tr>
<td width="22%" valign="top" class="vncellreq">Write community string</td>
<td width="78%" class="vtable">
- <input name="rwcommunity" type="text" class="formfld" id="rwcommunity" size="40" value="<?=htmlspecialchars($pconfig['rwcommunity']);?>">
+ <input name="rwcommunity" type="text" class="formfld unknown" id="rwcommunity" size="40" value="<?=htmlspecialchars($pconfig['rwcommunity']);?>">
<br>Please use something other then &quot;private&quot; here</br>
</td>
</tr>
@@ -324,7 +324,7 @@ function enable_change(whichone) {
<tr>
<td width="22%" valign="top" class="vncellreq">Trap server</td>
<td width="78%" class="vtable">
- <input name="trapserver" type="text" class="formfld" id="trapserver" size="40" value="<?=htmlspecialchars($pconfig['trapserver']);?>">
+ <input name="trapserver" type="text" class="formfld unknown" id="trapserver" size="40" value="<?=htmlspecialchars($pconfig['trapserver']);?>">
<br>Enter trap server name</br>
</td>
</tr>
@@ -332,7 +332,7 @@ function enable_change(whichone) {
<tr>
<td width="22%" valign="top" class="vncellreq">Trap server port </td>
<td width="78%" class="vtable">
- <input name="trapserverport" type="text" class="formfld" id="trapserverport" size="40" value="<?=$pconfig['trapserverport'] ? htmlspecialchars($pconfig['trapserverport']) : htmlspecialchars(162);?>">
+ <input name="trapserverport" type="text" class="formfld unknown" id="trapserverport" size="40" value="<?=$pconfig['trapserverport'] ? htmlspecialchars($pconfig['trapserverport']) : htmlspecialchars(162);?>">
<br>Enter the port to send the traps to (default 162)</br>
</td>
</tr>
@@ -340,7 +340,7 @@ function enable_change(whichone) {
<tr>
<td width="22%" valign="top" class="vncellreq">Enter the SNMP trap string</td>
<td width="78%" class="vtable">
- <input name="trapstring" type="text" class="formfld" id="trapstring" size="40" value="<?=htmlspecialchars($pconfig['trapstring']);?>">
+ <input name="trapstring" type="text" class="formfld unknown" id="trapstring" size="40" value="<?=htmlspecialchars($pconfig['trapstring']);?>">
<br>Trap string</br>
</td>
</tr>
diff --git a/usr/local/www/services_usermanager.php b/usr/local/www/services_usermanager.php
index 8ab5cd3..d0675b0 100755
--- a/usr/local/www/services_usermanager.php
+++ b/usr/local/www/services_usermanager.php
@@ -112,35 +112,35 @@ if($_GET['act']=="new" || $_GET['act']=="edit"){
<tr>
<td width="22%" valign="top" class="vncellreq">Username</td>
<td width="78%" class="vtable">
- <input name="username" type="text" class="formfld" id="username" size="20" value="<? echo $_GET['username']; ?>">
+ <input name="username" type="text" class="formfld user" id="username" size="20" value="<? echo $_GET['username']; ?>">
<br>
<span class="vexpl">Enter the desired username.</span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Password</td>
<td width="78%" class="vtable">
- <input name="password1" type="password" class="formfld" id="password1" size="20" value="<?php echo ($_GET['act']=='edit' ? "********" : "" ); ?>">
+ <input name="password1" type="password" class="formfld pwd" id="password1" size="20" value="<?php echo ($_GET['act']=='edit' ? "********" : "" ); ?>">
<br>
<span class="vexpl">Enter the desired password.</span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Password confirmation</td>
<td width="78%" class="vtable">
- <input name="password2" type="password" class="formfld" id="password2" size="20" value="<?php echo ($_GET['act']=='edit' ? "********" : "" ); ?>">
+ <input name="password2" type="password" class="formfld pwd" id="password2" size="20" value="<?php echo ($_GET['act']=='edit' ? "********" : "" ); ?>">
<br>
<span class="vexpl">Confirm the above password.</span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Full name</td>
<td width="78%" class="vtable">
- <input name="fullname" type="text" class="formfld" id="fullname" size="20" value="<? echo $user['fullname']; ?>">
+ <input name="fullname" type="text" class="formfld unknown" id="fullname" size="20" value="<? echo $user['fullname']; ?>">
<br>
Enter the user's full name.</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Expiration Date</td>
<td width="78%" class="vtable">
- <input name="expirationdate" type="text" class="formfld" id="expirationdate" size="10" value="<? echo $user['expirationdate']; ?>">
+ <input name="expirationdate" type="text" class="formfld unknown" id="expirationdate" size="10" value="<? echo $user['expirationdate']; ?>">
<a href="javascript:NewCal('expirationdate','mmddyyyy')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_cal.gif" width="16" height="16" border="0" alt="Pick a date"></a>
<br> <span class="vexpl">Enter this acocunt's expiration date in us-format (mm/dd/yyyy) or leave this field empty for no expiration.</span></td>
</tr>
diff --git a/usr/local/www/services_wol.php b/usr/local/www/services_wol.php
index 6ddcf78..6153faf 100755
--- a/usr/local/www/services_wol.php
+++ b/usr/local/www/services_wol.php
@@ -105,7 +105,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Interface</td>
<td width="78%" class="vtable">
- <select name="interface" class="formfld">
+ <select name="interface" class="formselect">
<?php $interfaces = array('lan' => 'LAN');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
if (isset($config['interfaces']['opt' . $i]['enable']) &&
@@ -123,7 +123,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">MAC address</td>
<td width="78%" class="vtable">
- <input name="mac" type="text" class="formfld" id="mac" size="20" value="<?=htmlspecialchars($mac);?>">
+ <input name="mac" type="text" class="formfld unknown" id="mac" size="20" value="<?=htmlspecialchars($mac);?>">
<br>
Enter a MAC address <span class="vexpl"> in the following format: xx:xx:xx:xx:xx:xx</span></td></tr>
<tr>
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php
index 4c87ba4..e4b57d0 100755
--- a/usr/local/www/status_graph.php
+++ b/usr/local/www/status_graph.php
@@ -76,7 +76,7 @@ if((isset($config['ipsec']['enable'])) || (isset($config['ipsec']['mobileclients
?>
<form name="form1" action="status_graph.php" method="get" style="padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid #999999">
Interface:
-<select name="if" class="formfld" style="z-index: -10;" onchange="document.form1.submit()">
+<select name="if" class="formselect" style="z-index: -10;" onchange="document.form1.submit()">
<?php
foreach ($ifdescrs as $ifn => $ifd) {
echo "<option value=\"$ifn\"";
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index f5bbe32..e4ee36d 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -202,22 +202,22 @@ include("head.inc");
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td width="22%" valign="top" class="vncellreq">Hostname</td>
- <td width="78%" class="vtable"> <input name="hostname" type="text" class="formfld" id="hostname" size="40" value="<?=htmlspecialchars($pconfig['hostname']);?>">
+ <td width="78%" class="vtable"> <input name="hostname" type="text" class="formfld unknown" id="hostname" size="40" value="<?=htmlspecialchars($pconfig['hostname']);?>">
<br> <span class="vexpl">name of the firewall host, without
domain part<br>
e.g. <em>firewall</em></span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Domain</td>
- <td width="78%" class="vtable"> <input name="domain" type="text" class="formfld" id="domain" size="40" value="<?=htmlspecialchars($pconfig['domain']);?>">
+ <td width="78%" class="vtable"> <input name="domain" type="text" class="formfld unknown" id="domain" size="40" value="<?=htmlspecialchars($pconfig['domain']);?>">
<br> <span class="vexpl">e.g. <em>mycorp.com</em> </span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">DNS servers</td>
<td width="78%" class="vtable"> <p>
- <input name="dns1" type="text" class="formfld" id="dns1" size="20" value="<?=htmlspecialchars($pconfig['dns1']);?>">
+ <input name="dns1" type="text" class="formfld unknown" id="dns1" size="20" value="<?=htmlspecialchars($pconfig['dns1']);?>">
<br>
- <input name="dns2" type="text" class="formfld" id="dns22" size="20" value="<?=htmlspecialchars($pconfig['dns2']);?>">
+ <input name="dns2" type="text" class="formfld unknown" id="dns22" size="20" value="<?=htmlspecialchars($pconfig['dns2']);?>">
<br>
<span class="vexpl">IP addresses; these are also used for
the DHCP service, DNS forwarder and for PPTP VPN clients<br>
@@ -231,22 +231,6 @@ include("head.inc");
PPTP VPN clients, though.</span></p></td>
</tr>
<tr>
- <td valign="top" class="vncell">Username</td>
- <td class="vtable"> <input name="username" type="text" class="formfld" id="username" size="20" value="<?=$pconfig['username'];?>">
- <br>
- <span class="vexpl">If you want
- to change the username for accessing the webGUI, enter it
- here.</span></td>
- </tr>
- <tr>
- <td width="22%" valign="top" class="vncell">Password</td>
- <td width="78%" class="vtable"> <input name="password" type="password" class="formfld" id="password" size="20">
- <br> <input name="password2" type="password" class="formfld" id="password2" size="20">
- &nbsp;(confirmation) <br> <span class="vexpl">If you want
- to change the password for accessing the webGUI, enter it
- here twice.</span></td>
- </tr>
- <tr>
<td width="22%" valign="top" class="vncell">webGUI protocol</td>
<td width="78%" class="vtable"> <input name="webguiproto" type="radio" value="http" <?php if ($pconfig['webguiproto'] == "http") echo "checked"; ?>>
HTTP &nbsp;&nbsp;&nbsp; <input type="radio" name="webguiproto" value="https" <?php if ($pconfig['webguiproto'] == "https") echo "checked"; ?>>
@@ -254,7 +238,7 @@ include("head.inc");
</tr>
<tr>
<td valign="top" class="vncell">webGUI port</td>
- <td class="vtable"> <input name="webguiport" type="text" class="formfld" id="webguiport" "size="5" value="<?=htmlspecialchars($config['system']['webgui']['port']);?>">
+ <td class="vtable"> <input name="webguiport" type="text" class="formfld unknown" id="webguiport" "size="5" value="<?=htmlspecialchars($config['system']['webgui']['port']);?>">
<br>
<span class="vexpl">Enter a custom port number for the webGUI
above if you want to override the default (80 for HTTP, 443
@@ -274,14 +258,14 @@ include("head.inc");
<!--
<tr>
<td width="22%" valign="top" class="vncell">Time update interval</td>
- <td width="78%" class="vtable"> <input name="timeupdateinterval" type="text" class="formfld" id="timeupdateinterval" size="4" value="<?=htmlspecialchars($pconfig['timeupdateinterval']);?>">
+ <td width="78%" class="vtable"> <input name="timeupdateinterval" type="text" class="formfld unknown" id="timeupdateinterval" size="4" value="<?=htmlspecialchars($pconfig['timeupdateinterval']);?>">
<br> <span class="vexpl">Minutes between network time sync.;
300 recommended, or 0 to disable </span></td>
</tr>
-->
<tr>
<td width="22%" valign="top" class="vncell">NTP time server</td>
- <td width="78%" class="vtable"> <input name="timeservers" type="text" class="formfld" id="timeservers" size="40" value="<?=htmlspecialchars($pconfig['timeservers']);?>">
+ <td width="78%" class="vtable"> <input name="timeservers" type="text" class="formfld unknown" id="timeservers" size="40" value="<?=htmlspecialchars($pconfig['timeservers']);?>">
<br> <span class="vexpl">Use a space to separate multiple
hosts (only one required). Remember to set up at least one
DNS server if you enter a host name here!</span></td>
@@ -333,4 +317,4 @@ include("head.inc");
if ($restart_webgui) {
touch("/tmp/restart_webgui");
}
-?> \ No newline at end of file
+?>
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 32d5e99..feab190 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -373,7 +373,7 @@ include("head.inc");
<input name="ipv6nat_enable" type="checkbox" id="ipv6nat_enable" value="yes" <?php if ($pconfig['ipv6nat_enable']) echo "checked"; ?> onclick="enable_change(false)" />
<strong>NAT encapsulated IPv6 packets (IP protocol 41/RFC2893) to:</strong>
<br /> <br />
- <input name="ipv6nat_ipaddr" type="text" class="formfld" id="ipv6nat_ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipv6nat_ipaddr']);?>" />
+ <input name="ipv6nat_ipaddr" type="text" class="formfld unknown" id="ipv6nat_ipaddr" size="20" value="<?=htmlspecialchars($pconfig['ipv6nat_ipaddr']);?>" />
&nbsp;(IP address)<span class="vexpl"><br /> Don't forget to add a firewall rule to permit IPv6 packets!</span>
</td>
</tr>
@@ -488,7 +488,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncell">Hard disk standby time </td>
<td width="78%" class="vtable">
- <select name="harddiskstandby" class="formfld">
+ <select name="harddiskstandby" class="formselect">
<?php
## Values from ATA-2 http://www.t13.org/project/d0948r3-ATA-2.pdf (Page 66)
$sbvals = explode(" ", "0.5,6 1,12 2,24 3,36 4,48 5,60 7.5,90 10,120 15,180 20,240 30,241 60,242");
diff --git a/usr/local/www/system_firmware_settings.php b/usr/local/www/system_firmware_settings.php
index 1373b8f..bf12d90 100755
--- a/usr/local/www/system_firmware_settings.php
+++ b/usr/local/www/system_firmware_settings.php
@@ -133,8 +133,8 @@ function enable_altfirmwareurl(enable_over) {
<td class="vtable">
<input name="alturlenable" type="checkbox" id="alturlenable" value="yes" onClick="enable_altfirmwareurl()" <?php if(isset($curcfg['alturl']['enable'])) echo "checked"; ?>> Use a different XMLRPC server for firmware upgrades<br>
<table>
- <tr><td>Base URL:</td><td><input name="firmwareurl" type="input" id="firmwareurl" size="64" value="<?php if($curcfg['alturl']['firmwareurl']) echo $curcfg['alturl']['firmwareurl']; else echo $g['xmlrpcbaseurl']; ?>"></td></tr>
- <tr><td>Path:</td><td><input name="firmwarepath" type="input" id="firmwarepath" size="64" value="<?php if($curcfg['alturl']['firmwarepath']) echo $curcfg['alturl']['firmwarepath']; else echo $g['xmlrpcpath']; ?>"></td></tr>
+ <tr><td>Base URL:</td><td><input name="firmwareurl" type="input" class="formfld url" id="firmwareurl" size="64" value="<?php if($curcfg['alturl']['firmwareurl']) echo $curcfg['alturl']['firmwareurl']; else echo $g['xmlrpcbaseurl']; ?>"></td></tr>
+ <tr><td>Path:</td><td><input name="firmwarepath" type="input" class="formfld unknown"id="firmwarepath" size="64" value="<?php if($curcfg['alturl']['firmwarepath']) echo $curcfg['alturl']['firmwarepath']; else echo $g['xmlrpcpath']; ?>"></td></tr>
</table>
<span class="vexpl">This is where pfSense will check for newer firmware versions when the <a href="system_firmware_check.php">System: Firmware: Auto Update</a> page is viewed.</span></td>
</tr>
diff --git a/usr/local/www/system_routes_edit.php b/usr/local/www/system_routes_edit.php
index e2457b8..da09d99 100755
--- a/usr/local/www/system_routes_edit.php
+++ b/usr/local/www/system_routes_edit.php
@@ -124,7 +124,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Interface</td>
<td width="78%" class="vtable">
-<select name="interface" class="formfld">
+ <select name="interface" class="formselect">
<?php $interfaces = array('lan' => 'LAN', 'wan' => 'WAN', 'pptp' => 'PPTP');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
$interfaces['opt' . $i] = $config['interfaces']['opt' . $i]['descr'];
@@ -140,9 +140,9 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Destination network</td>
<td width="78%" class="vtable">
- <input name="network" type="text" class="formfld" id="network" size="20" value="<?=htmlspecialchars($pconfig['network']);?>">
+ <input name="network" type="text" class="formfld unknown" id="network" size="20" value="<?=htmlspecialchars($pconfig['network']);?>">
/
- <select name="network_subnet" class="formfld" id="network_subnet">
+ <select name="network_subnet" class="formselect" id="network_subnet">
<?php for ($i = 32; $i >= 1; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['network_subnet']) echo "selected"; ?>>
<?=$i;?>
@@ -154,13 +154,13 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Gateway</td>
<td width="78%" class="vtable">
- <input name="gateway" type="text" class="formfld" id="gateway" size="40" value="<?=htmlspecialchars($pconfig['gateway']);?>">
+ <input name="gateway" type="text" class="formfld host" id="gateway" size="40" value="<?=htmlspecialchars($pconfig['gateway']);?>">
<br> <span class="vexpl">Gateway to be used to reach the destination network</span></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here
for your reference (not parsed).</span></td>
</tr>
diff --git a/usr/local/www/vpn_ipsec_ca_edit.php b/usr/local/www/vpn_ipsec_ca_edit.php
index 2a0d776..124897a 100755
--- a/usr/local/www/vpn_ipsec_ca_edit.php
+++ b/usr/local/www/vpn_ipsec_ca_edit.php
@@ -106,7 +106,7 @@ include("head.inc");
<tr>
<td valign="top" class="vncellreq">Identifier</td>
<td class="vtable">
- <input name="ident" type="text" class="formfld" id="ident" size="30" value="<?=$pconfig['ident'];?>">
+ <input name="ident" type="text" class="formfld unknown" id="ident" size="30" value="<?=$pconfig['ident'];?>">
<br>This can be any text to describe the certificate authority.
</td>
</tr>
diff --git a/usr/local/www/vpn_ipsec_edit.php b/usr/local/www/vpn_ipsec_edit.php
index bee6c6a..4e2b8b2 100755
--- a/usr/local/www/vpn_ipsec_edit.php
+++ b/usr/local/www/vpn_ipsec_edit.php
@@ -355,7 +355,7 @@ function methodsel_change() {
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Interface</td>
- <td width="78%" class="vtable"><select name="interface" class="formfld">
+ <td width="78%" class="vtable"><select name="interface" class="formselect">
<?php
$interfaces = array('wan' => 'WAN', 'lan' => 'LAN');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
@@ -381,7 +381,7 @@ function methodsel_change() {
<tr>
<td>Type:&nbsp;&nbsp;</td>
<td></td>
- <td><select name="localnettype" class="formfld" onChange="typesel_change()">
+ <td><select name="localnettype" class="formselect" onChange="typesel_change()">
<?php $sel = is_specialnet($pconfig['localnet']); ?>
<option value="single" <?php if (($pconfig['localnetmask'] == 32) && !$sel) { echo "selected"; $sel = 1; } ?>>
Single host</option>
@@ -394,9 +394,9 @@ function methodsel_change() {
<tr>
<td>Address:&nbsp;&nbsp;</td>
<td><?=$mandfldhtmlspc;?></td>
- <td><input name="localnet" type="text" class="formfld" id="localnet" size="20" value="<?php if (!is_specialnet($pconfig['localnet'])) echo htmlspecialchars($pconfig['localnet']);?>">
+ <td><input name="localnet" type="text" class="formfld unknown" id="localnet" size="20" value="<?php if (!is_specialnet($pconfig['localnet'])) echo htmlspecialchars($pconfig['localnet']);?>">
/
- <select name="localnetmask" class="formfld" id="localnetmask">
+ <select name="localnetmask" class="formselect" id="localnetmask">
<?php for ($i = 31; $i >= 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['localnetmask']) echo "selected"; ?>>
<?=$i;?>
@@ -409,9 +409,9 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">Remote subnet</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="remotenet" type="text" class="formfld" id="remotenet" size="20" value="<?=$pconfig['remotenet'];?>">
+ <?=$mandfldhtml;?><input name="remotenet" type="text" class="formfld unknown" id="remotenet" size="20" value="<?=$pconfig['remotenet'];?>">
/
- <select name="remotebits" class="formfld" id="remotebits">
+ <select name="remotebits" class="formselect" id="remotebits">
<?php for ($i = 32; $i >= 0; $i--): ?>
<option value="<?=$i;?>" <?php if ($i == $pconfig['remotebits']) echo "selected"; ?>>
<?=$i;?>
@@ -422,14 +422,14 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">Remote gateway</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="remotegw" type="text" class="formfld" id="remotegw" size="20" value="<?=$pconfig['remotegw'];?>">
+ <?=$mandfldhtml;?><input name="remotegw" type="text" class="formfld unknown" id="remotegw" size="20" value="<?=$pconfig['remotegw'];?>">
<br>
Enter the public IP address of the remote gateway</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Description</td>
<td width="78%" class="vtable">
- <input name="descr" type="text" class="formfld" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
+ <input name="descr" type="text" class="formfld unknown" id="descr" size="40" value="<?=htmlspecialchars($pconfig['descr']);?>">
<br> <span class="vexpl">You may enter a description here
for your reference (not parsed).</span></td>
</tr>
@@ -443,7 +443,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">Negotiation mode</td>
<td width="78%" class="vtable">
- <select name="p1mode" class="formfld">
+ <select name="p1mode" class="formfld unknown">
<?php $modes = explode(" ", "main aggressive"); foreach ($modes as $mode): ?>
<option value="<?=$mode;?>" <?php if ($mode == $pconfig['p1mode']) echo "selected"; ?>>
<?=htmlspecialchars($mode);?>
@@ -455,19 +455,19 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">My identifier</td>
<td width="78%" class="vtable">
- <select name="p1myidentt" class="formfld">
+ <select name="p1myidentt" class="formselect">
<?php foreach ($my_identifier_list as $mode => $modename): ?>
<option value="<?=$mode;?>" <?php if ($mode == $pconfig['p1myidentt']) echo "selected"; ?>>
<?=htmlspecialchars($modename);?>
</option>
<?php endforeach; ?>
- </select> <input name="p1myident" type="text" class="formfld" id="p1myident" size="30" value="<?=$pconfig['p1myident'];?>">
+ </select> <input name="p1myident" type="text" class="formfld unknown" id="p1myident" size="30" value="<?=$pconfig['p1myident'];?>">
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Encryption algorithm</td>
<td width="78%" class="vtable">
- <select name="p1ealgo" class="formfld">
+ <select name="p1ealgo" class="formselect">
<?php foreach ($p1_ealgos as $algo => $algoname): ?>
<option value="<?=$algo;?>" <?php if ($algo == $pconfig['p1ealgo']) echo "selected"; ?>>
<?=htmlspecialchars($algoname);?>
@@ -479,7 +479,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">Hash algorithm</td>
<td width="78%" class="vtable">
- <select name="p1halgo" class="formfld">
+ <select name="p1halgo" class="formselect">
<?php foreach ($p1_halgos as $algo => $algoname): ?>
<option value="<?=$algo;?>" <?php if ($algo == $pconfig['p1halgo']) echo "selected"; ?>>
<?=htmlspecialchars($algoname);?>
@@ -491,7 +491,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">DH key group</td>
<td width="78%" class="vtable">
- <select name="p1dhgroup" class="formfld">
+ <select name="p1dhgroup" class="formselect">
<?php $keygroups = explode(" ", "1 2 5"); foreach ($keygroups as $keygroup): ?>
<option value="<?=$keygroup;?>" <?php if ($keygroup == $pconfig['p1dhgroup']) echo "selected"; ?>>
<?=htmlspecialchars($keygroup);?>
@@ -504,13 +504,13 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncell">Lifetime</td>
<td width="78%" class="vtable">
- <input name="p1lifetime" type="text" class="formfld" id="p1lifetime" size="20" value="<?=$pconfig['p1lifetime'];?>">
+ <input name="p1lifetime" type="text" class="formfld unknown" id="p1lifetime" size="20" value="<?=$pconfig['p1lifetime'];?>">
seconds</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Authentication method</td>
<td width="78%" class="vtable">
- <select name="p1authentication_method" class="formfld" onChange="methodsel_change()">
+ <select name="p1authentication_method" class="formselect" onChange="methodsel_change()">
<?php foreach ($p1_authentication_methods as $method => $methodname): ?>
<option value="<?=$method;?>" <?php if ($method == $pconfig['p1authentication_method']) echo "selected"; ?>>
<?=htmlspecialchars($methodname);?>
@@ -522,7 +522,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">Pre-Shared Key</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="p1pskey" type="text" class="formfld" id="p1pskey" size="40" value="<?=htmlspecialchars($pconfig['p1pskey']);?>">
+ <?=$mandfldhtml;?><input name="p1pskey" type="text" class="formfld unknown" id="p1pskey" size="40" value="<?=htmlspecialchars($pconfig['p1pskey']);?>">
</td>
</tr>
<tr>
@@ -557,7 +557,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">Protocol</td>
<td width="78%" class="vtable">
- <select name="p2proto" class="formfld">
+ <select name="p2proto" class="formselect">
<?php foreach ($p2_protos as $proto => $protoname): ?>
<option value="<?=$proto;?>" <?php if ($proto == $pconfig['p2proto']) echo "selected"; ?>>
<?=htmlspecialchars($protoname);?>
@@ -592,7 +592,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">PFS key group</td>
<td width="78%" class="vtable">
- <select name="p2pfsgroup" class="formfld">
+ <select name="p2pfsgroup" class="formselect">
<?php foreach ($p2_pfskeygroups as $keygroup => $keygroupname): ?>
<option value="<?=$keygroup;?>" <?php if ($keygroup == $pconfig['p2pfsgroup']) echo "selected"; ?>>
<?=htmlspecialchars($keygroupname);?>
@@ -604,7 +604,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncell">Lifetime</td>
<td width="78%" class="vtable">
- <input name="p2lifetime" type="text" class="formfld" id="p2lifetime" size="20" value="<?=$pconfig['p2lifetime'];?>">
+ <input name="p2lifetime" type="text" class="formfld unknown" id="p2lifetime" size="20" value="<?=$pconfig['p2lifetime'];?>">
seconds</td>
</tr>
<tr>
@@ -616,7 +616,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncell">Automatically ping host</td>
<td width="78%" class="vtable">
- <input name="pinghost" type="text" class="formfld" id="pinghost" size="20" value="<?=$pconfig['pinghost'];?>"> IP address</td>
+ <input name="pinghost" type="text" class="formfld unknown" id="pinghost" size="20" value="<?=$pconfig['pinghost'];?>"> IP address</td>
</tr>
<tr>
<td width="22%" valign="top">&nbsp;</td>
diff --git a/usr/local/www/vpn_ipsec_mobile.php b/usr/local/www/vpn_ipsec_mobile.php
index cd7892f..71d94fb 100755
--- a/usr/local/www/vpn_ipsec_mobile.php
+++ b/usr/local/www/vpn_ipsec_mobile.php
@@ -228,7 +228,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">Negotiation mode</td>
<td width="78%" class="vtable">
- <select name="p1mode" class="formfld">
+ <select name="p1mode" class="formselect">
<?php $modes = explode(" ", "main aggressive"); foreach ($modes as $mode): ?>
<option value="<?=$mode;?>" <?php if ($mode == $pconfig['p1mode']) echo "selected"; ?>>
<?=htmlspecialchars($mode);?>
@@ -240,19 +240,19 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">My identifier</td>
<td width="78%" class="vtable">
- <select name="p1myidentt" class="formfld">
+ <select name="p1myidentt" class="formselect">
<?php foreach ($my_identifier_list as $mode => $modename): ?>
<option value="<?=$mode;?>" <?php if ($mode == $pconfig['p1myidentt']) echo "selected"; ?>>
<?=htmlspecialchars($modename);?>
</option>
<?php endforeach; ?>
- </select> <input name="p1myident" type="text" class="formfld" id="p1myident" size="30" value="<?=$pconfig['p1myident'];?>">
+ </select> <input name="p1myident" type="text" class="formfld unknown" id="p1myident" size="30" value="<?=$pconfig['p1myident'];?>">
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Encryption algorithm</td>
<td width="78%" class="vtable">
- <select name="p1ealgo" class="formfld">
+ <select name="p1ealgo" class="formselect">
<?php foreach ($p1_ealgos as $algo => $algoname): ?>
<option value="<?=$algo;?>" <?php if ($algo == $pconfig['p1ealgo']) echo "selected"; ?>>
<?=htmlspecialchars($algoname);?>
@@ -264,7 +264,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">Hash algorithm</td>
<td width="78%" class="vtable">
- <select name="p1halgo" class="formfld">
+ <select name="p1halgo" class="formselect">
<?php foreach ($p1_halgos as $algo => $algoname): ?>
<option value="<?=$algo;?>" <?php if ($algo == $pconfig['p1halgo']) echo "selected"; ?>>
<?=htmlspecialchars($algoname);?>
@@ -276,7 +276,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">DH key group</td>
<td width="78%" class="vtable">
- <select name="p1dhgroup" class="formfld">
+ <select name="p1dhgroup" class="formselect">
<?php $keygroups = explode(" ", "1 2 5"); foreach ($keygroups as $keygroup): ?>
<option value="<?=$keygroup;?>" <?php if ($keygroup == $pconfig['p1dhgroup']) echo "selected"; ?>>
<?=htmlspecialchars($keygroup);?>
@@ -289,13 +289,13 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncell">Lifetime</td>
<td width="78%" class="vtable">
- <input name="p1lifetime" type="text" class="formfld" id="p1lifetime" size="20" value="<?=$pconfig['p1lifetime'];?>">
+ <input name="p1lifetime" type="text" class="formfld unknown" id="p1lifetime" size="20" value="<?=$pconfig['p1lifetime'];?>">
seconds</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Authentication method</td>
<td width="78%" class="vtable">
- <select name="p1authentication_method" class="formfld" onChange="methodsel_change()">
+ <select name="p1authentication_method" class="formselect" onChange="methodsel_change()">
<?php foreach ($p1_authentication_methods as $method => $methodname): ?>
<option value="<?=$method;?>" <?php if ($method == $pconfig['p1authentication_method']) echo "selected"; ?>>
<?=htmlspecialchars($methodname);?>
@@ -328,7 +328,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">Protocol</td>
<td width="78%" class="vtable">
- <select name="p2proto" class="formfld">
+ <select name="p2proto" class="formselect">
<?php foreach ($p2_protos as $proto => $protoname): ?>
<option value="<?=$proto;?>" <?php if ($proto == $pconfig['p2proto']) echo "selected"; ?>>
<?=htmlspecialchars($protoname);?>
@@ -363,7 +363,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncellreq">PFS key group</td>
<td width="78%" class="vtable">
- <select name="p2pfsgroup" class="formfld">
+ <select name="p2pfsgroup" class="formselect">
<?php foreach ($p2_pfskeygroups as $keygroup => $keygroupname): ?>
<option value="<?=$keygroup;?>" <?php if ($keygroup == $pconfig['p2pfsgroup']) echo "selected"; ?>>
<?=htmlspecialchars($keygroupname);?>
@@ -375,7 +375,7 @@ function methodsel_change() {
<tr>
<td width="22%" valign="top" class="vncell">Lifetime</td>
<td width="78%" class="vtable">
- <input name="p2lifetime" type="text" class="formfld" id="p2lifetime" size="20" value="<?=$pconfig['p2lifetime'];?>">
+ <input name="p2lifetime" type="text" class="formfld unknown" id="p2lifetime" size="20" value="<?=$pconfig['p2lifetime'];?>">
seconds</td>
</tr>
<tr>
diff --git a/usr/local/www/vpn_openvpn_create_certs.php b/usr/local/www/vpn_openvpn_create_certs.php
index c9e3351..62f9ba1 100755
--- a/usr/local/www/vpn_openvpn_create_certs.php
+++ b/usr/local/www/vpn_openvpn_create_certs.php
@@ -286,42 +286,42 @@ function f(ta_id){
<tr>
<td width="35%" valign="top" class="vncell"><B>Country Code (2 Letters)</td>
<td width="78%" class="vtable">
- <input name="countrycode" value="<?=$countrycode?>">
+ <input name="countrycode" class="formfld unknown" value="<?=$countrycode?>">
</span></td>
</tr>
<tr>
<td width="35%" valign="top" class="vncell"><B>State or Province name</td>
<td width="78%" class="vtable">
- <input name="stateorprovince" value="<?=$stateorprovince?>">
+ <input name="stateorprovince" class="formfld unknown" value="<?=$stateorprovince?>">
</span></td>
</tr>
<tr>
<td width="35%" valign="top" class="vncell"><B>City name</td>
<td width="78%" class="vtable">
- <input name="cityname" value="<?=$cityname?>">
+ <input name="cityname" class="formfld unknown" value="<?=$cityname?>">
</span></td>
</tr>
<tr>
<td width="35%" valign="top" class="vncell"><B>Organization name</td>
<td width="78%" class="vtable">
- <input name="orginizationname" value="<?=$orginizationname?>">
+ <input name="orginizationname" class="formfld unknown" value="<?=$orginizationname?>">
</span></td>
</tr>
<tr>
<td width="35%" valign="top" class="vncell"><B>Organization department</td>
<td width="78%" class="vtable">
- <input name="orginizationdepartment" value="<?=$orginizationdepartment?>">
+ <input name="orginizationdepartment" class="formfld unknown" value="<?=$orginizationdepartment?>">
</span></td>
</tr>
<tr>
<td width="35%" valign="top" class="vncell"><B>Common Name (Your name)</td>
<td width="78%" class="vtable">
- <input name="commonname" value="<?=$commonname?>">
+ <input name="commonname" class="formfld unknown" value="<?=$commonname?>">
</span></td>
</tr>
@@ -329,7 +329,7 @@ function f(ta_id){
<tr>
<td width="35%" valign="top" class="vncell"><B>E-Mail address</td>
<td width="78%" class="vtable">
- <input name="email" value="<?=$email?>">
+ <input name="email" class="formfld unknown" value="<?=$email?>">
</span></td>
</tr>
-->
diff --git a/usr/local/www/vpn_pppoe.php b/usr/local/www/vpn_pppoe.php
index 7d941c0..24ba1e5 100755
--- a/usr/local/www/vpn_pppoe.php
+++ b/usr/local/www/vpn_pppoe.php
@@ -297,7 +297,7 @@ function enable_change(enable_over) {
<td width="22%" valign="top" class="vncell"><b>Interface</b></td>
<td width="78%" valign="top" class="vtable">
- <select name="interface" class="formfld" id="interface">
+ <select name="interface" class="formselect" id="interface">
<?php
$interfaces = array('lan' => 'LAN', 'wan' => 'WAN');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
@@ -351,7 +351,7 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncellreq">Server address</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="localip" type="text" class="formfld" id="localip" size="20" value="<?=htmlspecialchars($pconfig['localip']);?>">
+ <?=$mandfldhtml;?><input name="localip" type="text" class="formfld unknown" id="localip" size="20" value="<?=htmlspecialchars($pconfig['localip']);?>">
<br>
Enter the IP address the PPPoE server should use on its side
for all clients.</td>
@@ -359,7 +359,7 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncellreq">Remote address range</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="remoteip" type="text" class="formfld" id="remoteip" size="20" value="<?=htmlspecialchars($pconfig['remoteip']);?>">
+ <?=$mandfldhtml;?><input name="remoteip" type="text" class="formfld unknown" id="remoteip" size="20" value="<?=htmlspecialchars($pconfig['remoteip']);?>">
<br>
Specify the starting address for the client IP address subnet.<br>
</td>
@@ -367,9 +367,9 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncellreq">DNS servers</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="pppoe_dns1" type="text" class="formfld" id="pppoe_dns1" size="20" value="<?=htmlspecialchars($pconfig['pppoe_dns1']);?>">
+ <?=$mandfldhtml;?><input name="pppoe_dns1" type="text" class="formfld unkown" id="pppoe_dns1" size="20" value="<?=htmlspecialchars($pconfig['pppoe_dns1']);?>">
<br>
- <input name="pppoe_dns2" type="text" class="formfld" id="pppoe_dns2" size="20" value="<?=htmlspecialchars($pconfig['pppoe_dns2']);?>">
+ <input name="pppoe_dns2" type="text" class="formfld unknown" id="pppoe_dns2" size="20" value="<?=htmlspecialchars($pconfig['pppoe_dns2']);?>">
<br>
If entered they will be given to all pppoe clients else lan dns and one wan dns will go to all clients<br>
</td>
@@ -394,14 +394,14 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncellreq">NAS IP ADDRESS</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="radius_nasip" type="text" class="formfld" id="radius_nasip" size="20" value="<?=htmlspecialchars($pconfig['radius_nasip']);?>">
+ <?=$mandfldhtml;?><input name="radius_nasip" type="text" class="formfld unknown" id="radius_nasip" size="20" value="<?=htmlspecialchars($pconfig['radius_nasip']);?>">
<br>radius server NAS ip Address<br>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Radius Accounting Update</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="radius_acct_update" type="text" class="formfld" id="radius_acct_update" size="20" value="<?=htmlspecialchars($pconfig['radius_acct_update']);?>">
+ <?=$mandfldhtml;?><input name="radius_acct_update" type="text" class="formfld unknown" id="radius_acct_update" size="20" value="<?=htmlspecialchars($pconfig['radius_acct_update']);?>">
<br>Radius accounting update period in seconds
</td>
</tr>
@@ -414,32 +414,32 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncell">RADIUS server Primary</td>
<td width="78%" class="vtable">
- <input name="radiusserver" type="text" class="formfld" id="radiusserver" size="20" value="<?=htmlspecialchars($pconfig['radiusserver']);?>">
- <input name="radiusserverport" type="text" class="formfld" id="radiusserverport" size="4" value="<?=htmlspecialchars($pconfig['radiusserverport']);?>">
- <input name="radiusserveracctport" type="text" class="formfld" id="radiusserveracctport" size="4" value="<?=htmlspecialchars($pconfig['radiusserveracctport']);?>">
+ <input name="radiusserver" type="text" class="formfld unknown" id="radiusserver" size="20" value="<?=htmlspecialchars($pconfig['radiusserver']);?>">
+ <input name="radiusserverport" type="text" class="formfld unknown" id="radiusserverport" size="4" value="<?=htmlspecialchars($pconfig['radiusserverport']);?>">
+ <input name="radiusserveracctport" type="text" class="formfld unknown" id="radiusserveracctport" size="4" value="<?=htmlspecialchars($pconfig['radiusserveracctport']);?>">
<br>Enter the IP address and portof the RADIUS server. Format ip auth_port acct_port<br>
<br> standard port 1812 and 1813 accounting</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">RADIUS primary shared secret</td>
<td width="78%" valign="top" class="vtable">
- <input name="radiussecret" type="password" class="formfld" id="radiussecret" size="20" value="<?=htmlspecialchars($pconfig['radiussecret']);?>">
+ <input name="radiussecret" type="password" class="formfld pwd" id="radiussecret" size="20" value="<?=htmlspecialchars($pconfig['radiussecret']);?>">
<br>Enter the shared secret that will be used to authenticate
to the RADIUS server.</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">RADIUS server Secondary</td>
<td width="78%" class="vtable">
- <input name="radiusserver2" type="text" class="formfld" id="radiusserver2" size="20" value="<?=htmlspecialchars($pconfig['radiusserver2']);?>">
- <input name="radiusserver2port" type="text" class="formfld" id="radiusserver2port" size="4" value="<?=htmlspecialchars($pconfig['radiusserver2port']);?>">
- <input name="radiusserver2acctport" type="text" class="formfld" id="radiusserver2acctport" size="4" value="<?=htmlspecialchars($pconfig['radiusserver2acctport']);?>">
+ <input name="radiusserver2" type="text" class="formfld unknown" id="radiusserver2" size="20" value="<?=htmlspecialchars($pconfig['radiusserver2']);?>">
+ <input name="radiusserver2port" type="text" class="formfld unknown" id="radiusserver2port" size="4" value="<?=htmlspecialchars($pconfig['radiusserver2port']);?>">
+ <input name="radiusserver2acctport" type="text" class="formfld unknown" id="radiusserver2acctport" size="4" value="<?=htmlspecialchars($pconfig['radiusserver2acctport']);?>">
<br>Enter the IP address and port of the BACKUP RADIUS server. Format ip auth_port acct_port<br>
<br> standard port 1812 and 1813 accounting</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">RADIUS secondary shared secret</td>
<td width="78%" valign="top" class="vtable">
- <input name="radiussecret2" type="password" class="formfld" id="radiussecret2" size="20" value="<?=htmlspecialchars($pconfig['radiussecret2']);?>">
+ <input name="radiussecret2" type="password" class="formfld pwd" id="radiussecret2" size="20" value="<?=htmlspecialchars($pconfig['radiussecret2']);?>">
<br>
Enter the shared secret that will be used to authenticate
to the RADIUS server.</td>
diff --git a/usr/local/www/vpn_pppoe_users_edit.php b/usr/local/www/vpn_pppoe_users_edit.php
index 3542c18..32c53a6 100755
--- a/usr/local/www/vpn_pppoe_users_edit.php
+++ b/usr/local/www/vpn_pppoe_users_edit.php
@@ -125,13 +125,13 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Username</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="username" type="text" class="formfld" 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>
<td width="22%" valign="top" class="vncellreq">Password</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="password" type="password" class="formfld" id="password" size="20">
- <br><?=$mandfldhtml;?><input name="password2" type="password" class="formfld" 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;(confirmation)<?php if (isset($id) && $a_secret[$id]): ?><br>
<span class="vexpl">If you want to change the users' password,
enter it here twice.</span><?php endif; ?></td>
@@ -139,7 +139,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncell">IP address</td>
<td width="78%" class="vtable">
- <input name="ip" type="text" class="formfld" 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">If you want the user to be assigned a specific IP address, enter it here.</span></td>
</tr>
<tr>
diff --git a/usr/local/www/vpn_pptp.php b/usr/local/www/vpn_pptp.php
index ae54418..742e4a0 100755
--- a/usr/local/www/vpn_pptp.php
+++ b/usr/local/www/vpn_pptp.php
@@ -317,7 +317,7 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncellreq">PPTP redirection</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="redir" type="text" class="formfld" id="redir" size="20" value="<?=htmlspecialchars($pconfig['redir']);?>">
+ <?=$mandfldhtml;?><input name="redir" type="text" class="formfld unknown" id="redir" size="20" value="<?=htmlspecialchars($pconfig['redir']);?>">
<br>
Enter the IP address of a host which will accept incoming
PPTP connections.</td>
@@ -330,7 +330,7 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncellreq">Server address</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="localip" type="text" class="formfld" id="localip" size="20" value="<?=htmlspecialchars($pconfig['localip']);?>">
+ <?=$mandfldhtml;?><input name="localip" type="text" class="formfld unknown" id="localip" size="20" value="<?=htmlspecialchars($pconfig['localip']);?>">
<br>
Enter the IP address the PPTP server should use on its side
for all clients.</td>
@@ -339,7 +339,7 @@ function enable_change(enable_over) {
<td width="22%" valign="top" class="vncellreq">Remote address
range</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="remoteip" type="text" class="formfld" id="remoteip" size="20" value="<?=htmlspecialchars($pconfig['remoteip']);?>">
+ <?=$mandfldhtml;?><input name="remoteip" type="text" class="formfld unknown" id="remoteip" size="20" value="<?=htmlspecialchars($pconfig['remoteip']);?>">
<br>
Specify the starting address for the client IP address subnet.<br>
</tr>
@@ -380,9 +380,9 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncellreq">PPTP DNS Servers</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="pptp_dns1" type="text" class="formfld" id="pptp_dns1" size="20" value="<?=htmlspecialchars($pconfig['pptp_dns1']);?>">
+ <?=$mandfldhtml;?><input name="pptp_dns1" type="text" class="formfld unknown" id="pptp_dns1" size="20" value="<?=htmlspecialchars($pconfig['pptp_dns1']);?>">
<br>
- <input name="pptp_dns2" type="text" class="formfld" id="pptp_dns2" size="20" value="<?=htmlspecialchars($pconfig['pptp_dns2']);?>">
+ <input name="pptp_dns2" type="text" class="formfld unknown" id="pptp_dns2" size="20" value="<?=htmlspecialchars($pconfig['pptp_dns2']);?>">
<br>
primary and secondary dns servers for pptp clients<br>
@@ -390,7 +390,7 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncell">WINS Server</td>
<td width="78%" valign="top" class="vtable">
- <input name="wins" class="formfld" id="wins" size="20" value="<?=htmlspecialchars($pconfig['wins']);?>">
+ <input name="wins" class="formfld unknown" id="wins" size="20" value="<?=htmlspecialchars($pconfig['wins']);?>">
</td>
</tr>
<tr>
@@ -413,13 +413,13 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncell">Radius NAS IP</td>
<td width="78%" valign="top" class="vtable">
- <input name="radius_nasip" class="formfld" id="radius_nasip" size="20" value="<?=htmlspecialchars($pconfig['radius_nasip']);?>">
+ <input name="radius_nasip" class="formfld unknown" id="radius_nasip" size="20" value="<?=htmlspecialchars($pconfig['radius_nasip']);?>">
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">Radius Accounting Update</td>
<td width="78%" valign="top" class="vtable">
- <input name="radius_acct_update" class="formfld" id="radius_acct_update" size="20" value="<?=htmlspecialchars($pconfig['radius_acct_update']);?>">
+ <input name="radius_acct_update" class="formfld unknown" id="radius_acct_update" size="20" value="<?=htmlspecialchars($pconfig['radius_acct_update']);?>">
</td>
</tr>
<tr>
@@ -432,16 +432,16 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncell">RADIUS server </td>
<td width="78%" class="vtable">
- <input name="radiusserver" type="text" class="formfld" id="radiusserver" size="20" value="<?=htmlspecialchars($pconfig['radiusserver']);?>">
- <input name="radiusserverport" type="text" class="formfld" id="radiusserverport" size="4" value="<?=htmlspecialchars($pconfig['radiusserverport']);?>">
- <input name="radiusserveracctport" type="text" class="formfld" id="radiusserveracctport" size="4" value="<?=htmlspecialchars($pconfig['radiusserveracctport']);?>">
+ <input name="radiusserver" type="text" class="formfld unknown" id="radiusserver" size="20" value="<?=htmlspecialchars($pconfig['radiusserver']);?>">
+ <input name="radiusserverport" type="text" class="formfld unknown" id="radiusserverport" size="4" value="<?=htmlspecialchars($pconfig['radiusserverport']);?>">
+ <input name="radiusserveracctport" type="text" class="formfld unknown" id="radiusserveracctport" size="4" value="<?=htmlspecialchars($pconfig['radiusserveracctport']);?>">
<br>
Enter the IP address of the RADIUS server.</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">RADIUS shared secret</td>
<td width="78%" valign="top" class="vtable">
- <input name="radiussecret" type="password" class="formfld" id="radiussecret" size="20" value="<?=htmlspecialchars($pconfig['radiussecret']);?>">
+ <input name="radiussecret" type="password" class="formfld pwd" id="radiussecret" size="20" value="<?=htmlspecialchars($pconfig['radiussecret']);?>">
<br>
Enter the shared secret that will be used to authenticate
to the RADIUS server.</td>
@@ -449,16 +449,16 @@ function enable_change(enable_over) {
<tr>
<td width="22%" valign="top" class="vncell">BACKUP RADIUS server </td>
<td width="78%" class="vtable">
- <input name="radiusserver2" type="text" class="formfld" id="radiusserver2" size="20" value="<?=htmlspecialchars($pconfig['radiusserver2']);?>">
- <input name="radiusserver2port" type="text" class="formfld" id="radiusserver2port" size="4" value="<?=htmlspecialchars($pconfig['radiusserver2port']);?>">
- <input name="radiusserver2acctport" type="text" class="formfld" id="radiusserver2acctport" size="4" value="<?=htmlspecialchars($pconfig['radiusserver2acctport']);?>">
+ <input name="radiusserver2" type="text" class="formfld unknown" id="radiusserver2" size="20" value="<?=htmlspecialchars($pconfig['radiusserver2']);?>">
+ <input name="radiusserver2port" type="text" class="formfld unknown" id="radiusserver2port" size="4" value="<?=htmlspecialchars($pconfig['radiusserver2port']);?>">
+ <input name="radiusserver2acctport" type="text" class="formfld unknown" id="radiusserver2acctport" size="4" value="<?=htmlspecialchars($pconfig['radiusserver2acctport']);?>">
<br>
Enter the IP address of the RADIUS server.</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">BACKUP RADIUS shared secret</td>
<td width="78%" valign="top" class="vtable">
- <input name="radiussecret2" type="password" class="formfld" id="radiussecret2" size="20" value="<?=htmlspecialchars($pconfig['radiussecret2']);?>">
+ <input name="radiussecret2" type="password" class="formfld pwd" id="radiussecret2" size="20" value="<?=htmlspecialchars($pconfig['radiussecret2']);?>">
<br>
Enter the shared secret that will be used to authenticate
to the RADIUS server.</td>
diff --git a/usr/local/www/vpn_pptp_users_edit.php b/usr/local/www/vpn_pptp_users_edit.php
index 3949f28..0d831b7 100755
--- a/usr/local/www/vpn_pptp_users_edit.php
+++ b/usr/local/www/vpn_pptp_users_edit.php
@@ -122,13 +122,13 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Username</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="username" type="text" class="formfld" 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>
<td width="22%" valign="top" class="vncellreq">Password</td>
<td width="78%" class="vtable">
- <?=$mandfldhtml;?><input name="password" type="password" class="formfld" id="password" size="20">
- <br><?=$mandfldhtml;?><input name="password2" type="password" class="formfld" 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;(confirmation)<?php if (isset($id) && $a_secret[$id]): ?><br>
<span class="vexpl">If you want to change the users' password,
enter it here twice.</span><?php endif; ?></td>
@@ -136,7 +136,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncell">IP address</td>
<td width="78%" class="vtable">
- <input name="ip" type="text" class="formfld" 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">If you want the user to be assigned a specific IP address, enter it here.</span></td>
</tr>
<tr>
OpenPOWER on IntegriCloud