Skip to content
Snippets Groups Projects
Commit 9730b76b authored by Karen Stevenson's avatar Karen Stevenson
Browse files

#324480 Rename calendar blocks so they show up together in block list, patch by mroswell.

parent c958720c
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ Views Calendar 5.x
Version 5.2 dev
===============
- #324480 Rename calendar blocks so they show up together in block list.
- #304103 Get rid of stripe name to match the way it is now done in the D6 version.
- Make sure the ical defaults to the right view, it was always showing the month view.
- #328097 Fix broken ical export now that items are keyed by time.
......
......@@ -463,7 +463,7 @@ function calendar_block($op = 'list', $delta = 0) {
switch ($op) {
case 'list' :
$blocks[0]['info'] = t('Calendar Legend.');
$blocks[1]['info'] = t('Switch Calendar.');
$blocks[1]['info'] = t('Calendar Switcher.');
return $blocks;
break;
case 'view' :
......@@ -474,7 +474,7 @@ function calendar_block($op = 'list', $delta = 0) {
$block['content'] = !empty($content) ? '<div class="calendar legend">'. $content .'</div>' : '';
return $block;
case 1:
$block['subject'] = t('Switch Calendar');
$block['subject'] = t('Calendar Switcher');
$block['content'] = $GLOBALS['calendar_is_calendar'] ? drupal_get_form('calendar_switch_view') : '';
return $block;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment