Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-39021 Themes - Add a new simple theme based on bootstrap.

Credits to:
Mary Evans <lazydaisy@visible-expression.co.uk> and
David Scotson <david.scotson@glasgow.ac.uk>
  • Loading branch information...
commit 59e31add66b3408fdc7cf72926ce10c13666c2d8 1 parent ca17a12
Mary Evans lazydaisy authored damyon committed
85 theme/simple/README.txt
View
@@ -0,0 +1,85 @@
+
+/* How to copy and customise this theme.
+----------------------------------------*/
+
+This document describes how to copy and customise the Simple (bootstrap) theme so that
+you can build on this to create a theme of your own. It assumes you have some
+understanding of how themes work within Moodle 2.5, as well as a basic understanding
+of HTML and CSS.
+
+Getting started
+---------------
+
+From your Moodle theme directory right click on simple and then copy and paste back
+into your Moodle theme directory. You should now have a folder called Copy of simple.
+If you right click this folder you are given the option to Rename it. So rename this
+folder to your chosen theme name, using only lower case letters, and if needed,
+underscores. For the purpose of this tutorial we will call the theme 'simple2'.
+
+On opening 'simple2' your you will find several files and sub-directories which have
+files within them.
+
+These are:
+
+config.php
+ Where all the theme configurations are made.
+ (Contains some elements that require renaming).
+lib.php
+ Where all the functions for the themes settings are found.
+ (Contains some elements that require renaming).
+settings.php
+ Where all the setting for this theme are created.
+ (Contains some elements that require renaming).
+version.php
+ Where the version number and plugin component information is kept.
+ (Contains some elements that require renaming).
+/lang/
+ This directory contains all language sub-directories for other languages
+ if and when you want to add them.
+/lang/en/
+ This sub-directory contains your language files, in this case English.
+/lang/en/theme_simple.php
+ This file contains all the language strings for your theme.
+ (Contains some elements that require renaming as well as the filename itself).
+/layout/
+ This directory contains all the layout files for this theme.
+/layout/general.php
+ Layout file for front page and general pages combined.
+/style/
+ This directory contains all the CSS files for this theme.
+/style/custom.css
+ This is where all the settings CSS is generated.
+/pix/
+ This directory contains a screen shot of this theme as well as a favicon
+ and any images used in the theme.
+
+Renaming elements
+-----------------
+
+The problem when copying a theme is that you need to rename all those instances
+where the old theme name occurs, in this case simple. So using the above list as
+a guide, search through and change all the instances of the theme name
+'simple' to 'simple2'. This includes the filename of the lang/en/theme_simple.php.
+You need to change this to 'theme_simple2.php'.
+
+Installing your theme
+---------------------
+
+Once all the changes to the name have been made, you can safely install the theme.
+If you are already logged in just refreshing the browser should trigger your Moodle
+site to begin the install 'Plugins Check'.
+
+If not then navigate to Administration > Notifications.
+
+Once your theme is successfully installed you can select it and begin to modify
+it using the custom settings page found by navigating to...
+Administration > Site Administration > Appearance > Themes >>
+and then click on (Simple2) or whatever you renamed the theme to,
+from the list of theme names that appear at this point in the side block.
+
+Customisation using custom theme settings
+-----------------------------------------
+
+The settings page for this theme can be located by navigating to:
+
+Administration > Site Administration > Appearance > Themes > Simple
67 theme/simple/config.php
View
@@ -0,0 +1,67 @@
+<?php
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
+
+/**
+ * Moodle's Simple 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 Moodle Simple theme
+ * @copyright 2013 Moodle, moodle.org
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+$THEME->name = 'simple';
+
+/////////////////////////////////
+// The only thing you need to change in this file when copying it to
+// create a new theme is the name above. You also need to change the name
+// in version.php and lang/en/theme_simple.php as well.
+//////////////////////////////////
+//
+$THEME->doctype = 'html5';
+$THEME->parents = array('bootstrap');
+$THEME->sheets = array('custom');
+$THEME->supportscssoptimisation = false;
+$THEME->yuicssmodules = array();
+
+$THEME->editor_sheets = array();
+
+$THEME->plugins_exclude_sheets = array(
+ 'block' => array(
+ 'settings',
+ 'navigation',
+ 'html',
+ ),
+ 'gradereport' => array(
+ 'grader',
+ ),
+);
+
+$THEME->rendererfactory = 'theme_overridden_renderer_factory';
+$THEME->csspostprocess = 'simple_process_css';
+
+$useragent = '';
+if (!empty($_SERVER['HTTP_USER_AGENT'])) {
+ $useragent = $_SERVER['HTTP_USER_AGENT'];
+}
+if (strpos($useragent, 'MSIE 8') || strpos($useragent, 'MSIE 7')) {
+ $THEME->javascripts[] = 'html5shiv';
+}
67 theme/simple/lang/en/theme_simple.php
View
@@ -0,0 +1,67 @@
+<?php
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
+/**
+ * Strings for component 'theme_simple', language 'en'
+ *
+ * @package simple theme
+ * @copyright 2013 Bas Brands, www.basbrands.nl
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+$string['choosereadme'] = '
+<div class="clearfix">
+<div class="well">
+<h2>Simple</h2>
+<p><img class=img-polaroid src="simple/pix/screenshot.jpg" /></p>
+</div>
+<div class="well">
+<h3>About</h3>
+<p>Simple is a modified Moodle bootstrap theme which inherits styles and renderers from its parent theme.</p>
+<h3>Parents</h3>
+<p>This theme is based upon the Bootstrap theme, which was created for Moodle 2.5, with the help of:<br>
+Stuart Lamour, Mark Aberdour, Paul Hibbitts, Mary Evans.</p>
+<h3>Theme Credits</h3>
+<p>Authors: Bas Brands, David Scotson, Mary Evans<br>
+Contact: bas@sonsbeekmedia.nl<br>
+Website: <a href="http://www.basbrands.nl">www.basbrands.nl</a>
+</p>
+<h3>Report a bug:</h3>
+<p><a href="http://tracker.moodle.org">http://tracker.moodle.org</a></p>
+<h3>More information</h3>
+<p><a href="simple/README.txt">How to copy and customise this theme.</a></p>
+</div></div>';
+
+$string['configtitle'] = 'Simple';
+
+$string['customcss'] = 'Custom CSS';
+$string['customcssdesc'] = 'Whatever CSS rules you add to this textarea will be reflected in every page, making for easier customization of this theme.';
+
+$string['footnote'] = 'Footnote';
+$string['footnotedesc'] = 'Whatever you add to this textarea will be displayed in the footer throughout your Moodle site.';
+
+$string['invert'] = 'Invert navbar';
+$string['invertdesc'] = 'Swaps text and background for the navbar at the top of the page between black and white.';
+
+$string['logo'] = 'Logo';
+$string['logodesc'] = 'Please upload your custom logo here if you want to add it to the header.<br>
+If the height of your logo is more than 75px add the following CSS rule to the Custom CSS box below.<br>
+a.logo {height: 100px;} or whatever height in pixels the logo is.';
+
+$string['pluginname'] = 'Simple';
+
+$string['region-side-post'] = 'Right';
+$string['region-side-pre'] = 'Left';
+
209 theme/simple/layout/general.php
View
@@ -0,0 +1,209 @@
+<?php
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
+
+/**
+ * Moodle's Simple 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 Moodle Simple theme
+ * @copyright 2013 Moodle, moodle.org
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+$hasheading = ($PAGE->heading);
+$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
+$hasfooter = (empty($PAGE->layout_options['nofooter']));
+$hasheader = (empty($PAGE->layout_options['noheader']));
+
+$hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT));
+$hassidepost = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-post', $OUTPUT));
+
+$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT));
+$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT));
+
+$haslogo = (!empty($PAGE->theme->settings->logo));
+
+$hasfootnote = (!empty($PAGE->theme->settings->footnote));
+$navbar_inverse = '';
+if (!empty($PAGE->theme->settings->invert)) {
+ $navbar_inverse = 'navbar-inverse';
+}
+$custommenu = $OUTPUT->custom_menu();
+$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu));
+
+$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = '';
+
+if (empty($PAGE->layout_options['nocourseheaderfooter'])) {
+ $courseheader = $OUTPUT->course_header();
+ $coursecontentheader = $OUTPUT->course_content_header();
+ if (empty($PAGE->layout_options['nocoursefooter'])) {
+ $coursecontentfooter = $OUTPUT->course_content_footer();
+ $coursefooter = $OUTPUT->course_footer();
+ }
+}
+
+$layout = 'pre-and-post';
+if ($showsidepre && !$showsidepost) {
+ if (!right_to_left()) {
+ $layout = 'side-pre-only';
+ } else {
+ $layout = 'side-post-only';
+ }
+} else if ($showsidepost && !$showsidepre) {
+ if (!right_to_left()) {
+ $layout = 'side-post-only';
+ } else {
+ $layout = 'side-pre-only';
+ }
+} else if (!$showsidepost && !$showsidepre) {
+ $layout = 'content-only';
+}
+$bodyclasses[] = $layout;
+
+echo $OUTPUT->doctype() ?>
+<html <?php echo $OUTPUT->htmlattributes() ?>>
+<head>
+ <title><?php echo $PAGE->title ?></title>
+ <link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />
+ <?php echo $OUTPUT->standard_head_html() ?>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+</head>
+
+<body id="<?php p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join($bodyclasses)) ?>">
+
+<?php echo $OUTPUT->standard_top_of_body_html() ?>
+
+<header role="banner" class="navbar <?php echo $navbar_inverse ?> navbar-fixed-top">
+ <nav role="navigation" class="navbar-inner">
+ <div class="container-fluid">
+ <a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo $SITE->shortname; ?></a>
+ <a class="btn btn-navbar" data-toggle="workaround-collapse" data-target=".nav-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </a>
+ <div class="nav-collapse collapse">
+ <?php if ($hascustommenu) {
+ echo $custommenu;
+ } ?>
+ <ul class="nav pull-right">
+ <li><?php echo $PAGE->headingmenu ?></li>
+ <li class="navbar-text"><?php echo $OUTPUT->login_info() ?></li>
+ </ul>
+ </div>
+ </div>
+ </nav>
+</header>
+
+<div id="page" class="container-fluid">
+
+<?php if ($hasheader) { ?>
+<header id="page-header" class="clearfix">
+ <?php if ($hasnavbar) { ?>
+ <nav class="breadcrumb-button"><?php echo $PAGE->button; ?></nav>
+ <?php echo $OUTPUT->navbar(); ?>
+ <?php } ?>
+
+ <?php
+ if (!$haslogo) { ?>
+ <h1><?php echo $PAGE->heading ?></h1>
+ <?php
+ } else { ?>
+ <a class="logo" href="<?php echo $CFG->wwwroot; ?>" title="<?php print_string('home'); ?>"></a>
+ <?php
+ } ?>
+
+ <?php if (!empty($courseheader)) { ?>
+ <div id="course-header"><?php echo $courseheader; ?></div>
+ <?php } ?>
+</header>
+<?php } ?>
+
+<div id="page-content" class="row-fluid">
+
+<?php if ($layout === 'pre-and-post') { ?>
+ <div id="region-bs-main-and-pre" class="span9">
+ <div class="row-fluid">
+ <section id="region-bs-main" class="span8 pull-right">
+<?php } else if ($layout === 'side-post-only') { ?>
+ <section id="region-bs-main" class="span9">
+<?php } else if ($layout === 'side-pre-only') { ?>
+ <section id="region-bs-main" class="span9 pull-right">
+<?php } else if ($layout === 'content-only') { ?>
+ <section id="region-bs-main" class="span12">
+<?php } ?>
+
+
+ <?php echo $coursecontentheader; ?>
+ <?php echo $OUTPUT->main_content() ?>
+ <?php echo $coursecontentfooter; ?>
+ </section>
+
+
+<?php if ($layout !== 'content-only') {
+ if ($layout === 'pre-and-post') { ?>
+ <aside id="region-pre" class="span4 block-region desktop-first-column region-content">
+ <?php } else if ($layout === 'side-pre-only') { ?>
+ <aside id="region-pre" class="span3 block-region desktop-first-column region-content">
+ <?php } ?>
+ <?php
+ if (!right_to_left()) {
+ echo $OUTPUT->blocks_for_region('side-pre');
+ } else if ($hassidepost) {
+ echo $OUTPUT->blocks_for_region('side-post');
+ }
+ ?>
+ </aside>
+ <?php if ($layout === 'pre-and-post') {
+ ?></div></div><?php // Close row-fluid and span9.
+ }
+
+ if ($layout === 'side-post-only' OR $layout === 'pre-and-post') { ?>
+ <aside id="region-post" class="span3 block-region region-content">
+ <?php if (!right_to_left()) {
+ echo $OUTPUT->blocks_for_region('side-post');
+ } else {
+ echo $OUTPUT->blocks_for_region('side-pre');
+ } ?>
+ </aside>
+ <?php } ?>
+<?php } ?>
+</div>
+
+<footer id="page-footer">
+ <p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
+
+ <?php
+if ($hasfootnote) { ?>
+ <div class="footnote text-center">
+ <?php echo $PAGE->theme->settings->footnote; ?>
+ </div>
+ <?php
+} ?>
+
+ <?php echo $OUTPUT->standard_footer_html(); ?>
+</footer>
+
+<?php echo $OUTPUT->standard_end_of_body_html() ?>
+
+</div>
+</body>
+</html>
80 theme/simple/lib.php
View
@@ -0,0 +1,80 @@
+<?php
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
+
+/**
+ * Moodle's Simple 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 Moodle Simple theme
+ * @copyright 2013 Moodle, moodle.org
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+function simple_process_css($css, $theme) {
+
+ // Set the background image for the logo.
+ $logo = $theme->setting_file_url('logo', 'logo');
+ $css = simple_set_logo($css, $logo);
+
+ // Set custom CSS.
+ if (!empty($theme->settings->customcss)) {
+ $customcss = $theme->settings->customcss;
+ } else {
+ $customcss = null;
+ }
+ $css = simple_set_customcss($css, $customcss);
+
+ return $css;
+}
+
+function simple_set_logo($css, $logo) {
+ global $OUTPUT;
+ $tag = '[[setting:logo]]';
+ $replacement = $logo;
+ if (is_null($replacement)) {
+ $replacement = '';
+ }
+
+ $css = str_replace($tag, $replacement, $css);
+
+ return $css;
+}
+
+function theme_simple_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options = array()) {
+ if ($context->contextlevel == CONTEXT_SYSTEM and $filearea === 'logo') {
+ $theme = theme_config::load('simple');
+ return $theme->setting_file_serve('logo', $args, $forcedownload, $options);
+ } else {
+ send_file_not_found();
+ }
+}
+
+function simple_set_customcss($css, $customcss) {
+ $tag = '[[setting:customcss]]';
+ $replacement = $customcss;
+ if (is_null($replacement)) {
+ $replacement = '';
+ }
+
+ $css = str_replace($tag, $replacement, $css);
+
+ return $css;
+}
BIN  theme/simple/pix/screenshot.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 theme/simple/settings.php
View
@@ -0,0 +1,65 @@
+<?php
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
+
+/**
+ * Moodle's Simple 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 Moodle Simple theme
+ * @copyright 2013 Moodle, moodle.org
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+defined('MOODLE_INTERNAL') || die;
+
+if ($ADMIN->fulltree) {
+
+ // Invert Navbar to dark background.
+ $name = 'theme_simple/invert';
+ $title = get_string('invert', 'theme_simple');
+ $description = get_string('invertdesc', 'theme_simple');
+ $setting = new admin_setting_configcheckbox($name, $title, $description, 0);
+ $settings->add($setting);
+
+ // Logo file setting.
+ $name = 'theme_simple/logo';
+ $title = get_string('logo','theme_simple');
+ $description = get_string('logodesc', 'theme_simple');
+ $setting = new admin_setting_configstoredfile($name, $title, $description, 'logo');
+ $setting->set_updatedcallback('theme_reset_all_caches');
+ $settings->add($setting);
+
+ // Custom CSS file.
+ $name = 'theme_simple/customcss';
+ $title = get_string('customcss', 'theme_simple');
+ $description = get_string('customcssdesc', 'theme_simple');
+ $default = '';
+ $setting = new admin_setting_configtextarea($name, $title, $description, $default);
+ $settings->add($setting);
+
+ // Footnote setting.
+ $name = 'theme_simple/footnote';
+ $title = get_string('footnote', 'theme_simple');
+ $description = get_string('footnotedesc', 'theme_simple');
+ $default = '';
+ $setting = new admin_setting_confightmleditor($name, $title, $description, $default);
+ $settings->add($setting);
+}
21 theme/simple/style/custom.css
View
@@ -0,0 +1,21 @@
+/* Simple Custom CSS
+-------------------------*/
+a.logo {
+ background: url([[setting:logo]]) no-repeat 0 0;
+ display: block;
+ float: left;
+ height: 75px;
+ margin: 0;
+ padding: 0;
+ width: 100%;
+}
+
+.dir-rtl a.logo {
+ background: url([[setting:logo]]) no-repeat 100% 0;
+ display: block;
+ float: right;
+}
+
+/* Custom CSS Settings
+-------------------------*/
+[[setting:customcss]]
36 theme/simple/version.php
View
@@ -0,0 +1,36 @@
+<?php
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
+
+/**
+ * Moodle's Simple 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
+ * @subpackage Simple
+ * @copyright 2013 Moodle, moodle.org
+ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+defined('MOODLE_INTERNAL') || die;
+
+$plugin->version = 2013041000;
+$plugin->requires = 2013040500;
+$plugin->component = 'theme_simple';
Please sign in to comment.
Something went wrong with that request. Please try again.