Rev 580 | Rev 587 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Photographies publiques du CEL - Tela Botanica</title><meta http-equiv="content-type" content="text/html; charset=UTF-8"/><meta http-equiv="Content-style-type" content="text/css" /><meta http-equiv="Content-script-type" content="text/javascript" /><meta http-equiv="Content-language" content="fr" /><meta name="revisit-after" content="15 days" /><meta name="robots" content="index,follow" /><meta name="author" content="Jean-Pascal MILCENT, Grégoire DUCHÉ" /><meta name="keywords" content="Tela Botanica, photographie, CEL" /><meta name="description" content="Widget de présentation des dernières photo publiées sur le Carnet en Ligne de Tela Botanica" /><!-- Spécial mobile --><meta name="viewport" content="initial-scale=1.0, user-scalable=no" /><!-- Favicones --><link rel="icon" type="image/png" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.png" /><link rel="shortcut icon" type="image/x-icon" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.ico" /><!-- Javascript : bibliothèques --><script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/1.4.4/jquery-1.4.4.min.js"></script><script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/fancybox/1.3.2/jquery.fancybox-1.3.2.js"></script><!-- Feuilles de styles --><link rel="stylesheet" type="text/css" href="http://www.tela-botanica.org/commun/jquery/fancybox/1.3.2/jquery.fancybox-1.3.2.css" media="screen" /><link rel="stylesheet" type="text/css" href="<?=$url_css?>photo.css" media="screen" /><style type="text/css">#contenu, #galerie-photo{width:<?=($colonne * 69)?>px;}#galerie-photo #photo-extra img{width:<?=(($colonne * 63) + 18)?>px;}</style></head><body><!-- WIDGET:CEL:PHOTO - DEBUT --><div id="contenu"><?php if (isset($erreurs) || isset($informations)) : ?><h1>Erreur & informations</h1><p>Impossible d'afficher le flux.</p><!-- Affichage des erreurs et messages d'information : --><?php if ($erreurs) : ?><?php foreach ($erreurs as $erreur) : ?><p class="erreur"><?=$erreur;?></p><?php endforeach; ?><?php endif; ?><?php if ($informations) : ?><?php foreach ($informations as $information) : ?><p class="info"><?=$information;?></p><?php endforeach; ?><?php endif; ?><?php else : ?><h1>Dernières images du<a href="http://www.tela-botanica.org/appli:cel" title="Carnet en Ligne" onclick="window.open(this.href);return false;">CEL</a><a href="<?=$flux_rss_url?>"id="flux-suivre"title="Suivre les images"onclick="window.open(this.href);return false;">Suivre les images</a></h1><div id="galerie-photo"><?php foreach ($items as $item) : ?><div class="photo"><a href="<?=$item['lien']?>" class="cel-img" title="<?=$item['titre']?> - Publiée le <?=$item['date']?> - GUID : <?=$item['guid']?>" rel="galerie-princ"><img src="<?=sprintf($item['url_tpl'], 'S')?>" alt="<?=$item['titre']?>"/></a><div id="cel-info-<?=$item['guid']?>" class="infos"><strong><a class="img-titre" href="<?=$item['eflore_url']?>"onclick="window.open(this.href);return false;"title="Cliquez pour accéder à la fiche eFlore"><?=$item['titre']?></a></strong><br /><span class="img-date">Publiée le <?=$item['date']?></span></div></div><?php endforeach; ?><?php if ($extra_actif) : ?><div id="photo-extra" class="photo"><a href="<?=$extra['lien']?>" class="cel-img" title="<?=$extra['titre']?> - Publiée le <?=$extra['date']?> - GUID : <?=$extra['guid']?>" rel="galerie-princ"><img src="<?=sprintf($extra['url_tpl'], 'M')?>" alt="<?=$extra['titre']?>"/></a></div></div><?php endif ?><p id="date-generation" class="discretion nettoyage">Au <?=strftime('%A %d %B %Y à %H:%M:%S')?></p><script type="text/Javascript">//<![CDATA[var $doc = window.document;function formaterTitre(titre, currentArray, currentIndex, currentOpts) {var motif = /GUID : ([0-9]+)$/;motif.exec(titre);var guid = 'cel-info-'+RegExp.$1;var info = $('#'+guid, $doc).html();var tpl ='<div id="legende">'+'<p id="legende-vei">'+'Image n°' + (currentIndex + 1) + ' sur ' + currentArray.length +'<\/p>'+(titre && titre.length ? '<p>'+info+'<\/p>' : '' )+'<\/div>';return tpl;}(function($, originalInit) {parent.jQuery.fn.init = function(selector, context) {//alert('hello: ' + originalInit);return new originalInit(selector, context || $doc);};$(window).load(function() {$('a.cel-img', $doc).attr('rel', 'galerie-princ').fancybox({transitionIn : 'elastic',transitionOut : 'elastic',speedIn : 600,speedOut : 200,overlayShow : true,titlePosition : 'inside',titleFormat : formaterTitre});});}(parent.jQuery, parent.jQuery.fn.init));//]]></script><?php endif; ?></div><!-- WIDGET:CEL:PHOTO - FIN --></body></html>