Révision 62e0cc08
Ajouté par Assos Assos il y a plus de 3 ans
drupal7/sites/all/modules/calendar/calendar.module | ||
---|---|---|
47 | 47 |
'#description' => t('To try the Colorbox settings, choose the option to add Colorbox settings to the calendar templates. Install and enable the Colorbox module, following the instructions on the Colorbox project page, then create a new calendar from a template using any date field in the Node base table. The calendar will be set up to display the calendar items in a Colorbox.'), |
48 | 48 |
); |
49 | 49 |
|
50 |
$form['calendar_provide_views_templates'] = array( |
|
51 |
'#title' => t('Provide Views templates for calendar'), |
|
52 |
'#type' => 'radios', |
|
53 |
'#options' => array(0 => t('No'), 1 => t('Yes')), |
|
54 |
'#default_value' => variable_get('calendar_provide_views_templates', 1), |
|
55 |
'#description' => t("Views calendar templates are created for every date field by default, see !url. You can disable this to improve Views UI performance.", |
|
56 |
array('!url' => l(t('Views templates'), 'admin/structure/views/add-template'))), |
|
57 |
); |
|
58 |
|
|
50 | 59 |
return system_settings_form($form); |
51 | 60 |
} |
52 | 61 |
|
... | ... | |
276 | 285 |
'attributes' => array('title' => t('View the calendar.')), |
277 | 286 |
); |
278 | 287 |
$node->content['links']['calendar'] = array( |
279 |
'#theme' => 'links__node__caledar', |
|
288 |
'#theme' => 'links__node__calendar',
|
|
280 | 289 |
'#links' => $links, |
281 | 290 |
'#attributes' => array('class' => array('links', 'inline')), |
282 | 291 |
); |
Formats disponibles : Unified diff
Weekly update of contrib modules