From 1a3f83348df14223eff67e8af0d73ae65c5c662d Mon Sep 17 00:00:00 2001 From: dongsheng <dongsheng> Date: Sat, 5 Sep 2009 18:22:36 +0000 Subject: [PATCH] "MDL-20221, hide header and navigation in embedded layout" --- theme/standard/layout-embedded.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/theme/standard/layout-embedded.php b/theme/standard/layout-embedded.php index e83dcec517..663db71b4f 100644 --- a/theme/standard/layout-embedded.php +++ b/theme/standard/layout-embedded.php @@ -9,24 +9,7 @@ <?php echo $OUTPUT->standard_top_of_body_html() ?> <div id="page"> - -<?php if ($PAGE->heading) { ?> - <div id="header" class="clearfix"> - <h1 class="headermain"><?php echo $PAGE->heading ?></h1> - <div class="headermenu"><?php echo $PAGE->headingmenu ?></div> - </div> -<?php } ?> - -<?php if ($navigation) { // This is the navigation bar with breadcrumbs ?> - <div class="navbar clearfix"> - <div class="breadcrumb"><?php print_navigation($navigation); ?></div> - <div class="navbutton"><?php echo $PAGE->button; ?></div> - </div> -<?php } else if ($PAGE->heading) { // If no navigation, but a heading, then print a line ?> - <hr /> -<?php } ?> <!-- END OF HEADER --> - <div id="content" class="clearfix"> [MAIN CONTENT GOES HERE] </div> -- 2.39.5