function getCommentsBlock() { require_once $this->_oConfig->getClassPath() . 'BxBlogsCmts.php'; $_oCmtsView = new BxBlogsCmts($this->_oConfig->getCommentSystemName(), $this->iViewingPostID); $sPostComm = $_oCmtsView->getExtraCss(); $sPostComm .= $_oCmtsView->getExtraJs(); $sPostComm .= !$_oCmtsView->isEnabled($this->aViewingPostInfo) ? MsgBox(_t('_bx_blog_Comments_is_disabled')) : $_oCmtsView->getCommentsFirst(); return $sPostComm; }