예제 #1
0
 protected function addToolbar()
 {
     BookproHelper::setSubmenu(1);
     JToolbarHelper::title(JText::_('COM_BOOKPRO_ROUTES_MANAGER'), 'cube');
     JToolbarHelper::addNew('route.add');
     JToolbarHelper::editList('route.edit');
     JToolbarHelper::publish('routes.publish', 'JTOOLBAR_PUBLISH', true);
     JToolbarHelper::unpublish('routes.unpublish', 'JTOOLBAR_UNPUBLISH', true);
     JToolbarHelper::deleteList('', 'routes.delete', 'JTOOLBAR_DELETE', true);
 }
예제 #2
0
 protected function addToolbar()
 {
     BookproHelper::setSubmenu(1);
     JToolbarHelper::title(JText::_('COM_BOOKPRO_TRANSPORTDAYOFFS_MANAGER'), 'cube');
 }