From dccd16712aa36fe8bb0b4f40bf53dacc458b1036 Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 21 Sep 2002 05:43:46 +0000 Subject: [PATCH] Slight additions to print_table --- lib/moodlelib.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 509153c9ef..73e3dad4d7 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -181,7 +181,7 @@ function print_user_picture($userid, $courseid, $picture, $large=false, $returns } } -function print_table($table) { +function print_table($table, $cellpadding=10, $cellspacing=1) { // Prints a nicely formatted table. // $table is an object with several properties. // $table->head is an array of heading names. @@ -214,7 +214,8 @@ function print_table($table) { } print_simple_box_start("CENTER", "$table->width", "#FFFFFF", 0); - echo "\n"; + echo "
\n"; if ($table->head) { echo ""; -- 2.39.5