Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

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