moved php end tag from comment revisited
[moodle.git] / theme / chameleon / header.html
CommitLineData
5452c725 1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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>
186142b0 7 <link rel="shortcut icon" href="<?php echo $CFG->wwwroot.'/theme/'.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>
186142b0 28 <div class="navbar clearfix">
5452c725 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">
38 <?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
5452c725 39 <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
40 <div class="navbutton"><?php echo $button; ?></div>
186142b0 41 <?php } ?>
42 </div>
5452c725 43<?php } ?>
44 <!-- END OF HEADER -->
45<div id="content">