protected function addToolbar() { JToolbarHelper::title(JText::_('COM_JOOMDLE_VIEW_COURSE_APPLICATIONS_TITLE'), 'mapping'); JToolBarHelper::back('Back', 'index.php?option=com_joomdle&view=courseapplications'); JToolBarHelper::custom('applications.approve', 'publish', 'publish', 'Approve applications', true, false); JToolBarHelper::custom('applications.reject', 'unpublish', 'unpublish', 'Reject applications', true, false); JHtmlSidebar::setAction('index.php?option=com_joomdle&view=courseapplications'); JHtmlSidebar::addFilter(JText::_('COM_JOOMDLE_STATE'), 'filter_state', JHtml::_('select.options', JoomdleHelperApplications::getStateOptions(), 'value', 'text', $this->state->get('filter.state'))); }