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 {**************************************************************************}
28 {iterate item=valid from=$vit|smarty:nodefaults}
32 <th colspan="2">{$valid->type}</th>
35 <td class="titre" style="width: 20%">Demandeur :</td>
37 <a href="{rel}/fiche.php?user={$valid->bestalias}" class="popup2">
38 {$valid->prenom} {$valid->nom} (X{$valid->promo})
42 {include file=$valid->formu()}
43 <tr><th colspan='2'>Commentaires</th></tr>
44 {foreach from=$valid->comments item=c}
45 <tr class="{cycle values="impair,pair"}">
47 <a href="{rel}/fiche.php?user={$c[0]}" class="popup2">{$c[0]}</a>
52 <tr id='comment{$valid->uid}'>
53 <td colspan='2' class='center'>
54 <form action="{$smarty.server.PHP_SELF}" method="post">
56 <input type="hidden" name="uid" value="{$valid->uid}" />
57 <input type="hidden" name="type" value="{$valid->type}" />
58 <input type="hidden" name="stamp" value="{$valid->stamp}" />
59 <textarea rows="3" cols="50" name="comm"></textarea>
61 <input type="submit" name="hold" value="Commenter" />
66 <tr><th colspan='2'>Réponse</th></tr>
68 <td colspan='2' class='center' {popup caption="Règles de validation" text=$valid->rules}>
69 <form action="{$smarty.server.PHP_SELF}" method="post">
71 Ajouté dans l'email :<br />
72 <textarea rows="5" cols="50" name="comm"></textarea><br />
74 <input type="hidden" name="uid" value="{$valid->uid}" />
75 <input type="hidden" name="type" value="{$valid->type}" />
76 <input type="hidden" name="stamp" value="{$valid->stamp}" />
77 <input type="submit" name="accept" value="Accepter" />
78 {if $valid->refuse}<input type="submit" name="refuse" value="Refuser" />{/if}
79 <input type="submit" name="delete" value="Supprimer" />
94 {* vim:set et sw=2 sts=2 sws=2: *}