// Context part 27
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7812 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
35748d1b8f
commit
5d090a25b3
66 files changed
+532
-813
No files matched your search
@@ -100,15 +100,12 @@ class LiveZilla extends Module
|
||||
|
||||
private function displayBlock()
|
||||
{
|
||||
global $smarty;
|
||||
|
||||
|
||||
if ($livezilla_script = Configuration::get('LIVEZILLA_SCRIPT'))
|
||||
$smarty->assign('LIVEZILLA_SCRIPT', $livezilla_script);
|
||||
$this->context->smarty->assign('LIVEZILLA_SCRIPT', $livezilla_script);
|
||||
elseif ($livezilla_url = Configuration::get('LIVEZILLA_URL'))
|
||||
$smarty->assign('LIVEZILLA_URL', $livezilla_url);
|
||||
$this->context->smarty->assign('LIVEZILLA_URL', $livezilla_url);
|
||||
else
|
||||
$smarty->assign('LIVEZILLA_UNDEFINED', 1);
|
||||
$this->context->smarty->assign('LIVEZILLA_UNDEFINED', 1);
|
||||
return $this->display(__FILE__, 'livezilla.tpl');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user