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