From f9764380930c63145a59d02afa7489aa975bafbd Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 19 Apr 2013 12:39:51 +0000 Subject: [PATCH] Continue la mise au propre --- bureau/admin/bro_main.php | 6 +++--- bureau/admin/mail_manage_catchall.php | 12 ++++++------ bureau/admin/main.php | 19 ++++++++++--------- bureau/admin/quotas_oneuser.php | 5 +---- 4 files changed, 20 insertions(+), 22 deletions(-) diff --git a/bureau/admin/bro_main.php b/bureau/admin/bro_main.php index 80b0453c..b7060736 100644 --- a/bureau/admin/bro_main.php +++ b/bureau/admin/bro_main.php @@ -321,7 +321,7 @@ function actmoveto_not_empty() { - ".$bro->PathList($R,"bro_main.php",true).""; }?> + PathList($R,"bro_main.php",true); }?> @@ -340,7 +340,7 @@ function actmoveto_not_empty() { if ($c[$i]["type"]) { echo " "; if ($p["showicons"]) { - echo "icon($c[$i]["name"])."\" width=\"16\" height=\"16\" alt=\"\" />"; + echo "icon($c[$i]["name"])."\" width=\"16\" height=\"16\" alt=\"\" />"; } echo "can_edit($R,$c[$i]["name"]); @@ -613,7 +613,7 @@ if ($id=$ftp->is_ftp($R)) { else { ?> - +   - /> - + /> + - /> - + /> +


@@ -106,8 +106,8 @@ __("You can choose what to do with emails sent to unexisting address of this dom - /> - + /> +

" /> diff --git a/bureau/admin/main.php b/bureau/admin/main.php index 4d1a2e3b..111c19fc 100644 --- a/bureau/admin/main.php +++ b/bureau/admin/main.php @@ -69,8 +69,8 @@ foreach ($xml->channel->item as $val) { if ($count < $max) { echo ' - pubDate)?'colpan=2':'').'>'.$val->title.''; - if (!empty($val->pubDate)) { echo ''.strftime("%d/%m/%Y" , strtotime($val->pubDate)).''; } + pubDate)?'colpan=2':'').'>'.$val->title.''; + if (!empty($val->pubDate)) { echo ''.strftime("%d/%m/%Y" , strtotime($val->pubDate)).''; } echo ''; } $count++; @@ -88,12 +88,13 @@ if($admin->enabled) { echo "\n"; echo "\n"; if (is_array($expiring)) { - foreach($expiring as $account) { - echo ""; - if($admin->checkcreator($account['uid'])) - echo ""; - else - echo ""; + foreach($expiring as $account) { + echo ""; + if($admin->checkcreator($account['uid'])) { + echo ""; + }else{ + echo ""; + } echo "\n"; } } @@ -102,7 +103,7 @@ if($admin->enabled) { echo "

"; __("You are using the AlternC Panel. You can contact the AlternC community for information or feedback by joining the mailing-list"); - echo " users@alternc.org"; + echo " users@alternc.org"; echo "

"; } // if $admin->enabled diff --git a/bureau/admin/quotas_oneuser.php b/bureau/admin/quotas_oneuser.php index af07f275..578dc90d 100644 --- a/bureau/admin/quotas_oneuser.php +++ b/bureau/admin/quotas_oneuser.php @@ -10,7 +10,7 @@ if (!isset($mode)) { # when included from adm_login, mode is not set ?>
-

%s account"),$mem->user["login"]); ?>

+

%s account"),$mem->user["login"]); ?>

@@ -48,9 +48,6 @@ if (!isset($mode)) { # when included from adm_login, mode is not set } $t=$quota->get_size_unit($totalmail); - echo "

"._("Mailboxes size:")." "; - echo sprintf("%.1f", $t['size'])." ".$t['unit']; - echo "

"; foreach ($domaines_user as $domaine) { $alias_sizes = $quota->get_size_mail_details_domain($domaine);
"._("uid").""._("Last name, surname").""._("Expiry")."
{$account['uid']}{$account['nom']}, {$account['prenom']}{$account['nom']}, {$account['prenom']}
{$account['uid']}{$account['nom']}, {$account['prenom']}{$account['nom']}, {$account['prenom']}{$account['expiry']}