function actionCategories() { bx_import('BxTemplCategoriesModule'); $aParam = array('type' => $this->_oConfig->getMainPrefix()); $oCateg = new BxTemplCategoriesModule($aParam, _t('_categ_users'), BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri() . 'categories'); $sCode = $oCateg->getCode(); $this->aPageTmpl['header'] = _t('_' . $aParam['type'] . '_top_menu_categories'); $this->_oTemplate->pageCode($this->aPageTmpl, array('page_main_code' => $sCode)); }
function actionCategories() { bx_import('BxTemplCategoriesModule'); $aParam = array('type' => 'bx_sites'); $oCateg = new BxTemplCategoriesModule($aParam, '', BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri() . 'categories'); $this->_oTemplate->pageStart(); echo $oCateg->getCode(); $this->_oTemplate->pageCode(_t('_bx_sites_caption_browse_categories'), false, false); }
function _actionCategories($sTitle) { bx_import('BxTemplCategoriesModule'); $aParam = array('type' => $this->_sPrefix); $oCateg = new BxTemplCategoriesModule($aParam, _t('_categ_users'), BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri() . 'categories'); $this->_oTemplate->pageStart(); echo $oCateg->getCode(); $this->_oTemplate->pageCode($sTitle, false, false); }
function actionCategories() { $sUri = $this->_oConfig->getUri(); $oCategories = new BxTemplCategoriesModule(array('type' => $this->_oConfig->getCategoriesSystemName()), _t('_categ_users'), BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri() . 'categories'); $aParams = array('index' => 1, 'css' => array('view.css'), 'title' => array('page' => _t('_' . $sUri . '_pcaption_categories')), 'content' => array('page_main_code' => $oCategories->getCode())); $this->_oTemplate->getPageCode($aParams); }
function actionCategories() { $this->getCustomActionButton(); bx_import('BxTemplCategoriesModule'); $aParam = array('type' => 'bx_poll'); $oCateg = new BxTemplCategoriesModule($aParam, '', BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri() . 'categories'); $sCode = $oCateg->getCode(); $this->_oTemplate->defaultPage(_t('_bx_poll_categories'), $sCode); }