Changeset 8821
- Timestamp:
- 05/07/08 00:11:41 (3 months ago)
- Files:
-
- branches/1.1/lib/helper/FormHelper.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/helper/FormHelper.php
r7757 r8821 229 229 230 230 $option_tags = options_for_select($countries, $selected, $options); 231 unset($options['include_blank'], $options['include_custom']); 231 232 232 233 return select_tag($name, $option_tags, $options); … … 276 277 277 278 $option_tags = options_for_select($languages, $selected, $options); 279 unset($options['include_blank'], $options['include_custom']); 278 280 279 281 return select_tag($name, $option_tags, $options); … … 663 665 $jss = array( 664 666 sfConfig::get('sf_calendar_web_dir').'/calendar', 665 sfConfig::get('sf_calendar_web_dir').'/lang/calendar-en', 666 $langFile, 667 is_readable(sfConfig::get('sf_symfony_data_dir').'/web/'.$langFile.'.js') || is_readable(sfConfig::get('sf_web_dir').'/'.$langFile.'.js') ? $langFile : sfConfig::get('sf_calendar_web_dir').'/lang/calendar-en', 667 668 sfConfig::get('sf_calendar_web_dir').'/calendar-setup', 668 669 );