Skip to content

Commit

Permalink
MDL-21149 renamed 'standard' theme to 'standardold' - this should fin…
Browse files Browse the repository at this point in the history
…ally make clear that new themes should not be based on legacy standard theme; all new core themes will be based on fresh new minimalistic 'base' theme, highly customised abnd experimentatl themes do not have to use base at all
  • Loading branch information
skodak committed Jan 12, 2010
1 parent 5f0baa4 commit 3d38a00
Show file tree
Hide file tree
Showing 59 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions theme/anomaly/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// stylesheet files you want included in this theme, and in what order
////////////////////////////////////////////////////////////////////////////////

$THEME->parents = array('standard');
$THEME->parents = array('standardold');
/// This variable can be set to the name of a parent theme
/// which you want to have included before the current theme.
/// This can make it easy to make modifications to another
Expand All @@ -21,7 +21,7 @@
/// is not used.
////////////////////////////////////////////////////////////////////////////////

$THEME->parents_exclude_sheets = array('standard'=>array('styles_moz'));
$THEME->parents_exclude_sheets = array('standardold'=>array('styles_moz'));

$THEME->resource_mp3player_colors =
'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
Expand Down
28 changes: 14 additions & 14 deletions theme/standard/config.php → theme/standardold/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,97 +80,97 @@
$THEME->layouts = array(
// Most backwards compatible layout without the blocks - this is the layout used by default
'base' => array(
'theme' => 'standard',
'theme' => 'standardold',
'file' => 'normal.php',
'regions' => array(),
),
// Standard layout with blocks, this is recommended for most pages with general information
'standard' => array(
'theme' => 'standard',
'theme' => 'standardold',
'file' => 'normal.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
// Main course page
'course' => array(
'theme' => 'standard',
'theme' => 'standardold',
'file' => 'normal.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
'options' => array('langmenu'=>true),
),
'coursecategory' => array(
'theme' => 'base',
'theme' => 'standardold',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
// Standard module pages - default page layout if $cm specified in require_login()
'module' => array(
'theme' => 'standard',
'theme' => 'standardold',
'file' => 'normal.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
// The site home page.
'frontpage' => array(
'theme' => 'standard',
'theme' => 'standardold',
'file' => 'home.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
// Server administration scripts.
'admin' => array(
'theme' => 'standard',
'theme' => 'standardold',
'file' => 'normal.php',
'regions' => array('side-pre'),
'defaultregion' => 'side-pre',
),
// My dashboard page
'mydashboard' => array(
'theme' => 'standard',
'theme' => 'standardold',
'file' => 'normal.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
'options' => array('langmenu'=>true),
),
// My public page
'mypublic' => array(
'theme' => 'standard',
'theme' => 'standardold',
'file' => 'normal.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post'
),
'login' => array(
'theme' => 'standard',
'theme' => 'standardold',
'file' => 'normal.php',
'regions' => array(),
'options' => array('langmenu'=>true),
),

// Pages that appear in pop-up windows - no navigation, no blocks, no header.
'popup' => array(
'theme' => 'standard',
'theme' => 'standardold',
'file' => 'minimal.php',
'regions' => array(),
),
// No blocks and minimal footer - used for legacy frame layouts only!
'frametop' => array(
'theme' => 'standard',
'theme' => 'standardold',
'file' => 'frametop.php',
'regions' => array(),
),
// Embeded pages, like iframe/object embeded in moodleform - it needs as much space as possible
'embedded' => array(
'theme' => 'standard',
'theme' => 'standardold',
'file' => 'embedded.php',
'regions' => array(),
),
// Used during upgrade and install, and for the 'This site is undergoing maintenance' message.
// This must not have any blocks, and it is good idea if it does not have links to
// other places - for example there should not be a home link in the footer...
'maintenance' => array(
'theme' => 'standard',
'theme' => 'standardold',
'file' => 'minimal.php',
'regions' => array(),
),
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3d38a00

Please sign in to comment.