Skip to content

Commit

Permalink
Small changes to help display of Japanese and on Netscape
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Dec 7, 2002
1 parent 467aaec commit 86400f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/moodlelib.php
Expand Up @@ -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 = "<FONT SIZE=2><A TARGET=_parent HREF=\"$CFG->wwwroot/login/logout.php\">".get_string("logout")."</A></FONT>";
Expand Down Expand Up @@ -300,7 +304,7 @@ function print_table($table) {
if ($table->head) {
echo "<TR>";
foreach ($table->head as $key => $heading) {
echo "<TH VALIGN=top ".$align[$key].$size[$key].">$heading</TH>";
echo "<TH VALIGN=top ".$align[$key].$size[$key]." NOWRAP>$heading</TH>";
}
echo "</TR>\n";
}
Expand Down

0 comments on commit 86400f0

Please sign in to comment.