1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html<?php echo $direction ?>>
5 <meta name=
"keywords" content=
"moodle, <?php echo $title ?> " />
6 <title
><?php
echo $title ?></title>
7 <link rel=
"shortcut icon" href=
"<?php echo $CFG->themewww .'/'. current_theme() ?>/favicon.ico" />
8 <?php
include("$CFG->javascript"); ?>
14 echo " onload=\"setfocus()\"";
20 <?php if ($home) { // This is what gets printed on the home page only
22 <?php print_container_start(true, '', 'header-home'); ?>
23 <h1 class=
"headermain"><?php echo $heading ?></h1>
24 <div class=
"headermenu"><?php echo $menu ?></div>
25 <?php print_container_end(); ?>
28 <?php } else if ($heading) { // This is what gets printed on any other page with a heading
30 <?php print_container_start(true, '', 'header'); ?>
31 <h1 class=
"headermain"><?php echo $heading ?></h1>
32 <div class=
"headermenu"><?php echo $menu ?></div>
33 <!-- <div class="headermenu"><div id="new-menu"><?php echo $navmenulist ?></div></div> -->
34 <?php print_container_end(); ?>
36 <?php if ($navigation) { // This is the navigation table with breadcrumbs
39 <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
40 <div class="navbutton"><?php echo $button; ?></div>
43 <!-- END OF HEADER -->
44 <?php print_container_start(false, '', 'content'); ?>