Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/stomp/d5/f8/f5/
?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/smarty/compile/stomp/d5/f8
<?php
/* Smarty version 4.3.1, created on 2024-01-02 04:09:14
from 'module:ps_customersigninps_customersignin.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.1',
'unifunc' => 'content_65937e5a2f8865_13590926',
'has_nocache_code' => false,
'file_dependency' =>
array (
'd5f8f570180f74d1dbdd1a1d2af0445e90a6650c' =>
array (
0 => 'module:ps_customersigninps_customersignin.tpl',
1 => 1702566467,
2 => 'module',
),
),
'includes' =>
array (
),
),false)) {
function content_65937e5a2f8865_13590926 (Smarty_Internal_Template $_smarty_tpl) {
?><!-- begin /home/webdevt/www/schtroumpf.fr/themes/stomp/modules/ps_customersignin/ps_customersignin.tpl --> <div id="_desktop_user_info">
<div class="user-info">
<?php if ($_smarty_tpl->tpl_vars['logged']->value) {?>
<a
class="account dropdown-item
<?php if ($_smarty_tpl->tpl_vars['an_width_on_mobile']->value == '992') {?>
hidden-lg-up
<?php } else { ?>
hidden-md-up
<?php }?>
"
href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['my_account_url']->value, ENT_QUOTES, 'UTF-8');?>
"
title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'View my customer account','d'=>'Shop.Theme.Customeraccount'),$_smarty_tpl ) );?>
"
rel="nofollow"
>
<span><?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'truncate' ][ 0 ], array( $_smarty_tpl->tpl_vars['customerName']->value,20,'...' )), ENT_QUOTES, 'UTF-8');?>
</span>
</a>
<div class="signin dropdown js-dropdown
<?php if ($_smarty_tpl->tpl_vars['an_width_on_mobile']->value == '992') {?>
hidden-md-down
<?php } else { ?>
hidden-sm-down
<?php }?>
">
<button data-toggle="dropdown" class="hidden-sm-down btn-unstyle" aria-haspopup="true" aria-expanded="false" aria-label="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Logout dropdown','d'=>'Shop.Theme.Global'),$_smarty_tpl ) );?>
">
<span class="expand-more"><?php echo htmlspecialchars((string) call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'truncate' ][ 0 ], array( $_smarty_tpl->tpl_vars['customerName']->value,20,'...' )), ENT_QUOTES, 'UTF-8');?>
</span>
<i class="material-icons expand-more"></i>
</button>
<ul class="dropdown-menu
" aria-labelledby="signin-label">
<li>
<a
class="logout dropdown-item"
href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['my_account_url']->value, ENT_QUOTES, 'UTF-8');?>
"
rel="nofollow"
>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'My profile','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</a>
</li>
<li>
<a
class="logout dropdown-item"
href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['logout_url']->value, ENT_QUOTES, 'UTF-8');?>
"
rel="nofollow"
>
<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sign out','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</a>
</li>
</ul>
</div>
<?php } else { ?>
<a
href="<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['my_account_url']->value, ENT_QUOTES, 'UTF-8');?>
"
title="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Log in to your customer account','d'=>'Shop.Theme.Customeraccount'),$_smarty_tpl ) );?>
"
rel="nofollow"
>
<i class="hidden-sm-down material-icons"></i>
<span class="account-login"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Sign in','d'=>'Shop.Theme.Actions'),$_smarty_tpl ) );?>
</span>
</a>
<?php }?>
</div>
</div>
<!-- end /home/webdevt/www/schtroumpf.fr/themes/stomp/modules/ps_customersignin/ps_customersignin.tpl --><?php }
}