1646 |
alex |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
3 |
<head>
|
|
|
4 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
|
|
5 |
<meta http-equiv="Content-style-type" content="text/css" />
|
|
|
6 |
<meta http-equiv="Content-script-type" content="text/javascript" />
|
|
|
7 |
<meta http-equiv="Content-language" content="fr" />
|
|
|
8 |
<title>Localisation des collections d'herbiers</title>
|
|
|
9 |
|
|
|
10 |
<link rel="icon" type="image/png" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.png" />
|
|
|
11 |
<link rel="shortcut icon" type="image/x-icon" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.ico" />
|
|
|
12 |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.css" />
|
|
|
13 |
<!--[if lte IE 8]>
|
|
|
14 |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.ie.css" />
|
|
|
15 |
<![endif]-->
|
1717 |
raphael |
16 |
<link rel="stylesheet" href="<?=$url_base?>modules/carto/squelettes/css/carto.css" />
|
1646 |
alex |
17 |
|
|
|
18 |
<script type="text/javascript" src="http://cdn.leafletjs.com/leaflet-0.5/leaflet.js"></script>
|
|
|
19 |
<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.5&sensor=true&language=fr&region=FR"></script>
|
|
|
20 |
<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/1.6.2/jquery-1.6.2.min.js"></script>
|
|
|
21 |
<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.15/js/jquery-ui-1.8.15.custom.min.js"></script>
|
1727 |
raphael |
22 |
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js"></script>
|
1717 |
raphael |
23 |
<script type="text/javascript" src="<?=$url_base?>modules/carto/squelettes/scripts/carto.js"></script>
|
1646 |
alex |
24 |
<script type="text/javascript">
|
|
|
25 |
//<![CDATA[
|
|
|
26 |
var departement = '<?= $departement ?>';
|
1704 |
raphael |
27 |
var regions = '<?= $regions ?>'; // parmi les codes de http://download.geonames.org/export/dump/admin1CodesASCII.txt
|
1703 |
raphael |
28 |
var pays = '<?= $pays ?>';
|
1646 |
alex |
29 |
var urlWebService = '<?= $url_web_service ?>';
|
|
|
30 |
//]]>
|
|
|
31 |
</script>
|
|
|
32 |
</head>
|
|
|
33 |
|
|
|
34 |
<body>
|
|
|
35 |
<div id="map"></div>
|
|
|
36 |
|
|
|
37 |
<!-- Squelette du contenu de la popup -->
|
|
|
38 |
<script id="tpl-structure" type="text/x-jquery-tmpl">
|
|
|
39 |
<div id="description-structure">
|
|
|
40 |
<h3 align="center">
|
|
|
41 |
<a href="<?=$url_page_fiche?>?module=FicheStructure&id=${id}">${nom}</a>
|
|
|
42 |
</h3>
|
|
|
43 |
<div class="popup-simple-text">Situé dans ${ville} (${code_postal})</div>
|
|
|
44 |
<hr />
|
|
|
45 |
<div id="collections">
|
|
|
46 |
{{if collections.length > 0}}
|
|
|
47 |
<div class="popup-simple-text">Collections présentes :</div>
|
|
|
48 |
<ul>
|
|
|
49 |
{{each(index, collection) collections}}
|
|
|
50 |
<li>
|
|
|
51 |
<a href="<?=$url_page_fiche?>?module=FicheCollection&id=${collection.id}">${collection.nom}</a>
|
|
|
52 |
</li>
|
|
|
53 |
{{/each}}
|
|
|
54 |
</ul>
|
|
|
55 |
{{else}}
|
|
|
56 |
<div class="popup-simple-text">Aucune Collection d'herbiers recensée à ce jour</div>
|
|
|
57 |
{{/if}}
|
|
|
58 |
</div>
|
|
|
59 |
</div>
|
|
|
60 |
</script>
|
|
|
61 |
<div id="structure" style="display:none"></div>
|
|
|
62 |
</body>
|
1703 |
raphael |
63 |
</html>
|