// themeconfigurator

This commit is contained in:
Rémi Gaillard committed 2013-11-05 19:07:42 +01:00
1 parent 65a41a9f7a
commit 3edaee1313
1 file changed
+17 -3
@@ -135,19 +135,33 @@ class ThemeConfigurator extends Module
{ {
return array( return array(
array( array(
'label' => $this->l('Display reinsurance block'), 'label' => $this->l('Display the reinsurance block'),
'name' => 'blockreinsurance', 'name' => 'blockreinsurance',
'desc' => '<a href="#">'.$this->l('Configure the reinsurance block').'</a>', 'desc' => '<a href="#">'.$this->l('Configure the reinsurance block').'</a>',
'value' => (int)(Validate::isLoadedObject($module = Module::getInstanceByName('blockreinsurance')) && $module->active), 'value' => (int)(Validate::isLoadedObject($module = Module::getInstanceByName('blockreinsurance')) && $module->active),
'is_module' => true, 'is_module' => true,
), ),
array( array(
'label' => $this->l('Display social block'), 'label' => $this->l('Display the social following links'),
'name' => 'blocksocial', 'name' => 'blocksocial',
'desc' => '<a href="#">'.$this->l('Configure the social block').'</a>', 'desc' => '<a href="#">'.$this->l('Configure the social following links').'</a>',
'value' => (int)(Validate::isLoadedObject($module = Module::getInstanceByName('blocksocial')) && $module->active), 'value' => (int)(Validate::isLoadedObject($module = Module::getInstanceByName('blocksocial')) && $module->active),
'is_module' => true, 'is_module' => true,
), ),
array(
'label' => $this->l('Display contact information'),
'name' => 'blockcontactinfos',
'desc' => '<a href="#">'.$this->l('Configure the contact information of your store').'</a>',
'value' => (int)(Validate::isLoadedObject($module = Module::getInstanceByName('blockcontactinfos')) && $module->active),
'is_module' => true,
),
array(
'label' => $this->l('Display social buttons on the products page'),
'name' => 'addsharethis',
'desc' => '<a href="#">'.$this->l('Configure').'</a>',
'value' => (int)(Validate::isLoadedObject($module = Module::getInstanceByName('addsharethis')) && $module->active),
'is_module' => true,
),
array( array(
'label' => $this->l('Enable Quick view'), 'label' => $this->l('Enable Quick view'),
'name' => 'quick_view', 'name' => 'quick_view',