//remove mobile theme

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15138 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-05-09 20:57:15 +00:00
parent 0a0f47efbb
commit 4f3e19ed5f
27 changed files with 34 additions and 537 deletions
@@ -88,12 +88,6 @@ class FavoriteProducts extends Module
return $this->display(__FILE__, 'my-account.tpl');
}
public function hookDisplayMobileCustomerAccount($params)
{
$this->smarty->assign('mobile_hook', true);
return $this->hookDisplayCustomerAccount($params);
}
public function hookDisplayMyAccountBlock($params)
{
return $this->hookDisplayCustomerAccount($params);
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

@@ -24,9 +24,9 @@
* International Registered Trademark & Property of PrestaShop SA
*}
<li class="favoriteproducts">
<a href="{$link->getModuleLink('favoriteproducts', 'account')}" title="{l s='My favorite products' mod='favoriteproducts'}">
<img {if isset($mobile_hook)}src="{$module_template_dir}img/favorites.png" class="ui-li-icon ui-li-thumb"{else}src="{$module_template_dir}img/favorites.png" class="icon"{/if} alt="{l s='My favorite products' mod='favoriteproducts'}"/>
{l s='My favorite products' mod='favoriteproducts'}
<li class="favorite products">
<a href="{$link->getModuleLink('favorite products', 'account')}" title="{l s='My favorite products' mod='favorite products'}">
<img src="{$module_template_dir}img/favorites.png" class="icon" />
{l s='My favorite products' mod='favorite products'}
</a>
</li>