X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Findex.tpl;h=06b936e4462734f8c842b257ca1cbdf64a958444;hb=063410c8fefc9ba93e0ff98edeea0a020f210f0c;hp=6535855c94533eaeba4abc57d6bda9b7e29f25bf;hpb=6e909db8e8f8a25a0d44e3ff74bcc5f76eb2ea92;p=platal.git diff --git a/templates/events/index.tpl b/templates/events/index.tpl index 6535855..06b936e 100644 --- a/templates/events/index.tpl +++ b/templates/events/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,93 +20,40 @@ {* *} {**************************************************************************} -{if $ask_naissance} +{if t($ask_naissance)} {include file='include/form_naissance.tpl'} {else}

-Bienvenue {$smarty.session.display_name}{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 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 $smarty.session.no_redirect} -
- -
-{/if} - -{if $smarty.session.mx_failures|@count} -
- {icon name=error} Des problèmes sont actuellement recontrés sur tes redirections suivantes : - -
Gérer mes adresses de redirection
-
-{/if} - -{if $fiche_incitation || $photo_incitation || ($geoloc_incitation > 0)} -
- -
+{if t($reminder)} +{include file="reminder/base.tpl"} +{else} +{include file="include/tips.tpl" full=true} {/if} -{include file="include/tips.tpl" full=true} - {foreach from=$events name=events key=category item=evenement} @@ -145,8 +92,8 @@ Bienvenue {$smarty.session.display_name}{if $birthday} {if !$has_evts}