X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fplview.trombi.tpl;h=8db07cf384853ad3e071436ad331484d7d0fcbf9;hb=afa1cbc33f6706a24e469a7e116a51aea9e824de;hp=971dd4e7c035620a50fac1babac1f464844faadb;hpb=8d84c630f353ef0534e02325507ed35cc2f0d28f;p=platal.git diff --git a/templates/include/plview.trombi.tpl b/templates/include/plview.trombi.tpl index 971dd4e..8db07cf 100644 --- a/templates/include/plview.trombi.tpl +++ b/templates/include/plview.trombi.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -26,73 +26,29 @@
{else}- - - - {if $trombi_with_admin && hasPerm('admin')} - {icon name=wrench title="[admin]"} - {/if} - | -- - - - {if $trombi_with_admin && hasPerm('admin')} - {icon name=wrench title="[admin]"} - {/if} - | -- {if $set[trombi.index_next]} - - - - {if $trombi_with_admin && hasPerm('admin')} - {icon name=wrench title="[admin]"} - {/if} - {/if} - | + {include file="include/plview.trombi.entry.tpl" profile=$set[$key_prev] photo=true} + {include file="include/plview.trombi.entry.tpl" profile=$set[$key_cur] photo=true} + {include file="include/plview.trombi.entry.tpl" profile=$set[$key_next] photo=true}
- - {$set[trombi.index_prev].prenom} {$set[trombi.index_prev].nom}{if $trombi_with_promo} ({$set[trombi.index_prev].promo}){/if} - - | -- - {$set[trombi].prenom} {$set[trombi].nom}{if $trombi_with_promo} ({$set[trombi].promo}){/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} - - {/if} - | + {include file="include/plview.trombi.entry.tpl" profile=$set[$key_prev] photo=false} + {include file="include/plview.trombi.entry.tpl" profile=$set[$key_cur] photo=false} + {include file="include/plview.trombi.entry.tpl" profile=$set[$key_next] photo=false}
- - - - {if $trombi_with_admin && hasPerm('admin')} - {icon name=wrench title="[admin]"} - {/if} - | + {include file="include/plview.trombi.entry.tpl" profile=$set[$key_cur] photo=true}||
- - {$set[trombi].prenom} {$set[trombi].nom}{if $trombi_with_promo} ({$set[trombi].promo}){/if} - - | + {include file="include/plview.trombi.entry.tpl" profile=$set[$key_cur] photo=false}