Skip to content
Browse files

Allow print_all_courses to have width

  • Loading branch information...
1 parent d9fd5e8 commit 776dc2709fe358f768dcd4ea7ff33683bcf80a07 moodler committed Dec 9, 2002
Showing with 2 additions and 2 deletions.
  1. +2 −2 course/lib.php
View
4 course/lib.php
@@ -175,7 +175,7 @@ function print_log($course, $user=0, $date=0, $order="ORDER BY l.time ASC") {
}
-function print_all_courses($category="all", $style="full", $maxcount=999) {
+function print_all_courses($category="all", $style="full", $maxcount=999, $width=180) {
global $CFG, $USER;
if ($category == "all") {
@@ -208,7 +208,7 @@ function print_all_courses($category="all", $style="full", $maxcount=999) {
}
}
$fulllist = "<P><A HREF=\"$CFG->wwwroot/course/\">".get_string("fulllistofcourses")."</A>...";
- print_side_block(get_string("courses"), "", $moddata, $modicon, $fulllist);
+ print_side_block(get_string("courses"), "", $moddata, $modicon, $fulllist, $width);
} else {
foreach ($courses as $course) {

0 comments on commit 776dc27

Please sign in to comment.
Something went wrong with that request. Please try again.