Beispiel #1
0
 private function formEdit()
 {
     $data = array('wf_cat' => array(GWF_Form::ENUM, $this->flag->getVar('wf_cat'), $this->l('th_wf_cat'), '', $this->getCatEnums()), 'wf_score' => array(GWF_Form::INT, $this->flag->getVar('wf_score'), $this->l('th_wf_score')), 'wf_title' => array(GWF_Form::STRING, $this->flag->getVar('wf_title'), $this->l('th_wf_title')), 'wf_url' => array(GWF_Form::STRING, $this->flag->getVar('wf_url'), $this->l('th_wf_url')), 'wf_authors' => array(GWF_Form::STRING, $this->flag->getVar('wf_authors'), $this->l('th_wf_authors')), 'wf_status' => array(GWF_Form::ENUM, $this->flag->getVar('wf_status'), $this->l('th_wf_status'), '', $this->getStatusEnums()), 'wf_created_at' => array(GWF_Form::DATE, $this->flag->getVar('wf_created_at'), $this->l('th_wf_created_at'), '', 8), 'div' => array(GWF_Form::DIVIDER), 'wf_login' => array(GWF_Form::STRING, $this->flag->getVar('wf_login'), $this->l('th_wf_login')), 'password' => array(GWF_Form::STRING, '', $this->l('th_wf_flag')), 'edit' => array(GWF_Form::SUBMIT, $this->l('btn_edit_flag')));
     return new GWF_Form($this, $data);
 }