summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/load_balancer_monitor.php4
-rwxr-xr-xusr/local/www/load_balancer_pool.php3
-rwxr-xr-xusr/local/www/load_balancer_relay_action.php3
-rwxr-xr-xusr/local/www/load_balancer_relay_protocol.php3
-rwxr-xr-xusr/local/www/load_balancer_virtual_server.php2
5 files changed, 15 insertions, 0 deletions
diff --git a/usr/local/www/load_balancer_monitor.php b/usr/local/www/load_balancer_monitor.php
index c133d0f..83da721 100755
--- a/usr/local/www/load_balancer_monitor.php
+++ b/usr/local/www/load_balancer_monitor.php
@@ -37,6 +37,7 @@
##|-PRIV
require("guiconfig.inc");
+require("util.inc");
if (!is_array($config['load_balancer']['monitor_type'])) {
$config['load_balancer']['monitor_type'] = array();
@@ -81,6 +82,9 @@ if ($_GET['act'] == "del") {
$pgtitle = array("Services", "Load Balancer","Monitor");
include("head.inc");
+// Sort items
+$a_monitor = msort($a_monitor, "name");
+
?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/load_balancer_pool.php b/usr/local/www/load_balancer_pool.php
index 2890bd8..962d4c7 100755
--- a/usr/local/www/load_balancer_pool.php
+++ b/usr/local/www/load_balancer_pool.php
@@ -89,6 +89,9 @@ for ($i = 0; isset($config['load_balancer']['lbpool'][$i]); $i++) {
$a_pool[$i]['monitor'] = "<a href=\"/load_balancer_monitor_edit.php?id={$mondex[$a_pool[$i]['monitor']]}\">{$a_pool[$i]['monitor']}</a>";
}
+// Sort items
+$a_pool = msort($a_pool, "name");
+
$pgtitle = array("Services", "Load Balancer","Pool");
include("head.inc");
diff --git a/usr/local/www/load_balancer_relay_action.php b/usr/local/www/load_balancer_relay_action.php
index cd25365..6ce157c 100755
--- a/usr/local/www/load_balancer_relay_action.php
+++ b/usr/local/www/load_balancer_relay_action.php
@@ -98,6 +98,9 @@ if ($_GET['act'] == "del") {
$pgtitle = array("Services", "Load Balancer","Relay Action");
include("head.inc");
+// Sort items
+$a_vs = msort($a_action, "name");
+
?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/load_balancer_relay_protocol.php b/usr/local/www/load_balancer_relay_protocol.php
index 2207542..15f73c8 100755
--- a/usr/local/www/load_balancer_relay_protocol.php
+++ b/usr/local/www/load_balancer_relay_protocol.php
@@ -94,6 +94,9 @@ if ($_GET['act'] == "del") {
$pgtitle = array("Services", "Load Balancer","Relay Protocol");
include("head.inc");
+// Sort items
+$a_vs = msort($a_protocol, "name");
+
?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
diff --git a/usr/local/www/load_balancer_virtual_server.php b/usr/local/www/load_balancer_virtual_server.php
index f087c90..279d869 100755
--- a/usr/local/www/load_balancer_virtual_server.php
+++ b/usr/local/www/load_balancer_virtual_server.php
@@ -84,6 +84,8 @@ for ($i = 0; isset($config['load_balancer']['virtual_server'][$i]); $i++) {
}
}
+// Sort items
+$a_vs = msort($a_vs, "name");
$pgtitle = array("Services","Load Balancer","Virtual Servers");
include("head.inc");
OpenPOWER on IntegriCloud