Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/theme/magazine/config.php
Go to the documentation of this file.
00001 <?php
00002 
00003 defined('MOODLE_INTERNAL') || die();
00004 
00005 $THEME->name = 'magazine';
00006 
00008 // Name of the theme. Most likely the name of
00009 // the directory in which this file resides.
00011 
00012 $THEME->parents = array('canvas','base');
00013 
00015 // Which existing theme(s) in the /theme/ directory
00016 // do you want this theme to extend. A theme can
00017 // extend any number of themes. Rather than
00018 // creating an entirely new theme and copying all
00019 // of the CSS, you can simply create a new theme,
00020 // extend the theme you like and just add the
00021 // changes you want to your theme.
00023 
00024 $THEME->sheets = array('layout','core','colors','css3');
00025 
00027 // Name of the stylesheet(s) you've including in
00028 // this theme's /styles/ directory.
00030 
00031 $THEME->parents_exclude_sheets = array('base'=>array('pagelayout'),'canvas'=>array('pagelayout') );
00032 
00034 // An array of stylesheets not to inherit from the
00035 // themes parents
00037 
00038 $THEME->enable_dock = true;
00039 
00041 // Do you want to use the new navigation dock?
00043 
00044 $THEME->editor_sheets = array('editor');
00045 
00047 // An array of stylesheets to include within the
00048 // body of the editor.
00050 
00051 $THEME->layouts = array(
00052     'base' => array(
00053         'file' => 'general.php',
00054         'regions' => array('side-pre', 'side-post'),
00055         'defaultregion' => 'side-post',
00056     ),
00057     'general' => array(
00058         'file' => 'general.php',
00059         'regions' => array('side-pre', 'side-post'),
00060         'defaultregion' => 'side-post',
00061     ),
00062     'course' => array(
00063         'file' => 'general.php',
00064         'regions' => array('side-pre', 'side-post'),
00065         'defaultregion' => 'side-post'
00066     ),
00067     'coursecategory' => array(
00068         'file' => 'general.php',
00069         'regions' => array('side-pre', 'side-post'),
00070         'defaultregion' => 'side-post',
00071     ),
00072     'incourse' => array(
00073         'file' => 'general.php',
00074         'regions' => array('side-pre', 'side-post'),
00075         'defaultregion' => 'side-post',
00076     ),
00077     'frontpage' => array(
00078         'file' => 'frontpage.php',
00079         'regions' => array('side-pre', 'side-post'),
00080         'defaultregion' => 'side-post',
00081     ),
00082     'admin' => array(
00083         'file' => 'general.php',
00084         'regions' => array('side-pre'),
00085         'defaultregion' => 'side-pre',
00086     ),
00087     'mydashboard' => array(
00088         'file' => 'general.php',
00089         'regions' => array('side-pre', 'side-post'),
00090         'defaultregion' => 'side-post',
00091         'options' => array('langmenu'=>true),
00092     ),
00093     'mypublic' => array(
00094         'file' => 'general.php',
00095         'regions' => array('side-pre', 'side-post'),
00096         'defaultregion' => 'side-post',
00097     ),
00098     'login' => array(
00099         'file' => 'general.php',
00100         'regions' => array(),
00101         'options' => array('langmenu'=>true),
00102     ),
00103     'popup' => array(
00104         'file' => 'general.php',
00105         'regions' => array(),
00106         'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
00107     ),
00108     'frametop' => array(
00109         'file' => 'general.php',
00110         'regions' => array(),
00111         'options' => array('nofooter'=>true),
00112     ),
00113     'maintenance' => array(
00114         'file' => 'general.php',
00115         'regions' => array(),
00116         'options' => array('nofooter'=>true, 'nonavbar'=>true),
00117     ),
00118     'embedded' => array(
00119         'file' => 'embedded.php',
00120         'regions' => array(),
00121         'options' => array('nofooter'=>true, 'nonavbar'=>true),
00122     ),
00123     // Should display the content and basic headers only.
00124     'print' => array(
00125         'file' => 'general.php',
00126         'regions' => array(),
00127         'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
00128     ),
00129     'report' => array(
00130         'file' => 'general.php',
00131         'regions' => array('side-pre'),
00132         'defaultregion' => 'side-pre',
00133     ),
00134 );
00135 
00137 // These are all of the possible layouts in Moodle. The
00138 // simplest way to do this is to keep the theme and file
00139 // variables the same for every layout. Including them
00140 // all in this way allows some flexibility down the road
00141 // if you want to add a different layout template to a
00142 // specific page.
00144 
00145 $THEME->csspostprocess = 'magazine_process_css';
00146 
00148 // Allows the user to provide the name of a function
00149 // that all CSS should be passed to before being
00150 // delivered.
00152 
00153 // $THEME->javascripts
00154 
00156 // An array containing the names of JavaScript files
00157 // located in /javascript/ to include in the theme.
00158 // (gets included in the head)
00160 
00161 // $THEME->javascripts_footer
00162 
00164 // As above but will be included in the page footer.
00166 
00167 // $THEME->larrow = "&#60";
00168 
00170 // Overrides the left arrow image used throughout
00171 // Moodle
00173 
00174 // $THEME->rarrow = "&#62";
00175 
00177 // Overrides the right arrow image used throughout Moodle
00179 
00180 // $THEME->parents_exclude_javascripts
00181 
00183 // An array of JavaScript files NOT to inherit from
00184 // the themes parents
00186 
00187 // $THEME->plugins_exclude_sheets
00188 
00190 // An array of plugin sheets to ignore and not
00191 // include.
00193 
00194 // $THEME->rendererfactory
00195 
00197 // Sets a custom render factory to use with the
00198 // theme, used when working with custom renderers.
 All Data Structures Namespaces Files Functions Variables Enumerations