Permalink
Browse files

revert back to original name

  • Loading branch information...
bmbrands committed May 22, 2015
1 parent e3becc8 commit 88267efac5f41cc502c1c651b5cbb060ac295437
View
@@ -3,9 +3,9 @@ About this theme
![image1](pix/screenshot.jpg "Moodle Bootstrap Screenshot")
This is the Bootstrap3base theme for Moodle.
This is the bootstrap theme for Moodle.
* package Moodle Bootstrap 3 theme
* package Moodle Bootstrap theme
* copyright 2014 Bas Brands. www.sonsbeekmedia.nl
* authors Bas Brands, David Scotson
* license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
View
@@ -18,15 +18,15 @@
/**
* Renderers to align Moodle's HTML with that expected by Bootstrap
*
* @package theme_bootstrap3base
* @package theme_bootstrap
* @copyright 2014 Bas Brands, www.basbrands.nl
* @authors Bas Brands, David Scotson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$THEME->doctype = 'html5';
$THEME->yuicssmodules = array();
$THEME->name = 'bootstrap3base';
$THEME->name = 'bootstrap';
$THEME->parents = array();
if ('ltr' === get_string('thisdirection', 'langconfig')) {
$THEME->sheets = array('moodle');
@@ -48,7 +48,7 @@
);
$THEME->rendererfactory = 'theme_overridden_renderer_factory';
$THEME->csspostprocess = 'theme_bootstrap3base_process_css';
$THEME->csspostprocess = 'theme_bootstrap_process_css';
$THEME->layouts = array(
// Most backwards compatible layout without the blocks - this is the layout used by default.
@@ -1,6 +1,6 @@
require(['core/first'], function() {
require(['theme_bootstrap3base/bootstrap', 'core/log'], function(b, log) {
require(['theme_bootstrap/bootstrap', 'core/log'], function(b, log) {
log.debug('Bootstrap JavaScript initialised');
});
});
@@ -21,7 +21,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['pluginname'] = 'Bootstrap3base';
$string['pluginname'] = 'bootstrap';
$string['region-side-post'] = 'Right';
$string['region-side-pre'] = 'Left';
$string['fullscreen'] = 'Full screen';
@@ -32,7 +32,7 @@
<img class=img-polaroid src="bootstrap/pix/screenshot.jpg" />
<h3>Theme Credits</h3>
<p>
<h3>Moodle bootstrap3base theme</h3>
<h3>Moodle bootstrap theme</h3>
<p>
This theme is based on the Bootstrap CSS framework, version 3.0
</p>
View
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@
$knownregionpre = $PAGE->blocks->is_known_region('side-pre');
$knownregionpost = $PAGE->blocks->is_known_region('side-post');
$regions = bootstrap3base_grid($hassidepre, $hassidepost);
$regions = bootstrap_grid($hassidepre, $hassidepost);
$PAGE->set_popup_notification_allowed(false);
echo $OUTPUT->doctype() ?>
View
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
View
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
View
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
View
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@
$knownregionpre = $PAGE->blocks->is_known_region('side-pre');
$knownregionpost = $PAGE->blocks->is_known_region('side-post');
$regions = bootstrap3base_grid($hassidepre, $hassidepost);
$regions = bootstrap_grid($hassidepre, $hassidepost);
$PAGE->set_popup_notification_allowed(false);
if ($knownregionpre || $knownregionpost) {
theme_bootstrap_initialise_zoom($PAGE);
View
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@
/**
* Renderers to align Moodle's HTML with that expected by Bootstrap
*
* @package theme_bootstrap3base
* @package theme_bootstrap
* @copyright 2014 Bas Brands, www.basbrands.nl
* @authors Bas Brands, David Scotson
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@@ -27,7 +27,7 @@
defined('MOODLE_INTERNAL') || die();
function bootstrap3base_grid($hassidepre, $hassidepost) {
function bootstrap_grid($hassidepre, $hassidepost) {
if ($hassidepre && $hassidepost) {
$regions = array('content' => 'col-sm-6 col-sm-push-3 col-lg-8 col-lg-push-2');
View
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
/**
* Renderers to align Moodle's HTML with that expected by Bootstrap
*
* @package theme_bootstrap3base
* @package theme_bootstrap
* @copyright 2014 Bas Brands, www.basbrands.nl
* @authors Bas Brands, David Scotson, Danny Wahl
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
/**
* Renderers to align Moodle's HTML with that expected by Bootstrap
*
* @package theme_bootstrap3base
* @package theme_bootstrap
* @copyright 2012
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
@@ -27,7 +27,7 @@
require_once($CFG->dirroot . "/admin/renderer.php");
class theme_bootstrap3base_core_admin_renderer extends core_admin_renderer {
class theme_bootstrap_core_admin_renderer extends core_admin_renderer {
protected function maturity_info($maturity) {
if ($maturity == MATURITY_STABLE) {
@@ -24,7 +24,7 @@
require_once($CFG->dirroot . "/blocks/settings/renderer.php");
class theme_bootstrap3base_block_settings_renderer extends block_settings_renderer {
class theme_bootstrap_block_settings_renderer extends block_settings_renderer {
public function search_form(moodle_url $formtarget, $searchvalue) {
$content = html_writer::start_tag('form',
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -19,12 +19,12 @@
/**
* Renderers to align Moodle's HTML with that expected by Bootstrap
*
* @package theme_bootstrap3base
* @package theme_bootstrap
* @copyright 2012
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class theme_bootstrap3base_core_renderer extends core_renderer {
class theme_bootstrap_core_renderer extends core_renderer {
public function notification($message, $classes = 'notifyproblem') {
$message = clean_text($message);
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -27,7 +27,7 @@
defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . "/course/format/topics/renderer.php");
class theme_bootstrap3base_format_topics_renderer extends format_topics_renderer {
class theme_bootstrap_format_topics_renderer extends format_topics_renderer {
/**
* Generate the content to displayed on the left part of a section
* before course modules are included
@@ -52,7 +52,7 @@ protected function section_left_content($section, $course, $onsectionpage) {
}
require_once($CFG->dirroot . "/course/format/weeks/renderer.php");
class theme_bootstrap3base_format_weeks_renderer extends format_weeks_renderer {
class theme_bootstrap_format_weeks_renderer extends format_weeks_renderer {
/**
* Generate the content to displayed on the left part of a section
* before course modules are included
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -17,15 +17,15 @@
/**
* Renderers to align Moodle's HTML with that expected by Bootstrap
*
* @package theme_bootstrap3base
* @package theme_bootstrap
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . "/course/classes/management_renderer.php");
class theme_bootstrap3base_core_course_management_renderer extends core_course_management_renderer {
class theme_bootstrap_core_course_management_renderer extends core_course_management_renderer {
public function grid_start($id = null, $class = null) {
$gridclass = 'row';
if (is_null($class)) {
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -17,15 +17,15 @@
/**
* Renderers to align Moodle's HTML with that expected by Bootstrap
*
* @package theme_bootstrap3base
* @package theme_bootstrap
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . "/course/renderer.php");
class theme_bootstrap3base_core_course_renderer extends core_course_renderer {
class theme_bootstrap_core_course_renderer extends core_course_renderer {
protected function coursecat_coursebox(coursecat_helper $chelper, $course, $additionalclasses = '') {
global $CFG;
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -17,15 +17,15 @@
/**
* Renderers to align Moodle's HTML with that expected by Bootstrap
*
* @package theme_bootstrap3base
* @package theme_bootstrap
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
require_once($CFG->dirroot . "/enrol/renderer.php");
class theme_bootstrap3base_core_enrol_renderer extends core_enrol_renderer {
class theme_bootstrap_core_enrol_renderer extends core_enrol_renderer {
public function render_course_enrolment_users_table(course_enrolment_users_table $table,
moodleform $mform) {
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
/**
* Rendering of files viewer related widgets.
*
* @package theme_bootstrap3base
* @package theme_bootstrap
* @copyright 2012
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
@@ -26,7 +26,7 @@
require_once($CFG->dirroot . "/files/renderer.php");
class theme_bootstrap3base_core_files_renderer extends core_files_renderer {
class theme_bootstrap_core_files_renderer extends core_files_renderer {
/**
* Returns html for displaying one file manager
@@ -1,5 +1,5 @@
<?php
// This file is part of The Bootstrap 3 Moodle theme
// This file is part of The Bootstrap Moodle theme
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -17,14 +17,14 @@
/**
* Renderers to align Moodle's HTML with that expected by Bootstrap
*
* @package theme_bootstrap3base
* @package theme_bootstrap
* @copyright 2012
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
class theme_bootstrap3base_core_renderer_maintenance extends core_renderer_maintenance {
class theme_bootstrap_core_renderer_maintenance extends core_renderer_maintenance {
public function notification($message, $classes = 'notifyproblem') {
$message = clean_text($message);
View
@@ -1298,4 +1298,4 @@ a.thumbnail.active {
body {
margin: 8px;
}
/*# sourceMappingURL=/theme/bootstrap3base/style/editor.css.map */
/*# sourceMappingURL=/theme/bootstrap/style/editor.css.map */
View
@@ -21311,4 +21311,4 @@ fieldset[disabled] #rubric-rubric.gradingform_rubric .addcriterion {
.path-grade-report-grader .grade_icons {
display: inline;
}
/*# sourceMappingURL=/theme/bootstrap3base/style/moodle-rtl.css.map */
/*# sourceMappingURL=/theme/bootstrap/style/moodle-rtl.css.map */
View
@@ -17703,4 +17703,4 @@ fieldset[disabled] #rubric-rubric.gradingform_rubric .addcriterion {
.path-grade-report-grader .grade_icons {
display: inline;
}
/*# sourceMappingURL=/theme/bootstrap3base/style/moodle.css.map */
/*# sourceMappingURL=/theme/bootstrap/style/moodle.css.map */
Oops, something went wrong.

0 comments on commit 88267ef

Please sign in to comment.