MDL-37085 Substitute function print_section_add_menus() with core_course_renderer...