You are here

commerce-wishlist-share-wishlist.tpl.php in Commerce Wishlist 7.3

Same filename and directory in other branches
  1. 7.2 templates/commerce-wishlist-share-wishlist.tpl.php

Template file for sharing a wishlist URL.

Available variables: $account - The user account that the wishlist belongs to.

File

templates/commerce-wishlist-share-wishlist.tpl.php
View source
<?php

/**
 * @file
 * Template file for sharing a wishlist URL.
 *
 * Available variables:
 *   $account - The user account that the wishlist belongs to.
 */
?>
<div class="commerce-wishlist-share">
  <p class="commerce-wishlist-share-description">
    <?php

print t('Share your wishlist with your friends and family with the link below!');
?>
  </p>

  <p class="commerce-wishlist-share-url">
    <?php

print l(t("!user's wish list", array(
  '!user' => format_username($account),
)), url('user/' . $account->uid . '/wishlist', array(
  'absolute' => TRUE,
)));
?>
  </p>
</div>