/** * Add the page title and toolbar. */ protected function addToolbar() { // Set toolbar items for the page if ($this->copy) { $toolbarTitle = JText::_('COM_JOOMLEAGUE_ADMIN_PROJECT_COPY_PROJECT'); } else { $toolbarTitle = !$this->edit ? JText::_('COM_JOOMLEAGUE_ADMIN_PROJECT_ADD_NEW') : JText::_('COM_JOOMLEAGUE_ADMIN_PROJECT_EDIT') . ': ' . $this->form->getValue('name'); JToolBarHelper::divider(); } JToolBarHelper::title($toolbarTitle, 'jl-ProjectSettings'); if (!$this->copy) { JLToolBarHelper::apply('project.apply'); JLToolBarHelper::save('project.save'); } else { JLToolBarHelper::save('project.copysave'); } JToolBarHelper::divider(); if (!$this->edit || $this->copy) { JLToolBarHelper::cancel('project.cancel'); } else { // for existing items the button is renamed `close` JLToolBarHelper::cancel('project.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JToolBarHelper::help('screen.joomleague', true); }
protected function addToolBar() { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TREETO_TITLE')); JLToolBarHelper::save('treeto.save'); JLToolBarHelper::apply('treeto.apply'); JToolBarHelper::back('Back', 'index.php?option=com_joomleague&view=treetos&task=treeto.display'); JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. */ protected function addToolbar() { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_P_TEAM_TITLE') . ': ' . $this->project_team->name); JLToolBarHelper::apply('projectteam.apply'); JLToolBarHelper::save('projectteam.save'); JLToolBarHelper::cancel('projectteam.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); JToolBarHelper::divider(); JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. */ protected function addToolbar() { //create the toolbar JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_SETTINGS_TITLE'), 'jl-FrontendSettings'); JLToolBarHelper::apply('settings.apply'); JLToolBarHelper::save('settings.save'); JLToolBarHelper::cancel('settings.cancel'); JToolBarHelper::spacer(); 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(); 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_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() { $edit = $this->input->get('edit', true); $text = !$edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT') . ': ' . JText::_($this->projectws->name) . ' / ' . $this->division->name; // Set toolbar items for the page JToolBarHelper::title($text); JLToolBarHelper::save('division.save'); if (!$edit) { JLToolBarHelper::cancel('division.cancel'); } else { JLToolBarHelper::apply('division.apply'); JLToolBarHelper::cancel('division.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } 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. */ protected function addToolbar() { // Set toolbar items for the page $edit = $this->input->get('edit', true); $text = !$edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT'); JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_ROUND_TITLE') . ': ' . $this->matchday->name, 'clubs', 'jl-Matchdays'); JLToolBarHelper::apply('round.apply'); JLToolBarHelper::save('round.save'); if (!$edit) { JLToolBarHelper::cancel('round.cancel'); } else { JLToolBarHelper::cancel('round.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. * * @since 1.7 */ protected function addToolbar() { JToolBarHelper::title(JText::_('Edit project depending referee data'), 'Referees'); // Set toolbar items for the page $edit = JRequest::getVar('edit', true); $text = !$edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT'); JLToolBarHelper::save('projectreferee.save'); if (!$edit) { JLToolBarHelper::cancel('projectreferee.cancel'); } else { // for existing items the button is renamed `close` and the apply button is showed JLToolBarHelper::apply('projectreferee.apply'); JLToolBarHelper::cancel('projectreferee.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JLToolBarHelper::onlinehelp(); }
/** * Add the page title and toolbar. */ protected function addToolbar() { JLToolBarHelper::save('club.save'); if (!$this->edit) { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_CLUB_ADD_NEW'), 'clubs'); JToolBarHelper::divider(); JLToolBarHelper::cancel('club.cancel'); } else { // for existing items the button is renamed `close` and the apply button is showed JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_CLUB_EDIT') . ': ' . $this->form->getValue('name'), 'clubs'); JLToolBarHelper::apply('club.apply'); JToolBarHelper::divider(); JLToolBarHelper::cancel('club.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. * * @since 1.6 */ protected function addToolbar() { // Set toolbar items for the page $edit = JRequest::getVar('edit', true); $text = !$edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT'); JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_ROUND_TITLE'), 'Matchdays'); JLToolBarHelper::save('round.save'); JLToolBarHelper::apply('round.apply'); if (!$edit) { JLToolBarHelper::cancel('round.cancel'); } else { // for existing items the button is renamed `close` JLToolBarHelper::cancel('round.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } 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_POSITIONS_TITLE'), 'Positions'); JLToolBarHelper::publishList('position.publish'); JLToolBarHelper::unpublishList('position.unpublish'); JToolBarHelper::divider(); JLToolBarHelper::apply('position.saveshort'); JLToolBarHelper::editList('position.edit'); JLToolBarHelper::addNew('position.add'); 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(); JLToolBarHelper::onlinehelp(); JToolBarHelper::preferences(JRequest::getCmd('option')); }
/** * Add the page title and toolbar. */ protected function addToolbar() { // Set toolbar items for the page $text = !$this->edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT') . ': ' . JText::_($this->form->getValue('name')); JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_STAT_TITLE') . ': <small><small>[ ' . $text . ' ]</small></small>', 'jl-statistics'); if (!$this->edit) { JLToolBarHelper::apply('statistic.apply'); JToolBarHelper::divider(); JLToolBarHelper::cancel('statistic.cancel'); } else { JLToolBarHelper::apply('statistic.apply'); JLToolBarHelper::save('statistic.save'); JToolBarHelper::divider(); JLToolBarHelper::cancel('statistic.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. * * @since 1.7 */ protected function addToolbar() { JLToolBarHelper::save('club.save'); if (!$this->edit) { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_CLUB_ADD_NEW'), 'clubs'); JToolBarHelper::divider(); JLToolBarHelper::cancel('club.cancel'); } else { // for existing items the button is renamed `close` and the apply button is showed JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_CLUB_EDIT'), 'clubs'); JLToolBarHelper::apply('club.apply'); JToolBarHelper::divider(); JLToolBarHelper::cancel('club.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JToolBarHelper::divider(); JToolBarHelper::back(); JLToolBarHelper::onlinehelp(); }
/** * Add the page title and toolbar. */ protected function addToolbar() { // Set toolbar items for the page $edit = JRequest::getVar('edit', true); $text = !$edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT') . ': ' . JText::_($this->form->getValue('name')); JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_EVENTTYPE_EVENT') . ': <small><small>[ ' . $text . ' ]</small></small>', 'events'); JLToolBarHelper::save('eventtype.save'); if (!$edit) { JToolBarHelper::divider(); JLToolBarHelper::cancel('eventtype.cancel'); } else { // for existing items the button is renamed `close` and the apply button is showed JLToolBarHelper::apply('eventtype.apply'); JToolBarHelper::divider(); JLToolBarHelper::cancel('eventtype.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. */ protected function addToolbar() { // Set toolbar items for the page $edit = $this->input->get('edit', true); $text = !$edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT'); JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_EVENTTYPE_EVENT') . ': <small><small>[ ' . $text . ' ]</small></small>', 'jl-events'); if (!$edit) { JLToolBarHelper::save('eventtype.save'); JToolBarHelper::divider(); JLToolBarHelper::cancel('eventtype.cancel'); } else { JLToolBarHelper::apply('eventtype.apply'); JLToolBarHelper::save('eventtype.save'); JToolBarHelper::divider(); JLToolBarHelper::cancel('eventtype.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. * * @since 1.7 */ protected function addToolbar() { // Set toolbar items for the page $text = !$this->edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT'); JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_STAT_TITLE') . ': <small><small>[ ' . $text . ' ]</small></small>', 'statistics.png'); if (!$this->edit) { JLToolBarHelper::apply('statistic.apply'); JToolBarHelper::divider(); JLToolBarHelper::cancel('statistic.cancel'); } else { // for existing items the button is renamed `close` and the apply button is showed JLToolBarHelper::save('statistic.save'); JLToolBarHelper::apply('statistic.apply'); JToolBarHelper::divider(); JLToolBarHelper::cancel('statistic.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JLToolBarHelper::onlinehelp(); }
/** * Add the page title and toolbar. * */ protected function addToolbar() { // Set toolbar items for the page $edit = JRequest::getVar('edit', true); JLToolBarHelper::save('template.save'); JLToolBarHelper::apply('template.apply'); if (!$edit) { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TEMPLATE_ADD_NEW')); JToolBarHelper::divider(); JLToolBarHelper::cancel('template.cancel'); } else { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TEMPLATE_EDIT') . ': ' . $this->form->getName()); JLToolBarHelper::custom('template.reset', 'restore', 'restore', 'COM_JOOMLEAGUE_GLOBAL_RESET'); JToolBarHelper::divider(); // for existing items the button is renamed `close` JLToolBarHelper::cancel('template.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. * * @since 1.7 */ protected function addToolbar() { // Set toolbar items for the page $edit = JRequest::getVar('edit', true); $text = !$edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT'); JLToolBarHelper::save('league.save'); if (!$edit) { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_LEAGUE_ADD_NEW'), 'leagues'); JToolBarHelper::divider(); JLToolBarHelper::cancel('league.cancel'); } else { // for existing items the button is renamed `close` and the apply button is showed JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_LEAGUE_EDIT'), 'leagues'); JLToolBarHelper::apply('league.apply'); JToolBarHelper::divider(); JLToolBarHelper::cancel('league.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JToolBarHelper::divider(); JLToolBarHelper::onlinehelp(); }
/** * Add the page title and toolbar. */ protected function addToolbar() { // Set toolbar items for the page $edit = $this->input->get('edit', true); $text = !$edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT'); if (!$edit) { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_SEASON_ADD_NEW'), 'jl-seasons'); JLToolBarHelper::save('season.save'); JToolBarHelper::divider(); JLToolBarHelper::cancel('season.cancel'); } else { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_SEASON_EDIT') . ': ' . $this->form->getValue('name'), 'jl-seasons'); JLToolBarHelper::apply('season.apply'); JLToolBarHelper::save('season.save'); JToolBarHelper::divider(); JLToolBarHelper::cancel('season.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JToolBarHelper::divider(); JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. */ protected function addToolbar() { // Set toolbar items for the page $edit = $this->input->get('edit', true); $text = !$edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT'); if (!$edit) { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_PLAYGROUND_ADD_NEW'), 'jl-playground'); JLToolBarHelper::save('playground.save'); JToolBarHelper::divider(); JLToolBarHelper::cancel('playground.cancel'); } else { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_PLAYGROUND_EDIT'), 'jl-playground'); JLToolBarHelper::apply('playground.apply'); JLToolBarHelper::save('playground.save'); JToolBarHelper::divider(); JLToolBarHelper::cancel('playground.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JToolBarHelper::divider(); JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. */ protected function addToolbar() { // Set toolbar items for the page $edit = $this->input->get('edit', true); $text = !$edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT'); if (!$edit) { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_SPORTSTYPE_ADD_NEW'), 'jl-sportstypes'); JLToolBarHelper::save('sportstype.save'); JToolBarHelper::divider(); JLToolBarHelper::cancel('sportstype.cancel'); } else { // for existing items the button is renamed `close` and the apply button is showed JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_SPORTSTYPE_EDIT') . ': ' . JText::_($this->form->getValue('name')), 'jl-sportstypes'); JLToolBarHelper::apply('sportstype.apply'); JLToolBarHelper::save('sportstype.save'); JToolBarHelper::divider(); JLToolBarHelper::cancel('sportstype.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE'); } JToolBarHelper::divider(); JToolBarHelper::help('screen.joomleague', true); }
/** * Add the page title and toolbar. * * @since 1.7 */ protected function addToolbar() { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_PREF_TITLE'), 'Referees'); JLToolBarHelper::apply('projectreferee.saveshort', JText::_('COM_JOOMLEAGUE_ADMIN_PREF_APPLY')); JLToolBarHelper::custom('projectreferee.assign', 'upload.png', 'upload_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_PREF_ASSIGN'), false); JLToolBarHelper::custom('projectreferee.unassign', 'cancel.png', 'cancel_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_PREF_UNASSIGN'), false); 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 $text = !$this->edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT'); JLToolBarHelper::save('person.save'); if (!$this->edit) { JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_PERSON_TITLE')); JToolBarHelper::divider(); JLToolBarHelper::cancel('person.cancel'); } else { // for existing items the button is renamed `close` and the apply button is showed JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_PERSON_TITLE2')); JLToolBarHelper::apply('person.apply'); JToolBarHelper::divider(); JLToolBarHelper::cancel('person.cancel', JText::_('COM_JOOMLEAGUE_GLOBAL_CLOSE')); } JToolBarHelper::divider(); JToolBarHelper::back(); JLToolBarHelper::onlinehelp(); }
<?php defined('_JEXEC') or die('Restricted access'); JHTML::_('behavior.tooltip'); JHTML::_('behavior.modal'); jimport('joomla.html.pane'); JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TREETONODE_TITLE')); JLToolBarHelper::save('treetonode.save'); JLToolBarHelper::apply('treetonode.apply'); JToolBarHelper::back('Back', 'index.php?option=com_joomleague&view=treetonodes&task=treetonode.display'); JLToolBarHelper::custom('treetonode.unpublishnode', 'delete.png', 'delete_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_TREETONODES_UNPUBLISH'), false); JLToolBarHelper::onlinehelp(); ?> <script> function submitbutton(pressbutton) { var form = $('adminForm'); if (pressbutton == 'cancel') { submitform(pressbutton); return; } submitform(pressbutton); return; } </script> <style type="text/css"> table.paramlist td.paramlist_key { width: 92px; text-align: left;
/** * 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.6 */ protected function addToolbar() { // Set toolbar items for the page JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_PROJECTTEAMS_TITLE')); JLToolBarHelper::deleteList('', 'projectteam.remove'); JLToolBarHelper::apply('projectteam.saveshort'); JLToolBarHelper::custom('projectteam.changeteams', 'move.png', 'move_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_PROJECTTEAMS_BUTTON_CHANGE_TEAMS'), false); JLToolBarHelper::custom('projectteam.editlist', 'upload.png', 'upload_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_PROJECTTEAMS_BUTTON_ASSIGN'), false); JLToolBarHelper::custom('projectteam.copy', 'copy', 'copy', JText::_('COM_JOOMLEAGUE_GLOBAL_COPY'), true); 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_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', 'COM_JOOMLEAGUE_GLOBAL_CSV_IMPORT', false); JLToolBarHelper::archiveList('person.export', 'COM_JOOMLEAGUE_GLOBAL_XML_EXPORT'); JLToolBarHelper::deleteList('COM_JOOMLEAGUE_ADMIN_PERSONS_DELETE_WARNING', 'person.remove'); JToolBarHelper::divider(); JToolBarHelper::help('screen.joomleague', true); }