Skip to content
Browse files

Slight tweak to allow completely blank headers (no arguments to

print_header will now give a blank header).  Useful for help pages.
  • Loading branch information...
1 parent 6ee4579 commit 11d87ec68023b717463ecd907d5602da92ddbb5b martin committed
View
2 theme/standard/header.html
@@ -28,7 +28,7 @@
<? print_navigation("$navigation"); ?>
</B></FONT></TD></TR></TABLE>
<IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1>
-<? } else { ?>
+<? } else if ($heading) { ?>
<HR SIZE=1 NOSHADE>
<? } ?>
<!-- END OF HEADER -->
View
2 theme/standardblue/header.html
@@ -28,7 +28,7 @@
<? print_navigation("$navigation"); ?>
</B></FONT></TD></TR></TABLE>
<IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1>
-<? } else { ?>
+<? } else if ($heading) { ?>
<HR SIZE=1 NOSHADE>
<? } ?>
<!-- END OF HEADER -->
View
2 theme/standardgreen/header.html
@@ -28,7 +28,7 @@
<? print_navigation("$navigation"); ?>
</B></FONT></TD></TR></TABLE>
<IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1>
-<? } else { ?>
+<? } else if ($heading) { ?>
<HR SIZE=1 NOSHADE>
<? } ?>
<!-- END OF HEADER -->
View
2 theme/standardred/header.html
@@ -28,7 +28,7 @@
<? print_navigation("$navigation"); ?>
</B></FONT></TD></TR></TABLE>
<IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1>
-<? } else { ?>
+<? } else if ($heading) { ?>
<HR SIZE=1 NOSHADE>
<? } ?>
<!-- END OF HEADER -->

0 comments on commit 11d87ec

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