Line 6... |
Line 6... |
6 |
<? if (!empty($repartition['chorodep']['svgUrl']) && !empty($repartition['chorodep']['legende']) ) : ?>
|
6 |
<? if (!empty($repartition['chorodep']['svgUrl']) && !empty($repartition['chorodep']['legende']) ) : ?>
|
7 |
<div class="deux-colonnes">
|
7 |
<div class="deux-colonnes">
|
8 |
<h2>Chorologie départementale</h2>
|
8 |
<h2>Chorologie départementale</h2>
|
9 |
<div class="repartition_observations allow-break">
|
9 |
<div class="repartition_observations allow-break">
|
10 |
<!--version svg laisser attribut alt au cas où svg ne marche pas -->
|
10 |
<!--version svg laisser attribut alt au cas où svg ne marche pas -->
|
11 |
<!-- <object type="image/svg+xml" data="<?=$repartition['chorodep']['svgUrl']?>" alt="<?=$repartition['min']['chorodep']?>">
|
11 |
<object style=" height:200px;" type="image/svg+xml" data="<?=$repartition['chorodep']['svgUrl']?>" alt="<?=$repartition['min']['chorodep']?>">
|
12 |
</object>-->
|
12 |
</object>
|
13 |
<!-- version png --><img src="<?=$repartition['min']['chorodep']?>" />
|
13 |
<!-- version png --><!-- <img src="<?=$repartition['min']['chorodep']?>" />-->
|
14 |
</div>
|
14 |
</div>
|
15 |
<div class="legende_r allow-break">
|
15 |
<div class="legende_r allow-break">
|
16 |
<? foreach ($repartition['chorodep']['legende'] as $id => $details) :?>
|
16 |
<? foreach ($repartition['chorodep']['legende'] as $id => $details) :?>
|
17 |
<div style="clear:left; ">
|
17 |
<div style="clear:left; ">
|
18 |
<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div>
|
18 |
<div class="bloc_legende_repartition" style="background:<?=$details['couleur']?>"></div>
|