From 3d38a00bc88bab24c7914582d7864227be9afa69 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Tue, 12 Jan 2010 17:26:46 +0000 Subject: [PATCH] MDL-21149 renamed 'standard' theme to 'standardold' - this should finally 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 --- theme/anomaly/config.php | 4 +-- theme/{standard => standardold}/config.php | 28 +++++++++--------- .../javascript/navigation.js | 0 .../layout/embedded.php | 0 .../layout/frametop.php | 0 .../{standard => standardold}/layout/home.php | 0 .../layout/minimal.php | 0 .../layout/normal.php | 0 .../{standard => standardold}/pix/favicon.ico | Bin .../pix/gradient_vertical.jpg | Bin .../pix/screenshot.jpg | Bin .../pix/shadow_corners.png | Bin .../pix/shadow_left_right.png | Bin .../pix/shadow_top_bottom.png | Bin .../pix/tab/left.gif | Bin .../pix/tab/left_active.gif | Bin .../pix/tab/left_active_hover.gif | Bin .../pix/tab/left_hover.gif | Bin .../pix/tab/right.gif | Bin .../pix/tab/right_active.gif | Bin .../pix/tab/right_active_hover.gif | Bin .../pix/tab/right_end.gif | Bin .../pix/tab/right_hover.gif | Bin .../pix/tab/right_last.gif | Bin .../pix/tab/rtlbg.gif | Bin .../pix/tab/tabrow1.gif | Bin .../style/block_blog_tags.css | 0 .../style/block_calendar_month.css | 0 .../style/block_calendar_upcoming.css | 0 .../style/block_course_summary.css | 0 .../style/block_login.css | 0 .../style/block_news_items.css | 0 .../style/block_quiz_results.css | 0 .../style/block_rss_client.css | 0 .../style/block_search_forums.css | 0 .../style/block_tags.css | 0 .../style/blog_tags.css | 0 .../style/gradebook.css | 0 .../style/mod_assignment.css | 0 .../style/mod_chat.css | 0 .../style/mod_choice.css | 0 .../style/mod_data.css | 0 .../style/mod_feedback.css | 0 .../style/mod_folder.css | 0 .../style/mod_forum.css | 0 .../style/mod_glossary.css | 0 .../style/mod_lesson.css | 0 .../style/mod_page.css | 0 .../style/mod_quiz.css | 0 .../style/mod_resource.css | 0 .../style/mod_scorm.css | 0 .../style/mod_survey.css | 0 .../style/mod_wiki.css | 0 .../style/styles_color.css | 0 .../style/styles_fonts.css | 0 .../style/styles_hacks.css | 0 .../style/styles_layout.css | 0 .../style/styles_moz.css | 0 .../style/styles_tinymce.css | 0 59 files changed, 16 insertions(+), 16 deletions(-) rename theme/{standard => standardold}/config.php (91%) rename theme/{standard => standardold}/javascript/navigation.js (100%) rename theme/{standard => standardold}/layout/embedded.php (100%) rename theme/{standard => standardold}/layout/frametop.php (100%) rename theme/{standard => standardold}/layout/home.php (100%) rename theme/{standard => standardold}/layout/minimal.php (100%) rename theme/{standard => standardold}/layout/normal.php (100%) rename theme/{standard => standardold}/pix/favicon.ico (100%) rename theme/{standard => standardold}/pix/gradient_vertical.jpg (100%) rename theme/{standard => standardold}/pix/screenshot.jpg (100%) rename theme/{standard => standardold}/pix/shadow_corners.png (100%) rename theme/{standard => standardold}/pix/shadow_left_right.png (100%) rename theme/{standard => standardold}/pix/shadow_top_bottom.png (100%) rename theme/{standard => standardold}/pix/tab/left.gif (100%) rename theme/{standard => standardold}/pix/tab/left_active.gif (100%) rename theme/{standard => standardold}/pix/tab/left_active_hover.gif (100%) rename theme/{standard => standardold}/pix/tab/left_hover.gif (100%) rename theme/{standard => standardold}/pix/tab/right.gif (100%) rename theme/{standard => standardold}/pix/tab/right_active.gif (100%) rename theme/{standard => standardold}/pix/tab/right_active_hover.gif (100%) rename theme/{standard => standardold}/pix/tab/right_end.gif (100%) rename theme/{standard => standardold}/pix/tab/right_hover.gif (100%) rename theme/{standard => standardold}/pix/tab/right_last.gif (100%) rename theme/{standard => standardold}/pix/tab/rtlbg.gif (100%) rename theme/{standard => standardold}/pix/tab/tabrow1.gif (100%) rename theme/{standard => standardold}/style/block_blog_tags.css (100%) rename theme/{standard => standardold}/style/block_calendar_month.css (100%) rename theme/{standard => standardold}/style/block_calendar_upcoming.css (100%) rename theme/{standard => standardold}/style/block_course_summary.css (100%) rename theme/{standard => standardold}/style/block_login.css (100%) rename theme/{standard => standardold}/style/block_news_items.css (100%) rename theme/{standard => standardold}/style/block_quiz_results.css (100%) rename theme/{standard => standardold}/style/block_rss_client.css (100%) rename theme/{standard => standardold}/style/block_search_forums.css (100%) rename theme/{standard => standardold}/style/block_tags.css (100%) rename theme/{standard => standardold}/style/blog_tags.css (100%) rename theme/{standard => standardold}/style/gradebook.css (100%) rename theme/{standard => standardold}/style/mod_assignment.css (100%) rename theme/{standard => standardold}/style/mod_chat.css (100%) rename theme/{standard => standardold}/style/mod_choice.css (100%) rename theme/{standard => standardold}/style/mod_data.css (100%) rename theme/{standard => standardold}/style/mod_feedback.css (100%) rename theme/{standard => standardold}/style/mod_folder.css (100%) rename theme/{standard => standardold}/style/mod_forum.css (100%) rename theme/{standard => standardold}/style/mod_glossary.css (100%) rename theme/{standard => standardold}/style/mod_lesson.css (100%) rename theme/{standard => standardold}/style/mod_page.css (100%) rename theme/{standard => standardold}/style/mod_quiz.css (100%) rename theme/{standard => standardold}/style/mod_resource.css (100%) rename theme/{standard => standardold}/style/mod_scorm.css (100%) rename theme/{standard => standardold}/style/mod_survey.css (100%) rename theme/{standard => standardold}/style/mod_wiki.css (100%) rename theme/{standard => standardold}/style/styles_color.css (100%) rename theme/{standard => standardold}/style/styles_fonts.css (100%) rename theme/{standard => standardold}/style/styles_hacks.css (100%) rename theme/{standard => standardold}/style/styles_layout.css (100%) rename theme/{standard => standardold}/style/styles_moz.css (100%) rename theme/{standard => standardold}/style/styles_tinymce.css (100%) diff --git a/theme/anomaly/config.php b/theme/anomaly/config.php index b9fee81f003..9f4cfb8835d 100644 --- a/theme/anomaly/config.php +++ b/theme/anomaly/config.php @@ -12,7 +12,7 @@ $THEME->sheets = array('styles', 'styles_layout', 'styles_select'); /// 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 @@ -21,7 +21,7 @@ $THEME->parents = array('standard'); /// 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&'. diff --git a/theme/standard/config.php b/theme/standardold/config.php similarity index 91% rename from theme/standard/config.php rename to theme/standardold/config.php index 7bdd78c509c..884fc9d1fc8 100644 --- a/theme/standard/config.php +++ b/theme/standardold/config.php @@ -80,55 +80,55 @@ $THEME->editor_sheets = array('styles_tinymce'); $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', @@ -136,13 +136,13 @@ $THEME->layouts = array( ), // 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), @@ -150,19 +150,19 @@ $THEME->layouts = array( // 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(), ), @@ -170,7 +170,7 @@ $THEME->layouts = array( // 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(), ), diff --git a/theme/standard/javascript/navigation.js b/theme/standardold/javascript/navigation.js similarity index 100% rename from theme/standard/javascript/navigation.js rename to theme/standardold/javascript/navigation.js diff --git a/theme/standard/layout/embedded.php b/theme/standardold/layout/embedded.php similarity index 100% rename from theme/standard/layout/embedded.php rename to theme/standardold/layout/embedded.php diff --git a/theme/standard/layout/frametop.php b/theme/standardold/layout/frametop.php similarity index 100% rename from theme/standard/layout/frametop.php rename to theme/standardold/layout/frametop.php diff --git a/theme/standard/layout/home.php b/theme/standardold/layout/home.php similarity index 100% rename from theme/standard/layout/home.php rename to theme/standardold/layout/home.php diff --git a/theme/standard/layout/minimal.php b/theme/standardold/layout/minimal.php similarity index 100% rename from theme/standard/layout/minimal.php rename to theme/standardold/layout/minimal.php diff --git a/theme/standard/layout/normal.php b/theme/standardold/layout/normal.php similarity index 100% rename from theme/standard/layout/normal.php rename to theme/standardold/layout/normal.php diff --git a/theme/standard/pix/favicon.ico b/theme/standardold/pix/favicon.ico similarity index 100% rename from theme/standard/pix/favicon.ico rename to theme/standardold/pix/favicon.ico diff --git a/theme/standard/pix/gradient_vertical.jpg b/theme/standardold/pix/gradient_vertical.jpg similarity index 100% rename from theme/standard/pix/gradient_vertical.jpg rename to theme/standardold/pix/gradient_vertical.jpg diff --git a/theme/standard/pix/screenshot.jpg b/theme/standardold/pix/screenshot.jpg similarity index 100% rename from theme/standard/pix/screenshot.jpg rename to theme/standardold/pix/screenshot.jpg diff --git a/theme/standard/pix/shadow_corners.png b/theme/standardold/pix/shadow_corners.png similarity index 100% rename from theme/standard/pix/shadow_corners.png rename to theme/standardold/pix/shadow_corners.png diff --git a/theme/standard/pix/shadow_left_right.png b/theme/standardold/pix/shadow_left_right.png similarity index 100% rename from theme/standard/pix/shadow_left_right.png rename to theme/standardold/pix/shadow_left_right.png diff --git a/theme/standard/pix/shadow_top_bottom.png b/theme/standardold/pix/shadow_top_bottom.png similarity index 100% rename from theme/standard/pix/shadow_top_bottom.png rename to theme/standardold/pix/shadow_top_bottom.png diff --git a/theme/standard/pix/tab/left.gif b/theme/standardold/pix/tab/left.gif similarity index 100% rename from theme/standard/pix/tab/left.gif rename to theme/standardold/pix/tab/left.gif diff --git a/theme/standard/pix/tab/left_active.gif b/theme/standardold/pix/tab/left_active.gif similarity index 100% rename from theme/standard/pix/tab/left_active.gif rename to theme/standardold/pix/tab/left_active.gif diff --git a/theme/standard/pix/tab/left_active_hover.gif b/theme/standardold/pix/tab/left_active_hover.gif similarity index 100% rename from theme/standard/pix/tab/left_active_hover.gif rename to theme/standardold/pix/tab/left_active_hover.gif diff --git a/theme/standard/pix/tab/left_hover.gif b/theme/standardold/pix/tab/left_hover.gif similarity index 100% rename from theme/standard/pix/tab/left_hover.gif rename to theme/standardold/pix/tab/left_hover.gif diff --git a/theme/standard/pix/tab/right.gif b/theme/standardold/pix/tab/right.gif similarity index 100% rename from theme/standard/pix/tab/right.gif rename to theme/standardold/pix/tab/right.gif diff --git a/theme/standard/pix/tab/right_active.gif b/theme/standardold/pix/tab/right_active.gif similarity index 100% rename from theme/standard/pix/tab/right_active.gif rename to theme/standardold/pix/tab/right_active.gif diff --git a/theme/standard/pix/tab/right_active_hover.gif b/theme/standardold/pix/tab/right_active_hover.gif similarity index 100% rename from theme/standard/pix/tab/right_active_hover.gif rename to theme/standardold/pix/tab/right_active_hover.gif diff --git a/theme/standard/pix/tab/right_end.gif b/theme/standardold/pix/tab/right_end.gif similarity index 100% rename from theme/standard/pix/tab/right_end.gif rename to theme/standardold/pix/tab/right_end.gif diff --git a/theme/standard/pix/tab/right_hover.gif b/theme/standardold/pix/tab/right_hover.gif similarity index 100% rename from theme/standard/pix/tab/right_hover.gif rename to theme/standardold/pix/tab/right_hover.gif diff --git a/theme/standard/pix/tab/right_last.gif b/theme/standardold/pix/tab/right_last.gif similarity index 100% rename from theme/standard/pix/tab/right_last.gif rename to theme/standardold/pix/tab/right_last.gif diff --git a/theme/standard/pix/tab/rtlbg.gif b/theme/standardold/pix/tab/rtlbg.gif similarity index 100% rename from theme/standard/pix/tab/rtlbg.gif rename to theme/standardold/pix/tab/rtlbg.gif diff --git a/theme/standard/pix/tab/tabrow1.gif b/theme/standardold/pix/tab/tabrow1.gif similarity index 100% rename from theme/standard/pix/tab/tabrow1.gif rename to theme/standardold/pix/tab/tabrow1.gif diff --git a/theme/standard/style/block_blog_tags.css b/theme/standardold/style/block_blog_tags.css similarity index 100% rename from theme/standard/style/block_blog_tags.css rename to theme/standardold/style/block_blog_tags.css diff --git a/theme/standard/style/block_calendar_month.css b/theme/standardold/style/block_calendar_month.css similarity index 100% rename from theme/standard/style/block_calendar_month.css rename to theme/standardold/style/block_calendar_month.css diff --git a/theme/standard/style/block_calendar_upcoming.css b/theme/standardold/style/block_calendar_upcoming.css similarity index 100% rename from theme/standard/style/block_calendar_upcoming.css rename to theme/standardold/style/block_calendar_upcoming.css diff --git a/theme/standard/style/block_course_summary.css b/theme/standardold/style/block_course_summary.css similarity index 100% rename from theme/standard/style/block_course_summary.css rename to theme/standardold/style/block_course_summary.css diff --git a/theme/standard/style/block_login.css b/theme/standardold/style/block_login.css similarity index 100% rename from theme/standard/style/block_login.css rename to theme/standardold/style/block_login.css diff --git a/theme/standard/style/block_news_items.css b/theme/standardold/style/block_news_items.css similarity index 100% rename from theme/standard/style/block_news_items.css rename to theme/standardold/style/block_news_items.css diff --git a/theme/standard/style/block_quiz_results.css b/theme/standardold/style/block_quiz_results.css similarity index 100% rename from theme/standard/style/block_quiz_results.css rename to theme/standardold/style/block_quiz_results.css diff --git a/theme/standard/style/block_rss_client.css b/theme/standardold/style/block_rss_client.css similarity index 100% rename from theme/standard/style/block_rss_client.css rename to theme/standardold/style/block_rss_client.css diff --git a/theme/standard/style/block_search_forums.css b/theme/standardold/style/block_search_forums.css similarity index 100% rename from theme/standard/style/block_search_forums.css rename to theme/standardold/style/block_search_forums.css diff --git a/theme/standard/style/block_tags.css b/theme/standardold/style/block_tags.css similarity index 100% rename from theme/standard/style/block_tags.css rename to theme/standardold/style/block_tags.css diff --git a/theme/standard/style/blog_tags.css b/theme/standardold/style/blog_tags.css similarity index 100% rename from theme/standard/style/blog_tags.css rename to theme/standardold/style/blog_tags.css diff --git a/theme/standard/style/gradebook.css b/theme/standardold/style/gradebook.css similarity index 100% rename from theme/standard/style/gradebook.css rename to theme/standardold/style/gradebook.css diff --git a/theme/standard/style/mod_assignment.css b/theme/standardold/style/mod_assignment.css similarity index 100% rename from theme/standard/style/mod_assignment.css rename to theme/standardold/style/mod_assignment.css diff --git a/theme/standard/style/mod_chat.css b/theme/standardold/style/mod_chat.css similarity index 100% rename from theme/standard/style/mod_chat.css rename to theme/standardold/style/mod_chat.css diff --git a/theme/standard/style/mod_choice.css b/theme/standardold/style/mod_choice.css similarity index 100% rename from theme/standard/style/mod_choice.css rename to theme/standardold/style/mod_choice.css diff --git a/theme/standard/style/mod_data.css b/theme/standardold/style/mod_data.css similarity index 100% rename from theme/standard/style/mod_data.css rename to theme/standardold/style/mod_data.css diff --git a/theme/standard/style/mod_feedback.css b/theme/standardold/style/mod_feedback.css similarity index 100% rename from theme/standard/style/mod_feedback.css rename to theme/standardold/style/mod_feedback.css diff --git a/theme/standard/style/mod_folder.css b/theme/standardold/style/mod_folder.css similarity index 100% rename from theme/standard/style/mod_folder.css rename to theme/standardold/style/mod_folder.css diff --git a/theme/standard/style/mod_forum.css b/theme/standardold/style/mod_forum.css similarity index 100% rename from theme/standard/style/mod_forum.css rename to theme/standardold/style/mod_forum.css diff --git a/theme/standard/style/mod_glossary.css b/theme/standardold/style/mod_glossary.css similarity index 100% rename from theme/standard/style/mod_glossary.css rename to theme/standardold/style/mod_glossary.css diff --git a/theme/standard/style/mod_lesson.css b/theme/standardold/style/mod_lesson.css similarity index 100% rename from theme/standard/style/mod_lesson.css rename to theme/standardold/style/mod_lesson.css diff --git a/theme/standard/style/mod_page.css b/theme/standardold/style/mod_page.css similarity index 100% rename from theme/standard/style/mod_page.css rename to theme/standardold/style/mod_page.css diff --git a/theme/standard/style/mod_quiz.css b/theme/standardold/style/mod_quiz.css similarity index 100% rename from theme/standard/style/mod_quiz.css rename to theme/standardold/style/mod_quiz.css diff --git a/theme/standard/style/mod_resource.css b/theme/standardold/style/mod_resource.css similarity index 100% rename from theme/standard/style/mod_resource.css rename to theme/standardold/style/mod_resource.css diff --git a/theme/standard/style/mod_scorm.css b/theme/standardold/style/mod_scorm.css similarity index 100% rename from theme/standard/style/mod_scorm.css rename to theme/standardold/style/mod_scorm.css diff --git a/theme/standard/style/mod_survey.css b/theme/standardold/style/mod_survey.css similarity index 100% rename from theme/standard/style/mod_survey.css rename to theme/standardold/style/mod_survey.css diff --git a/theme/standard/style/mod_wiki.css b/theme/standardold/style/mod_wiki.css similarity index 100% rename from theme/standard/style/mod_wiki.css rename to theme/standardold/style/mod_wiki.css diff --git a/theme/standard/style/styles_color.css b/theme/standardold/style/styles_color.css similarity index 100% rename from theme/standard/style/styles_color.css rename to theme/standardold/style/styles_color.css diff --git a/theme/standard/style/styles_fonts.css b/theme/standardold/style/styles_fonts.css similarity index 100% rename from theme/standard/style/styles_fonts.css rename to theme/standardold/style/styles_fonts.css diff --git a/theme/standard/style/styles_hacks.css b/theme/standardold/style/styles_hacks.css similarity index 100% rename from theme/standard/style/styles_hacks.css rename to theme/standardold/style/styles_hacks.css diff --git a/theme/standard/style/styles_layout.css b/theme/standardold/style/styles_layout.css similarity index 100% rename from theme/standard/style/styles_layout.css rename to theme/standardold/style/styles_layout.css diff --git a/theme/standard/style/styles_moz.css b/theme/standardold/style/styles_moz.css similarity index 100% rename from theme/standard/style/styles_moz.css rename to theme/standardold/style/styles_moz.css diff --git a/theme/standard/style/styles_tinymce.css b/theme/standardold/style/styles_tinymce.css similarity index 100% rename from theme/standard/style/styles_tinymce.css rename to theme/standardold/style/styles_tinymce.css