/** * Add the page title and toolbar. */ protected function addToolbar() { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_SPORTSTYPES_TITLE'), 'jl-sportstypes'); JLToolBarHelper::addNew('sportstype.add'); JLToolBarHelper::editList('sportstype.edit'); JLToolBarHelper::custom('sportstype.import', 'upload', 'upload', 'COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT', false); JLToolBarHelper::archiveList('sportstype.export', 'COM_JOOMLEAGUE_GLOBAL_XML_EXPORT'); JLToolBarHelper::deleteList('', 'sportstype.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_CLUBS_TITLE'), 'jl-clubs'); JLToolBarHelper::addNew('club.add'); JLToolBarHelper::editList('club.edit'); JLToolBarHelper::custom('club.import', 'upload', 'upload', 'COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT', false); JLToolBarHelper::archiveList('club.export', 'COM_JOOMLEAGUE_GLOBAL_XML_EXPORT'); JLToolBarHelper::deleteList('', 'club.remove'); JToolBarHelper::divider(); JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. * * @since 1.7 */ protected function addToolbar() { // Set toolbar items for the page JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_SPORTSTYPES_TITLE'), 'sportstypes'); JLToolBarHelper::addNewX('sportstype.add'); JLToolBarHelper::editListX('sportstype.edit'); JLToolBarHelper::custom('sportstype.import', 'upload', 'upload', JText::_('COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT'), false); JLToolBarHelper::archiveList('sportstype.export', JText::_('COM_JOOMLEAGUE_GLOBAL_XML_EXPORT')); JLToolBarHelper::deleteList('', 'sportstype.remove'); JToolBarHelper::divider(); JLToolBarHelper::onlinehelp(); JToolBarHelper::preferences(JRequest::getCmd('option')); }
/** * Add the page title and toolbar. * * @since 1.7 */ protected function addToolbar() { // Set toolbar items for the page JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TEAMS_TITLE'), 'Teams'); JLToolBarHelper::addNew('team.add'); JLToolBarHelper::editList('team.edit'); JLToolBarHelper::custom('team.copysave', 'copy.png', 'copy_f2.png', 'COM_JOOMLEAGUE_GLOBAL_COPY', true); JLToolBarHelper::custom('team.import', 'upload', 'upload', 'COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT', false); JLToolBarHelper::archiveList('team.export', 'COM_JOOMLEAGUE_GLOBAL_XML_EXPORT'); JLToolBarHelper::deleteList('', 'team.remove'); JToolBarHelper::divider(); JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. */ protected function addToolbar() { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_STATISTICS_TITLE'), 'jl-statistics'); JLToolBarHelper::addNew('statistic.add'); JLToolBarHelper::editList('statistic.edit'); JLToolBarHelper::publishList(); JLToolBarHelper::unpublishList(); JToolBarHelper::divider(); JLToolBarHelper::custom('statistic.import', 'upload', 'upload', 'COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT', false); JLToolBarHelper::archiveList('statistic.export', 'COM_JOOMLEAGUE_GLOBAL_XML_EXPORT'); JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_STATISTICS_DELETE_WARNING'), 'statistic.fulldelete', 'COM_JOOMLEAGUE_ADMIN_STATISTICS_FULL_DELETE'); JToolBarHelper::divider(); JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. * * @since 1.7 */ protected function addToolbar() { // Set toolbar items for the page JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TEAMS_TITLE'), 'Teams'); JLToolBarHelper::addNew('team.add'); JLToolBarHelper::editList('team.edit'); JLToolBarHelper::custom('team.copysave', 'copy.png', 'copy_f2.png', JText::_('COM_JOOMLEAGUE_GLOBAL_COPY'), true); JLToolBarHelper::custom('team.import', 'upload', 'upload', JText::_('COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT'), false); JLToolBarHelper::archiveList('team.export', JText::_('COM_JOOMLEAGUE_GLOBAL_XML_EXPORT')); JLToolBarHelper::deleteList('', 'team.remove'); JToolBarHelper::divider(); JLToolBarHelper::onlinehelp(); JToolBarHelper::preferences(JRequest::getCmd('option')); }
/** * Add the page title and toolbar. */ protected function addToolbar() { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_POSITIONS_TITLE'), 'jl-Positions'); JLToolBarHelper::addNew('position.add'); JLToolBarHelper::editList('position.edit'); JLToolBarHelper::publishList('position.publish'); JLToolBarHelper::unpublishList('position.unpublish'); JToolBarHelper::divider(); JLToolBarHelper::apply('position.saveshort'); JLToolBarHelper::custom('position.import', 'upload', 'upload', JText::_('COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT'), false); JLToolBarHelper::archiveList('position.export', JText::_('COM_JOOMLEAGUE_GLOBAL_XML_EXPORT')); JLToolBarHelper::deleteList('', 'position.remove'); JToolBarHelper::divider(); JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. * * @since 1.7 */ protected function addToolbar() { // Set toolbar items for the page JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_STATISTICS_TITLE'), 'statistics'); JLToolBarHelper::publishList(); JLToolBarHelper::unpublishList(); JToolBarHelper::divider(); JLToolBarHelper::editList('statistic.edit'); JLToolBarHelper::addNew('statistic.add'); JLToolBarHelper::custom('statistic.import', 'upload', 'upload', JText::_('COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT'), false); JLToolBarHelper::archiveList('statistic.export', JText::_('COM_JOOMLEAGUE_GLOBAL_XML_EXPORT')); JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_STATISTICS_DELETE_WARNING'), 'statistic.fulldelete', JTEXT::_('COM_JOOMLEAGUE_ADMIN_STATISTICS_FULL_DELETE')); JToolBarHelper::divider(); JLToolBarHelper::onlinehelp(); JToolBarHelper::preferences(JRequest::getCmd('option')); }
/** * Add the page title and toolbar. */ protected function addToolbar() { // Set toolbar items for the page JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_SEASONS_TITLE'), '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); }
/** * Add the page title and toolbar. * * @since 1.7 */ protected function addToolbar() { // Set toolbar items for the page JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_PERSONS_TITLE'), 'user'); JLToolBarHelper::publishList('person.publish'); JLToolBarHelper::unpublishList('person.unpublish'); JToolBarHelper::divider(); JLToolBarHelper::apply('person.saveshort'); JLToolBarHelper::editList('person.edit'); JLToolBarHelper::addNew('person.add'); JLToolBarHelper::custom('person.import', 'upload', 'upload', JText::_('COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT'), false); JLToolBarHelper::archiveList('person.export', JText::_('COM_JOOMLEAGUE_GLOBAL_XML_EXPORT')); JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_PERSONS_DELETE_WARNING'), 'person.remove'); JToolBarHelper::divider(); JLToolBarHelper::onlinehelp(); JToolBarHelper::preferences(JRequest::getCmd('option')); }
/** * Add the page title and toolbar. * * @since 1.6 */ protected function addToolbar() { // Set toolbar items for the page JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_PROJECTS_TITLE'), 'ProjectSettings'); JLToolBarHelper::publishList('project.publish'); JLToolBarHelper::unpublishList('project.unpublish'); JToolBarHelper::divider(); JLToolBarHelper::addNew('project.add'); JLToolBarHelper::editList('project.edit'); JLToolBarHelper::custom('project.import', 'upload', 'upload', Jtext::_('COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT'), false); JLToolBarHelper::archiveList('project.export', JText::_('COM_JOOMLEAGUE_GLOBAL_XML_EXPORT')); JLToolBarHelper::custom('project.copy', 'copy.png', 'copy_f2.png', JText::_('COM_JOOMLEAGUE_GLOBAL_COPY'), false); JLToolBarHelper::deleteList('', 'project.remove'); JToolBarHelper::divider(); JLToolBarHelper::onlinehelp(); JToolBarHelper::preferences(JRequest::getCmd('option')); }