// 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
@@ -226,9 +226,11 @@ class BlockAdvertising extends Module
*/
public function hookRightColumn($params)
{
$this->context->smarty->assign('image', $this->context->link->protocol_content.$this->adv_img);
$this->context->smarty->assign('adv_link', $this->adv_link);
$this->context->smarty->assign('adv_title', $this->adv_title);
$this->smarty->assign(array(
'image' => $this->context->link->protocol_content.$this->adv_img,
'adv_link' => $this->adv_link,
'adv_title' => $this->adv_title,
));
return $this->display(__FILE__, 'blockadvertising.tpl');
}