X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Ftrombi.tpl;h=b6cde5b2ced128ead7046a1ee73e4ea494248457;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=2d7109afc9398a0931d3cdd52949425f2841346a;hpb=deb09f59cb5d77089e9734de1ff8fc3590e2886a;p=platal.git diff --git a/templates/include/trombi.tpl b/templates/include/trombi.tpl index 2d7109a..b6cde5b 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 *} @@ -20,7 +20,7 @@ {* *} {**************************************************************************} - + {foreach from=$trombi_list item=p} {cycle values="1,2,3" assign="loop"} @@ -29,15 +29,15 @@ {/if} {if $loop eq "3"} @@ -63,4 +63,4 @@
-  [ PHOTO ] +  [ 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}
-{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}