1
<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
2
<html<?php echo $direction ?>>
5
<title><?php echo $title ?></title>
6
<meta name="keywords" content="moodle, <?php echo $title ?> ">
7
<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
8
<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
9
<?php include("$CFG->javascript"); ?>
15
echo " onload=setfocus()";
17
echo " bgcolor=\"$THEME->body\">";
20
<?php if ($home) { // This is what gets printed on the home page only ?>
22
<table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
24
<td valign="top" class="headerhomemain"><img
25
border="0" src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/logo.jpg" ?>"></td>
26
<td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
30
<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
32
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
34
<td valign="top" class="headermain"><?php echo $heading?></td>
35
<td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
42
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
44
<table border="0" cellpadding="3" cellspacing="0" width="100%">
46
<td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
47
<font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
49
<td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
54
<img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
56
<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
58
<hr size="1" noshade />
62
<!-- END OF HEADER -->