english/administrator/components/com_cache/views/cache/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()
	{
		$user = JFactory::getUser();
		$condition = ($this->client->name == 'site');
		JToolBarHelper::title(JText::_('COM_CACHE_CLEAR_CACHE'), 'clear.png');
		JToolBarHelper::custom('delete', 'delete.png', 'delete_f2.png', 'JTOOLBAR_DELETE', true);
		JToolBarHelper::divider();
		if (JFactory::getUser()->authorise('core.admin', 'com_cache')) {
			JToolBarHelper::preferences('com_cache');
		}
		JToolBarHelper::divider();
		JToolBarHelper::help('JHELP_SITE_MAINTENANCE_CLEAR_CACHE');
	}
protected function addToolbar ( ) { $ user = JFactory :: getUser ( ) ; $ condition = ( $ this -> client -> name == 'site' ) ; JToolBarHelper :: title ( JText :: _ ( 'COM_CACHE_CLEAR_CACHE' ) , 'clear.png' ) ; JToolBarHelper :: custom ( 'delete' , 'delete.png' , 'delete_f2.png' , 'JTOOLBAR_DELETE' , true ) ; JToolBarHelper :: divider ( ) ; if ( JFactory :: getUser ( ) -> authorise ( 'core.admin' , 'com_cache' ) ) { JToolBarHelper :: preferences ( 'com_cache' ) ; } JToolBarHelper :: divider ( ) ; JToolBarHelper :: help ( 'JHELP_SITE_MAINTENANCE_CLEAR_CACHE' ) ; }
Add the page title and toolbar.
Add the page title and toolbar .