1 {**************************************************************************}
3 {* Copyright (C) 2003-2006 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
26 Gestion des événements :
28 [ <a href="{$smarty.server.PHP_SELF}?arch=0">Actualités</a> | Archives ]
30 [ Actualités | <a href="{$smarty.server.PHP_SELF}?arch=1">Archives</a> ]
36 {include file="include/form.evenement.tpl"}
40 {iterate from=$evs item=ev}
44 Posté par <a href="{rel}/fiche.php?user={$ev.forlife}" class='popup2'>{$ev.prenom} {$ev.nom} (X{$ev.promo})</a>
47 <tr class="{if $ev.fvalide}impair{else}pair{/if}">
49 <strong>{$ev.titre}</strong>
52 <tr class="{if $ev.fvalide}impair{else}pair{/if}">
54 {tidy}{$ev.texte|nl2br}{/tidy}
57 <tr class="{if $ev.fvalide}impair{else}pair{/if}">
59 Création : {$ev.creation_date}<br />
60 Péremption : {$ev.peremption}<br />
61 Promos : {$ev.promo_min} - {$ev.promo_max}<br />
66 <form action="{$smarty.server.PHP_SELF}" method="post">
68 <input type="hidden" name="evt_id" value="{$ev.id}" />
69 <input type="hidden" name="arch" value="{$ev.arch}" />
71 <input type="submit" name="action" value="Desarchiver" />
73 <input type="submit" name="action" value="Editer" />
75 <input type="submit" name="action" value="Invalider" />
76 <input type="submit" name="action" value="Archiver" />
78 <input type="submit" name="action" value="Valider" />
80 <input type="submit" name="action" value="Supprimer" />
94 {* vim:set et sw=2 sts=2 sws=2: *}