--- /dev/null
+<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>
+
+<? } ?>
+
+<!-- END OF HEADER -->
--- /dev/null
+<?PHP // $Id$\r
+\r
+/// We use PHP so we can do value substitutions into the styles\r
+\r
+ require_once("../../config.php"); \r
+\r
+ if (isset($themename)) {\r
+ $CFG->theme = $themename;\r
+ }\r
+\r
+ $themeurl = "$CFG->wwwroot/theme/$CFG->theme";\r
+\r
+/// From here on it's nearly a normal stylesheet.\r
+/// First are some CSS definitions for normal tags, \r
+/// then custom tags follow.\r
+///\r
+/// Note that colours are all defined in config.php\r
+/// in this directory\r
+\r
+?>\r
+\r
+\r
+a:link {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
+ text-decoration: none; \r
+ color: blue;}\r
+a:visited {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
+ text-decoration: none; \r
+ color: blue;}\r
+a:hover {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
+ text-decoration: underline; \r
+ color: red;}\r
+\r
+body {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+\r
+p {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+\r
+h1 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+\r
+h2 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+\r
+h3 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+\r
+h4 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+\r
+th {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
+ font-weight: bold; \r
+ background-color: <?PHP echo $THEME->cellheading?>;}\r
+\r
+td {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+\r
+li {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
+\r
+form { margin-bottom: 0; }\r
+\r
+.highlight {\r
+ background-color: <?PHP echo $THEME->highlight?>;\r
+}\r
+\r
+.headingblock {\r
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
+ border-width: 1px;\r
+ border-color: <?PHP echo $THEME->borders?>;\r
+ border-style: solid;\r
+}\r
+\r
+.navbar {\r
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
+}\r
+\r
+.generalbox {\r
+ border-width: 1px;\r
+ border-color: <?PHP echo $THEME->borders?>;\r
+ border-style: solid;\r
+}\r
+\r
+.generaltable {\r
+}\r
+\r
+.generaltableheader {\r
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
+}\r
+\r
+.generaltablecell {\r
+}\r
+\r
+.sideblock {\r
+ border-width: 1px;\r
+ border-color: <?PHP echo $THEME->borders?>;\r
+ border-style: solid;\r
+}\r
+\r
+.sideblockheading {\r
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
+}\r
+\r
+.sideblockmain {\r
+}\r
+\r
+.sideblocklinks {\r
+}\r
+\r
+.sideblocklatestnews {\r
+}\r
+\r
+.sideblockrecentactivity {\r
+}\r
+\r
+.outlineheadingblock {\r
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
+ border-width: 1px;\r
+ border-color: <?PHP echo $THEME->borders?>;\r
+ border-style: solid;\r
+}\r
+\r
+.weeklyoutline {\r
+}\r
+\r
+.topicsoutline {\r
+}\r
+\r
+.forumpost {\r
+ border-width: 1px;\r
+ border-color: <?PHP echo $THEME->borders?>;\r
+ border-style: solid;\r
+}\r
+\r
+.forumpostheader {\r
+}\r
+\r
+.forumpostheadertopic {\r
+}\r
+\r
+.forumpostpicture {\r
+}\r
+\r
+.forumpostside {\r
+}\r
+\r
+.forumpostmessage {\r
+}\r