This code located in /calendar/lib.php
line: 1351 to 1362
if ($showfilters) {
$filters = new block_contents();
$filters->content = $renderer->event_filter();
$filters->footer = '';
$filters->title = get_string('eventskey', 'calendar');
$renderer->add_pretend_calendar_block($filters, BLOCK_POS_RIGHT);
}
$block = new block_contents;
$block->content = $renderer->fake_block_threemonths($this);
$block->footer = '';
$block->title = get_string('monthlyview', 'calendar');
$renderer->add_pretend_calendar_block($block, BLOCK_POS_RIGHT);
hide or delete this code your wish:
/**
if ($showfilters) {
$filters = new block_contents();
$filters->content = $renderer->event_filter();
$filters->footer = '';
$filters->title = get_string('eventskey', 'calendar');
$renderer->add_pretend_calendar_block($filters, BLOCK_POS_RIGHT);
}
$block = new block_contents;
$block->content = $renderer->fake_block_threemonths($this);
$block->footer = '';
$block->title = get_string('monthlyview', 'calendar');
$renderer->add_pretend_calendar_block($block, BLOCK_POS_RIGHT);
**/
more queries visit: *removed by moderator*
(Edited by Gareth J Barnard - site linked in 'more queries visit' has footer deemed by me to be 'Unsolicited advertising' -> https://docs.moodle.org/dev/Moderator_guidelines#Unsolicited_advertising - original submission Wednesday, 12 May 2021, 8:57 PM)