diff --git a/theme/bootstrapbase/config.php b/theme/bootstrapbase/config.php index 944b86e1622..c004e467d91 100644 --- a/theme/bootstrapbase/config.php +++ b/theme/bootstrapbase/config.php @@ -57,14 +57,14 @@ $THEME->layouts = array( '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'), @@ -75,7 +75,7 @@ $THEME->layouts = array( '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( @@ -88,7 +88,7 @@ $THEME->layouts = array( '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( @@ -99,20 +99,20 @@ $THEME->layouts = array( '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( @@ -130,7 +130,7 @@ $THEME->layouts = array( '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( diff --git a/theme/bootstrapbase/lang/en/theme_bootstrapbase.php b/theme/bootstrapbase/lang/en/theme_bootstrapbase.php index 215d8064868..daa40e13606 100644 --- a/theme/bootstrapbase/lang/en/theme_bootstrapbase.php +++ b/theme/bootstrapbase/lang/en/theme_bootstrapbase.php @@ -13,10 +13,11 @@ // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . + /** * 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 */ diff --git a/theme/bootstrapbase/layout/columns1.php b/theme/bootstrapbase/layout/columns1.php index 636cf8f69c3..a95a14c5e01 100644 --- a/theme/bootstrapbase/layout/columns1.php +++ b/theme/bootstrapbase/layout/columns1.php @@ -14,6 +14,14 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +/** + * 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() ?> htmlattributes(); ?>> diff --git a/theme/bootstrapbase/layout/columns2.php b/theme/bootstrapbase/layout/columns2.php index 72e4d5c9521..738dbda85c5 100644 --- a/theme/bootstrapbase/layout/columns2.php +++ b/theme/bootstrapbase/layout/columns2.php @@ -14,6 +14,14 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +/** + * 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() ?> htmlattributes(); ?>> diff --git a/theme/bootstrapbase/layout/columns3.php b/theme/bootstrapbase/layout/columns3.php index ffd928c89d2..d02bd696d24 100644 --- a/theme/bootstrapbase/layout/columns3.php +++ b/theme/bootstrapbase/layout/columns3.php @@ -14,6 +14,14 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +/** + * 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 { diff --git a/theme/bootstrapbase/layout/embedded.php b/theme/bootstrapbase/layout/embedded.php index 821ae916ba1..1566b3fcd14 100644 --- a/theme/bootstrapbase/layout/embedded.php +++ b/theme/bootstrapbase/layout/embedded.php @@ -14,6 +14,14 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +/** + * 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() ?> htmlattributes(); ?>> diff --git a/theme/bootstrapbase/layout/maintenance.php b/theme/bootstrapbase/layout/maintenance.php index 5b0b9f7ea1b..4fb9736f4d9 100644 --- a/theme/bootstrapbase/layout/maintenance.php +++ b/theme/bootstrapbase/layout/maintenance.php @@ -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() ?> diff --git a/theme/bootstrapbase/layout/popup.php b/theme/bootstrapbase/layout/popup.php index 1c3819950ac..fb0076095b7 100644 --- a/theme/bootstrapbase/layout/popup.php +++ b/theme/bootstrapbase/layout/popup.php @@ -14,6 +14,14 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +/** + * 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() ?> htmlattributes(); ?>> diff --git a/theme/bootstrapbase/layout/secure.php b/theme/bootstrapbase/layout/secure.php index 708b147af3b..9972ecc8e84 100644 --- a/theme/bootstrapbase/layout/secure.php +++ b/theme/bootstrapbase/layout/secure.php @@ -14,6 +14,14 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +/** + * 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() ?> htmlattributes(); ?>> diff --git a/theme/bootstrapbase/renderers/core_renderer.php b/theme/bootstrapbase/renderers/core_renderer.php index dfb4b5e3bfd..fffbdb48a79 100644 --- a/theme/bootstrapbase/renderers/core_renderer.php +++ b/theme/bootstrapbase/renderers/core_renderer.php @@ -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 */