예제 #1
0
파일: Options.php 프로젝트: sinfocol/gwf3
 public function getForm()
 {
     $data = GWF_FormGDO::dataFromGDOExclusive($this->module, $this->options, array('pmo_uid', 'pmo_options'));
     $data['email'] = array(GWF_Form::CHECKBOX, $this->options->isOptionEnabled(GWF_PMOptions::EMAIL_ON_PM), $this->module->lang('th_pmo_options&' . GWF_PMOptions::EMAIL_ON_PM));
     $data['guestpm'] = array(GWF_Form::CHECKBOX, $this->options->isOptionEnabled(GWF_PMOptions::ALLOW_GUEST_PM), $this->module->lang('th_pmo_options&' . GWF_PMOptions::ALLOW_GUEST_PM));
     #$data['level'] = array(GWF_Form::INT, $this->options->getVar('pmo_level'), $this->l('th_pmo_level'), $this->l('tt_pmo_level'));
     $data['change'] = array(GWF_Form::SUBMIT, $this->module->lang('btn_save'));
     return new GWF_Form($this, $data);
 }
예제 #2
0
파일: Staff.php 프로젝트: sinfocol/gwf3
 public function templateQuickSearch()
 {
     return GWF_FormGDO::getQuickSearchForm($this->module, $this, GDO::table('GWF_Order'), GWF_Session::getUser());
 }
예제 #3
0
파일: Search.php 프로젝트: sinfocol/gwf3
 private function getFormAdv()
 {
     return GWF_FormGDO::getSearchForm($this->module, $this, GDO::table('GWF_Links'), GWF_Session::getUser(), $this->module->lang('ft_search'));
 }