source: cpc/trunk/project/apps/frontend/modules/plot/templates/_groupesLegende.php @ 2677

Last change on this file since 2677 was 2096, checked in by roux, 9 years ago

adaptation généricisation groupes à ND

File size: 356 bytes
Line 
1<p class="legende">
2<?php $txt_l = 0;
3foreach (array_reverse(myTools::getGroupesInfosOrder()) as $gpe) {
4  if ($txt_l > 75) {
5    echo '<br/>';
6    $txt_l = 0;
7  }
8  echo '<span class="c_b_'.strtolower($gpe[1]).'">&nbsp;</span>&nbsp;'.link_to($gpe[3], '@list_parlementaires_groupe?acro='.$gpe[1]).'&nbsp;&nbsp;';
9  $txt_l += strlen($gpe[3]) + 4;
10} ?>
11</p>
Note: See TracBrowser for help on using the repository browser.