| [ 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.3 2008/02/27 12:06:49 urs_hunkler Exp $ 2 //////////////////////////////////////////////////////////////////////////////// 3 /// This file contains a few configuration variables that control 4 /// how Moodle uses this theme. 5 //////////////////////////////////////////////////////////////////////////////// 6 7 $THEME->sheets = array('user_styles'); 8 9 /// This variable is an array containing the names of all the 10 /// stylesheet files you want included in this theme, and in what order 11 //////////////////////////////////////////////////////////////////////////////// 12 13 14 $THEME->standardsheets = array('styles_layout', 'styles_color'); 15 16 /// This variable can be set to an array containing 17 /// filenames from the *STANDARD* theme. If the 18 /// array exists, it will be used to choose the 19 /// files to include in the standard style sheet. 20 /// When false, then no files are used. 21 /// When true or NON-EXISTENT, then ALL standard files are used. 22 /// This parameter can be used, for example, to prevent 23 /// having to override too many classes. 24 /// Note that the trailing .css should not be included 25 /// eg $THEME->standardsheets = array('styles_layout','styles_fonts','styles_color'); 26 //////////////////////////////////////////////////////////////////////////////// 27 28 29 $THEME->parent = ''; 30 31 /// This variable can be set to the name of a parent theme 32 /// which you want to have included before the current theme. 33 /// This can make it easy to make modifications to another 34 /// theme without having to actually change the files 35 /// If this variable is empty or false then a parent theme 36 /// is not used. 37 //////////////////////////////////////////////////////////////////////////////// 38 39 40 $THEME->parentsheets = false; 41 42 /// This variable can be set to an array containing 43 /// filenames from a chosen *PARENT* theme. If the 44 /// array exists, it will be used to choose the 45 /// files to include in the standard style sheet. 46 /// When false, then no files are used. 47 /// When true or NON-EXISTENT, then ALL standard files are used. 48 /// This parameter can be used, for example, to prevent 49 /// having to override too many classes. 50 /// Note that the trailing .css should not be included 51 /// eg $THEME->parentsheets = array('styles_layout','styles_fonts','styles_color'); 52 //////////////////////////////////////////////////////////////////////////////// 53 54 55 $THEME->modsheets = true; 56 57 /// When this is enabled, then this theme will search for 58 /// files named "styles.php" inside all Activity modules and 59 /// include them. This allows modules to provide some basic 60 /// layouts so they work out of the box. 61 /// It is HIGHLY recommended to leave this enabled. 62 63 64 $THEME->blocksheets = true; 65 66 /// When this is enabled, then this theme will search for 67 /// files named "styles.php" inside all Block modules and 68 /// include them. This allows Blocks to provide some basic 69 /// layouts so they work out of the box. 70 /// It is HIGHLY recommended to leave this enabled. 71 72 73 $THEME->langsheets = false; 74 75 /// By setting this to true, then this theme will search for 76 /// a file named "styles.php" inside the current language 77 /// directory. This allows different languages to provide 78 /// different styles. 79 80 81 $THEME->block_l_min_width = 180; 82 $THEME->block_l_max_width = 210; 83 $THEME->block_r_min_width = 180; 84 $THEME->block_r_max_width = 210; 85 86 /// These values define the min and max width of the left and right 87 /// sieblocks in the course pages. If not set or false the standard 88 /// values are taken. 89 90 91 // $THEME->layouttable = array('left', 'middle', 'right'); 92 93 /// $THEME->layouttable defines the way the columns are displayed 94 /// on the pages. You can rearange the columns to have the content 95 /// left and the two columns on the right page side. 96 /// $THEME->layouttable = array('middle', 'left', 'right'); 97 98 99 $THEME->courseformatsheets = true; 100 101 /// When this is enabled, this theme will search for files 102 /// named "styles.php" inside all course formats and 103 /// include them. This allows course formats to provide 104 /// their own default styles. 105 106 107 $THEME->metainclude = true; 108 109 /// When this is enabled (or not set!) then Moodle will try 110 /// to include a file meta.php from this theme into the 111 /// <head></head> part of the page. 112 113 114 $THEME->standardmetainclude = true; 115 116 117 /// When this is enabled (or not set!) then Moodle will try 118 /// to include a file meta.php from the standard theme into the 119 /// <head></head> part of the page. 120 121 122 $THEME->parentmetainclude = false; 123 124 /// When this is enabled (or not set!) then Moodle will try 125 /// to include a file meta.php from the parent theme into the 126 /// <head></head> part of the page. 127 128 129 $THEME->navmenuwidth = 50; 130 131 /// You can use this to control the cutoff point for strings 132 /// in the navmenus (list of activities in popup menu etc) 133 /// Default is 50 characters wide. 134 135 136 $THEME->makenavmenulist = false; 137 138 /// By setting this to true, then you will have access to a 139 /// new variable in your header.html and footer.html called 140 /// $navmenulist ... this contains a simple XHTML menu of 141 /// all activities in the current course, mostly useful for 142 /// creating popup navigation menus and so on. 143 144 // $THEME->layouttable = array('middle', 'left', 'right'); 145 146 147 $THEME->customcorners = true; 148 149 /// By setting this to true, Moodle will generate extra divs in 150 /// all pages to enable graphical rich custom corners and borders. 151 /// Please have a look at the README with more details. 152 153 154 // $CFG->CSSEdit = true; 155 156 /// When this is enabled then Moodle will include all CSS files 157 /// seperately instead of writing all CSS code into one single 158 /// CSS file per theme. The single CSS files can then be edited 159 /// and saved with interactive CSS editors like CSSEdit. 160 161 162 $THEME->resource_mp3player_colors = 163 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. 164 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. 165 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes'; 166 167 /// With this you can control the colours of the "big" MP3 player 168 /// that is used for MP3 resources. 169 170 171 $THEME->filter_mediaplugin_colors = 172 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. 173 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. 174 'waitForPlay=yes'; 175 176 /// ...And this controls the small embedded player 177 178 179 $THEME->custompix = false; 180 181 /// If true, then this theme must have a "pix" 182 /// subdirectory that contains copies of all 183 /// files from the moodle/pix directory, plus a 184 /// "pix/mod" directory containing all the icons 185 /// for all the activity modules. 186 //////////////////////////////////////////////////////////////////////////////// 187 ?>
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 |