summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_opt.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-05 19:56:11 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-05 19:56:11 +0000
commita23d72487189307f63465c7150f6ca3a0cb027b3 (patch)
tree7f336d3e8c377e7ad411984ac5f313f5046a8c6f /usr/local/www/interfaces_opt.php
parent07bd3f83b401d8e9e9de3938e0a26c6e452660af (diff)
downloadpfsense-a23d72487189307f63465c7150f6ca3a0cb027b3.zip
pfsense-a23d72487189307f63465c7150f6ca3a0cb027b3.tar.gz
Merge in m0n0wall 1.2b3 changes.
Diffstat (limited to 'usr/local/www/interfaces_opt.php')
-rwxr-xr-xusr/local/www/interfaces_opt.php13
1 files changed, 5 insertions, 8 deletions
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php
index 3c8f560..c2f4226 100755
--- a/usr/local/www/interfaces_opt.php
+++ b/usr/local/www/interfaces_opt.php
@@ -159,13 +159,10 @@ if ($_POST) {
<script language="JavaScript">
<!--
function enable_change(enable_over) {
- if ((document.iform.bridge.selectedIndex == 0) || enable_over) {
- document.iform.ipaddr.disabled = 0;
- document.iform.subnet.disabled = 0;
- } else {
- document.iform.ipaddr.disabled = 1;
- document.iform.subnet.disabled = 1;
- }
+ var endis;
+ endis = !((document.iform.bridge.selectedIndex == 0) || enable_over);
+ document.iform.ipaddr.disabled = endis;
+ document.iform.subnet.disabled = endis;
}
function gen_bits(ipaddr) {
if (ipaddr.search(/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/) != -1) {
@@ -220,7 +217,7 @@ function ipaddr_change() {
<td colspan="2" valign="top" height="16"></td>
</tr>
<tr>
- <td colspan="2" valign="top" class="vnsepcell">IP configuration</td>
+ <td colspan="2" valign="top" class="listtopic">IP configuration</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq">Bridge with</td>
OpenPOWER on IntegriCloud