Translates peremption to expiration.
[platal.git] / templates / xnetgrp / announce-admin.tpl
index 45ae5f8..eab92b5 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 {*                                                                        *}
 {**************************************************************************}
 
-<h1>{$asso.nom} : Administration des announces</h1>
+<h1>{$asso->nom}&nbsp;: Administration des announces</h1>
 
 <table class="bicol">
   <tr>
     <th>Titre</th>
-    <th>Péremption</th>
+    <th>Péremption</th>
     <th></th>
   </tr>
   {iterate item=art from=$articles}
   <tr class="{if $art.perime}im{/if}pair">
     <td><a href="{$platal->ns}announce/edit/{$art.id}">{$art.titre}</a></td>
-    <td>{$art.peremption|date_format}</td>
-    <td class="right"><a href="{$platal->ns}admin/announces?del={$art.id}">
+    <td>{$art.expiration|date_format}</td>
+    <td class="right"><a href="{$platal->ns}admin/announces?del={$art.id}&amp;token={xsrf_token}">
         Supprimer l'annonce {icon name=cross}
       </a>
     </td>
   <tr>
     <td colspan="3" class="center">
       <a href="{$platal->ns}announce/new">
-        {icon name=add title="Nouvelle annonce"} Ecrire une nouvelle annonce
+        {icon name=add title="Nouvelle annonce"} Écrire une nouvelle annonce.
       </a>
     </td>
   </tr>
 </table>
 
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}