Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 527 | Rev 537 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
527 gduche 1
<!-- Fichier expert -->
525 gduche 2
<? $url = htmlentities('index.php?referentiel=bdtfx&niveau=1&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=');?>
3
<script type="text/javascript">
4
//<![CDATA[
5
	var urlTexteBrutSectionWikiTpl = "<?= Config::get('texteBrutSectionWikiTpl'); ?>";
6
	var urlEditionSectionWikiTpl = "<?= Config::get('editionSectionWikiTpl'); ?>";
7
	var urlTexteFormateSectionWikiTpl = "<?= Config::get('texteFormateSectionWikiTpl'); ?>";
8
	var pageWikiTaxon = "<?= strtoupper($infos['referentiel']); ?>nt<?= $infos['num_tax']; ?>";
9
//]]>
10
</script>
11
<div class="synthese">
12
	<div class="colonne deuxtiers">
531 gduche 13
 
14
		<!-- Nomenclature -->
15
		<div id="synthese_nomenclature" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
16
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-6">
17
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>nomenclature">Nomenclature</a>
525 gduche 18
			</h3>
531 gduche 19
			<div id="contenu-6" class="contenu">
20
				<h4>Nom retenu</h4>
21
				<div>
22
					<div class="nom retenu <?= ($nomenclature['nom_selectionne'] == $nomenclature['nom_retenu_formate']) ? 'surlignage' : '' ?>">
23
						<?= $nomenclature['nom_retenu_formate']; ?>
24
					</div>
25
					<?php if($nomenclature['basionyme_nom_retenu'] != '') { ?>
26
						<div class="nom"> Basionyme : <?= $nomenclature['basionyme_nom_retenu']; ?></div>
27
					<?php } ?>
28
				</div>
29
 
30
				<h4>Synonymes</h4>
31
				<?php if($nomenclature['synonymes'] == array()) { ?>
32
					Aucun synonyme
33
				<? } else { ?>
34
					<?php foreach ($nomenclature['synonymes'] as $synonyme) : ?>
35
						<div class="nom<?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci_complet']) ? ' surlignage' : '' ?>">
36
							<?= $synonyme['nom_sci_complet']; ?>
37
						</div>
38
					<?php endforeach; ?>
39
					<?php if($nomenclature['autresSynonymesNbre'] > 0) { ?>
40
						<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
41
							<?= $nomenclature['autresSynonymesNbre'] ?>
42
							autre<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
43
							synonyme<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
525 gduche 44
						</a>
531 gduche 45
				<?php }} ?>
46
			</div>
525 gduche 47
		</div>
48
 
531 gduche 49
		<!-- Classification -->
50
		<div id="synthese_classification" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
51
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-5">
52
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>classification">Classification</a>
53
			</h3>
54
			<div id="contenu-5" class="contenu">
55
				<h4>Taxons supérieurs</h4>
56
				<?php if($classification['taxons_sup'] != array()) { ?>
57
					<?php foreach($classification['taxons_sup'] as $taxon) : ?>
58
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
59
					<?php endforeach; ?>
60
				<?php } else { ?>
61
					<div>Aucun taxon supérieur référencé </div>
62
				<?php } ?>
63
				<h4>Taxons inférieurs</h4>
64
				<?php if($classification['taxons_inf'] != array()) { ?>
65
					<?php foreach($classification['taxons_inf'] as $taxon) : ?>
66
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
67
					<?php endforeach; ?>
68
				<?php } else { ?>
69
					<div>Aucun taxon inférieur référencé </div>
70
				<?php } ?>
71
			</div>
72
		</div>
73
 
74
		<!-- Description -->
525 gduche 75
		<div id="synthese_description" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
76
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-1">
77
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>description">Description</a>
78
			</h3>
79
			<div id="contenu-1" class="contenu">
80
				<h4><?= $description['titre']?></h4>
81
				<? if ($description['description'] == '') {?>
82
					<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
83
						Participez à la rédaction collaborative de cette description
84
					</a>
85
				<? } else { echo $description['description'];?><br /><br />
86
					<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
87
						Complétez cette description
88
					</a>
89
				<? } ?>
90
			</div>
91
		</div>
92
 
531 gduche 93
		<!-- Ecologie -->
94
		<div id="synthese_ecologie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
95
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-8">
96
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</a>
525 gduche 97
			</h3>
531 gduche 98
			<span id="contenu-8" class="contenu">
99
				<? if ($ecologie['wikini']['ecologie'] == '') {?>
100
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
101
						Participez à la rédaction collaborative de l'écologie
102
					</a>
103
				<? } else { echo $ecologie['wikini']['ecologie'];?><br /><br />
104
					<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" >
105
						Compléter ces informations
106
					</a>
107
				<? } ?>
525 gduche 108
			</span>
109
		</div>
110
 
531 gduche 111
		<!-- Ethnobotanique -->
525 gduche 112
		<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
113
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
114
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ethnobotanique">Ethnobotanique</a>
115
			</h3>
116
			<div id="contenu-4" class="contenu">
117
				<h4>Noms communs</h4>
118
				<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
119
					Aucun nom vernaculaire<br /><br />
120
					<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
121
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
122
						Participez à la rédaction collaborative de la liste des noms communs
123
					</a>
124
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];?><br /><br />
125
						<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
126
							Compléter cette liste
127
						</a>
128
					<? } ?>
129
				<?php } else { ?>
130
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
131
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
132
					<?php endforeach; ?>
133
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
134
						<a href="<?=$url;?>ethnobotanique" style="float:right;" class="lien_ouverture_onglet_parent" >et
135
							<?= $ethnobotanique['autresNomsVerna'] ?>
136
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
137
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
138
						</a><br />
139
					<?php }?>
140
				<?php }?>
141
				<h4>Usages</h4>
142
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
143
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
144
						Participez à la rédaction collaborative des usages
145
					</a>
146
				<? } else { echo $ethnobotanique['wikini']['usage'];?><br /><br />
147
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
148
						Compléter ces informations
149
					</a>
150
				<? } ?>
151
				<h4>Culture et arts</h4>
152
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
153
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
154
						Participez à la rédaction collaborative sur la culture et les arts
155
					</a>
156
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts'];?><br /><br />
157
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
158
						Compléter ces informations
159
					</a>
160
				<? } ?>
161
			</div>
162
		</div>
531 gduche 163
 
164
		<!-- Bibliographie -->
165
		<div id="synthese_bibliographie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
166
				<h3 class="titre ui-widget-header ui-corner-all" id="titre-2">
167
					<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie">Bibliographie</a>
168
				</h3>
169
				<div id="contenu-2" class="contenu">
170
					<?php if (isset($bibliographie['wikini'])) { ?>
171
						<?= ($bibliographie['wikini']['biblio'] == '') ?
172
							'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
173
							Ajoutez votre bibliographie sur ce taxon</a>'
174
						: $bibliographie['wikini']['biblio'].
175
							'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
176
								Compléter cette  bibliographie</a>'; ?>
177
					<?php } else { ?>
178
 
179
						<h4>Flores</h4>
180
						<?php if ($bibliographie['flores'] == array()) { ?>
181
							Aucune flore indiquée
182
						<?php } else { ?>
183
							<?php foreach ($bibliographie['flores'] as $flore) : ?>
184
								<div> - <?= $flore; ?> </div>
185
							<?php endforeach; ?>
186
							<?php if($bibliographie['autresFlores'] > 0) { ?>
187
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
188
									<?= htmlentities($bibliographie['autresFlores']) ?>
189
									autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
190
									flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
191
								</a>
192
						<?php } } ?><br />
193
 
194
						<h4>Références</h4>
195
						<?php if ($bibliographie['references'] == array()) { ?>
196
							Aucune référence bibliographique
197
						<?php } else { ?>
198
							<?php foreach ($bibliographie['references'] as $reference) : ?>
199
								<div> - <?= $reference['reference_html']; ?> </div>
200
							<?php endforeach; ?>
201
							<?php if($bibliographie['autresReferences'] > 0) { ?>
202
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
203
									<?= $bibliographie['autresReferences'] ?>
204
									autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
205
									référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
206
								</a>
207
						<?php } } ?>
208
					<?php }?>
209
				</div>
210
			</div>
211
	</div>
525 gduche 212
 
531 gduche 213
 
214
	<div class="colonne">
215
 
216
		<!-- Illustrations -->
217
		<div id="synthese_illustrations" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
218
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-0">
219
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
525 gduche 220
			</h3>
531 gduche 221
			<span id="contenu-0" class="contenu">
222
				<?php if ($illustration['imageUrl'] != '') : ?>
223
					<img src="<?=$illustration['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"/>
224
				<?php else : ?>
225
					<span class="absent" style="float:none; margin-left:55px">
226
						Pas de photo<br />
227
						<a href="http://www.tela-botanica.org/page:cel"
228
							title="Ajouter une photographie au moyen du Carnet en Ligne"
229
							onclick="window.open(this.href); return false;" class="contribuer">
230
							Contribuer
231
						</a>
232
					</span>
233
				<?php endif; ?>
234
			</span>
525 gduche 235
		</div>
236
 
531 gduche 237
		<!-- Répartition -->
238
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
239
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
240
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
525 gduche 241
			</h3>
531 gduche 242
			<span id="contenu-3" class="contenu">
243
				<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
244
				<img src="<?=htmlentities($repartition['eflore'])?>" alt="Carte des observations" style="margin-left: 11px; width: 190px;" />
245
			</span>
525 gduche 246
		</div>
247
 
531 gduche 248
		<!-- Statut de protection -->
525 gduche 249
		<div id="synthese_statut" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
250
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-7">
251
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut">Statut de protection</a>
252
			</h3>
253
			<span id="contenu-7" class="contenu">
254
				<? if ($statut['wikini']['statuts_de_protection'] == '') {?>
255
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
256
						Participez à la rédaction collaborative des statuts de protection
257
					</a>
258
				<? } else { echo $statut['wikini']['statuts_de_protection'];?><br /><br />
259
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
260
						Compléter cette liste
261
					</a>
262
				<? } ?>
263
			</span>
264
		</div>
531 gduche 265
 
525 gduche 266
	</div>
267
	<hr class="nettoyage" />
268
</div>