Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 11d87ec68023b717463ecd907d5602da92ddbb5b 1 parent 6ee4579
martin authored
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 -->
Please sign in to comment.
Something went wrong with that request. Please try again.