Slightly more helpful message if no courses can be shown.
[moodle-linuxchix.git] / theme / standard / config.php
blobffe2c2679cc3f56050bdd3562af5dd73c12b589e
1 <?PHP // $Id$
3 ////////////////////////////////////////////////////////////////////////////////
4 /// This file contains a few configuration variables that control
5 /// how Moodle uses this theme.
6 ////////////////////////////////////////////////////////////////////////////////
9 $THEME->sheets = array('styles_layout', 'styles_fonts', 'styles_color');
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 ////////////////////////////////////////////////////////////////////////////////
16 $THEME->standardsheets = true;
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 ////////////////////////////////////////////////////////////////////////////////
31 $THEME->parent = '';
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 ////////////////////////////////////////////////////////////////////////////////
42 $THEME->parentsheets = false;
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 ////////////////////////////////////////////////////////////////////////////////
57 $THEME->modsheets = true;
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.
66 $THEME->blocksheets = true;
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.
75 $THEME->langsheets = false;
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.
83 $THEME->courseformatsheets = true;
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.
91 $THEME->metainclude = false;
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.
98 $THEME->standardmetainclude = true;
101 /// When this is enabled (or not set!) then Moodle will try
102 /// to include a file meta.php from the standard theme into the
103 /// <head></head> part of the page.
106 $THEME->parentmetainclude = false;
108 /// When this is enabled (or not set!) then Moodle will try
109 /// to include a file meta.php from the parent theme into the
110 /// <head></head> part of the page.
113 $THEME->navmenuwidth = 50;
115 /// You can use this to control the cutoff point for strings
116 /// in the navmenus (list of activities in popup menu etc)
117 /// Default is 50 characters wide.
120 $THEME->makenavmenulist = false;
122 /// By setting this to true, then you will have access to a
123 /// new variable in your header.html and footer.html called
124 /// $navmenulist ... this contains a simple XHTML menu of
125 /// all activities in the current course, mostly useful for
126 /// creating popup navigation menus and so on.
130 $THEME->resource_mp3player_colors =
131 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
132 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
133 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes';
135 /// With this you can control the colours of the "big" MP3 player
136 /// that is used for MP3 resources.
139 $THEME->filter_mediaplugin_colors =
140 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
141 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
142 'waitForPlay=yes';
144 /// ...And this controls the small embedded player
147 $THEME->custompix = false;
149 /// If true, then this theme must have a "pix"
150 /// subdirectory that contains copies of all
151 /// files from the moodle/pix directory, plus a
152 /// "pix/mod" directory containing all the icons
153 /// for all the activity modules.
156 ///$THEME->rarrow = '&#x25BA;' //OR '&rarr;';
157 ///$THEME->larrow = '&#x25C4;' //OR '&larr;';
158 ///$CFG->block_search_button = $THEME->rarrow .'<span class="accesshide">'.get_string('search').'</span>';
160 /// Accessibility: Right and left arrow-like characters are
161 /// used in the breadcrumb trail, course navigation menu
162 /// (previous/next activity), calendar, and search forum block.
164 /// If the theme does not set characters, appropriate defaults
165 /// are set by (lib/weblib.php:check_theme_arrows). The suggestions
166 /// above are 'silent' in a screen-reader like JAWS. Please DO NOT
167 /// use &lt; &gt; &raquo; - these are confusing for blind users.
168 ////////////////////////////////////////////////////////////////////////////////