Skip to content

Commit

Permalink
Merge branch '44198-27' of git://github.com/samhemelryk/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Feb 19, 2014
2 parents 0a3f8b2 + c5d91a5 commit 0919e70
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 10 deletions.
16 changes: 8 additions & 8 deletions theme/bootstrapbase/config.php
Expand Up @@ -57,14 +57,14 @@
'file' => 'columns3.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-pre',
'options' => array('langmenu'=>true),
'options' => array('langmenu' => true),
),
'coursecategory' => array(
'file' => 'columns3.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-pre',
),
// part of course, typical for modules - default page layout if $cm specified in require_login().
// Part of course, typical for modules - default page layout if $cm specified in require_login().
'incourse' => array(
'file' => 'columns3.php',
'regions' => array('side-pre', 'side-post'),
Expand All @@ -75,7 +75,7 @@
'file' => 'columns3.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-pre',
'options' => array('nonavbar'=>true),
'options' => array('nonavbar' => true),
),
// Server administration scripts.
'admin' => array(
Expand All @@ -88,7 +88,7 @@
'file' => 'columns3.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-pre',
'options' => array('langmenu'=>true),
'options' => array('langmenu' => true),
),
// My public page.
'mypublic' => array(
Expand All @@ -99,20 +99,20 @@
'login' => array(
'file' => 'columns1.php',
'regions' => array(),
'options' => array('langmenu'=>true),
'options' => array('langmenu' => true),
),

// Pages that appear in pop-up windows - no navigation, no blocks, no header.
'popup' => array(
'file' => 'popup.php',
'regions' => array(),
'options' => array('nofooter'=>true, 'nonavbar'=>true),
'options' => array('nofooter' => true, 'nonavbar' => true),
),
// No blocks and minimal footer - used for legacy frame layouts only!
'frametop' => array(
'file' => 'columns1.php',
'regions' => array(),
'options' => array('nofooter'=>true, 'nocoursefooter'=>true),
'options' => array('nofooter' => true, 'nocoursefooter' => true),
),
// Embeded pages, like iframe/object embeded in moodleform - it needs as much space as possible.
'embedded' => array(
Expand All @@ -130,7 +130,7 @@
'print' => array(
'file' => 'columns1.php',
'regions' => array(),
'options' => array('nofooter'=>true, 'nonavbar'=>false),
'options' => array('nofooter' => true, 'nonavbar' => false),
),
// The pagelayout used when a redirection is occuring.
'redirect' => array(
Expand Down
3 changes: 2 additions & 1 deletion theme/bootstrapbase/lang/en/theme_bootstrapbase.php
Expand Up @@ -13,10 +13,11 @@
//
// 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_bootstrap', language 'en', branch 'MOODLE_23_STABLE'
*
* @package Bootstrap theme
* @package theme_bootstrapbase
* @copyright 2012 Bas Brands, www.basbrands.nl
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
Expand Down
8 changes: 8 additions & 0 deletions theme/bootstrapbase/layout/columns1.php
Expand Up @@ -14,6 +14,14 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* A one column layout for the Bootstrapbase theme.
*
* @package theme_bootstrapbase
* @copyright 2012 Bas Brands, www.basbrands.nl
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes(); ?>>
<head>
Expand Down
8 changes: 8 additions & 0 deletions theme/bootstrapbase/layout/columns2.php
Expand Up @@ -14,6 +14,14 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* A two column layout for the Bootstrapbase theme.
*
* @package theme_bootstrapbase
* @copyright 2012 Bas Brands, www.basbrands.nl
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

$left = (!right_to_left()); // To know if to add 'pull-right' and 'desktop-first-column' classes in the layout for LTR.
echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes(); ?>>
Expand Down
8 changes: 8 additions & 0 deletions theme/bootstrapbase/layout/columns3.php
Expand Up @@ -14,6 +14,14 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* A three column layout for the Bootstrapbase theme.
*
* @package theme_bootstrapbase
* @copyright 2012 Bas Brands, www.basbrands.nl
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

if (right_to_left()) {
$regionbsid = 'region-bs-main-and-post';
} else {
Expand Down
8 changes: 8 additions & 0 deletions theme/bootstrapbase/layout/embedded.php
Expand Up @@ -14,6 +14,14 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* An embedded layout for the Bootstrapbase theme.
*
* @package theme_bootstrapbase
* @copyright 2012 Bas Brands, www.basbrands.nl
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes(); ?>>
<head>
Expand Down
4 changes: 4 additions & 0 deletions theme/bootstrapbase/layout/maintenance.php
Expand Up @@ -22,6 +22,10 @@
*
* If you are modifying this file please be extremely careful, one wrong API call and you could end up
* breaking installation or upgrade unwittingly.
*
* @package theme_bootstrapbase
* @copyright 2012 Bas Brands, www.basbrands.nl
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

echo $OUTPUT->doctype() ?>
Expand Down
8 changes: 8 additions & 0 deletions theme/bootstrapbase/layout/popup.php
Expand Up @@ -14,6 +14,14 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* A popup layout for the Bootstrapbase theme.
*
* @package theme_bootstrapbase
* @copyright 2012 Bas Brands, www.basbrands.nl
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes(); ?>>
<head>
Expand Down
8 changes: 8 additions & 0 deletions theme/bootstrapbase/layout/secure.php
Expand Up @@ -14,6 +14,14 @@
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* A secure layout for the Bootstrapbase theme.
*
* @package theme_bootstrapbase
* @copyright 2012 Bas Brands, www.basbrands.nl
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes(); ?>>
<head>
Expand Down
2 changes: 1 addition & 1 deletion theme/bootstrapbase/renderers/core_renderer.php
Expand Up @@ -18,7 +18,7 @@
* Renderers to align Moodle's HTML with that expected by Bootstrap
*
* @package theme_bootstrapbase
* @copyright 2012
* @copyright 2012 Bas Brands, www.basbrands.nl
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

Expand Down

0 comments on commit 0919e70

Please sign in to comment.