diff options
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"> |