Subversion Repositories eFlore/Applications.coel-consultation

Rev

Rev 28 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div id="cartographie">
        <img id="carte-img" src="<?=$carte_url;?>" alt="<?=$carte_alt;?>" usemap="#carte-map" />
        <map name="carte-map">
<?php foreach ($zones as $code => $zone) : ?>
<?php if (!empty($zone['poly'])) : ?>
<?php foreach (explode('|', $zone['poly']) as $coords) : ?>
                <area shape="poly"  title="<?=$zone['nom']?>" class="zone-<?=$code?>" href="<?=$zone['url']?>" coords="<?=$coords?>" />
<?php endforeach; ?>
<?php endif; ?>
<?php endforeach; ?>
        </map>
</div>