Latest tags
[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" />
5452c725 8
186142b0 9 <?php include('ui/chameleon.php'); ?>
5452c725 10 <?php include("$CFG->javascript"); ?>
11</head>
12
13<body<?php
14 echo " $bodytags";
15 if ($focus) {
16 echo " onload=\"setfocus()\"";
17 };
18 ?>>
19
20<div id="page">
21
22<?php if ($home) { // This is what gets printed on the home page only
23?>
186142b0 24 <div id="header-home" class="clearfix">
25 <h1 class="headermain"><?php echo $heading ?></h1>
5452c725 26 <div class="headermenu"><?php echo $menu ?></div>
27 </div>
9f439b17 28 <div class="navbar clearfix">
29 &nbsp;
186142b0 30 </div>
5452c725 31<?php } else { // This is what gets printed on any other page with a heading
32?>
186142b0 33 <div id="header" class="clearfix">
34 <h1 class="headermain"><?php echo $heading ?></h1>
5452c725 35 <div class="headermenu"><?php echo $menu ?></div>
36 </div>
186142b0 37 <div class="navbar clearfix">
45c4e0b7 38 <?php if ($navigation) { // This is the navigation table with breadcrumbs
39 ?>
5452c725 40 <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
41 <div class="navbutton"><?php echo $button; ?></div>
186142b0 42 <?php } ?>
43 </div>
5452c725 44<?php } ?>
45 <!-- END OF HEADER -->
46<div id="content">