From 0338d88f6313ad2cb280ef8046b457bd2aa05d34 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Mon, 17 Feb 2014 11:16:59 +1300 Subject: [PATCH] MDL-44199 theme_boxxie: unified @package use and improved coding style --- theme/boxxie/layout/embedded.php | 25 ++++++++++++++++++++++++- theme/boxxie/layout/frontpage.php | 22 ++++++++++++++++++++++ theme/boxxie/layout/general.php | 22 ++++++++++++++++++++++ 3 files changed, 68 insertions(+), 1 deletion(-) diff --git a/theme/boxxie/layout/embedded.php b/theme/boxxie/layout/embedded.php index 9b1f965d233..d1b79529622 100644 --- a/theme/boxxie/layout/embedded.php +++ b/theme/boxxie/layout/embedded.php @@ -1,4 +1,27 @@ -doctype() ?> +. + +/** + * An embedded layout for the Boxxie theme. + * + * @package theme_boxxie + * @copyright 2010 Patrick Malley + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +echo $OUTPUT->doctype() ?> htmlattributes() ?>> <?php echo $PAGE->title ?> diff --git a/theme/boxxie/layout/frontpage.php b/theme/boxxie/layout/frontpage.php index 2cde03ac14f..560e459d973 100644 --- a/theme/boxxie/layout/frontpage.php +++ b/theme/boxxie/layout/frontpage.php @@ -1,4 +1,26 @@ . + +/** + * The frontpage layout for the Boxxie theme. + * + * @package theme_boxxie + * @copyright 2010 Patrick Malley + * @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()); diff --git a/theme/boxxie/layout/general.php b/theme/boxxie/layout/general.php index 89287d14d4b..160f7d14442 100644 --- a/theme/boxxie/layout/general.php +++ b/theme/boxxie/layout/general.php @@ -1,4 +1,26 @@ . + +/** + * The default layout for the Boxxie theme. + * + * @package theme_boxxie + * @copyright 2010 Patrick Malley + * @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());