X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftrombi.tpl;h=73c2d33dbb656bc8021e7ac0b1aea0fa20e54653;hb=486d15fb147bfd5e2b2ff71b22ad5b2ca0e43878;hp=63eb2fd260bf4252e64f41d81f40c21975256666;hpb=a2fa0614a1d25f19f34462f6b21e4fc032619133;p=platal.git diff --git a/templates/include/trombi.tpl b/templates/include/trombi.tpl index 63eb2fd..73c2d33 100644 --- a/templates/include/trombi.tpl +++ b/templates/include/trombi.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -28,16 +28,16 @@ {/if} - -  [ PHOTO ] + +  [ PHOTO ] - {if $trombi_admin && $smarty.session.perms eq 'admin'} + {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: *}