From 4048f825f3b98538ecbded9f3baa9cffc3feb748 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Mon, 17 Feb 2014 11:23:58 +1300 Subject: [PATCH] MDL-44213 theme_standardold: unified @package use and improved coding style --- theme/standardold/layout/embedded.php | 26 +++++++++++++++++++++++++- theme/standardold/layout/frontpage.php | 22 ++++++++++++++++++++++ theme/standardold/layout/general.php | 22 ++++++++++++++++++++++ 3 files changed, 69 insertions(+), 1 deletion(-) diff --git a/theme/standardold/layout/embedded.php b/theme/standardold/layout/embedded.php index 9d39e027491..c973e67c4ea 100644 --- a/theme/standardold/layout/embedded.php +++ b/theme/standardold/layout/embedded.php @@ -1,4 +1,28 @@ -doctype() ?> +. + +/** + * The embedded layout. + * + * @package theme_standardold + * @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com) + * @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/standardold/layout/frontpage.php b/theme/standardold/layout/frontpage.php index 05abd376a18..6219f795548 100644 --- a/theme/standardold/layout/frontpage.php +++ b/theme/standardold/layout/frontpage.php @@ -1,4 +1,26 @@ . + +/** + * The frontpage layout. + * + * @package theme_standardold + * @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ $hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); $hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); diff --git a/theme/standardold/layout/general.php b/theme/standardold/layout/general.php index 561ece539c2..118dac9e50e 100644 --- a/theme/standardold/layout/general.php +++ b/theme/standardold/layout/general.php @@ -1,4 +1,26 @@ . + +/** + * The default layout. + * + * @package theme_standardold + * @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com) + * @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()); -- 2.43.0