Current path: home/webdevt/www/schtroumpf.fr/themes/stomp/modules/ps_customersignin/
?? Go up: /home/webdevt/www/schtroumpf.fr/themes/stomp/modules
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="_desktop_user_info">
<div class="user-info">
{if $logged}
<a
class="account dropdown-item
{if $an_width_on_mobile =='992'}
hidden-lg-up
{else}
hidden-md-up
{/if}
"
href="{$my_account_url}"
title="{l s='View my customer account' d='Shop.Theme.Customeraccount'}"
rel="nofollow"
>
<span>{$customerName|truncate:20:'...'}</span>
</a>
<div class="signin dropdown js-dropdown
{if $an_width_on_mobile =='992'}
hidden-md-down
{else}
hidden-sm-down
{/if}
">
<button data-toggle="dropdown" class="hidden-sm-down btn-unstyle" aria-haspopup="true" aria-expanded="false" aria-label="{l s='Logout dropdown' d='Shop.Theme.Global'}">
<span class="expand-more">{$customerName|truncate:20:'...'}</span>
<i class="material-icons expand-more"></i>
</button>
<ul class="dropdown-menu
" aria-labelledby="signin-label">
<li>
<a
class="logout dropdown-item"
href="{$my_account_url}"
rel="nofollow"
>
{l s='My profile' d='Shop.Theme.Actions'}
</a>
</li>
<li>
<a
class="logout dropdown-item"
href="{$logout_url}"
rel="nofollow"
>
{l s='Sign out' d='Shop.Theme.Actions'}
</a>
</li>
</ul>
</div>
{else}
<a
href="{$my_account_url}"
title="{l s='Log in to your customer account' d='Shop.Theme.Customeraccount'}"
rel="nofollow"
>
<i class="hidden-sm-down material-icons"></i>
<span class="account-login">{l s='Sign in' d='Shop.Theme.Actions'}</span>
</a>
{/if}
</div>
</div>