Index: /alternc/trunk/bureau/locales/fr_FR/LC_MESSAGES/messages.po
===================================================================
--- /alternc/trunk/bureau/locales/fr_FR/LC_MESSAGES/messages.po	(revision 2679)
+++ /alternc/trunk/bureau/locales/fr_FR/LC_MESSAGES/messages.po	(revision 2680)
@@ -395,6 +395,6 @@
 
 #: ../admin/adm_list.php:78 ../admin/adm_list.php:76 ../admin/adm_list.php:106
-msgid "Last fail"
-msgstr "Dernier échec"
+msgid "Recent fail"
+msgstr "Échec récent"
 
 #: ../admin/adm_list.php:78 ../admin/adm_list.php:76 ../admin/adm_list.php:107
@@ -2846,2 +2846,4 @@
 msgstr "Créer ce nouvel utilisateur MySQL"
 
+msgid "Created on"
+msgstr "Créé le"
Index: /alternc/trunk/bureau/locales/fr_FR/LC_MESSAGES/manual.po
===================================================================
--- /alternc/trunk/bureau/locales/fr_FR/LC_MESSAGES/manual.po	(revision 2679)
+++ /alternc/trunk/bureau/locales/fr_FR/LC_MESSAGES/manual.po	(revision 2680)
@@ -773,5 +773,5 @@
 #. eg: english : %3$d/%1$d/%2$d
 msgid "%3$d-%2$d-%1$d"
-msgstr "%1$d/%2$d/%3$d"
+msgstr "%1$02d/%2$02d/%3$04d"
 
 msgid "AlternC's account password"
Index: /alternc/trunk/bureau/admin/adm_list.php
===================================================================
--- /alternc/trunk/bureau/admin/adm_list.php	(revision 2679)
+++ /alternc/trunk/bureau/admin/adm_list.php	(revision 2680)
@@ -101,5 +101,5 @@
 <table cellspacing="0" cellpadding="4">
 <tr>
-<th colspan="5">&nbsp;</th>
+<th colspan="5"><?php echo __("Actions"); ?></th>
 <th><?php __("Username"); ?></th>
 <th><?php echo _("Surname")." "._("First Name")."<br />("._("Email address").")"; ?></th>
@@ -108,6 +108,6 @@
 <th><?php __("Account type") ?></th>
 <th><?php __("Last login"); ?></th>
-<th><?php __("Last fail"); ?></th>
 <th><?php __("Last ip"); ?></th>
+<th><?php __("Recent fail"); ?></th>
 <th><?php __('Expiry') ?></th>
 </tr>
@@ -145,6 +145,6 @@
 		<td><?php echo $val["type"] ?></td>
 		<td><?php echo $val["lastlogin"] ?></td>
+                <td><?php echo $val["lastip"] ?></td>
 		<td><?php echo $val["lastfail"] ?></td>
-                <td><?php echo $val["lastip"] ?></td>
 		<td><div class="<?php echo 'exp' . $admin->renew_get_status($val['uid']) ?>"><?php echo $admin->renew_get_expiry($val['uid']) ?></div></td>
 	</tr>
Index: /alternc/trunk/bureau/admin/adm_quotaedit.php
===================================================================
--- /alternc/trunk/bureau/admin/adm_quotaedit.php	(revision 2559)
+++ /alternc/trunk/bureau/admin/adm_quotaedit.php	(revision 2680)
@@ -62,8 +62,8 @@
 ?>
 <form method="post" action="adm_quotadoedit.php">
-<table border="1" cellspacing="0" cellpadding="6">
+<table class="tedit">
 <tr><th><input type="hidden" name="uid" value="<?php echo $uid ?>" />
 <?php __("Username"); ?></th><td colspan="3"><code><big><?php echo $us["login"]; ?></big></code>&nbsp;</td></tr>
-<tr><th><?php __("Quota"); ?></th><th><?php __("Total"); ?></th><th><?php __("Used"); ?></th></tr>
+<tr><th><?php __("Quota"); ?></th><th style="text-align: right"><?php __("Total"); ?></th><th><?php __("Used"); ?></th></tr>
 <?php
 $ql=$quota->qlist();
@@ -81,5 +81,8 @@
 }
 ?>
-<tr><td colspan="4" align="center"><input class="inb" type="submit" name="submit" value="<?php __("Edit the quotas"); ?>" />
+<tr class="trbtn"><td colspan="3">
+  <input class="inb" type="submit" name="submit" value="<?php __("Edit the quotas"); ?>" />
+  <input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='adm_list.php'" />
+
 </td></tr>
 </table>
Index: /alternc/trunk/bureau/admin/adm_quotadoedit.php
===================================================================
--- /alternc/trunk/bureau/admin/adm_quotadoedit.php	(revision 2559)
+++ /alternc/trunk/bureau/admin/adm_quotadoedit.php	(revision 2680)
@@ -43,5 +43,5 @@
   while (list($key,$val)=each($qlist)) {
     $var="q_".$key;
-    $quota->setquota($key,$$var);
+    $quota->setquota($key,$_REQUEST[$var]);
   }
   $mem->unsu();
Index: /alternc/trunk/bureau/admin/adm_deactivate.php
===================================================================
--- /alternc/trunk/bureau/admin/adm_deactivate.php	(revision 2559)
+++ /alternc/trunk/bureau/admin/adm_deactivate.php	(revision 2680)
@@ -57,6 +57,7 @@
   <form action="<?=$PHP_SELF?>" method="GET">
   <input type="hidden" name="uid" value="<?=$uid?>" />
-  <? __("Redirection URL:") ?> <input type="text" name="redirect" value="http://example.com/" />
-  <input type="submit" name="submit" value="<?=_("Confirm")?>" />
+  <? __("Redirection URL:") ?> <input type="text" name="redirect" class="int" value="http://example.com/" />
+  <input type="submit" name="submit" class="inb" value="<?=_("Confirm")?>" />
+  <input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='adm_list.php'"/>
   </form><?php
 
@@ -97,30 +98,32 @@
   $dom->unlock();
   # 2. for each subdomain
-  foreach ($r['sub'] as $k => $sub) {
-    # shortcuts
-    $type = $sub['type'];
-    $dest = $sub['dest'];
-    $sub = $sub['name'];
-    # if it's a real website
-    if ($type == $dom->type_local) {
-      if (!$confirmed) {
-        print "<li>";
-        if ($sub) {
-          print $sub . '.';
-        }
-        print "$domain -> $dest</li>";
-      } else {
+  if (is_array($r['sub'])) {
+    foreach ($r['sub'] as $k => $sub) {
+# shortcuts
+      $type = $sub['type'];
+      $dest = $sub['dest'];
+      $sub = $sub['name'];
+# if it's a real website
+      if ($type == $dom->type_local) {
+	if (!$confirmed) {
+	  print "<li>";
+	  if ($sub) {
+	    print $sub . '.';
+	  }
+	  print "$domain -> $dest</li>";
+	} else {
 
-        # 2.1 keep a copy of where it was, in an SQL request
-        $backup .= "UPDATE `sub_domaines` SET `type`='$type', valeur='$dest' WHERE `domaine`='$domain' AND sub='$sub';\n";
-        $backup .= "DELETE FROM `sub_domaines_standby` WHERE domaine='$domain' and sub='$sub';\n";
-        $backup .= "INSERT INTO sub_domaines_standby (compte,domaine,sub,valeur,type,action) values ('$cuid','$domain','$sub','$dest','$type',1);\n"; // UPDATE
-
-        # 2.2 change the subdomain to redirect to http://spam.koumbit.org/
-	$dom->lock();
-        if (!$dom->set_sub_domain($domain, $sub, $dom->type_url, "edit", $redirect)) {
-	  print "-- error in $sub.$domain: " . $err->errstr() . "\n";
+# 2.1 keep a copy of where it was, in an SQL request
+	  $backup .= "UPDATE `sub_domaines` SET `type`='$type', valeur='$dest' WHERE `domaine`='$domain' AND sub='$sub';\n";
+	  $backup .= "DELETE FROM `sub_domaines_standby` WHERE domaine='$domain' and sub='$sub';\n";
+	  $backup .= "INSERT INTO sub_domaines_standby (compte,domaine,sub,valeur,type,action) values ('$cuid','$domain','$sub','$dest','$type',1);\n"; // UPDATE
+	  
+# 2.2 change the subdomain to redirect to http://spam.koumbit.org/
+	  $dom->lock();
+	  if (!$dom->set_sub_domain($domain, $sub, $dom->type_url, "edit", $redirect)) {
+	    print "-- error in $sub.$domain: " . $err->errstr() . "\n";
+	  }
+	  $dom->unlock();
 	}
-	$dom->unlock();
       }
     }
