示例#1
0
 /**
  *
  * @access public
  * @author firstname and lastname of author, <*****@*****.**>
  */
 public function get_element_list()
 {
     $header_element = new fbox_text_element();
     $header_element->set_label($this->language['C3_header']);
     $header_element->set_name("header");
     $header_element->set_value("");
     $upload_element = new fbox_hidden_text_element();
     $upload_element->set_label($this->language['C3_userfile']);
     $upload_element->set_name("userfile");
     $description = new fbox_area_element();
     $description->set_label($this->language['C3_description']);
     $description->set_name("description");
     return $header_element->get_element() . $upload_element->get_element() . $description->get_element();
 }
示例#2
0
 /**
  *
  * @access public
  * @author firstname and lastname of author, <*****@*****.**>
  */
 public function get_element_list()
 {
     $message = new fbox_area_element();
     $message->set_label($this->language['C3_header']);
     $message->set_name("message");
     $wrap_element = new fbox_wrap_element();
     $picture_element = new fbox_hidden_text_element();
     $picture_element->set_label($this->language['C3_pic_userfile']);
     $picture_element->set_name("picturefile");
     $wrap_element->add_item($picture_element);
     $doc_element = new fbox_hidden_text_element();
     $doc_element->set_label($this->language['C3_doc_userfile']);
     $doc_element->set_name("docfile");
     $wrap_element->add_item($doc_element);
     $video_element = new fbox_hidden_text_element();
     $video_element->set_label($this->language['C3_video_userfile']);
     $video_element->set_name("videofile");
     $wrap_element->add_item($video_element);
     return $message->get_element() . $wrap_element->get_element();
 }