MDL-16089 new general page type needed for framed resources, this is not accessible...
[moodle.git] / theme / standard / layout-topframe.php
CommitLineData
ea878456 1<?php echo $OUTPUT->doctype() ?>
2<html <?php echo $OUTPUT->htmlattributes() ?>>
3<head>
4 <title><?php echo $PAGE->title ?></title>
5 <link rel="shortcut icon" href="<?php echo $CFG->themewww .'/'. current_theme() ?>/favicon.ico" />
6 <?php echo $OUTPUT->standard_head_html() ?>
7</head>
8<body id="<?php echo $PAGE->pagetype ?>" class="<?php echo $PAGE->bodyclasses ?>">
9<?php echo $OUTPUT->standard_top_of_body_html() ?>
10
11<div id="page">
12
13<?php if ($PAGE->heading) { ?>
14 <div id="header" class="clearfix">
15 <h1 class="headermain"><?php echo $PAGE->heading ?></h1>
16 <div class="headermenu"><?php echo $menu ?></div>
17 </div>
18<?php } ?>
19
20<?php if ($navigation) { // This is the navigation bar with breadcrumbs ?>
21 <div class="navbar clearfix">
22 <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
23 <div class="navbutton"><?php echo $PAGE->button; ?></div>
24 </div>
25<?php } else if ($PAGE->heading) { // If no navigation, but a heading, then print a line ?>
26 <hr />
27<?php } ?>
28<!-- END OF HEADER -->
29
30 <div id="content" class="clearfix">
31 [MAIN CONTENT GOES HERE]
32 </div>
33
34<!-- START OF FOOTER -->
35 <div id="footer" class="clearfix">
36 <?php echo $OUTPUT->standard_footer_html() ?>
37 </div>
38</div>
39<?php echo $OUTPUT->standard_end_of_body_html() ?>
40</body>
41</html>