Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1307 Rev 1311
Line 33... Line 33...
33
			<ul class="liste-illustrations">
33
			<ul class="liste-illustrations">
34
			<? foreach($organes as $tag => $image) : ?>
34
			<? foreach($organes as $tag => $image) : ?>
35
				<? if ($image && $image['binaire.href']) : ?>
35
				<? if ($image && $image['binaire.href']) : ?>
36
				<li class="organe-moyen">
36
				<li class="organe-moyen">
37
					<?= ucfirst($tag); ?>
37
					<?= ucfirst($tag); ?>
38
					<a class="lien_grand_format" target="_blank" title="Voir cette image en grand format (s'ouvre dans une nouvelle fenêtre)" href="<?= Illustrations::obtenirUrlImageGrandFormatCel($image['id_image']); ?>" data-num-image="<?= $image['id_image'] ?>">
38
					<a class="lien_grand_format" target="_blank" title="Voir cette image dans son format original (s'ouvre dans une nouvelle fenêtre)" href="<?= Illustrations::obtenirUrlImageGrandFormatCel($image['id_image']); ?>" data-num-image="<?= $image['id_image'] ?>">
39
						<img data-num-image="<?= $image['id_image'] ?>"
39
						<img data-num-image="<?= $image['id_image'] ?>"
40
						  alt="Photographie n°<?= $image['id_image'] ?> du taxon <?= $image['observation']['determination.ns'] ?>"
40
						  alt="Photographie n°<?= $image['id_image'] ?> du taxon <?= $image['observation']['determination.ns'] ?>"
41
						  src="<?= $image['binaire.href'] ?>" />
41
						  src="<?= $image['binaire.href'] ?>" />
42
					</a>
42
					</a>
43
				</li>
43
				</li>
Line 73... Line 73...
73
		<? if (empty($caracteres) == false) : ?>
73
		<? if (empty($caracteres) == false) : ?>
74
			<ul class="liste-illustrations">
74
			<ul class="liste-illustrations">
75
			<? foreach($caracteres as $image) : ?>
75
			<? foreach($caracteres as $image) : ?>
76
				<li class="caractere-moyen">
76
				<li class="caractere-moyen">
77
					<? if ($image != null) : ?>
77
					<? if ($image != null) : ?>
78
					<a class="lien_grand_format" target="_blank" title="Voir cette image en grand format (s'ouvre dans une nouvelle fenêtre)" href="<?= Illustrations::obtenirUrlImageGrandFormatCel($image['id_image']); ?>" data-num-image="<?= $image['id_image'] ?>">
78
					<a class="lien_grand_format" target="_blank" title="Voir cette image dans son format original (s'ouvre dans une nouvelle fenêtre)" href="<?= Illustrations::obtenirUrlImageGrandFormatCel($image['id_image']); ?>" data-num-image="<?= $image['id_image'] ?>">
79
						<img data-num-image="<?= $image['id_image'] ?>"
79
						<img data-num-image="<?= $image['id_image'] ?>"
80
						  alt="Photographie n°<?= $image['id_image'] ?> du taxon <?= $image['observation']['determination.ns'] ?>"
80
						  alt="Photographie n°<?= $image['id_image'] ?> du taxon <?= $image['observation']['determination.ns'] ?>"
81
						  src="<?= $image['binaire.href'] ?>" />
81
						  src="<?= $image['binaire.href'] ?>" />
82
					</a>
82
					</a>
83
					<? endif ?>
83
					<? endif ?>
Line 109... Line 109...
109
		<div id="illustrations-cel">
109
		<div id="illustrations-cel">
110
			<?php if (isset($cel['images'])) : ?>
110
			<?php if (isset($cel['images'])) : ?>
111
				<ul class="liste-illustrations">
111
				<ul class="liste-illustrations">
112
				<?php foreach($cel['images'] as $id => $image) : ?>
112
				<?php foreach($cel['images'] as $id => $image) : ?>
113
					<li><div>   
113
					<li><div>   
114
						<a class="lien_grand_format" target="_blank" title="Voir cette image en grand format (s'ouvre dans une nouvelle fenêtre)" href="<?= $image['urlImgGrandFormat'] ?>">
114
						<a class="lien_grand_format" target="_blank" title="Voir cette image dans son format original (s'ouvre dans une nouvelle fenêtre)" href="<?= $image['urlImgGrandFormat'] ?>">
115
							<img src="<?= $image['src']; ?>" alt="Photographie n°<?=$id;?> du taxon <?=$image['nomSci']?>" data-num-image="<?=$id;?>" title="Voir cette image en grand format (s'ouvre dans une nouvelle fenêtre)" />
115
							<img src="<?= $image['src']; ?>" alt="Photographie n°<?=$id;?> du taxon <?=$image['nomSci']?>" data-num-image="<?=$id;?>" title="Voir cette image dans son format original (s'ouvre dans une nouvelle fenêtre)" />
116
						</a>
116
						</a>
117
						<p>
117
						<p>
118
							<strong class="localisation"><?= $image['station']; ?></strong> - <strong class="date-creation"><?= $image['date']; ?></strong> 
118
							<strong class="localisation"><?= $image['station']; ?></strong> - <strong class="date-creation"><?= $image['date']; ?></strong> 
119
							<br />par
119
							<br />par
120
							<? if ($image['auteur.id']) : ?>
120
							<? if ($image['auteur.id']) : ?>