예제 #1
0
파일: Detail.php 프로젝트: forkcms/forkcms
 /**
  * Load the form
  */
 private function loadForm()
 {
     $this->frm = new FrontendForm('feedback');
     $this->frm->addHidden('question_id', $this->record['id']);
     $this->frm->addTextarea('message');
     $this->frm->addRadiobutton('useful', array(array('label' => FL::lbl('Yes'), 'value' => 'Y'), array('label' => FL::lbl('No'), 'value' => 'N')));
 }