lib-cookies MDL-19737 Removed need to include cookies.js on every page
[moodle.git] / theme / chameleon / header.html
CommitLineData
9e3e44e1 1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5452c725 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>
a44091bf 7 <link rel="shortcut icon" href="<?php echo $CFG->themewww .'/'. current_theme() ?>/favicon.ico" />
364fffda 8
186142b0 9 <?php include('ui/chameleon.php'); ?>
5452c725 10</head>
11
12<body<?php
13 echo " $bodytags";
14 if ($focus) {
15 echo " onload=\"setfocus()\"";
16 };
17 ?>>
364fffda 18
5452c725 19<div id="page">
364fffda 20
21<?php if ($home) { // This is what gets printed on the home page only
5452c725 22?>
186142b0 23 <div id="header-home" class="clearfix">
24 <h1 class="headermain"><?php echo $heading ?></h1>
5452c725 25 <div class="headermenu"><?php echo $menu ?></div>
26 </div>
9f439b17 27 <div class="navbar clearfix">
364fffda 28 &nbsp;
186142b0 29 </div>
a788bb6f 30<?php } else if ($heading) { // This is what gets printed on any other page with a heading
5452c725 31?>
186142b0 32 <div id="header" class="clearfix">
33 <h1 class="headermain"><?php echo $heading ?></h1>
5452c725 34 <div class="headermenu"><?php echo $menu ?></div>
35 </div>
186142b0 36 <div class="navbar clearfix">
45c4e0b7 37 <?php if ($navigation) { // This is the navigation table with breadcrumbs
38 ?>
54c0f82b 39 <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
5452c725 40 <div class="navbutton"><?php echo $button; ?></div>
186142b0 41 <?php } ?>
42 </div>
5452c725 43<?php } ?>
44 <!-- END OF HEADER -->
45<div id="content">