Changeset 107 for trunk/trax/vendor/trax/action_view
- Timestamp:
- 01/02/06 22:19:42 (6 years ago)
- Location:
- trunk/trax/vendor/trax/action_view/helpers
- Files:
-
- 2 modified
-
active_record_helper.php (modified) (1 diff)
-
date_helper.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php
r106 r107 88 88 # * <tt>class</tt> - The class of the error div (default: errorExplanation) 89 89 function error_messages_for($object_name, $options = array()) { 90 if(is_object($object_name)) { 91 $object_name = get_class($object_name); 92 echo "object name:".$object_name; 93 } 90 94 $this->object_name = $object_name; 91 95 $object = $this->controller_object->$object_name; -
trunk/trax/vendor/trax/action_view/helpers/date_helper.php
r106 r107 176 176 177 177 $month_options .= ($date && ($date_month == $month_number)) ? 178 "<option value=\" $month_number\" selected=\"selected\">$month_name</option>\n" :179 "<option value=\" $month_number\">$month_name</option>\n";178 "<option value=\"".$this->leading_zero_on_single_digits($month_number)."\" selected=\"selected\">$month_name</option>\n" : 179 "<option value=\"".$this->leading_zero_on_single_digits($month_number)."\">$month_name</option>\n"; 180 180 } 181 181 $field_name = ($options['field_name']) ? $options['field_name'] : 'month';
