From: moodler Date: Wed, 13 Aug 2003 06:55:57 +0000 (+0000) Subject: FIxed some links to all courses X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5dc3d80e298433721552a05750fd08b06ab69e60;p=moodle.git FIxed some links to all courses --- diff --git a/course/lib.php b/course/lib.php index d0c9d3eee6..f8d9e8999a 100644 --- a/course/lib.php +++ b/course/lib.php @@ -947,7 +947,7 @@ function print_courses_sideblock($category=0, $width="100%") { "href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->fullname"; $modicon[]=$icon; } - $fulllist = "

wwwroot/course/\">".get_string("fulllistofcourses")."..."; + $fulllist = "

wwwroot/course/index.php\">".get_string("fulllistofcourses")."..."; print_side_block( get_string("mycourses"), "", $moddata, $modicon, $fulllist, $width); return; } @@ -972,7 +972,7 @@ function print_courses_sideblock($category=0, $width="100%") { "href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->fullname"; $modicon[]=$icon; } - $fulllist = "

wwwroot/course/\">".get_string("fulllistofcourses")."..."; + $fulllist = "

wwwroot/course/index.php\">".get_string("fulllistofcourses")."..."; } else { $moddata = array(); $modicon = array(); @@ -1099,7 +1099,7 @@ function print_my_moodle() { echo "
"; print_course_search(); echo ""; - print_single_button("index.php", NULL, get_string("fulllistofcourses"), "get"); + print_single_button("$CFG->wwwroot/course/index.php", NULL, get_string("fulllistofcourses"), "get"); echo "
\n"; } else { if (count_records("course_categories") > 1) {