Skip to content
Browse files

Tweak to side boxes

  • Loading branch information...
1 parent 915d17b commit ee1ddef672081f99f283da777c42d708863cd378 martin committed Aug 26, 2002
Showing with 3 additions and 3 deletions.
  1. +2 −2 course/lib.php
  2. +1 −1 index.php
View
4 course/lib.php
@@ -481,7 +481,7 @@ function print_section($courseid, $section, $mods, $modnamesused, $absolute=fals
echo "</TD></TR></TABLE><BR>\n\n";
}
-function print_side_block($heading="", $list=NULL, $footer="", $icons=NULL, $width=190) {
+function print_side_block($heading="", $list=NULL, $footer="", $icons=NULL, $width=180) {
echo "<TABLE WIDTH=\"$width\">\n";
echo "<TR><TD COLSPAN=2><P><B><FONT SIZE=2>$heading</TD></TR>\n";
@@ -530,7 +530,7 @@ function print_admin_links ($siteid, $width=180) {
echo "<IMG SRC=\"$CFG->wwwroot/pix/spacer.gif\" WIDTH=\"$width\" HEIGHT=1><BR>";
}
-function print_course_admin_links($courseid, $width=190) {
+function print_course_admin_links($courseid, $width=180) {
global $THEME, $CFG;
echo "<BR>";
View
2 index.php
@@ -57,7 +57,7 @@
}
if ($site->newsitems > 0 ) {
- print_simple_box(get_string("courses"), "CENTER", "100%", "$THEME->cellheading");
+ print_simple_box(get_string("courses"), "CENTER", $side, "$THEME->cellheading");
print_all_courses($cat=1, "minimal", 10);
}
print_spacer(1,$side);

0 comments on commit ee1ddef

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