diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-12-22 15:11:40 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-12-22 15:11:57 -0500 |
commit | 86ede4fa40adc1ab0d502d74f5dbb7db8f04e273 (patch) | |
tree | 2225d73f078f486e76025caf18c67016ffa32b99 /config/haproxy/haproxy_servers_edit.php | |
parent | 60145048a3f9fc1aaf983a9bec4637896763298e (diff) | |
download | pfsense-packages-86ede4fa40adc1ab0d502d74f5dbb7db8f04e273.tar.gz pfsense-packages-86ede4fa40adc1ab0d502d74f5dbb7db8f04e273.tar.bz2 pfsense-packages-86ede4fa40adc1ab0d502d74f5dbb7db8f04e273.zip |
Adding advanced pass thru box for server entries
Diffstat (limited to 'config/haproxy/haproxy_servers_edit.php')
-rwxr-xr-x | config/haproxy/haproxy_servers_edit.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/haproxy/haproxy_servers_edit.php b/config/haproxy/haproxy_servers_edit.php index 8125bf6b..db44dc72 100755 --- a/config/haproxy/haproxy_servers_edit.php +++ b/config/haproxy/haproxy_servers_edit.php @@ -53,6 +53,7 @@ if (isset($id) && $a_server[$id]) { $pconfig['weight'] = $a_server[$id]['weight']; $pconfig['cookie'] = $a_server[$id]['cookie']; $pconfig['status'] = $a_server[$id]['status']; + $pconfig['advanced'] = $a_server[$id]['advanced']; } $changedesc = "Services: HAProxy: Servers: "; @@ -122,6 +123,7 @@ if ($_POST) { update_if_changed("weight", $server['weight'], $_POST['weight']); update_if_changed("status", $server['status'], $_POST['status']); update_if_changed("address", $server['address'], $_POST['address']); + update_if_changed("advanced", $server['advanced'], $_POST['advanced']); if (isset($id) && $a_server[$id]) { $a_server[$id] = $server; @@ -297,6 +299,14 @@ function clearcombo(){ </td> </tr> <tr align="left"> + <td width="22%" valign="top" class="vncellreq">Advanced pass thru</td> + <td width="78%" class="vtable" colspan="2"> + <textarea name='advanced' rows="4" cols="70" id='advanced'><?php echo $pconfig['advanced']; ?></textarea> + <br/> + NOTE: paste text into this box that you would like to pass thru. + </td> + </tr> + <tr align="left"> <td width="22%" valign="top"> </td> <td width="78%"> <input name="Submit" type="submit" class="formbtn" value="Save"> |