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/mail/mail_user_list.php |   33 +++++++++++++++++----------------
 1 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/interface/web/mail/mail_user_list.php b/interface/web/mail/mail_user_list.php
index df69948..fa26861 100644
--- a/interface/web/mail/mail_user_list.php
+++ b/interface/web/mail/mail_user_list.php
@@ -1,6 +1,6 @@
 <?php
-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
@@ -19,32 +19,33 @@
 
 
 class list_action extends listform_actions {
-	
+
 	function onShow() {
-		global $app,$conf;
-		
+		global $app, $conf;
+
 		$app->uses('getconf');
 		$global_config = $app->getconf->get_global_config('mail');
-		
+
 		if($global_config['mailboxlist_webmail_link'] == 'y') {
-			$app->tpl->setVar('mailboxlist_webmail_link',1);
+			$app->tpl->setVar('mailboxlist_webmail_link', 1);
 		} else {
-			$app->tpl->setVar('mailboxlist_webmail_link',0);
+			$app->tpl->setVar('mailboxlist_webmail_link', 0);
 		}
 
-    if($global_config["enable_custom_login"] == "y") {
-        $app->tpl->setVar("enable_custom_login", 1);
-    } else {
-        $app->tpl->setVar("enable_custom_login", 0);
-    }
-		
+		if($global_config["enable_custom_login"] == "y") {
+			$app->tpl->setVar("enable_custom_login", 1);
+		} else {
+			$app->tpl->setVar("enable_custom_login", 0);
+		}
+
 		parent::onShow();
 	}
-	
+
 }
 
 $list = new list_action;
+$list->SQLOrderBy = 'ORDER BY mail_user.email';
 $list->onLoad();
 
 
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1