예제 #1
0
 function getBlockCode_Categories($iBlockID, $sContent)
 {
     bx_import('BxTemplCategoriesModule');
     $aParam = array('type' => $this->oMain->_sPrefix);
     $oCateg = new BxTemplCategoriesModule($aParam, _t('_categ_users'), BX_DOL_URL_ROOT . $this->oConfig->getBaseUri() . 'categories');
     return $oCateg->getBlockCode_Common($iBlockId, true);
 }
예제 #2
0
 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));
 }
예제 #3
0
 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);
 }
예제 #4
0
 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);
 }
예제 #5
0
 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);
 }
예제 #6
0
 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);
 }