// Toolbar modifs
This commit is contained in:
@@ -102,12 +102,12 @@ class AdminLanguagesControllerCore extends AdminController
|
||||
|
||||
public function initPageHeaderToolbar()
|
||||
{
|
||||
$this->page_header_toolbar_title = $this->l('Languages');
|
||||
$this->page_header_toolbar_btn['new_language'] = array(
|
||||
'href' => self::$currentIndex.'&addlang&token='.$this->token,
|
||||
'desc' => $this->l('Add new language'),
|
||||
'icon' => 'process-icon-new'
|
||||
);
|
||||
if (empty($this->display))
|
||||
$this->page_header_toolbar_btn['new_language'] = array(
|
||||
'href' => self::$currentIndex.'&addlang&token='.$this->token,
|
||||
'desc' => $this->l('Add new language'),
|
||||
'icon' => 'process-icon-new'
|
||||
);
|
||||
|
||||
parent::initPageHeaderToolbar();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user