X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Finclude%2Ftrombi.tpl;h=f3ec1e70dba89ad8e9ad7c6fbc6b22704636c17b;hb=8dda254648e0ebf8ba0e6a7b2d58acff730ada2c;hp=0776b8572d9a613cf3d1a5db0f1877e0a8291e0d;hpb=28929cf07a801da3eb0e2a2255b1ce083fe76ea2;p=platal.git diff --git a/templates/include/trombi.tpl b/templates/include/trombi.tpl index 0776b85..f3ec1e7 100644 --- a/templates/include/trombi.tpl +++ b/templates/include/trombi.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -29,15 +29,15 @@ {/if} -  [ PHOTO ] +  [ PHOTO ] - {if $trombi_admin && $smarty.session.perms eq 'admin' && !$urlmainsite} - + {if $trombi_admin && hasPerm('admin') && !$urlmainsite} + {icon name=wrench title="[admin]"} {/if}
- {$p.prenom} {$p.nom}{if $trombi_show_promo} ({$p.promo}){/if} + {$p.name_display}{if $trombi_show_promo} ({$p.promo_display}){/if} {if $loop eq "3"} @@ -63,4 +63,4 @@ -{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}