Subversion Repositories Sites.obs-saisons.fr

Rev

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

Rev 37 Rev 48
Line 7... Line 7...
7
	</ul>
7
	</ul>
8
</div>
8
</div>
Line 9... Line 9...
9
 
9
 
10
<div id="saisie_menu">
10
<div id="saisie_menu">
-
 
11
	<ul class=menu">
-
 
12
		
11
	<ul class=menu">
13
    	<li class="item_menu_station station_ajout <?= ($id_station_en_cours == 'saisie') ? 'station_en_cours' : '' ?>">
-
 
14
    		<a href="<?= aControleur::getUrlFormulaireSaisieStation() ?>"> Nouvelle station </a> 
12
    	<li><a href="<?= aControleur::getUrlFormulaireSaisieStation() ?>"> Nouvelle station </a> </li>
15
    	</li>
13
    <?php if (isset($stations)) : ?>
16
    <?php if (isset($stations)) : ?>
14
    <?php foreach ($stations as $station) : ?>
17
    <?php foreach ($stations as $station) : ?>
15
        <li <?= ($station['id'] == $id_station_en_cours) ? 'class="station_en_cours"' : '' ?>>
18
        <li class="item_menu_station <?= ($station['id'] == $id_station_en_cours) ? 'station_en_cours' : '' ?>">
16
        	<a href="<?= $station['url'] ?>"><?=$station['nom']?></a>
19
        	<a href="<?= $station['url'] ?>"><?=$station['nom']?></a>
17
            <?php if (isset($station['especes']) && $station['id'] == $id_station_en_cours) : ?>
20
            <?php if (isset($station['especes']) && $station['id'] == $id_station_en_cours) : ?>
-
 
21
	            <ul>
18
	            <ul>
22
	            	<li class="item_menu_espece espece_ajout <?= ($id_espece_en_cours == 'saisie') ? 'espece_en_cours"' : '' ?>">
-
 
23
	            		<a href="<?= aControleur::getUrlFormulaireAjoutEspece($station['id']) ?>"> Nouvelle espece </a>
19
	            	<li><a href="<?= aControleur::getUrlFormulaireAjoutEspece($station['id']) ?>"> Nouvelle espece </a></li>
24
	            	</li>
20
	            <?php foreach (($station['especes']) as $espece) : ?>
25
	            <?php foreach (($station['especes']) as $espece) : ?>
21
	                <li <?= ($espece['id_espece'] == $id_espece_en_cours) ? 'class="espece_en_cours"' : '' ?>>
26
	                <li class="item_menu_espece <?= ($espece['id_espece'] == $id_espece_en_cours) ? 'espece_en_cours' : '' ?>">
22
	                <a href="<?= $espece['url'] ?>"><?= $espece['nom_vernaculaire']?></a></li>
27
	                <a href="<?= $espece['url'] ?>"><?= $espece['nom_vernaculaire']?></a></li>
23
	            <?php endforeach; ?>
28
	            <?php endforeach; ?>
24
	            </ul>
29
	            </ul>
25
            <?php endif; ?>
30
            <?php endif; ?>