Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/theme/anomaly/config.php
Go to the documentation of this file.
00001 <?php
00002 
00007 
00008 $THEME->name = 'anomaly';
00009 
00010 $THEME->sheets = array('base', 'general', 'browser','dock');
00014 
00015 $THEME->parents = array('base');  // TODO: new themes can not be based on standardold, instead use 'base' as the base
00023 
00024 $THEME->parents_exclude_sheets = array('base'=>array('styles_moz'));
00025 
00026 $THEME->layouts = array(
00027     // Most pages - if we encounter an unknown or a missing page type, this one is used.
00028     'base' => array(
00029         'file' => 'general.php',
00030         'regions' => array()
00031     ),
00032     'standard' => array(
00033         'file' => 'general.php',
00034         'regions' => array('side-pre', 'side-post'),
00035         'defaultregion' => 'side-post',
00036         'options' => array('langmenu' => true)
00037     ),
00038     // Course page
00039     'course' => array(
00040         'file' => 'general.php',
00041         'regions' => array('side-pre', 'side-post'),
00042         'defaultregion' => 'side-post',
00043         'options' => array('langmenu' => true)
00044     ),
00045     // Course page
00046     'coursecategory' => array(
00047         'file' => 'general.php',
00048         'regions' => array('side-pre', 'side-post'),
00049         'defaultregion' => 'side-post',
00050         'options' => array('langmenu' => true)
00051     ),
00052     'incourse' => array(
00053         'file' => 'general.php',
00054         'regions' => array('side-pre', 'side-post'),
00055         'defaultregion' => 'side-post',
00056         'options' => array('langmenu' => true)
00057     ),
00058     'frontpage' => array(
00059         'file' => 'general.php',
00060         'regions' => array('side-pre', 'side-post'),
00061         'defaultregion' => 'side-post',
00062         'options' => array('langmenu' => true)
00063     ),
00064     'admin' => array(
00065         'file' => 'general.php',
00066         'regions' => array('side-pre'),
00067         'defaultregion' => 'side-pre',
00068         'options' => array('langmenu' => true)
00069     ),
00070     'mydashboard' => array(
00071         'file' => 'general.php',
00072         'regions' => array('side-pre', 'side-post'),
00073         'defaultregion' => 'side-post',
00074         'options' => array('langmenu' => true)
00075     ),
00076     'mypublic' => array(
00077         'file' => 'general.php',
00078         'regions' => array('side-pre', 'side-post'),
00079         'defaultregion' => 'side-post',
00080         'options' => array('langmenu' => true)
00081     ),
00082     'login' => array(
00083         'file' => 'general.php',
00084         'regions' => array()
00085     ),
00086     // Pages that appear in pop-up windows - no navigation, no blocks, no header.
00087     'popup' => array(
00088         'file' => 'general.php',
00089         'regions' => array(),
00090         'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
00091     ),
00092     // No blocks and minimal footer - used for legacy frame layouts only!
00093     'frametop' => array(
00094         'file' => 'general.php',
00095         'regions' => array(),
00096         'options' => array('nofooter', 'noblocks'=>true),
00097     ),
00098     // Embeded pages, like iframe embeded in moodleform
00099     'embedded' => array(
00100         'file' => 'general.php',
00101         'regions' => array(),
00102         'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
00103     ),
00104     // Used during upgrade and install, and for the 'This site is undergoing maintenance' message.
00105     // This must not have any blocks, and it is good idea if it does not have links to
00106     // other places - for example there should not be a home link in the footer...
00107     'maintenance' => array(
00108         'file' => 'general.php',
00109         'regions' => array(),
00110         'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
00111     ),
00112     // Should display the content and basic headers only.
00113     'print' => array(
00114         'file' => 'general.php',
00115         'regions' => array(),
00116         'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
00117     ),
00118     'report' => array(
00119         'file' => 'report.php',
00120         'regions' => array('side-pre'),
00121         'defaultregion' => 'side-pre',
00122         'options' => array('langmenu' => true)
00123     ),
00124 );
00125 
00126 $THEME->rendererfactory = 'theme_overridden_renderer_factory';
00127 
00128 $THEME->enable_dock = true;
00129 
00130 $THEME->editor_sheets = array('editor');
 All Data Structures Namespaces Files Functions Variables Enumerations