580 |
jpm |
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 |
<title>Photographies publiques du CEL - Tela Botanica</title>
|
3630 |
idir |
5 |
|
580 |
jpm |
6 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
|
|
7 |
<meta http-equiv="Content-style-type" content="text/css" />
|
|
|
8 |
<meta http-equiv="Content-script-type" content="text/javascript" />
|
|
|
9 |
<meta http-equiv="Content-language" content="fr" />
|
3630 |
idir |
10 |
|
580 |
jpm |
11 |
<meta name="revisit-after" content="15 days" />
|
|
|
12 |
<meta name="robots" content="index,follow" />
|
2516 |
mathias |
13 |
<meta name="author" content="Tela Botanica" />
|
580 |
jpm |
14 |
<meta name="keywords" content="Tela Botanica, photographie, CEL" />
|
|
|
15 |
<meta name="description" content="Widget de présentation des dernières photo publiées sur le Carnet en Ligne de Tela Botanica" />
|
|
|
16 |
|
2515 |
mathias |
17 |
<!-- OpenGraph pour Facebook, Pinterest, Google+ -->
|
|
|
18 |
<meta property="og:type" content="website" />
|
|
|
19 |
<meta property="og:title" content="Widget photo du CeL" />
|
|
|
20 |
<meta property="og:site_name" content="Tela Botanica" />
|
|
|
21 |
<meta property="og:description" content="Mini-galerie photo des observations publiques du Carnet en Ligne" />
|
3823 |
idir |
22 |
<?php if (isset($items[0])) : ?>
|
3825 |
idir |
23 |
<meta property="og:image" content="<?php echo sprintf($items[0]['url_tpl'], 'CRS'); ?>" />
|
3823 |
idir |
24 |
<?php else : ?>
|
|
|
25 |
<meta property="og:image" content="https://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" />
|
|
|
26 |
<meta property="og:image:type" content="image/png" />
|
|
|
27 |
<meta property="og:image:width" content="256" />
|
|
|
28 |
<meta property="og:image:height" content="256" />
|
|
|
29 |
<?php endif; ?>
|
2515 |
mathias |
30 |
<meta property="og:locale" content="fr_FR" />
|
|
|
31 |
|
580 |
jpm |
32 |
<!-- Spécial mobile -->
|
|
|
33 |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
|
3630 |
idir |
34 |
|
580 |
jpm |
35 |
<!-- Favicones -->
|
2993 |
mathias |
36 |
<link rel="icon" type="image/png" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.png" />
|
|
|
37 |
<link rel="shortcut icon" type="image/x-icon" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.ico" />
|
3630 |
idir |
38 |
<!-- Jquery-ui custom css-->
|
|
|
39 |
<link href="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.18/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" media="screen" />
|
|
|
40 |
<!-- Bootstrap CSS -->
|
|
|
41 |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous" />
|
|
|
42 |
<!-- Fontawesome -->
|
3823 |
idir |
43 |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous" />
|
|
|
44 |
<!-- Leaflet -->
|
|
|
45 |
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" crossorigin=""/>
|
3630 |
idir |
46 |
|
580 |
jpm |
47 |
<!-- Feuilles de styles -->
|
3630 |
idir |
48 |
<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>photo.css" media="screen" />
|
|
|
49 |
<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>popup.css" media="screen" />
|
|
|
50 |
<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>contact.css" media="screen" />
|
|
|
51 |
<link rel="stylesheet" type="text/css" href="<?php echo $url_css; ?>photoCommun.css" media="screen" />
|
583 |
jpm |
52 |
<style type="text/css">
|
3630 |
idir |
53 |
<?php $dimention_basique = floor(93/$colonne);?>
|
|
|
54 |
#cel-photo-contenu<?php echo $id; ?> .grid-sizer,
|
|
|
55 |
#cel-photo-contenu<?php echo $id; ?> .grid-item {
|
|
|
56 |
width: <?php echo $dimention_basique; ?>vw;
|
583 |
jpm |
57 |
}
|
3630 |
idir |
58 |
|
|
|
59 |
#cel-photo-contenu<?php echo $id; ?> .grid-item {
|
|
|
60 |
height: <?php echo $dimention_basique; ?>vw;
|
583 |
jpm |
61 |
}
|
3630 |
idir |
62 |
|
|
|
63 |
#cel-photo-contenu<?php echo $id; ?> .grid-item--width2 {
|
|
|
64 |
width: <?php echo ($dimention_basique*2)+1; ?>vw;
|
587 |
jpm |
65 |
}
|
3630 |
idir |
66 |
|
|
|
67 |
#cel-photo-contenu<?php echo $id; ?> .grid-item--height2 {
|
|
|
68 |
height: <?php echo number_format((($dimention_basique*2)+0.99),2); ?>vw;
|
587 |
jpm |
69 |
}
|
583 |
jpm |
70 |
</style>
|
587 |
jpm |
71 |
<!-- Javascript : bibliothèques -->
|
3630 |
idir |
72 |
<!-- Jquery -->
|
|
|
73 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/1.11.1/jquery-1.11.1.min.js"></script>
|
2848 |
mathias |
74 |
|
3630 |
idir |
75 |
<!-- Jquery UI : nécessaire pour le minicalendrier et l'auto-complétion -->
|
|
|
76 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/jquery-ui.min.js"></script>
|
|
|
77 |
<!-- Jquery Plugins -->
|
|
|
78 |
<!-- Jquery Validate : nécessaire pour la validation des formulaires -->
|
|
|
79 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/jquery.validate.min.js"></script>
|
|
|
80 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/additional-methods.min.js"></script>
|
|
|
81 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/messages_fr.js"></script>
|
|
|
82 |
<!-- Jquery Form :nécessaire pour l'upload des images -->
|
|
|
83 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/form/3.51/jquery.form.min.js"></script>
|
|
|
84 |
<!-- Bootstrap -->
|
|
|
85 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
|
|
|
86 |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
|
|
|
87 |
<!-- Masonry -->
|
|
|
88 |
<script src="<?php echo $url_js; ?>masonry.pkgd.js"></script>
|
3823 |
idir |
89 |
<!-- Leaflet -->
|
|
|
90 |
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>
|
|
|
91 |
|
3630 |
idir |
92 |
<!-- Script WidgetPhoto -->
|
|
|
93 |
<script type="text/Javascript" src="<?php echo $url_js; ?>WidgetPhotoCommun.js"></script>
|
|
|
94 |
<script type="text/Javascript" src="<?php echo $url_js; ?>WidgetPhoto.js"></script>
|
|
|
95 |
<script type="text/javascript" src="<?php echo $url_js; ?>WidgetPhotoPopup.js"></script>
|
|
|
96 |
<script type="text/javascript" src="<?php echo $url_js; ?>WidgetPhotoContact.js"></script>
|
|
|
97 |
|
2848 |
mathias |
98 |
<!-- Google Analytics -->
|
|
|
99 |
<?php if($prod): ?>
|
|
|
100 |
<?php include "analytics.html"; ?>
|
|
|
101 |
<?php endif; ?>
|
580 |
jpm |
102 |
</head>
|
3829 |
idir |
103 |
<body style="margin: 0">
|
580 |
jpm |
104 |
<!-- WIDGET:CEL:PHOTO - DEBUT -->
|
3630 |
idir |
105 |
<div id="cel-photo-contenu<?php echo $id; ?>" class="cel-photo-contenu">
|
580 |
jpm |
106 |
<?php if (isset($erreurs) || isset($informations)) : ?>
|
|
|
107 |
<h1>Erreur & informations</h1>
|
|
|
108 |
<p>Impossible d'afficher le flux.</p>
|
|
|
109 |
<!-- Affichage des erreurs et messages d'information : -->
|
|
|
110 |
<?php if ($erreurs) : ?>
|
|
|
111 |
<?php foreach ($erreurs as $erreur) : ?>
|
3630 |
idir |
112 |
<p class="erreur"><?php echo $erreur; ?></p>
|
580 |
jpm |
113 |
<?php endforeach; ?>
|
|
|
114 |
<?php endif; ?>
|
3630 |
idir |
115 |
|
580 |
jpm |
116 |
<?php if ($informations) : ?>
|
|
|
117 |
<?php foreach ($informations as $information) : ?>
|
3630 |
idir |
118 |
<p class="info"><?php echo $information; ?></p>
|
580 |
jpm |
119 |
<?php endforeach; ?>
|
|
|
120 |
<?php endif; ?>
|
|
|
121 |
<?php else : ?>
|
|
|
122 |
<h1>
|
3630 |
idir |
123 |
<?php if (!empty($titre)) : ?>
|
|
|
124 |
<?php echo $titre; ?>
|
|
|
125 |
<?php endif ; ?>
|
3961 |
julien |
126 |
<?php if($icone_rss && !empty($champ_recherche)) : ?>
|
|
|
127 |
<!-- Affichage du bouton rss si on est pas en mode eflore-->
|
3630 |
idir |
128 |
<a href="<?php echo $flux_rss_url; ?>"
|
|
|
129 |
class="cel-photo-flux"
|
|
|
130 |
title="Suivre les images"
|
580 |
jpm |
131 |
onclick="window.open(this.href);return false;">
|
2993 |
mathias |
132 |
<img src="https://www.tela-botanica.org/sites/commun/generique/images/rss.png" alt="Suivre les images" />
|
580 |
jpm |
133 |
</a>
|
3630 |
idir |
134 |
<?php endif; ?>
|
583 |
jpm |
135 |
</h1>
|
3829 |
idir |
136 |
<?php if (!empty($champ_recherche)) : ?>
|
|
|
137 |
<form id="form-recherche<?php echo $id; ?>" class="form-recherche container" action="">
|
|
|
138 |
<div id="bloc-recherche<?php echo $id; ?>" class="bloc-recherche form-inline d-flex justify-content-center w-100">
|
3960 |
julien |
139 |
<input type="text" id="champ-recherche<?php echo $id; ?>"
|
|
|
140 |
name="champ-recherche<?php echo $id; ?>" class="recherche form-control mr-1"
|
3995 |
julien |
141 |
placeholder="Votre recherche" <?php if(isset($filtres["recherche"])){ echo('value="'.$filtres["recherche"].'"');} ?>>
|
3829 |
idir |
142 |
<input type="hidden" id="filtres<?php echo $id; ?>" name="filtres<?php echo $id; ?>">
|
|
|
143 |
<a id="bouton-rechercher<?php echo $id; ?>" class="btn btn-success bouton-rechercher mr-1"><i class="fas fa-search"></i> Rechercher</a>
|
|
|
144 |
<a id="bouton-plus-filtres<?php echo $id; ?>" class="btn btn-outline-secondary bouton-plus-filtres">
|
|
|
145 |
<span class="plus">
|
|
|
146 |
<i class="fas fa-chevron-down"></i> Plus de filtres
|
|
|
147 |
</span>
|
|
|
148 |
<span class="moins hidden">
|
|
|
149 |
<i class="fas fa-chevron-up"></i> Fermer les filtres
|
|
|
150 |
</span>
|
|
|
151 |
</a>
|
|
|
152 |
</div>
|
|
|
153 |
<div id="autres-filtres<?php echo $id; ?>" class="autres-filtres row hidden">
|
|
|
154 |
<a id="bouton-fermer-filtres<?php echo $id; ?>" class="btn bouton-fermer-filtres"><i class="fas fa-times"></i></a>
|
|
|
155 |
<div id="bloc-filtres-gauche" class="bloc-filtres bloc-filtres-gauche col-lg-6">
|
|
|
156 |
<div class="row bloc-taxon bloc-filtre">
|
|
|
157 |
<label for="taxon">Taxon</label>
|
3960 |
julien |
158 |
<input type="text" id="taxon" name="taxon" class="form-control"
|
3995 |
julien |
159 |
<?php if(isset($filtres["taxon"])){ echo('value="'.$filtres["taxon"].'"');} ?>>
|
3829 |
idir |
160 |
</div>
|
|
|
161 |
<div class="row bloc-referentiel bloc-filtre">
|
|
|
162 |
<label for="referentiel">Référentiel</label>
|
|
|
163 |
<select name="referentiel" id="referentiel" class="custom-select form-control referentiel">
|
3960 |
julien |
164 |
<option value="bdtfxr"
|
3995 |
julien |
165 |
<?php if(isset($filtres["referentiel"]) && ($filtres["referentiel"] == "bdtfxr" || !$filtres["referentiel"])){
|
3960 |
julien |
166 |
echo ('selected="selected"');}?> title="Trachéophytes de France métropolitaine">Métropole (index réduit)</option>
|
|
|
167 |
<option value="bdtfx" title="Trachéophytes de France métropolitaine"
|
3995 |
julien |
168 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "bdtfx"){
|
3960 |
julien |
169 |
echo('selected="selected"');
|
|
|
170 |
}?>>Métropole (BDTFX)</option>
|
|
|
171 |
<option value="bdtxa" title="Trachéophytes des Antilles"
|
3995 |
julien |
172 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "bdtxa"){
|
3960 |
julien |
173 |
echo('selected="selected"');
|
|
|
174 |
}?>>Antilles françaises
|
|
|
175 |
(BDTXA)</option>
|
|
|
176 |
<option value="bdtre" title="Trachéophytes de La Réunion"
|
3995 |
julien |
177 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "bdtxe"){
|
3960 |
julien |
178 |
echo('selected="selected"');
|
|
|
179 |
}?>>Réunion (BDTRE)</option>
|
|
|
180 |
<option value="aublet" title="Guyane">Guyane (AUBLET2)
|
3995 |
julien |
181 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "aublet"){
|
3960 |
julien |
182 |
echo('selected="selected"');
|
|
|
183 |
}?></option>
|
|
|
184 |
<option value="florical" title="Nouvelle-Calédonie">Nouvelle-Calédonie (FLORICAL)
|
3995 |
julien |
185 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "florical"){
|
3960 |
julien |
186 |
echo('selected="selected"');
|
|
|
187 |
}?></option>
|
|
|
188 |
<option value="isfan" title="Afrique du Nord">Afrique du Nord (ISFAN)
|
3995 |
julien |
189 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "isfan"){
|
3960 |
julien |
190 |
echo('selected="selected"');
|
|
|
191 |
}?></option>
|
|
|
192 |
<option value="apd" title="Afrique de l'Ouest et du Centre"
|
3995 |
julien |
193 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "apd"){
|
3960 |
julien |
194 |
echo('selected="selected"');
|
|
|
195 |
}?>>Afrique de l'Ouest
|
|
|
196 |
et du Centre (APD)</option>
|
3995 |
julien |
197 |
<option value="lbf" title="Liban" <?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "lbf"){
|
3960 |
julien |
198 |
echo('selected="selected"');
|
|
|
199 |
}?>>Liban (LBF)</option>
|
|
|
200 |
<option value="autre" title="Autre/Inconnu"
|
3995 |
julien |
201 |
<?php if(isset($filtres["referentiel"]) && $filtres["referentiel"] == "autre"){
|
3960 |
julien |
202 |
echo('selected="selected"');
|
|
|
203 |
}?>>Autre/Inconnu</option>
|
3829 |
idir |
204 |
</select>
|
|
|
205 |
</div>
|
|
|
206 |
<div class="bloc-periode bloc-filtre">
|
|
|
207 |
<label for="periode" class="d-block">Date (début-fin)</label>
|
|
|
208 |
<div class="form-row">
|
|
|
209 |
<div class="form-group mb-lg-0 mb-1 col">
|
3960 |
julien |
210 |
<input type="date" id="date_deb" name="date_deb" class="form-control"
|
3995 |
julien |
211 |
<?php if(isset($filtres["date_deb"])){ echo('value="'.$filtres["date_deb"].'"');} ?>>
|
3829 |
idir |
212 |
</div>
|
|
|
213 |
<div class="form-group mb-0 col">
|
3960 |
julien |
214 |
<input type="date" id="date_fin" name="date_fin" class="form-control"
|
3995 |
julien |
215 |
<?php if(isset($filtres["date_fin"])){ echo('value="'.$filtres["date_fin"].'"');} ?>>
|
3829 |
idir |
216 |
</div>
|
3630 |
idir |
217 |
</div>
|
3829 |
idir |
218 |
<input type="hidden" id="periode" name="periode">
|
3630 |
idir |
219 |
</div>
|
3829 |
idir |
220 |
<div class="row bloc-localite bloc-filtre">
|
3960 |
julien |
221 |
<label for="commune">Localité</label>
|
|
|
222 |
<input type="text" id="commune" name="commune" class="form-control"
|
3995 |
julien |
223 |
<?php if(isset($filtres["commune"])){ echo('value="'.$filtres["commune"].'"');} ?>>
|
3829 |
idir |
224 |
</div>
|
|
|
225 |
<div class="row bloc- bloc-filtre">
|
3960 |
julien |
226 |
<label for="dept">Département</label>
|
|
|
227 |
<input type="text" id="dept" name="dept" class="form-control"
|
|
|
228 |
placeholder="Numéros (séparés par des virgules)"
|
3995 |
julien |
229 |
<?php if(isset($filtres["dept"])){ echo('value="'.$filtres["dept"].'"');} ?>>
|
3829 |
idir |
230 |
</div>
|
|
|
231 |
<div class="row bloc- bloc-filtre">
|
|
|
232 |
<label for="pays">Pays</label>
|
3960 |
julien |
233 |
<input type="text" id="pays" name="pays" class="form-control"
|
3995 |
julien |
234 |
<?php if(isset($filtres["pays"])){ echo('value="'.$filtres["pays"].'"');} ?>>
|
3829 |
idir |
235 |
</div>
|
3630 |
idir |
236 |
</div>
|
3829 |
idir |
237 |
<div id="bloc-filtres-droite" class="bloc-filtres bloc-filtres-droite col-lg-6">
|
|
|
238 |
<div class="row bloc- bloc-filtre">
|
|
|
239 |
<label for="auteur">Auteur</label>
|
3960 |
julien |
240 |
<input type="text" id="auteur" name="auteur" class="form-control"
|
3995 |
julien |
241 |
placeholder="Nom, email" <?php if(isset($filtres["auteur"])){ echo('value="'.$filtres["auteur"].'"');} ?>>
|
3630 |
idir |
242 |
</div>
|
3829 |
idir |
243 |
<div class="row bloc- bloc-filtre">
|
|
|
244 |
<label for="programme">Programme</label>
|
3960 |
julien |
245 |
<input type="text" id="programme" name="programme" class="form-control"
|
3995 |
julien |
246 |
<?php if(isset($filtres["programme"])){ echo('value="'.$filtres["programme"].'"');} ?>>
|
3630 |
idir |
247 |
</div>
|
3829 |
idir |
248 |
<div class="row bloc- bloc-filtre">
|
3960 |
julien |
249 |
<label for="tag">Tags (tous)</label>
|
|
|
250 |
<input type="text" id="tag" name="tag" class="form-control"
|
3995 |
julien |
251 |
<?php if(isset($filtres["tag"])){ echo('value="'.$filtres["tag"].'"');} ?>>
|
3630 |
idir |
252 |
</div>
|
3829 |
idir |
253 |
<div class="list bloc-photos-affichees bloc-filtre mt-3">
|
|
|
254 |
<div class="form-check mt-3">
|
3986 |
julien |
255 |
<input type="checkbox" id="standard" name="standard"
|
3960 |
julien |
256 |
class="non-standards form-check-input" value="non-standard"
|
3995 |
julien |
257 |
<?php if(isset($filtres["non_standard"]) && $filtres["non_standard"]){
|
3960 |
julien |
258 |
echo('checked');
|
|
|
259 |
}?>>
|
3986 |
julien |
260 |
<label for="standard" class="non-standards form-check-label">Afficher les
|
|
|
261 |
photos des observations "standards"</label>
|
3829 |
idir |
262 |
</div>
|
3986 |
julien |
263 |
|
3960 |
julien |
264 |
<div class="form-check mt-3 hidden">
|
3829 |
idir |
265 |
<input type="checkbox" id="smartphone-anonyme" name="photos-affichees" class="smartphone-anonyme form-check-input" value="smartphone-anonyme">
|
|
|
266 |
<label for="smartphone-anonyme" class="smartphone-anonyme form-check-label">Afficher les photos des observations smartphone anonyme</label>
|
|
|
267 |
</div>
|
|
|
268 |
</div>
|
3630 |
idir |
269 |
</div>
|
3829 |
idir |
270 |
</div>
|
|
|
271 |
</form>
|
3961 |
julien |
272 |
<?php else : ?>
|
|
|
273 |
<!-- Pas de champ de recherche -> Affichage style eflore-->
|
|
|
274 |
<ul class="liste-illustrations">
|
|
|
275 |
<li class="icone-organe-list <?php echo $filtres['tag'] == 'fleur' ? 'active' : ''; ?>">
|
|
|
276 |
<a class="lien-images-organes fourni" data-tag="fleur" title="fleur" id="eflore-fleur">
|
|
|
277 |
<img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/fleur.png" alt="fleur">
|
|
|
278 |
fleur </a>
|
|
|
279 |
</li>
|
|
|
280 |
<li class="icone-organe-list <?php echo $filtres['tag'] == 'feuille' ? 'active' : ''; ?>">
|
|
|
281 |
<a class="lien-images-organes fourni" data-tag="feuille" title="feuille" id="eflore-feuille">
|
|
|
282 |
<img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/feuille.png" alt="feuille">feuille</a>
|
|
|
283 |
</li>
|
|
|
284 |
<li class="icone-organe-list <?php echo $filtres['tag'] == 'fruit' ? 'active' : ''; ?>">
|
|
|
285 |
<a class="lien-images-organes fourni" data-tag="fruit" title="fruit" id="eflore-fruit">
|
|
|
286 |
<img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/fruit.png" alt="fruit">fruit</a>
|
|
|
287 |
</li>
|
|
|
288 |
<li class="icone-organe-list <?php echo $filtres['tag'] == 'ecorce' ? 'active' : ''; ?>">
|
|
|
289 |
<a class="lien-images-organes fourni" data-tag="ecorce" title="ecorce" id="eflore-ecorce">
|
|
|
290 |
<img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/ecorce.png" alt="ecorce">ecorce</a>
|
|
|
291 |
</li>
|
|
|
292 |
<li class="icone-organe-list <?php echo $filtres['tag'] == 'port' ? 'active' : ''; ?>">
|
|
|
293 |
<a class="lien-images-organes fourni" data-tag="port" title="port" id="eflore-port">
|
|
|
294 |
<img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/port.png" alt="port">port</a>
|
|
|
295 |
</li>
|
|
|
296 |
<li class="icone-organe-list <?php echo $filtres['tag'] == 'rameau' ? 'active' : ''; ?>">
|
|
|
297 |
<a class="lien-images-organes fourni" data-tag="rameau" title="rameau" id="eflore-rameau">
|
|
|
298 |
<img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/rameau.png" alt="rameau">rameau</a>
|
|
|
299 |
</li>
|
|
|
300 |
</ul>
|
|
|
301 |
<?php endif ; ?>
|
|
|
302 |
<div id="cel-galerie-photo<?php echo $id; ?>"
|
|
|
303 |
class="cel-galerie-photo <?php echo empty($champ_recherche) ? 'eflore' : ''; ?>">
|
3630 |
idir |
304 |
<div class="grid-sizer"></div>
|
3961 |
julien |
305 |
|
|
|
306 |
<?php foreach ($items as $t =>$tag) : ?>
|
|
|
307 |
<?php foreach ($tag as $i => $item) : ?>
|
3630 |
idir |
308 |
<?php
|
3961 |
julien |
309 |
$auteurTruncatedEmail = preg_replace('/[^@]+$/i', '...', $item['utilisateur']['mail_utilisateur']);
|
|
|
310 |
$auteur = trim($item['utilisateur']['nom_utilisateur']) ? $item['utilisateur']['nom_utilisateur'] : $auteurTruncatedEmail;
|
|
|
311 |
$dimention_img = 'CRS';
|
|
|
312 |
$class_extra = '';
|
3630 |
idir |
313 |
?>
|
3961 |
julien |
314 |
<?php if ( $i === 0 && $extra_actif ) : ?>
|
|
|
315 |
<?php
|
|
|
316 |
$dimention_img = 'CRL';
|
|
|
317 |
$class_extra = ' grid-item--width2 grid-item--height2';
|
|
|
318 |
?>
|
|
|
319 |
<?php endif; ?>
|
|
|
320 |
<div class="cel-photo grid-item <?php echo $class_extra; ?> <?php echo $t; ?>">
|
|
|
321 |
<a href="<?php echo sprintf($item['url_tpl'], 'O'); ?>" class="cel-img"
|
|
|
322 |
title="<?php echo $item['titre']; ?> - Publiée le <?php echo $item['date_redige']; ?> - GUID : <?php echo $item['id_photo_formate']; ?>" rel="galerie-princ<?php echo $id; ?>">
|
3987 |
julien |
323 |
<img src="<?php echo sprintf($item['url_tpl'], $dimention_img). '?timestamp=' . time(); ?>" alt="<?php echo $item['titre']; ?>">
|
3961 |
julien |
324 |
</a>
|
|
|
325 |
<div id="cel-info-<?php echo $item['id_photo_formate']; ?>" class="cel-infos">
|
|
|
326 |
<strong>
|
|
|
327 |
<?php if (!empty($item['lien'])) : ?>
|
|
|
328 |
<a class="cel-img-titre" href="<?php echo $item['lien']; ?>"
|
|
|
329 |
onclick="window.open(this.href);return false;"
|
|
|
330 |
title="Cliquez pour accéder à la fiche eFlore">
|
|
|
331 |
<?php echo $item['obs']['nom_sel']; ?>
|
|
|
332 |
</a><br />
|
3990 |
julien |
333 |
par <?php
|
|
|
334 |
if ($item['is_auteur_tela']) {
|
|
|
335 |
?>
|
|
|
336 |
<a class="cel-img-contact"
|
|
|
337 |
href="<?php echo $item['urlProfil']; ?>"
|
|
|
338 |
title="Afficher le profil" target="_blank">
|
|
|
339 |
<?php echo $auteur; ?>
|
|
|
340 |
</a>
|
|
|
341 |
<?php
|
|
|
342 |
} else {
|
|
|
343 |
echo $auteur;
|
|
|
344 |
};
|
|
|
345 |
?>
|
3961 |
julien |
346 |
<?php else : ?>
|
|
|
347 |
<?php echo $item['titre']; ?>
|
|
|
348 |
<?php endif; ?>
|
|
|
349 |
</strong>
|
|
|
350 |
</div>
|
3630 |
idir |
351 |
</div>
|
3961 |
julien |
352 |
<?php endforeach; ?>
|
3630 |
idir |
353 |
<?php endforeach; ?>
|
3838 |
idir |
354 |
<div id="next-previous-buttons">
|
3839 |
idir |
355 |
<?php if (0 < $start): ?>
|
3838 |
idir |
356 |
<a id="bouton-photos-precedentes" href="<?php echo $url_widget_photos_precedente;?>" class="btn btn-success"><i class="fas fa-backward"></i> Photos precedentes</a>
|
|
|
357 |
<?php endif;?>
|
|
|
358 |
|
|
|
359 |
<?php if ($total > ($start + $limit)): ?>
|
|
|
360 |
<a id="bouton-photos-suivantes" href="<?php echo $url_widget_photos_suivantes;?>" class="btn btn-success"><i class="fas fa-forward"></i> Photos suivantes</a>
|
|
|
361 |
<?php else :?>
|
|
|
362 |
<div class="alert alert-secondary mt-0 ml-1" role="alert" style="display: inline-block;">Toutes les photos disponibles, correspondant à vos critères, ont été affichées</div>
|
|
|
363 |
<?php endif;?>
|
|
|
364 |
</div>
|
580 |
jpm |
365 |
</div>
|
879 |
jpm |
366 |
<p class="cel-photo-pieds discretion nettoyage">
|
|
|
367 |
<span class="cel-photo-source">
|
3630 |
idir |
368 |
Source :
|
1480 |
aurelien |
369 |
<a href="http://www.tela-botanica.org/page:cel" title="Carnet en Ligne" onclick="window.open(this.href);return false;">
|
879 |
jpm |
370 |
CEL
|
|
|
371 |
</a>
|
|
|
372 |
</span>
|
3630 |
idir |
373 |
<span class="cel-photo-date-generation">Au <?php echo strftime('%A %d %B %Y à %H:%M:%S'); ?></span>
|
879 |
jpm |
374 |
</p>
|
3630 |
idir |
375 |
|
580 |
jpm |
376 |
<?php endif; ?>
|
|
|
377 |
</div>
|
3630 |
idir |
378 |
<!-- modale -->
|
|
|
379 |
<div id="fenetre-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="fenetre-modal-label" style="display: none;" aria-hidden="true">
|
|
|
380 |
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
381 |
<div class="modal-content">
|
|
|
382 |
<div class="modal-header">
|
|
|
383 |
<h5 class="modal-title" id="fenetre-modal-label"></h5>
|
|
|
384 |
<button type="button" class="close btn btn-sm btn-secondary" data-dismiss="modal" aria-label="Close">
|
|
|
385 |
<span aria-hidden="true">×</span>
|
|
|
386 |
</button>
|
|
|
387 |
</div>
|
|
|
388 |
<div class="modal-body row" id="print_content"></div>
|
|
|
389 |
<div class="modal-footer hidden"></div>
|
|
|
390 |
</div>
|
|
|
391 |
</div>
|
|
|
392 |
</div>
|
580 |
jpm |
393 |
<!-- WIDGET:CEL:PHOTO - FIN -->
|
3630 |
idir |
394 |
<script type="text/Javascript">
|
|
|
395 |
//<![CDATA[
|
|
|
396 |
var widgetProp = {
|
|
|
397 |
'id' : "<?php echo $id; ?>",
|
3958 |
julien |
398 |
'galerieId' : "<?php echo $galerie_id; ?>",
|
3630 |
idir |
399 |
};
|
|
|
400 |
|
|
|
401 |
$( document ).ready( function() {
|
|
|
402 |
photo = new WidgetPhoto( widgetProp );
|
|
|
403 |
photo.init();
|
|
|
404 |
});
|
|
|
405 |
//]]>
|
|
|
406 |
</script>
|
580 |
jpm |
407 |
</body>
|
3630 |
idir |
408 |
</html>
|