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,11 +9,21 @@ | ||
9 | <li> | 9 | <li> |
10 | <a href="#" onClick="loadNewDoc('orga.php');">Organisation</a> | 10 | <a href="#" onClick="loadNewDoc('orga.php');">Organisation</a> |
11 | </li> | 11 | </li> |
12 | + <?php | ||
13 | + if not( (isset($_SESSION["connected"]) && $_SESSION["connected"]) ) | ||
14 | + { | ||
15 | + ?> | ||
12 | <li> | 16 | <li> |
13 | <a href="#" onClick="loadNewDoc('connect.php');">Connexion</a> | 17 | <a href="#" onClick="loadNewDoc('connect.php');">Connexion</a> |
14 | </li> | 18 | </li> |
19 | + <?php | ||
20 | + } | ||
21 | + ?> | ||
15 | <li> | 22 | <li> |
16 | - <a href="#identifiant" onClick="loadNewDoc(\'connect.php\');">Se connecter</a> | 23 | + <a href="#" onClick="loadNewDoc('???????.php;)">profil</a> |
17 | </li> | 24 | </li> |
25 | + <?php | ||
26 | + } | ||
27 | + ?> | ||
18 | </ul> | 28 | </ul> |
19 | </div> | 29 | </div> |