// Normalize + use $this->smarty instead of $this->context->smarty in modules

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11944 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-30 14:59:57 +00:00
parent 9033c9c294
commit 58433f1881
27 changed files with 87 additions and 86 deletions
+3 -3
View File
@@ -194,7 +194,7 @@ class BlockWishList extends Module
}
else
$id_wishlist = $this->context->cookie->id_wishlist;
$this->context->smarty->assign(array(
$this->smarty->assign(array(
'id_wishlist' => $id_wishlist,
'isLogged' => true,
'wishlist_products' => ($id_wishlist == false ? false : WishList::getProductByIdCustomer($id_wishlist, $this->context->customer->id, $this->context->language->id, null, true)),
@@ -202,7 +202,7 @@ class BlockWishList extends Module
'ptoken' => Tools::getToken(false)));
}
else
$this->context->smarty->assign(array('wishlist_products' => false, 'wishlists' => false));
$this->smarty->assign(array('wishlist_products' => false, 'wishlists' => false));
return ($this->display(__FILE__, 'blockwishlist.tpl'));
}
@@ -213,7 +213,7 @@ class BlockWishList extends Module
public function hookProductActions($params)
{
$this->context->smarty->assign('id_product', (int)(Tools::getValue('id_product')));
$this->smarty->assign('id_product', (int)(Tools::getValue('id_product')));
return ($this->display(__FILE__, 'blockwishlist-extra.tpl'));
}