Replaces all left occurences of 'shortname' in AXLetter, as it uses extract() to...
[platal.git] / templates / xnet / groupes.tpl
index 49ace1e..c706a8f 100644 (file)
@@ -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  *}
 {*                                                                        *}
 {**************************************************************************}
 
+{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>
     <td style="vertical-align: top">
       <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>
@@ -51,8 +48,8 @@
         {if $doms || $i is even}
         <tr>
         {/if}
-          <td class="oval{if $doms}2{/if}">
-            <a href="{$g.diminutif}/">{$g.nom}</a>
+          <td class="oval{if $doms}2{/if} {if $cat eq promotions}{if $g.diminutif 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}
@@ -65,4 +62,4 @@
   </tr>
 </table>
 
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}