X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Finclude%2Ftrombi.tpl;h=f3ec1e70dba89ad8e9ad7c6fbc6b22704636c17b;hb=8dda254648e0ebf8ba0e6a7b2d58acff730ada2c;hp=fcea5028ebff538fa81dc25065b75bcf6d1f5d5b;hpb=bf517dafc122edf6ccd86847f0626cfd0df9f340;p=platal.git diff --git a/templates/include/trombi.tpl b/templates/include/trombi.tpl index fcea502..f3ec1e7 100644 --- a/templates/include/trombi.tpl +++ b/templates/include/trombi.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -31,13 +31,13 @@  [ PHOTO ] - {if $trombi_admin && $smarty.session.perms->hasFlag('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"}