MDL-37085 Properly deprecated functions print_xxx() from course/lib.php

- get_print_section_cm_text()
- print_section_add_menus()
- print_section()
- make_editing_buttons()
This commit is contained in:
Marina Glancy 2012-12-14 11:32:21 +08:00
parent c58a25d6eb
commit 9a36be7361
10 changed files with 178 additions and 115 deletions

View file

@ -142,7 +142,7 @@
" class=\"iconsmall\" alt=\"$streditsummary\" /></a><br /><br />";
}
print_section($SITE, $section, $mods, $modnamesused, true);
echo $courserenderer->course_section_cm_list($SITE, $section);
echo $courserenderer->course_section_add_cm_control($SITE, $section->section);
echo $OUTPUT->box_end();