From a4851aaf712b5425ecfc131234947c5273824795 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 4 Aug 2004 02:35:29 +0000 Subject: [PATCH] Add link to "all courses" for admins etc --- blocks/course_list/block_course_list.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blocks/course_list/block_course_list.php b/blocks/course_list/block_course_list.php index 5be560390f..e23acae835 100644 --- a/blocks/course_list/block_course_list.php +++ b/blocks/course_list/block_course_list.php @@ -85,7 +85,8 @@ class CourseBlock_course_list extends MoodleBlock { $this->content->items[]="wwwroot/course/category.php?id=$category->id\">$category->name"; $this->content->icons[]=$icon; } - $this->content->footer = "wwwroot/course/\">".get_string("searchcourses")."..."; + $this->content->footer = "wwwroot/course/\">".get_string("searchcourses")."...
". + "wwwroot/course/index.php\">".get_string("fulllistofcourses")."..."; $this->title = get_string('categories'); } else { // Just print course names of single category $category = array_shift($categories); -- 2.39.5