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); }
public function templateQuickSearch() { return GWF_FormGDO::getQuickSearchForm($this->module, $this, GDO::table('GWF_Order'), GWF_Session::getUser()); }
private function getFormAdv() { return GWF_FormGDO::getSearchForm($this->module, $this, GDO::table('GWF_Links'), GWF_Session::getUser(), $this->module->lang('ft_search')); }