Esempio n. 1
0
 public function preview()
 {
     import('@.Org.Formdesign');
     $formdesign = new \Formdesign();
     $parse_content = $formdesign->parse_form($_POST['design_content'], $one['fields']);
     $design_content = $formdesign->unparse_form(array('content_parse' => $parse_content['parse'], 'content_data' => serialize($parse_content['data'])), array(), array('action' => 'preview'));
     $this->assign('design_content', $design_content);
     $this->display();
 }