// General modification for view and edit title

This commit is contained in:
Jerome Nadaud
2013-11-12 11:06:20 +01:00
parent 44d1ed0982
commit 41196f3c5f
2 changed files with 16 additions and 13 deletions
@@ -168,17 +168,6 @@ class AdminCategoriesControllerCore extends AdminController
'desc' => $this->l('Add new category'),
'icon' => 'process-icon-new'
);
if ($this->display == 'view')
{
array_pop($this->toolbar_title);
$obj = $this->loadObject();
if (Validate::isLoadedObject($obj))
$this->toolbar_title[] = $obj->name[$this->context->employee->id_lang];
$this->page_header_toolbar_title = implode(' '.Configuration::get('PS_NAVIGATION_PIPE').' ', $this->toolbar_title);
}
}
public function initContent()