Commit 936494ad586bdd87c676e2b749372ac57a5653e1
1 parent
7ab7e900
Rights checked
topnavbarshould load properly connect.php
Showing
2 changed files
with
1 additions
and
1 deletions
Show diff stats
topnavbar.php
@@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
8 | if (isset($_SESSION["connected"]) && $_SESSION["connected"]) | 8 | if (isset($_SESSION["connected"]) && $_SESSION["connected"]) |
9 | echo '<p class="navbar-text navbar-right">Bienvenue, <a href="#identifiant" class="navbar-link">'.$_SESSION["name"].'</a></p>'; | 9 | echo '<p class="navbar-text navbar-right">Bienvenue, <a href="#identifiant" class="navbar-link">'.$_SESSION["name"].'</a></p>'; |
10 | else | 10 | else |
11 | - echo '<p class="navbar-text navbar-right"><a href="#identifiant" class="navbar-link">Se connecter</a></p>'; | 11 | + echo '<p class="navbar-text navbar-right"><a href="#identifiant" class="navbar-link" onClick="loadNewDoc(\'connect.php\');">Se connecter</a></p>'; |
12 | ?> | 12 | ?> |
13 | </div> | 13 | </div> |
14 | </div> | 14 | </div> |