- Got rid of obvious non-XHTML code in headers and footers.
- Got rid of all the PHP short tags
- Added new styles for the headers
.weeklydatetext {}
-/* Style for the notice boxes (surrounding a notice message) */
+/* Style for the notice boxes (surrounding a notice message) */
.noticebox {}
.noticeboxcontent {}
+/* Styles for the headers of all pages (see header.html) */
+
+.header {}
+.headermain {}
+.headermenu {}
+
+
+/* Styles for the headers of the home page (see header.html) */
+
+.headerhome {}
+.headerhomemain {}
+.headerhomemenu {}
+
+
ALL pix files can now be changed from within a theme,
see cordoroyblue for an example: config.php and the
pix subdirectory.
+
<!-- START OF FOOTER -->
-<CENTER>
-<HR SIZE=1 NOSHADE>
-<FONT SIZE=1>
-<P><?=$loggedinas ?></P>
-<P><?=$homelink ?></P>
-</FONT>
+<center>
+<hr size="1" noshade="noshade" />
+<p class="logininfo"><?=$loggedinas ?></p>
+<p class="homelink"><?=$homelink ?></p>
-</BODY>
-</HTML>
+</body>
+</html>
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/brightretro/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) { // This is what gets printed on the home page only ?>
-
- <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP>
- <IMG BORDER=0 SRC="<?=$CFG->wwwroot?>/theme/brightretro/logo.jpg">
- </TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-
-<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>
-
- <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs ?>
-
- <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
- <TR>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
- <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
- </TD>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
- </TR>
- </TABLE>
- <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line ?>
-
- <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php
+ if ($focus) {
+ echo " onload=setfocus()";
+ }
+ echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) { // This is what gets printed on the home page only ?>
+
+ <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+ <tr>
+ <td valign="top" class="headerhomemain"><img
+ border="0" src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/logo.jpg" ?>"></td>
+ <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
+ <tr>
+ <td valign="top" class="headermain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <table border="0" cellpadding="3" cellspacing="0" width="100%">
+ <tr>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
+ <font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
+ </td>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
+ echo $button;
+ ?></td>
+ </tr>
+ </table>
+ <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <hr size="1" noshade />
+
+<?php } ?>
<!-- END OF HEADER -->
.teacheronly {
color: #990000;
}
+
+.header {
+}
+
+.headermain {
+ font-size: large;
+ font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+ font-size: x-large;
+ font-weight: bold;
+}
+
+.headerhomemenu {
+}
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardblue/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) { // This is what gets printed on the home page only ?>
-
- <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-
-<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>
-
- <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs ?>
-
- <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
- <TR>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
- <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
- </TD>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
- </TR>
- </TABLE>
- <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line ?>
-
- <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php
+ if ($focus) {
+ echo " onload=setfocus()";
+ }
+ echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) { // This is what gets printed on the home page only ?>
+
+ <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+ <tr>
+ <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
+ <tr>
+ <td valign="top" class="headermain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <table border="0" cellpadding="3" cellspacing="0" width="100%">
+ <tr>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
+ <font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
+ </td>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
+ echo $button;
+ ?></td>
+ </tr>
+ </table>
+ <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <hr size="1" noshade />
+
+<?php } ?>
<!-- END OF HEADER -->
.teacheronly {
color: #990000;
}
+
+.header {
+}
+
+.headermain {
+ font-size: large;
+ font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+ font-size: x-large;
+ font-weight: bold;
+}
+
+.headerhomemenu {
+}
<!-- START OF FOOTER -->
-<CENTER>
-<HR SIZE="2" noshade="noshade">
-<FONT SIZE="2">
-<P><?=$loggedinas ?></P>
-<P><?=$homelink ?></P>
-</FONT>
+<center>
+<hr size=2 noshade="noshade" />
+<p class="logininfo"><?=$loggedinas ?></p>
+<p class="homelink"><?=$homelink ?></p>
-</BODY>
-</HTML>
+</body>
+</html>
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/garden/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) { // This is what gets printed on the home page only ?>
-
- <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0 class="top">
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-
-<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>
-
- <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0 class="top">
- <TR>
- <TD VALIGN=TOP style="padding-left: 10px"><br /><FONT SIZE=4><B><?=$heading?></B></FONT><br /><br /></TD>
- <TD ALIGN=RIGHT VALIGN=TOP style="padding-right: 10px"><br /><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs ?>
-
- <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
- <TR>
- <TD BGCOLOR="<?=$THEME->cellheading?>">
- <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
- </TD>
- <TD BGCOLOR="<?=$THEME->cellheading?>" ALIGN=RIGHT VALIGN=TOP><?=$button ?></TD>
- </TR>
- </TABLE>
- <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line ?>
-
- <HR SIZE=1 noshade="noshade">
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php
+ if ($focus) {
+ echo " onload=setfocus()";
+ }
+ echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) { // This is what gets printed on the home page only ?>
+
+ <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+ <tr>
+ <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
+ <tr>
+ <td valign="top" class="headermain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <table border="0" cellpadding="3" cellspacing="0" width="100%">
+ <tr>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
+ <font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
+ </td>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
+ echo $button;
+ ?></td>
+ </tr>
+ </table>
+ <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <hr size="1" noshade />
+
+<?php } ?>
<!-- END OF HEADER -->
.teacheronly {
color: #990000;
}
+
+.header {
+}
+
+.headermain {
+ font-size: large;
+ font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+ font-size: x-large;
+ font-weight: bold;
+}
+
+.headerhomemenu {
+}
-<!-- START OF FOOTER -->\r
-<CENTER>\r
-<HR SIZE=1 NOSHADE>\r
-<FONT SIZE=1>\r
-<P><?=$loggedinas ?></P>\r
-<P><?=$homelink ?></P>\r
-</FONT>\r
-\r
-</BODY>\r
-</HTML>\r
+
+<!-- START OF FOOTER -->
+<center>
+<hr size="1" noshade="noshade" />
+<p class="logininfo"><?=$loggedinas ?></p>
+<p class="homelink"><?=$homelink ?></p>
+
+</body>
+</html>
-<HTML<?=$direction?>>\r
-<HEAD>\r
-<TITLE><?=$title ?></TITLE>\r
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">\r
-<?=$meta ?>\r
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">\r
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/oceanblue/favicon.ico">\r
-<? include("$CFG->javascript"); ?>\r
-</HEAD>\r
-\r
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>\r
-\r
-<? if ($home) { // This is what gets printed on the home page only ?>\r
-\r
- <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>\r
- <TR>\r
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>\r
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>\r
- </TR>\r
- </TABLE>\r
-\r
-\r
-<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>\r
-\r
- <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>\r
- <TR>\r
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>\r
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>\r
- </TR>\r
- </TABLE>\r
-\r
-<? } ?>\r
-\r
-\r
-<? if ($navigation) { // This is the navigation table with breadcrumbs ?>\r
-\r
- <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>\r
- <TR>\r
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">\r
- <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>\r
- </TD>\r
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>\r
- </TR>\r
- </TABLE>\r
- <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>\r
-\r
-<? } else if ($heading) { // If no navigation, but a heading, then print a line ?>\r
-\r
- <HR SIZE=1 NOSHADE>\r
-\r
-<? } ?>\r
-\r
-<!-- END OF HEADER -->\r
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php
+ if ($focus) {
+ echo " onload=setfocus()";
+ }
+ echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) { // This is what gets printed on the home page only ?>
+
+ <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+ <tr>
+ <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
+ <tr>
+ <td valign="top" class="headermain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <table border="0" cellpadding="3" cellspacing="0" width="100%">
+ <tr>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
+ <font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
+ </td>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
+ echo $button;
+ ?></td>
+ </tr>
+ </table>
+ <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <hr size="1" noshade />
+
+<?php } ?>
+
+<!-- END OF HEADER -->
.teacheronly {
color: #990000;
}
+
+.header {
+}
+
+.headermain {
+ font-size: large;
+ font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+ font-size: x-large;
+ font-weight: bold;
+}
+
+.headerhomemenu {
+}
.teacheronly {
color: #990000;
}
+
+.header {
+}
+
+.headermain {
+ font-size: large;
+ font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+ font-size: x-large;
+ font-weight: bold;
+}
+
+.headerhomemenu {
+}
+
<!-- START OF FOOTER -->
<center>
-<hr size=1 noshade />
+<hr size="1" noshade="noshade" />
<p class="logininfo"><?=$loggedinas ?></p>
<p class="homelink"><?=$homelink ?></p>
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standard/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) { // This is what gets printed on the home page only ?>
-
- <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-
-<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>
-
- <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs ?>
-
- <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
- <TR>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
- <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
- </TD>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
- </TR>
- </TABLE>
- <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line ?>
-
- <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php
+ if ($focus) {
+ echo " onload=setfocus()";
+ }
+ echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) { // This is what gets printed on the home page only ?>
+
+ <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+ <tr>
+ <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
+ <tr>
+ <td valign="top" class="headermain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <table border="0" cellpadding="3" cellspacing="0" width="100%">
+ <tr>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
+ <font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
+ </td>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
+ echo $button;
+ ?></td>
+ </tr>
+ </table>
+ <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <hr size="1" noshade />
+
+<?php } ?>
<!-- END OF HEADER -->
.teacheronly {
color: #990000;
}
+
+.header {
+}
+
+.headermain {
+ font-size: large;
+ font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+ font-size: x-large;
+ font-weight: bold;
+}
+
+.headerhomemenu {
+}
+
<!-- START OF FOOTER -->
<center>
-<hr size=1 noshade />
+<hr size="1" noshade="noshade" />
<p class="logininfo"><?=$loggedinas ?></p>
<p class="homelink"><?=$homelink ?></p>
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardblue/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) { // This is what gets printed on the home page only ?>
-
- <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-
-<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>
-
- <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs ?>
-
- <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
- <TR>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
- <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
- </TD>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
- </TR>
- </TABLE>
- <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line ?>
-
- <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php
+ if ($focus) {
+ echo " onload=setfocus()";
+ }
+ echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) { // This is what gets printed on the home page only ?>
+
+ <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+ <tr>
+ <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
+ <tr>
+ <td valign="top" class="headermain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <table border="0" cellpadding="3" cellspacing="0" width="100%">
+ <tr>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
+ <font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
+ </td>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
+ echo $button;
+ ?></td>
+ </tr>
+ </table>
+ <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <hr size="1" noshade />
+
+<?php } ?>
<!-- END OF HEADER -->
.teacheronly {
color: #990000;
}
+
+.header {
+}
+
+.headermain {
+ font-size: large;
+ font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+ font-size: x-large;
+ font-weight: bold;
+}
+
+.headerhomemenu {
+}
+
<!-- START OF FOOTER -->
<center>
-<hr size=1 noshade />
+<hr size="1" noshade="noshade" />
<p class="logininfo"><?=$loggedinas ?></p>
<p class="homelink"><?=$homelink ?></p>
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardgreen/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) { // This is what gets printed on the home page only ?>
-
- <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-
-<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>
-
- <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs ?>
-
- <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
- <TR>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
- <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
- </TD>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
- </TR>
- </TABLE>
- <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line ?>
-
- <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php
+ if ($focus) {
+ echo " onload=setfocus()";
+ }
+ echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) { // This is what gets printed on the home page only ?>
+
+ <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+ <tr>
+ <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
+ <tr>
+ <td valign="top" class="headermain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <table border="0" cellpadding="3" cellspacing="0" width="100%">
+ <tr>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
+ <font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
+ </td>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
+ echo $button;
+ ?></td>
+ </tr>
+ </table>
+ <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <hr size="1" noshade />
+
+<?php } ?>
<!-- END OF HEADER -->
.teacheronly {
color: #990000;
}
+
+.header {
+}
+
+.headermain {
+ font-size: large;
+ font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+ font-size: x-large;
+ font-weight: bold;
+}
+
+.headerhomemenu {
+}
+
<!-- START OF FOOTER -->
<center>
-<hr size=1 noshade />
+<hr size="1" noshade="noshade" />
<p class="logininfo"><?=$loggedinas ?></p>
<p class="homelink"><?=$homelink ?></p>
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardlogo/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) { // This is what gets printed on the home page only ?>
-
- <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP>
- <IMG BORDER=0 SRC="<?=$CFG->wwwroot?>/theme/standardlogo/logo.jpg">
- </TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-
-<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>
-
- <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs ?>
-
- <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
- <TR>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
- <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
- </TD>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
- </TR>
- </TABLE>
- <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line ?>
-
- <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php
+ if ($focus) {
+ echo " onload=setfocus()";
+ }
+ echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) { // This is what gets printed on the home page only ?>
+
+ <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+ <tr>
+ <td valign="top" class="headerhomemain"><img
+ border="0" src="<?php echo "$CFG->wwwroot/theme/$CFG->theme/logo.jpg" ?>"></td>
+ <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
+ <tr>
+ <td valign="top" class="headermain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <table border="0" cellpadding="3" cellspacing="0" width="100%">
+ <tr>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
+ <font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
+ </td>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
+ echo $button;
+ ?></td>
+ </tr>
+ </table>
+ <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <hr size="1" noshade />
+
+<?php } ?>
<!-- END OF HEADER -->
.teacheronly {
color: #990000;
}
+
+.header {
+}
+
+.headermain {
+ font-size: large;
+ font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+ font-size: x-large;
+ font-weight: bold;
+}
+
+.headerhomemenu {
+}
+
<!-- START OF FOOTER -->
<center>
-<hr size=1 noshade />
+<hr size="1" noshade="noshade" />
<p class="logininfo"><?=$loggedinas ?></p>
<p class="homelink"><?=$homelink ?></p>
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardred/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) { // This is what gets printed on the home page only ?>
-
- <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-
-<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>
-
- <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs ?>
-
- <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
- <TR>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
- <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
- </TD>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
- </TR>
- </TABLE>
- <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line ?>
-
- <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php
+ if ($focus) {
+ echo " onload=setfocus()";
+ }
+ echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) { // This is what gets printed on the home page only ?>
+
+ <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+ <tr>
+ <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
+ <tr>
+ <td valign="top" class="headermain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <table border="0" cellpadding="3" cellspacing="0" width="100%">
+ <tr>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
+ <font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
+ </td>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
+ echo $button;
+ ?></td>
+ </tr>
+ </table>
+ <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <hr size="1" noshade />
+
+<?php } ?>
<!-- END OF HEADER -->
.teacheronly {
color: #990000;
}
+
+.header {
+}
+
+.headermain {
+ font-size: large;
+ font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+ font-size: x-large;
+ font-weight: bold;
+}
+
+.headerhomemenu {
+}
+
<!-- START OF FOOTER -->
<center>
-<hr size=1 noshade />
+<hr size="1" noshade="noshade" />
<p class="logininfo"><?=$loggedinas ?></p>
<p class="homelink"><?=$homelink ?></p>
-<HTML<?=$direction?>>
-<HEAD>
-<TITLE><?=$title ?></TITLE>
-<META NAME="keywords" CONTENT="Moodle, <?=$title ?> ">
-<?=$meta ?>
-<LINK REL="stylesheet" TYPE="text/css" HREF="<?=$styles ?>">
-<LINK REL="SHORTCUT ICON" HREF="<?=$CFG->wwwroot?>/theme/standardwhite/favicon.ico">
-<? include("$CFG->javascript"); ?>
-</HEAD>
-
-<BODY <? if ($focus) { echo "onLoad=setfocus()"; } echo " bgcolor=\"$THEME->body\">"; ?>
-
-<? if ($home) { // This is what gets printed on the home page only ?>
-
- <TABLE WIDTH=100% CELLPADDING=10 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-
-<? } else if ($heading) { // This is what gets printed on any other page with a heading ?>
-
- <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
- <TR>
- <TD VALIGN=TOP><FONT SIZE=4><B><?=$heading?></B></FONT></TD>
- <TD ALIGN=RIGHT VALIGN=TOP><?=$menu ?></TD>
- </TR>
- </TABLE>
-
-<? } ?>
-
-
-<? if ($navigation) { // This is the navigation table with breadcrumbs ?>
-
- <TABLE BORDER=0 CELLPADDING=3 CELLSPACING=0 WIDTH=100%>
- <TR>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar">
- <FONT SIZE=2><B><? print_navigation("$navigation"); ?></B></FONT>
- </TD>
- <TD BGCOLOR="<?=$THEME->cellheading?>" CLASS="navbar" ALIGN=RIGHT WIDTH=20 VALIGN=TOP><?=$button ?></TD>
- </TR>
- </TABLE>
- <IMG SRC="<?=$CFG->wwwroot?>/pix/spacer.gif" ALT="" HEIGHT=5 WIDTH=1><BR>
-
-<? } else if ($heading) { // If no navigation, but a heading, then print a line ?>
-
- <HR SIZE=1 NOSHADE>
-
-<? } ?>
+<!-- No doctype yet - we are slowly migrating towards XHTML transitional 1.0 -->
+<html<?php echo $direction ?>>
+<head>
+<title><?php echo $title ?></title>
+<meta name="keywords" content="moodle, <?php echo $title ?> ">
+<?php echo $meta ?>
+<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>">
+<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico">
+<?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php
+ if ($focus) {
+ echo " onload=setfocus()";
+ }
+ echo " bgcolor=\"$THEME->body\">";
+?>
+
+<?php if ($home) { // This is what gets printed on the home page only ?>
+
+ <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
+ <tr>
+ <td valign="top" class="headerhomemain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } else if ($heading) { // This is what gets printed on any other page with a heading ?>
+
+ <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
+ <tr>
+ <td valign="top" class="headermain"><?php echo $heading?></td>
+ <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
+ </tr>
+ </table>
+
+<?php } ?>
+
+
+<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
+
+ <table border="0" cellpadding="3" cellspacing="0" width="100%">
+ <tr>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
+ <font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
+ </td>
+ <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
+ echo $button;
+ ?></td>
+ </tr>
+ </table>
+ <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height=5 width=1><br>
+
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line ?>
+
+ <hr size="1" noshade />
+
+<?php } ?>
<!-- END OF HEADER -->
.teacheronly {
color: #990000;
}
+
+.header {
+}
+
+.headermain {
+ font-size: large;
+ font-weight: bold;
+}
+
+.headermenu {
+}
+
+.headerhome {
+}
+
+.headerhomemain {
+ font-size: x-large;
+ font-weight: bold;
+}
+
+.headerhomemenu {
+}