From 34dde99e82b34a01b1470e281ec2bc58d9866ce9 Mon Sep 17 00:00:00 2001 From: Gareth Barnard <1058419+gjb2048@users.noreply.github.com> Date: Sat, 14 Oct 2023 18:33:51 +0100 Subject: [PATCH] Tidy! --- Readme.md | 24 ++++++----- Support.md | 14 +++---- amd/src/anti_gravity.js | 9 ++-- amd/src/collapseblock.js | 7 +++- amd/src/drawer.js | 7 +++- amd/src/icon_system_fontawesome.js | 8 ++-- amd/src/util.js | 8 +++- classes/admin_setting_configcolourpicker.php | 11 +++-- classes/admin_setting_configinteger.php | 13 +++--- classes/admin_setting_configselect.php | 11 +++-- classes/admin_setting_getprops.php | 12 +++--- classes/admin_setting_information.php | 11 +++-- classes/admin_setting_markdown.php | 11 +++-- classes/admin_setting_putprops.php | 12 +++--- classes/admin_settingspage_tabs.php | 18 ++++---- classes/core_h5p_renderer.php | 13 +++--- classes/format_topcoll_renderer.php | 8 ++-- classes/format_vsf_renderer.php | 11 +++-- classes/hvp_toolbox.php | 13 +++--- classes/mod_hvp_renderer.php | 13 +++--- classes/mod_quiz_renderer.php | 13 +++--- classes/module/features_module.php | 8 ++-- classes/module/frontpagecarousel_module.php | 8 ++-- classes/module/header_module.php | 8 ++-- classes/module/menus_module.php | 9 ++-- classes/module/swatch_module.php | 11 +++-- classes/module_basement.php | 11 +++-- classes/output/block_settings_renderer.php | 11 +++-- classes/output/core/course_renderer.php | 11 +++-- classes/output/core/files_renderer.php | 11 +++-- .../output/mustache_filesystem_loader.php | 10 +++-- .../core/output/mustache_template_finder.php | 10 +++-- .../core_course/management/renderer.php | 11 +++-- .../output/core_question/bank_renderer.php | 11 +++-- classes/output/core_renderer.php | 11 +++-- classes/output/core_renderer_maintenance.php | 11 +++-- classes/output/core_renderer_toolbox.php | 11 +++-- classes/output/external.php | 15 +++---- classes/output/foundation_menu_item.php | 11 +++-- .../output/gradereport_history_renderer.php | 11 +++-- classes/output/icon_system_fontawesome.php | 15 +++---- classes/output/mustache_engine.php | 11 +++-- classes/output/mustache_renderer.php | 13 +++--- classes/privacy/provider.php | 13 +++--- classes/renderer_factory.php | 12 +++--- classes/the_config.php | 11 +++-- classes/toolbox.php | 11 +++-- config.php | 8 ++-- db/caches.php | 8 ++-- db/services.php | 8 ++-- db/upgrade.php | 8 ++-- js/fd_colourpopup.js | 8 ++-- lang/en/theme_foundation.php | 42 ++++++++++--------- layout/layout.php | 8 ++-- layout/maintenance.php | 8 ++-- layout/plainlayout.php | 8 ++-- lib.php | 8 ++-- logout.php | 9 ++-- settings.php | 8 ++-- version.php | 8 ++-- 60 files changed, 344 insertions(+), 328 deletions(-) diff --git a/Readme.md b/Readme.md index 109456f5..a3da91b1 100644 --- a/Readme.md +++ b/Readme.md @@ -24,22 +24,22 @@ Features About ===== -Copyright © 2019-onwards G J Barnard. -Author G J Barnard - [About.me](http://about.me/gjbarnard) and [Moodle.org](http://moodle.org/user/profile.php?id=442195) -License [GNU GPL v3 or later](http://www.gnu.org/copyleft/gpl.html). +Copyright 2019-onwards G J Barnard. +Author G J Barnard - [gjbarnard.co.uk](https://gjbarnard.co.uk) and [Moodle.org](https://moodle.org/user/profile.php?id=442195) +License [GNU GPL v3 or later](https://www.gnu.org/copyleft/gpl.html). Developed and maintained by =========================== G J Barnard MSc. BSc(Hons)(Sndw). MBCS. CEng. CITP. PGCE. -Moodle profile | [Moodle.org](http://moodle.org/user/profile.php?id=442195) -Web profile | [About.me](http://about.me/gjbarnard) +Moodle profile | [Moodle.org](https://moodle.org/user/profile.php?id=442195) +Web profile | [gjbarnard.co.uk](https://gjbarnard.co.uk) Free Software ============= The Foundation theme is 'free' software under the terms of the GNU GPLv3 License, please see 'COPYING.txt'. It can be obtained for free from: -[github.com/gjb2048/moodle-theme_foundation/releases](https://github.com/gjb2048/moodle-theme_foundation/releases) +[github.com/gjbarnard/moodle-theme_foundation/releases](https://github.com/gjbarnard/moodle-theme_foundation/releases) You have all the rights granted to you by the GPLv3 license. If you are unsure about anything, then the FAQ - [www.gnu.org/licenses/gpl-faq.html](//www.gnu.org/licenses/gpl-faq.html) - is a good place to look. @@ -51,14 +51,14 @@ The 'Swatches' are from [Bootswatch.com](https://bootswatch.com/) and licensed u in order for them to work with Moodle. If you make improvements or bug fixes then I would appreciate if you would send them back to me by forking from -[GitHub](https://github.com/gjb2048/moodle-theme_foundation) and doing a 'Pull Request' so that the rest of the Moodle community +[GitHub](https://github.com/gjbarnard/moodle-theme_foundation) and doing a 'Pull Request' so that the rest of the Moodle community benefits. Support ======= As Foundation is licensed under the GNU GPLv3 License it comes with NO support. If you would like support from -me then I'm happy to provide it for a fee (please see my contact details above). Otherwise, the 'Themes' forum: -moodle.org/mod/forum/view.php?id=46 is an excellent place to ask questions. +me then I'm happy to provide it for a fee (please see my contact details above). Otherwise, the '[Themes](https://moodle.org/mod/forum/view.php?id=46)' +forum is an excellent place to ask questions. Sponsorships ============ @@ -133,5 +133,7 @@ See Changes.md Me == G J Barnard MSc. BSc(Hons)(Sndw). MBCS. CEng. CITP. PGCE. -Moodle profile: [Moodle.org](http://moodle.org/user/profile.php?id=442195) -Web profile : [About.me](http://about.me/gjbarnard) + +- Moodle profile | [Moodle.org](https://moodle.org/user/profile.php?id=442195) +- @gjbarnard | [X](https://twitter.com/gjbarnard). +- Web profile | [gjbarnard.co.uk](https://gjbarnard.co.uk) diff --git a/Support.md b/Support.md index 68d3a55b..5df90620 100644 --- a/Support.md +++ b/Support.md @@ -9,7 +9,7 @@ If you'd like to sponsor, get support or fund improvements, then please do get i - gMail eMail | gjbarnard at gMail dt com. - My website eMail | contact at gjbarnard dt co dt uk. -- GitHub | Please outline your issue / improvement on '[GitHub](https://github.com/gjb2048/moodle-theme_foundation/issues)'. +- GitHub | Please outline your issue / improvement on '[GitHub](https://github.com/gjbarnard/moodle-theme_foundation/issues)'. - @gjbarnard | '[X](https://twitter.com/gjbarnard)'. Bespoke work @@ -29,7 +29,7 @@ to ask questions. Foundation can be obtained from: * [Moodle.org](https://moodle.org/plugins/view.php?plugin=theme_foundation). -* [GitHub](https://github.com/gjb2048/moodle-theme_foundation/releases). +* [GitHub](https://github.com/gjbarnard/moodle-theme_foundation/releases). You have all the rights granted to you by the GPLv3 license. If you are unsure about anything, then the FAQ - [GPL FAQ](https://www.gnu.org/licenses/gpl-faq.html) - is a good place to look. @@ -37,7 +37,7 @@ FAQ - [GPL FAQ](https://www.gnu.org/licenses/gpl-faq.html) - is a good place to If you reuse any of the code then I kindly ask that you make reference to the format. If you make improvements or bug fixes then I would appreciate if you would send them back to me by forking from -[GitHub](https://github.com/gjb2048/moodle-theme_foundation) and doing a 'Pull Request' so that the rest of the Moodle community +[GitHub](https://github.com/gjbarnard/moodle-theme_foundation) and doing a 'Pull Request' so that the rest of the Moodle community benefits. Required version of Moodle @@ -54,7 +54,7 @@ is essential that you are operating the required version of Moodle as stated abo that is out of its control. If you think you've discovered a genuine bug with the theme then please look at the Moodle [Themes forum](https://moodle.org/mod/forum/view.php?id=46) first to see if it -has already been repoted. Secondly, look at [GitHub](https://github.com/gjb2048/moodle-theme_foundation/issues). +has already been repoted. Secondly, look at [GitHub](https://github.com/gjbarnard/moodle-theme_foundation/issues). I operate a policy that I will fix all genuine issues in 'my' (not other developers of the theme) code, when fully described and replicatable. @@ -64,12 +64,12 @@ version.php file / or the top of the 'Information' settings tab. Other version theme name and version also helps. A screen shot can be really useful in visualising the issue along with any files you consider to be relevant. -You can use either the '[Themes forum](https://moodle.org/mod/forum/view.php?id=46)' or '[GitHub](https://github.com/gjb2048/moodle-theme_foundation/issues)'. +You can use either the '[Themes forum](https://moodle.org/mod/forum/view.php?id=46)' or '[GitHub](https://github.com/gjbarnard/moodle-theme_foundation/issues)'. Developed and maintained by =========================== G J Barnard MSc. BSc(Hons)(Sndw). MBCS. CEng. CITP. PGCE. -- Moodle profile | [Moodle.org](http://moodle.org/user/profile.php?id=442195) +- Moodle profile | [Moodle.org](https://moodle.org/user/profile.php?id=442195) - @gjbarnard | [X](https://twitter.com/gjbarnard). -- Web profile | [About.me](http://about.me/gjbarnard) +- Web profile | [gjbarnard.co.uk](https://gjbarnard.co.uk) diff --git a/amd/src/anti_gravity.js b/amd/src/anti_gravity.js index 2ff362f0..5a413ad0 100644 --- a/amd/src/anti_gravity.js +++ b/amd/src/anti_gravity.js @@ -1,9 +1,12 @@ /** * Foundation theme. * - * @module theme_foundation/anti_gravity - * @copyright 2019 Gareth J Barnard - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @module theme_foundation/anti_gravity + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ /* jshint ignore:start */ diff --git a/amd/src/collapseblock.js b/amd/src/collapseblock.js index 7068ade2..bc052aa8 100644 --- a/amd/src/collapseblock.js +++ b/amd/src/collapseblock.js @@ -17,8 +17,11 @@ * Collapse block. * * @module theme_foundation/collapseblock - * @copyright © 2019-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ /* jshint ignore:start */ diff --git a/amd/src/drawer.js b/amd/src/drawer.js index bc592a03..cb7f58a9 100644 --- a/amd/src/drawer.js +++ b/amd/src/drawer.js @@ -17,8 +17,11 @@ * Drawer. * * @module theme_foundation/drawer - * @copyright © 2019-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ diff --git a/amd/src/icon_system_fontawesome.js b/amd/src/icon_system_fontawesome.js index 11f576fa..59ebab5c 100644 --- a/amd/src/icon_system_fontawesome.js +++ b/amd/src/icon_system_fontawesome.js @@ -17,9 +17,11 @@ * Foundation theme. * * @module theme_foundation/icon_system_fontawesome - * @copyright © 2019-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ define(['core/icon_system', 'jquery', 'core/ajax', 'core/mustache', 'core/localstorage', 'core/url'], diff --git a/amd/src/util.js b/amd/src/util.js index c0d0e17e..2f5f98f3 100644 --- a/amd/src/util.js +++ b/amd/src/util.js @@ -18,8 +18,12 @@ * * @module theme_foundation/util * @copyright 2020 Andrew Nicols - * @copyright © 2023-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2023 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ import {call as fetchMany} from 'core/ajax'; diff --git a/classes/admin_setting_configcolourpicker.php b/classes/admin_setting_configcolourpicker.php index 36cae2d7..4fa62739 100644 --- a/classes/admin_setting_configcolourpicker.php +++ b/classes/admin_setting_configcolourpicker.php @@ -17,18 +17,17 @@ /** * Foundation theme. * @package theme_foundation - * @copyright © 2021-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2021 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation; /** * Colour picker that allows you to state 'use default' and not apply the setting. - * - * @copyright © 2021-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class admin_setting_configcolourpicker extends \admin_setting_configcolourpicker { /** @var string default colour */ diff --git a/classes/admin_setting_configinteger.php b/classes/admin_setting_configinteger.php index 955c7fb7..191802af 100644 --- a/classes/admin_setting_configinteger.php +++ b/classes/admin_setting_configinteger.php @@ -18,20 +18,17 @@ * Integer admin setting with lower and upper limits. * * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation; /** * Integer admin setting with lower and upper limits. - * - * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class admin_setting_configinteger extends \admin_setting_configtext { /** @var int lower range limit */ diff --git a/classes/admin_setting_configselect.php b/classes/admin_setting_configselect.php index 5040fd83..df4e9348 100644 --- a/classes/admin_setting_configselect.php +++ b/classes/admin_setting_configselect.php @@ -17,18 +17,17 @@ /** * Foundation theme. * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation; /** * Config select setting that sets the default on first run. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class admin_setting_configselect extends \admin_setting_configselect { /** diff --git a/classes/admin_setting_getprops.php b/classes/admin_setting_getprops.php index 96f022ae..0ca89eb0 100644 --- a/classes/admin_setting_getprops.php +++ b/classes/admin_setting_getprops.php @@ -18,19 +18,17 @@ * Get properties setting. * * @package theme_foundation - * @copyright © 2021 G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2021 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation; /** * Get properties class. - * - * @package theme_foundation - * @copyright © 2021 G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class admin_setting_getprops extends \admin_setting { /** @var string Store properties. */ diff --git a/classes/admin_setting_information.php b/classes/admin_setting_information.php index e77c8275..b0be7f2b 100644 --- a/classes/admin_setting_information.php +++ b/classes/admin_setting_information.php @@ -17,18 +17,17 @@ /** * Foundation theme. * @package theme_foundation - * @copyright © 2022-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2022 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation; /** * Setting that displays information. Based on admin_setting_description in adminlib.php. - * - * @copyright © 2022-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class admin_setting_information extends \admin_setting { /** @var int The branch this Grid format is for. */ diff --git a/classes/admin_setting_markdown.php b/classes/admin_setting_markdown.php index d6257437..84c9b987 100644 --- a/classes/admin_setting_markdown.php +++ b/classes/admin_setting_markdown.php @@ -17,18 +17,17 @@ /** * Foundation theme. * @package theme_foundation - * @copyright © 2021-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2021 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation; /** * Setting that displays markdown files. Based on admin_setting_description in adminlib.php. - * - * @copyright © 2021-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class admin_setting_markdown extends \admin_setting { /** @var string Filename */ diff --git a/classes/admin_setting_putprops.php b/classes/admin_setting_putprops.php index e9eb8646..e7365c16 100644 --- a/classes/admin_setting_putprops.php +++ b/classes/admin_setting_putprops.php @@ -18,19 +18,17 @@ * Put properties with validation setting. * * @package theme_foundation - * @copyright © 2021 G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2021 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation; /** * Set properties class. - * - * @package theme_foundation - * @copyright © 2021 G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class admin_setting_putprops extends \admin_setting_configtextarea { /** @var string Name of the theme. */ diff --git a/classes/admin_settingspage_tabs.php b/classes/admin_settingspage_tabs.php index d6021ef3..c9267686 100644 --- a/classes/admin_settingspage_tabs.php +++ b/classes/admin_settingspage_tabs.php @@ -17,11 +17,13 @@ /** * Container for settings pages to display as tabs. * - * @package theme_foundation - * @copyright © 2020 G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @copyright 2016 Ryan Wyllie - from Boost theme. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @package theme_foundation + * @copyright 2016 Ryan Wyllie - from Boost theme. + * @copyright 2020 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation; @@ -30,12 +32,6 @@ /** * Container for settings pages to display as tabs. - * - * @package theme_foundation - * @copyright © 2020 G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @copyright 2016 Ryan Wyllie - from Boost theme. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class admin_settingspage_tabs extends admin_settingpage { /** @var The tabs */ diff --git a/classes/core_h5p_renderer.php b/classes/core_h5p_renderer.php index e58857e7..755374ab 100644 --- a/classes/core_h5p_renderer.php +++ b/classes/core_h5p_renderer.php @@ -17,9 +17,12 @@ /** * Foundation theme. * - * @package theme_foundation - * @copyright 2021 Gareth J Barnard - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @package theme_foundation + * @copyright 2021 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die; @@ -31,10 +34,6 @@ * * See: https://tracker.moodle.org/browse/MDL-69087 and * https://github.com/sarjona/h5pmods-moodle-plugin. - * - * @package theme_foundation - * @copyright 2021 Gareth J Barnard - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class theme_foundation_core_h5p_renderer extends \core_h5p\output\renderer { use \theme_foundation\hvp_toolbox; diff --git a/classes/format_topcoll_renderer.php b/classes/format_topcoll_renderer.php index 7c548316..ff9d4c32 100644 --- a/classes/format_topcoll_renderer.php +++ b/classes/format_topcoll_renderer.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195}. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die(); diff --git a/classes/format_vsf_renderer.php b/classes/format_vsf_renderer.php index 5d20ea67..5bc4f265 100644 --- a/classes/format_vsf_renderer.php +++ b/classes/format_vsf_renderer.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2021-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195}. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2021 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die(); @@ -30,9 +32,6 @@ /** * The theme's Progress Section format renderer. - * - * @copyright © 2021-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class theme_foundation_format_vsf_renderer extends \format_vsf\output\renderer { public function vsf_get_nav_link_icons() { diff --git a/classes/hvp_toolbox.php b/classes/hvp_toolbox.php index e46186b9..78159d96 100644 --- a/classes/hvp_toolbox.php +++ b/classes/hvp_toolbox.php @@ -17,9 +17,12 @@ /** * Foundation theme. * - * @package theme_foundation - * @copyright 2021 Gareth J Barnard - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @package theme_foundation + * @copyright 2021 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation; @@ -28,10 +31,6 @@ * * See: https://tracker.moodle.org/browse/MDL-69087 and * https://github.com/sarjona/h5pmods-moodle-plugin. - * - * @package theme_foundation - * @copyright 2021 Gareth J Barnard - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ trait hvp_toolbox { /** diff --git a/classes/mod_hvp_renderer.php b/classes/mod_hvp_renderer.php index 74fd45d4..4de12c4a 100644 --- a/classes/mod_hvp_renderer.php +++ b/classes/mod_hvp_renderer.php @@ -17,9 +17,12 @@ /** * Foundation theme. * - * @package theme_foundation - * @copyright 2018 Gareth J Barnard - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @package theme_foundation + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die; @@ -31,10 +34,6 @@ /** * Class theme_foundation_mod_hvp_renderer - * - * @package theme_foundation - * @copyright 2018 Gareth J Barnard - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class theme_foundation_mod_hvp_renderer extends mod_hvp_renderer { use \theme_foundation\hvp_toolbox; diff --git a/classes/mod_quiz_renderer.php b/classes/mod_quiz_renderer.php index b5576c6a..d161769f 100644 --- a/classes/mod_quiz_renderer.php +++ b/classes/mod_quiz_renderer.php @@ -17,9 +17,12 @@ /** * Foundation theme. * - * @package theme_foundation - * @copyright 2019 Gareth J Barnard - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @package theme_foundation + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die; @@ -31,10 +34,6 @@ /** * Class theme_foundation_mod_quiz_renderer - * - * @package theme_foundation - * @copyright 2019 Gareth J Barnard - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class theme_foundation_mod_quiz_renderer extends mod_quiz_renderer { /** diff --git a/classes/module/features_module.php b/classes/module/features_module.php index 50a94765..64468a00 100644 --- a/classes/module/features_module.php +++ b/classes/module/features_module.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195}. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\module; diff --git a/classes/module/frontpagecarousel_module.php b/classes/module/frontpagecarousel_module.php index 3fe6671d..929103f7 100644 --- a/classes/module/frontpagecarousel_module.php +++ b/classes/module/frontpagecarousel_module.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195}. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\module; diff --git a/classes/module/header_module.php b/classes/module/header_module.php index a2898507..ab5b4605 100644 --- a/classes/module/header_module.php +++ b/classes/module/header_module.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2021-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195}. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2021 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\module; diff --git a/classes/module/menus_module.php b/classes/module/menus_module.php index f6962359..370864db 100644 --- a/classes/module/menus_module.php +++ b/classes/module/menus_module.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195}. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\module; @@ -182,6 +184,7 @@ public function add_settings(&$settingspages, $toolbox) { 'class' => get_string('myclasses', 'theme_foundation'), 'module' => get_string('mymodules', 'theme_foundation'), ]; + $setting = new admin_setting_configselect($name, $title, $description, $default, $choices); $settingspages['menus'][\theme_foundation\toolbox::SETTINGPAGE]->add($setting); diff --git a/classes/module/swatch_module.php b/classes/module/swatch_module.php index d1da8d49..95652d82 100644 --- a/classes/module/swatch_module.php +++ b/classes/module/swatch_module.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195}. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\module; @@ -32,9 +34,6 @@ * * Swatches from https://bootswatch.com/ and licensed under the MIT Licence: * https://github.com/thomaspark/bootswatch/blob/master/LICENSE. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class swatch_module extends \theme_foundation\module_basement { /** diff --git a/classes/module_basement.php b/classes/module_basement.php index e05f5417..1b66191d 100644 --- a/classes/module_basement.php +++ b/classes/module_basement.php @@ -18,18 +18,17 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - based upon work by Tim Hunt in theme_config. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2018 G J Barnard. + * @author G J Barnard - based upon work by Tim Hunt in theme_config. + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation; /** * Abstract 'basement' class that all theme modules should extend. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ abstract class module_basement { /** diff --git a/classes/output/block_settings_renderer.php b/classes/output/block_settings_renderer.php index cc26eede..91de74d3 100644 --- a/classes/output/block_settings_renderer.php +++ b/classes/output/block_settings_renderer.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output; @@ -31,9 +33,6 @@ /** * The Block settings renderer. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class block_settings_renderer extends \block_settings_renderer { /** diff --git a/classes/output/core/course_renderer.php b/classes/output/core/course_renderer.php index d6367bf8..41995939 100644 --- a/classes/output/core/course_renderer.php +++ b/classes/output/core/course_renderer.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output\core; @@ -34,9 +36,6 @@ /** * The course renderer. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class course_renderer extends \core_course_renderer { /** diff --git a/classes/output/core/files_renderer.php b/classes/output/core/files_renderer.php index 9d69243a..ef91954d 100644 --- a/classes/output/core/files_renderer.php +++ b/classes/output/core/files_renderer.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output\core; @@ -31,9 +33,6 @@ /** * Rendering of files viewer related widgets. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class files_renderer extends \core_files_renderer { /** diff --git a/classes/output/core/output/mustache_filesystem_loader.php b/classes/output/core/output/mustache_filesystem_loader.php index 47102ea3..a08046f1 100644 --- a/classes/output/core/output/mustache_filesystem_loader.php +++ b/classes/output/core/output/mustache_filesystem_loader.php @@ -18,10 +18,12 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * based upon work by Damyon Wiese. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * based upon work by Damyon Wiese. + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output\core\output; diff --git a/classes/output/core/output/mustache_template_finder.php b/classes/output/core/output/mustache_template_finder.php index 885c7753..587f5451 100644 --- a/classes/output/core/output/mustache_template_finder.php +++ b/classes/output/core/output/mustache_template_finder.php @@ -18,10 +18,12 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195}, - * based upon work by Damyon Wiese. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * based upon work by Damyon Wiese. + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output\core\output; diff --git a/classes/output/core_course/management/renderer.php b/classes/output/core_course/management/renderer.php index a17f8c7e..818183d2 100644 --- a/classes/output/core_course/management/renderer.php +++ b/classes/output/core_course/management/renderer.php @@ -18,18 +18,17 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output\core_course\management; /** * The course management renderer. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class renderer extends \core_course_management_renderer { /** diff --git a/classes/output/core_question/bank_renderer.php b/classes/output/core_question/bank_renderer.php index ed43d926..c9aabb0d 100644 --- a/classes/output/core_question/bank_renderer.php +++ b/classes/output/core_question/bank_renderer.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output\core_question; @@ -31,9 +33,6 @@ /** * The question bank renderer. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class bank_renderer extends \core_question_bank_renderer { /** diff --git a/classes/output/core_renderer.php b/classes/output/core_renderer.php index 195782f8..d231e393 100644 --- a/classes/output/core_renderer.php +++ b/classes/output/core_renderer.php @@ -18,18 +18,17 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output; /** * The core renderer. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class core_renderer extends \core_renderer { use core_renderer_toolbox; diff --git a/classes/output/core_renderer_maintenance.php b/classes/output/core_renderer_maintenance.php index 40891474..693e4675 100644 --- a/classes/output/core_renderer_maintenance.php +++ b/classes/output/core_renderer_maintenance.php @@ -18,18 +18,17 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output; /** * The core maintenance renderer. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class core_renderer_maintenance extends \core_renderer_maintenance { use core_renderer_toolbox; diff --git a/classes/output/core_renderer_toolbox.php b/classes/output/core_renderer_toolbox.php index 8ce6bacf..e5bba587 100644 --- a/classes/output/core_renderer_toolbox.php +++ b/classes/output/core_renderer_toolbox.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output; @@ -30,9 +32,6 @@ /** * The core renderer toolbox. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ trait core_renderer_toolbox { /** diff --git a/classes/output/external.php b/classes/output/external.php index 2b352d90..87d7ac66 100644 --- a/classes/output/external.php +++ b/classes/output/external.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. Based upon work by Damyon Wiese and G Thomas. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195}. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output; @@ -35,12 +37,7 @@ use core_user; /** - * Foundation theme. - * - * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. Based upon work by Damyon Wiese and G Thomas. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195}. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * External. */ class external extends external_api { /** diff --git a/classes/output/foundation_menu_item.php b/classes/output/foundation_menu_item.php index 54557f97..bef05963 100644 --- a/classes/output/foundation_menu_item.php +++ b/classes/output/foundation_menu_item.php @@ -18,18 +18,17 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output; /** * The menu item for the theme. - * - * @copyright © 2019-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class foundation_menu_item extends \custom_menu_item { /** diff --git a/classes/output/gradereport_history_renderer.php b/classes/output/gradereport_history_renderer.php index c594064e..5694962a 100644 --- a/classes/output/gradereport_history_renderer.php +++ b/classes/output/gradereport_history_renderer.php @@ -18,18 +18,17 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output; /** * Overriden gradereport_history renderer. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class gradereport_history_renderer extends \gradereport_history\output\renderer { /** diff --git a/classes/output/icon_system_fontawesome.php b/classes/output/icon_system_fontawesome.php index b6064a72..0b434159 100644 --- a/classes/output/icon_system_fontawesome.php +++ b/classes/output/icon_system_fontawesome.php @@ -18,19 +18,16 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output; /** - * Foundation theme. - * - * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * Font Awesome icon system. */ class icon_system_fontawesome extends \core\output\icon_system_fontawesome { /** diff --git a/classes/output/mustache_engine.php b/classes/output/mustache_engine.php index 30c8bb8f..f15cfa81 100644 --- a/classes/output/mustache_engine.php +++ b/classes/output/mustache_engine.php @@ -18,18 +18,17 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output; /** * The mustache engine. Vroom vroom. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ trait mustache_engine { /** diff --git a/classes/output/mustache_renderer.php b/classes/output/mustache_renderer.php index 7a8ab228..17abd2ec 100644 --- a/classes/output/mustache_renderer.php +++ b/classes/output/mustache_renderer.php @@ -18,18 +18,17 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\output; /** - * The mustache renderer. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * The mustache renderer. Better than a beard trimmer. */ class mustache_renderer extends \renderer_base { use mustache_engine; diff --git a/classes/privacy/provider.php b/classes/privacy/provider.php index f6447d81..4da8d7ca 100644 --- a/classes/privacy/provider.php +++ b/classes/privacy/provider.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation\privacy; @@ -29,10 +31,7 @@ use core_privacy\local\metadata\collection; /** - * The Foundation theme. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * Privacy provider. */ class provider implements // This plugin has data. diff --git a/classes/renderer_factory.php b/classes/renderer_factory.php index 6c689a81..e0308db8 100644 --- a/classes/renderer_factory.php +++ b/classes/renderer_factory.php @@ -16,19 +16,19 @@ /** * Foundation theme. + * * @package theme_foundation - * @copyright © 2022-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2022 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation; /** * The renderer factory. - * - * @copyright © 2022-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class renderer_factory extends \theme_overridden_renderer_factory { /** diff --git a/classes/the_config.php b/classes/the_config.php index 4ebf46c2..cfd27c66 100644 --- a/classes/the_config.php +++ b/classes/the_config.php @@ -26,9 +26,11 @@ * from itself and not even an inheriting class. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - based upon work by Tim Hunt in theme_config. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2018 G J Barnard. + * @author G J Barnard - based upon work by Tim Hunt in theme_config. + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation; @@ -37,9 +39,6 @@ /** * Theme configuration. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class the_config { /** diff --git a/classes/toolbox.php b/classes/toolbox.php index 593dc3c9..fe9d2910 100644 --- a/classes/toolbox.php +++ b/classes/toolbox.php @@ -18,18 +18,17 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018 G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ namespace theme_foundation; /** * The theme's toolbox. - * - * @copyright © 2018-onwards G J Barnard. - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ class toolbox { /** diff --git a/config.php b/config.php index 5ea41896..b96ab19f 100644 --- a/config.php +++ b/config.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die; diff --git a/db/caches.php b/db/caches.php index ff19197e..ffb76ffe 100644 --- a/db/caches.php +++ b/db/caches.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die; diff --git a/db/services.php b/db/services.php index 626d7a58..e1d0f15d 100644 --- a/db/services.php +++ b/db/services.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die; diff --git a/db/upgrade.php b/db/upgrade.php index 79b4e5ac..0eaa444a 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ /** diff --git a/js/fd_colourpopup.js b/js/fd_colourpopup.js index 70d2fab4..5f6c886f 100644 --- a/js/fd_colourpopup.js +++ b/js/fd_colourpopup.js @@ -16,9 +16,11 @@ /** * Foundation theme. * @package theme_foundation - * @copyright © 2021-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @copyright 2021 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ M.util.init_fdcolour_popup = function(Y, id, previewconf) { diff --git a/lang/en/theme_foundation.php b/lang/en/theme_foundation.php index c247082f..12be52cb 100644 --- a/lang/en/theme_foundation.php +++ b/lang/en/theme_foundation.php @@ -18,19 +18,21 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ $string['choosereadme'] = '

Foundation

About

-

Foundation is a basic theme.

+

This is a Bootstrap theme that aims to be minimalistic and modern in look.

Theme Credits

Author: G J Barnard
-Contact: Moodle profile
+Contact: Moodle profile
Website: gjbarnard.co.uk

More information

@@ -76,7 +78,7 @@ // General. $string['generalheading'] = 'General'; $string['generalheadingsub'] = 'General settings'; -$string['generalheadingdesc'] = 'Configure the general settings for Foundation here.'; +$string['generalheadingdesc'] = 'Configure the general settings.'; $string['footerantigravityhorizontaloffset'] = 'Screen anti-gravity horizontal offset'; $string['footerantigravityhorizontaloffsetdesc'] = 'Set the horizontal offset of the anti-gravity buttons on the screen (not the navbar) from the default. This can be an positive (move right) or negative (move left) number. The units are pixels. Note: Flip this logic for RTL languages.'; @@ -115,7 +117,7 @@ // H5P. $string['hvpheading'] = 'H5P'; $string['hvpheadingsub'] = 'H5P settings'; -$string['hvpheadingdesc'] = 'Configure the H5P settings for Foundation here. They only take effect if the H5P module (moodle.org/plugins/mod_hvp) is installed.'; +$string['hvpheadingdesc'] = 'Configure the H5P settings. They only take effect if the H5P module (moodle.org/plugins/mod_hvp) is installed.'; $string['hvpcustomcss'] = 'H5P Custom CSS'; $string['hvpcustomcssdesc'] = 'Custom CSS for the H5P module.'; @@ -126,7 +128,7 @@ // Features. $string['featuresheading'] = 'Features'; $string['featuresheadingsub'] = 'Features settings'; -$string['featuresheadingdesc'] = 'Configure the settings for the features of Foundation here.'; +$string['featuresheadingdesc'] = 'Configure the settings for the features.'; $string['alertsheading'] = 'Alerts settings'; $string['alertsheadingdesc'] = 'Set the alerts settings.'; @@ -185,12 +187,12 @@ $string['syntaxhighlightheading'] = 'Syntax highlighting settings'; $string['syntaxhighlightheadingdesc'] = 'Set the syntax highlighting settings.'; $string['syntaxhighlightremoved'] = 'Syntax highlighting removed'; -$string['syntaxhighlightremoveddesc'] = 'Syntax highlighting functionality in Foundation has been removed. Please use the \'SynHi\' filter instead.'; +$string['syntaxhighlightremoveddesc'] = 'The syntax highlighting functionality has been removed. Please use the \'SynHi\' filter instead.'; // Carousels. $string['frontpagecarouselheading'] = 'Frontpage carousel'; $string['frontpagecarouselheadingsub'] = 'Frontpage carousel settings'; -$string['frontpagecarouselheadingdesc'] = 'Configure the settings for the frontpage carousel of Foundation here.'; +$string['frontpagecarouselheadingdesc'] = 'Configure the settings for the frontpage carousel.'; $string['frontpagecarouselslides'] = 'Frontpage slides'; $string['frontpagecarouselslidesdesc'] = 'Number of frontpage slides between {$a->lower} and {$a->upper}. After changing and \'Saving changes\', refresh the page.'; $string['frontpageslideno'] = 'Frontpage slide {$a->number}'; @@ -214,7 +216,7 @@ // Header. $string['headerheading'] = 'Header'; $string['headerheadingsub'] = 'Header settings'; -$string['headerheadingdesc'] = 'Configure the header settings for Foundation here.'; +$string['headerheadingdesc'] = 'Configure the header settings.'; $string['header'] = 'Header'; $string['headerdesc'] = 'Header desc.'; @@ -259,7 +261,7 @@ $string['securelayout'] = "Secure"; // Breadcrumb. -$string['breadcrumbheadingsub'] = 'Breaddrumb'; +$string['breadcrumbheadingsub'] = 'Breadcrumb'; $string['breadcrumbheadingdesc'] = 'Configure the settings for the \'Breadcrumb\' navigation here.'; $string['breadcrumbdisplaymycourses'] = 'Display \'My courses\''; $string['breadcrumbdisplaymycoursesdesc'] = 'Display \'My courses\' in the menu \'Breadcrumb\' when it is not set to be the \'Homepage\' either by the core setting \'defaulthomepage\' (\'Start page for users\') or the user profile preference \'Start page\' when \'defaulthomepage\' is set to \'User preference\'.'; @@ -269,7 +271,7 @@ // General menus menu. $string['generalmenuheadingsub'] = 'General'; -$string['generalmenuheadingdesc'] = 'Configure the general menu settings for Foundation here.'; +$string['generalmenuheadingdesc'] = 'Configure the general menu settings.'; $string['navbarposition'] = 'Navbar position'; $string['navbarpositiondesc'] = 'Set the position of the navbar.'; @@ -287,7 +289,7 @@ // Courses menu. $string['coursesmenuheadingsub'] = 'Courses menu settings'; -$string['coursesmenuheadingdesc'] = 'Configure the settings for the courses menu of Foundation here. Not to be confused with the core \'My courses\' page.'; +$string['coursesmenuheadingdesc'] = 'Configure the settings for the courses menu. Not to be confused with the core \'My courses\' page.'; $string['displaymycourses'] = 'Display courses'; $string['displaymycoursesdesc'] = 'Display courses for users on the \'Navbar\'. This can be \'Off\', \'My courses menu\', \'My courses page link\' or \'Both\'.'; $string['displaymycoursesoff'] = 'Off'; @@ -328,7 +330,7 @@ // This course menu. $string['thiscoursemenuheadingsub'] = 'This course menu settings'; -$string['thiscoursemenuheadingdesc'] = 'Configure the settings for the \'This course\' menu of Foundation here.'; +$string['thiscoursemenuheadingdesc'] = 'Configure the settings for the \'This course\' menu.'; $string['displaythiscourse'] = 'Display \'This course\' menu'; $string['displaythiscoursedesc'] = 'Display the \'This course\' menu on the \'Navbar\' in a course.'; $string['thiscourse'] = 'This course'; @@ -336,7 +338,7 @@ // Modules. $string['moduleheading'] = 'Module'; $string['moduleheadingsub'] = 'Module settings'; -$string['moduleheadingdesc'] = 'Configure the module settings for Foundation here.'; +$string['moduleheadingdesc'] = 'Configure the module settings.'; // Dynamic - will this break plugin validation? If it does then will have to put the theme strings here, but the concept will still be proven for modules. /* Future code? -> $toolbox = \theme_foundation\toolbox::get_instance(); @@ -345,7 +347,7 @@ // Swatch. $string['swatchheading'] = 'Swatch'; $string['swatchheadingsub'] = 'Swatch settings'; -$string['swatchheadingdesc'] = 'Configure the swatch settings for Foundation here.'; +$string['swatchheadingdesc'] = 'Configure the swatch settings.'; $string['swatch'] = 'Swatch'; $string['swatchdesc'] = 'Choose the swatch for the theme. A \'Swatch\' is a way of changing the look of the theme using a preset list of definitions that you attach a name to. All swatches (bar \'Seventies\' which I created) are from \'Bootswatch.com\' and licensed under the \'MIT License\'. Note: The Google font CDN\'s have been removed due to limitations with the PHP SCSS compiler and I don\'t want to have the complications of updating the privacy too.'; @@ -354,7 +356,7 @@ $string['swatchcustomcoloursdesc'] = 'Activate custom swatch colour settings.'; $string['swatchcustomcoloursheading'] = 'Swatch custom colours'; $string['swatchcustomcoloursheadingsub'] = 'Custom swatch colour settings'; -$string['swatchcustomcoloursheadingdesc'] = 'Configure the custom swatch colour settings for Foundation here.'; +$string['swatchcustomcoloursheadingdesc'] = 'Configure the custom swatch colour settings.'; $string['swatchcustomcolour'] = '{$a} colour'; $string['swatchcustomcolourdesc'] = 'Set the {$a} colour. Enter \'-\' to ignore this setting.'; @@ -363,7 +365,7 @@ $string['swatchcustomtypographydesc'] = 'Activate custom swatch typography settings.'; $string['swatchcustomtypographyheading'] = 'Swatch custom typography'; $string['swatchcustomtypographyheadingsub'] = 'Custom swatch typography settings'; -$string['swatchcustomtypographyheadingdesc'] = 'Configure the custom swatch typography settings for Foundation here.'; +$string['swatchcustomtypographyheadingdesc'] = 'Configure the custom swatch typography settings.'; $string['swatchcustomfontsizebase'] = 'Font size base'; $string['swatchcustomfontsizebasedesc'] = 'Set the base font size as a number. Units are \'rem\' internally.'; @@ -384,7 +386,7 @@ // Properties. $string['properties'] = 'Import / export settings'; $string['propertiessub'] = 'Current theme settings'; -$string['propertiesdesc'] = 'In this section you can import / export current Foundation theme settings (properties) in JSON format. You can also view all current settings on this Moodle installation.'; +$string['propertiesdesc'] = 'In this section you can import / export current theme settings (properties) in JSON format. You can also view all current settings on this Moodle installation.'; $string['propertiesproperty'] = 'Property'; $string['propertiesvalue'] = 'Value'; $string['propertiesexport'] = 'Export properties as a JSON string'; diff --git a/layout/layout.php b/layout/layout.php index ca333e3b..b9f8df0b 100644 --- a/layout/layout.php +++ b/layout/layout.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die; diff --git a/layout/maintenance.php b/layout/maintenance.php index 3fbd15f3..849f1486 100644 --- a/layout/maintenance.php +++ b/layout/maintenance.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2022-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2022 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die; diff --git a/layout/plainlayout.php b/layout/plainlayout.php index 3783d146..6ffd5024 100644 --- a/layout/plainlayout.php +++ b/layout/plainlayout.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2019-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2019 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die; diff --git a/lib.php b/lib.php index f6c6aa74..8a3b1438 100644 --- a/lib.php +++ b/lib.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ /** diff --git a/logout.php b/logout.php index 139bd20d..16f34db1 100644 --- a/logout.php +++ b/logout.php @@ -18,11 +18,14 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2021-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} + * @copyright 2021 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. * Adapted from code written by: * @copyright 1999 onwards Martin Dougiamas http://dougiamas.com - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. * * Notes: * If /login/logout.php ever changes, then change this! diff --git a/settings.php b/settings.php index 8819cad1..52e737fa 100644 --- a/settings.php +++ b/settings.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018 G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die; diff --git a/version.php b/version.php index 15a5c821..6d878307 100644 --- a/version.php +++ b/version.php @@ -18,9 +18,11 @@ * Foundation theme. * * @package theme_foundation - * @copyright © 2018-onwards G J Barnard. - * @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. + * @copyright 2018 G J Barnard. + * @author G J Barnard - + * {@link https://moodle.org/user/profile.php?id=442195} + * {@link https://gjbarnard.co.uk} + * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later. */ defined('MOODLE_INTERNAL') || die;