Bladeren bron

login/logout et gravatar

master
heuzef 10 jaren geleden
bovenliggende
commit
adeaa3863b
1 gewijzigde bestanden met toevoegingen van 4 en 3 verwijderingen
  1. +4
    -3
      index.php

+ 4
- 3
index.php Bestand weergeven

@@ -63,10 +63,11 @@ $message[6]='
</ul>
<ul class="nav navbar-nav navbar-right">
<?php if($status != 0): ?>
<li><?php echo '<img class="img-circle" src="http://gravatar.com/avatar/'.$hash.'?s=50" alt="gravatar" />'; ?>&nbsp;&nbsp;<strong><?php echo strtoupper($pseudo); ?></strong></li>
<li><a href="logout.php"><i class="glyphicon glyphicon-off"></i>&nbsp;&nbsp;DECONNEXION</a></li>
<a href="http://fr.gravatar.com" target="_blank"><?php echo '<img class="img-circle" src="http://gravatar.com/avatar/'.$hash.'?s=50" alt="gravatar" />'; ?></a>&nbsp;&nbsp;<strong><?php echo strtoupper($pseudo); ?></strong>
&nbsp;&nbsp;
<a href="logout.php" class="btn btn-danger btn-xs"><i class="glyphicon glyphicon-off"></i></a>&nbsp;&nbsp;
<?php elseif($status == 0): ?>
<li><a data-toggle="modal" data-target="#modal_login"><i class="glyphicon glyphicon-log-in"></i>&nbsp;&nbsp;CONNEXION</a></li>
<a class="btn btn-info btn-xs" data-toggle="modal" data-target="#modal_login"><i class="glyphicon glyphicon-off"></i>&nbsp;&nbsp;CONNEXION</a>
<?php endif; ?>
</ul>
</div>


Laden…
Annuleren
Opslaan