diff --git a/theme/anomaly/config.php b/theme/anomaly/config.php index d94f1086013..9e840f361bc 100644 --- a/theme/anomaly/config.php +++ b/theme/anomaly/config.php @@ -7,12 +7,19 @@ $THEME->name = 'anomaly'; -$THEME->sheets = array('base', 'general', 'browser', 'dock', 'menu'); +$THEME->sheets = array( + 'base', + 'general', + 'browser', + 'dock', + 'menu', + 'settings' +); /// This variable is an array containing the names of all the /// stylesheet files you want included in this theme, and in what order //////////////////////////////////////////////////////////////////////////////// -$THEME->parents = array('base'); // TODO: new themes can not be based on standardold, instead use 'base' as the base +$THEME->parents = array('base'); /// This variable can be set to the name of a parent theme /// which you want to have included before the current theme. /// This can make it easy to make modifications to another @@ -54,7 +61,7 @@ $THEME->layouts = array( 'options' => array('langmenu' => true) ), 'frontpage' => array( - 'file' => 'general.php', + 'file' => 'frontpage.php', 'regions' => array('side-pre', 'side-post'), 'defaultregion' => 'side-pre', 'options' => array('langmenu' => true) @@ -113,16 +120,32 @@ $THEME->layouts = array( 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true), ), + // The pagelayout used when a redirection is occuring. + 'redirect' => array( + 'file' => 'embedded.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true), + ), + // The pagelayout used for reports. 'report' => array( 'file' => 'report.php', 'regions' => array('side-pre'), 'defaultregion' => 'side-pre', - 'options' => array('langmenu' => true) + 'options' => array('langmenu' => true), + ), + // The pagelayout used for safebrowser and securewindow. + 'secure' => array( + 'file' => 'general.php', + 'regions' => array('side-pre', 'side-post'), + 'defaultregion' => 'side-pre', + 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologinlinks'=>true, 'nocourseheaderfooter'=>true), ), ); $THEME->rendererfactory = 'theme_overridden_renderer_factory'; +$THEME->csspostprocess = 'anomaly_process_css'; + $THEME->enable_dock = true; $THEME->editor_sheets = array('editor'); diff --git a/theme/anomaly/lang/en/theme_anomaly.php b/theme/anomaly/lang/en/theme_anomaly.php index c38f679f5ad..18967aa48e7 100644 --- a/theme/anomaly/lang/en/theme_anomaly.php +++ b/theme/anomaly/lang/en/theme_anomaly.php @@ -22,8 +22,12 @@ * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ - +$string['choosereadme'] = '
http://moodle.org/mod/forum/view.php?id=46
http://docs.moodle.org/en/Theme_credits
http://docs.moodle.org/en/Themes
Anomaly is a fluid-width, three-column Moodle 2.0 theme with rounded corners.
This theme is built upon the Base theme inside the Moodle core. If you want to modify this theme, we recommend that you first duplicate it, then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.
This theme was originally designed for Moodle 1.9 by Patrick Malley. It was then coded for 2.0 and is maintained by Sam Hemelryk at Moodle HQ. He can be contacted at sam@moodle.com.
This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.
http://moodle.org/mod/forum/view.php?id=46
http://docs.moodle.org/en/Theme_credits
http://docs.moodle.org/en/Themes
Anomaly is a fluid-width, three-column Moodle 2.0 theme with rounded corners.
This theme is built upon the Base theme inside the Moodle core. If you want to modify this theme, we recommend that you first duplicate it, then rename it before making your changes. This will prevent your customized theme from being overwritten by future Moodle upgrades, and you\'ll still have the original files if you make a mess. More information on modifying themes can be found in the MoodleDocs.
This theme was originally designed for Moodle 1.9 by Patrick Malley. It was then coded for 2.0 and is maintained by Sam Hemelryk at Moodle HQ. He can be contacted at sam@moodle.com.
This, and all other themes included in the Moodle core, are licensed under the GNU General Public License.