X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fplview.trombi.tpl;h=8db07cf384853ad3e071436ad331484d7d0fcbf9;hb=020a95fa78dc544b3064739d409026a0056d98f4;hp=730e499cd77f47b6243cdaf6428bbd16c7acbe1d;hpb=e8a898662eeafa5201082067a7aac46573884ebb;p=platal.git diff --git a/templates/include/plview.trombi.tpl b/templates/include/plview.trombi.tpl index 730e499..8db07cf 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-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -26,75 +26,29 @@
{else}
-
- |
-
-
- |
-
- {if $set[trombi.index_next]}
-
- |
+ {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].name_display}{if $trombi_with_promo} ({$set[trombi.index_prev].promo_display}){/if} - - | -- - {$set[trombi].name_display}{if $trombi_with_promo} ({$set[trombi].promo_display}){/if} - - | -- {if $set[trombi.index_next]} - - {$set[trombi.index_next].name_display}{if $trombi_with_promo} ({$set[trombi.index_next].promo_display}){/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}
-
- |
+ {include file="include/plview.trombi.entry.tpl" profile=$set[$key_cur] photo=true}
||
- - - {$set[trombi].name_display}{if $trombi_with_promo} ({$set[trombi].promo_display}){/if} - - | + {include file="include/plview.trombi.entry.tpl" profile=$set[$key_cur] photo=false}