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 ?>>
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/'.current_theme() ?>/favicon.ico" />
8 <?php
include("$CFG->javascript"); ?>
14 echo " onload=\"setfocus()\"";
17 <div class=
"cornflowersurround">
20 <?php if ($home) { // home page ?>
21 <div id
="header-home">
22 <div
class="headermain"><img alt
="" src
="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/logo.jpg" width
="457" height
="64" /></div
>
23 <div
class="headermenu"><?php
echo $menu ?></div>
25 <?php } else if ($heading) { // This is what gets printed on any other page with a heading
27 <div id=
"header-home">
28 <div class=
"headermain"><img alt=
"" src=
"<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/logo.jpg" width
="457" height
="64" /></div
>
29 <div
class="headermenu"><?php
echo $menu ?></div>
31 <div class=
"clearer"></div>
33 <?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
34 if ($navigation) { // This is the navigation bar with breadcrumbs ?>
35 <div
class="navbar clearfix">
36 <div
class="breadcrumb"><?php
print_navigation($navigation); ?></div>
37 <div class=
"navbutton"><?php echo $button; ?></div>
39 <?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
42 <!-- END OF HEADER -->
43 <div class=
"clearer"></div>