english/administrator/components/com_installer/views/manage/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	= InstallerHelper::getActions();
		if ($canDo->get('core.edit.state')) {
			JToolBarHelper::publish('manage.publish', 'JTOOLBAR_ENABLE', true);
			JToolBarHelper::unpublish('manage.unpublish', 'JTOOLBAR_DISABLE', true);
			JToolBarHelper::divider();
		}
		JToolBarHelper::custom('manage.refresh', 'refresh', 'refresh', 'JTOOLBAR_REFRESH_CACHE',true);
		JToolBarHelper::divider();
		if ($canDo->get('core.delete')) {
			JToolBarHelper::deleteList('', 'manage.remove', 'JTOOLBAR_UNINSTALL');
			JToolBarHelper::divider();
		}
		parent::addToolbar();
		JToolBarHelper::help('JHELP_EXTENSIONS_EXTENSION_MANAGER_MANAGE');
	}
protected function addToolbar ( ) { $ canDo = InstallerHelper :: getActions ( ) ; if ( $ canDo -> get ( 'core.edit.state' ) ) { JToolBarHelper :: publish ( 'manage.publish' , 'JTOOLBAR_ENABLE' , true ) ; JToolBarHelper :: unpublish ( 'manage.unpublish' , 'JTOOLBAR_DISABLE' , true ) ; JToolBarHelper :: divider ( ) ; } JToolBarHelper :: custom ( 'manage.refresh' , 'refresh' , 'refresh' , 'JTOOLBAR_REFRESH_CACHE' , true ) ; JToolBarHelper :: divider ( ) ; if ( $ canDo -> get ( 'core.delete' ) ) { JToolBarHelper :: deleteList ( '' , 'manage.remove' , 'JTOOLBAR_UNINSTALL' ) ; JToolBarHelper :: divider ( ) ; } parent :: addToolbar ( ) ; JToolBarHelper :: help ( 'JHELP_EXTENSIONS_EXTENSION_MANAGER_MANAGE' ) ; }
Add the page title and toolbar.
Add the page title and toolbar .