Fix a race condition in active redirection validation.
[platal.git] / templates / include / form.valid.evts.tpl
index 173bb08..ef75dfa 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2008 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -27,7 +27,7 @@
 </tr>
 <tr class="pair">
   <td class="titre">Texte</td>
-  <td>{tidy}{$valid->texte|nl2br|smarty:nodefaults}{/tidy}</td>
+  <td>{tidy}{$valid->texte|miniwiki|smarty:nodefaults}{/tidy}</td>
 </tr>
 <tr class="pair">
   <td class="titre">PĂ©remption</td>
   <td>{$valid->pmin} - {$valid->pmax}</td>
 </tr>
 <tr class="pair">
-  <td class="titre">Commentaire</td>
-  <td>{$valid->comment}</td>
+  <td class="titre">Illustration</td>
+  <td>
+    {if $valid->imgtype}
+    <img src="events/photo/valid/{$valid->id()}" alt="Image" />
+    {else}
+    Pas d'image dĂ©finie
+    {/if}
+  </td>
 </tr>
 
 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}