Révision ca0757b9
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/date_ical/includes/DateiCalFeedsParser.inc | ||
---|---|---|
85 | 85 |
public function configDefaults() { |
86 | 86 |
return array( |
87 | 87 |
'indefinite_count' => '52', |
88 |
'indefinite_message_display' => TRUE, |
|
88 | 89 |
'until_not_utc' => FALSE, |
89 | 90 |
'skip_days' => NULL, |
90 | 91 |
); |
... | ... | |
107 | 108 |
'#description' => t('Indefinitely repeating events are not supported. The repeat count will instead be set to this number.'), |
108 | 109 |
'#default_value' => $this->config['indefinite_count'], |
109 | 110 |
); |
111 |
$form['indefinite_message_display'] = array( |
|
112 |
'#title' => t('Display message when RRULE is missing COUNT'), |
|
113 |
'#type' => 'checkbox', |
|
114 |
'#default_value' => $this->config['indefinite_message_display'], |
|
115 |
'#description' => t('Display a message when an indefinitely repeating rule is adjusted by the "Indefinite COUNT" setting above.'), |
|
116 |
); |
|
110 | 117 |
$form['until_not_utc'] = array( |
111 | 118 |
'#title' => t('RRULE UNTILs are not in UTC'), |
112 | 119 |
'#type' => 'checkbox', |
... | ... | |
196 | 203 |
'description' => t('The CATEGORIES property. Catagories that describe the event, which can be imported into taxonomy terms.'), |
197 | 204 |
'date_ical_parse_handler' => 'parseMultivalueProperty', |
198 | 205 |
); |
206 |
|
|
207 |
// Allow other modules to add custom source fields. |
|
208 |
drupal_alter('date_ical_mapping_sources', $sources); |
|
209 |
|
|
199 | 210 |
return $sources; |
200 | 211 |
} |
201 | 212 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules