Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 422 Rev 431
Line 1... Line 1...
1
<? $url = 'index.php?referentiel=bdtfx&niveau=1&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=';?>
1
<? $url = htmlentities('index.php?referentiel=bdtfx&niveau=1&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=');?>
2
<script type="text/javascript">
2
<script type="text/javascript">
3
//<![CDATA[
3
//<![CDATA[
4
	var urlTexteBrutSectionWikiTpl = "<?= Config::get('texteBrutSectionWikiTpl'); ?>";
4
	var urlTexteBrutSectionWikiTpl = "<?= Config::get('texteBrutSectionWikiTpl'); ?>";
5
	var urlEditionSectionWikiTpl = "<?= Config::get('editionSectionWikiTpl'); ?>";
5
	var urlEditionSectionWikiTpl = "<?= Config::get('editionSectionWikiTpl'); ?>";
6
	var urlTexteFormateSectionWikiTpl = "<?= Config::get('texteFormateSectionWikiTpl'); ?>";
6
	var urlTexteFormateSectionWikiTpl = "<?= Config::get('texteFormateSectionWikiTpl'); ?>";
Line 12... Line 12...
12
		<div id="synthese_illustrations" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
12
		<div id="synthese_illustrations" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
13
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-0">
13
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-0">
14
				<a class="lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
14
				<a class="lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
15
			</h3>
15
			</h3>
16
			<span id="contenu-0" class="contenu">
16
			<span id="contenu-0" class="contenu">
-
 
17
				<?php if ($illustration['imageUrl'] != '') : ?>
17
				<img src="<?=$illustration['imageUrl']?>" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"
18
					<img src="<?=$illustration['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"/>
-
 
19
				<?php else : ?>
-
 
20
					<span class="absent" style="float:none;">
-
 
21
						Pas de photo<br />
-
 
22
						<a href="http://www.tela-botanica.org/page:saisie_observations?langue=fr" 
-
 
23
							title="Ajouter une photographie au moyen du Carnet en Ligne" 
-
 
24
							onclick="window.open(this.href); return false;" class="contribuer">
18
					 alt="Contribuer au CEL"/>
25
							Contribuer
-
 
26
						</a>
-
 
27
					</span>
-
 
28
				<?php endif; ?>
19
			</span>
29
			</span>
20
		</div>	
30
		</div>	
21
		<div id="synthese_description" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
31
		<div id="synthese_description" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
22
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-1">
32
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-1">
23
				<a class="lien-onglet-synthese" href="<?=$url;?>description">Description</a>
33
				<a class="lien-onglet-synthese" href="<?=$url;?>description">Description</a>
24
			</h3>
34
			</h3>
25
			<div id="contenu-0" class="contenu">
35
			<div id="contenu-1" class="contenu">
26
				<h4><?= $description['titre']?></h4>
36
				<h4><?= $description['titre']?></h4>
27
				<? if ($description['description'] == '') {?>
37
				<? if ($description['description'] == '') {?>
28
					<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
38
					<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
29
						Participez à la rédaction collaborative de cette description
39
						Participez à la rédaction collaborative de cette description
30
					</a>
40
					</a>
Line 47... Line 57...
47
					<h4>Flores</h4>
57
					<h4>Flores</h4>
48
					<?php if ($bibliographie['flores'] == array()) { ?>
58
					<?php if ($bibliographie['flores'] == array()) { ?>
49
						Aucune flore indiquée
59
						Aucune flore indiquée
50
					<?php } else { ?>
60
					<?php } else { ?>
51
						<?php foreach ($bibliographie['flores'] as $flore) : ?>
61
						<?php foreach ($bibliographie['flores'] as $flore) : ?>
52
							<div> - <?= $flore; ?> </div>
62
							<div> - <?= htmlentities($flore); ?> </div>
53
						<?php endforeach; ?>
63
						<?php endforeach; ?>
54
						<?php if($bibliographie['autresFlores'] > 0) { ?>	
64
						<?php if($bibliographie['autresFlores'] > 0) { ?>	
55
							<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
65
							<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
56
								<?= $bibliographie['autresFlores'] ?>
66
								<?= htmlentities($bibliographie['autresFlores']) ?>
57
								autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
67
								autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
58
								flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
68
								flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
59
							</a>
69
							</a>
60
					<?php } } ?><br />
70
					<?php } } ?><br />
61
					<h4>Références</h4>
71
					<h4>Références</h4>
Line 78... Line 88...
78
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
88
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
79
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
89
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
80
				<a class="lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
90
				<a class="lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
81
			</h3>
91
			</h3>
82
			<span id="contenu-3" class="contenu">
92
			<span id="contenu-3" class="contenu">
83
				<img src="<?=$repartition['chorodep']?>" alt="Carte de répartition"/>
93
				<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
84
			</span>
94
			</span>
85
		</div>	
95
		</div>	
86
		<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
96
		<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
87
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
97
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
88
				<a class="lien-onglet-synthese" href="<?=$url;?>ethnobotanique">Ethnobotanique</a>
98
				<a class="lien-onglet-synthese" href="<?=$url;?>ethnobotanique">Ethnobotanique</a>