Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

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