english/administrator/components/com_search/views/searches/view.html.php
/**
	 * Add the page title and toolbar.
	 *
	 * @since	1.6
	 */
Add the page title and toolbar.
Add the page title and toolbar .
protected function addToolbar()
	{
		$canDo	= SearchHelper::getActions();
		JToolBarHelper::title(JText::_('COM_SEARCH_MANAGER_SEARCHES'), 'search.png');
		if ($canDo->get('core.edit.state')) {
			JToolBarHelper::custom('searches.reset', 'refresh.png', 'refresh_f2.png', 'JSEARCH_RESET', false);
		}
		JToolBarHelper::divider();
		if ($canDo->get('core.admin')) {
			JToolBarHelper::preferences('com_search');
		}
		JToolBarHelper::divider();
		JToolBarHelper::help('JHELP_COMPONENTS_SEARCH');
	}
protected function addToolbar ( ) { $ canDo = SearchHelper :: getActions ( ) ; JToolBarHelper :: title ( JText :: _ ( 'COM_SEARCH_MANAGER_SEARCHES' ) , 'search.png' ) ; if ( $ canDo -> get ( 'core.edit.state' ) ) { JToolBarHelper :: custom ( 'searches.reset' , 'refresh.png' , 'refresh_f2.png' , 'JSEARCH_RESET' , false ) ; } JToolBarHelper :: divider ( ) ; if ( $ canDo -> get ( 'core.admin' ) ) { JToolBarHelper :: preferences ( 'com_search' ) ; } JToolBarHelper :: divider ( ) ; JToolBarHelper :: help ( 'JHELP_COMPONENTS_SEARCH' ) ; }
Add the page title and toolbar.
Add the page title and toolbar .