Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ecolehetic/PHP13
Browse files Browse the repository at this point in the history
# By fcordillot
# Via fcordillot
* 'master' of https://github.com/ecolehetic/PHP13:
  ♥
  • Loading branch information
Alexandre Ferraille committed Mar 6, 2015
2 parents 220a127 + d4dc58a commit b4ba9a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/account.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<div id="account-info-wrapper">
<div id="account-info">
<img src="<?php echo !empty($SESSION['photo'])?$SESSION['photo']:''; ?>"/>
<span id="wishlist-nb"><?php echo count($wishlist).' &nbsp; <font>&#9733;</font>'; ?></span>
<span id="wishlist-nb"><?php echo count($wishlist).' &nbsp; <font>&hearts;</font>'; ?></span>
<span class="account-name">
<?php echo $SESSION['firstname']." ".$SESSION['lastname']; ?>
</span>
Expand Down
4 changes: 2 additions & 2 deletions app/views/offer.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ <h4>Réservez en ligne</h4>
</form>
<div id="wishlist">
<?php if(isset($SESSION['id'])&&!in_array($data['id'],$SESSION['wishlist'])): // CONNECTE ET PAS DANS LA LISTE?>
<a class="not-wished" data-title="Ajoutez cette offre à votre liste de souhaits" href="account/wish/<?php echo $data['id']; ?>"><span>&#9734;</span> &nbsp; Ajouter à ma wishlist</a>
<a class="not-wished" data-title="Ajoutez cette offre à votre liste de souhaits" href="account/wish/<?php echo $data['id']; ?>"><span>&hearts;</span> &nbsp; Ajouter à ma wishlist</a>
<?php elseif(!isset($SESSION['id'])): // PAS CONNECTE?>
<a class="wish-not-logged" data-title="Connectez vous pour ajouter cette offre à votre liste de souhaits" href=""><span>&#9734;</span> &nbsp; Ajouter à ma wishlist</a>
<a class="wish-not-logged" data-title="Connectez vous pour ajouter cette offre à votre liste de souhaits" href=""><span>&hearts;</span> &nbsp; Ajouter à ma wishlist</a>
<?php else: // CONNECTE ET DEJA DANS LA LISTE?>
<a class="wished" data-title="Cette offre est déjà dans votre liste de souhaits" href=""><span>&#9734;</span> &nbsp; Déjà dans votre wishlist</a>
<?php endif; ?>
Expand Down

0 comments on commit b4ba9a4

Please sign in to comment.