Changeset 1887 for trunk/modules/forge/libraries/Form_Input.php
- Timestamp:
- 01/31/2008 09:22:24 AM (10 months ago)
- Files:
-
- 1 modified
-
trunk/modules/forge/libraries/Form_Input.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/forge/libraries/Form_Input.php
r1594 r1887 110 110 else 111 111 { 112 $this->data['label'] = ($val === TRUE) ? u cwords(inflector::humanize($this->name)) : $val;112 $this->data['label'] = ($val === TRUE) ? utf8::ucwords(inflector::humanize($this->name)) : $val; 113 113 return $this; 114 114 } … … 239 239 240 240 // Add the label or name to the beginning of the args 241 array_unshift($args, $this->label ? strtolower($this->label) : $this->name);241 array_unshift($args, $this->label ? utf8::strtolower($this->label) : $this->name); 242 242 243 243 if (isset($this->error_messages[$func])) … … 290 290 { 291 291 // Trim string values 292 $this->data['value'] = trim($this->data['value']);292 $this->data['value'] = utf8::trim($this->data['value']); 293 293 } 294 294 }
