[*] BO #PSFV-94 : Added AdminStatsConfController
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10012 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -73,6 +73,7 @@ class AdminControllerCore extends Controller
|
||||
|
||||
public $tpl_form_vars = array();
|
||||
public $tpl_list_vars = array();
|
||||
public $tpl_option_vars = array();
|
||||
public $tpl_view_vars = array();
|
||||
|
||||
public $fields_value = false;
|
||||
@@ -1439,6 +1440,7 @@ class AdminControllerCore extends Controller
|
||||
$helper->override_folder = $this->tpl_folder;
|
||||
$helper->id = $this->id;
|
||||
$helper->token = $this->token;
|
||||
$helper->tpl_vars = $this->tpl_option_vars;
|
||||
$helper->shopLinkType = $this->shopLinkType;
|
||||
$helper->table = $this->table;
|
||||
$helper->currentIndex = self::$currentIndex;
|
||||
|
||||
@@ -83,6 +83,8 @@ class HelperFormCore extends Helper
|
||||
$this->tpl->assign(array(
|
||||
'submit_action' => $this->submit_action,
|
||||
'toolbar_btn' => $this->toolbar_btn,
|
||||
'show_toolbar' => $this->show_toolbar,
|
||||
'toolbar_fix' => $this->toolbar_fix,
|
||||
'title' => $this->title,
|
||||
'firstCall' => $this->first_call,
|
||||
'current' => $this->currentIndex,
|
||||
@@ -102,8 +104,6 @@ class HelperFormCore extends Helper
|
||||
'iso' => file_exists(_PS_ROOT_DIR_.'/js/tiny_mce/langs/'.$iso.'.js') ? $iso : 'en',
|
||||
'path_css' => _THEME_CSS_DIR_,
|
||||
'ad' => dirname($_SERVER["PHP_SELF"]),
|
||||
'show_toolbar' => $this->show_toolbar,
|
||||
'toolbar_fix' => $this->toolbar_fix,
|
||||
|
||||
));
|
||||
return parent::generate();
|
||||
|
||||
@@ -158,9 +158,9 @@ class HelperOptionsCore extends Helper
|
||||
'option_list' => $option_list,
|
||||
'current_id_lang' => $this->context->language->id,
|
||||
'required_fields' => isset($required_fields) ? $required_fields : false,
|
||||
'languages' => isset($languages) ? $languages : null,
|
||||
'languages' => isset($languages) ? $languages : null
|
||||
));
|
||||
return $this->tpl->fetch();
|
||||
return parent::generate();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user