diff options
author | Bill Marquette <billm@pfsense.org> | 2005-07-03 18:32:03 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-07-03 18:32:03 +0000 |
commit | 8fdc874475f2416458ae426faac653086ecb4084 (patch) | |
tree | e3bdba5ac29b33c1fa53190bef755a226865dd88 /usr | |
parent | 94a82e34e91a12ab082249b17d786a859bff22b9 (diff) | |
download | pfsense-8fdc874475f2416458ae426faac653086ecb4084.zip pfsense-8fdc874475f2416458ae426faac653086ecb4084.tar.gz |
Move "Type" selection down to "general configuration" table
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces.php | 13 | ||||
-rwxr-xr-x | usr/local/www/interfaces_wan.php | 13 |
2 files changed, 10 insertions, 16 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 748575f..3bcb47e 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -429,8 +429,11 @@ function type_change(enable_change,enable_change_pptp) { <form action="interfaces_wan.php" method="post" name="iform" id="iform"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> - <td valign="middle"><strong>Type</strong></td> - <td> <select name="type" class="formfld" id="type" onchange="type_change()"> + <td colspan="2" valign="top" class="listtopic">General configuration</td> + </tr> + <tr> + <td valign="middle" class="vncell"><strong>Type</strong></td> + <td class="vtable"> <select name="type" class="formfld" 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";?>> @@ -440,12 +443,6 @@ function type_change(enable_change,enable_change_pptp) { </select></td> </tr> <tr> - <td colspan="2" valign="top" height="4"></td> - </tr> - <tr> - <td colspan="2" valign="top" class="listtopic">General configuration</td> - </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']);?>"> <?php diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php index 748575f..3bcb47e 100755 --- a/usr/local/www/interfaces_wan.php +++ b/usr/local/www/interfaces_wan.php @@ -429,8 +429,11 @@ function type_change(enable_change,enable_change_pptp) { <form action="interfaces_wan.php" method="post" name="iform" id="iform"> <table width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> - <td valign="middle"><strong>Type</strong></td> - <td> <select name="type" class="formfld" id="type" onchange="type_change()"> + <td colspan="2" valign="top" class="listtopic">General configuration</td> + </tr> + <tr> + <td valign="middle" class="vncell"><strong>Type</strong></td> + <td class="vtable"> <select name="type" class="formfld" 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";?>> @@ -440,12 +443,6 @@ function type_change(enable_change,enable_change_pptp) { </select></td> </tr> <tr> - <td colspan="2" valign="top" height="4"></td> - </tr> - <tr> - <td colspan="2" valign="top" class="listtopic">General configuration</td> - </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']);?>"> <?php |