Commit fafc86ff46cc47bf1727f5a8443ccc91a46a98b9
1 parent
890697b0
correction du lien connection final + ajout du test pour replacer Conexion par Profil
Showing
1 changed file
with
11 additions
and
1 deletions
Show diff stats
menu.php
... | ... | @@ -9,11 +9,21 @@ |
9 | 9 | <li> |
10 | 10 | <a href="#" onClick="loadNewDoc('orga.php');">Organisation</a> |
11 | 11 | </li> |
12 | + <?php | |
13 | + if not( (isset($_SESSION["connected"]) && $_SESSION["connected"]) ) | |
14 | + { | |
15 | + ?> | |
12 | 16 | <li> |
13 | 17 | <a href="#" onClick="loadNewDoc('connect.php');">Connexion</a> |
14 | 18 | </li> |
19 | + <?php | |
20 | + } | |
21 | + ?> | |
15 | 22 | <li> |
16 | - <a href="#identifiant" onClick="loadNewDoc(\'connect.php\');">Se connecter</a> | |
23 | + <a href="#" onClick="loadNewDoc('???????.php;)">profil</a> | |
17 | 24 | </li> |
25 | + <?php | |
26 | + } | |
27 | + ?> | |
18 | 28 | </ul> |
19 | 29 | </div> | ... | ... |