{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2006 Polytechnique.org *}
+{* Copyright (C) 2003-2007 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* *}
{**************************************************************************}
+{include file="xnet/include/descr.tpl"}
+
<table id="content" cellspacing="0" cellpadding="4">
<tr>
- <td colspan="2">
- {include file="xnet/include/descr.tpl"}
- </td>
- </tr>
- <tr>
- {if !$doms || !$gps}
<td style="vertical-align: top">
- <div class="cat {if $cat eq groupesx}sel{/if}"><a href="{rel}/groups/groupesx">Groupes X</a></div>
- <div class="cat {if $cat eq binets}sel{/if}"><a href="{rel}/groups/binets">Binets</a></div>
- <div class="cat {if $cat eq institutions}sel{/if}"><a href="{rel}/groups/institutions">Institutions</a></div>
- <div class="cat {if $cat eq promotions}sel{/if}"><a href="{rel}/groups/promotions">Promotions</a></div>
+ <div class="cat {if $cat eq groupesx}sel{/if}"><a href="groups/groupesx">Groupes X</a></div>
+ <div class="cat {if $cat eq binets}sel{/if}"><a href="groups/binets">Binets</a></div>
+ <div class="cat {if $cat eq institutions}sel{/if}"><a href="groups/institutions">Institutions</a></div>
+ <div class="cat {if $cat eq promotions}sel{/if}"><a href="groups/promotions">Promotions</a></div>
</td>
- {/if}
{if $doms}
<td style="vertical-align: top">
{foreach from=$doms item=g}
<div class="cat {if $g.id eq $dom}sel{/if}">
- <a href="{rel}/groups/{$cat}/{$g.id}">{$g.nom}</a>
+ <a href="groups/{$cat}/{$g.id}">{$g.nom}</a>
</div>
{/foreach}
</td>
{/if}
- {if $gps}
- <td style="text-align:right;">
- {iterate from=$gps item=g}
- <table style="float: left;" cellspacing="2" cellpadding="0">
- <tr><td class="oval{if $doms}2{/if}"><a href="{rel}/{$g.diminutif}/">{$g.nom}</a></td></tr>
+ <td style="text-align:right;{if $doms} width: 180px{/if}">
+ {if $gps}
+ <table style="width: 100%">
+ {foreach from=$gps item=g name=all key=i}
+ {if $doms || $i is even}
+ <tr>
+ {/if}
+ <td class="oval{if $doms}2{/if} {if $cat eq promotions}{if $i is odd}jone{else}rouje{/if}{/if}">
+ <a href="{$g.diminutif}/" {if $g.site}class="has_site"{/if}>{$g.nom}</a>
+ </td>
+ {if !$doms && $i is even && $smarty.foreach.all.last}<td></td>{/if}
+ {if $doms || $i is odd || $smarty.foreach.all.last}
+ </tr>
+ {/if}
+ {/foreach}
</table>
- {/iterate}
+ {/if}
</td>
- {/if}
</tr>
</table>
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}