Permalink
Browse files

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

…odle into MOODLE_24_STABLE
  • Loading branch information...
2 parents 6babcc3 + a809b82 commit 728858263360ced308a5ea1ac625846e064870b8 Sam Hemelryk committed Jan 15, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 course/lib.php
View
1 course/lib.php
@@ -2570,6 +2570,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 7288582

Please sign in to comment.