Changeset 1447 for trunk/modules/forge/libraries/Form_Input.php
- Timestamp:
- 12/07/2007 01:58:09 PM (12 months ago)
- Files:
-
- 1 modified
-
trunk/modules/forge/libraries/Form_Input.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/forge/libraries/Form_Input.php
r1445 r1447 108 108 else 109 109 { 110 $this->label = ($val === TRUE) ? inflector::humanize($this->name) : $val;110 $this->label = ($val === TRUE) ? ucwords(inflector::humanize($this->name)) : $val; 111 111 return $this; 112 112 } … … 215 215 if ($value = self::$input->post($this->name)) 216 216 { 217 // Load POSTed value 217 218 $this->data['value'] = $value; 219 } 220 221 if (is_string($this->data['value'])) 222 { 223 // Trim string values 224 $this->data['value'] = trim($this->data['value']); 218 225 } 219 226 }
