X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Findex.tpl;h=83eb602ff9fa5a1f89c7d9d3311bc0aa79d84f3b;hb=2ab3486b89b57e612d6f412afa97f7442a0e2ac0;hp=2185957a6dbda65cd93b2e3307db4cd0bf9cb5a0;hpb=4b239f6e6cb26cdd814b42f3efcbcae40fa862a4;p=platal.git diff --git a/templates/events/index.tpl b/templates/events/index.tpl index 2185957..83eb602 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 *} @@ -27,86 +27,33 @@ {else}

-Bienvenue {$smarty.session.yourself_name}{if $birthday} -  et joyeux anniversaire de la part de toute l'équipe ! +Bienvenue {$smarty.session.user->displayName()}{if $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}. + {$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 $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.yourself_name}{if $birthday} {if !$has_evts}