Changeset 137
- Timestamp:
- 06/08/08 15:30:43 (2 months ago)
- Files:
-
- trunk/rapyd/components/dataedit.php (modified) (1 diff)
- trunk/rapyd/components/dataform.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/rapyd/components/dataedit.php
r125 r137 380 380 381 381 // Set the form open and close 382 $data['form_begin'] = rpd_form::$form_type($this->process_url, $this->attributes);383 $data['form_end'] = rpd_form::close();382 $data['form_begin'] = '';// rpd_form::$form_type($this->process_url, $this->attributes); 383 $data['form_end'] = ''; rpd_form::close(); 384 384 $data["message"] = $message; 385 385 trunk/rapyd/components/dataform.php
r136 r137 172 172 173 173 // Set the form open and close 174 $data['form_begin'] = rpd_form::$form_type($this->process_url, $this->attributes); 175 $data['form_end'] = rpd_form::close(); 174 175 if ($this->status_is('show')) 176 { 177 $data['form_begin'] = '<div class="form">'; 178 $data['form_end'] = '</div>'; 179 } 180 else 181 { 182 $data['form_begin'] = rpd_form::$form_type($this->process_url, $this->attributes); 183 $data['form_end'] = rpd_form::close(); 184 } 185 176 186 $data['fields'] = $this->fields; 177 187 … … 371 381 } 372 382 } 373 383 374 384 }