function getBlockCode_Tags($iBlockID, $sContent) { bx_import('BxTemplTagsModule'); $aParam = array('type' => $this->oMain->_sPrefix, 'orderby' => 'popular'); $oTags = new BxTemplTagsModule($aParam, '', BX_DOL_URL_ROOT . $this->oConfig->getBaseUri() . 'tags'); $aResult = $oTags->getBlockCode_All($iBlockId); return $aResult[0]; }
function actionTags() { bx_import('BxTemplTagsModule'); $aParam = array('type' => $this->_oConfig->getMainPrefix(), 'orderby' => 'popular'); $oTags = new BxTemplTagsModule($aParam, _t('_' . $this->_oConfig->getMainPrefix() . '_bcaption_all'), BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri() . 'tags'); $sCode = $oTags->getCode(); $this->aPageTmpl['header'] = _t('_' . $this->_oConfig->getMainPrefix() . '_top_menu_tags'); $this->_oTemplate->pageCode($this->aPageTmpl, array('page_main_code' => $sCode)); }
/** * New implementation of Tags page * * @return html */ function GenTagsPage() { bx_import('BxTemplTagsModule'); $aParam = array('type' => 'blog', 'orderby' => 'popular'); $sLink = $this->isPermalinkEnabled() ? BX_DOL_URL_ROOT . 'blogs/' . 'tags' : BX_DOL_URL_ROOT . 'modules/boonex/blogs/blogs.php?action=tags'; $oTags = new BxTemplTagsModule($aParam, _t('_all'), $sLink); return $oTags->getCode(); }
/** * New implementation of Tags page * * @return html */ function GenTagsPage() { bx_import('BxTemplTagsModule'); $aParam = array('type' => 'ad', 'orderby' => 'popular'); $oTags = new BxTemplTagsModule($aParam, _t('_all'), BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri() . 'tags'); return $oTags->getCode(); }
function actionTags() { bx_import('BxTemplTagsModule'); $aParam = array('type' => 'bx_sites', 'orderby' => 'popular'); $oTags = new BxTemplTagsModule($aParam, '', BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri() . 'tags'); $this->_oTemplate->pageStart(); echo $oTags->getCode(); $this->_oTemplate->pageCode(_t('_bx_sites_caption_browse_tags'), false, false); }
function actionTags() { $sUri = $this->_oConfig->getUri(); $oTags = new BxTemplTagsModule(array('type' => $this->_oConfig->getTagsSystemName(), 'orderby' => 'popular'), _t('_' . $sUri . '_bcaption_all_tags'), BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri() . 'tags'); $aParams = array('index' => 1, 'css' => array('view.css'), 'title' => array('page' => _t('_' . $sUri . '_pcaption_tags')), 'content' => array('page_main_code' => $oTags->getCode())); $this->_oTemplate->getPageCode($aParams); }
function _actionTags($sTitle, $sTitleAllTags = '') { bx_import('BxTemplTagsModule'); $aParam = array('type' => $this->_sPrefix, 'orderby' => 'popular'); $oTags = new BxTemplTagsModule($aParam, $sTitleAllTags, BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri() . 'tags'); $this->_oTemplate->pageStart(); echo $oTags->getCode(); $this->_oTemplate->pageCode($sTitle, false, false); }
/** * Function will generate page with all poll's tags list * * @return : (text) - html presentation data; */ function actionTags() { $this->getCustomActionButton(); bx_import('BxTemplTagsModule'); $aParam = array('type' => 'bx_poll', 'pagination' => isset($_GET['per_page']) ? (int) $_GET['per_page'] : getParam('tags_perpage_browse')); $oTags = new BxTemplTagsModule($aParam, '', BX_DOL_URL_ROOT . $this->_oConfig->getBaseUri() . 'tags'); $sCode = $oTags->getCode(); $this->_oTemplate->defaultPage(_t('_bx_poll_tags'), $sCode); }