From 952aeebf078999ea2a6b1764049130885fba1ec8 Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Tue, 3 Dec 2013 19:27:41 -0200 Subject: haproxy-devel -add pkg shortcut and keep menus on backend/frontend edit --- config/haproxy-devel/haproxy.xml | 5 +++++ config/haproxy-devel/haproxy_global.php | 2 +- config/haproxy-devel/haproxy_listeners.php | 2 +- config/haproxy-devel/haproxy_listeners_edit.php | 17 +++++++++++++++-- config/haproxy-devel/haproxy_pool_edit.php | 17 ++++++++++++++++- config/haproxy-devel/haproxy_pools.php | 2 +- config/haproxy-devel/pkg_haproxy.inc | 11 +++++++++++ 7 files changed, 50 insertions(+), 6 deletions(-) create mode 100755 config/haproxy-devel/pkg_haproxy.inc (limited to 'config') diff --git a/config/haproxy-devel/haproxy.xml b/config/haproxy-devel/haproxy.xml index 299d76c6..803bd978 100644 --- a/config/haproxy-devel/haproxy.xml +++ b/config/haproxy-devel/haproxy.xml @@ -109,6 +109,11 @@ 077 http://www.pfsense.com/packages/config/haproxy-devel/haproxy.widget.php + + /usr/local/www/shortcuts/ + 0755 + http://www.pfsense.org/packages/config/haproxy-devel/pkg_haproxy.inc + diff --git a/config/haproxy-devel/haproxy_global.php b/config/haproxy-devel/haproxy_global.php index 1a540b4f..bd1846e2 100755 --- a/config/haproxy-devel/haproxy_global.php +++ b/config/haproxy-devel/haproxy_global.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_once("guiconfig.inc"); require_once("haproxy.inc"); require_once("haproxy_utils.inc"); diff --git a/config/haproxy-devel/haproxy_listeners.php b/config/haproxy-devel/haproxy_listeners.php index f6325255..d802023c 100644 --- a/config/haproxy-devel/haproxy_listeners.php +++ b/config/haproxy-devel/haproxy_listeners.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_once("guiconfig.inc"); require_once("haproxy.inc"); require_once("certs.inc"); diff --git a/config/haproxy-devel/haproxy_listeners_edit.php b/config/haproxy-devel/haproxy_listeners_edit.php index a51ae393..d5d44e5d 100644 --- a/config/haproxy-devel/haproxy_listeners_edit.php +++ b/config/haproxy-devel/haproxy_listeners_edit.php @@ -29,7 +29,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"); @@ -505,6 +505,19 @@ $interfaces = haproxy_get_bindable_interfaces();

+ + + +
+ +
@@ -787,7 +800,7 @@ $interfaces = haproxy_get_bindable_interfaces();
-
+