Merge branch 'master' into fusionax
[platal.git] / templates / newsletter / edit.tpl
index b34c7e1..6759865 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
       </td>
       <td>
         <input type='text' size='16' name='shortname' value="{$nl->_shortname}" />
-        <span class="smaller">(Ex : 2006-06 pour la NL de juin 2006)</span>
+        <span class="smaller">(Ex&nbsp;: 2006-06 pour la NL de juin 2006)</span>
       </td>
     </tr>
     <tr>
       <td class='titre'>
-        Titre dmail
+        Titre de l'email
       </td>
       <td>
         <input type='text' size='60' name='title_mail' value="{$nl->title(true)}" />
 <table class="bicol" cellpadding="3" cellspacing="0">
   <tr>
     <td>
-      Créer un nouvel article ...
+      Créer un nouvel article...
     </td>
     <td style='vertical-align:middle; border-left: 1px gray solid' class="center">
       <a href="admin/newsletter/edit/{$nl->_id}/new#edit">{icon name=add title="créer"}</a>
   {foreach from=$arts item=art}
   <tr class="{cycle values="impair,pair"}">
     <td>
-      <pre>{$art->toText($smarty.session.prenom,$smarty.session.nom,$smarty.session.femme)}</pre>
+      <pre>{$art->toText('%hash%','%login%')}</pre>
     </td>
     <td style='vertical-align:middle; border-left: 1px gray solid'>
       <small><strong>Pos: {$art->_pos}</strong></small><br />
 [<a href="admin/newsletter/edit/{$nl->_id}">retour</a>]
 </p>
 
-{if !$art->check()}<p class='erreur'>article trop long !</p>{/if}
 <table class='bicol'>
   <tr><th>Version texte</th></tr>
   <tr id='text'>
   <table class='bicol'>
     <tr>
       <th colspan='2'>
-        <a id='edit'></a>Editer un article
+        <a id='edit'></a>Éditer un article
       </th>
     </tr>
     <tr class="impair">