Commit c187ba8f0b90e7eb0bfc015df3bed4d7f60cc569
1 parent
36cfae6e
Fixed name for topnavbar
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
topnavbar.php
@@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
11 | <div class="collapse navbar-collapse"> | 11 | <div class="collapse navbar-collapse"> |
12 | <?php | 12 | <?php |
13 | if (isset($_SESSION["connected"]) && $_SESSION["connected"]) | 13 | if (isset($_SESSION["connected"]) && $_SESSION["connected"]) |
14 | - echo '<p class="navbar-text navbar-right">Bienvenue, <a href="#" class="navbar-link">'.$_SESSION["name"].'</a></p>'; | 14 | + echo '<p class="navbar-text navbar-right">Bienvenue, <a href="#" class="navbar-link">'.$_SESSION["realname"].'</a></p>'; |
15 | else | 15 | else |
16 | echo '<p class="navbar-text navbar-right"><a href="#" class="navbar-link" onClick="loadNewDoc(\'connect.php\');">Se connecter</a></p>'; | 16 | echo '<p class="navbar-text navbar-right"><a href="#" class="navbar-link" onClick="loadNewDoc(\'connect.php\');">Se connecter</a></p>'; |
17 | ?> | 17 | ?> |