Commit 936494ad586bdd87c676e2b749372ac57a5653e1

Authored by Jean Wasilewski
1 parent 7ab7e900

Rights checked

topnavbarshould load properly connect.php
Showing 2 changed files with 1 additions and 1 deletions   Show diff stats
js/crep.js 100755 → 100644
topnavbar.php
... ... @@ -8,7 +8,7 @@
8 8 if (isset($_SESSION["connected"]) && $_SESSION["connected"])
9 9 echo '<p class="navbar-text navbar-right">Bienvenue, <a href="#identifiant" class="navbar-link">'.$_SESSION["name"].'</a></p>';
10 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 13 </div>
14 14 </div>
... ...