From de74fa75cf5ae347b354b5fa207cd0bd83ce45d3 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 19 Apr 2013 15:31:04 +0000 Subject: [PATCH] De plus en plus propre --- bureau/admin/adm_edit.php | 24 +++++++++++++----------- bureau/admin/bro_main.php | 2 +- bureau/admin/bro_pref.php | 28 ++++++++++++++-------------- bureau/admin/cron.php | 4 ++-- bureau/admin/ftp_list.php | 5 ++++- bureau/class/functions.php | 2 +- 6 files changed, 35 insertions(+), 30 deletions(-) diff --git a/bureau/admin/adm_edit.php b/bureau/admin/adm_edit.php index f511e04d..f548e290 100644 --- a/bureau/admin/adm_edit.php +++ b/bureau/admin/adm_edit.php @@ -70,13 +70,13 @@ if (!$r=$admin->get($uid)) { - + user["uid"]) { ?> - >
- >
+ />
+ />
@@ -90,10 +90,10 @@ if (!$r=$admin->get($uid)) { - + - >
- >
+ />
+ />
@@ -127,8 +127,9 @@ if (!$r=$admin->get($uid)) { +
+ -

@@ -142,7 +143,6 @@ if (!$r=$admin->get($uid)) {
-

@@ -150,15 +150,17 @@ if (!$r=$admin->get($uid)) { if ($mem->user["uid"]==2000 && $r["uid"]!=2000) { // Only ADMIN (2000) can change the admin status of accounts if ($r["su"]) { ?> -

+ +
+
onesu()) { __("There is only one administrator account, you cannot turn this account back to normal"); } else { ?> -

">

+"> -

">

+">

diff --git a/bureau/admin/bro_main.php b/bureau/admin/bro_main.php index b7060736..43981cf4 100644 --- a/bureau/admin/bro_main.php +++ b/bureau/admin/bro_main.php @@ -386,7 +386,7 @@ function actmoveto_not_empty() { } else { // DOSSIER : echo " "; if ($p["showicons"]) { - echo "\"\""; + echo "\"\""; } echo "$i"; + if ($p["editsizex"]==$i) echo " selected='selected'"; + echo ">$i"; } ?> @@ -107,7 +107,7 @@ for($i=0;$il_mode);$i++) { l_tgz);$i++) { echo ""._($bro->l_tgz[$i]).""; } ?> @@ -115,7 +115,7 @@ for($i=0;$il_tgz);$i++) { l_createfile);$i++) { echo ""._($bro->l_createfile[$i]).""; } ?> @@ -123,7 +123,7 @@ for($i=0;$il_createfile);$i++) { l_icons);$i++) { echo ""._($bro->l_icons[$i]).""; } ?> @@ -131,7 +131,7 @@ for($i=0;$il_icons);$i++) { l_icons);$i++) { echo ""._($bro->l_icons[$i]).""; } ?> @@ -139,7 +139,7 @@ for($i=0;$il_icons);$i++) { l_icons);$i++) { echo ""._($bro->l_icons[$i]).""; } ?> diff --git a/bureau/admin/cron.php b/bureau/admin/cron.php index 251d9401..2513e971 100644 --- a/bureau/admin/cron.php +++ b/bureau/admin/cron.php @@ -48,8 +48,8 @@ if ( sizeof($lst_cron) > $max_cron ) $max_cron=sizeof($lst_cron); for ($i=0; $i < $max_cron ; $i++) { ?> "> - "; ?> + "; ?>
<?php __(" title=""/> @@ -62,7 +62,7 @@ for ($i=0; $i < $max_cron ; $i++) { foreach ($cron->schedule() as $cs) { echo ""; diff --git a/bureau/admin/ftp_list.php b/bureau/admin/ftp_list.php index 6c54c8df..6ae4a24d 100644 --- a/bureau/admin/ftp_list.php +++ b/bureau/admin/ftp_list.php @@ -93,7 +93,10 @@ if ( $val['enabled']) { ]' value='' /> - + + "> + "._("Directory not found").""; } ?> + ';