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