function _getBlockCaptionCode($iBlockID, $aBlock, $aBlockCode, $bStatic = true, $sDynamicType = 'tab') { //--- Privacy for Profile page ---// $sCode = ""; if ($this->iMemberID == $this->oProfileGen->_iProfileID) { $sAlt = ""; $sCode = $GLOBALS['oSysTemplate']->parseHtmlByName('ps_page_chooser.html', array('alt' => $sAlt, 'page_name' => $this->sPageName, 'profile_id' => $this->oProfileGen->_iProfileID, 'block_id' => $iBlockID)); } //--- Privacy for Profile page ---// return $sCode . parent::_getBlockCaptionCode($iBlockID, $aBlock, $aBlockCode, $bStatic, $sDynamicType); }