we sort the email account list by their alias name (and by domain) in the quota list

This commit is contained in:
Benjamin Sonntag 2010-06-30 08:19:30 +00:00
parent 0dea85bd88
commit f179122db4
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ if (!defined("QUOTASONE")) return;
$s=mysql_query("SELECT * FROM domaines WHERE compte='".$c["uid"]."';");
while ($d=mysql_fetch_array($s)) {
$t=mysql_query("SELECT alias,size FROM size_mail WHERE alias LIKE '%\_".$d["domaine"]."';");
$t=mysql_query("SELECT alias,size FROM size_mail WHERE alias LIKE '%\_".$d["domaine"]."' ORDER BY alias;");
while ($e=mysql_fetch_array($t)) {
echo "<tr><td>".$d["domaine"]."</td>";
echo "<td>".str_replace("_","@",$e["alias"])."</td>";