Permalink
Browse files

Merge branch 'wip-MDL-35818-stable23' of git://github.com/phalacee/mo…

…odle into MOODLE_23_STABLE
  • Loading branch information...
2 parents 7cf0504 + 3c9148d commit 9bc178f3e616c19565bcfdba7722626d409d6193 Sam Hemelryk committed Jan 15, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 course/lib.php
View
@@ -2610,6 +2610,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

0 comments on commit 9bc178f

Please sign in to comment.