1 {**************************************************************************}
3 {* Copyright (C) 2003-2009 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} : Evénement {$event.intitule}</h1>
26 [<a href="{$platal->ns}events">Revenir à la liste des événements</a>]
32 {if $event.fin and $event.fin neq $event.debut}
33 {if $event.first_day eq $event.last_day}
34 le {$event.debut|date_format:"%d %B %Y"} de {$event.debut|date_format:"%H:%M"} à {$event.fin|date_format:"%H:%M"}
36 du {$event.debut|date_format:"%d %B %Y à %H:%M"}<br />
37 au {$event.fin|date_format:"%d %B %Y à %H:%M"}
40 le {$event.debut|date_format:"%d %B %Y à %H:%M"}
44 <a href='https://www.polytechnique.org/profile/{$event.alias}' class='popup2'>
45 {$event.prenom} {$event.nom} ({$event.promo}).
50 {$event.descriptif|nl2br}
53 {if $admin || $event.show_participants}
56 <a href="{$platal->ns}events/admin/{$event.eid}">
57 consulter la liste des participants
58 {icon name=group title="Liste des participants"}</a>
63 <form action="{$platal->ns}events/sub/{$event.eid}" method="post">
65 <table class="tiny" cellspacing="0" cellpadding="0">
66 {foreach from=$event.moments item=m}
67 <tr><th>{$m.titre} ({$m.montant} €)</th></tr>
77 {if $event.inscr_open}
78 <label><input type="radio" name="moment[{$m.item_id}]" value="0"
79 {if !$m.nb}checked="checked"{/if}/>non</label>
81 <label><input type="radio" name="moment[{$m.item_id}]" value="1"
82 {if $m.nb eq 1}checked="checked"{/if}/>oui</label>
84 <label><input type="radio" name="moment[{$m.item_id}]" value="1"
85 {if $m.nb eq 1}checked="checked"{/if}/>seul</label><br />
86 <label><input type="radio" name="moment[{$m.item_id}]" value="2" id="avec"
87 {if $m.nb > 1}checked="checked"{/if}/>avec</label>
88 <input size="2" name="personnes[{$m.item_id}]"
89 value="{if $m.nb > 1}{math equation='x - 1' x=$m.nb}{else}1{/if}"/><label for="avec"> personnes</label>
95 Je viendrai{if !$event.noinvite} seul{/if}.
97 Je viendrai avec {$m.nb} personne{if $m.nb > 2}s{/if}.
104 <tr><th>À payer</th></tr>
110 Tu dois payer {$event.topay|replace:'.':','} €.
111 {elseif $event.paid < $event.topay}
112 Tu dois encore payer {math equation="a-b" a=$event.topay b=$event.paid|replace:'.':','} €
113 (tu as déjà payé {$event.paid|replace:'.':','} €).
115 Tu as déjà payé {$event.paid|replace:'.':','} € pour ton inscription.
119 {if $event.paiement_id && $event.paid < $event.topay}
120 <a href="{$platal->ns}payment/{$event.paiement_id}?montant={math equation="a-b" a=$event.topay b=$event.paid}">
121 {icon name=money} Payer en ligne</a>
122 {elseif $validation && $event.paid < $event.topay}
123 <br />Le télépaiement pour cet événement est en instance de validation :<br />
124 <input type="checkbox" name="notify_payment" {if $event.notify_payment}checked="checked"{/if} id="notify" />
125 <label for="notify">être prévenu lorsque le télépaiment pour cet événement sera disponible.</label>
131 (tu as déjà payé {$event.paid|replace:'.':','} €).
138 <p style="text-align:center">
139 <input type="submit" name='submit' value="Valider mes inscriptions" />
143 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}