Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Commit

Permalink
Pas de modif possible des infos utilisateur en mode démo
Browse files Browse the repository at this point in the history
  • Loading branch information
polosson committed Nov 5, 2014
1 parent f0fcb2a commit 9a57572
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modals/menuRight.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
echo "<option value='$theme'>$theme</option>";
echo '</select>
</p>';
?>

<button class="bouton" id="modifInfoUserActif" idUser="<?php echo $_SESSION['user']->getUserInfos('id'); ?>">Mes infos</button>
if ($_SESSION['user']->getUserInfos('prenom' != "Demo")) : ?>
<button class="bouton" id="modifInfoUserActif" idUser="<?php echo $_SESSION['user']->getUserInfos('id'); ?>">Mes infos</button>
<?php endif; ?>

<br />
<br />--------------------------<br />
Expand Down

0 comments on commit 9a57572

Please sign in to comment.