Subversion Repositories Sites.obs-saisons.fr

Rev

Rev 37 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
31 aurelien 1
<!-- ODS_SAISIE - DEBUT MENU NAVIGATION -->
2
<div id="retour_au_site">
3
	<ul>
4
		<li>
5
			<a href="http://162.38.234.9/obs_saisons/node/13"> Retour au site </a>
6
		</li>
7
	</ul>
8
</div>
9
 
10
<div id="saisie_menu">
11
	<ul class=menu">
12
    	<li><a href="<?= aControleur::getUrlFormulaireSaisieStation() ?>"> Nouvelle station </a> </li>
13
    <?php if (isset($stations)) : ?>
14
    <?php foreach ($stations as $station) : ?>
15
        <li <?= ($station['id'] == $id_station_en_cours) ? 'class="station_en_cours"' : '' ?>>
16
        	<a href="<?= $station['url'] ?>"><?=$station['nom']?></a>
17
            <?php if (isset($station['especes']) && $station['id'] == $id_station_en_cours) : ?>
18
	            <ul>
19
	            	<li><a href="<?= aControleur::getUrlFormulaireAjoutEspece($station['id']) ?>"> Nouvelle espece </a></li>
20
	            <?php foreach (($station['especes']) as $espece) : ?>
21
	                <li <?= ($espece['id'] == $id_espece_en_cours) ? 'class="espece_en_cours"' : '' ?>>
22
	                <a href="<?= $espece['url'] ?>"><?= $espece['nom_vernaculaire']?></a></li>
23
	            <?php endforeach; ?>
24
	            </ul>
25
            <?php endif; ?>
26
        </li>
27
    <?php endforeach; ?>
28
    <?php endif; ?>
29
    </ul>
30
</div>
31
<!-- ODS_SAISIE - FIN MENU NAVIGATION -->