X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Findex.tpl;h=563f0d044e310eae979ed34aea9fbcf3955d9b85;hb=b271177d4412bfb5d1474f7d2d1ef0990e65addd;hp=738131441a57234493d145c66a6b187873af1dfb;hpb=8230e9f8eff954fb1103c8bdcf0d22557d419ae7;p=platal.git diff --git a/templates/events/index.tpl b/templates/events/index.tpl index 7381314..563f0d0 100644 --- a/templates/events/index.tpl +++ b/templates/events/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,70 +20,40 @@ {* *} {**************************************************************************} -{if $ask_naissance} +{if t($ask_naissance)} {include file='include/form_naissance.tpl'} {else}
{if $smarty.foreach.events.first} - {if $smarty.session.core_rss_hash} - + {if $smarty.session.user->token} + {icon name=feed title='fil rss'} {else} @@ -99,7 +69,7 @@ Bienvenue {$smarty.session.prenom}{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.core_rss_hash}
-
+ {if $smarty.session.user->token}
+
{icon name=feed title='fil rss'}
{else}
@@ -148,7 +118,7 @@ Bienvenue {$smarty.session.prenom}{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;
}
-->
@@ -179,7 +149,7 @@ Bienvenue {$smarty.session.prenom}{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}
@@ -219,10 +189,7 @@ Bienvenue {$smarty.session.prenom}{if $birthday}
![]() |