]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-20221, hide header and navigation in embedded layout"
authordongsheng <dongsheng>
Sat, 5 Sep 2009 18:22:36 +0000 (18:22 +0000)
committerdongsheng <dongsheng>
Sat, 5 Sep 2009 18:22:36 +0000 (18:22 +0000)
theme/standard/layout-embedded.php

index e83dcec517b98c96fb02c2b28685536243c60101..663db71b4fe83cfb8126c02921daa3d4f4a9007e 100644 (file)
@@ -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>