コード例 #1
0
 function getBlockCode_FriendRequests()
 {
     global $oSysTemplate;
     bx_import('BxTemplCommunicator');
     $oCommunicator = new BxTemplCommunicator(array('member_id' => $this->iMember));
     $oSysTemplate->addCss($oCommunicator->getCss());
     $oSysTemplate->addJs($oCommunicator->getJs());
     return $oCommunicator->getBlockCode_FriendRequests(false);
 }
コード例 #2
0
 function getBlockCode_FriendsRequests()
 {
     global $oSysTemplate;
     if ($this->iProfileID != getLoggedId()) {
         return '';
     }
     bx_import('BxTemplCommunicator');
     $oCommunicator = new BxTemplCommunicator(array('member_id' => $this->iProfileID));
     $oSysTemplate->addCss($oCommunicator->getCss());
     $oSysTemplate->addJs($oCommunicator->getJs());
     return $oCommunicator->getBlockCode_FriendRequests();
 }