X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Findex.tpl;h=563f0d044e310eae979ed34aea9fbcf3955d9b85;hb=c65aed9897893d27bc93744c801d289724ef5b7b;hp=738131441a57234493d145c66a6b187873af1dfb;hpb=8230e9f8eff954fb1103c8bdcf0d22557d419ae7;p=platal.git diff --git a/templates/events/index.tpl b/templates/events/index.tpl index 7381314..563f0d0 100644 --- a/templates/events/index.tpl +++ b/templates/events/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,70 +20,40 @@ {* *} {**************************************************************************} -{if $ask_naissance} +{if t($ask_naissance)} {include file='include/form_naissance.tpl'} {else}

-Bienvenue {$smarty.session.prenom}{if $birthday} -  et joyeux anniversaire de la part de toute l'équipe ! +Bienvenue {$smarty.session.user->displayName()}{if t($birthday)} +  et joyeux anniversaire de la part de toute l'équipe ! {else}, {/if}

-{if $smarty.session.host} +{if $smarty.session.user->host}
- {if $birthday}T{else}t{/if}a connexion précédente date du - {$smarty.session.lastlogin|date_format:"%x, %X"} - depuis la machine {$smarty.session.host}. -
-{/if} - -{if $reminder} -{$reminder|smarty:nodefaults} -{/if} - -{if $fiche_incitation || $photo_incitation || ($geoloc_incitation > 0)} -
- + {if t($birthday)}T{else}t{/if}a connexion précédente date du + {$smarty.session.user->lastlogin|date_format:"%x, %X"} + depuis la machine {$smarty.session.user->host}.
{/if} +{if t($reminder)} +{include file="reminder/base.tpl"} +{else} {include file="include/tips.tpl" full=true} +{/if} {foreach from=$events name=events key=category item=evenement} @@ -122,8 +92,8 @@ Bienvenue {$smarty.session.prenom}{if $birthday} {if !$has_evts}