aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-devel/haproxy_pool_edit.php
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2013-12-03 19:27:41 -0200
committerMarcello Coutinho <marcellocoutinho@gmail.com>2013-12-03 19:27:41 -0200
commit952aeebf078999ea2a6b1764049130885fba1ec8 (patch)
tree90d854e6307152a1d0e509eef91411bceef81aae /config/haproxy-devel/haproxy_pool_edit.php
parent7a1c41798ccc8bd5ae8c8b6b6989318590ba04d3 (diff)
downloadpfsense-packages-952aeebf078999ea2a6b1764049130885fba1ec8.tar.gz
pfsense-packages-952aeebf078999ea2a6b1764049130885fba1ec8.tar.bz2
pfsense-packages-952aeebf078999ea2a6b1764049130885fba1ec8.zip
haproxy-devel -add pkg shortcut and keep menus on backend/frontend edit
Diffstat (limited to 'config/haproxy-devel/haproxy_pool_edit.php')
-rw-r--r--config/haproxy-devel/haproxy_pool_edit.php17
1 files changed, 16 insertions, 1 deletions
diff --git a/config/haproxy-devel/haproxy_pool_edit.php b/config/haproxy-devel/haproxy_pool_edit.php
index 312d6ecc..b6673a0a 100644
--- a/config/haproxy-devel/haproxy_pool_edit.php
+++ b/config/haproxy-devel/haproxy_pool_edit.php
@@ -28,7 +28,7 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
-
+$shortcut_section = "haproxy";
require("guiconfig.inc");
require_once("haproxy.inc");
require_once("haproxy_utils.inc");
@@ -317,6 +317,20 @@ foreach($simplefields as $field){
<p class="pgtitle"><?=$pgtitle?></p>
<?php endif; ?>
<form action="haproxy_pool_edit.php" method="post" name="iform" id="iform">
+
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr><td class="tabnavtbl">
+ <?php
+ /* active tabs */
+ $tab_array = array();
+ $tab_array[] = array("Settings", false, "haproxy_global.php");
+ $tab_array[] = array("Frontend", false, "haproxy_listeners.php");
+ $tab_array[] = array("Backend", true, "haproxy_pools.php");
+ display_top_tabs($tab_array);
+ ?>
+ </td></tr>
+ <tr>
+ <td>
<div class="tabcont">
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
@@ -726,6 +740,7 @@ set by the 'retries' parameter.</div>
</tr>
</table>
</div>
+ </td></tr></table>
</form>
<br>
<?php include("fend.inc"); ?>