Line 121... |
Line 121... |
121 |
<?php else : ?>
|
121 |
<?php else : ?>
|
122 |
<h1>
|
122 |
<h1>
|
123 |
<?php if (!empty($titre)) : ?>
|
123 |
<?php if (!empty($titre)) : ?>
|
124 |
<?php echo $titre; ?>
|
124 |
<?php echo $titre; ?>
|
125 |
<?php endif ; ?>
|
125 |
<?php endif ; ?>
|
126 |
<?php if($icone_rss) : ?>
|
126 |
<?php if($icone_rss && !empty($champ_recherche)) : ?>
|
- |
|
127 |
<!-- Affichage du bouton rss si on est pas en mode eflore-->
|
127 |
<a href="<?php echo $flux_rss_url; ?>"
|
128 |
<a href="<?php echo $flux_rss_url; ?>"
|
128 |
class="cel-photo-flux"
|
129 |
class="cel-photo-flux"
|
129 |
title="Suivre les images"
|
130 |
title="Suivre les images"
|
130 |
onclick="window.open(this.href);return false;">
|
131 |
onclick="window.open(this.href);return false;">
|
131 |
<img src="https://www.tela-botanica.org/sites/commun/generique/images/rss.png" alt="Suivre les images" />
|
132 |
<img src="https://www.tela-botanica.org/sites/commun/generique/images/rss.png" alt="Suivre les images" />
|
Line 273... |
Line 274... |
273 |
</div>
|
274 |
</div>
|
274 |
</div>
|
275 |
</div>
|
275 |
</div>
|
276 |
</div>
|
276 |
</div>
|
277 |
</div>
|
277 |
</form>
|
278 |
</form>
|
- |
|
279 |
<?php else : ?>
|
- |
|
280 |
<!-- Pas de champ de recherche -> Affichage style eflore-->
|
- |
|
281 |
<ul class="liste-illustrations">
|
- |
|
282 |
<li class="icone-organe-list <?php echo $filtres['tag'] == 'fleur' ? 'active' : ''; ?>">
|
- |
|
283 |
<a class="lien-images-organes fourni" data-tag="fleur" title="fleur" id="eflore-fleur">
|
- |
|
284 |
<img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/fleur.png" alt="fleur">
|
- |
|
285 |
fleur </a>
|
- |
|
286 |
</li>
|
- |
|
287 |
<li class="icone-organe-list <?php echo $filtres['tag'] == 'feuille' ? 'active' : ''; ?>">
|
- |
|
288 |
<a class="lien-images-organes fourni" data-tag="feuille" title="feuille" id="eflore-feuille">
|
- |
|
289 |
<img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/feuille.png" alt="feuille">feuille</a>
|
- |
|
290 |
</li>
|
- |
|
291 |
<li class="icone-organe-list <?php echo $filtres['tag'] == 'fruit' ? 'active' : ''; ?>">
|
- |
|
292 |
<a class="lien-images-organes fourni" data-tag="fruit" title="fruit" id="eflore-fruit">
|
- |
|
293 |
<img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/fruit.png" alt="fruit">fruit</a>
|
- |
|
294 |
</li>
|
- |
|
295 |
<li class="icone-organe-list <?php echo $filtres['tag'] == 'ecorce' ? 'active' : ''; ?>">
|
- |
|
296 |
<a class="lien-images-organes fourni" data-tag="ecorce" title="ecorce" id="eflore-ecorce">
|
- |
|
297 |
<img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/ecorce.png" alt="ecorce">ecorce</a>
|
- |
|
298 |
</li>
|
- |
|
299 |
<li class="icone-organe-list <?php echo $filtres['tag'] == 'port' ? 'active' : ''; ?>">
|
- |
|
300 |
<a class="lien-images-organes fourni" data-tag="port" title="port" id="eflore-port">
|
- |
|
301 |
<img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/port.png" alt="port">port</a>
|
- |
|
302 |
</li>
|
- |
|
303 |
<li class="icone-organe-list <?php echo $filtres['tag'] == 'rameau' ? 'active' : ''; ?>">
|
- |
|
304 |
<a class="lien-images-organes fourni" data-tag="rameau" title="rameau" id="eflore-rameau">
|
- |
|
305 |
<img class="icone-organe" src="https://www.tela-botanica.org/eflore/consultation/presentations/images/icones_tags/rameau.png" alt="rameau">rameau</a>
|
- |
|
306 |
</li>
|
- |
|
307 |
</ul>
|
278 |
<?php endif ; ?>
|
308 |
<?php endif ; ?>
|
279 |
<div id="cel-galerie-photo<?php echo $id; ?>" class="cel-galerie-photo">
|
309 |
<div id="cel-galerie-photo<?php echo $id; ?>"
|
- |
|
310 |
class="cel-galerie-photo <?php echo empty($champ_recherche) ? 'eflore' : ''; ?>">
|
280 |
<div class="grid-sizer"></div>
|
311 |
<div class="grid-sizer"></div>
|
- |
|
312 |
|
281 |
<?php foreach ($items as $i => $item) : ?>
|
313 |
<?php foreach ($items as $t =>$tag) : ?>
|
282 |
<?php
|
- |
|
283 |
$auteurTruncatedEmail = preg_replace('/[^@]+$/i', '...', $item['utilisateur']['mail_utilisateur']);
|
- |
|
284 |
$auteur = trim($item['utilisateur']['nom_utilisateur']) ? $item['utilisateur']['nom_utilisateur'] : $auteurTruncatedEmail;
|
- |
|
285 |
$dimention_img = 'CRS';
|
- |
|
286 |
$class_extra = '';
|
- |
|
287 |
?>
|
- |
|
288 |
<?php if ( $i === 0 && $extra_actif ) : ?>
|
314 |
<?php foreach ($tag as $i => $item) : ?>
|
289 |
<?php
|
315 |
<?php
|
- |
|
316 |
$auteurTruncatedEmail = preg_replace('/[^@]+$/i', '...', $item['utilisateur']['mail_utilisateur']);
|
- |
|
317 |
$auteur = trim($item['utilisateur']['nom_utilisateur']) ? $item['utilisateur']['nom_utilisateur'] : $auteurTruncatedEmail;
|
290 |
$dimention_img = 'CRL';
|
318 |
$dimention_img = 'CRS';
|
291 |
$class_extra = ' grid-item--width2 grid-item--height2';
|
319 |
$class_extra = '';
|
292 |
?>
|
320 |
?>
|
- |
|
321 |
<?php if ( $i === 0 && $extra_actif ) : ?>
|
- |
|
322 |
<?php
|
- |
|
323 |
$dimention_img = 'CRL';
|
- |
|
324 |
$class_extra = ' grid-item--width2 grid-item--height2';
|
- |
|
325 |
?>
|
293 |
<?php endif; ?>
|
326 |
<?php endif; ?>
|
294 |
<div class="cel-photo grid-item <?php echo $class_extra; ?>">
|
327 |
<div class="cel-photo grid-item <?php echo $class_extra; ?> <?php echo $t; ?>">
|
- |
|
328 |
<a href="<?php echo sprintf($item['url_tpl'], 'O'); ?>" class="cel-img"
|
295 |
<a href="<?php echo sprintf($item['url_tpl'], 'O'); ?>" class="cel-img" 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; ?>">
|
329 |
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; ?>">
|
296 |
<img src="<?php echo sprintf($item['url_tpl'], $dimention_img); ?>" alt="<?php echo $item['titre']; ?>">
|
330 |
<img src="<?php echo sprintf($item['url_tpl'], $dimention_img); ?>" alt="<?php echo $item['titre']; ?>">
|
297 |
</a>
|
331 |
</a>
|
298 |
<div id="cel-info-<?php echo $item['id_photo_formate']; ?>" class="cel-infos">
|
332 |
<div id="cel-info-<?php echo $item['id_photo_formate']; ?>" class="cel-infos">
|
299 |
<strong>
|
333 |
<strong>
|
300 |
<?php if (!empty($item['lien'])) : ?>
|
334 |
<?php if (!empty($item['lien'])) : ?>
|
301 |
<a class="cel-img-titre" href="<?php echo $item['lien']; ?>"
|
335 |
<a class="cel-img-titre" href="<?php echo $item['lien']; ?>"
|
302 |
onclick="window.open(this.href);return false;"
|
336 |
onclick="window.open(this.href);return false;"
|
303 |
title="Cliquez pour accéder à la fiche eFlore">
|
337 |
title="Cliquez pour accéder à la fiche eFlore">
|
304 |
<?php echo $item['obs']['nom_sel']; ?>
|
338 |
<?php echo $item['obs']['nom_sel']; ?>
|
305 |
</a><br />
|
339 |
</a><br />
|
306 |
par
|
340 |
par
|
307 |
<a class="cel-img-contact"
|
341 |
<a class="cel-img-contact"
|
308 |
href="?mode=contact&nn=<?php echo urlencode($item['obs']['nom_sel_nn']); ?>&nom_sci=<?php echo urlencode($item['obs']['nom_sel']); ?>&date=<?php echo urlencode($item['date']); ?>&id_image=<?php echo $item['id_photo_formate']; ?>&auteur=<?php echo $item['utilisateur']['nom_utilisateur']; ?>"
|
342 |
href="?mode=contact&nn=<?php echo urlencode($item['obs']['nom_sel_nn']); ?>&nom_sci=<?php echo urlencode($item['obs']['nom_sel']); ?>&date=<?php echo urlencode($item['date']); ?>&id_image=<?php echo $item['id_photo_formate']; ?>&auteur=<?php echo $item['utilisateur']['nom_utilisateur']; ?>"
|
309 |
title="Cliquez pour contacter l'auteur de la photo">
|
343 |
title="Cliquez pour contacter l'auteur de la photo">
|
310 |
<?php echo $auteur; ?>
|
344 |
<?php echo $auteur; ?>
|
311 |
</a>
|
345 |
</a>
|
312 |
<?php else : ?>
|
346 |
<?php else : ?>
|
313 |
<?php echo $item['titre']; ?>
|
347 |
<?php echo $item['titre']; ?>
|
314 |
<?php endif; ?>
|
348 |
<?php endif; ?>
|
315 |
</strong>
|
349 |
</strong>
|
- |
|
350 |
</div>
|
316 |
</div>
|
351 |
</div>
|
317 |
</div>
|
352 |
<?php endforeach; ?>
|
318 |
<?php endforeach; ?>
|
353 |
<?php endforeach; ?>
|
319 |
<div id="next-previous-buttons">
|
354 |
<div id="next-previous-buttons">
|
320 |
<?php if (0 < $start): ?>
|
355 |
<?php if (0 < $start): ?>
|
321 |
<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>
|
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>
|
322 |
<?php endif;?>
|
357 |
<?php endif;?>
|