Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / theme / wood / header.html
blob2eeb76bf39da8db50daecb46e0a8ebe7061ebb5c
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 ?>>
3 <head>
4 <?php echo $meta ?>
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"); ?>
9 </head>
11 <body<?php
12 echo " $bodytags";
13 if ($focus) {
14 echo " onload=\"setfocus()\"";
16 ?>>
18 <div id="page">
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(); ?>
26 <?php } else if ($heading) { // This is what gets printed on any other page with a heading
28 <?php print_container_start(true, '', 'header'); ?>
29 <h1 class="headermain"><?php echo $heading ?></h1>
30 <div class="headermenu"><?php echo $menu ?></div>
31 <?php print_container_end(); ?>
32 <?php } ?>
33 <?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
34 <div class="navbar clearfix">
35 <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
36 <div class="navbutton"><?php echo $button; ?></div>
37 </div>
38 <?php } else if ($heading) { // If no navigation, but a heading, then print a line
40 <hr />
41 <?php } ?>
42 <div class="clearer">&nbsp;</div>
43 <!-- END OF HEADER -->
44 <?php print_container_start(false, '', 'content'); ?>