// Renaming options to fields_options

This commit is contained in:
tDidierjean
2012-03-29 16:14:14 +00:00
parent 69afa5719d
commit e0664df6f8
31 changed files with 47 additions and 48 deletions
+3 -3
View File
@@ -99,7 +99,7 @@ class AdminThemesControllerCore extends AdminController
$this->can_display_themes = (!Shop::isFeatureActive() || Shop::getContext() == Shop::CONTEXT_SHOP) ? true : false;
$this->options = array(
$this->fields_options = array(
'theme' => array(
'title' => sprintf($this->l('Select theme for shop %s'), $this->context->shop->name),
'description' => (!$this->can_display_themes) ? $this->l('You must select a shop from the above list if you want to select a theme') : '',
@@ -640,7 +640,7 @@ class AdminThemesControllerCore extends AdminController
*/
public function renderOptions()
{
if ($this->options && is_array($this->options))
if ($this->fields_options && is_array($this->fields_options))
{
$helper = new HelperOptions($this);
$this->setHelperDisplay($helper);
@@ -652,7 +652,7 @@ class AdminThemesControllerCore extends AdminController
));
$helper->id = $this->id;
$helper->tpl_vars = $this->tpl_option_vars;
$options = $helper->generateOptions($this->options);
$options = $helper->generateOptions($this->fields_options);
return $options;
}