diff --git a/user/profile.php b/user/profile.php index a219a710d6a..a5c317b5050 100644 --- a/user/profile.php +++ b/user/profile.php @@ -393,7 +393,7 @@ if (!isset($hiddenfields['mycourses'])) { $shown++; if (!$showallcourses && $shown == 20) { $url = new moodle_url('/user/profile.php', array('id' => $user->id, 'showallcourses' => 1)); - $courselisting .= html_writer::link($url, '...'); + $courselisting .= html_writer::link($url, '...', array('title' => get_string('viewmore'))); break; } } diff --git a/user/view.php b/user/view.php index 7f76d49bae7..06a8baccb72 100644 --- a/user/view.php +++ b/user/view.php @@ -341,7 +341,7 @@ if (!isset($hiddenfields['mycourses'])) { $shown++; if (!$showallcourses && $shown >= 20) { $url = new moodle_url('/user/view.php', array('id' => $user->id, 'course' => $courseid, 'showallcourses' => 1)); - $courselisting .= html_writer::link($url, '...'); + $courselisting .= html_writer::link($url, '...', array('title' => get_string('viewmore'))); break; } }