registerHook('displayTop')) return false; return true; } public function hookDisplayTop($params) { $this->smarty->assign(array( 'voucherAllowed' => CartRule::isFeatureActive(), 'returnAllowed' => (int)Configuration::get('PS_ORDER_RETURN') )); return $this->display(__FILE__, $this->name.'.tpl'); } public function hookDisplayFooter($params) { return $this->display(__FILE__, 'blockmyaccount-footer.tpl'); } }