// Rename AdminController methods initForm() initList() etc. to renderForm() renderList()
This commit is contained in:
@@ -75,9 +75,9 @@ class AdminCmsContentControllerCore extends AdminController
|
||||
$this->adminCMS->token = $this->token;
|
||||
|
||||
if ($this->display == 'edit_category')
|
||||
$this->content .= $this->adminCMSCategories->initForm();
|
||||
$this->content .= $this->adminCMSCategories->renderForm();
|
||||
elseif ($this->display == 'edit_page')
|
||||
$this->content .= $this->adminCMS->initForm();
|
||||
$this->content .= $this->adminCMS->renderForm();
|
||||
elseif ($this->display == 'view_page'){}
|
||||
else
|
||||
{
|
||||
@@ -93,9 +93,9 @@ class AdminCmsContentControllerCore extends AdminController
|
||||
if (Tools::getValue($tab.'Orderby') && Tools::getValue($tab.'Orderway'))
|
||||
$catBarIndex = preg_replace('/&'.$tab.'Orderby=([a-z _]*)&'.$tab.'Orderway=([a-z]*)/i', '', self::$currentIndex);
|
||||
|
||||
$this->content .= $this->adminCMSCategories->initList();
|
||||
$this->content .= $this->adminCMSCategories->renderList();
|
||||
$this->adminCMS->id_cms_category = $id_cms_category;
|
||||
$this->content .= $this->adminCMS->initList();
|
||||
$this->content .= $this->adminCMS->renderList();
|
||||
$this->context->smarty->assign(array(
|
||||
'cms_breadcrumb' => getPath($catBarIndex, $id_cms_category,'','','cms'),
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user