]> git.mjollnir.org Git - moodle.git/commitdiff
Just fixing the footer link on course list blocks
authormoodler <moodler>
Thu, 20 May 2004 00:55:11 +0000 (00:55 +0000)
committermoodler <moodler>
Thu, 20 May 2004 00:55:11 +0000 (00:55 +0000)
course/lib.php

index 8bea738792bb3c615c88c349ecf1f0576bb2a302..b31906b969540fb508df8efc1397f201ca16cd4c 100644 (file)
@@ -1391,7 +1391,7 @@ function print_courses_sideblock($category=0, $width="100%") {
                            "href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->fullname</a>";
                 $modicon[]=$icon;
             }
-            $fulllist = "<a href=\"$CFG->wwwroot/course/index.php\">".get_string("fulllistofcourses")."</a>...";
+            $fulllist = "<p><a href=\"$CFG->wwwroot/course/index.php\">".get_string("fulllistofcourses")."</a>...</p>";
             print_side_block( get_string("mycourses"), "", $moddata, $modicon, $fulllist, $width);
             return;
         }
@@ -1404,8 +1404,9 @@ function print_courses_sideblock($category=0, $width="100%") {
             $moddata[]="<a $linkcss href=\"$CFG->wwwroot/course/category.php?id=$category->id\">$category->name</a>";
             $modicon[]=$icon;
         }
-        $fulllist = "<a href=\"$CFG->wwwroot/course/\">".get_string("searchcourses")."</a>...";
+        $fulllist = "<p><a href=\"$CFG->wwwroot/course/\">".get_string("searchcourses")."</a>...</p>";
         $blocktitle = get_string("categories");
+
     } else {                          // Just print course names of single category
         $category = array_shift($categories);
         $courses = get_courses($category->id);
@@ -1417,7 +1418,7 @@ function print_courses_sideblock($category=0, $width="100%") {
                            "href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->fullname</a>";
                 $modicon[]=$icon;
             }   
-            $fulllist = "<a href=\"$CFG->wwwroot/course/index.php\">".get_string("fulllistofcourses")."</a>...";
+            $fulllist = "<p><a href=\"$CFG->wwwroot/course/index.php\">".get_string("fulllistofcourses")."</a>...</p>";
         } else {
             $moddata = array();
             $modicon = array();