// added the name of controller as class in form.tpl

This commit is contained in:
lLefevre
2011-12-20 15:18:32 +00:00
parent d7f1b0121a
commit 473e8f3efb
4 changed files with 6 additions and 2 deletions
+1
View File
@@ -1535,6 +1535,7 @@ class AdminControllerCore extends Controller
$helper->currentIndex = self::$currentIndex;
$helper->className = $this->className;
$helper->table = $this->table;
$helper->name_controller = Tools::getValue('controller');
$helper->orderBy = $this->_orderBy;
$helper->orderWay = $this->_orderWay;
$helper->listTotal = $this->_listTotal;
+2
View File
@@ -37,6 +37,7 @@ class HelperFormCore extends Helper
public $fields_value = array();
public $table;
public $name_controller = '';
/** @var string if not null, a title will be added on that list */
public $title = null;
@@ -151,6 +152,7 @@ class HelperFormCore extends Helper
'current' => $this->currentIndex,
'token' => $this->token,
'table' => $this->table,
'name_controller' => $this->name_controller,
'languages' => $this->languages,
'defaultFormLanguage' => $this->default_form_language,
'allowEmployeeFormLang' => $this->allow_employee_form_lang,