diff --git a/theme/formal_white/config.php b/theme/formal_white/config.php index 59de7ac5930..84926989204 100644 --- a/theme/formal_white/config.php +++ b/theme/formal_white/config.php @@ -24,21 +24,21 @@ * http://docs.moodle.org/dev/Themes_2.0 * * @package theme_formal_white - * @copyright Mediatouch 2000 (http://mediatouch.it/) + * @copyright 2013 Mediatouch 2000, mediatouch.it * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); $THEME->name = 'formal_white'; -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // Name of the theme. Most likely the name of // the directory in which this file resides. -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// -$THEME->parents = array('canvas','base'); -///////////////////////////////////////////////////// +$THEME->parents = array('canvas', 'base'); +// /////////////////////////////////////////////////// // Which existing theme(s) in the /theme/ directory // do you want this theme to extend. A theme can // extend any number of themes. Rather than @@ -46,7 +46,7 @@ $THEME->parents = array('canvas','base'); // of the CSS, you can simply create a new theme, // extend the theme you like and just add the // changes you want to your theme. -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// $THEME->parents_exclude_sheets = array( @@ -56,33 +56,33 @@ $THEME->parents_exclude_sheets = array( 'tables', ), ); -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // An array of stylesheets not to inherit from the // themes parents -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// -$THEME->sheets = array('frame' ,'menu', 'course', - 'pagelayout','core', 'calendar', - 'tabs' ,'quiz', 'forum', - 'block' ,'formal_white'); -//////////////////////////////////////////////////// +$THEME->sheets = array('frame' , 'menu', 'course', + 'pagelayout', 'core', 'calendar', + 'tabs' , 'quiz', 'forum', + 'block' , 'formal_white'); +// ////////////////////////////////////////////////// // Name of the stylesheet(s) you've including in // this theme's /styles/ directory. -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// $THEME->enable_dock = true; -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // Do you want to use the new navigation dock? -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// $THEME->editor_sheets = array('editor'); -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // An array of stylesheets to include within the // body of the editor. -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// $THEME->layouts = array( @@ -177,80 +177,80 @@ $THEME->layouts = array( 'defaultregion' => 'side-pre', ), ); -/////////////////////////////////////////////////////////////// +// ///////////////////////////////////////////////////////////// // These are all of the possible layouts in Moodle. The // simplest way to do this is to keep the theme and file // variables the same for every layout. Including them // all in this way allows some flexibility down the road // if you want to add a different layout template to a // specific page. -/////////////////////////////////////////////////////////////// +// ///////////////////////////////////////////////////////////// $THEME->csspostprocess = 'formal_white_user_settings'; -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // Allows the user to provide the name of a function // that all CSS should be passed to before being // delivered. -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // $THEME->javascripts -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // An array containing the names of JavaScript files // located in /javascript/ to include in the theme. // (gets included in the head) -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // $THEME->javascripts_footer -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // As above but will be included in the page footer. -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// -//$THEME->larrow = "<"; -//////////////////////////////////////////////////// +// $THEME->larrow = "<"; +// ////////////////////////////////////////////////// // Overrides the left arrow image used throughout // Moodle -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// -//$THEME->rarrow = ">"; -//////////////////////////////////////////////////// +// $THEME->rarrow = ">"; +// ////////////////////////////////////////////////// // Overrides the right arrow image used throughout Moodle -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // $THEME->layouts -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // An array setting the layouts for the theme -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // $THEME->parents_exclude_javascripts -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // An array of JavaScript files NOT to inherit from // the themes parents -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // $THEME->parents_exclude_sheets -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // An array of stylesheets not to inherit from the // themes parents -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // $THEME->plugins_exclude_sheets -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // An array of plugin sheets to ignore and not // include. -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // $THEME->rendererfactory -//////////////////////////////////////////////////// +// ////////////////////////////////////////////////// // Sets a custom render factory to use with the // theme, used when working with custom renderers. -//////////////////////////////////////////////////// \ No newline at end of file +// ////////////////////////////////////////////////// \ No newline at end of file diff --git a/theme/formal_white/db/upgrade.php b/theme/formal_white/db/upgrade.php index 2ee8b7b63ae..ca4a0e2e92c 100644 --- a/theme/formal_white/db/upgrade.php +++ b/theme/formal_white/db/upgrade.php @@ -77,11 +77,9 @@ function xmldb_theme_formal_white_upgrade($oldversion) { // Moodle v2.3.0 release upgrade line // Put any upgrade step following this - // Moodle v2.4.0 release upgrade line // Put any upgrade step following this - // Moodle v2.5.0 release upgrade line. // Put any upgrade step following this. diff --git a/theme/formal_white/lang/en/theme_formal_white.php b/theme/formal_white/lang/en/theme_formal_white.php index 371d9eaa6c5..2285e63e79b 100644 --- a/theme/formal_white/lang/en/theme_formal_white.php +++ b/theme/formal_white/lang/en/theme_formal_white.php @@ -1,5 +1,4 @@ . /** - * Strings for component 'theme_formal_white', language 'en', branch 'MOODLE_20_STABLE' + * Moodle's formal_white theme, an example of how to make a Bootstrap theme + * + * DO NOT MODIFY THIS THEME! + * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. + * + * For full information about creating Moodle themes, see: + * http://docs.moodle.org/dev/Themes_2.0 * * @package theme_formal_white - * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} + * @copyright 2013 Mediatouch 2000, mediatouch.it * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ diff --git a/theme/formal_white/layout/embedded.php b/theme/formal_white/layout/embedded.php index 1f7fee9627a..325bcb75501 100644 --- a/theme/formal_white/layout/embedded.php +++ b/theme/formal_white/layout/embedded.php @@ -1,4 +1,33 @@ . + +/** + * Moodle's formal_white theme + * + * DO NOT MODIFY THIS THEME! + * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. + * + * For full information about creating Moodle themes, see: + * http://docs.moodle.org/dev/Themes_2.0 + * + * @package theme_formal_white + * @copyright 2013 Mediatouch 2000, mediatouch.it + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + defined('MOODLE_INTERNAL') || die(); echo $OUTPUT->doctype() ?> diff --git a/theme/formal_white/layout/frontpage.php b/theme/formal_white/layout/frontpage.php index f187d751729..30e173fa714 100644 --- a/theme/formal_white/layout/frontpage.php +++ b/theme/formal_white/layout/frontpage.php @@ -1,5 +1,32 @@ . +/** + * Moodle's formal_white theme + * + * DO NOT MODIFY THIS THEME! + * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. + * + * For full information about creating Moodle themes, see: + * http://docs.moodle.org/dev/Themes_2.0 + * + * @package theme_formal_white + * @copyright 2013 Mediatouch 2000, mediatouch.it + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ defined('MOODLE_INTERNAL') || die(); $hasheading = $PAGE->heading; @@ -62,14 +89,14 @@ echo $OUTPUT->doctype() ?>