Fix layout issues with smtp password form.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Tue, 6 May 2008 15:26:05 +0000 (17:26 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Tue, 6 May 2008 15:26:05 +0000 (17:26 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
plugins/compiler.checkpasswd.php
templates/platal/acces_smtp.tpl

index 07b76f3..0861e45 100644 (file)
@@ -24,7 +24,7 @@ function smarty_compiler_checkpasswd($tag_attrs, &$compiler)
 {
     extract($compiler->_parse_attrs($tag_attrs));
     if (!isset($width)) {
-      $width = '240px';
+      $width = '230px';
     }
     if (!isset($prompt)) {
       $prompt = "'nouveau'";
index 7002c73..7e21a31 100644 (file)
@@ -65,7 +65,8 @@
   <table class="tinybicol" cellpadding="3" summary="Définition du mot de passe">
     <tr>
       <td class="titre">
-        Mot de passe (15 caractères maximum)&nbsp;:
+        Mot de passe&nbsp;:<br />
+        <small>15 caractères max.</small>
       </td>
       <td>
         <input type="password" size="15" maxlength="15" name="smtppass1" />
@@ -73,7 +74,7 @@
     </tr>
     <tr>
       <td class="titre">
-        Retape-le une fois (pour vérification)&nbsp;:
+        Retape-le une fois&nbsp;:
       </td>
       <td>
         <input type="password" size="15" maxlength="15" name="smtppass2" />