Prevents notices.
authorStéphane Jacob <sj@m4x.org>
Tue, 22 Mar 2011 14:30:44 +0000 (15:30 +0100)
committerStéphane Jacob <sj@m4x.org>
Tue, 22 Mar 2011 14:30:44 +0000 (15:30 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
templates/admin/add_accounts.tpl

index a09605a..74524ac 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>