MDL-30236 removed outlawed javasript from theme_anomaly
[moodle.git] / theme / anomaly / config.php
CommitLineData
aa6c1ced 1<?php
912adb21 2
3////////////////////////////////////////////////////////////////////////////////
aa6c1ced 4/// This file contains a few configuration variables that control
912adb21 5/// how Moodle uses this theme.
6////////////////////////////////////////////////////////////////////////////////
7
cb0af319 8$THEME->name = 'anomaly';
912adb21 9
9fa58872 10$THEME->sheets = array('base', 'general', 'browser');
aa6c1ced 11/// This variable is an array containing the names of all the
912adb21 12/// stylesheet files you want included in this theme, and in what order
13////////////////////////////////////////////////////////////////////////////////
14
60e19300 15$THEME->parents = array('base'); // TODO: new themes can not be based on standardold, instead use 'base' as the base
912adb21 16/// This variable can be set to the name of a parent theme
17/// which you want to have included before the current theme.
aa6c1ced 18/// This can make it easy to make modifications to another
912adb21 19/// theme without having to actually change the files
aa6c1ced 20/// If this variable is empty or false then a parent theme
912adb21 21/// is not used.
22////////////////////////////////////////////////////////////////////////////////
23
60e19300 24$THEME->parents_exclude_sheets = array('base'=>array('styles_moz'));
912adb21 25
cb0af319
SH
26$THEME->layouts = array(
27 // Most pages - if we encounter an unknown or a missing page type, this one is used.
60e19300 28 'base' => array(
60e19300
SH
29 'file' => 'general.php',
30 'regions' => array()
31 ),
32 'standard' => array(
cb0af319
SH
33 'file' => 'general.php',
34 'regions' => array('side-pre', 'side-post'),
ced9fc44
SH
35 'defaultregion' => 'side-post',
36 'options' => array('langmenu' => true)
cb0af319
SH
37 ),
38 // Course page
39 'course' => array(
cb0af319
SH
40 'file' => 'general.php',
41 'regions' => array('side-pre', 'side-post'),
ced9fc44
SH
42 'defaultregion' => 'side-post',
43 'options' => array('langmenu' => true)
cb0af319 44 ),
60e19300
SH
45 // Course page
46 'coursecategory' => array(
60e19300
SH
47 'file' => 'general.php',
48 'regions' => array('side-pre', 'side-post'),
ced9fc44
SH
49 'defaultregion' => 'side-post',
50 'options' => array('langmenu' => true)
60e19300
SH
51 ),
52 'incourse' => array(
60e19300
SH
53 'file' => 'general.php',
54 'regions' => array('side-pre', 'side-post'),
ced9fc44
SH
55 'defaultregion' => 'side-post',
56 'options' => array('langmenu' => true)
60e19300
SH
57 ),
58 'frontpage' => array(
60e19300 59 'file' => 'general.php',
cb0af319 60 'regions' => array('side-pre', 'side-post'),
ced9fc44
SH
61 'defaultregion' => 'side-post',
62 'options' => array('langmenu' => true)
cb0af319 63 ),
cb0af319 64 'admin' => array(
cb0af319
SH
65 'file' => 'general.php',
66 'regions' => array('side-pre'),
ced9fc44
SH
67 'defaultregion' => 'side-pre',
68 'options' => array('langmenu' => true)
cb0af319 69 ),
60e19300 70 'mydashboard' => array(
cb0af319
SH
71 'file' => 'general.php',
72 'regions' => array('side-pre', 'side-post'),
ced9fc44
SH
73 'defaultregion' => 'side-post',
74 'options' => array('langmenu' => true)
cb0af319 75 ),
60e19300 76 'mypublic' => array(
cb0af319 77 'file' => 'general.php',
60e19300 78 'regions' => array('side-pre', 'side-post'),
ced9fc44
SH
79 'defaultregion' => 'side-post',
80 'options' => array('langmenu' => true)
60e19300
SH
81 ),
82 'login' => array(
60e19300
SH
83 'file' => 'general.php',
84 'regions' => array()
cb0af319
SH
85 ),
86 // Pages that appear in pop-up windows - no navigation, no blocks, no header.
87 'popup' => array(
cb0af319
SH
88 'file' => 'general.php',
89 'regions' => array(),
90 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
91 ),
92 // No blocks and minimal footer - used for legacy frame layouts only!
93 'frametop' => array(
cb0af319
SH
94 'file' => 'general.php',
95 'regions' => array(),
96 'options' => array('nofooter', 'noblocks'=>true),
97 ),
98 // Embeded pages, like iframe embeded in moodleform
99 'embedded' => array(
cb0af319
SH
100 'file' => 'general.php',
101 'regions' => array(),
102 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
103 ),
104 // Used during upgrade and install, and for the 'This site is undergoing maintenance' message.
105 // This must not have any blocks, and it is good idea if it does not have links to
106 // other places - for example there should not be a home link in the footer...
107 'maintenance' => array(
cb0af319
SH
108 'file' => 'general.php',
109 'regions' => array(),
110 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
ed5d13c0
PS
111 ),
112 // Should display the content and basic headers only.
113 'print' => array(
114 'file' => 'general.php',
115 'regions' => array(),
116 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
117 ),
367a75fa
SH
118 'report' => array(
119 'file' => 'report.php',
120 'regions' => array('side-pre'),
ced9fc44
SH
121 'defaultregion' => 'side-pre',
122 'options' => array('langmenu' => true)
367a75fa 123 ),
60e19300
SH
124);
125
126$THEME->rendererfactory = 'theme_overridden_renderer_factory';
6ee5f115 127
60e19300 128$THEME->enable_dock = true;
6c0fb99b 129
ced9fc44 130$THEME->editor_sheets = array('editor');