/** * Add the page title and toolbar. */ protected function addToolbar() { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_SEASONS_TITLE'), 'jl-seasons'); JLToolBarHelper::addNew('season.add'); JLToolBarHelper::editList('season.edit'); JToolBarHelper::divider(); JLToolBarHelper::publishList('season.publish'); JLToolBarHelper::unpublishList('season.unpublish'); JToolBarHelper::divider(); JLToolBarHelper::custom('season.import', 'upload', 'upload', 'COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT', false); JLToolBarHelper::archiveList('season.export', 'COM_JOOMLEAGUE_GLOBAL_XML_EXPORT'); JToolBarHelper::divider(); JLToolBarHelper::archiveList('season.archive'); JLToolBarHelper::trash('season.trash'); JLToolBarHelper::deleteList('', 'season.remove'); JToolBarHelper::divider(); JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. */ protected function addToolbar() { // Set toolbar items for the page JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_PROJECTS_TITLE'), 'jl-ProjectSettings'); JLToolBarHelper::addNew('project.add'); JLToolBarHelper::custom('project.copy', 'copy.png', 'copy_f2.png', 'COM_JOOMLEAGUE_GLOBAL_COPY', false); JLToolBarHelper::editList('project.edit'); JToolBarHelper::divider(); JLToolBarHelper::publishList('project.publish'); JLToolBarHelper::unpublishList('project.unpublish'); JToolBarHelper::divider(); JLToolBarHelper::custom('project.import', 'upload', 'upload', 'COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT', false); JLToolBarHelper::archiveList('project.export', 'COM_JOOMLEAGUE_GLOBAL_XML_EXPORT'); JToolBarHelper::divider(); JLToolBarHelper::archiveList('project.archive'); JLToolBarHelper::trash('project.trash'); JLToolBarHelper::deleteList('COM_JOOMLEAGUE_ADMIN_PROJECTS_DELETE_WARNING', 'project.remove'); JToolBarHelper::divider(); JToolBarHelper::help('screen.joomleague', true); }