[5573] | 1 | <?PHP // $Id: config.php,v 1.8.8.1 2008/02/27 13:41:08 andreabix Exp $ |
---|
| 2 | |
---|
| 3 | //////////////////////////////////////////////////////////////////////////////// |
---|
| 4 | /// This file contains a few configuration variables that control |
---|
| 5 | /// how Moodle uses this theme. |
---|
| 6 | //////////////////////////////////////////////////////////////////////////////// |
---|
| 7 | |
---|
| 8 | $THEME->sheets = array('fw_layout','fw_color','fw_fonts'); |
---|
| 9 | ///$THEME->sheets = false; |
---|
| 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 | $THEME->standardsheets = array('styles_layout'); |
---|
| 16 | ///$THEME->standardsheets = true; |
---|
| 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 | $THEME->parent = ''; |
---|
| 31 | |
---|
| 32 | /// This variable can be set to the name of a parent theme |
---|
| 33 | /// which you want to have included before the current theme. |
---|
| 34 | /// This can make it easy to make modifications to another |
---|
| 35 | /// theme without having to actually change the files |
---|
| 36 | /// If this variable is empty or false then a parent theme |
---|
| 37 | /// is not used. |
---|
| 38 | //////////////////////////////////////////////////////////////////////////////// |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | $THEME->parentsheets = false; |
---|
| 42 | |
---|
| 43 | /// This variable can be set to an array containing |
---|
| 44 | /// filenames from a chosen *PARENT* theme. If the |
---|
| 45 | /// array exists, it will be used to choose the |
---|
| 46 | /// files to include in the standard style sheet. |
---|
| 47 | /// When false, then no files are used. |
---|
| 48 | /// When true or NON-EXISTENT, then ALL standard files are used. |
---|
| 49 | /// This parameter can be used, for example, to prevent |
---|
| 50 | /// having to override too many classes. |
---|
| 51 | /// Note that the trailing .css should not be included |
---|
| 52 | /// eg $THEME->parentsheets = array('styles_layout','styles_fonts','styles_color'); |
---|
| 53 | //////////////////////////////////////////////////////////////////////////////// |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | $THEME->modsheets = true; |
---|
| 57 | |
---|
| 58 | /// When this is enabled, then this theme will search for |
---|
| 59 | /// files named "styles.php" inside all Activity modules and |
---|
| 60 | /// include them. This allows modules to provide some basic |
---|
| 61 | /// layouts so they work out of the box. |
---|
| 62 | /// It is HIGHLY recommended to leave this enabled. |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | $THEME->blocksheets = true; |
---|
| 66 | |
---|
| 67 | /// When this is enabled, then this theme will search for |
---|
| 68 | /// files named "styles.php" inside all Block modules and |
---|
| 69 | /// include them. This allows Blocks to provide some basic |
---|
| 70 | /// layouts so they work out of the box. |
---|
| 71 | /// It is HIGHLY recommended to leave this enabled. |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | $THEME->langsheets = false; |
---|
| 75 | |
---|
| 76 | /// By setting this to true, then this theme will search for |
---|
| 77 | /// a file named "styles.php" inside the current language |
---|
| 78 | /// directory. This allows different languages to provide |
---|
| 79 | /// different styles. |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | $THEME->courseformatsheets = true; |
---|
| 83 | |
---|
| 84 | /// When this is enabled, this theme will search for files |
---|
| 85 | /// named "styles.php" inside all course formats and |
---|
| 86 | /// include them. This allows course formats to provide |
---|
| 87 | /// their own default styles. |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | $THEME->metainclude = false; |
---|
| 91 | |
---|
| 92 | /// When this is enabled (or not set!) then Moodle will try |
---|
| 93 | /// to include a file meta.php from this theme into the |
---|
| 94 | /// <head></head> part of the page. |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | $THEME->standardmetainclude = true; |
---|
| 98 | |
---|
| 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->resource_mp3player_colors = |
---|
| 129 | 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. |
---|
| 130 | 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. |
---|
| 131 | 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes'; |
---|
| 132 | |
---|
| 133 | /// With this you can control the colours of the "big" MP3 player |
---|
| 134 | /// that is used for MP3 resources. |
---|
| 135 | |
---|
| 136 | |
---|
| 137 | $THEME->filter_mediaplugin_colors = |
---|
| 138 | 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. |
---|
| 139 | 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. |
---|
| 140 | 'waitForPlay=yes'; |
---|
| 141 | |
---|
| 142 | /// ...And this controls the small embedded player |
---|
| 143 | |
---|
| 144 | |
---|
| 145 | $THEME->custompix = false; |
---|
| 146 | |
---|
| 147 | /// If true, then this theme must have a "pix" |
---|
| 148 | /// subdirectory that contains copies of all |
---|
| 149 | /// files from the moodle/pix directory, plus a |
---|
| 150 | /// "pix/mod" directory containing all the icons |
---|
| 151 | /// for all the activity modules. |
---|
| 152 | //////////////////////////////////////////////////////////////////////////////// |
---|
| 153 | |
---|
| 154 | |
---|
| 155 | ///$THEME->rarrow = '►' //OR '→'; |
---|
| 156 | ///$THEME->larrow = '◄' //OR '←'; |
---|
| 157 | ///$CFG->block_search_button = link_arrow_right(get_string('search'), $url='', $accesshide=true); |
---|
| 158 | /// |
---|
| 159 | /// Accessibility: Right and left arrow-like characters are |
---|
| 160 | /// used in the breadcrumb trail, course navigation menu |
---|
| 161 | /// (previous/next activity), calendar, and search forum block. |
---|
| 162 | /// |
---|
| 163 | /// If the theme does not set characters, appropriate defaults |
---|
| 164 | /// are set by (lib/weblib.php:check_theme_arrows). The suggestions |
---|
| 165 | /// above are 'silent' in a screen-reader like JAWS. Please DO NOT |
---|
| 166 | /// use < > » - these are confusing for blind users. |
---|
| 167 | //////////////////////////////////////////////////////////////////////////////// |
---|
| 168 | |
---|
| 169 | ?> |
---|