X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftrombi.tpl;h=e73d6e02f7280c22eeb43ac5a497a3273ca4d6a9;hb=a292484d6d19447f6cc3c10d573338b3275fbc74;hp=1edf1ddc6d45e8e9147cde4bd815f1e912216059;hpb=e8599c21fcbd18beb8551368450174f35774794a;p=platal.git diff --git a/templates/include/trombi.tpl b/templates/include/trombi.tpl index 1edf1dd..e73d6e0 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: *}