Changeset 1908
- Timestamp:
- 09/02/07 18:09:32 (6 years ago)
- Location:
- website/lib/views
- Files:
-
- 2 modified
-
Servlet.class.php (modified) (2 diffs)
-
StandardForm.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
website/lib/views/Servlet.class.php
r1904 r1908 27 27 function _preProcess() 28 28 { 29 ob_start(); 29 30 $this->setContentType("text/html", "charset=utf-8"); 30 31 if($_SERVER['REQUEST_METHOD'] == "GET"){ … … 44 45 45 46 function processRequest(){ 46 ob_start(); 47 $this->_preProcess(); 47 //$this->_preProcess(); 48 48 $this->_postProcess(); 49 49 ob_end_flush(); -
website/lib/views/StandardForm.class.php
r1907 r1908 47 47 48 48 49 49 $this->loadTemplate("index"); 50 $this->_preProcess(); 50 51 foreach($this->fields as $key=>$value){ 51 52 $this->tbs->MergeField($key, $value); … … 56 57 //$this->tbs->MergeField("onload"); 57 58 58 $this->loadTemplate("index"); 59 59 60 } 60 61
