Subversion Repositories eFlore/Applications.cel

Rev

Rev 3823 | Rev 3829 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3823 Rev 3825
Line 18... Line 18...
18
		<meta property="og:type" content="website" />
18
		<meta property="og:type" content="website" />
19
		<meta property="og:title" content="Widget photo du CeL" />
19
		<meta property="og:title" content="Widget photo du CeL" />
20
		<meta property="og:site_name" content="Tela Botanica" />
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" />
21
		<meta property="og:description" content="Mini-galerie photo des observations publiques du Carnet en Ligne" />
22
		<?php if (isset($items[0])) : ?>
22
		<?php if (isset($items[0])) : ?>
23
			<meta property="og:image" content="<?php echo sprintf($items[0]['url_tpl'], 'CRS'); ?>" />';
23
			<meta property="og:image" content="<?php echo sprintf($items[0]['url_tpl'], 'CRS'); ?>" />
24
		<?php else : ?>
24
		<?php else : ?>
25
			<meta property="og:image" content="https://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" />
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" />
26
			<meta property="og:image:type" content="image/png" />
27
			<meta property="og:image:width" content="256" />
27
			<meta property="og:image:width" content="256" />
28
			<meta property="og:image:height" content="256" />
28
			<meta property="og:image:height" content="256" />
Line 240... Line 240...
240
						<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; ?>">
240
						<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; ?>">
241
							<img src="<?php echo sprintf($item['url_tpl'], $dimention_img); ?>" alt="<?php echo $item['titre']; ?>">
241
							<img src="<?php echo sprintf($item['url_tpl'], $dimention_img); ?>" alt="<?php echo $item['titre']; ?>">
242
						</a>
242
						</a>
243
						<div id="cel-info-<?php echo $item['id_photo_formate']; ?>" class="cel-infos">
243
						<div id="cel-info-<?php echo $item['id_photo_formate']; ?>" class="cel-infos">
244
							<strong>
244
							<strong>
245
								<?php if ($item['eflore_url'] != '#' && $item['eflore_url'] != '') : ?>
245
								<?php if (!empty($item['lien'])) : ?>
246
									<a class="cel-img-titre" href="<?php echo $item['eflore_url']; ?>"
246
									<a class="cel-img-titre" href="<?php echo $item['lien']; ?>"
247
										onclick="window.open(this.href);return false;"
247
										onclick="window.open(this.href);return false;"
248
										title="Cliquez pour accéder à la fiche eFlore">
248
										title="Cliquez pour accéder à la fiche eFlore">
249
										<?php echo $item['obs']['nom_sel']; ?>
249
										<?php echo $item['obs']['nom_sel']; ?>
250
									</a><br />
250
									</a><br />
251
									par
251
									par