X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftrombi.tpl;h=f5ababa07a5c5393e2ddab400f0c6b539f0dd294;hb=5818ad2405cfb20b4cb906711040ab6681f3209b;hp=83192b9b90b1e43d1cc30ea1f1d65ae99ad95631;hpb=a7de4ef724d1a3b0bf978a50ce7cc9d23412c7a0;p=platal.git diff --git a/templates/include/trombi.tpl b/templates/include/trombi.tpl index 83192b9..f5ababa 100644 --- a/templates/include/trombi.tpl +++ b/templates/include/trombi.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 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 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"}