Example #1
0
 private function getNewPMFormGuest()
 {
     $data = array('username_sel' => array(GWF_Form::SELECT, $this->getUsernameSelect($this->getUsernamesPPM(), 'username_sel')), 'create' => array(GWF_Form::SUBMIT, $this->module->lang('btn_create')), 'username' => array(GWF_Form::STRING, ''));
     $form = new GWF_Form($this, $data);
     return $form->templateX($this->module->lang('ft_new_pm'), GWF_PM::getNewPMHref());
 }