MDL-10910 Corrected two errors committed while fixing MDL-10870
[moodle-pu.git] / theme / cornflower / header.html
bloba147503a4e17fdda18bba3ccb99f0cde37ae6cd1
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->wwwroot.'/theme/'.current_theme() ?>/favicon.ico" />
8 <?php include("$CFG->javascript"); ?>
9 </head>
11 <body <?php
12 echo " $bodytags";
13 if ($focus) {
14 echo " onload=\"setfocus()\"";
16 ?>>
17 <div class="cornflowersurround">
18 <div id="page">
20 <?php //Accessibility: warning: ALT text will need editing when logo changes. 'headermain' is now H1.
22 if ($home) { // home page ?>
23 <div id="header-home">
24 <h1 class="headermain"><img alt="[ REPLACE ME ]" src="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/logo.jpg" width="457" height="64" /></h1>
25 <div class="headermenu"><?php echo $menu ?></div>
26 </div>
27 <?php } else if ($heading) { // This is what gets printed on any other page with a heading
29 <div id="header-home">
30 <h1 class="headermain"><img alt="[ REPLACE ME ]" src="<?php echo $CFG->wwwroot.'/theme/'.current_theme() ?>/images/logo.jpg" width="457" height="64" /></h1>
31 <div class="headermenu"><?php echo $menu ?></div>
32 </div>
33 <div class="clearer"></div>
34 <?php } ?>
35 <?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
36 if ($navigation) { // This is the navigation bar with breadcrumbs ?>
37 <div class="navbar clearfix">
38 <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
39 <div class="navbutton"><?php echo $button; ?></div>
40 </div>
41 <?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
43 <?php } ?>
44 <!-- END OF HEADER -->
45 <div class="clearer"></div>
46 <div id="content">