From 793a204e7b1b0b020f3f7ed25527dc71f32f92d3 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Thu, 9 Jul 2009 02:06:22 +0000 Subject: [PATCH] themes MDL-19077: Update deprecated stuff in all theme config.php files. --- theme/anomaly/config.php | 9 ------ theme/chameleon/config.php | 34 ++------------------- theme/colors/config.php | 34 ++------------------- theme/cornflower/config.php | 26 ++--------------- theme/custom_corners/config.php | 52 ++------------------------------- theme/formal_white/config.php | 34 ++------------------- theme/lines/config.php | 34 ++------------------- theme/metal/config.php | 25 ++-------------- theme/oceanblue/config.php | 25 ++-------------- theme/orangewhite/config.php | 26 ++--------------- theme/orangewhitepda/config.php | 26 ++--------------- theme/standardblue/config.php | 25 ++-------------- theme/standardgreen/config.php | 25 ++-------------- theme/standardlogo/config.php | 25 ++-------------- theme/standardred/config.php | 25 ++-------------- theme/wood/config.php | 25 ++-------------- 16 files changed, 45 insertions(+), 405 deletions(-) diff --git a/theme/anomaly/config.php b/theme/anomaly/config.php index 929db4bcf3..ff07fda9a3 100644 --- a/theme/anomaly/config.php +++ b/theme/anomaly/config.php @@ -123,15 +123,6 @@ $THEME->custompix = false; /// "pix/mod" directory containing all the icons /// for all the activity modules. -$THEME->block_l_min_width = 200; -$THEME->block_l_max_width = 200; -$THEME->block_r_min_width = 200; -$THEME->block_r_max_width = 200; - -/// These values define the min and max width of the left and right -/// sideblocks in the course pages. If not set or false the standard -/// values are taken. - ///$THEME->rarrow = '►' //OR '→'; ///$THEME->larrow = '◄' //OR '←'; diff --git a/theme/chameleon/config.php b/theme/chameleon/config.php index b917d045e8..6c6c01b7a8 100644 --- a/theme/chameleon/config.php +++ b/theme/chameleon/config.php @@ -54,38 +54,10 @@ $THEME->parentsheets = false; //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - - -$THEME->courseformatsheets = true; - -/// When this is enabled, this theme will search for files -/// named "styles.php" inside all course formats and -/// include them. This allows course formats to provide -/// their own default styles. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. $THEME->metainclude = true; diff --git a/theme/colors/config.php b/theme/colors/config.php index eabf8b6215..7aa870d9a6 100755 --- a/theme/colors/config.php +++ b/theme/colors/config.php @@ -54,38 +54,10 @@ $THEME->parentsheets = false; //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - - -$THEME->courseformatsheets = true; - -/// When this is enabled, this theme will search for files -/// named "styles.php" inside all course formats and -/// include them. This allows course formats to provide -/// their own default styles. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. $THEME->metainclude = true; diff --git a/theme/cornflower/config.php b/theme/cornflower/config.php index fc82c22eae..de73809ad7 100644 --- a/theme/cornflower/config.php +++ b/theme/cornflower/config.php @@ -54,30 +54,10 @@ $THEME->parentsheets = false; //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. $THEME->navmenuwidth = 50; diff --git a/theme/custom_corners/config.php b/theme/custom_corners/config.php index 52cddd9ba1..e6cb506c1e 100644 --- a/theme/custom_corners/config.php +++ b/theme/custom_corners/config.php @@ -52,56 +52,10 @@ $THEME->parentsheets = false; //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - - -$THEME->block_l_min_width = 180; -$THEME->block_l_max_width = 210; -$THEME->block_r_min_width = 180; -$THEME->block_r_max_width = 210; - -/// These values define the min and max width of the left and right -/// sieblocks in the course pages. If not set or false the standard -/// values are taken. - - -// $THEME->layouttable = array('left', 'middle', 'right'); - -/// $THEME->layouttable defines the way the columns are displayed -/// on the pages. You can rearange the columns to have the content -/// left and the two columns on the right page side. -/// $THEME->layouttable = array('middle', 'left', 'right'); - - -$THEME->courseformatsheets = true; - -/// When this is enabled, this theme will search for files -/// named "styles.php" inside all course formats and -/// include them. This allows course formats to provide -/// their own default styles. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. $THEME->metainclude = true; diff --git a/theme/formal_white/config.php b/theme/formal_white/config.php index df72ac4cbf..6f84a8c29e 100644 --- a/theme/formal_white/config.php +++ b/theme/formal_white/config.php @@ -53,38 +53,10 @@ $THEME->parentsheets = false; //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - - -$THEME->courseformatsheets = true; - -/// When this is enabled, this theme will search for files -/// named "styles.php" inside all course formats and -/// include them. This allows course formats to provide -/// their own default styles. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. $THEME->metainclude = false; diff --git a/theme/lines/config.php b/theme/lines/config.php index 47bfda61f4..d541a33c71 100755 --- a/theme/lines/config.php +++ b/theme/lines/config.php @@ -54,38 +54,10 @@ $THEME->parentsheets = false; //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - - -$THEME->courseformatsheets = true; - -/// When this is enabled, this theme will search for files -/// named "styles.php" inside all course formats and -/// include them. This allows course formats to provide -/// their own default styles. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. $THEME->metainclude = true; diff --git a/theme/metal/config.php b/theme/metal/config.php index de75eb0a9e..8e8fa259a6 100644 --- a/theme/metal/config.php +++ b/theme/metal/config.php @@ -54,31 +54,12 @@ $THEME->parentsheets = false; //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - $THEME->navmenuwidth = 50; /// You can use this to control the cutoff point for strings diff --git a/theme/oceanblue/config.php b/theme/oceanblue/config.php index b3b79352ff..96b7ed63b9 100644 --- a/theme/oceanblue/config.php +++ b/theme/oceanblue/config.php @@ -54,31 +54,12 @@ $THEME->parentsheets = false; //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - $THEME->navmenuwidth = 50; /// You can use this to control the cutoff point for strings diff --git a/theme/orangewhite/config.php b/theme/orangewhite/config.php index d63534763d..8b336219f6 100644 --- a/theme/orangewhite/config.php +++ b/theme/orangewhite/config.php @@ -54,30 +54,10 @@ $THEME->parentsheets = false; //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. $THEME->navmenuwidth = 50; diff --git a/theme/orangewhitepda/config.php b/theme/orangewhitepda/config.php index 2a7a0567d7..e991696872 100644 --- a/theme/orangewhitepda/config.php +++ b/theme/orangewhitepda/config.php @@ -54,30 +54,10 @@ $THEME->parentsheets = array('styles_layout', 'styles_fonts', 'styles_color', 's //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. $THEME->navmenuwidth = 50; diff --git a/theme/standardblue/config.php b/theme/standardblue/config.php index 68f9af7b47..319b9cdf3b 100644 --- a/theme/standardblue/config.php +++ b/theme/standardblue/config.php @@ -54,31 +54,12 @@ $THEME->parentsheets = false; //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - $THEME->navmenuwidth = 50; /// You can use this to control the cutoff point for strings diff --git a/theme/standardgreen/config.php b/theme/standardgreen/config.php index 68f9af7b47..319b9cdf3b 100644 --- a/theme/standardgreen/config.php +++ b/theme/standardgreen/config.php @@ -54,31 +54,12 @@ $THEME->parentsheets = false; //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - $THEME->navmenuwidth = 50; /// You can use this to control the cutoff point for strings diff --git a/theme/standardlogo/config.php b/theme/standardlogo/config.php index ba954c3c4b..3b5ee9e81d 100644 --- a/theme/standardlogo/config.php +++ b/theme/standardlogo/config.php @@ -54,31 +54,12 @@ $THEME->parentsheets = array('gradients'); //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - $THEME->navmenuwidth = 50; /// You can use this to control the cutoff point for strings diff --git a/theme/standardred/config.php b/theme/standardred/config.php index 68f9af7b47..319b9cdf3b 100644 --- a/theme/standardred/config.php +++ b/theme/standardred/config.php @@ -54,31 +54,12 @@ $THEME->parentsheets = false; //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - $THEME->navmenuwidth = 50; /// You can use this to control the cutoff point for strings diff --git a/theme/wood/config.php b/theme/wood/config.php index ac4a4fa427..10d1156656 100644 --- a/theme/wood/config.php +++ b/theme/wood/config.php @@ -54,31 +54,12 @@ $THEME->parentsheets = false; //////////////////////////////////////////////////////////////////////////////// -$THEME->modsheets = true; +$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Activity modules and -/// include them. This allows modules to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. +/// Which types of plugins should be searched for a styles.php file. This +/// Allows plugins to include enough styling information to work out of the box. -$THEME->blocksheets = true; - -/// When this is enabled, then this theme will search for -/// files named "styles.php" inside all Block modules and -/// include them. This allows Blocks to provide some basic -/// layouts so they work out of the box. -/// It is HIGHLY recommended to leave this enabled. - - -$THEME->langsheets = false; - -/// By setting this to true, then this theme will search for -/// a file named "styles.php" inside the current language -/// directory. This allows different languages to provide -/// different styles. - $THEME->navmenuwidth = 50; /// You can use this to control the cutoff point for strings -- 2.39.5