Commit 4c122f881a0496f9d271ef0944c8221cbc612d30

Authored by Erwan Nanrocki
1 parent 01ac868c

changement de Titre en CREP et test d affichage pour le cas ou quelqu un est connecte

Showing 1 changed file with 18 additions and 21 deletions   Show diff stats
topnavbar.php
1 1 <nav class="navbar navbar-fixed-top" role="navigation">
2 2 <div class="container">
3 3 <div class="navbar-header">
4   - <a class="navbar-brand" href="#">Titre</a>
  4 + <a class="navbar-brand" href="#">CREP</a>
5 5 </div>
6   - <div class="collapse navbar-collapse">
  6 + <div class="collapse navbar-collapse">
7 7  
8 8  
9   - <?php
10   - if ( 1 == 1 )
11   - {
12   - ?>
13   - <form class="navbar-form navbar-right" role="search">
14   - <button type="submit" class="btn btn-default">Inscription</button>
15   - <button type="submit" class="btn btn-default">Connection</button>
16   - </form>
17   - <?php
18   - }
19   - else
20   - {
21   - ?>
22   - <p class="navbar-text navbar-right">Bienvenue,_
23   - <a href="#" class="navbar-link">enanrock</a>
24   - </p>
25   - <?php
26   - }
  9 + <?php
  10 + if ( 0 == 1 )
  11 + {
  12 + <form class="navbar-form navbar-right" role="search">
  13 + <button type="submit" class="btn btn-default">Inscription</button>
  14 + <button type="submit" class="btn btn-default">Connection</button>
  15 + </form>
  16 + }
  17 + else
  18 + {
  19 + <p class="navbar-text navbar-right">Bienvenue,_
  20 + <a href="#" class="navbar-link">NOM DE LA PERSONNE</a>
  21 + </p>
  22 + }
  23 + </div>
27 24 ?>
28   - </div>
  25 +
29 26 </div>
30 27 </nav>
... ...