[*] BO : #PI-123 - toolbar and page title refactoring

This commit is contained in:
tDidierjean
2012-04-12 08:34:38 +00:00
parent ccaf4d272e
commit 6bf7fa6908
24 changed files with 162 additions and 293 deletions
@@ -2133,7 +2133,7 @@ class AdminProductsControllerCore extends AdminController
parent::initToolbarTitle();
if ($product = $this->loadObject(true))
if ((bool)$product->id)
$this->toolbar_title .= ' ('.$product->name[$this->context->language->id].')';
$this->toolbar_title[2] = $this->toolbar_title[2].' ('.$product->name[$this->context->language->id].')';
}
/**