Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1482 Rev 1502
Line 1... Line 1...
1
<!-- Fichier intermédiaire -->
1
<!-- Fichier intermédiaire -->
2
<!-- Variables js commune injectée dans fiche_entete.tpl.tml -->
2
<!-- Variables js commune injectée dans fiche_entete.tpl.tml -->
3
<? $url = htmlentities('?referentiel='.Registre::get('parametres.referentiel').'&niveau='.Registre::get('parametres.niveau').'&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=');?>
3
<? $url = htmlentities($urlBase . '?referentiel='.Registre::get('parametres.referentiel').'&niveau='.Registre::get('parametres.niveau').'&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=');?>
4
<div class="synthese onglet_contenu" id="synthese">
4
<div class="synthese onglet_contenu" id="synthese">
5
	<div class="colonne deuxtiers">
5
	<div class="colonne deuxtiers">
Line 6... Line 6...
6
	
6
	
7
		<!-- Description -->
7
		<!-- Description -->
Line 142... Line 142...
142
						<?=$description['description']?>
142
						<?=$description['description']?>
Line 143... Line 143...
143
						
143
						
Line 144... Line 144...
144
					<? endif;?>
144
					<? endif;?>
145
				
145
				
146
				<? endif;?><br />
146
				<? endif;?><br />
147
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" id="alignement-droite">
147
				<a href="<?=$url;?>description" id="alignement-droite">
148
					Voir +/Compléter
148
					Voir +/Compléter
149
				</a>
149
				</a>
Line 157... Line 157...
157
			</h3>
157
			</h3>
158
			<div id="contenu-8" class="contenu">
158
			<div id="contenu-8" class="contenu">
159
				<h4><?= $ecologie['graph']['titre'] ?></h4>
159
				<h4><?= $ecologie['graph']['titre'] ?></h4>
160
				<? if (empty($ecologie['graph']['description'])) : ?>
160
				<? if (empty($ecologie['graph']['description'])) : ?>
161
					<? if ($ecologie['graph']['wikini']['ecologie'] == '') :?>
161
					<? if ($ecologie['graph']['wikini']['ecologie'] == '') :?>
162
						<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
162
						<a href="<?=$url;?>statut" >
163
							Rajouter vos informations.
163
							Rajouter vos informations.
164
						</a>
164
						</a>
165
					<? else : echo $ecologie['graph']['wikini']['ecologie'];?>
165
					<? else : echo $ecologie['graph']['wikini']['ecologie'];?>
166
					<? endif; ?>
166
					<? endif; ?>
167
				<? else : ?>
167
				<? else : ?>
Line 180... Line 180...
180
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['sol_url']?>" 
180
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['sol_url']?>" 
181
									class="svg" alt="<?=$ecologie['graph']['description']['sol_url_png']?>" >   
181
									class="svg" alt="<?=$ecologie['graph']['description']['sol_url_png']?>" >   
182
								</object>
182
								</object>
183
							</div>
183
							</div>
184
						<? endif;?>
184
						<? endif;?>
185
						<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
185
						<a href="<?=$url;?>ecologie">
186
							Voir les références
186
							Voir les références
187
						</a>
187
						</a>
188
					</div>
188
					</div>
189
				<? endif; ?>
189
				<? endif; ?>
190
				<? if (!empty($ecologie['phytosocio']['description'])) : ?>
190
				<? if (!empty($ecologie['phytosocio']['description'])) : ?>
Line 197... Line 197...
197
					<span class="italique">
197
					<span class="italique">
198
						<?=$ecologie['phytosocio']['description'][0]['physio_biotype']?>
198
						<?=$ecologie['phytosocio']['description'][0]['physio_biotype']?>
199
					</span> 
199
					</span> 
200
				<? endif; ?>
200
				<? endif; ?>
201
				<br/>
201
				<br/>
202
				<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" id="alignement-droite">
202
				<a href="<?=$url;?>ecologie" id="alignement-droite">
203
					Voir +/Compléter
203
					Voir +/Compléter
204
				</a>
204
				</a>
205
			</div>
205
			</div>
206
		</div>
206
		</div>
Line 241... Line 241...
241
						<div class="nomenclature_synonyme nom<?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci_complet']) ? ' surlignage' : '' ?>">
241
						<div class="nomenclature_synonyme nom<?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci_complet']) ? ' surlignage' : '' ?>">
242
							<?= $synonyme['nom_sci_complet']; ?>
242
							<?= $synonyme['nom_sci_complet']; ?>
243
						</div>
243
						</div>
244
					<?php endforeach; ?>
244
					<?php endforeach; ?>
245
					<?php if($nomenclature['autresSynonymesNbre'] > 0) { ?>
245
					<?php if($nomenclature['autresSynonymesNbre'] > 0) { ?>
246
						<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
246
						<a href="<?=$url;?>nomenclature" style="float:right;" >et 
247
							<?= $nomenclature['autresSynonymesNbre'] ?>
247
							<?= $nomenclature['autresSynonymesNbre'] ?>
248
							autre<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
248
							autre<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
249
							synonyme<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
249
							synonyme<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
250
						</a>
250
						</a>
251
				<?php }} ?>
251
				<?php }} ?>
Line 260... Line 260...
260
					<?php endforeach; ?>
260
					<?php endforeach; ?>
261
				<?php } else { ?>	
261
				<?php } else { ?>	
262
					<div>Aucun taxon inférieur référencé </div>
262
					<div>Aucun taxon inférieur référencé </div>
263
				<?php } ?>
263
				<?php } ?>
264
				<br/>
264
				<br/>
265
				<a href="<?=$url;?>nomenclature" class="lien_ouverture_onglet_parent" id="alignement-droite">
265
				<a href="<?=$url;?>nomenclature" id="alignement-droite">
266
					Voir +/Compléter
266
					Voir +/Compléter
267
				</a>
267
				</a>
268
			</div>
268
			</div>
269
		</div>
269
		</div>
Line 275... Line 275...
275
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie"><?=$i18n["onglet-nom-biblio"]?></a>
275
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie"><?=$i18n["onglet-nom-biblio"]?></a>
276
			</h3>
276
			</h3>
277
			<div id="contenu-2" class="contenu">
277
			<div id="contenu-2" class="contenu">
278
				<?php if (isset($bibliographie['wikini'])) { ?>
278
				<?php if (isset($bibliographie['wikini'])) { ?>
279
					<?= ($bibliographie['wikini']['biblio'] == '') ? 
279
					<?= ($bibliographie['wikini']['biblio'] == '') ? 
280
						'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
280
						'<a href="'.$url.'description" >
281
							Rajouter vos données.</a>'
281
							Rajouter vos données.</a>'
282
					: $bibliographie['wikini']['biblio'].
282
					: $bibliographie['wikini']['biblio'].
283
						'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
283
						'<br /><br /><a href="'.$url.'description" >
284
						Compléter cette  bibliographie</a>'; ?>
284
						Compléter cette  bibliographie</a>'; ?>
285
				<?php } else { ?>
285
				<?php } else { ?>
286
					<h4>Références</h4>
286
					<h4>Références</h4>
287
					<?php if ($bibliographie['references'] == array()) { ?>
287
					<?php if ($bibliographie['references'] == array()) { ?>
288
						Aucune référence bibliographique
288
						Aucune référence bibliographique
289
					<?php } else { ?>
289
					<?php } else { ?>
290
						<?php foreach ($bibliographie['references'] as $reference) : ?>
290
						<?php foreach ($bibliographie['references'] as $reference) : ?>
291
							<div> - <?= $reference['reference_html']; ?> </div>
291
							<div> - <?= $reference['reference_html']; ?> </div>
292
						<?php endforeach; ?>
292
						<?php endforeach; ?>
293
						<?php if($bibliographie['autresReferences'] > 0) { ?>
293
						<?php if($bibliographie['autresReferences'] > 0) { ?>
294
							<a href="<?=$url;?>nomenclature" class="lien_ouverture_onglet_parent" id="alignement-droite">
294
							<a href="<?=$url;?>nomenclature" id="alignement-droite">
295
								et <?= $bibliographie['autresReferences'] ?>
295
								et <?= $bibliographie['autresReferences'] ?>
296
								autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
296
								autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
297
								référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
297
								référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
298
							</a>
298
							</a>
299
					<?php } } ?>
299
					<?php } } ?>
300
				<?php }?>
300
				<?php }?>
301
				<hr class="nettoyage" />
301
				<hr class="nettoyage" />
302
				<a href="<?=$url;?>bibliographie" class="lien_ouverture_onglet_parent" id="alignement-droite">
302
				<a href="<?=$url;?>bibliographie" id="alignement-droite">
303
					Voir +/Compléter
303
					Voir +/Compléter
304
				</a>
304
				</a>
305
			</div>
305
			</div>
306
		</div>
306
		</div>
Line 326... Line 326...
326
							Contribuer
326
							Contribuer
327
						</a>
327
						</a>
328
					</span>
328
					</span>
329
				<?php endif; ?>
329
				<?php endif; ?>
330
				<br/>
330
				<br/>
331
				<a href="<?=$url;?>illustrations" class="lien_ouverture_onglet_parent" id="alignement-droite">
331
				<a href="<?=$url;?>illustrations" id="alignement-droite">
332
					Voir +/Compléter
332
					Voir +/Compléter
333
				</a>
333
				</a>
334
			</div>
334
			</div>
335
		</div>
335
		</div>
Line 338... Line 338...
338
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
338
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
339
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
339
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
340
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition"><?=$i18n["onglet-nom-repart"]?></a>
340
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition"><?=$i18n["onglet-nom-repart"]?></a>
341
			</h3>
341
			</h3>
342
			<div id="contenu-3" class="contenu">
342
			<div id="contenu-3" class="contenu">
343
			  	<? if ($referentiel != "bdtxa" && $repartition['eflore'] != null) : ?>
343
				<? if ($referentiel != "bdtxa" && $repartition['eflore'] != null) : ?>
344
			  		<h4>Observations</h4>
344
					<h4>Observations</h4>
-
 
345
					<a href="<?=$url;?>repartition">
345
			  		<img src="<?=htmlentities($repartition['eflore'])?>" alt="<?= $infos['nom_sci'] ?> - carte des observations" style="margin-left: 11px; width: 190px;" />
346
						<img src="<?=htmlentities($repartition['eflore'])?>" alt="<?= $infos['nom_sci'] ?> - carte des observations" style="margin-left: 11px; width: 190px;" />
-
 
347
					</a>
346
			  	<? endif; ?>
348
				<? endif; ?>
347
			  	<? if ($repartition['chorodep'] != null) : ?>
349
				<? if ($repartition['chorodep'] != null) : ?>
348
					<h4>Répartition départementale</h4>
350
					<h4>Répartition départementale</h4>
-
 
351
					<a href="<?=$url;?>repartition" id="alignement-droite">
349
					<img src="<?=htmlentities($repartition['chorodep'])?>" alt="<?= $infos['nom_sci'] ?> - carte de répartition"/>
352
						<img src="<?=htmlentities($repartition['chorodep'])?>" alt="<?= $infos['nom_sci'] ?> - carte de répartition"/>
-
 
353
					</a>
350
			  	<? endif; ?>
354
				<? endif; ?>
351
			  	<br/>
355
				<br/>
352
				<a href="<?=$url;?>repartition" class="lien_ouverture_onglet_parent" id="alignement-droite">
356
				<a href="<?=$url;?>repartition" id="alignement-droite">
353
					Voir +/Compléter
357
					Voir +/Compléter
354
				</a>
358
				</a>
355
			</div>
359
			</div>
356
		</div>
360
		</div>
Line 366... Line 370...
366
					Dans les zones suivantes, ce taxon est soumis à :
370
					Dans les zones suivantes, ce taxon est soumis à :
367
					<ul>
371
					<ul>
368
					<?php foreach($statut['statuts'] as $id=>$type_statut) : ?>
372
					<?php foreach($statut['statuts'] as $id=>$type_statut) : ?>
369
						<li><?= $id;?> :<ul>
373
						<li><?= $id;?> :<ul>
370
						<?php foreach($type_statut as $statut_zone) : ?>	
374
						<?php foreach($type_statut as $statut_zone) : ?>	
371
							<li><a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
375
							<li><a href="<?=$url;?>statut" >
372
								<?= $statut_zone ?><br />
376
								<?= $statut_zone ?><br />
373
							</a></li>
377
							</a></li>
374
						<?php endforeach; ?></ul></li>
378
						<?php endforeach; ?></ul></li>
375
					<?php endforeach; ?></ul>
379
					<?php endforeach; ?></ul>
376
				<? } else if ($statut['wikini']['statuts_de_protection'] != '' ) { ?>
380
				<? } else if ($statut['wikini']['statuts_de_protection'] != '' ) { ?>
377
					<?= $statut['wikini']['statuts_de_protection'];?>
381
					<?= $statut['wikini']['statuts_de_protection'];?>
378
				<? } ?>
382
				<? } ?>
379
				</div><div class="contenu <?= isset($statut['liste_rouge'][0]) ? 'attention' : ''; ?>">
383
				</div><div class="contenu <?= isset($statut['liste_rouge'][0]) ? 'attention' : ''; ?>">
380
				<? if (!empty($statut['liste_rouge']) && isset($statut['liste_rouge'][0])) { ?>
384
				<? if (!empty($statut['liste_rouge']) && isset($statut['liste_rouge'][0])) { ?>
381
					<div class="gras">Ce taxon est classé dans la liste rouge dans la catégorie : <br /></div>
385
					<div class="gras">Ce taxon est classé dans la liste rouge dans la catégorie : <br /></div>
382
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
386
					<a href="<?=$url;?>statut" >
383
						<?= $statut['liste_rouge'][0]['num_categorie'].' - '.$statut['liste_rouge'][0]['categorie']; ?><br />
387
						<?= $statut['liste_rouge'][0]['num_categorie'].' - '.$statut['liste_rouge'][0]['categorie']; ?><br />
384
					</a>
388
					</a>
385
				<? } ?>
389
				<? } ?>
386
				<? if ($statut['wikini']['statuts_de_protection'] == '' && !isset($statut['statuts'][0]) && !isset($statut['liste_rouge'][0])) {?>
390
				<? if ($statut['wikini']['statuts_de_protection'] == '' && !isset($statut['statuts'][0]) && !isset($statut['liste_rouge'][0])) {?>
387
					<span class="pas_de_protection">Pas de protection connue</span>
391
					<span class="pas_de_protection">Pas de protection connue</span>
388
				<? }?>
392
				<? }?>
389
				<br />
393
				<br />
390
				<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" id="alignement-droite">
394
				<a href="<?=$url;?>statut" id="alignement-droite">
391
					Voir +/Compléter
395
					Voir +/Compléter
392
				</a>
396
				</a>
393
				</div>
397
				</div>
394
			</div>
398
			</div>
395
		</div>	
399
		</div>	
Line 402... Line 406...
402
			<div id="contenu-4" class="contenu">
406
			<div id="contenu-4" class="contenu">
403
				<h4>Noms communs</h4>
407
				<h4>Noms communs</h4>
404
				<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
408
				<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
405
					Aucun nom vernaculaire<br /><br />
409
					Aucun nom vernaculaire<br /><br />
406
					<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
410
					<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
407
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
411
					<a href="<?=$url;?>ethnobotanique" >
408
						Rajouter vos informations.
412
						Rajouter vos informations.
409
					</a>
413
					</a>
410
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];} ?>
414
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];} ?>
411
				<?php } else { ?>
415
				<?php } else { ?>
412
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
416
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
413
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
417
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
414
					<?php endforeach; ?>
418
					<?php endforeach; ?>
415
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
419
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
416
						<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" id="alignement-droite">
420
						<a href="<?=$url;?>ethnobotanique" id="alignement-droite">
417
							et <?= $ethnobotanique['autresNomsVerna'] ?>
421
							et <?= $ethnobotanique['autresNomsVerna'] ?>
418
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
422
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
419
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
423
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
420
						</a><br />
424
						</a><br />
421
					<?php }?>
425
					<?php }?>
422
				<?php }?>
426
				<?php }?>
423
				<h4>Usages</h4>
427
				<h4>Usages</h4>
424
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
428
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
425
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
429
					<a href="<?=$url;?>ethnobotanique" >
426
						Rajouter vos informations.
430
						Rajouter vos informations.
427
					</a>
431
					</a>
428
				<? } else { echo $ethnobotanique['wikini']['usage']; } ?>
432
				<? } else { echo $ethnobotanique['wikini']['usage']; } ?>
429
				<h4>Culture et arts</h4>
433
				<h4>Culture et arts</h4>
430
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
434
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
431
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
435
					<a href="<?=$url;?>ethnobotanique" >
432
						Rajouter vos informations.
436
						Rajouter vos informations.
433
					</a>
437
					</a>
434
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts']; } ?>
438
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts']; } ?>
435
				<br />
439
				<br />
436
				<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" id="alignement-droite">
440
				<a href="<?=$url;?>ethnobotanique" id="alignement-droite">
437
					Voir +/Compléter
441
					Voir +/Compléter
438
				</a>
442
				</a>
439
			</div>
443
			</div>
440
		</div>
444
		</div>