X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Findex.tpl;h=afb4ba92f2b3794c9c9ef1130294883b388fad65;hb=cafb410fea6f257f45da08631c6cdb5c35f86b17;hp=e629466a4b335f0b4191d4d384f45e3e6b6429ca;hpb=4ca15c312b905eea712b71d077c7a8b24f9d3b01;p=platal.git diff --git a/templates/events/index.tpl b/templates/events/index.tpl index e629466..afb4ba9 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 *} @@ -20,93 +20,40 @@ {* *} {**************************************************************************} -{if $ask_naissance} +{if t($ask_naissance)} {include file='include/form_naissance.tpl'} {else}
{if $smarty.foreach.events.first} - {if $smarty.session.token} - + {if $smarty.session.user->token} + {icon name=feed title='fil rss'} {else} @@ -122,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} |
- {if $smarty.session.token} - + {if $smarty.session.user->token} + {icon name=feed title='fil rss'} {else} @@ -177,7 +124,7 @@ Bienvenue {$smarty.session.display_name}{if $birthday} --> {/literal} - + {foreach from=$events key=category item=evenement} {foreach item=ev from=$evenement} {if $ev.nonlu} @@ -202,7 +149,7 @@ Bienvenue {$smarty.session.display_name}{if $birthday} {if hasPerm('admin')} {icon name=page_edit title="Editer cet article"} {/if} - {icon name=cross title="Cacher cet article"} + {icon name=cross title="Cacher cet article"} {assign var="previd" value=$ev.id} @@ -242,10 +189,7 @@ Bienvenue {$smarty.session.display_name}{if $birthday} - Annonce proposée par - - {$ev.prenom} {$ev.nom} {$ev.promo_display} - + Annonce proposée par {profile user=$ev.uid sex=false promo=true} |