mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
"MDL-20221, hide header and navigation in embedded layout"
This commit is contained in:
parent
3a0481a4d8
commit
1a3f83348d
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user