english/administrator/components/com_checkin/views/checkin/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()
	{
		JToolBarHelper::title(JText::_('COM_CHECKIN_GLOBAL_CHECK_IN'), 'checkin.png');
		if (JFactory::getUser()->authorise('core.admin', 'com_checkin')) {
			JToolBarHelper::custom('checkin', 'checkin.png', 'checkin_f2.png', 'JTOOLBAR_CHECKIN', true);
			JToolBarHelper::divider();
			JToolBarHelper::preferences('com_checkin');
			JToolBarHelper::divider();
		}
		JToolBarHelper::help('JHELP_SITE_MAINTENANCE_GLOBAL_CHECK-IN');
	}
protected function addToolbar ( ) { JToolBarHelper :: title ( JText :: _ ( 'COM_CHECKIN_GLOBAL_CHECK_IN' ) , 'checkin.png' ) ; if ( JFactory :: getUser ( ) -> authorise ( 'core.admin' , 'com_checkin' ) ) { JToolBarHelper :: custom ( 'checkin' , 'checkin.png' , 'checkin_f2.png' , 'JTOOLBAR_CHECKIN' , true ) ; JToolBarHelper :: divider ( ) ; JToolBarHelper :: preferences ( 'com_checkin' ) ; JToolBarHelper :: divider ( ) ; } JToolBarHelper :: help ( 'JHELP_SITE_MAINTENANCE_GLOBAL_CHECK-IN' ) ; }
Add the page title and toolbar.
Add the page title and toolbar .