| [ 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.10 2006/09/28 10:32:26 jamiesensei 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('gradients'); 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','styles_fonts','styles_color','styles_moz'); 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 $THEME->navmenuwidth = 50; 83 84 /// You can use this to control the cutoff point for strings 85 /// in the navmenus (list of activities in popup menu etc) 86 /// Default is 50 characters wide. 87 88 89 $THEME->makenavmenulist = false; 90 91 /// By setting this to true, then you will have access to a 92 /// new variable in your header.html and footer.html called 93 /// $navmenulist ... this contains a simple XHTML menu of 94 /// all activities in the current course, mostly useful for 95 /// creating popup navigation menus and so on. 96 97 98 $THEME->resource_mp3player_colors = 99 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. 100 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. 101 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes'; 102 103 /// With this you can control the colours of the "big" MP3 player 104 /// that is used for MP3 resources. 105 106 107 $THEME->filter_mediaplugin_colors = 108 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. 109 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. 110 'waitForPlay=yes'; 111 112 /// ...And this controls the small embedded player 113 114 115 $THEME->custompix = false; 116 117 /// If true, then this theme must have a "pix" 118 /// subdirectory that contains copies of all 119 /// files from the moodle/pix directory, plus a 120 /// "pix/mod" directory containing all the icons 121 /// for all the activity modules. 122 //////////////////////////////////////////////////////////////////////////////// 123 124 ?>
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 |