X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Findex.tpl;h=563f0d044e310eae979ed34aea9fbcf3955d9b85;hb=6233eecc6f85b2fe0cfcc53653b2c258a2975e2d;hp=83eb602ff9fa5a1f89c7d9d3311bc0aa79d84f3b;hpb=4abb0fe4bcefc73a18891e9768640d8811a09acc;p=platal.git diff --git a/templates/events/index.tpl b/templates/events/index.tpl index 83eb602..563f0d0 100644 --- a/templates/events/index.tpl +++ b/templates/events/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 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,14 +20,14 @@ {* *} {**************************************************************************} -{if $ask_naissance} +{if t($ask_naissance)} {include file='include/form_naissance.tpl'} {else}

-Bienvenue {$smarty.session.user->displayName()}{if $birthday} +Bienvenue {$smarty.session.user->displayName()}{if t($birthday)}  et joyeux anniversaire de la part de toute l'équipe ! {else}, {/if} @@ -35,13 +35,13 @@ Bienvenue {$smarty.session.user->displayName()}{if $birthday} {if $smarty.session.user->host}
- {if $birthday}T{else}t{/if}a connexion précédente date du + {if t($birthday)}T{else}t{/if}a connexion précédente date du {$smarty.session.user->lastlogin|date_format:"%x, %X"} depuis la machine {$smarty.session.user->host}.
{/if} -{if $reminder} +{if t($reminder)} {include file="reminder/base.tpl"} {else} {include file="include/tips.tpl" full=true} @@ -118,7 +118,7 @@ Bienvenue {$smarty.session.user->displayName()}{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; } --> @@ -149,7 +149,7 @@ Bienvenue {$smarty.session.user->displayName()}{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}