diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-12-22 15:31:09 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-12-22 15:31:09 -0500 |
commit | 7549eb85d206e9283ce952cdef76ff2ec11ee6cc (patch) | |
tree | 88576b1b65f32d920f5bda7026676e0bf542f818 /config/haproxy/haproxy_frontends_edit.php | |
parent | 5c479d1ebd0a2dcb877c2b3db6570b0e7d92aa9c (diff) | |
download | pfsense-packages-7549eb85d206e9283ce952cdef76ff2ec11ee6cc.tar.gz pfsense-packages-7549eb85d206e9283ce952cdef76ff2ec11ee6cc.tar.bz2 pfsense-packages-7549eb85d206e9283ce952cdef76ff2ec11ee6cc.zip |
Add advanced pass thru box for frontend edit screen
Diffstat (limited to 'config/haproxy/haproxy_frontends_edit.php')
-rwxr-xr-x | config/haproxy/haproxy_frontends_edit.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/config/haproxy/haproxy_frontends_edit.php b/config/haproxy/haproxy_frontends_edit.php index b79d6051..13ee0745 100755 --- a/config/haproxy/haproxy_frontends_edit.php +++ b/config/haproxy/haproxy_frontends_edit.php @@ -72,6 +72,7 @@ if (isset($id) && $a_backend[$id]) { $pconfig['stats_password'] = $a_backend[$id]['stats_password']; $pconfig['port'] = $a_backend[$id]['port']; $pconfig['a_acl']=&$a_backend[$id]['ha_acls']['item']; + $pconfig['advanced'] = $a_backend[$id]['advanced']; } @@ -231,8 +232,9 @@ if ($_POST) { update_if_changed("extaddr", $backend['extaddr'], $_POST['extaddr']); update_if_changed("max_connections", $backend['max_connections'], $_POST['max_connections']); update_if_changed("client_timeout", $backend['client_timeout'], $_POST['client_timeout']); + update_if_changed("advanced", $backend['advanced'], $_POST['advanced']); - $backend['ha_acls']['item']=$a_acl; + $backend['ha_acls']['item'] = $a_acl; if (isset($id) && $a_backend[$id]) { $a_backend[$id] = $backend; @@ -595,7 +597,15 @@ set by the 'retries' parameter (2).</div> </td> </tr> */ -?> +?> + <tr align="left"> + <td width="22%" valign="top" class="vncell">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%"> |