| [ Index ] |
PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008] |
[Summary view] [Print] [Text view]
1 <?PHP // $Id: config.php,v 1.7.2.1 2008/02/19 07:52:38 urs_hunkler Exp $ 2 3 //////////////////////////////////////////////////////////////////////////////// 4 /// This file contains a few configuration variables that control 5 /// how Moodle uses this theme. 6 //////////////////////////////////////////////////////////////////////////////// 7 8 9 $THEME->sheets = array('user_styles'); 10 11 /// This variable is an array containing the names of all the 12 /// stylesheet files you want included in this theme, and in what order 13 //////////////////////////////////////////////////////////////////////////////// 14 15 16 $THEME->standardsheets = array('styles_layout'); 17 18 /// This variable can be set to an array containing 19 /// filenames from the *STANDARD* theme. If the 20 /// array exists, it will be used to choose the 21 /// files to include in the standard style sheet. 22 /// When false, then no files are used. 23 /// When true or NON-EXISTENT, then ALL standard files are used. 24 /// This parameter can be used, for example, to prevent 25 /// having to override too many classes. 26 /// Note that the trailing .css should not be included 27 /// eg $THEME->standardsheets = array('styles_layout','styles_fonts','styles_color'); 28 //////////////////////////////////////////////////////////////////////////////// 29 30 31 $THEME->parent = ''; 32 33 /// This variable can be set to the name of a parent theme 34 /// which you want to have included before the current theme. 35 /// This can make it easy to make modifications to another 36 /// theme without having to actually change the files 37 /// If this variable is empty or false then a parent theme 38 /// is not used. 39 //////////////////////////////////////////////////////////////////////////////// 40 41 42 $THEME->parentsheets = false; 43 44 /// This variable can be set to an array containing 45 /// filenames from a chosen *PARENT* theme. If the 46 /// array exists, it will be used to choose the 47 /// files to include in the standard style sheet. 48 /// When false, then no files are used. 49 /// When true or NON-EXISTENT, then ALL standard files are used. 50 /// This parameter can be used, for example, to prevent 51 /// having to override too many classes. 52 /// Note that the trailing .css should not be included 53 /// eg $THEME->parentsheets = array('styles_layout','styles_fonts','styles_color'); 54 //////////////////////////////////////////////////////////////////////////////// 55 56 57 $THEME->modsheets = true; 58 59 /// When this is enabled, then this theme will search for 60 /// files named "styles.php" inside all Activity modules and 61 /// include them. This allows modules to provide some basic 62 /// layouts so they work out of the box. 63 /// It is HIGHLY recommended to leave this enabled. 64 65 66 $THEME->blocksheets = true; 67 68 /// When this is enabled, then this theme will search for 69 /// files named "styles.php" inside all Block modules and 70 /// include them. This allows Blocks to provide some basic 71 /// layouts so they work out of the box. 72 /// It is HIGHLY recommended to leave this enabled. 73 74 75 $THEME->langsheets = false; 76 77 /// By setting this to true, then this theme will search for 78 /// a file named "styles.php" inside the current language 79 /// directory. This allows different languages to provide 80 /// different styles. 81 82 83 $THEME->courseformatsheets = true; 84 85 /// When this is enabled, this theme will search for files 86 /// named "styles.php" inside all course formats and 87 /// include them. This allows course formats to provide 88 /// their own default styles. 89 90 91 $THEME->metainclude = true; 92 93 /// When this is enabled (or not set!) then Moodle will try 94 /// to include a file meta.php from this theme into the 95 /// <head></head> part of the page. 96 97 98 $THEME->standardmetainclude = true; 99 100 /// When this is enabled (or not set!) then Moodle will try 101 /// to include a file meta.php from the standard theme into the 102 /// <head></head> part of the page. 103 104 105 $THEME->parentmetainclude = false; 106 107 /// When this is enabled (or not set!) then Moodle will try 108 /// to include a file meta.php from the parent theme into the 109 /// <head></head> part of the page. 110 111 112 $THEME->navmenuwidth = 50; 113 114 /// You can use this to control the cutoff point for strings 115 /// in the navmenus (list of activities in popup menu etc) 116 /// Default is 50 characters wide. 117 118 119 $THEME->makenavmenulist = false; 120 121 /// By setting this to true, then you will have access to a 122 /// new variable in your header.html and footer.html called 123 /// $navmenulist ... this contains a simple XHTML menu of 124 /// all activities in the current course, mostly useful for 125 /// creating popup navigation menus and so on. 126 127 128 $THEME->chameleonenabled = false; 129 130 /// By setting this to true it enables editing of the stylsheets. 131 /// It is recommended to set this to false again once you're 132 /// satisfied with your theme. 133 134 $THEME->chameleonteachereditenabled = false; 135 136 /// If you use chameleon as a course theme setting this to true 137 /// will allow teachers on that course to edit the theme. 138 139 140 141 $THEME->resource_mp3player_colors = 142 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. 143 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. 144 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes'; 145 146 /// With this you can control the colours of the "big" MP3 player 147 /// that is used for MP3 resources. 148 149 150 $THEME->filter_mediaplugin_colors = 151 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. 152 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. 153 'waitForPlay=yes'; 154 155 /// ...And this controls the small embedded player 156 157 158 $THEME->custompix = true; 159 160 /// If true, then this theme must have a "pix" 161 /// subdirectory that contains copies of all 162 /// files from the moodle/pix directory, plus a 163 /// "pix/mod" directory containing all the icons 164 /// for all the activity modules. 165 //////////////////////////////////////////////////////////////////////////////// 166 167 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Jan 14 11:33:29 2009 | Cross-referenced by PHPXref 0.7 |