MDL-23795 basic support for print page layout + tons of trailing whitespace fixed

This commit is contained in:
Petr Skoda
2010-08-16 19:34:23 +00:00
parent dba37691c5
commit ed5d13c074
16 changed files with 349 additions and 260 deletions
+1
View File
@@ -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();
+7 -1
View File
@@ -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';
+28 -23
View File
@@ -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
////////////////////////////////////////////////////
+7 -1
View File
@@ -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
+29 -24
View File
@@ -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
////////////////////////////////////////////////////
+30 -24
View File
@@ -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
////////////////////////////////////////////////////
+40 -34
View File
@@ -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
////////////////////////////////////////////////////
+7 -1
View File
@@ -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';
+31 -25
View File
@@ -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
////////////////////////////////////////////////////
+29 -23
View File
@@ -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';
+31 -25
View File
@@ -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
////////////////////////////////////////////////////
+29 -23
View File
@@ -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 = "&#60";
////////////////////////////////////////////////////
// Overrides the left arrow image used throughout
// Overrides the left arrow image used throughout
// Moodle
////////////////////////////////////////////////////
//$THEME->rarrow = "&#62";
//$THEME->rarrow = "&#62";
////////////////////////////////////////////////////
// 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';
+32 -26
View File
@@ -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
////////////////////////////////////////////////////
+33 -27
View File
@@ -16,9 +16,9 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
*
*
* 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
////////////////////////////////////////////////////
+9 -3
View File
@@ -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.
///////////////////////////////////////////////////////////////
+6
View File
@@ -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),
),
);
/**