id, $lesson, $timer); lesson_print_mediafile_block($cm->id, $lesson); if (!empty($CFG->showblocksonmodpages)) { if ((blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $PAGE->user_is_editing())) { blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT); } } ?>