public function display($tpl = null) { JToolbarHelper::title(JText::_('COM_PRP') . ': ' . JText::_('COM_PRP_VIEW_RULES')); PRPHelper::addSubmenu('rules'); $this->addToolbar(); $this->sidebar = $this->addSidebar(); return parent::display($tpl); }
public function display($tpl = null) { JToolbarHelper::title(JText::_('COM_PRP') . ': ' . JText::_('COM_PRP_VIEW_DEFAULT')); PRPHelper::addSubmenu('default'); $this->addToolbar(); $this->sidebar = $this->addSidebar(); /* mod_prp_exports */ $mod = JModuleHelper::getModule('mod_prp_exports'); $this->exports = JModuleHelper::renderModule($mod); return parent::display($tpl); }
public function display($tpl = null) { $this->items = $this->get('Items'); $this->state = $this->get('State'); $this->pagination = $this->get('Pagination'); JToolbarHelper::title(JText::_('COM_PRP') . ': ' . JText::_('COM_PRP_VIEW_TABLES')); PRPHelper::addSubmenu('tables'); if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); return false; } $this->addToolbar(); $this->sidebar = $this->addSidebar(); parent::display($tpl); }
public function display($tpl = null) { $this->items = $this->get('Items'); $this->state = $this->get('State'); $this->pagination = $this->get('Pagination'); JToolbarHelper::title(JText::_('COM_PRP') . ': ' . JText::_('COM_PRP_VIEW_EXPORTS')); PRPHelper::addSubmenu('exports'); // Carregar CSS JFactory::getDocument()->addStyleSheet('/media/com_prp/css/exports.css'); if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); return false; } $this->addToolbar(); $this->sidebar = $this->addSidebar(); parent::display($tpl); }