Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1010 Rev 1139
Line 416... Line 416...
416
		<!-- Statut de protection -->
416
		<!-- Statut de protection -->
417
		<div id="synthese_statut" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
417
		<div id="synthese_statut" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
418
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-7">
418
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-7">
419
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut">Protection</a>
419
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut">Protection</a>
420
			</h3>
420
			</h3>
421
			<div id="contenu-7" class="contenu <?= (!empty($statut['statuts'])) ? 'attention' : ''; ?>">
421
			<div id="contenu-7" class="contenu <?= (isset($statut['statuts'][0]) || isset($statut['liste_rouge'][0])) ? 'attention' : ''; ?>">
422
				<? if (!empty($statut['statuts'])) { ?>
422
				<? if (!empty($statut['statuts']) && isset($statut['statuts'][0])) { ?>
423
					<span>Attention ce taxon est protégé dans les zones suivantes : <br />
423
					Attention ce taxon est protégé dans les zones suivantes : <br />
424
					<?php foreach($statut['statuts'] as $statut_zone) : ?>	
424
					<?php foreach($statut['statuts'] as $statut_zone) : ?>	
425
						<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
425
						<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
426
							<?= $statut_zone['zone_application']; ?><br />
426
							<?= $statut_zone['zone_application']; ?><br />
427
						</a>
427
						</a>
428
					<?php endforeach; ?>
428
					<?php endforeach; ?>
-
 
429
				<? } else if ($statut['wikini']['statuts_de_protection'] != '' ) { ?>
-
 
430
					<?= $statut['wikini']['statuts_de_protection'];?>
-
 
431
				<? } ?>
-
 
432
				<? if (!empty($statut['liste_rouge']) && isset($statut['liste_rouge'][0])) { ?>
-
 
433
					Ce taxon est classé dans la liste rouge dans la catégorie : <br />
-
 
434
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
-
 
435
						<?= $statut['liste_rouge'][0][num_categorie].' - '.$statut['liste_rouge'][0][categorie]; ?><br />
429
					</span>
436
					</a>
-
 
437
				<? } ?>
430
				<? } else if ($statut['wikini']['statuts_de_protection'] == '') {?>
438
				<? if ($statut['wikini']['statuts_de_protection'] == '' && !isset($statut['statuts'][0]) && !isset($statut['liste_rouge'][0])) {?>
431
					<span class="pas_de_protection">Pas de protection connue</span>
439
					<span class="pas_de_protection">Pas de protection connue</span>
432
				<? } else { echo $statut['wikini']['statuts_de_protection']; } ?>
440
				<? }?>
-
 
441
				<br />
433
				<a href="<?=$url;?>repartition" class="lien_ouverture_onglet_parent" id="alignement-droite">
442
				<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" id="alignement-droite">
434
					Voir +/Compléter
443
					Voir +/Compléter
435
				</a>
444
				</a>
436
			</div>
445
			</div>
437
		</div>
446
		</div>
438
		
-
 
439
	</div>
447
	</div>
440
	<hr class="nettoyage" />	
448
	<hr class="nettoyage" />	
441
</div>
449
</div>