diff options
author | thompsa <andy@fud.org.nz> | 2010-03-12 17:43:00 +1300 |
---|---|---|
committer | thompsa <andy@fud.org.nz> | 2010-03-12 17:43:00 +1300 |
commit | e455a5327161728e87d8b214c0b31d9007d5e90a (patch) | |
tree | c56adb074409cf917d0822c6c8ae437ec02e78ac /config/haproxy-dev/haproxy_pool_edit.php | |
parent | 155c3634e0e4e6a4fc7b3488bdf032a1661e8779 (diff) | |
download | pfsense-packages-e455a5327161728e87d8b214c0b31d9007d5e90a.tar.gz pfsense-packages-e455a5327161728e87d8b214c0b31d9007d5e90a.tar.bz2 pfsense-packages-e455a5327161728e87d8b214c0b31d9007d5e90a.zip |
Remove the 'status' from the backend pool and just show it disabled if
no listeners are using it.
Diffstat (limited to 'config/haproxy-dev/haproxy_pool_edit.php')
-rwxr-xr-x | config/haproxy-dev/haproxy_pool_edit.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/config/haproxy-dev/haproxy_pool_edit.php b/config/haproxy-dev/haproxy_pool_edit.php index 6087e9d7..d25f0675 100755 --- a/config/haproxy-dev/haproxy_pool_edit.php +++ b/config/haproxy-dev/haproxy_pool_edit.php @@ -52,7 +52,6 @@ if (isset($id) && $a_pools[$id]) { $pconfig['checkinter'] = $a_pools[$id]['checkinter']; $pconfig['monitor_uri'] = $a_pools[$id]['monitor_uri']; $pconfig['cookie'] = $a_pools[$id]['cookie']; - $pconfig['status'] = $a_pools[$id]['status']; $pconfig['advanced'] = base64_decode($a_pools[$id]['advanced']); $pconfig['a_servers']=&$a_pools[$id]['ha_servers']['item']; } @@ -145,7 +144,6 @@ if ($_POST) { $pool['ha_servers']['item']=$a_servers; update_if_changed("name", $pool['name'], $_POST['name']); - update_if_changed("status", $pool['status'], $_POST['status']); update_if_changed("cookie", $pool['cookie'], $_POST['cookie']); update_if_changed("advanced", $pool['advanced'], base64_encode($_POST['advanced'])); update_if_changed("checkinter", $pool['checkinter'], $_POST['checkinter']); @@ -231,15 +229,6 @@ function clearcombo(){ </td> </tr> <tr align="left"> - <td width="22%" valign="top" class="vncellreq">Status</td> - <td width="78%" class="vtable" colspan="2"> - <select name="status"> - <option value="active" <?php if($pconfig['status']=='active') echo "SELECTED";?>>active</option> - <option value="inactive" <?php if($pconfig['status']=='inactive') echo "SELECTED";?>>inactive</option> - </select> - </td> - </tr> - <tr align="left"> <td width="22%" valign="top" class="vncell">Cookie</td> <td width="78%" class="vtable" colspan="2"> <input name="cookie" type="text" <?if(isset($pconfig['cookie'])) echo "value=\"{$pconfig['cookie']}\"";?>size="64"><br/> |