--- /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/green/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">
+
+<? } ?>
+
+<!-- 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
+/// New classes always get added to the end of the file.\r
+///\r
+/// Note that a group of standard colours are all \r
+/// defined in config.php in this directory. The\r
+/// reason for this is because Moodle uses the same\r
+/// colours to provide oldstyle formatting for \r
+/// browsers without CSS.\r
+///\r
+/// You can hardcode colours in this file if you \r
+/// don't care about this.\r
+\r
+?>\r
+\r
+\r
+body, td, th, li {\r
+ font-family: Verdana, Arial, Helvetica, sans-serif;\r
+ font-size: 100%;\r
+}\r
+\r
+th {\r
+ font-weight: bold; \r
+ background-color: <?PHP echo $THEME->cellheading?>;\r
+}\r
+\r
+a:link {\r
+ text-decoration: none; \r
+ color: #000000;\r
+ font-weight: bold; \r
+}\r
+\r
+a:visited {\r
+ text-decoration: none; \r
+ color: #000000;\r
+ font-weight: bold; \r
+}\r
+\r
+a:hover {\r
+ text-decoration: underline; \r
+ color: purple;\r
+ font-weight: bold; \r
+}\r
+\r
+form { \r
+ margin-bottom: 0;\r
+}\r
+\r
+\r
+\r
+\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
+ font-size: 100%;\r
+}\r
+\r
+.navbar {\r
+ background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\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
+ background-image: url(<?PHP echo "$themeurl"?>/leftside.jpg);\r
+ background-repeat: repeat-y;\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
+.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
+ background-image: url(<?PHP echo "$themeurl"?>/gradient1.jpg);\r
+}\r
+\r
+.forumpostmessage {\r
+}\r
+\r
+\r
+.weeklyoutline {\r
+}\r
+\r
+.weeklyoutlineside {\r
+}\r
+\r
+.weeklyoutlinesidehighlight {\r
+}\r
+\r
+.weeklyoutlinecontent {\r
+}\r
+\r
+.weeklyoutlinecontenthighlight {\r
+}\r
+\r
+\r
+.topicsoutline {\r
+}\r
+\r
+.topicsoutlineside {\r
+}\r
+\r
+.topicsoutlinesidehighlight {\r
+}\r
+\r
+.topicsoutlinecontent {\r
+}\r
+\r
+.topicsoutlinecontenthighlight {\r
+}\r
+\r
+\r
+.siteinfo {\r
+ border-width: 1px;\r
+ border-color: <?PHP echo $THEME->borders?>;\r
+ border-style: solid;\r
+}\r
+\r
+.siteinfocontent {\r
+}\r
+\r
+\r
+.generalbox {\r
+ border-width: 1px;\r
+ border-color: <?PHP echo $THEME->borders?>;\r
+ border-style: solid;\r
+ font-size: 100%;\r
+}\r
+\r
+.generalboxcontent {\r
+ background-color: <?PHP echo $THEME->body?>;\r
+}\r
+\r
+\r
+\r
+\r
+.top {\r
+ background-image: url(<?PHP echo "$themeurl"?>/top.jpg);\r
+ background-repeat: repeat-x;\r
+}\r