Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2713f92
)
MDL-35818 - Enrolment - Changing all enrolment method icon alt text attributes to...
author
Jason Fowler
<phalacee@gmail.com>
Fri, 7 Dec 2012 06:25:24 +0000
(14:25 +0800)
committer
Jason Fowler
<phalacee@gmail.com>
Mon, 14 Jan 2013 01:47:21 +0000
(09:47 +0800)
course/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/course/lib.php
b/course/lib.php
index
54dfc74
..
33c931e
100644
(file)
--- a/
course/lib.php
+++ b/
course/lib.php
@@
-2606,6
+2606,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