Improves UI slightly for forum bans in users administration page.
authorVincent Zanotti <vincent.zanotti@polytechnique.org>
Fri, 21 Mar 2008 18:27:18 +0000 (19:27 +0100)
committerVincent Zanotti <vincent.zanotti@polytechnique.org>
Fri, 21 Mar 2008 18:51:18 +0000 (19:51 +0100)
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
templates/admin/utilisateurs.tpl

index 33859af..c4bdc62 100644 (file)
@@ -316,6 +316,8 @@ Pour ceci changer ses permissions en 'disabled'.
   </table>
 </form>
 
+<p><strong>* à ne modifier qu'avec l'accord express de l'utilisateur !!!</strong></p>
+
 <form id="bans" method="post" action="admin/user">
   <table cellspacing="0" cellpadding="2" class="tinybicol">
     <tr>
@@ -325,10 +327,10 @@ Pour ceci changer ses permissions en 'disabled'.
     </tr>
     <tr class="impair">
       <td class="titre">
-        Poster :
+        Poster
       </td>
       <td>
-        <input type="text" name="write_perm" size="40" maxlength="255" value="{$bans.write_perm}" />
+        <input type="text" name="write_perm" size="32" maxlength="255" value="{$bans.write_perm}" />
       </td>
       <td class="action">
         <a href="javascript:ban_write()">Bannir</a>
@@ -336,10 +338,10 @@ Pour ceci changer ses permissions en 'disabled'.
     </tr>
     <tr class="pair">
       <td class="titre">
-        Lire :
+        Lire
       </td>
       <td>
-        <input type="text" name="read_perm" size="40" maxlength="255" value="{$bans.read_perm}" />
+        <input type="text" name="read_perm" size="32" maxlength="255" value="{$bans.read_perm}" />
       </td>
       <td class="action">
         <a href="javascript:ban_read()">Bannir</a>
@@ -349,10 +351,9 @@ Pour ceci changer ses permissions en 'disabled'.
       <td class="titre">
         Commentaire
       </td>
-      <td>
+      <td colspan="2">
         <input type="text" name="comment" size="40" maxlength="255" value="{$bans.comment}" />
       </td>
-      <td/>
     </tr>
     <tr class="center">
       <td colspan="3">
@@ -363,10 +364,6 @@ Pour ceci changer ses permissions en 'disabled'.
   </table>
 </form>
 
-<p>
-<strong>* à ne modifier qu'avec l'accord express de l'utilisateur !!!</strong>
-</p>
-
 {javascript name="ajax"}
 {test_email forlife=$mr.forlife}