2010-05-27 02:27:03 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$THEME->name = 'serenity';
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
// Name of the theme. Most likely the name of
|
2011-03-12 17:42:52 +01:00
|
|
|
// the directory in which this file resides.
|
2010-05-27 02:27:03 +00:00
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
$THEME->parents = array('canvas','base');
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////
|
|
|
|
// Which existing theme(s) in the /theme/ directory
|
2011-03-12 17:42:52 +01:00
|
|
|
// do you want this theme to extend. A theme can
|
|
|
|
// extend any number of themes. Rather than
|
|
|
|
// creating an entirely new theme and copying all
|
|
|
|
// of the CSS, you can simply create a new theme,
|
|
|
|
// extend the theme you like and just add the
|
2010-05-27 02:27:03 +00:00
|
|
|
// changes you want to your theme.
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
$THEME->sheets = array('core');
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
2011-03-12 17:42:52 +01:00
|
|
|
// Name of the stylesheet(s) you've including in
|
2010-05-27 02:27:03 +00:00
|
|
|
// this theme's /styles/ directory.
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
2010-06-11 03:16:54 +00:00
|
|
|
$THEME->enable_dock = true;
|
2010-05-27 02:27:03 +00:00
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
// Do you want to use the new navigation dock?
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
2010-10-07 04:17:15 +00:00
|
|
|
$THEME->editor_sheets = array('editor');
|
2010-05-27 02:27:03 +00:00
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
2011-03-12 17:42:52 +01:00
|
|
|
// An array of stylesheets to include within the
|
2010-05-27 02:27:03 +00:00
|
|
|
// body of the editor.
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
// $THEME->csspostprocess
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
2011-03-12 17:42:52 +01:00
|
|
|
// Allows the user to provide the name of a function
|
|
|
|
// that all CSS should be passed to before being
|
|
|
|
// delivered.
|
2010-05-27 02:27:03 +00:00
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
2011-03-12 17:42:52 +01:00
|
|
|
// $THEME->javascripts
|
2010-05-27 02:27:03 +00:00
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
// An array containing the names of JavaScript files
|
2011-03-12 17:42:52 +01:00
|
|
|
// located in /javascript/ to include in the theme.
|
2010-05-27 02:27:03 +00:00
|
|
|
// (gets included in the head)
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
2011-03-12 17:42:52 +01:00
|
|
|
// $THEME->javascripts_footer
|
2010-05-27 02:27:03 +00:00
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
// As above but will be included in the page footer.
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
2011-03-12 17:42:52 +01:00
|
|
|
// $THEME->larrow
|
2010-05-27 02:27:03 +00:00
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
2011-03-12 17:42:52 +01:00
|
|
|
// Overrides the left arrow image used throughout
|
2010-05-27 02:27:03 +00:00
|
|
|
// Moodle
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
2011-03-12 17:42:52 +01:00
|
|
|
// $THEME->rarrow
|
2010-05-27 02:27:03 +00:00
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
// Overrides the right arrow image used throughout Moodle
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
2011-03-12 17:42:52 +01:00
|
|
|
// $THEME->layouts
|
2010-05-27 02:27:03 +00:00
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
// An array setting the layouts for the theme
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
// $THEME->parents_exclude_javascripts
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
// An array of JavaScript files NOT to inherit from
|
|
|
|
// the themes parents
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
2011-03-12 17:42:52 +01:00
|
|
|
// $THEME->parents_exclude_sheets
|
2010-05-27 02:27:03 +00:00
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
// An array of stylesheets not to inherit from the
|
|
|
|
// themes parents
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
// $THEME->plugins_exclude_sheets
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
2011-03-12 17:42:52 +01:00
|
|
|
// An array of plugin sheets to ignore and not
|
2010-05-27 02:27:03 +00:00
|
|
|
// include.
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|
2011-07-22 23:42:26 +02:00
|
|
|
// $THEME->rendererfactory
|
2010-05-27 02:27:03 +00:00
|
|
|
|
|
|
|
////////////////////////////////////////////////////
|
2011-03-12 17:42:52 +01:00
|
|
|
// Sets a custom render factory to use with the
|
2010-05-27 02:27:03 +00:00
|
|
|
// theme, used when working with custom renderers.
|
|
|
|
////////////////////////////////////////////////////
|
|
|
|
|