X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnet%2Fgroupes.tpl;h=c706a8f71eb386f5d7e12044ce3babfed82bf486;hb=61c98f4b3582ad22edc5b85648c7eed3a4836147;hp=e45f450c31101689019f0bb899c4be0dba93e2dd;hpb=ae7bb1801452804bb5c01f856f2ae0a914508adc;p=platal.git diff --git a/templates/xnet/groupes.tpl b/templates/xnet/groupes.tpl index e45f450..c706a8f 100644 --- a/templates/xnet/groupes.tpl +++ b/templates/xnet/groupes.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,42 +20,46 @@ {* *} {**************************************************************************} +{include file="xnet/include/descr.tpl"} + - - - - {if !$doms || !$gps} - {/if} {if $doms} {/if} - {if $gps} -
- {include file="xnet/include/descr.tpl"} -
- - - - + + + + {foreach from=$doms item=g} {/foreach} - {iterate from=$gps item=g} - - + - {/if}
{$g.nom}
+ {if $gps} + + {foreach from=$gps item=g name=all key=i} + {if $doms || $i is even} + + {/if} + + {if !$doms && $i is even && $smarty.foreach.all.last}{/if} + {if $doms || $i is odd || $smarty.foreach.all.last} + + {/if} + {/foreach}
+ {$g.nom} +
- {/iterate} + {/if}
-{* vim:set et sw=2 sts=2 sws=2: *} +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}