Tidied up logs HTML a bit, to make it more readable.
[moodle-linuxchix.git] / theme / wood / header.html
blobb414cfa72505acd2e0131929b7636b848ea64986
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>
7 <link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->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 <div id="header-home">
23 <div class="headermain"><?php echo $heading ?></div>
24 <div class="headermenu"><?php echo $menu ?></div>
25 </div>
26 <?php } else if ($heading) { // This is what gets printed on any other page with a heading
28 <div id="header">
29 <div class="headermain"><?php echo $heading ?></div>
30 <div class="headermenu"><?php echo $menu ?></div>
31 </div>
32 <?php } ?>
33 <div class="clearer">&nbsp;</div>
34 <?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
35 <table class="navbar"><tr><td>
36 <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
37 <div class="navbutton"><?php echo $button; ?></div>
38 </td></tr></table>
39 <?php } else if ($heading) { // If no navigation, but a heading, then print a line
41 <hr size="1" noshade="noshade" />
42 <?php } ?>
43 <div class="clearer">&nbsp;</div>
44 <!-- END OF HEADER -->
45 <div id="content">