Improves details about date format in accounts addition.
[platal.git] / templates / admin / add_accounts.tpl
index 83966f6..3b40078 100644 (file)
@@ -22,7 +22,7 @@
 
 <h1>Mise à jour de l'annuaire</h1>
 
-{if $newAccounts}
+{if t($newAccounts)}
 <p>
   Les comptes suivants ont été ajoutés&nbsp;:
   <ul>
@@ -33,7 +33,7 @@
 </p>
 {/if}
 
-{if !$add_type}
+{if !t($add_type)}
 <form action="{$platal->pl_self()}" method="post">
 <table class="tinybicol">
   <tr>
 
 {else}
 <form action="{$platal->pl_self()}" method="post">
-<input type="hidden" name="add_type" value="{$add_type}" />
-<table class="tinybicol">
+<table class="tinybicol" style="margin-bottom: 1em">
   <tr>
     <td class="center">
       <strong>Promotion&nbsp;:</strong>
       <input type="text" name="promotion" size="4" maxlength="4" />
+      <input type="hidden" name="add_type" value="{$add_type}" />
     </td>
   </tr>
 {if $add_type eq 'promo'}
     </td>
   </tr>
 </table>
-<br />
 <table class="bicol">
   <tr>
     <td>Nom</td>
     <td>Prénom</td>
-    <td>Date de naissance</td>
+    <td>Date de naissance (JJ/MM/AAAA)</td>
     <td>Sexe (F/M)</td>
     <td>Matricule École</td>
     <td>Matricule AX</td>