From ed5d13c074f16fa0990851f8ca7f6ddcf2f9559e Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Mon, 16 Aug 2010 19:34:23 +0000 Subject: [PATCH] MDL-23795 basic support for print page layout + tons of trailing whitespace fixed --- mod/glossary/print.php | 1 + theme/anomaly/config.php | 8 +++- theme/arialist/config.php | 51 +++++++++++++----------- theme/base/config.php | 8 +++- theme/binarius/config.php | 53 +++++++++++++------------ theme/boxxie/config.php | 54 +++++++++++++------------ theme/canvas/config.php | 74 +++++++++++++++++++---------------- theme/formal_white/config.php | 8 +++- theme/formfactor/config.php | 56 ++++++++++++++------------ theme/fusion/config.php | 52 +++++++++++++----------- theme/leatherbound/config.php | 56 ++++++++++++++------------ theme/magazine/config.php | 52 +++++++++++++----------- theme/nonzero/config.php | 58 +++++++++++++++------------ theme/sky_high/config.php | 60 +++++++++++++++------------- theme/splash/config.php | 12 ++++-- theme/standardold/config.php | 6 +++ 16 files changed, 349 insertions(+), 260 deletions(-) diff --git a/mod/glossary/print.php b/mod/glossary/print.php index b3f7f23dbe6..5c0aa5bd666 100644 --- a/mod/glossary/print.php +++ b/mod/glossary/print.php @@ -54,6 +54,7 @@ if ( !$entriesbypage = $glossary->entbypage ) { require_course_login($course, true, $cm); $context = get_context_instance(CONTEXT_MODULE, $cm->id); +$PAGE->set_pagelayout('print'); $PAGE->set_title(get_string("modulenameplural", "glossary")); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); diff --git a/theme/anomaly/config.php b/theme/anomaly/config.php index 4d8489c40a2..822ed52426f 100644 --- a/theme/anomaly/config.php +++ b/theme/anomaly/config.php @@ -116,7 +116,13 @@ $THEME->layouts = array( 'file' => 'general.php', 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true), - ) + ), + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true), + ), ); $THEME->rendererfactory = 'theme_overridden_renderer_factory'; diff --git a/theme/arialist/config.php b/theme/arialist/config.php index d18208665d3..fd256b130a1 100644 --- a/theme/arialist/config.php +++ b/theme/arialist/config.php @@ -18,7 +18,7 @@ /** * Configuration for Moodle's arialist theme. * - * DO NOT MODIFY THIS THEME! + * DO NOT MODIFY THIS THEME! * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. * * For full information about creating Moodle themes, see: @@ -33,7 +33,7 @@ $THEME->name = 'arialist'; //////////////////////////////////////////////////// // Name of the theme. Most likely the name of -// the directory in which this file resides. +// the directory in which this file resides. //////////////////////////////////////////////////// @@ -44,11 +44,11 @@ $THEME->parents = array( ///////////////////////////////////////////////////// // Which existing theme(s) in the /theme/ directory -// 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 +// 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 // changes you want to your theme. //////////////////////////////////////////////////// @@ -60,13 +60,13 @@ $THEME->sheets = array( ); //////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in +// Name of the stylesheet(s) you've including in // this theme's /styles/ directory. //////////////////////////////////////////////////// $THEME->parents_exclude_sheets = array( 'base'=>array( - 'pagelayout', + 'pagelayout', ), 'canvas'=>array( 'pagelayout', @@ -84,7 +84,7 @@ $THEME->enable_dock = true; // $THEME->editor_sheets //////////////////////////////////////////////////// -// An array of stylesheets to include within the +// An array of stylesheets to include within the // body of the editor. //////////////////////////////////////////////////// @@ -161,7 +161,12 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true), ), - + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>false), + ), ); /////////////////////////////////////////////////////////////// @@ -173,25 +178,25 @@ $THEME->layouts = array( // specific page. /////////////////////////////////////////////////////////////// -$THEME->csspostprocess = 'arialist_process_css'; +$THEME->csspostprocess = 'arialist_process_css'; //////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being +// Allows the user to provide the name of a function +// that all CSS should be passed to before being // delivered. //////////////////////////////////////////////////// // $THEME->filter_mediaplugin_colors //////////////////////////////////////////////////// -// Used to control the colours used in the small +// Used to control the colours used in the small // media player for the filters //////////////////////////////////////////////////// -// $THEME->javascripts +// $THEME->javascripts //////////////////////////////////////////////////// // An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. +// located in /javascript/ to include in the theme. // (gets included in the head) //////////////////////////////////////////////////// @@ -204,7 +209,7 @@ $THEME->csspostprocess = 'arialist_process_css'; $THEME->larrow = '⟨'; //////////////////////////////////////////////////// -// Overrides the left arrow image used throughout +// Overrides the left arrow image used throughout // Moodle //////////////////////////////////////////////////// @@ -214,7 +219,7 @@ $THEME->rarrow = '⟩'; // Overrides the right arrow image used throughout Moodle //////////////////////////////////////////////////// -// $THEME->layouts +// $THEME->layouts //////////////////////////////////////////////////// // An array setting the layouts for the theme @@ -227,7 +232,7 @@ $THEME->rarrow = '⟩'; // the themes parents //////////////////////////////////////////////////// -// $THEME->parents_exclude_sheets +// $THEME->parents_exclude_sheets //////////////////////////////////////////////////// // An array of stylesheets not to inherit from the @@ -237,19 +242,19 @@ $THEME->rarrow = '⟩'; // $THEME->plugins_exclude_sheets //////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not +// An array of plugin sheets to ignore and not // include. //////////////////////////////////////////////////// // $THEME->renderfactory //////////////////////////////////////////////////// -// Sets a custom render factory to use with the +// Sets a custom render factory to use with the // theme, used when working with custom renderers. //////////////////////////////////////////////////// // $THEME->resource_mp3player_colors //////////////////////////////////////////////////// -// Controls the colours for the MP3 player +// Controls the colours for the MP3 player //////////////////////////////////////////////////// diff --git a/theme/base/config.php b/theme/base/config.php index c14b23b67df..a078d3b097d 100644 --- a/theme/base/config.php +++ b/theme/base/config.php @@ -22,7 +22,7 @@ * basic layout. It is intended as a base for other themes to build upon. * It is not recommend to actually choose this theme for production sites! * - * DO NOT COPY THIS TO START NEW THEMES! + * DO NOT COPY THIS TO START NEW THEMES! * Start with another theme, like "standard". * * For full information about creating Moodle themes, see: @@ -140,6 +140,12 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true), ), + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>false, 'nocustommenu'=>true), + ), ); // We don't want the base theme to be shown on the theme selection screen, by setting diff --git a/theme/binarius/config.php b/theme/binarius/config.php index 46d197f867f..307d0bd99e4 100644 --- a/theme/binarius/config.php +++ b/theme/binarius/config.php @@ -18,7 +18,7 @@ /** * Configuration for Moodle's nonzero theme. * - * DO NOT MODIFY THIS THEME! + * DO NOT MODIFY THIS THEME! * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. * * For full information about creating Moodle themes, see: @@ -33,7 +33,7 @@ $THEME->name = 'binarius'; //////////////////////////////////////////////////// // Name of the theme. Most likely the name of -// the directory in which this file resides. +// the directory in which this file resides. //////////////////////////////////////////////////// @@ -44,11 +44,11 @@ $THEME->parents = array( ///////////////////////////////////////////////////// // Which existing theme(s) in the /theme/ directory -// 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 +// 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 // changes you want to your theme. //////////////////////////////////////////////////// @@ -59,13 +59,13 @@ $THEME->sheets = array( ); //////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in +// Name of the stylesheet(s) you've including in // this theme's /styles/ directory. //////////////////////////////////////////////////// $THEME->parents_exclude_sheets = array( 'base'=>array( - 'pagelayout', + 'pagelayout', ), 'canvas'=>array( 'pagelayout', @@ -83,7 +83,7 @@ $THEME->enable_dock = true; // $THEME->editor_sheets //////////////////////////////////////////////////// -// An array of stylesheets to include within the +// An array of stylesheets to include within the // body of the editor. //////////////////////////////////////////////////// @@ -160,7 +160,12 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true), ), - + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>false), + ), ); /////////////////////////////////////////////////////////////// @@ -173,29 +178,29 @@ $THEME->layouts = array( /////////////////////////////////////////////////////////////// // $THEME->csspostprocess - + //////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being +// Allows the user to provide the name of a function +// that all CSS should be passed to before being // delivered. //////////////////////////////////////////////////// // $THEME->filter_mediaplugin_colors //////////////////////////////////////////////////// -// Used to control the colours used in the small +// Used to control the colours used in the small // media player for the filters //////////////////////////////////////////////////// -// $THEME->javascripts +// $THEME->javascripts //////////////////////////////////////////////////// // An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. +// located in /javascript/ to include in the theme. // (gets included in the head) //////////////////////////////////////////////////// -// $THEME->javascripts_footer +// $THEME->javascripts_footer //////////////////////////////////////////////////// // As above but will be included in the page footer. @@ -204,7 +209,7 @@ $THEME->layouts = array( //$THEME->larrow = '⟨'; //////////////////////////////////////////////////// -// Overrides the left arrow image used throughout +// Overrides the left arrow image used throughout // Moodle //////////////////////////////////////////////////// @@ -214,7 +219,7 @@ $THEME->layouts = array( // Overrides the right arrow image used throughout Moodle //////////////////////////////////////////////////// -// $THEME->layouts +// $THEME->layouts //////////////////////////////////////////////////// // An array setting the layouts for the theme @@ -227,7 +232,7 @@ $THEME->layouts = array( // the themes parents //////////////////////////////////////////////////// -// $THEME->parents_exclude_sheets +// $THEME->parents_exclude_sheets //////////////////////////////////////////////////// // An array of stylesheets not to inherit from the @@ -237,19 +242,19 @@ $THEME->layouts = array( // $THEME->plugins_exclude_sheets //////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not +// An array of plugin sheets to ignore and not // include. //////////////////////////////////////////////////// // $THEME->renderfactory //////////////////////////////////////////////////// -// Sets a custom render factory to use with the +// Sets a custom render factory to use with the // theme, used when working with custom renderers. //////////////////////////////////////////////////// // $THEME->resource_mp3player_colors //////////////////////////////////////////////////// -// Controls the colours for the MP3 player +// Controls the colours for the MP3 player //////////////////////////////////////////////////// diff --git a/theme/boxxie/config.php b/theme/boxxie/config.php index 0b9f99886e2..64291f2b62f 100644 --- a/theme/boxxie/config.php +++ b/theme/boxxie/config.php @@ -18,7 +18,7 @@ /** * Configuration for Moodle's boxxie theme. * - * DO NOT MODIFY THIS THEME! + * DO NOT MODIFY THIS THEME! * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. * * For full information about creating Moodle themes, see: @@ -33,7 +33,7 @@ $THEME->name = 'boxxie'; //////////////////////////////////////////////////// // Name of the theme. Most likely the name of -// the directory in which this file resides. +// the directory in which this file resides. //////////////////////////////////////////////////// @@ -41,11 +41,11 @@ $THEME->parents = array('canvas','base'); ///////////////////////////////////////////////////// // Which existing theme(s) in the /theme/ directory -// 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 +// 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 // changes you want to your theme. //////////////////////////////////////////////////// @@ -53,7 +53,7 @@ $THEME->parents = array('canvas','base'); $THEME->sheets = array('core'); //////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in +// Name of the stylesheet(s) you've including in // this theme's /styles/ directory. //////////////////////////////////////////////////// @@ -138,7 +138,13 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true), ), - + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>false), + ), + ); /////////////////////////////////////////////////////////////// @@ -151,48 +157,48 @@ $THEME->layouts = array( /////////////////////////////////////////////////////////////// // $THEME->csspostprocess - + //////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being +// Allows the user to provide the name of a function +// that all CSS should be passed to before being // delivered. //////////////////////////////////////////////////// // $THEME->filter_mediaplugin_colors //////////////////////////////////////////////////// -// Used to control the colours used in the small +// Used to control the colours used in the small // media player for the filters //////////////////////////////////////////////////// -// $THEME->javascripts +// $THEME->javascripts //////////////////////////////////////////////////// // An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. +// located in /javascript/ to include in the theme. // (gets included in the head) //////////////////////////////////////////////////// -// $THEME->javascripts_footer +// $THEME->javascripts_footer //////////////////////////////////////////////////// // As above but will be included in the page footer. //////////////////////////////////////////////////// -// $THEME->larrow +// $THEME->larrow //////////////////////////////////////////////////// -// Overrides the left arrow image used throughout +// Overrides the left arrow image used throughout // Moodle //////////////////////////////////////////////////// -// $THEME->rarrow +// $THEME->rarrow //////////////////////////////////////////////////// // Overrides the right arrow image used throughout Moodle //////////////////////////////////////////////////// -// $THEME->layouts +// $THEME->layouts //////////////////////////////////////////////////// // An array setting the layouts for the theme @@ -205,7 +211,7 @@ $THEME->layouts = array( // the themes parents //////////////////////////////////////////////////// -// $THEME->parents_exclude_sheets +// $THEME->parents_exclude_sheets //////////////////////////////////////////////////// // An array of stylesheets not to inherit from the @@ -215,19 +221,19 @@ $THEME->layouts = array( // $THEME->plugins_exclude_sheets //////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not +// An array of plugin sheets to ignore and not // include. //////////////////////////////////////////////////// // $THEME->renderfactory //////////////////////////////////////////////////// -// Sets a custom render factory to use with the +// Sets a custom render factory to use with the // theme, used when working with custom renderers. //////////////////////////////////////////////////// // $THEME->resource_mp3player_colors //////////////////////////////////////////////////// -// Controls the colours for the MP3 player +// Controls the colours for the MP3 player //////////////////////////////////////////////////// diff --git a/theme/canvas/config.php b/theme/canvas/config.php index 7b11cb0391e..46b162571e7 100644 --- a/theme/canvas/config.php +++ b/theme/canvas/config.php @@ -22,7 +22,7 @@ * It is intended to be used with Base as a starting point for other themes to build upon. * It is not recommend to actually choose this theme for production sites! * - * DO NOT COPY THIS TO START NEW THEMES! + * DO NOT COPY THIS TO START NEW THEMES! * Start with another theme, like "standard". * * For full information about creating Moodle themes, see: @@ -37,7 +37,7 @@ $THEME->name = 'canvas'; //////////////////////////////////////////////////// // Name of the theme. Most likely the name of -// the directory in which this file resides. +// the directory in which this file resides. //////////////////////////////////////////////////// $THEME->parents = array( @@ -46,34 +46,34 @@ $THEME->parents = array( ///////////////////////////////////////////////////// // Which existing theme(s) in the /theme/ directory -// 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 +// 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 // changes you want to your theme. //////////////////////////////////////////////////// $THEME->sheets = array( - 'pagelayout', - 'text', - 'core', + 'pagelayout', + 'text', + 'core', 'course', - 'mods', - 'blocks', - 'tabs', - 'admin', + 'mods', + 'blocks', + 'tabs', + 'admin', 'tables', ); //////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in +// Name of the stylesheet(s) you've including in // this theme's /styles/ directory. //////////////////////////////////////////////////// $THEME->parents_exclude_sheets = array( 'base'=>array( - 'navigation', + 'navigation', 'browser', ), ); @@ -155,7 +155,13 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true), ), - + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true), + ), + ); ///////////////////////////////////////////////////////// @@ -170,9 +176,9 @@ $THEME->layouts = array( $THEME->hidefromselector = true; ///////////////////////////////////////////////////// -// We don't want the base theme to be shown on the -// theme selection screen, by setting this to true -// it will only be shown if theme designer mode is +// We don't want the base theme to be shown on the +// theme selection screen, by setting this to true +// it will only be shown if theme designer mode is // switched on. ///////////////////////////////////////////////////// @@ -188,47 +194,47 @@ $THEME->hidefromselector = true; // $THEME->editor_sheets //////////////////////////////////////////////////// -// An array of stylesheets to include within the +// An array of stylesheets to include within the // body of the editor. //////////////////////////////////////////////////// // $THEME->csspostprocess - + //////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being +// Allows the user to provide the name of a function +// that all CSS should be passed to before being // delivered. //////////////////////////////////////////////////// // $THEME->filter_mediaplugin_colors //////////////////////////////////////////////////// -// Used to control the colours used in the small +// Used to control the colours used in the small // media player for the filters //////////////////////////////////////////////////// -// $THEME->javascripts +// $THEME->javascripts //////////////////////////////////////////////////// // An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. +// located in /javascript/ to include in the theme. // (gets included in the head) //////////////////////////////////////////////////// -// $THEME->javascripts_footer +// $THEME->javascripts_footer //////////////////////////////////////////////////// // As above but will be included in the page footer. //////////////////////////////////////////////////// -// $THEME->larrow +// $THEME->larrow //////////////////////////////////////////////////// -// Overrides the left arrow image used throughout +// Overrides the left arrow image used throughout // Moodle //////////////////////////////////////////////////// -// $THEME->rarrow +// $THEME->rarrow //////////////////////////////////////////////////// // Overrides the right arrow image used throughout Moodle @@ -244,19 +250,19 @@ $THEME->hidefromselector = true; // $THEME->plugins_exclude_sheets //////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not +// An array of plugin sheets to ignore and not // include. //////////////////////////////////////////////////// // $THEME->renderfactory //////////////////////////////////////////////////// -// Sets a custom render factory to use with the +// Sets a custom render factory to use with the // theme, used when working with custom renderers. //////////////////////////////////////////////////// // $THEME->resource_mp3player_colors //////////////////////////////////////////////////// -// Controls the colours for the MP3 player +// Controls the colours for the MP3 player //////////////////////////////////////////////////// diff --git a/theme/formal_white/config.php b/theme/formal_white/config.php index 701c2ccf809..1047c63c324 100644 --- a/theme/formal_white/config.php +++ b/theme/formal_white/config.php @@ -151,7 +151,13 @@ $THEME->layouts = array( 'file' => 'general.php', 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true), - ) + ), + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true), + ), ); $THEME->rendererfactory = 'theme_overridden_renderer_factory'; diff --git a/theme/formfactor/config.php b/theme/formfactor/config.php index c8e610ee89e..1d0c7079272 100644 --- a/theme/formfactor/config.php +++ b/theme/formfactor/config.php @@ -18,7 +18,7 @@ /** * Configuration for Moodle's formfactor theme. * - * DO NOT MODIFY THIS THEME! + * DO NOT MODIFY THIS THEME! * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. * * For full information about creating Moodle themes, see: @@ -33,7 +33,7 @@ $THEME->name = 'formfactor'; //////////////////////////////////////////////////// // Name of the theme. Most likely the name of -// the directory in which this file resides. +// the directory in which this file resides. //////////////////////////////////////////////////// @@ -41,11 +41,11 @@ $THEME->parents = array('canvas','base'); ///////////////////////////////////////////////////// // Which existing theme(s) in the /theme/ directory -// 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 +// 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 // changes you want to your theme. //////////////////////////////////////////////////// @@ -53,7 +53,7 @@ $THEME->parents = array('canvas','base'); $THEME->sheets = array('selected', 'core', 'course', 'mods', 'blocks'); //////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in +// Name of the stylesheet(s) you've including in // this theme's /styles/ directory. //////////////////////////////////////////////////// @@ -68,7 +68,7 @@ $THEME->enable_dock = false; // $THEME->editor_sheets = array('editor'); //////////////////////////////////////////////////// -// An array of stylesheets to include within the +// An array of stylesheets to include within the // body of the editor. //////////////////////////////////////////////////// @@ -144,7 +144,13 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true), ), - + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true), + ), + ); /////////////////////////////////////////////////////////////// @@ -157,48 +163,48 @@ $THEME->layouts = array( /////////////////////////////////////////////////////////////// // $THEME->csspostprocess - + //////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being +// Allows the user to provide the name of a function +// that all CSS should be passed to before being // delivered. //////////////////////////////////////////////////// // $THEME->filter_mediaplugin_colors //////////////////////////////////////////////////// -// Used to control the colours used in the small +// Used to control the colours used in the small // media player for the filters //////////////////////////////////////////////////// -// $THEME->javascripts +// $THEME->javascripts //////////////////////////////////////////////////// // An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. +// located in /javascript/ to include in the theme. // (gets included in the head) //////////////////////////////////////////////////// -// $THEME->javascripts_footer +// $THEME->javascripts_footer //////////////////////////////////////////////////// // As above but will be included in the page footer. //////////////////////////////////////////////////// -// $THEME->larrow +// $THEME->larrow //////////////////////////////////////////////////// -// Overrides the left arrow image used throughout +// Overrides the left arrow image used throughout // Moodle //////////////////////////////////////////////////// -// $THEME->rarrow +// $THEME->rarrow //////////////////////////////////////////////////// // Overrides the right arrow image used throughout Moodle //////////////////////////////////////////////////// -// $THEME->layouts +// $THEME->layouts //////////////////////////////////////////////////// // An array setting the layouts for the theme @@ -211,7 +217,7 @@ $THEME->layouts = array( // the themes parents //////////////////////////////////////////////////// -// $THEME->parents_exclude_sheets +// $THEME->parents_exclude_sheets //////////////////////////////////////////////////// // An array of stylesheets not to inherit from the @@ -221,19 +227,19 @@ $THEME->layouts = array( // $THEME->plugins_exclude_sheets //////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not +// An array of plugin sheets to ignore and not // include. //////////////////////////////////////////////////// // $THEME->renderfactory //////////////////////////////////////////////////// -// Sets a custom render factory to use with the +// Sets a custom render factory to use with the // theme, used when working with custom renderers. //////////////////////////////////////////////////// // $THEME->resource_mp3player_colors //////////////////////////////////////////////////// -// Controls the colours for the MP3 player +// Controls the colours for the MP3 player //////////////////////////////////////////////////// diff --git a/theme/fusion/config.php b/theme/fusion/config.php index 3ce18322003..5f57e760386 100644 --- a/theme/fusion/config.php +++ b/theme/fusion/config.php @@ -18,7 +18,7 @@ /** * Configuration for Moodle's fusion theme. * - * DO NOT MODIFY THIS THEME! + * DO NOT MODIFY THIS THEME! * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. * * For full information about creating Moodle themes, see: @@ -33,7 +33,7 @@ $THEME->name = 'fusion'; //////////////////////////////////////////////////// // Name of the theme. Most likely the name of -// the directory in which this file resides. +// the directory in which this file resides. //////////////////////////////////////////////////// @@ -44,11 +44,11 @@ $THEME->parents = array( ///////////////////////////////////////////////////// // Which existing theme(s) in the /theme/ directory -// 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 +// 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 // changes you want to your theme. //////////////////////////////////////////////////// @@ -61,13 +61,13 @@ $THEME->sheets = array( ); //////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in +// Name of the stylesheet(s) you've including in // this theme's /styles/ directory. //////////////////////////////////////////////////// $THEME->parents_exclude_sheets = array( 'base'=>array( - 'pagelayout', + 'pagelayout', ), 'canvas'=>array( 'pagelayout', @@ -85,7 +85,7 @@ $THEME->enable_dock = true; // $THEME->editor_sheets //////////////////////////////////////////////////// -// An array of stylesheets to include within the +// An array of stylesheets to include within the // body of the editor. //////////////////////////////////////////////////// @@ -161,7 +161,13 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true), ), - + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true), + ), + ); /////////////////////////////////////////////////////////////// @@ -173,26 +179,26 @@ $THEME->layouts = array( // specific page. /////////////////////////////////////////////////////////////// -// $THEME->csspostprocess = 'fusion_process_css'; +// $THEME->csspostprocess = 'fusion_process_css'; //////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being +// Allows the user to provide the name of a function +// that all CSS should be passed to before being // delivered. //////////////////////////////////////////////////// // $THEME->filter_mediaplugin_colors //////////////////////////////////////////////////// -// Used to control the colours used in the small +// Used to control the colours used in the small // media player for the filters //////////////////////////////////////////////////// -// $THEME->javascripts +// $THEME->javascripts //////////////////////////////////////////////////// // An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. +// located in /javascript/ to include in the theme. // (gets included in the head) //////////////////////////////////////////////////// @@ -205,7 +211,7 @@ $THEME->layouts = array( $THEME->larrow = '⟨'; //////////////////////////////////////////////////// -// Overrides the left arrow image used throughout +// Overrides the left arrow image used throughout // Moodle //////////////////////////////////////////////////// @@ -215,7 +221,7 @@ $THEME->rarrow = '⟩'; // Overrides the right arrow image used throughout Moodle //////////////////////////////////////////////////// -// $THEME->layouts +// $THEME->layouts //////////////////////////////////////////////////// // An array setting the layouts for the theme @@ -228,7 +234,7 @@ $THEME->rarrow = '⟩'; // the themes parents //////////////////////////////////////////////////// -// $THEME->parents_exclude_sheets +// $THEME->parents_exclude_sheets //////////////////////////////////////////////////// // An array of stylesheets not to inherit from the @@ -238,20 +244,20 @@ $THEME->rarrow = '⟩'; // $THEME->plugins_exclude_sheets //////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not +// An array of plugin sheets to ignore and not // include. //////////////////////////////////////////////////// // $THEME->renderfactory //////////////////////////////////////////////////// -// Sets a custom render factory to use with the +// Sets a custom render factory to use with the // theme, used when working with custom renderers. //////////////////////////////////////////////////// // $THEME->resource_mp3player_colors //////////////////////////////////////////////////// -// Controls the colours for the MP3 player +// Controls the colours for the MP3 player //////////////////////////////////////////////////// $THEME->csspostprocess = 'fusion_process_css'; \ No newline at end of file diff --git a/theme/leatherbound/config.php b/theme/leatherbound/config.php index 7a0ebdb78fc..7e9ccd2ec71 100644 --- a/theme/leatherbound/config.php +++ b/theme/leatherbound/config.php @@ -18,7 +18,7 @@ /** * Configuration for Moodle's leatherbound theme. * - * DO NOT MODIFY THIS THEME! + * DO NOT MODIFY THIS THEME! * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. * * For full information about creating Moodle themes, see: @@ -33,7 +33,7 @@ $THEME->name = 'leatherbound'; //////////////////////////////////////////////////// // Name of the theme. Most likely the name of -// the directory in which this file resides. +// the directory in which this file resides. //////////////////////////////////////////////////// @@ -44,11 +44,11 @@ $THEME->parents = array( ///////////////////////////////////////////////////// // Which existing theme(s) in the /theme/ directory -// 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 +// 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 // changes you want to your theme. //////////////////////////////////////////////////// @@ -58,7 +58,7 @@ $THEME->sheets = array( ); //////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in +// Name of the stylesheet(s) you've including in // this theme's /styles/ directory. //////////////////////////////////////////////////// @@ -72,7 +72,7 @@ $THEME->enable_dock = true; // $THEME->editor_sheets = array('editor'); //////////////////////////////////////////////////// -// An array of stylesheets to include within the +// An array of stylesheets to include within the // body of the editor. //////////////////////////////////////////////////// @@ -149,7 +149,13 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true), ), - + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true), + ), + ); /////////////////////////////////////////////////////////////// @@ -162,48 +168,48 @@ $THEME->layouts = array( /////////////////////////////////////////////////////////////// // $THEME->csspostprocess - + //////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being +// Allows the user to provide the name of a function +// that all CSS should be passed to before being // delivered. //////////////////////////////////////////////////// // $THEME->filter_mediaplugin_colors //////////////////////////////////////////////////// -// Used to control the colours used in the small +// Used to control the colours used in the small // media player for the filters //////////////////////////////////////////////////// -// $THEME->javascripts +// $THEME->javascripts //////////////////////////////////////////////////// // An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. +// located in /javascript/ to include in the theme. // (gets included in the head) //////////////////////////////////////////////////// -// $THEME->javascripts_footer +// $THEME->javascripts_footer //////////////////////////////////////////////////// // As above but will be included in the page footer. //////////////////////////////////////////////////// -// $THEME->larrow +// $THEME->larrow //////////////////////////////////////////////////// -// Overrides the left arrow image used throughout +// Overrides the left arrow image used throughout // Moodle //////////////////////////////////////////////////// -// $THEME->rarrow +// $THEME->rarrow //////////////////////////////////////////////////// // Overrides the right arrow image used throughout Moodle //////////////////////////////////////////////////// -// $THEME->layouts +// $THEME->layouts //////////////////////////////////////////////////// // An array setting the layouts for the theme @@ -216,7 +222,7 @@ $THEME->layouts = array( // the themes parents //////////////////////////////////////////////////// -// $THEME->parents_exclude_sheets +// $THEME->parents_exclude_sheets //////////////////////////////////////////////////// // An array of stylesheets not to inherit from the @@ -226,19 +232,19 @@ $THEME->layouts = array( // $THEME->plugins_exclude_sheets //////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not +// An array of plugin sheets to ignore and not // include. //////////////////////////////////////////////////// // $THEME->renderfactory //////////////////////////////////////////////////// -// Sets a custom render factory to use with the +// Sets a custom render factory to use with the // theme, used when working with custom renderers. //////////////////////////////////////////////////// // $THEME->resource_mp3player_colors //////////////////////////////////////////////////// -// Controls the colours for the MP3 player +// Controls the colours for the MP3 player //////////////////////////////////////////////////// diff --git a/theme/magazine/config.php b/theme/magazine/config.php index 4c3c4c61cd6..f9420389bb1 100644 --- a/theme/magazine/config.php +++ b/theme/magazine/config.php @@ -4,7 +4,7 @@ $THEME->name = 'magazine'; //////////////////////////////////////////////////// // Name of the theme. Most likely the name of -// the directory in which this file resides. +// the directory in which this file resides. //////////////////////////////////////////////////// @@ -12,11 +12,11 @@ $THEME->parents = array('base','canvas'); $THEME->parents_exclude_sheets = array('base'=>array('pagelayout'),'canvas'=>array('pagelayout') ); ///////////////////////////////////////////////////// // Which existing theme(s) in the /theme/ directory -// 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 +// 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 // changes you want to your theme. //////////////////////////////////////////////////// @@ -24,7 +24,7 @@ $THEME->parents_exclude_sheets = array('base'=>array('pagelayout'),'canvas'=>arr $THEME->sheets = array('layout','core','colors','css3'); //////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in +// Name of the stylesheet(s) you've including in // this theme's /styles/ directory. //////////////////////////////////////////////////// @@ -39,7 +39,7 @@ $THEME->enable_dock = true; $THEME->editor_sheets = array('editor'); //////////////////////////////////////////////////// -// An array of stylesheets to include within the +// An array of stylesheets to include within the // body of the editor. //////////////////////////////////////////////////// @@ -115,7 +115,13 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true), ), - + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true), + ), + ); /////////////////////////////////////////////////////////////// @@ -127,29 +133,29 @@ $THEME->layouts = array( // specific page. /////////////////////////////////////////////////////////////// //$THEME->csspostprocess = 'simplespace_process_css'; - + //////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being +// Allows the user to provide the name of a function +// that all CSS should be passed to before being // delivered. //////////////////////////////////////////////////// // $THEME->filter_mediaplugin_colors //////////////////////////////////////////////////// -// Used to control the colours used in the small +// Used to control the colours used in the small // media player for the filters //////////////////////////////////////////////////// -// $THEME->javascripts +// $THEME->javascripts //////////////////////////////////////////////////// // An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. +// located in /javascript/ to include in the theme. // (gets included in the head) //////////////////////////////////////////////////// -// $THEME->javascripts_footer +// $THEME->javascripts_footer //////////////////////////////////////////////////// // As above but will be included in the page footer. @@ -158,17 +164,17 @@ $THEME->layouts = array( //$THEME->larrow = "<"; //////////////////////////////////////////////////// -// Overrides the left arrow image used throughout +// Overrides the left arrow image used throughout // Moodle //////////////////////////////////////////////////// - //$THEME->rarrow = ">"; + //$THEME->rarrow = ">"; //////////////////////////////////////////////////// // Overrides the right arrow image used throughout Moodle //////////////////////////////////////////////////// -// $THEME->layouts +// $THEME->layouts //////////////////////////////////////////////////// // An array setting the layouts for the theme @@ -181,7 +187,7 @@ $THEME->layouts = array( // the themes parents //////////////////////////////////////////////////// -// $THEME->parents_exclude_sheets +// $THEME->parents_exclude_sheets //////////////////////////////////////////////////// // An array of stylesheets not to inherit from the @@ -191,20 +197,20 @@ $THEME->layouts = array( // $THEME->plugins_exclude_sheets //////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not +// An array of plugin sheets to ignore and not // include. //////////////////////////////////////////////////// // $THEME->renderfactory //$THEME->rendererfactory = 'theme_simplespace_renderer_factory'; //////////////////////////////////////////////////// -// Sets a custom render factory to use with the +// Sets a custom render factory to use with the // theme, used when working with custom renderers. //////////////////////////////////////////////////// // $THEME->resource_mp3player_colors //////////////////////////////////////////////////// -// Controls the colours for the MP3 player +// Controls the colours for the MP3 player //////////////////////////////////////////////////// $THEME->csspostprocess = 'magazine_process_css'; \ No newline at end of file diff --git a/theme/nonzero/config.php b/theme/nonzero/config.php index 5025de6ccbe..3ece0fbdfc7 100644 --- a/theme/nonzero/config.php +++ b/theme/nonzero/config.php @@ -18,7 +18,7 @@ /** * Configuration for Moodle's nonzero theme. * - * DO NOT MODIFY THIS THEME! + * DO NOT MODIFY THIS THEME! * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. * * For full information about creating Moodle themes, see: @@ -33,7 +33,7 @@ $THEME->name = 'nonzero'; //////////////////////////////////////////////////// // Name of the theme. Most likely the name of -// the directory in which this file resides. +// the directory in which this file resides. //////////////////////////////////////////////////// @@ -44,11 +44,11 @@ $THEME->parents = array( ///////////////////////////////////////////////////// // Which existing theme(s) in the /theme/ directory -// 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 +// 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 // changes you want to your theme. //////////////////////////////////////////////////// @@ -59,13 +59,13 @@ $THEME->sheets = array( ); //////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in +// Name of the stylesheet(s) you've including in // this theme's /styles/ directory. //////////////////////////////////////////////////// $THEME->parents_exclude_sheets = array( 'base'=>array( - 'pagelayout', + 'pagelayout', ), 'canvas'=>array( 'pagelayout', @@ -83,7 +83,7 @@ $THEME->enable_dock = true; // $THEME->editor_sheets //////////////////////////////////////////////////// -// An array of stylesheets to include within the +// An array of stylesheets to include within the // body of the editor. //////////////////////////////////////////////////// @@ -160,7 +160,13 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true), ), - + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true), + ), + ); /////////////////////////////////////////////////////////////// @@ -173,48 +179,48 @@ $THEME->layouts = array( /////////////////////////////////////////////////////////////// $THEME->csspostprocess = 'nonzero_process_css'; - + //////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being +// Allows the user to provide the name of a function +// that all CSS should be passed to before being // delivered. //////////////////////////////////////////////////// // $THEME->filter_mediaplugin_colors //////////////////////////////////////////////////// -// Used to control the colours used in the small +// Used to control the colours used in the small // media player for the filters //////////////////////////////////////////////////// -// $THEME->javascripts +// $THEME->javascripts //////////////////////////////////////////////////// // An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. +// located in /javascript/ to include in the theme. // (gets included in the head) //////////////////////////////////////////////////// -// $THEME->javascripts_footer +// $THEME->javascripts_footer //////////////////////////////////////////////////// // As above but will be included in the page footer. //////////////////////////////////////////////////// -// $THEME->larrow +// $THEME->larrow //////////////////////////////////////////////////// -// Overrides the left arrow image used throughout +// Overrides the left arrow image used throughout // Moodle //////////////////////////////////////////////////// -// $THEME->rarrow +// $THEME->rarrow //////////////////////////////////////////////////// // Overrides the right arrow image used throughout Moodle //////////////////////////////////////////////////// -// $THEME->layouts +// $THEME->layouts //////////////////////////////////////////////////// // An array setting the layouts for the theme @@ -227,7 +233,7 @@ $THEME->csspostprocess = 'nonzero_process_css'; // the themes parents //////////////////////////////////////////////////// -// $THEME->parents_exclude_sheets +// $THEME->parents_exclude_sheets //////////////////////////////////////////////////// // An array of stylesheets not to inherit from the @@ -237,19 +243,19 @@ $THEME->csspostprocess = 'nonzero_process_css'; // $THEME->plugins_exclude_sheets //////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not +// An array of plugin sheets to ignore and not // include. //////////////////////////////////////////////////// // $THEME->renderfactory //////////////////////////////////////////////////// -// Sets a custom render factory to use with the +// Sets a custom render factory to use with the // theme, used when working with custom renderers. //////////////////////////////////////////////////// // $THEME->resource_mp3player_colors //////////////////////////////////////////////////// -// Controls the colours for the MP3 player +// Controls the colours for the MP3 player //////////////////////////////////////////////////// diff --git a/theme/sky_high/config.php b/theme/sky_high/config.php index 3b222cea3a2..8d3666dfc32 100644 --- a/theme/sky_high/config.php +++ b/theme/sky_high/config.php @@ -16,9 +16,9 @@ // along with Moodle. If not, see . /** - * * - * DO NOT MODIFY THIS THEME! + * + * DO NOT MODIFY THIS THEME! * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. * * For full information about creating Moodle themes, see: @@ -31,7 +31,7 @@ $THEME->name = 'sky_high'; //////////////////////////////////////////////////// // Name of the theme. Most likely the name of -// the directory in which this file resides. +// the directory in which this file resides. //////////////////////////////////////////////////// @@ -42,11 +42,11 @@ $THEME->parents = array( ///////////////////////////////////////////////////// // Which existing theme(s) in the /theme/ directory -// 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 +// 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 // changes you want to your theme. //////////////////////////////////////////////////// @@ -58,13 +58,13 @@ $THEME->sheets = array( ); //////////////////////////////////////////////////// -// Name of the stylesheet(s) you've including in +// Name of the stylesheet(s) you've including in // this theme's /styles/ directory. //////////////////////////////////////////////////// $THEME->parents_exclude_sheets = array( 'base'=>array( - 'pagelayout', + 'pagelayout', ), 'canvas'=>array( 'pagelayout', @@ -82,7 +82,7 @@ $THEME->enable_dock = true; // $THEME->editor_sheets //////////////////////////////////////////////////// -// An array of stylesheets to include within the +// An array of stylesheets to include within the // body of the editor. //////////////////////////////////////////////////// @@ -159,7 +159,13 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true), ), - + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true), + ), + ); /////////////////////////////////////////////////////////////// @@ -172,48 +178,48 @@ $THEME->layouts = array( /////////////////////////////////////////////////////////////// $THEME->csspostprocess = 'sky_high_process_css'; - + //////////////////////////////////////////////////// -// Allows the user to provide the name of a function -// that all CSS should be passed to before being +// Allows the user to provide the name of a function +// that all CSS should be passed to before being // delivered. //////////////////////////////////////////////////// // $THEME->filter_mediaplugin_colors //////////////////////////////////////////////////// -// Used to control the colours used in the small +// Used to control the colours used in the small // media player for the filters //////////////////////////////////////////////////// -// $THEME->javascripts +// $THEME->javascripts //////////////////////////////////////////////////// // An array containing the names of JavaScript files -// located in /javascript/ to include in the theme. +// located in /javascript/ to include in the theme. // (gets included in the head) //////////////////////////////////////////////////// -// $THEME->javascripts_footer +// $THEME->javascripts_footer //////////////////////////////////////////////////// // As above but will be included in the page footer. //////////////////////////////////////////////////// -// $THEME->larrow +// $THEME->larrow //////////////////////////////////////////////////// -// Overrides the left arrow image used throughout +// Overrides the left arrow image used throughout // Moodle //////////////////////////////////////////////////// -// $THEME->rarrow +// $THEME->rarrow //////////////////////////////////////////////////// // Overrides the right arrow image used throughout Moodle //////////////////////////////////////////////////// -// $THEME->layouts +// $THEME->layouts //////////////////////////////////////////////////// // An array setting the layouts for the theme @@ -226,7 +232,7 @@ $THEME->csspostprocess = 'sky_high_process_css'; // the themes parents //////////////////////////////////////////////////// -// $THEME->parents_exclude_sheets +// $THEME->parents_exclude_sheets //////////////////////////////////////////////////// // An array of stylesheets not to inherit from the @@ -236,19 +242,19 @@ $THEME->csspostprocess = 'sky_high_process_css'; // $THEME->plugins_exclude_sheets //////////////////////////////////////////////////// -// An array of plugin sheets to ignore and not +// An array of plugin sheets to ignore and not // include. //////////////////////////////////////////////////// // $THEME->renderfactory //////////////////////////////////////////////////// -// Sets a custom render factory to use with the +// Sets a custom render factory to use with the // theme, used when working with custom renderers. //////////////////////////////////////////////////// // $THEME->resource_mp3player_colors //////////////////////////////////////////////////// -// Controls the colours for the MP3 player +// Controls the colours for the MP3 player //////////////////////////////////////////////////// diff --git a/theme/splash/config.php b/theme/splash/config.php index 6bb92792ea2..9f9fdd8d899 100644 --- a/theme/splash/config.php +++ b/theme/splash/config.php @@ -49,7 +49,7 @@ $THEME->sheets = array( ); //////////////////////////////////////////////////// -// Name of the stylesheet(s) you are including in +// Name of the stylesheet(s) you are including in // this new theme's /styles/ directory. //////////////////////////////////////////////////// @@ -138,12 +138,18 @@ $THEME->layouts = array( 'file' => 'general.php', 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true), - ) + ), + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true), + ), ); /////////////////////////////////////////////////////////////// -// These are all of the possible layouts in Moodle. +// These are all of the possible layouts in Moodle. /////////////////////////////////////////////////////////////// diff --git a/theme/standardold/config.php b/theme/standardold/config.php index ff07a9f7d5b..30d43198153 100644 --- a/theme/standardold/config.php +++ b/theme/standardold/config.php @@ -131,6 +131,12 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true), ), + // Should display the content and basic headers only. + 'print' => array( + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>false, 'nocustommenu'=>true), + ), ); /**