added page title to title attribute for accessibility
authorGreg Gay <info@atutor.ca>
Fri, 25 Jun 2010 21:16:24 +0000 (21:16 -0000)
committerGreg Gay <info@atutor.ca>
Fri, 25 Jun 2010 21:16:24 +0000 (21:16 -0000)
docs/include/sidemenus/my_courses.inc.php

index e6a08b5..c93e36c 100644 (file)
@@ -38,9 +38,9 @@ if (!is_array($my_courses)) {
                // only display the first 200 character of course description
 
                if ($row['role'] == TR_USERROLE_AUTHOR) {
-                       $output .= ' <li class="mine" title="'. _AT('my_authoring_course').'"> '."\n";
+                       $output .= ' <li class="mine" title="'. _AT('my_authoring_course').': '. $row['title'].'"> '."\n";
                } else {
-                       $output .= ' <li class="theirs" title="'. _AT('others_course').'">'."\n";
+                       $output .= ' <li class="theirs" title="'. _AT('others_course').': '. $row['title'].'">'."\n";
                }
                $output .= '    <a href="'. TR_BASE_HREF.'home/course/index.php?_course_id='. $row['course_id'].'">'.$row['title'].'</a>'."\n";
                if ($row['role'] == TR_USERROLE_VIEWER) {