X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fplview.trombi.tpl;h=66c8973f9b048e0f16a0a1e4658ef8e1b27b259d;hb=9891bd15f772caef0c199a98f036e976bf4ab94a;hp=e09cab6357beedee89f25c04a7cf824bb9b17d58;hpb=a8b4ccb6c163277c49fb92427a7bb4ace8469660;p=platal.git diff --git a/templates/include/plview.trombi.tpl b/templates/include/plview.trombi.tpl index e09cab6..66c8973 100644 --- a/templates/include/plview.trombi.tpl +++ b/templates/include/plview.trombi.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -30,16 +30,16 @@ {if $smarty.section.trombi.index % 3 == 1} - -  [ PHOTO ] + +  [ PHOTO ] {if $trombi_with_admin && hasPerm('admin')} {icon name=wrench title="[admin]"} {/if} - -  [ PHOTO ] + +  [ PHOTO ] {if $trombi_with_admin && hasPerm('admin')} {icon name=wrench title="[admin]"} @@ -47,8 +47,8 @@ {if $set[trombi.index_next]} - -  [ PHOTO ] + +  [ PHOTO ] {if $trombi_with_admin && hasPerm('admin')} {icon name=wrench title="[admin]"} @@ -58,19 +58,20 @@ - - {$set[trombi.index_prev].prenom} {$set[trombi.index_prev].nom}{if $trombi_with_promo} ({$set[trombi.index_prev].promo}){/if} + + {$set[trombi.index_prev].name_display}{if $trombi_with_promo} ({$set[trombi.index_prev].promo_display}){/if} - - {$set[trombi].prenom} {$set[trombi].nom}{if $trombi_with_promo} ({$set[trombi].promo}){/if} + + {$set[trombi].name_display}{if $trombi_with_promo} ({$set[trombi].promo_display}){/if} {if $set[trombi.index_next]} - - {$set[trombi.index_next].prenom} {$set[trombi.index_next].nom}{if $trombi_with_promo} ({$set[trombi.index_next].promo}){/if} + + {$set[trombi.index_next].name_display}{if $trombi_with_promo} ({$set[trombi.index_next].promo_display}){/if} {/if} @@ -78,8 +79,8 @@ {elseif ($smarty.section.trombi.index % 3 == 0) && ($smarty.section.trombi.last)} - -  [ PHOTO ] + +  [ PHOTO ] {if $trombi_with_admin && hasPerm('admin')} {icon name=wrench title="[admin]"} @@ -89,8 +90,9 @@ + - {$set[trombi].prenom} {$set[trombi].nom}{if $trombi_with_promo} ({$set[trombi].promo}){/if} + {$set[trombi].name_display}{if $trombi_with_promo} ({$set[trombi].promo_display}){/if}