Merge branch 'bootstrap' of https://github.com/PrestaShop/PrestaShop into bootstrap
This commit is contained in:
@@ -120,7 +120,13 @@ class AdminCmsContentControllerCore extends AdminController
|
||||
if (!$id_cms_category)
|
||||
$id_cms_category = 1;
|
||||
|
||||
$this->page_header_toolbar_title = 'CMS';
|
||||
$cms_category = new CMSCategory($id_cms_category);
|
||||
$this->toolbar_title[] = 'CMS';
|
||||
|
||||
if ($this->display == 'edit_category')
|
||||
$this->toolbar_title[] = sprintf($this->l('Edit: %s'), $cms_category->name[$this->context->employee->id_lang]);
|
||||
else
|
||||
$this->toolbar_title[] = $cms_category->name[$this->context->employee->id_lang];
|
||||
|
||||
if ($this->display == 'list')
|
||||
{
|
||||
@@ -143,6 +149,8 @@ class AdminCmsContentControllerCore extends AdminController
|
||||
);
|
||||
}
|
||||
|
||||
$this->page_header_toolbar_title = implode(' '.Configuration::get('PS_NAVIGATION_PIPE').' ', $this->toolbar_title);
|
||||
|
||||
if (is_array($this->page_header_toolbar_btn)
|
||||
&& $this->page_header_toolbar_btn instanceof Traversable
|
||||
|| trim($this->page_header_toolbar_title) != '')
|
||||
|
||||
Reference in New Issue
Block a user