From 86400f05f5f6cc1e20c74079b1d1a114e3183dd5 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 7 Dec 2002 08:44:21 +0000 Subject: [PATCH] Small changes to help display of Japanese and on Netscape --- lib/moodlelib.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/moodlelib.php b/lib/moodlelib.php index ca7f5ecf20..fee36b81b1 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -32,6 +32,10 @@ function print_header ($title="", $heading="", $navigation="", $focus="", $meta= $navigation = ""; } + if ($button == "") { + $button = " "; + } + if (!$menu and $navigation) { if (isset($USER->id)) { $menu = "wwwroot/login/logout.php\">".get_string("logout").""; @@ -300,7 +304,7 @@ function print_table($table) { if ($table->head) { echo ""; foreach ($table->head as $key => $heading) { - echo "$heading"; + echo "$heading"; } echo "\n"; } -- 2.39.5