]> git.mjollnir.org Git - moodle.git/commitdiff
theme/anomaly MDL-18860 Adding this theme to Moodle 2 so developers have something...
authormoodler <moodler>
Wed, 15 Apr 2009 08:01:53 +0000 (08:01 +0000)
committermoodler <moodler>
Wed, 15 Apr 2009 08:01:53 +0000 (08:01 +0000)
46 files changed:
theme/anomaly/README.html [new file with mode: 0644]
theme/anomaly/changelog.txt [new file with mode: 0644]
theme/anomaly/config.php [new file with mode: 0644]
theme/anomaly/docstyles.php [new file with mode: 0644]
theme/anomaly/favicon.ico [new file with mode: 0644]
theme/anomaly/footer.html [new file with mode: 0644]
theme/anomaly/header.html [new file with mode: 0644]
theme/anomaly/images/footer_b.jpg [new file with mode: 0644]
theme/anomaly/images/footer_l.jpg [new file with mode: 0644]
theme/anomaly/images/footer_r.jpg [new file with mode: 0644]
theme/anomaly/images/header_l.jpg [new file with mode: 0644]
theme/anomaly/images/header_r.jpg [new file with mode: 0644]
theme/anomaly/images/header_t.jpg [new file with mode: 0644]
theme/anomaly/images/logo.jpg [new file with mode: 0644]
theme/anomaly/images/sideblock-y_b.jpg [new file with mode: 0644]
theme/anomaly/images/sideblock-y_t.jpg [new file with mode: 0644]
theme/anomaly/images/sideblock_b.jpg [new file with mode: 0644]
theme/anomaly/images/sideblock_t.jpg [new file with mode: 0644]
theme/anomaly/images/source_anomaly.png [new file with mode: 0644]
theme/anomaly/images/wrapper_b.jpg [new file with mode: 0644]
theme/anomaly/images/wrapper_bl.jpg [new file with mode: 0644]
theme/anomaly/images/wrapper_br.jpg [new file with mode: 0644]
theme/anomaly/images/wrapper_l.jpg [new file with mode: 0644]
theme/anomaly/images/wrapper_r.jpg [new file with mode: 0644]
theme/anomaly/images/wrapper_t.jpg [new file with mode: 0644]
theme/anomaly/images/wrapper_tl.jpg [new file with mode: 0644]
theme/anomaly/images/wrapper_tr.jpg [new file with mode: 0644]
theme/anomaly/meta.php [new file with mode: 0644]
theme/anomaly/pix/tab/left.gif [new file with mode: 0644]
theme/anomaly/pix/tab/left_active.gif [new file with mode: 0644]
theme/anomaly/pix/tab/left_active_hover.gif [new file with mode: 0644]
theme/anomaly/pix/tab/left_hover.gif [new file with mode: 0644]
theme/anomaly/pix/tab/right.gif [new file with mode: 0644]
theme/anomaly/pix/tab/right_active.gif [new file with mode: 0644]
theme/anomaly/pix/tab/right_active_hover.gif [new file with mode: 0644]
theme/anomaly/pix/tab/right_end.gif [new file with mode: 0644]
theme/anomaly/pix/tab/right_hover.gif [new file with mode: 0644]
theme/anomaly/pix/tab/right_last.gif [new file with mode: 0755]
theme/anomaly/pix/tab/rtlbg.gif [new file with mode: 0755]
theme/anomaly/pix/tab/tabrow1.gif [new file with mode: 0755]
theme/anomaly/screenshot.jpg [new file with mode: 0644]
theme/anomaly/styles.css [new file with mode: 0644]
theme/anomaly/styles.php [new file with mode: 0644]
theme/anomaly/styles_ie6.css [new file with mode: 0755]
theme/anomaly/styles_ie7.css [new file with mode: 0755]
theme/anomaly/styles_select.css [new file with mode: 0644]

diff --git a/theme/anomaly/README.html b/theme/anomaly/README.html
new file mode 100644 (file)
index 0000000..e670009
--- /dev/null
@@ -0,0 +1,42 @@
+<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>&nbsp;
+</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;">
+                       &lt;h1 class=&quot;headermain&quot;&gt;&lt;?php echo $heading ?&gt;<span style="color:#ff0000">&lt;br /&gt;&lt;span&gt;&lt;?php echo $COURSE-&gt;summary //Retrieves Site Description from Front Page -&gt; Front Page Settings ?&gt;&lt;/span&gt;</span>&lt;/h1&gt;
+               </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;">
+               &lt;h1 class=&quot;headermain&quot;&gt;&lt;?php echo $heading ?&gt;&lt;br /&gt;&lt;span&gt;<span style="color:#ff0000;">Standards Based Moodle Designs</span>&lt;/span&gt;&lt;/h1&gt;
+               </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
diff --git a/theme/anomaly/changelog.txt b/theme/anomaly/changelog.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/theme/anomaly/config.php b/theme/anomaly/config.php
new file mode 100644 (file)
index 0000000..f9a449b
--- /dev/null
@@ -0,0 +1,179 @@
+<?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 = '&#x25BA;' //OR '&rarr;';
+///$THEME->larrow = '&#x25C4;' //OR '&larr;';
+///$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 &lt; &gt; &raquo; - these are confusing for blind users.
+////////////////////////////////////////////////////////////////////////////////
+
+?>
diff --git a/theme/anomaly/docstyles.php b/theme/anomaly/docstyles.php
new file mode 100644 (file)
index 0000000..5a4c4df
--- /dev/null
@@ -0,0 +1,100 @@
+<?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;
+}
diff --git a/theme/anomaly/favicon.ico b/theme/anomaly/favicon.ico
new file mode 100644 (file)
index 0000000..5a7a36a
Binary files /dev/null and b/theme/anomaly/favicon.ico differ
diff --git a/theme/anomaly/footer.html b/theme/anomaly/footer.html
new file mode 100644 (file)
index 0000000..50816e3
--- /dev/null
@@ -0,0 +1,110 @@
+<?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&amp;ss=1&amp;uri=<?php echo urlencode(qualified_me()) ?>">Validate HTML</a></li>
+          <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&amp;url1=<?php echo urlencode(qualified_me()) ?>">Section 508 Check</a></li>
+          <li><a href="http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=0&amp;warnp2n3e=1&amp;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>
diff --git a/theme/anomaly/header.html b/theme/anomaly/header.html
new file mode 100644 (file)
index 0000000..0700af4
--- /dev/null
@@ -0,0 +1,77 @@
+<!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'); ?>
diff --git a/theme/anomaly/images/footer_b.jpg b/theme/anomaly/images/footer_b.jpg
new file mode 100644 (file)
index 0000000..26a72b1
Binary files /dev/null and b/theme/anomaly/images/footer_b.jpg differ
diff --git a/theme/anomaly/images/footer_l.jpg b/theme/anomaly/images/footer_l.jpg
new file mode 100644 (file)
index 0000000..d95e08d
Binary files /dev/null and b/theme/anomaly/images/footer_l.jpg differ
diff --git a/theme/anomaly/images/footer_r.jpg b/theme/anomaly/images/footer_r.jpg
new file mode 100644 (file)
index 0000000..603b64d
Binary files /dev/null and b/theme/anomaly/images/footer_r.jpg differ
diff --git a/theme/anomaly/images/header_l.jpg b/theme/anomaly/images/header_l.jpg
new file mode 100644 (file)
index 0000000..946da15
Binary files /dev/null and b/theme/anomaly/images/header_l.jpg differ
diff --git a/theme/anomaly/images/header_r.jpg b/theme/anomaly/images/header_r.jpg
new file mode 100644 (file)
index 0000000..3b88e02
Binary files /dev/null and b/theme/anomaly/images/header_r.jpg differ
diff --git a/theme/anomaly/images/header_t.jpg b/theme/anomaly/images/header_t.jpg
new file mode 100644 (file)
index 0000000..dcf94ff
Binary files /dev/null and b/theme/anomaly/images/header_t.jpg differ
diff --git a/theme/anomaly/images/logo.jpg b/theme/anomaly/images/logo.jpg
new file mode 100644 (file)
index 0000000..f0c6cf3
Binary files /dev/null and b/theme/anomaly/images/logo.jpg differ
diff --git a/theme/anomaly/images/sideblock-y_b.jpg b/theme/anomaly/images/sideblock-y_b.jpg
new file mode 100644 (file)
index 0000000..5662d44
Binary files /dev/null and b/theme/anomaly/images/sideblock-y_b.jpg differ
diff --git a/theme/anomaly/images/sideblock-y_t.jpg b/theme/anomaly/images/sideblock-y_t.jpg
new file mode 100644 (file)
index 0000000..d91c100
Binary files /dev/null and b/theme/anomaly/images/sideblock-y_t.jpg differ
diff --git a/theme/anomaly/images/sideblock_b.jpg b/theme/anomaly/images/sideblock_b.jpg
new file mode 100644 (file)
index 0000000..8bcb0ba
Binary files /dev/null and b/theme/anomaly/images/sideblock_b.jpg differ
diff --git a/theme/anomaly/images/sideblock_t.jpg b/theme/anomaly/images/sideblock_t.jpg
new file mode 100644 (file)
index 0000000..f23d5b6
Binary files /dev/null and b/theme/anomaly/images/sideblock_t.jpg differ
diff --git a/theme/anomaly/images/source_anomaly.png b/theme/anomaly/images/source_anomaly.png
new file mode 100644 (file)
index 0000000..97ae082
Binary files /dev/null and b/theme/anomaly/images/source_anomaly.png differ
diff --git a/theme/anomaly/images/wrapper_b.jpg b/theme/anomaly/images/wrapper_b.jpg
new file mode 100644 (file)
index 0000000..deebe4a
Binary files /dev/null and b/theme/anomaly/images/wrapper_b.jpg differ
diff --git a/theme/anomaly/images/wrapper_bl.jpg b/theme/anomaly/images/wrapper_bl.jpg
new file mode 100644 (file)
index 0000000..6bf550c
Binary files /dev/null and b/theme/anomaly/images/wrapper_bl.jpg differ
diff --git a/theme/anomaly/images/wrapper_br.jpg b/theme/anomaly/images/wrapper_br.jpg
new file mode 100644 (file)
index 0000000..fed0ae1
Binary files /dev/null and b/theme/anomaly/images/wrapper_br.jpg differ
diff --git a/theme/anomaly/images/wrapper_l.jpg b/theme/anomaly/images/wrapper_l.jpg
new file mode 100644 (file)
index 0000000..7069a27
Binary files /dev/null and b/theme/anomaly/images/wrapper_l.jpg differ
diff --git a/theme/anomaly/images/wrapper_r.jpg b/theme/anomaly/images/wrapper_r.jpg
new file mode 100644 (file)
index 0000000..957a844
Binary files /dev/null and b/theme/anomaly/images/wrapper_r.jpg differ
diff --git a/theme/anomaly/images/wrapper_t.jpg b/theme/anomaly/images/wrapper_t.jpg
new file mode 100644 (file)
index 0000000..deebe4a
Binary files /dev/null and b/theme/anomaly/images/wrapper_t.jpg differ
diff --git a/theme/anomaly/images/wrapper_tl.jpg b/theme/anomaly/images/wrapper_tl.jpg
new file mode 100644 (file)
index 0000000..3adc896
Binary files /dev/null and b/theme/anomaly/images/wrapper_tl.jpg differ
diff --git a/theme/anomaly/images/wrapper_tr.jpg b/theme/anomaly/images/wrapper_tr.jpg
new file mode 100644 (file)
index 0000000..b67fe2c
Binary files /dev/null and b/theme/anomaly/images/wrapper_tr.jpg differ
diff --git a/theme/anomaly/meta.php b/theme/anomaly/meta.php
new file mode 100644 (file)
index 0000000..51d294f
--- /dev/null
@@ -0,0 +1,6 @@
+<!--[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]-->
diff --git a/theme/anomaly/pix/tab/left.gif b/theme/anomaly/pix/tab/left.gif
new file mode 100644 (file)
index 0000000..409fe64
Binary files /dev/null and b/theme/anomaly/pix/tab/left.gif differ
diff --git a/theme/anomaly/pix/tab/left_active.gif b/theme/anomaly/pix/tab/left_active.gif
new file mode 100644 (file)
index 0000000..d52083e
Binary files /dev/null and b/theme/anomaly/pix/tab/left_active.gif differ
diff --git a/theme/anomaly/pix/tab/left_active_hover.gif b/theme/anomaly/pix/tab/left_active_hover.gif
new file mode 100644 (file)
index 0000000..93afbdd
Binary files /dev/null and b/theme/anomaly/pix/tab/left_active_hover.gif differ
diff --git a/theme/anomaly/pix/tab/left_hover.gif b/theme/anomaly/pix/tab/left_hover.gif
new file mode 100644 (file)
index 0000000..f7c2e92
Binary files /dev/null and b/theme/anomaly/pix/tab/left_hover.gif differ
diff --git a/theme/anomaly/pix/tab/right.gif b/theme/anomaly/pix/tab/right.gif
new file mode 100644 (file)
index 0000000..1851ef1
Binary files /dev/null and b/theme/anomaly/pix/tab/right.gif differ
diff --git a/theme/anomaly/pix/tab/right_active.gif b/theme/anomaly/pix/tab/right_active.gif
new file mode 100644 (file)
index 0000000..eb2f592
Binary files /dev/null and b/theme/anomaly/pix/tab/right_active.gif differ
diff --git a/theme/anomaly/pix/tab/right_active_hover.gif b/theme/anomaly/pix/tab/right_active_hover.gif
new file mode 100644 (file)
index 0000000..094d408
Binary files /dev/null and b/theme/anomaly/pix/tab/right_active_hover.gif differ
diff --git a/theme/anomaly/pix/tab/right_end.gif b/theme/anomaly/pix/tab/right_end.gif
new file mode 100644 (file)
index 0000000..4b52568
Binary files /dev/null and b/theme/anomaly/pix/tab/right_end.gif differ
diff --git a/theme/anomaly/pix/tab/right_hover.gif b/theme/anomaly/pix/tab/right_hover.gif
new file mode 100644 (file)
index 0000000..ef44869
Binary files /dev/null and b/theme/anomaly/pix/tab/right_hover.gif differ
diff --git a/theme/anomaly/pix/tab/right_last.gif b/theme/anomaly/pix/tab/right_last.gif
new file mode 100755 (executable)
index 0000000..8ed76c4
Binary files /dev/null and b/theme/anomaly/pix/tab/right_last.gif differ
diff --git a/theme/anomaly/pix/tab/rtlbg.gif b/theme/anomaly/pix/tab/rtlbg.gif
new file mode 100755 (executable)
index 0000000..5d228cb
Binary files /dev/null and b/theme/anomaly/pix/tab/rtlbg.gif differ
diff --git a/theme/anomaly/pix/tab/tabrow1.gif b/theme/anomaly/pix/tab/tabrow1.gif
new file mode 100755 (executable)
index 0000000..1bd7a0a
Binary files /dev/null and b/theme/anomaly/pix/tab/tabrow1.gif differ
diff --git a/theme/anomaly/screenshot.jpg b/theme/anomaly/screenshot.jpg
new file mode 100644 (file)
index 0000000..daceec3
Binary files /dev/null and b/theme/anomaly/screenshot.jpg differ
diff --git a/theme/anomaly/styles.css b/theme/anomaly/styles.css
new file mode 100644 (file)
index 0000000..034c04e
--- /dev/null
@@ -0,0 +1,328 @@
+
+/* 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
diff --git a/theme/anomaly/styles.php b/theme/anomaly/styles.php
new file mode 100644 (file)
index 0000000..fd3271b
--- /dev/null
@@ -0,0 +1,19 @@
+<?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);
+   
+?>
diff --git a/theme/anomaly/styles_ie6.css b/theme/anomaly/styles_ie6.css
new file mode 100755 (executable)
index 0000000..d9e041c
--- /dev/null
@@ -0,0 +1,4 @@
+/*
+ * These styles are ONLY included for IE 6 (via meta.php)
+ */
+
diff --git a/theme/anomaly/styles_ie7.css b/theme/anomaly/styles_ie7.css
new file mode 100755 (executable)
index 0000000..383064e
--- /dev/null
@@ -0,0 +1,4 @@
+/*
+ * These styles are ONLY included for IE 7 (via meta.php)
+ */
+
diff --git a/theme/anomaly/styles_select.css b/theme/anomaly/styles_select.css
new file mode 100644 (file)
index 0000000..43e5ca7
--- /dev/null
@@ -0,0 +1,115 @@
+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;
+}