From f476c6310dadbf9409f3b47ec07aa583e7d37c72 Mon Sep 17 00:00:00 2001 From: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com> Date: Thu, 2 Apr 2026 15:50:35 -0500 Subject: [PATCH] Strip remaining FILE INFORMATION headers from all non-XML/README files Removes DEFGROUP, INGROUP, PATH, VERSION, BRIEF metadata from: - Root PHP files (index.php, custom.php, error.php, offline.php, component.php) - Language INI files (en-GB, en-US) - All index.html security stubs - brand-showcase.html, theme-test.html Copyright/SPDX block preserved in all files. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/component.php | 12 +-- src/custom.php | 12 +-- src/error.php | 12 +-- src/html/com_content/article/index.html | 77 ++++++++++++++++++- src/html/mod_menu/index.html | 73 +++++++++++++++++- src/index.html | 21 +---- src/index.php | 24 +----- src/language/en-GB/index.html | 21 +---- src/language/en-GB/tpl_mokocassiopeia.ini | 11 +-- src/language/en-GB/tpl_mokocassiopeia.sys.ini | 9 +-- src/language/en-US/index.html | 21 +---- src/language/en-US/tpl_mokocassiopeia.ini | 11 +-- src/language/en-US/tpl_mokocassiopeia.sys.ini | 9 +-- src/language/index.html | 21 +---- src/media/css/index.html | 21 +---- src/media/css/system/index.html | 21 +---- src/media/css/system/searchtools/index.html | 21 +---- src/media/css/theme/index.html | 75 ++++++++++++++++++ src/media/fonts/index.html | 21 +---- src/media/images/index.html | 21 +---- src/media/index.html | 21 +---- src/media/js/index.html | 21 +---- src/media/js/mod_menu/index.html | 21 +---- src/media/vendor/bootstrap-toc/index.html | 77 ++++++++++++++++++- src/media/vendor/index.html | 21 +---- src/offline.php | 12 +-- src/templates/brand-showcase.html | 15 +--- src/templates/theme-test.html | 15 +--- 28 files changed, 325 insertions(+), 392 deletions(-) diff --git a/src/component.php b/src/component.php index 2de5d62..23b267d 100644 --- a/src/component.php +++ b/src/component.php @@ -1,19 +1,9 @@ +/* Copyright (C) 2025 Moko Consulting This file is part of a Moko Consulting project. SPDX-License-Identifier: GPL-3.0-or-later - - - - # FILE INFORMATION - DEFGROUP: Joomla.Template.Site - INGROUP: MokoCassiopeia - REPO: https://github.com/mokoconsulting-tech/MokoCassiopeia - PATH: ./templates/mokocassiopeia/component.php - VERSION: 03.09.02 - BRIEF: Main template index file for MokoCassiopeia rendering site layout */ diff --git a/src/custom.php b/src/custom.php index 35b9d3d..79167a8 100644 --- a/src/custom.php +++ b/src/custom.php @@ -1,19 +1,9 @@ +/* Copyright (C) 2025 Moko Consulting This file is part of a Moko Consulting project. SPDX-License-Identifier: GPL-3.0-or-later - - - - # FILE INFORMATION - DEFGROUP: Joomla.Template.Site - INGROUP: MokoCassiopeia - REPO: https://github.com/mokoconsulting-tech/MokoCassiopeia - PATH: ./templates/mokocassiopeia/custom.php - VERSION: 03.09.02 - BRIEF: MokoCassiopeia with user-defined overrides */ function console_log($output, $with_script_tags = true) { diff --git a/src/error.php b/src/error.php index 6171288..c3b8800 100644 --- a/src/error.php +++ b/src/error.php @@ -1,19 +1,9 @@ +/* Copyright (C) 2025 Moko Consulting This file is part of a Moko Consulting project. SPDX-License-Identifier: GPL-3.0-or-later - - - - # FILE INFORMATION - DEFGROUP: Joomla.Template.Site - INGROUP: MokoCassiopeia - REPO: https://github.com/mokoconsulting-tech/MokoCassiopeia - PATH: ./templates/mokocassiopeia/error.php - VERSION: 03.09.02 - BRIEF: Error page template file for MokoCassiopeia */ defined('_JEXEC') or die; diff --git a/src/html/com_content/article/index.html b/src/html/com_content/article/index.html index 2efb97f..1a6c6cf 100644 --- a/src/html/com_content/article/index.html +++ b/src/html/com_content/article/index.html @@ -1 +1,76 @@ - + + + + + + + Redirecting… + + + + + + + + + + + + + + + + + + + +
Redirecting to the site root… If you are not redirected, click here.
+ + diff --git a/src/html/mod_menu/index.html b/src/html/mod_menu/index.html index a07609c..1a6c6cf 100644 --- a/src/html/mod_menu/index.html +++ b/src/html/mod_menu/index.html @@ -1,9 +1,76 @@ - + + + - - + + Redirecting… + + + + + + + + + + + + + + + + + +
Redirecting to the site root… If you are not redirected, click here.
diff --git a/src/index.html b/src/index.html index fb0a3d0..1a6c6cf 100644 --- a/src/index.html +++ b/src/index.html @@ -1,27 +1,8 @@ - diff --git a/src/index.php b/src/index.php index 1b85efb..13f4fb8 100644 --- a/src/index.php +++ b/src/index.php @@ -1,31 +1,9 @@ +/* Copyright (C) 2025 Moko Consulting This file is part of a Moko Consulting project. SPDX-License-Identifier: GPL-3.0-or-later - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - - - # FILE INFORMATION - DEFGROUP: Joomla.Template.Site - INGROUP: MokoCassiopeia - REPO: https://github.com/mokoconsulting-tech/MokoCassiopeia - PATH: ./templates/mokocassiopeia/index.php - VERSION: 03.09.02 - BRIEF: Main template index file for MokoCassiopeia rendering site layout */ diff --git a/src/language/en-GB/index.html b/src/language/en-GB/index.html index 480348d..1a6c6cf 100644 --- a/src/language/en-GB/index.html +++ b/src/language/en-GB/index.html @@ -1,27 +1,8 @@ - diff --git a/src/language/en-GB/tpl_mokocassiopeia.ini b/src/language/en-GB/tpl_mokocassiopeia.ini index 27b811a..bf9acee 100644 --- a/src/language/en-GB/tpl_mokocassiopeia.ini +++ b/src/language/en-GB/tpl_mokocassiopeia.ini @@ -1,17 +1,8 @@ -; Copyright (C) 2026 Moko Consulting +; Copyright (C) 2025 Moko Consulting ; ; This file is part of a Moko Consulting project. ; ; SPDX-License-Identifier: GPL-3.0-or-later -; -; #FILE INFORMATION -; DEFGROUP: Joomla.Template.Site -; INGROUP: MokoCassiopeia -; PATH: ./language/en-GB/tpl_mokocassiopeia.ini -; VERSION: 03.09.02 -; BRIEF: English (GB) language strings for the MokoCassiopeia Joomla template -; -; Note: Template metadata strings (name, description) are in tpl_mokocassiopeia.sys.ini ; ===== System / layout ===== TPL_MOKOCASSIOPEIA_DEVELOPMENTMODE_LABEL="Development Mode" diff --git a/src/language/en-GB/tpl_mokocassiopeia.sys.ini b/src/language/en-GB/tpl_mokocassiopeia.sys.ini index 3e7d59c..d627e5e 100644 --- a/src/language/en-GB/tpl_mokocassiopeia.sys.ini +++ b/src/language/en-GB/tpl_mokocassiopeia.sys.ini @@ -1,16 +1,9 @@ -; Copyright (C) 2026 Moko Consulting +; Copyright (C) 2025 Moko Consulting ; ; This file is part of a Moko Consulting project. ; ; SPDX-License-Identifier: GPL-3.0-or-later ; -; #FILE INFORMATION -; DEFGROUP: Joomla.Template.Site -; INGROUP: MokoCassiopeia -; PATH: ./language/en-GB/tpl_mokocassiopeia.sys.ini -; VERSION: 03.09.02 -; BRIEF: English (GB) system language strings for template metadata and installer -; TPL_MOKOCASSIOPEIA="MokoCassiopeia Site template" TPL_MOKOCASSIOPEIA_GOOGLE_FIELDSET_LABEL="Google" TPL_MOKOCASSIOPEIA_DRAWERS_FIELDSET_LABEL="Drawers" diff --git a/src/language/en-US/index.html b/src/language/en-US/index.html index 480348d..1a6c6cf 100644 --- a/src/language/en-US/index.html +++ b/src/language/en-US/index.html @@ -1,27 +1,8 @@ - diff --git a/src/language/en-US/tpl_mokocassiopeia.ini b/src/language/en-US/tpl_mokocassiopeia.ini index e51f79f..089c689 100644 --- a/src/language/en-US/tpl_mokocassiopeia.ini +++ b/src/language/en-US/tpl_mokocassiopeia.ini @@ -1,17 +1,8 @@ -; Copyright (C) 2026 Moko Consulting +; Copyright (C) 2025 Moko Consulting ; ; This file is part of a Moko Consulting project. ; ; SPDX-License-Identifier: GPL-3.0-or-later -; -; #FILE INFORMATION -; DEFGROUP: Joomla.Template.Site -; INGROUP: MokoCassiopeia -; PATH: ./language/en-US/tpl_mokocassiopeia.ini -; VERSION: 03.09.02 -; BRIEF: English (US) language strings for the MokoCassiopeia Joomla template -; -; Note: Template metadata strings (name, description) are in tpl_mokocassiopeia.sys.ini ; ===== System / layout ===== TPL_MOKOCASSIOPEIA_DEVELOPMENTMODE_LABEL="Development Mode" diff --git a/src/language/en-US/tpl_mokocassiopeia.sys.ini b/src/language/en-US/tpl_mokocassiopeia.sys.ini index a1e93f2..7c6866d 100644 --- a/src/language/en-US/tpl_mokocassiopeia.sys.ini +++ b/src/language/en-US/tpl_mokocassiopeia.sys.ini @@ -1,16 +1,9 @@ -; Copyright (C) 2026 Moko Consulting +; Copyright (C) 2025 Moko Consulting ; ; This file is part of a Moko Consulting project. ; ; SPDX-License-Identifier: GPL-3.0-or-later ; -; #FILE INFORMATION -; DEFGROUP: Joomla.Template.Site -; INGROUP: MokoCassiopeia -; PATH: ./language/en-US/tpl_mokocassiopeia.sys.ini -; VERSION: 03.09.02 -; BRIEF: English (US) system language strings for template metadata and installer -; TPL_MOKOCASSIOPEIA="MokoCassiopeia Site template" TPL_MOKOCASSIOPEIA_GOOGLE_FIELDSET_LABEL="Google" TPL_MOKOCASSIOPEIA_DRAWERS_FIELDSET_LABEL="Drawers" diff --git a/src/language/index.html b/src/language/index.html index 480348d..1a6c6cf 100644 --- a/src/language/index.html +++ b/src/language/index.html @@ -1,27 +1,8 @@ - diff --git a/src/media/css/index.html b/src/media/css/index.html index 480348d..1a6c6cf 100644 --- a/src/media/css/index.html +++ b/src/media/css/index.html @@ -1,27 +1,8 @@ - diff --git a/src/media/css/system/index.html b/src/media/css/system/index.html index 480348d..1a6c6cf 100644 --- a/src/media/css/system/index.html +++ b/src/media/css/system/index.html @@ -1,27 +1,8 @@ - diff --git a/src/media/css/system/searchtools/index.html b/src/media/css/system/searchtools/index.html index 480348d..1a6c6cf 100644 --- a/src/media/css/system/searchtools/index.html +++ b/src/media/css/system/searchtools/index.html @@ -1,27 +1,8 @@ - diff --git a/src/media/css/theme/index.html b/src/media/css/theme/index.html index 8b13789..1a6c6cf 100644 --- a/src/media/css/theme/index.html +++ b/src/media/css/theme/index.html @@ -1 +1,76 @@ + + + + + + + Redirecting… + + + + + + + + + + + + + + + + + + + +
Redirecting to the site root… If you are not redirected, click here.
+ + diff --git a/src/media/fonts/index.html b/src/media/fonts/index.html index 480348d..1a6c6cf 100644 --- a/src/media/fonts/index.html +++ b/src/media/fonts/index.html @@ -1,27 +1,8 @@ - diff --git a/src/media/images/index.html b/src/media/images/index.html index 480348d..1a6c6cf 100644 --- a/src/media/images/index.html +++ b/src/media/images/index.html @@ -1,27 +1,8 @@ - diff --git a/src/media/index.html b/src/media/index.html index 480348d..1a6c6cf 100644 --- a/src/media/index.html +++ b/src/media/index.html @@ -1,27 +1,8 @@ - diff --git a/src/media/js/index.html b/src/media/js/index.html index 480348d..1a6c6cf 100644 --- a/src/media/js/index.html +++ b/src/media/js/index.html @@ -1,27 +1,8 @@ - diff --git a/src/media/js/mod_menu/index.html b/src/media/js/mod_menu/index.html index 480348d..1a6c6cf 100644 --- a/src/media/js/mod_menu/index.html +++ b/src/media/js/mod_menu/index.html @@ -1,27 +1,8 @@ - diff --git a/src/media/vendor/bootstrap-toc/index.html b/src/media/vendor/bootstrap-toc/index.html index 2efb97f..1a6c6cf 100644 --- a/src/media/vendor/bootstrap-toc/index.html +++ b/src/media/vendor/bootstrap-toc/index.html @@ -1 +1,76 @@ - + + + + + + + Redirecting… + + + + + + + + + + + + + + + + + + + +
Redirecting to the site root… If you are not redirected, click here.
+ + diff --git a/src/media/vendor/index.html b/src/media/vendor/index.html index 480348d..1a6c6cf 100644 --- a/src/media/vendor/index.html +++ b/src/media/vendor/index.html @@ -1,27 +1,8 @@ - diff --git a/src/offline.php b/src/offline.php index b3571ab..004dabb 100644 --- a/src/offline.php +++ b/src/offline.php @@ -1,19 +1,9 @@ +/* Copyright (C) 2025 Moko Consulting This file is part of a Moko Consulting project. SPDX-License-Identifier: GPL-3.0-or-later - - - - # FILE INFORMATION - DEFGROUP: Joomla.Template.Site - INGROUP: MokoCassiopeia - REPO: https://github.com/mokoconsulting-tech/MokoCassiopeia - PATH: ./templates/mokocassiopeia/offline.php - VERSION: 03.09.02 - BRIEF: Offline page template file for MokoCassiopeia */ declare(strict_types=1); diff --git a/src/templates/brand-showcase.html b/src/templates/brand-showcase.html index 9770590..ac5ff99 100644 --- a/src/templates/brand-showcase.html +++ b/src/templates/brand-showcase.html @@ -1,18 +1,9 @@ - diff --git a/src/templates/theme-test.html b/src/templates/theme-test.html index 981e6c0..0245f18 100644 --- a/src/templates/theme-test.html +++ b/src/templates/theme-test.html @@ -1,18 +1,9 @@ -