protected function addToolbar() { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TREETOS_TITLE'), 'Tree'); JLToolBarHelper::apply('treeto.saveshort'); JLToolBarHelper::publishList('treeto.publish'); JLToolBarHelper::unpublishList('treeto.unpublish'); JToolBarHelper::divider(); JLToolBarHelper::addNew('treeto.save'); JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_TREETOS_WARNING'), 'treeto.remove'); JToolBarHelper::divider(); JToolBarHelper::help('screen.joomleague', true); }
protected function addToolbar() { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TREETOS_TITLE'), 'Tree'); JLToolBarHelper::apply('treeto.saveshort'); JLToolBarHelper::publishList('treeto.publish'); JLToolBarHelper::unpublishList('treeto.unpublish'); JToolBarHelper::divider(); JLToolBarHelper::addNew('treeto.save'); JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_TREETOS_WARNING'), 'treeto.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_EVENTS_TITLE'), 'jl-events'); JLToolBarHelper::addNew('eventtype.add'); JLToolBarHelper::editList('eventtype.edit'); JLToolBarHelper::publishList('eventtype.publish'); JLToolBarHelper::unpublishList('eventtype.unpublish'); JToolBarHelper::divider(); JLToolBarHelper::custom('eventtype.import', 'upload', 'upload', 'COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT', false); JLToolBarHelper::archiveList('eventtype.export', 'COM_JOOMLEAGUE_GLOBAL_XML_EXPORT'); JLToolBarHelper::deleteList('', 'eventtype.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. */ protected function addToolbar() { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TSTAFFS_TITLE')); JLToolBarHelper::publishList('teamstaff.publish'); JLToolBarHelper::unpublishList('teamstaff.unpublish'); JLToolBarHelper::apply('teamstaff.saveshort', 'COM_JOOMLEAGUE_ADMIN_TSTAFFS_APPLY'); JToolBarHelper::divider(); JLToolBarHelper::custom('teamstaff.assign', 'upload.png', 'upload_f2.png', 'COM_JOOMLEAGUE_ADMIN_TSTAFFS_ASSIGN', false); JLToolBarHelper::custom('teamstaff.unassign', 'cancel.png', 'cancel_f2.png', 'COM_JOOMLEAGUE_ADMIN_TSTAFFS_UNASSIGN', false); JToolBarHelper::divider(); JToolBarHelper::back('COM_JOOMLEAGUE_ADMIN_TSTAFFS_BACK', 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display'); JToolBarHelper::divider(); JToolBarHelper::help('screen.joomleague', true); }
/** * 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. * * @since 1.7 */ protected function addToolbar() { // Set toolbar items for the page JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_EVENTS_TITLE'), 'events'); JLToolBarHelper::publishList('eventtype.publish'); JLToolBarHelper::unpublishList('eventtype.unpublish'); JToolBarHelper::divider(); JLToolBarHelper::addNew('eventtype.add'); JLToolBarHelper::editList('eventtype.edit'); JLToolBarHelper::custom('eventtype.import', 'upload', 'upload', JText::_('COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT'), false); JLToolBarHelper::archiveList('eventtype.export', JText::_('COM_JOOMLEAGUE_GLOBAL_XML_EXPORT')); JLToolBarHelper::deleteList('', 'eventtype.remove'); 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_TSTAFFS_TITLE')); JLToolBarHelper::publishList('teamstaff.publish'); JLToolBarHelper::unpublishList('teamstaff.unpublish'); JLToolBarHelper::apply('teamstaff.saveshort', JText::_('COM_JOOMLEAGUE_ADMIN_TSTAFFS_APPLY')); JToolBarHelper::divider(); JLToolBarHelper::custom('teamstaff.assign', 'upload.png', 'upload_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_TSTAFFS_ASSIGN'), false); JLToolBarHelper::custom('teamstaff.unassign', 'cancel.png', 'cancel_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_TSTAFFS_UNASSIGN'), false); JToolBarHelper::divider(); JToolBarHelper::back('COM_JOOMLEAGUE_ADMIN_TSTAFFS_BACK', 'index.php?option=com_joomleague&view=projectteams&task=projectteam.display'); JToolBarHelper::divider(); JLToolBarHelper::onlinehelp(); JToolBarHelper::preferences(JRequest::getCmd('option')); }
/** * Add the page title and toolbar. * * @since 1.7 */ protected function addToolbar() { $massadd = JRequest::getInt('massadd', 0); // Set toolbar items for the page JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_MATCHES_TITLE'), 'Matchdays'); if (!$massadd) { JLToolBarHelper::publishList('match.publish'); JLToolBarHelper::unpublishList('match.unpublish'); JToolBarHelper::divider(); JLToolBarHelper::apply('match.saveshort'); JToolBarHelper::divider(); JLToolBarHelper::custom('match.massadd', 'new.png', 'new_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_MATCHES_MASSADD_MATCHES'), false); JLToolBarHelper::addNewX('match.addmatch', JText::_('COM_JOOMLEAGUE_ADMIN_MATCHES_MASSADD_ADD_MATCH')); JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_MATCHES_MASSADD_WARNING'), 'match.remove'); JToolBarHelper::divider(); JToolBarHelper::back('JPREV', 'index.php?option=com_joomleague&view=rounds&task=round.display'); } else { JLToolBarHelper::custom('match.cancelmassadd', 'cancel.png', 'cancel_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_MATCHES_MASSADD_CANCEL_MATCHADD'), false); } 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_ROUNDS_TITLE'), 'Matchdays'); if (!$this->massadd) { //JLToolBarHelper::custom('round.roundrobin','purge.png','purge_f2.png',JText::_('COM_JOOMLEAGUE_ADMIN_ROUND_ROBIN_MASSADD_BUTTON'),false); JLToolBarHelper::publishList('round.publish'); JLToolBarHelper::unpublishList('round.unpublish'); JToolBarHelper::divider(); JLToolBarHelper::custom('round.populate', 'purge.png', 'purge_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_ROUNDS_POPULATE_BUTTON'), false); JToolBarHelper::divider(); JLToolBarHelper::apply('round.saveshort'); JToolBarHelper::divider(); JLToolBarHelper::custom('round.massadd', 'new.png', 'new_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_ROUNDS_MASSADD_BUTTON'), false); //JLToolBarHelper::addNew('round.populate','purge.png','purge_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_ROUNDS_POPULATE_BUTTON'), false); JLToolBarHelper::addNew('round.save'); JToolBarHelper::divider(); JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_ROUNDS_DELETE_WARNING'), 'round.deletematches', JText::_('COM_JOOMLEAGUE_ADMIN_ROUNDS_MASSDEL_BUTTON')); JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_ROUNDS_DELETE_WARNING'), 'round.remove'); JToolBarHelper::divider(); } else { JLToolBarHelper::custom('round.cancelmassadd', 'cancel.png', 'cancel_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_ROUNDS_MASSADD_CANCEL'), false); } 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_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')); }
/** * Add the page title and toolbar. */ protected function addToolbar() { $massadd = $this->input->getInt('massadd', 0); // Set toolbar items for the page JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_MATCHES_TITLE'), 'jl-Matchdays'); if (!$massadd) { JLToolBarHelper::addNew('match.addmatch', 'COM_JOOMLEAGUE_ADMIN_MATCHES_MASSADD_ADD_MATCH'); JLToolBarHelper::custom('match.massadd', 'new.png', 'new_f2.png', 'COM_JOOMLEAGUE_ADMIN_MATCHES_MASSADD_MATCHES', false); JLToolBarHelper::apply('match.saveshort'); JToolBarHelper::divider(); JLToolBarHelper::publishList('match.publish'); JLToolBarHelper::unpublishList('match.unpublish'); JToolBarHelper::divider(); JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_MATCHES_MASSADD_WARNING'), 'match.remove'); JToolBarHelper::divider(); JToolBarHelper::back('Back', 'index.php?option=com_joomleague&view=rounds&task=round.display'); } else { JLToolBarHelper::custom('match.cancelmassadd', 'cancel.png', 'cancel_f2.png', 'COM_JOOMLEAGUE_ADMIN_MATCHES_MASSADD_CANCEL_MATCHADD', false); } JToolBarHelper::help('screen.joomleague', true); }