Added Eloy's excellent Wood theme!!!
Eloy, can you add a README.txt ?
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,124 @@
|
||||
<?PHP // $Id$
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// This file contains a few configuration variables that control
|
||||
/// how Moodle uses this theme.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
$THEME->sheets = array('styles_color');
|
||||
|
||||
/// 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 = array('styles_layout','styles_fonts','styles_color','styles_moz');
|
||||
|
||||
/// 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->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.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
?>
|
||||
|
After Width: | Height: | Size: 894 B |
@@ -0,0 +1,12 @@
|
||||
|
||||
</div> <!-- end div content -->
|
||||
|
||||
<div id="footer">
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php echo $loggedinas ?>
|
||||
<?php echo $homelink ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 505 B |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 472 B |
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
|
||||
<?php include("$CFG->javascript"); ?>
|
||||
</head>
|
||||
|
||||
<body<?php
|
||||
echo " $bodytags";
|
||||
if ($focus) {
|
||||
echo " onload=\"setfocus()\"";
|
||||
}
|
||||
?>>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($home) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
|
||||
?>
|
||||
<div id="header">
|
||||
<div class="headermain"><?php echo $heading ?></div>
|
||||
<div class="headermenu"><?php echo $menu ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<?php if ($navigation) { // This is the navigation table with breadcrumbs ?>
|
||||
<table class="navbar"><tr><td>
|
||||
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
|
||||
<div class="navbutton"><?php echo $button; ?></div>
|
||||
</td></tr></table>
|
||||
<?php } else if ($heading) { // If no navigation, but a heading, then print a line
|
||||
?>
|
||||
<hr size="1" noshade="noshade" />
|
||||
<?php } ?>
|
||||
<div class="clearer"> </div>
|
||||
<!-- END OF HEADER -->
|
||||
<div id="content">
|
||||
|
After Width: | Height: | Size: 292 B |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 271 B |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 279 B |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 308 B |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 143 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 69 B |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 141 KiB |
@@ -0,0 +1,18 @@
|
||||
<?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 = 1800; // 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
|
||||
|
||||
style_sheet_setup(filemtime('styles.php'), $lifetime, $themename, $forceconfig);
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,192 @@
|
||||
/**
|
||||
* Adds all the nice finish to the standard theme
|
||||
*
|
||||
*/
|
||||
|
||||
body {
|
||||
background-color:#CC9966;
|
||||
background-image:url(background.jpg);
|
||||
}
|
||||
|
||||
div {
|
||||
color:#330000;
|
||||
}
|
||||
|
||||
hr {
|
||||
border-top-color:#330000;
|
||||
}
|
||||
|
||||
.tablink a:link,
|
||||
.tablink a:visited,
|
||||
a:link,
|
||||
a:visited {
|
||||
color:#330000;
|
||||
}
|
||||
|
||||
a.autolink:link,
|
||||
a.autolink:visited {
|
||||
background: #99FFCC;
|
||||
}
|
||||
|
||||
.tabs .r0,
|
||||
.tabs .r1 {
|
||||
background:none;
|
||||
}
|
||||
|
||||
.tabs .side,
|
||||
.tabrow td {
|
||||
border-color: #330000;
|
||||
}
|
||||
.tabrow td {
|
||||
background:url(pix/tab/left.gif) top left no-repeat;
|
||||
}
|
||||
.tabrow td .tablink {
|
||||
background:url(pix/tab/right.gif) top right no-repeat;
|
||||
}
|
||||
.tabrow td:hover {
|
||||
background-image:url(pix/tab/left_hover.gif);
|
||||
}
|
||||
.tabrow td:hover .tablink {
|
||||
background-image:url(pix/tab/right_hover.gif);
|
||||
}
|
||||
.tabrow .last {
|
||||
background: transparent url(pix/tab/right_end.gif) top right no-repeat;
|
||||
}
|
||||
.tabrow .selected {
|
||||
background:url(pix/tab/left_active.gif) top left no-repeat;
|
||||
}
|
||||
.tabrow .selected .tablink {
|
||||
background:url(pix/tab/right_active.gif) top right no-repeat;
|
||||
}
|
||||
.tabrow td.selected:hover {
|
||||
background-image:url(pix/tab/left_active_hover.gif);
|
||||
}
|
||||
.tabrow td.selected:hover .tablink {
|
||||
background-image:url(pix/tab/right_active_hover.gif);
|
||||
}
|
||||
|
||||
#left-column .hidden .header,
|
||||
#right-column .hidden .header
|
||||
{
|
||||
border-bottom-color:#330000;
|
||||
}
|
||||
|
||||
.sideblock .header .hide-show img.hide-show-image {
|
||||
background: url('pix/t/switch_minus.gif') no-repeat bottom;
|
||||
}
|
||||
|
||||
.sideblock.hidden .header .hide-show img.hide-show-image {
|
||||
background: url('pix/t/switch_plus.gif') no-repeat bottom;
|
||||
}
|
||||
|
||||
th.header,
|
||||
td.header,
|
||||
div.header,
|
||||
.sideblock .header,
|
||||
.forumpost .header,
|
||||
.navbar {
|
||||
border-top:1px solid #FFCC99;
|
||||
border-left:1px solid #FFCC99;
|
||||
border-bottom:1px solid #330000;
|
||||
border-right:1px solid #330000;
|
||||
background-image:url(gradient1.jpg);
|
||||
background-position:bottom;
|
||||
background-repeat:repeat-x repeat-y;
|
||||
}
|
||||
|
||||
.results,
|
||||
.sideblock .content,
|
||||
.generalboxcontent,
|
||||
.noticeboxcontent,
|
||||
.entryboxheader,
|
||||
.entrybox,
|
||||
#course-view .section .content,
|
||||
#admin-index .c1,
|
||||
#admin-configure .c1,
|
||||
#admin-config .c1,
|
||||
#calendar .maincalendar .filters table,
|
||||
#calendar .sidecalendar .filters table,
|
||||
.block_calendar_month .filters table,
|
||||
#calendar .maincalendar .minicalendar,
|
||||
#calendar .sidecalendar .minicalendar,
|
||||
.block_calendar_month .minicalendar,
|
||||
#calendar .maincalendar,
|
||||
.cal_popup_fg {
|
||||
border-top:1px solid #FFCC99;
|
||||
border-left:1px solid #FFCC99;
|
||||
border-bottom:1px solid #330000;
|
||||
border-right:1px solid #330000;
|
||||
background-image:url(gradient2.jpg);
|
||||
background-position:bottom;
|
||||
background-repeat:repeat-x repeat-y;
|
||||
}
|
||||
|
||||
.categoryheader {
|
||||
background-image:url(background.jpg);
|
||||
background-position:bottom;
|
||||
background-repeat:repeat-x repeat-y;
|
||||
}
|
||||
|
||||
.glossarypost .entryheader,
|
||||
.glossarypost .entryattachment,
|
||||
.glossarypost .left {
|
||||
background-image:url(gradient1.jpg);
|
||||
background-position:bottom;
|
||||
background-repeat:repeat-x repeat-y;
|
||||
}
|
||||
|
||||
|
||||
.forumpost .left,
|
||||
.sideblock .r1,
|
||||
.r0,
|
||||
.glossarypost .entry,
|
||||
.glossarypost .entrylowersection {
|
||||
background-image:url(gradient2.jpg);
|
||||
background-position:bottom;
|
||||
background-repeat:repeat-x repeat-y;
|
||||
}
|
||||
|
||||
.r1 {
|
||||
background-color:white;
|
||||
background-position:bottom;
|
||||
background-repeat:repeat-x repeat-y;
|
||||
}
|
||||
|
||||
#admin-index .c0,
|
||||
#course-view .section .left,
|
||||
#admin-config .c0,
|
||||
.cal_popup_bg {
|
||||
border-top:1px solid #FFCC99;
|
||||
border-left:1px solid #FFCC99;
|
||||
border-bottom:1px solid #330000;
|
||||
border-right:1px solid #330000;
|
||||
background-image:url(background.jpg);
|
||||
background-position:bottom;
|
||||
background-repeat:repeat-x repeat-y;
|
||||
}
|
||||
|
||||
#course-view .section .side {
|
||||
border-top:1px solid #FFCC99;
|
||||
border-left:1px solid #FFCC99;
|
||||
border-bottom:1px solid #330000;
|
||||
border-right:1px solid #330000;
|
||||
background-image:url(gradient3.jpg);
|
||||
background-position:bottom;
|
||||
background-repeat:repeat-x repeat-y;
|
||||
}
|
||||
|
||||
|
||||
.unread {
|
||||
border-top:1px solid #99FF99;
|
||||
border-left:1px solid #99FF99;
|
||||
border-bottom:1px solid #99FF99;
|
||||
border-right:1px solid #99FF99;
|
||||
}
|
||||
|
||||
.read,
|
||||
.glossarypost {
|
||||
border-top:1px solid #FFCC99;
|
||||
border-left:1px solid #FFCC99;
|
||||
border-bottom:1px solid #330000;
|
||||
border-right:1px solid #330000;
|
||||
}
|
||||