Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

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