X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Findex.tpl;h=56f678beeceea199f87985af9ceedc86d536fa14;hb=5096676e03dcd626d6e64696cb9d6ee5d8e054da;hp=3e9bc0ed48ade7bc89bbea41a831605aebefdee4;hpb=2f8bacc215bab9d9e3401e73004574cfb0eb4540;p=platal.git diff --git a/templates/events/index.tpl b/templates/events/index.tpl index 3e9bc0e..56f678b 100644 --- a/templates/events/index.tpl +++ b/templates/events/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2014 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} @@ -171,13 +118,13 @@ Bienvenue {$smarty.session.display_name}{if $birthday} if (link.childNodes[i].nodeName == 'STRONG') { link.replaceChild(link.childNodes[i].firstChild,link.childNodes[i]); } - Ajax.update_html(null, 'events/read/'+id); + $.xget('events/read/'+id); return false; } --> {/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} @@ -216,7 +163,7 @@ Bienvenue {$smarty.session.display_name}{if $birthday} |
{if $ev.img}
-
+
- 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}
![]() |