// Rename AdminController methods initForm() initList() etc. to renderForm() renderList()
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10799 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -219,7 +219,7 @@ class AdminModulesPositionsControllerCore extends AdminController
|
||||
if (array_key_exists('addToHook', $_GET) OR array_key_exists('editGraft', $_GET) OR (Tools::isSubmit('submitAddToHook') AND $this->_errors))
|
||||
{
|
||||
$this->display = 'edit';
|
||||
$this->content .= $this->initForm();
|
||||
$this->content .= $this->renderForm();
|
||||
}
|
||||
else
|
||||
$this->content .= $this->initMain();
|
||||
@@ -287,7 +287,7 @@ class AdminModulesPositionsControllerCore extends AdminController
|
||||
return $this->context->smarty->fetch('modules_positions/list_modules.tpl');
|
||||
}
|
||||
|
||||
public function initForm()
|
||||
public function renderForm()
|
||||
{
|
||||
// Init toolbar
|
||||
$this->initToolbarTitle();
|
||||
|
||||
Reference in New Issue
Block a user