X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Findex.tpl;h=83eb602ff9fa5a1f89c7d9d3311bc0aa79d84f3b;hb=2ab3486b89b57e612d6f412afa97f7442a0e2ac0;hp=d7dad61fd50318dd4d171b49494294ffaa00243e;hpb=b00527ff4a4883f2bd8bdfcceb6d4123f19ef785;p=platal.git diff --git a/templates/events/index.tpl b/templates/events/index.tpl index d7dad61..83eb602 100644 --- a/templates/events/index.tpl +++ b/templates/events/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 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,17 +27,17 @@ {else}

-Bienvenue {$smarty.session.display_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} @@ -52,8 +52,8 @@ Bienvenue {$smarty.session.display_name}{if $birthday} {if $smarty.foreach.events.first} - {if $smarty.session.token} - + {if $smarty.session.user->token} + {icon name=feed title='fil rss'} {else} @@ -69,7 +69,7 @@ Bienvenue {$smarty.session.display_name}{if $birthday} {elseif $category eq 'end'} {icon name=clock} Dernières minutes : {else} - {icon name=magnifier} Mais encore... + {icon name=magnifier} Mais encore… {/if} @@ -92,8 +92,8 @@ Bienvenue {$smarty.session.display_name}{if $birthday} {if !$has_evts} - {if $smarty.session.token} - + {if $smarty.session.user->token} + {icon name=feed title='fil rss'} {else} @@ -189,7 +189,7 @@ Bienvenue {$smarty.session.display_name}{if $birthday} Sommaire - Annonce proposée par {profile user=$ev.user_id sex=false promo=true} + Annonce proposée par {profile user=$ev.uid sex=false promo=true}