Changeset 1627


Ignore:
Timestamp:
Oct 4, 2010, 2:01:10 AM (10 years ago)
Author:
popeye
Message:

A cause des & dans l'url_for (& marche pas non plus), toutes les pages avec ces graph ne passent pas la validation W3C

File:
1 edited

Legend:

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

    r1594 r1627  
    1010  $titre .= '-'.$shortduree;
    1111}
    12 $PictureID = "Map_".rand(1,10000).".map"; ?>
     12$PictureID = "Map_".rand(1,10000).".map";
     13?>
    1314
    1415<?php if ($link === 'true') echo '<a href="'.url_for('@parlementaire_plot?slug='.$parlementaire->slug.'&time=lastyear').'">';
     
    1617<img id="graph<?php echo $PictureID; ?>" alt="Participation <?php echo $titre; ?> de <?php echo $parlementaire->nom; ?>" src="<?php echo url_for('@parlementaire_plot_graph?slug='.$parlementaire->slug.'&time='.$time.'&type='.$type.'&questions='.$questions.'&link='.$link.'&mapId='.$PictureID); ?>" onmousemove="getMousePosition(event);" onmouseout="nd();"/>
    1718<?php if ($link === 'true') { ?>
    18 <script type="text/javascript"> LoadImageMap("graph<?php echo $PictureID; ?>", "<?php echo url_for('@parlementaire_plot_graph?slug='.$parlementaire->slug.'&time='.$time.'&type='.$type.'&questions='.$questions.'&link='.$link.'&drawAction=map&mapId='.$PictureID); ?>"); </script>
     19<script type="text/javascript">
     20<!--
     21LoadImageMap("graph<?php echo $PictureID; ?>", "<?php echo url_for('@parlementaire_plot_graph?slug='.$parlementaire->slug.'&time='.$time.'&type='.$type.'&questions='.$questions.'&link='.$link.'&drawAction=map&mapId='.$PictureID); ?>");
     22//-->
     23</script>
    1924<?php } ?>
    2025
Note: See TracChangeset for help on using the changeset viewer.