{**************************************************************************} {* *} {* Copyright (C) 2003-2004 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} {* it under the terms of the GNU General Public License as published by *} {* the Free Software Foundation; either version 2 of the License, or *} {* (at your option) any later version. *} {* *} {* This program is distributed in the hope that it will be useful, *} {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} {* GNU General Public License for more details. *} {* *} {* You should have received a copy of the GNU General Public License *} {* along with this program; if not, write to the Free Software *} {* Foundation, Inc., *} {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************}

{$asso.nom} : Evénements

{if !$logged}

Aucune manifestation publique n'a été saisie par ce groupe pour l'instant...

{else} {if $admin}

[Annoncer un nouvel événement]

{/if} {if $nb_evt eq 0}

Aucun événement n'a été référencé par les animateurs du groupe.

{else}
{foreach from=$evenements item=e} {if $admin || $e.show_participants} {/if} {assign var="montant" value=0} {if !$e.membres_only or $is_member or $e.inscrit} {if $e.inscr_open} {/if} {iterate from=$e.moments item=m} {assign var="montant" value=$montant+$m.montant*$m.nb} {/iterate} {if $e.deadline_inscription} {/if} {if $montant > 0 || $e.paid > 0} {/if} {/if}
{$e.intitule} {if $admin} Edition de l'événement Suppression de {$e.intitule} {/if}
date : {if $e.fin and $e.fin neq $e.debut} {if $e.debut_day eq $e.fin_day} le {$e.debut|date_format:"%d %B %Y"} de {$e.debut|date_format:"%H:%M"} à {$e.fin|date_format:"%H:%M"} {else} du {$e.debut|date_format:"%d %B %Y à %H:%M"}
au {$e.fin|date_format:"%d %B %Y à %H:%M"} {/if} {else} le {$e.debut|date_format:"%d %B %Y à %H:%M"} {/if}
annonceur : {$e.prenom} {$e.nom} ({$e.promo})
Liste des participants Liste des participants
Je viendrai...
{$m.titre} {if $e.inscr_open} non seul
1}checked="checked"{/if}/>avec personnes {else} {if !$m.nb} Je ne viendrai pas. {elseif $m.nb eq 1} Je viendrai seul. {else} Je viendrai avec {$m.nb} personne{if $m.nb > 2}s{/if} {/if} {/if}
{if $e.inscr_open} dernières inscriptions le {$e.deadline_inscription|date_format:"%d %B %Y"} {else} Inscriptions closes. {/if}
$e.paid}class="erreur"{/if}> Tu dois payer {$montant|replace:'.':','} €{if $e.paid > 0}, et tu as déjà payé {$e.paid|replace:'.':','} €{/if}. {if $e.paiement_id && $montant > $e.paid} [Payer en ligne] {/if}
{if (!$e.membres_only or $is_member or $e.inscrit) and $e.inscr_open}

{else}

 

{/if} {/foreach}
{/if} {/if} {* vim:set et sw=2 sts=2 sws=2: *}