--- /dev/null
+<div style="text-align:center;">
+ <h2 style="margin-bottom:2px;">Anomaly Theme Pack</h2>
+ <h3 style="margin:0">by <a href="http://newschoollearning.com" title="NewSchool Learning: Standards Based Moodle Designs">Patrick Malley</a></h3><h4 style="margin:3px">Version: 20090119</h4>
+</div>
+<div>
+</div>
+
+<h3 style="margin-bottom:5px; margin-top:5px;">Changing Your Color Preference</h3>
+
+<p>To assist you in making color changes, I have separated all color attributes into separate CSS documents named styles_[color].css where [color] is actually the name of the different color variants.</p>
+
+<p>The default color for this theme is green. To select a different color variant: </p>
+<ol>
+ <li>Remane styles_select.css to styles_green.css.</li>
+ <li>Rename the styles_[color].css variant that you would like to use to styles_select.css.</li>
+ <li>That's it. Where you expecting something trickier?</li>
+</ol>
+
+<h3 style="margin-bottom:5px; margin-top:5px;">Editing your Site Tagline</h3>
+
+<p>This theme uses PHP code in header.html that automatically pulls the site description that you have entered in Admin > Front page > Front page settings and places it directly below your site name at the top of the front page.</p>
+
+<p>Here's the code in header.html that is responsible for this (highlighted in red; found on line 58):</p>
+
+ <code style="display:block; padding:10px; margin:10px; background:#f6f6f6; border:1px solid #eee;">
+ <h1 class="headermain"><?php echo $heading ?><span style="color:#ff0000"><br /><span><?php echo $COURSE->summary //Retrieves Site Description from Front Page -> Front Page Settings ?></span></span></h1>
+ </code>
+<p>If you don't want to show a tagline, simply delete the code highlighted in red above from header.html and save.</p>
+
+<p>If you want to show a tagline, BUT would prefer your tagline to be something other than your site description, you can manually enter your Tagline into header.html in the same sort of way.</p>
+
+<p>For example, if I wanted to display my tagline - Standards Based Moodle Designs - I would edit the above code as follows:</p>
+
+ <code style="display:block; padding:10px; margin:10px; background:#f6f6f6; border:1px solid #eee;">
+ <h1 class="headermain"><?php echo $heading ?><br /><span><span style="color:#ff0000;">Standards Based Moodle Designs</span></span></h1>
+ </code>
+
+<h3 style="margin-bottom:5px; margin-top:5px;">Licensing</h3>
+
+<p>This theme is licensed under <a href="http://docs.moodle.org/en/License">Moodle's GNU General Public License</a>. Feel free to use it, share it and edit it as you see fit. All that I ask is that you give me credit for the work, and do not ever take credit for making it yourself.</p>
+
+<p>Please enjoy the theme.</p>
\ No newline at end of file
--- /dev/null
+<?PHP // $Id$
+
+////////////////////////////////////////////////////////////////////////////////
+/// This file contains a few configuration variables that control
+/// how Moodle uses this theme.
+////////////////////////////////////////////////////////////////////////////////
+
+
+$THEME->sheets = array('styles', 'styles_select');
+
+/// This variable is an array containing the names of all the
+/// stylesheet files you want included in this theme, and in what order
+////////////////////////////////////////////////////////////////////////////////
+
+
+$THEME->standardsheets = true;
+
+/// This variable can be set to an array containing
+/// filenames from the *STANDARD* theme. If the
+/// array exists, it will be used to choose the
+/// files to include in the standard style sheet.
+/// When false, then no files are used.
+/// When true or NON-EXISTENT, then ALL standard files are used.
+/// This parameter can be used, for example, to prevent
+/// having to override too many classes.
+/// Note that the trailing .css should not be included
+/// eg $THEME->standardsheets = array('styles_layout','styles_fonts','styles_color');
+////////////////////////////////////////////////////////////////////////////////
+
+
+$THEME->parent = '';
+
+/// This variable can be set to the name of a parent theme
+/// which you want to have included before the current theme.
+/// This can make it easy to make modifications to another
+/// theme without having to actually change the files
+/// If this variable is empty or false then a parent theme
+/// is not used.
+////////////////////////////////////////////////////////////////////////////////
+
+
+$THEME->parentsheets = false;
+
+/// This variable can be set to an array containing
+/// filenames from a chosen *PARENT* theme. If the
+/// array exists, it will be used to choose the
+/// files to include in the standard style sheet.
+/// When false, then no files are used.
+/// When true or NON-EXISTENT, then ALL standard files are used.
+/// This parameter can be used, for example, to prevent
+/// having to override too many classes.
+/// Note that the trailing .css should not be included
+/// eg $THEME->parentsheets = array('styles_layout','styles_fonts','styles_color');
+////////////////////////////////////////////////////////////////////////////////
+
+
+$THEME->modsheets = true;
+
+/// When this is enabled, then this theme will search for
+/// files named "styles.php" inside all Activity modules and
+/// include them. This allows modules to provide some basic
+/// layouts so they work out of the box.
+/// It is HIGHLY recommended to leave this enabled.
+
+
+$THEME->blocksheets = true;
+
+/// When this is enabled, then this theme will search for
+/// files named "styles.php" inside all Block modules and
+/// include them. This allows Blocks to provide some basic
+/// layouts so they work out of the box.
+/// It is HIGHLY recommended to leave this enabled.
+
+
+$THEME->langsheets = false;
+
+/// By setting this to true, then this theme will search for
+/// a file named "styles.php" inside the current language
+/// directory. This allows different languages to provide
+/// different styles.
+
+
+$THEME->courseformatsheets = true;
+
+/// When this is enabled, this theme will search for files
+/// named "styles.php" inside all course formats and
+/// include them. This allows course formats to provide
+/// their own default styles.
+
+
+$THEME->metainclude = false;
+
+/// When this is enabled (or not set!) then Moodle will try
+/// to include a file meta.php from this theme into the
+/// <head></head> part of the page.
+
+
+$THEME->standardmetainclude = true;
+
+
+/// When this is enabled (or not set!) then Moodle will try
+/// to include a file meta.php from the standard theme into the
+/// <head></head> part of the page.
+
+
+$THEME->parentmetainclude = false;
+
+/// When this is enabled (or not set!) then Moodle will try
+/// to include a file meta.php from the parent theme into the
+/// <head></head> part of the page.
+
+
+$THEME->navmenuwidth = 50;
+
+/// You can use this to control the cutoff point for strings
+/// in the navmenus (list of activities in popup menu etc)
+/// Default is 50 characters wide.
+
+
+$THEME->makenavmenulist = false;
+
+/// By setting this to true, then you will have access to a
+/// new variable in your header.html and footer.html called
+/// $navmenulist ... this contains a simple XHTML menu of
+/// all activities in the current course, mostly useful for
+/// creating popup navigation menus and so on.
+
+
+
+$THEME->resource_mp3player_colors =
+ 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
+ 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
+ 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes';
+
+/// With this you can control the colours of the "big" MP3 player
+/// that is used for MP3 resources.
+
+
+$THEME->filter_mediaplugin_colors =
+ 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
+ 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
+ 'waitForPlay=yes';
+
+/// ...And this controls the small embedded player
+
+
+$THEME->custompix = false;
+
+/// If true, then this theme must have a "pix"
+/// subdirectory that contains copies of all
+/// files from the moodle/pix directory, plus a
+/// "pix/mod" directory containing all the icons
+/// for all the activity modules.
+
+$THEME->block_l_min_width = 200;
+$THEME->block_l_max_width = 200;
+$THEME->block_r_min_width = 200;
+$THEME->block_r_max_width = 200;
+
+/// These values define the min and max width of the left and right
+/// sideblocks in the course pages. If not set or false the standard
+/// values are taken.
+
+
+///$THEME->rarrow = '►' //OR '→';
+///$THEME->larrow = '◄' //OR '←';
+///$CFG->block_search_button = link_arrow_right(get_string('search'), $url='', $accesshide=true);
+///
+/// Accessibility: Right and left arrow-like characters are
+/// used in the breadcrumb trail, course navigation menu
+/// (previous/next activity), calendar, and search forum block.
+///
+/// If the theme does not set characters, appropriate defaults
+/// are set by (lib/weblib.php:check_theme_arrows). The suggestions
+/// above are 'silent' in a screen-reader like JAWS. Please DO NOT
+/// use < > » - these are confusing for blind users.
+////////////////////////////////////////////////////////////////////////////////
+
+?>
--- /dev/null
+<?PHP /* $Id$ */
+
+/// We use PHP so we can do value substitutions into the styles
+ $nomoodlecookie = true;
+
+ require_once("../../config.php");
+ $themename = optional_param('themename', NULL, PARAM_SAFEDIR);
+
+ $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
+
+///
+/// You can hardcode colours in this file if you
+/// don't care about this.
+
+?>
+body {
+ background-color:#FFFFFF;
+}
+p, a {
+ font-size:small;
+}
+
+h1, h2, h3 {
+ padding-left:0px;
+ background-color:transparent;
+ color:#000000;
+}
+
+h1 {
+ font-size:1.7em;
+ margin:0.5em 0 0;
+}
+
+h2 {
+ font-size:1.4em;
+ margin:0.5em 0 0;
+}
+
+h3 {
+ font-size:1.2em;
+ margin:0.5em 0 0;
+}
+
+
+li {
+ margin-bottom: 10px;
+}
+
+ul {
+ margin-top: 10px;
+}
+
+.question {
+ font-size: medium;
+ font-weight: bold;
+ border: 1px dotted;
+ padding: 10px;
+ background-color: #EEEEEE;
+}
+
+.answer {
+ font-size: medium;
+ border: none;
+ padding-left: 40px;
+}
+
+.normaltext {
+ font-size: medium;
+ border: none;
+ margin-left: 30px;
+}
+
+.answercode {
+ font-family: "Courier New", Courier, mono;
+ font-size: small;
+ border: none;
+ padding-left: 60px;
+}
+
+.questionlink {
+ font-size: medium;
+ border: none;
+ padding-left: 40px;
+}
+
+.examplecode {
+ font-family: "Courier New", Courier, mono;
+ font-size: small;
+ border: thin dashed #999999;
+ background-color: #FBFBFB;
+ margin: auto;
+ margin-top: 0.5em;
+ padding: 30px;
+ height: auto;
+ width: auto;
+}
+
+.spaced {
+ margin-bottom: 30px;
+}
--- /dev/null
+<?php
+
+ print_container_end(); // content container
+
+ print_container_start(false, '', 'footer');
+
+?>
+
+<div id="footer-b" class="clearfix">
+ <div id="footer-l">
+ <div id="footer-r">
+ <div id="footer-m" class="clearfix">
+
+ <div id="footer-logo">
+ <a href="http://moodle.org" target="_blank"><img src="<?php echo $CFG->themewww .'/'. current_theme() ?>/images/logo.jpg" title="Moodle <?php echo $CFG->release ?>"</a>
+ </div>
+
+ <div id="footer-helplink">
+ <?php echo page_doc_link(get_string('moodledocslink')); ?>
+ </div>
+
+ <div id="footer-loggedinas">
+ <?php echo $loggedinas; ?>
+ </div>
+
+ </div>
+ </div>
+ </div>
+</div>
+
+<?php
+
+ if ($navigation and false) { ?>
+ <div class="navbar clearfix">
+ <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
+ <div class="menu"><?php echo $menu; ?></div>
+ </div>
+ }
+
+
+ if (!empty($performanceinfo)) {
+ echo $performanceinfo;
+ }
+
+ if (debugging()) { ?>
+ <div class="validators"><ul>
+ <li><a href="http://validator.w3.org/check?verbose=1&ss=1&uri=<?php echo urlencode(qualified_me()) ?>">Validate HTML</a></li>
+ <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&url1=<?php echo urlencode(qualified_me()) ?>">Section 508 Check</a></li>
+ <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=0&warnp2n3e=1&url1=<?php echo urlencode(qualified_me()) ?>">WCAG 1 (2,3) Check</a></li>
+ </ul></div>
+<?php }
+
+ print_container_end();
+?>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div> <!-- end #page -->
+
+<script type="text/javascript" charset="utf-8">
+/* <![CDATA[ */
+ var CSSClass={};CSSClass.is=function(e,c){if(typeof e=="string")e=document.getElementById(e);var classes=e.className;if(!classes)return false;if(classes==c)return true;return e.className.search("\\b"+c+"\\b")!=-1;};CSSClass.add=function(e,c){if(typeof e=="string")e=document.getElementById(e);if(CSSClass.is(e,c))return;if(e.className)c=" "+c;e.className+=c;};CSSClass.remove=function(e,c){if(typeof e=="string")e=document.getElementById(e);e.className=e.className.replace(new RegExp("\\b"+c+"\\b\\s*","g"),"");};
+
+ var jsscript = {
+
+ corrections: function () {
+
+ // check for layouttabel and add haslayouttable class to body
+ function setbodytag () {
+ var bd = document.getElementsByTagName('body')[0];
+ if (bd) {
+ var tagname = 'nolayouttable';
+ if (document.getElementById('middle-column')) {
+ var lc = document.getElementById('left-column');
+ var rc = document.getElementById('right-column');
+ if ( lc && rc ) {
+ tagname = 'haslayouttable rightandleftcolumn';
+ } else if (lc) {
+ tagname = 'haslayouttable onlyleftcolumn';
+ } else if (rc) {
+ tagname = 'haslayouttable onlyrightcolumn';
+ } else {
+ tagname = 'haslayouttable onlymiddlecolumn';
+ }
+ }
+ CSSClass.add(bd, tagname);
+ } else {
+ setTimeout(function() { setbodytag() }, 10);
+ }
+ };
+
+ setbodytag();
+ },
+
+ init: function() {
+ jsscript.corrections();
+ }
+ };
+
+ jsscript.init();
+/* ]]> */
+</script>
+
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html<?php echo $direction ?>>
+<head>
+ <?php echo $meta ?>
+ <meta name="keywords" content="moodle, <?php echo $title ?> " />
+ <title><?php echo $title ?></title>
+ <link rel="shortcut icon" href="<?php echo $CFG->themewww .'/'. current_theme() ?>/favicon.ico" />
+ <?php include("$CFG->javascript"); ?>
+</head>
+
+<body<?php
+ echo " $bodytags";
+ if ($focus) {
+ echo " onload=\"setfocus()\"";
+ }
+ ?>>
+
+<div id="page">
+
+<!-- First, let's wrap the sides -->
+ <div id="wrapper-t">
+ <div id="wrapper-l">
+ <div id="wrapper-r">
+ <div id="wrapper-b">
+
+ <!-- Now, let's cap the corners -->
+
+ <div id="wrapper-tl">
+ <div id="wrapper-tr">
+ <div id="wrapper-bl">
+ <div id="wrapper-br">
+
+<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
+ if ($home) { // This is what gets printed on the home page only
+?>
+ <?php print_container_start(true, '', 'header-home'); ?>
+
+ <div id="header-t">
+ <div id="header-r">
+ <div id="header-l">
+ <div id="header-m" class="clearfix home">
+ <h1 class="headermain"><?php echo $heading ?><br />
+ <span><?php echo $COURSE->summary //Retrieves Site Description from Front Page -> Front Page Settings ?></span>
+ </h1>
+ <div class="headermenu"><?php echo $menu ?></div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <?php print_container_end(); ?>
+<?php } else if ($heading) { // This is what gets printed on any other page with a heading
+?>
+ <?php print_container_start(true, '', 'header'); ?>
+ <div id="header-t">
+ <div id="header-r">
+ <div id="header-l">
+ <div id="header-m" class="clearfix">
+ <h1 class="headermain"><?php echo $heading ?></h1>
+ <div class="headermenu"><?php echo $menu ?></div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <?php print_container_end(); ?>
+<?php } ?>
+<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
+ if ($navigation) { // This is the navigation bar with breadcrumbs ?>
+ <div class="navbar clearfix">
+ <div class="breadcrumb"><?php print_navigation($navigation); ?></div>
+ <div class="navbutton"><?php echo $button; ?></div>
+ </div>
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line
+?>
+<?php } ?>
+ <!-- END OF HEADER -->
+ <?php print_container_start(false, '', 'content'); ?>
--- /dev/null
+<!--[if IE 7]>
+ <link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpsthemewww ?>/anomaly/styles_ie7.css" />
+<![endif]-->
+<!--[if IE 6]>
+ <link rel="stylesheet" type="text/css" href="<?php echo $CFG->httpsthemewww ?>/anomaly/styles_ie6.css" />
+<![endif]-->
--- /dev/null
+
+/* Core */
+
+body {
+ padding:0;
+ margin:0;
+}
+
+body, p, th, td, li {
+ font-family:Georgia, Times, "Times New Roman", serif;
+ font-size:0.95em;
+ line-height:1.5;
+}
+
+p {
+ margin-top:0;
+ margin-bottom:1em;
+}
+
+#page {
+ margin:25px 4%;
+}
+
+#layout-table {
+ margin:0;
+ padding-top: 15px;
+}
+
+.weeks-format, .topics-format {
+ margin-top: 0;
+ padding-top: 10px;
+}
+
+.tabtree ul li ul li a.nolink span {
+ color:#000;
+}
+
+/* Header */
+
+#header h1.headermain,
+#header-home h1.headermain {
+ font-size:2.3em;
+ color:#fff;
+ padding:10px 0 20px 15px;
+ line-height:0.7;
+ font-weight:normal;
+}
+
+#header h1.headermain {
+ font-size:1.75em;
+}
+
+h1.headermain span {
+ font-size:0.45em;
+ color:#bbb;
+}
+
+h1.headermain span p {
+ margin-bottom: 0;
+}
+
+.headermenu {
+ color:#ccc;
+ margin-right:15px;
+}
+
+/* Navbar */
+
+.navbar {
+ border:none;
+ margin:0;
+}
+
+.navbar .breadcrumb .sep {
+ font-size:0.8em;
+ padding:0 5px;
+}
+/* Content */
+
+#content {
+ margin:0 11px;
+ background: #fff;
+ padding:10px 0 25px;
+}
+
+#site-index #content,
+#course-view #content {
+ padding-top:0;
+}
+
+.sitetopic {
+ border:none;
+}
+
+h2.headingblock {
+ background:#f2f2f2;
+ border-width:0 0 1px 0;
+ padding:4px 5px 2px;
+}
+
+/* Sideblocks */
+
+.sideblock .header {
+ padding:7px 8px 0;
+ border:none;
+ background:url(images/sideblock_t.jpg) no-repeat 0 0;
+}
+
+.sideblock .title h2 {
+ font-size:1.1em;
+}
+
+.sideblock .content {
+ background:#f2f2f2;
+ border-width:0 1px 0 1px;
+ border-color:#e3e3e3;
+ padding-bottom:0;
+}
+
+.sideblock {
+ background:url(images/sideblock_b.jpg) no-repeat 0 100%;
+ padding-bottom:11px;
+}
+
+.block_login .header {
+ background:url(images/sideblock-y_t.jpg) no-repeat 0 0;
+}
+
+.block_login .content {
+ background:#fcfed9;
+ border-color:#ebedc8;
+}
+
+.block_login {
+ background:url(images/sideblock-y_b.jpg) no-repeat 0 100%;
+}
+
+#right-column .hidden .header,
+#left-column .hidden .header {
+ border-bottom:none;
+}
+
+#left-column .hidden {
+ padding-bottom:11px;
+}
+
+.sideblock .title .commands {
+ padding-bottom:5px;
+}
+
+.block_adminblock {
+ width:200px;
+}
+
+.weeks-format #left-column,
+.weeks-format #right-column,
+.topics-format #left-column,
+.topics-format #right-column {
+ width: 200px;
+}
+
+.weeks-format #middle-column ,
+.topics-format #middle-column {
+ margin: 0 210px 0 210px;
+}
+
+.block_course_summary .header,
+.block_course_summary .content,
+.block_course_summary {
+ background: none;
+ border: none;
+}
+
+.block_online_users .info {
+ padding-bottom: 3px;
+}
+
+/* Calendar */
+
+.sidecalendar .sideblock,
+.sidecalendar .sideblock .header {
+ background:none;
+}
+
+/* User */
+
+.userinfobox {
+ border:none;
+}
+
+.userinfobox .content {
+ border:1px solid #ddd;
+ background:#f2f2f2;
+}
+
+
+/* Course */
+
+.coursebox {
+ border-width: 0 0 1px 0;
+ padding-bottom:10px;
+}
+
+.categorybox {
+ border:none;
+}
+.coursebox .info {
+ width:35%;
+}
+
+.coursebox .summary {
+ width:55%;
+}
+
+.coursebox .teachers {
+ padding-left: 1.5em;
+}
+
+.courseboxes {
+ width:60%;
+ margin: 0 auto;
+}
+
+#intro {
+ background:#f2f2f2;
+}
+
+/* Forums */
+
+.forumpost {
+ border-width:0;
+}
+
+.forumpost td.left {
+ background:none;
+}
+
+.forumpost td.content {
+ border-width:1px 0 2px 0;
+ border-style:solid;
+ padding-top:10px;
+}
+
+.forumpost .topic {
+ background:#f2f2f2;
+}
+
+.forumpost .topic.starter {
+ background:#ddd;
+}
+
+.forumpost .topic.starter .subject {
+ font-size:1.2em;
+}
+
+/* Tables */
+
+#participants th,
+#user-grade th,
+.logtable th,
+.editcourse th,
+#admin-roles-override th,
+#admin-roles-assign th,
+.forumheaderlist th {
+ background:#f2f2f2;
+ border-bottom:1px solid #bbb;
+
+}
+
+/* Login */
+
+.loginbox {
+ margin-bottom: 0;
+ padding-bottom: 15px;
+}
+
+/* Modules */
+
+#mod-forum-search #wrapper-br {
+ padding-bottom: 21px;
+}
+
+#mod-forum-search .generalbox {
+ padding-bottom: 0;
+ margin-bottom: 0;
+}
+
+#mod-forum-search #content {
+ padding:0 5% 20px 5%}
+
+/* Footer */
+
+#footer {
+ margin:0 !important;
+ color:#ccc;
+}
+#footer-logo {
+ float:left;
+ padding-left:20px;
+ line-height: 0;
+}
+
+#footer-loggedinas {
+ float:right;
+ padding-right:20px;
+}
+
+#footer-helplink {
+ font-size: 0.8em;
+ float: left;
+ padding-left: 15px;
+ line-height: 1em;
+ padding-top: 3px;
+}
+
+#footer-helplink img {
+ margin-bottom: 5px;
+}
+
+/* Various Hacks */
+
+#theme-index #page {
+ min-width: 900px;
+}
+
+.admin #page {
+ min-width: 700px;
+}
\ No newline at end of file
--- /dev/null
+<?PHP /* $Id$ */
+
+/// Every theme should contain a copy of this script. It lets us
+/// set up variables and so on before we include the raw CSS files.
+/// The output of this script should be a completely standard CSS file.
+
+/// THERE SHOULD BE NO NEED TO MODIFY THIS FILE!! USE CONFIG.PHP INSTEAD.
+
+
+ $lifetime = 600; // Seconds to cache this stylesheet
+ $nomoodlecookie = true; // Cookies prevent caching, so don't use them
+ require_once("../../config.php"); // Load up the Moodle libraries
+ $themename = basename(dirname(__FILE__)); // Name of the folder we are in
+ $forceconfig = optional_param('forceconfig', '', PARAM_FILE); // Get config from this theme
+ $lang = optional_param('lang', '', PARAM_FILE); // Look for styles in this language
+
+ style_sheet_setup(time(), $lifetime, $themename, $forceconfig, $lang);
+
+?>
--- /dev/null
+/*
+ * These styles are ONLY included for IE 6 (via meta.php)
+ */
+
--- /dev/null
+/*
+ * These styles are ONLY included for IE 7 (via meta.php)
+ */
+
--- /dev/null
+body {
+ background:#C8C9C7;
+}
+
+a:link,
+a:visited,
+.tabtree ul li ul li a span {
+ color:#4C6B30;
+}
+
+a:hover {
+ color:#702B33;
+}
+
+.headermenu a:link,
+.headermenu a:visited {
+ color:#697F55;
+}
+
+h2.headingblock,
+.forumpost .content {
+ border-color:#697f55;
+}
+
+.navbar,
+#course-view .weeks .current td.side,
+#course-view .topics .current td.side {
+ background:#697f55;
+}
+
+.navbar a:link,
+.navbar a:visited {
+ color:#fff;
+}
+
+.navbar a:hover {
+ color:#000;
+}
+
+.navbar .breadcrumb .sep {
+ color:#333;
+}
+
+#wrapper-t {
+ background:url(images/wrapper_t.jpg) repeat-x 0 0;
+}
+
+#wrapper-l {
+ background:url(images/wrapper_l.jpg) repeat-y 0 0;
+}
+
+#wrapper-r {
+ background:url(images/wrapper_r.jpg) repeat-y 100% 0;
+}
+
+#wrapper-b {
+ background:url(images/wrapper_b.jpg) repeat-x 100% 100%;
+}
+
+#wrapper-tl {
+ background:url(images/wrapper_tl.jpg) no-repeat 0 0;
+}
+
+#wrapper-tr {
+ background:url(images/wrapper_tr.jpg) no-repeat 100% 0;
+}
+
+#wrapper-bl {
+ background:url(images/wrapper_bl.jpg) no-repeat 0 100%;
+}
+
+#wrapper-br {
+ background:url(images/wrapper_br.jpg) no-repeat 100% 100%;
+}
+
+#header-t {
+ background:url(images/header_t.jpg) repeat-x 0 0;
+}
+
+#header-r {
+ background:url(images/header_r.jpg) no-repeat 100% 0;
+}
+
+#header-l {
+ background:url(images/header_l.jpg) no-repeat 0 0;
+ padding:11px 0 0;
+}
+
+#header-m {
+ background:#222;
+ padding:0 10px;
+}
+
+#header-m.home {
+ border-bottom:5px solid #697F55;
+}
+
+
+#footer-b {
+ background:url(images/footer_b.jpg) repeat-x 0 100%;
+}
+
+#footer-l {
+ background:url(images/footer_l.jpg) no-repeat 0 100%;
+}
+
+#footer-r {
+ background:url(images/footer_r.jpg) no-repeat 100% 100%;
+ padding-bottom: 11px;
+}
+
+#footer-m {
+ background:#000;
+ padding-top:11px;
+}