// 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:
tDidierjean
2011-11-30 11:06:38 +00:00
parent 12261242e3
commit f9c4410e8d
70 changed files with 328 additions and 327 deletions
@@ -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'),
));