Пример #1
0
 protected function processAlertSystemPageOutput(&$oAlert)
 {
     if ($oAlert->aExtras['page_name'] != 'join') {
         return;
     }
     if (!$this->_oModule->_oConfig->isDisableFreeJoin()) {
         return;
     }
     bx_import('PageJoin', $this->_oModule->_aModule);
     $oPage = new BxMbpPageJoin($this->_oModule);
     $oAlert->aExtras['page_code'] = $oPage->getCode();
 }
Пример #2
0
 function actionJoin()
 {
     bx_import('PageJoin', $this->_aModule);
     $oPage = new BxMbpPageJoin($this);
     $aParams = array('index' => 1, 'css' => array('explanation.css'), 'title' => array('page' => _t('_membership_pcaption_join')), 'content' => array('page_main_code' => $oPage->getCode()));
     $this->_oTemplate->getPageCode($aParams);
 }