aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-devel/haproxy_listeners_edit.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2014-02-17 08:36:00 +0100
committerErmal Luçi <eri@pfsense.org>2014-02-17 08:36:00 +0100
commitb23398b68fabefebd8b9c4715b81772df7c6228c (patch)
treee0004e3d7a9ce073ca74f76a5ffe0d288bc6cf3c /config/haproxy-devel/haproxy_listeners_edit.php
parent01434bbdb83f14546eb39fb96760708a5a4322e3 (diff)
parent46ea54e1b550fcac78752b70f3419a0bf1eb7ec4 (diff)
downloadpfsense-packages-b23398b68fabefebd8b9c4715b81772df7c6228c.tar.gz
pfsense-packages-b23398b68fabefebd8b9c4715b81772df7c6228c.tar.bz2
pfsense-packages-b23398b68fabefebd8b9c4715b81772df7c6228c.zip
Merge pull request #589 from PiBa-NL/hap_statspage
haproxy-devel, integrated stats page with stick-table info WebGUI
Diffstat (limited to 'config/haproxy-devel/haproxy_listeners_edit.php')
-rw-r--r--config/haproxy-devel/haproxy_listeners_edit.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/config/haproxy-devel/haproxy_listeners_edit.php b/config/haproxy-devel/haproxy_listeners_edit.php
index 3c62ec3a..bd0f93d5 100644
--- a/config/haproxy-devel/haproxy_listeners_edit.php
+++ b/config/haproxy-devel/haproxy_listeners_edit.php
@@ -34,6 +34,7 @@ require("guiconfig.inc");
require_once("haproxy.inc");
require_once("haproxy_utils.inc");
require_once("haproxy_htmllist.inc");
+require_once("pkg_haproxy_tabs.inc");
/* Compatibility function for pfSense 2.0 */
if (!function_exists("cert_get_purpose")) {
@@ -373,12 +374,7 @@ $interfaces = haproxy_get_bindable_interfaces();
<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", true, "haproxy_listeners.php");
- $tab_array[] = array("Backend", false, "haproxy_pools.php");
- display_top_tabs($tab_array);
+ haproxy_display_top_tabs_active($haproxy_tab_array['haproxy'], "frontend");
?>
</td></tr>
<tr>