1 {**************************************************************************}
3 {* Copyright (C) 2003-2010 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 {**************************************************************************}
23 <h1>{$asso->nom} : validation des inscriptions</h1>
25 <script type="text/javascript">//<![CDATA[
27 var toggleState = false;
28 function toggleSelection()
30 toggleState = !toggleState;
31 var boxes = $(':checkbox.select_sub');
33 boxes.attr("checked", "checked");
35 boxes.removeAttr("checked");
41 {if $valid->total() > 0}
42 <form action="{$platal->ns}subscribe/valid" method="post">
43 <table class="tinybicol">
45 <th><a href="javascript:toggleSelection()">{icon name="arrow_refresh" title="Inverser la sélection"}</a></th>
46 <th>Prénom Nom (Promotion)</th>
47 <th>Date de demande</th>
50 {iterate from=$valid item=user}
52 <td><input type="checkbox" name="subs[{$user.hruid}]" value="1" class="select_sub" /></td>
53 <td>{profile user=$user.uid promo=true}</td>
54 <td>{$user.date|date_format}</td>
55 <td><a href="{$platal->ns}subscribe/{$user.hruid}">{icon name=magnifier title="Détails"}</a></td>
62 <input type="submit" name="valid" value="Accepter" />
66 Pour voir le détail sur une demande, clique sur le lien {icon name=magnifier title="Détails"}.<br />
67 Pour refuser une demande, tu dois aller consulter les détails et remplir la raison du refus.
72 Il n'y a pas d'inscription à valider.
76 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}