X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftrombi.tpl;h=18829562d5d1162435680a90f80e00c02dc282cb;hb=5bc6e9e64bbc884c4878b56d3e5cb7b514e66920;hp=bc6331ea76744b99f903b562bc2c0252cc5191f6;hpb=0337d704b62718d7c77106c0e4c4e26fb02beacf;p=platal.git diff --git a/templates/include/trombi.tpl b/templates/include/trombi.tpl index bc6331e..1882956 100644 --- a/templates/include/trombi.tpl +++ b/templates/include/trombi.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2004 Polytechnique.org *} +{* Copyright (C) 2003-2006 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -28,16 +28,15 @@ {/if} - -  [ PHOTO ] - - {if $trombi_admin && $smarty.session.perms eq 'admin'} - - [admin] + +  [ PHOTO ] + {if $trombi_admin && $smarty.session.perms eq 'admin' && !$urlmainsite} + + {icon name=wrench title="[admin]"} {/if}
- + {$p.prenom} {$p.nom}{if $trombi_show_promo} ({$p.promo}){/if}