コード例 #1
0
ファイル: view.html.php プロジェクト: Heart1010/JoomLeague
 /**
  * Add the page title and toolbar.
  */
 protected function addToolbar()
 {
     // Set toolbar items for the page
     JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_DIVS_TITLE'));
     JLToolBarHelper::addNewX('division.add');
     JLToolBarHelper::editListX('division.edit');
     JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_DIVISIONS_DELETE_WARNING'), 'division.remove');
     JToolBarHelper::divider();
     JToolBarHelper::help('screen.joomleague', true);
 }
コード例 #2
0
 /**
  * Add the page title and toolbar.
  *
  * @since	1.7
  */
 protected function addToolbar()
 {
     // Set toolbar items for the page
     JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_DIVS_TITLE'));
     JLToolBarHelper::addNewX('division.add');
     JLToolBarHelper::editListX('division.edit');
     JLToolBarHelper::deleteList(JText::_('COM_JOOMLEAGUE_ADMIN_DIVISIONS_DELETE_WARNING'), 'division.remove');
     JToolBarHelper::divider();
     JLToolBarHelper::onlinehelp();
     JToolBarHelper::preferences(JRequest::getCmd('option'));
 }
コード例 #3
0
ファイル: view.html.php プロジェクト: Heart1010/JoomLeague
 /**
  * Add the page title and toolbar.
  */
 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', '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);
 }
コード例 #4
0
 /**
  * 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'));
 }