[+] BO : now Back-office has meta-title by controller

// fix back office template, add missing override
This commit is contained in:
mMarinetti
2011-09-28 14:15:07 +00:00
parent 2f6dc0cc37
commit ef9f2d1c2f
12 changed files with 261 additions and 151 deletions
+5
View File
@@ -9,6 +9,8 @@ class AdminControllerCore extends Controller
public $content_only = false;
public $layout = 'layout.tpl';
public $meta_title = 'Administration panel';
public $template = '';
/** @var string Associated table name */
@@ -170,6 +172,9 @@ class AdminControllerCore extends Controller
{
if(!empty($this->content))
$this->context->smarty->assign('content', $this->content);
$this->context->smarty->assign('meta_title',$this->meta_title);
if (empty($this->template))
{
$class_name = get_class($this);