X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftrombi.tpl;h=e389a9d91983ba6e0ab6912a0fda39c456187a70;hb=cd7a9c53f9dfb4c2d33f9340feadcc3dbcfc1876;hp=1a4552876d5412ff89786e89ff7dfcebd2e31fbd;hpb=50a40a33a496131e817df875607ea5542d096a64;p=platal.git diff --git a/templates/include/trombi.tpl b/templates/include/trombi.tpl index 1a45528..e389a9d 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 *} @@ -28,17 +28,16 @@ {/if} - -  [ PHOTO ] - - {if $trombi_admin && $smarty.session.perms eq 'admin'} - - [admin] + +  [ PHOTO ] + {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"} @@ -64,4 +63,4 @@ -{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}