コード例 #1
0
ファイル: view.html.php プロジェクト: BillVGN/PortalPRP
 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);
 }
コード例 #2
0
ファイル: view.html.php プロジェクト: BillVGN/PortalPRP
 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);
 }
コード例 #3
0
ファイル: view.html.php プロジェクト: BillVGN/PortalPRP
    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);
    }
コード例 #4
0
ファイル: view.html.php プロジェクト: BillVGN/PortalPRP
    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);
    }