コード例 #1
0
ファイル: join.php プロジェクト: Jobava/narro
 protected function Form_Create()
 {
     parent::Form_Create();
     $this->pnlBreadcrumb->setElements(NarroLink::ProjectList(t('Projects')), NarroLink::UserList('', t('Users')), t('Register'));
     $this->pnlTab = new QTabs($this);
     $pnlDummy = new QPanel($this->pnlTab);
     $arrHeaders[] = NarroLink::UserLogin(t('Login'));
     $this->pnlUserRegister = new NarroUserRegisterPanel($this->pnlTab);
     $arrHeaders[] = t('Register');
     $this->pnlTab->Selected = count($arrHeaders) - 1;
     $pnlDummy = new QPanel($this->pnlTab);
     $arrHeaders[] = NarroLink::UserRecoverPassword(t('Lost and found'));
     $this->pnlTab->Headers = $arrHeaders;
 }