Argh ... fix for Netscape fix - was causing problems on other browsers
authormoodler <moodler>
Thu, 14 Nov 2002 06:22:13 +0000 (06:22 +0000)
committermoodler <moodler>
Thu, 14 Nov 2002 06:22:13 +0000 (06:22 +0000)
lib/moodlelib.php
theme/standard/header.html
theme/standardblue/header.html
theme/standardgreen/header.html
theme/standardlogo/header.html
theme/standardred/header.html

index f89ec82..21a2cee 100644 (file)
@@ -10,7 +10,7 @@
 
 /// STANDARD WEB PAGE PARTS ///////////////////////////////////////////////////
 
-function print_header ($title="", $heading="", $navigation="", $focus="", $meta="", $cache=true, $button="", $menu="") {
+function print_header ($title="", $heading="", $navigation="", $focus="", $meta="", $cache=true, $button="&nbsp;", $menu="") {
 // $title - appears top of window
 // $heading - appears top of page
 // $navigation - premade navigation string
index 5894fa6..c4f7620 100644 (file)
@@ -39,7 +39,7 @@
          <TD BGCOLOR="<?=$THEME->cellheading?>">
            <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
          </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP>&nbsp;<?=$button ?></TD>
+         <TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
        </TR>
      </TABLE>
      <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
index 370f322..de14e53 100644 (file)
@@ -39,7 +39,7 @@
          <TD BGCOLOR="<?=$THEME->cellheading?>">
            <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
          </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP>&nbsp;<?=$button ?></TD>
+         <TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
        </TR>
      </TABLE>
      <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
index 2c0ba70..d92154c 100644 (file)
@@ -39,7 +39,7 @@
          <TD BGCOLOR="<?=$THEME->cellheading?>">
            <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
          </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP>&nbsp;<?=$button ?></TD>
+         <TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
        </TR>
      </TABLE>
      <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
index a51d8b7..f60e894 100644 (file)
@@ -41,7 +41,7 @@
          <TD BGCOLOR="<?=$THEME->cellheading?>">
            <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
          </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP>&nbsp;<?=$button ?></TD>
+         <TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
        </TR>
      </TABLE>
      <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
index 40b65e2..2d0472a 100644 (file)
@@ -39,7 +39,7 @@
          <TD BGCOLOR="<?=$THEME->cellheading?>">
            <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
          </TD>
-         <TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP>&nbsp;<?=$button ?></TD>
+         <TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
        </TR>
      </TABLE>
      <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>