Merge branch 'wip-MDL-35818-master' of git://github.com/phalacee/moodle

This commit is contained in:
Sam Hemelryk 2013-01-16 11:03:39 +13:00
commit ec16ef1f85

View File

@ -2001,6 +2001,7 @@ function print_course($course, $highlightterms = '') {
if ($icons = enrol_get_course_info_icons($course)) {
echo html_writer::start_tag('div', array('class'=>'enrolmenticons'));
foreach ($icons as $icon) {
$icon->attributes["alt"] .= ": ". format_string($coursename, true, array('context'=>$context));
echo $OUTPUT->render($icon);
}
echo html_writer::end_tag('div'); // End of enrolmenticons div