From 28cd07d1a75c4e9dcaecac49efee0091f2fc62fa Mon Sep 17 00:00:00 2001
From: A. Täffner <darkalex@firesplash.de>
Date: Thu, 07 Apr 2016 05:30:49 -0400
Subject: [PATCH] Implemented a checkbox "enable DNSSEC" in DNS-Wizard. This Checkbox can be enabled or disabled by template.

---
 interface/web/sites/ftp_user_list.php |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/interface/web/sites/ftp_user_list.php b/interface/web/sites/ftp_user_list.php
index ef94dc2..c9770cb 100644
--- a/interface/web/sites/ftp_user_list.php
+++ b/interface/web/sites/ftp_user_list.php
@@ -28,8 +28,8 @@
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-require_once('../../lib/config.inc.php');
-require_once('../../lib/app.inc.php');
+require_once '../../lib/config.inc.php';
+require_once '../../lib/app.inc.php';
 
 /******************************************
 * Begin Form configuration
@@ -48,27 +48,28 @@
 
 
 class list_action extends listform_actions {
-	
+
 	function onShow() {
-		global $app,$conf;
-		
+		global $app, $conf;
+
 		$app->uses('getconf');
 		$global_config = $app->getconf->get_global_config('sites');
-		
+
 		if($global_config['webftp_url'] != '') {
-			$app->tpl->setVar('webftp_link',1);
-			$app->tpl->setVar('webftp_url',$global_config['webftp_url']);
+			$app->tpl->setVar('webftp_link', 1);
+			$app->tpl->setVar('webftp_url', $global_config['webftp_url']);
 		} else {
-			$app->tpl->setVar('webftp_link',0);
+			$app->tpl->setVar('webftp_link', 0);
 		}
-		
+
 		parent::onShow();
 	}
-	
+
 }
 
 $list = new list_action;
+$list->SQLOrderBy = 'ORDER BY ftp_user.username';
 $list->onLoad();
 
 
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1