]> git.mjollnir.org Git - moodle.git/commitdiff
Changed some CSS to font tags, so that IE looks more consistent
authormoodler <moodler>
Tue, 18 May 2004 07:10:17 +0000 (07:10 +0000)
committermoodler <moodler>
Tue, 18 May 2004 07:10:17 +0000 (07:10 +0000)
course/lib.php

index 7f088dcc7b745cb774826f4f735bba18bb895bf8..8bea738792bb3c615c88c349ecf1f0576bb2a302 100644 (file)
@@ -1027,7 +1027,7 @@ function print_side_block($heading="", $content="", $list=NULL, $icons=NULL, $fo
     if ($content) {
         echo "$content";
         if ($footer) {
-            echo "<div style=\"font-size: x-small; text-align:center;\">$footer</div>";
+            echo "<center><font size=\"-2\">$footer</font></center>";
         }
     } else {
         echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">";
@@ -1048,7 +1048,7 @@ function print_side_block($heading="", $content="", $list=NULL, $icons=NULL, $fo
                 echo ' colspan="2" ';
             }
             echo '>';
-            echo "<div style=\"font-size: x-small; text-align:center;\">$footer</div>";
+            echo "<center><font size=\"-2\">$footer</font></center>";
             echo "</td></tr>";
         }
         echo "</table>";
@@ -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 = "<p><a href=\"$CFG->wwwroot/course/index.php\">".get_string("fulllistofcourses")."</a>...";
+            $fulllist = "<a href=\"$CFG->wwwroot/course/index.php\">".get_string("fulllistofcourses")."</a>...";
             print_side_block( get_string("mycourses"), "", $moddata, $modicon, $fulllist, $width);
             return;
         }
@@ -1404,7 +1404,7 @@ 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 = "<p><a href=\"$CFG->wwwroot/course/\">".get_string("searchcourses")."</a>...";
+        $fulllist = "<a href=\"$CFG->wwwroot/course/\">".get_string("searchcourses")."</a>...";
         $blocktitle = get_string("categories");
     } else {                          // Just print course names of single category
         $category = array_shift($categories);
@@ -1417,7 +1417,7 @@ function print_courses_sideblock($category=0, $width="100%") {
                            "href=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->fullname</a>";
                 $modicon[]=$icon;
             }   
-            $fulllist = "<p><a href=\"$CFG->wwwroot/course/index.php\">".get_string("fulllistofcourses")."</a>...";
+            $fulllist = "<a href=\"$CFG->wwwroot/course/index.php\">".get_string("fulllistofcourses")."</a>...";
         } else {
             $moddata = array();
             $modicon = array();