From 2c8d8a6d8f9d7f18a6456d6f7ddfed3d9c294206 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Mon, 17 Feb 2014 11:15:40 +1300 Subject: [PATCH] MDL-44197 theme_binarius: unified @package use and improved coding style --- theme/binarius/config.php | 2 +- theme/binarius/layout/frontpage.php | 22 ++++++++++++++++++++++ theme/binarius/layout/general.php | 22 ++++++++++++++++++++++ theme/binarius/layout/report.php | 22 ++++++++++++++++++++++ theme/binarius/version.php | 6 +++--- 5 files changed, 70 insertions(+), 4 deletions(-) diff --git a/theme/binarius/config.php b/theme/binarius/config.php index c1894079474..99e8d199716 100644 --- a/theme/binarius/config.php +++ b/theme/binarius/config.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . /** - * Configuration for Moodle's nonzero theme. + * Configuration for Moodle's Binarius theme. * * DO NOT MODIFY THIS THEME! * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. diff --git a/theme/binarius/layout/frontpage.php b/theme/binarius/layout/frontpage.php index dfb639ae475..a95f856d496 100644 --- a/theme/binarius/layout/frontpage.php +++ b/theme/binarius/layout/frontpage.php @@ -1,4 +1,26 @@ . + +/** + * The frontpage layout for the Binarius theme. + * + * @package theme_binarius + * @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/binarius/layout/general.php b/theme/binarius/layout/general.php index 4897f2178c3..497f100629d 100644 --- a/theme/binarius/layout/general.php +++ b/theme/binarius/layout/general.php @@ -1,4 +1,26 @@ . + +/** + * The default layout for the Binarius theme. + * + * @package theme_binarius + * @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/binarius/layout/report.php b/theme/binarius/layout/report.php index a4177a6f53f..72c0cab3a4a 100644 --- a/theme/binarius/layout/report.php +++ b/theme/binarius/layout/report.php @@ -1,4 +1,26 @@ . + +/** + * The report layout for the Binarius theme. + * + * @package theme_binarius + * @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/binarius/version.php b/theme/binarius/version.php index 98ed22625fa..16b96a5915b 100644 --- a/theme/binarius/version.php +++ b/theme/binarius/version.php @@ -24,9 +24,9 @@ defined('MOODLE_INTERNAL') || die; -$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX) -$plugin->requires = 2013110500; // Requires this Moodle version -$plugin->component = 'theme_binarius'; // Full name of the plugin (used for diagnostics) +$plugin->version = 2013110500; // The current module version (Date: YYYYMMDDXX). +$plugin->requires = 2013110500; // Requires this Moodle version. +$plugin->component = 'theme_binarius'; // Full name of the plugin (used for diagnostics). $plugin->dependencies = array( 'theme_canvas' => 2013110500, );