Commit 89671bd537a2bd6b02b53e7df8c850fbff66bb2a
1 parent
ceb92bbe
correction du test V3
Showing
1 changed file
with
11 additions
and
9 deletions
Show diff stats
menu.php
@@ -9,21 +9,23 @@ | @@ -9,21 +9,23 @@ | ||
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 | 12 | + <?php |
13 | if (!(isset($_SESSION["connected"]) && $_SESSION["connected"])) | 13 | if (!(isset($_SESSION["connected"]) && $_SESSION["connected"])) |
14 | { | 14 | { |
15 | - ?> | ||
16 | - <li> | ||
17 | - <a href="#" onClick="loadNewDoc('connect.php');">Connexion</a> | ||
18 | - </li> | ||
19 | - <?php | 15 | + ?> |
16 | + <li> | ||
17 | + <a href="#" onClick="loadNewDoc('connect.php');">Connexion</a> | ||
18 | + </li> | ||
19 | + <?php | ||
20 | } | 20 | } |
21 | - ?> | 21 | + else |
22 | + { | ||
23 | + ?> | ||
22 | <li> | 24 | <li> |
23 | <a href="#" onClick="loadNewDoc('???????.php;)">Profil</a> | 25 | <a href="#" onClick="loadNewDoc('???????.php;)">Profil</a> |
24 | </li> | 26 | </li> |
25 | - <?php | 27 | + <?php |
26 | } | 28 | } |
27 | - ?> | 29 | + ?> |
28 | </ul> | 30 | </ul> |
29 | </div> | 31 | </div> |