Ignore:
Timestamp:
Sep 20, 2009, 12:54:37 PM (11 years ago)
Author:
roux
Message:

Affichage annualisation et plots centrés

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/plot/templates/_plotParlementaire.php

    r718 r780  
    123123if (isset($link))
    124124  echo link_to(image_tag('tmp/xspchart/'.$filename, 'alt="Participation '.$titre.' de '.$parlementaire->nom.'"'), '@parlementaire_plot?slug='.$parlementaire->slug.'&time=lastyear');
    125 else echo image_tag('tmp/xspchart/'.$filename, 'alt="Participation '.$titre.' de '.$parlementaire->nom.'"');
     125else echo '<div class="par_session">'.image_tag('tmp/xspchart/'.$filename, 'alt="Participation '.$titre.' de '.$parlementaire->nom.'"');
    126126echo "<p><span style='background-color: rgb(255,";
    127127echo 35*$fonction.",0);'>&nbsp;</span> ";
     
    133133echo "<span style='background-color: rgb(150,150,150);'>&nbsp;</span>&nbsp;Vacances parlementaires";
    134134if (isset($link))
    135   echo "&nbsp;&nbsp;&nbsp;&nbsp;".link_to('Explications', '@parlementaire_plot?slug='.$parlementaire->slug.'&time=lastyear#explications');
    136 echo "</p>"
     135  echo "&nbsp;&nbsp;&nbsp;&nbsp;".link_to('Explications', '@parlementaire_plot?slug='.$parlementaire->slug.'&time=lastyear#explications').'</p>';
     136  else echo '</p></div>'
    137137?>
Note: See TracChangeset for help on using the changeset viewer.