Reorganization
This commit is contained in:
89
src/language/en-GB/index.html
Normal file
89
src/language/en-GB/index.html
Normal file
@@ -0,0 +1,89 @@
|
||||
<!-- Copyright (C) 2025 Moko Consulting <jmiller@mokoconsulting.tech>
|
||||
|
||||
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 https://www.gnu.org/licenses/ .
|
||||
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: Joomla.Site
|
||||
INGROUP: Templates.Moko-Cassiopeia
|
||||
FILE: index.html
|
||||
BRIEF: Security redirect page to block folder access and forward to site root.
|
||||
-->
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Redirecting…</title>
|
||||
|
||||
<!-- Search engines: do not index this placeholder redirect page -->
|
||||
<meta name="robots" content="noindex, nofollow, noarchive" />
|
||||
|
||||
<!-- Instant redirect fallback even if JavaScript is disabled -->
|
||||
<meta http-equiv="refresh" content="0; url=/" />
|
||||
|
||||
<!-- Canonical root reference -->
|
||||
<link rel="canonical" href="/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<script>
|
||||
|
||||
(function redirectToRoot() {
|
||||
// Configuration object with safe defaults.
|
||||
var opts = {
|
||||
fallbackPath: "/", // string: fallback destination if origin is unavailable
|
||||
delayMs: 0, // number: delay before redirect in ms (0 = immediate)
|
||||
behavior: "replace" // enum: "replace" | "assign"
|
||||
};
|
||||
|
||||
// Determine absolute origin in all mainstream browsers.
|
||||
var origin = (typeof location.origin === "string" && location.origin)
|
||||
|| (location.protocol + "//" + location.host);
|
||||
|
||||
// Final destination: absolute root of the current site, or fallback path.
|
||||
var destination = origin ? origin + "/" : opts.fallbackPath;
|
||||
|
||||
function go() {
|
||||
if (opts.behavior === "assign") {
|
||||
location.assign(destination);
|
||||
} else {
|
||||
location.replace(destination);
|
||||
}
|
||||
}
|
||||
|
||||
// Execute redirect, optionally after a short delay.
|
||||
if (opts.delayMs > 0) {
|
||||
setTimeout(go, opts.delayMs);
|
||||
} else {
|
||||
go();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<!--
|
||||
Secondary meta-refresh for no-JS environments is already set above.
|
||||
Some very old crawlers may ignore JS; the meta refresh ensures coverage.
|
||||
-->
|
||||
|
||||
<noscript>
|
||||
<!-- Extra defense-in-depth: if JS is disabled, meta refresh (above) handles redirect. -->
|
||||
<style>
|
||||
html, body { height:100%; }
|
||||
body { display:flex; align-items:center; justify-content:center; margin:0; font: 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
|
||||
.msg { opacity: .75; text-align: center; }
|
||||
</style>
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div class="msg">Redirecting to the site root… If you are not redirected, <a href="/">click here</a>.</div>
|
||||
</body>
|
||||
</html>
|
||||
129
src/language/en-GB/tpl_moko-cassiopeia.ini
Normal file
129
src/language/en-GB/tpl_moko-cassiopeia.ini
Normal file
@@ -0,0 +1,129 @@
|
||||
; ; Copyright (C) 2025 Moko Consulting <hello@mokoconsulting.tech>
|
||||
;
|
||||
; 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 https://www.gnu.org/licenses/ .
|
||||
;
|
||||
; #FILE INFORMATION
|
||||
; DEFGROUP: Joomla.Template.Site
|
||||
; INGROUP: Moko-Cassiopeia
|
||||
; PATH: ./language/en-GB/tpl_moko-cassiopeia.ini
|
||||
; VERSION: 03.00
|
||||
; BRIEF: English (GB) language strings for the Moko-Cassiopeia Joomla template
|
||||
;
|
||||
; ===== Template meta =====
|
||||
MOKO-CASSIOPEIA="MOKO-CASSIOPEIA Site template"
|
||||
TPL_MOKO-CASSIOPEIA_XML_DESCRIPTION="Continuing the space theme (Solarflare from 1.0, Milkyway from 1.5 and Protostar from 3.0), MOKO-CASSIOPEIA is the Joomla 4 site template based on Bootstrap 5."
|
||||
|
||||
; ===== System / layout =====
|
||||
TPL_MOKO-CASSIOPEIA_DEVELOPMENTMODE_LABEL="Development Mode"
|
||||
TPL_MOKO-CASSIOPEIA_DEVELOPMENTMODE_DESC="If 'Development Mode' is active, certain features may be disabled, such as Google Tag Manager and Google Analytics."
|
||||
TPL_MOKO-CASSIOPEIA_FLUID_LABEL="Layout"
|
||||
TPL_MOKO-CASSIOPEIA_STATIC="Static"
|
||||
TPL_MOKO-CASSIOPEIA_FLUID="Fluid"
|
||||
|
||||
; ===== Custom Code tab =====
|
||||
TPL_MOKO-CASSIOPEIA_CUSTOM_CODE_FIELDSET="Custom Code"
|
||||
COM_TEMPLATES_CUSTOM_HEAD_FIELDSET_LABEL="Custom Head"
|
||||
TPL_MOKO-CASSIOPEIA_CUSTOM_HEAD_START_LABEL="Custom Head: Start"
|
||||
TPL_MOKO-CASSIOPEIA_CUSTOM_HEAD_START_DESC="This content will be inserted at the beginning of the <head> tag"
|
||||
TPL_MOKO-CASSIOPEIA_CUSTOM_HEAD_END_LABEL="Custom Head: End"
|
||||
TPL_MOKO-CASSIOPEIA_CUSTOM_HEAD_END_DESC="This content will be inserted at the end of the <head> tag"
|
||||
TPL_MOKO-CASSIOPEIA_OFFLINEEMBED_LABEL="Offline Page Embed Code"
|
||||
TPL_MOKO-CASSIOPEIA_OFFLINEEMBED_DESC="In addition to the 'Offline message' defined in 'Global Configuration', this will be displayed on the offline page.<i>Use for Mailchimp code and Social Icons</i>"
|
||||
|
||||
; ===== Drawers =====
|
||||
COM_TEMPLATES_DRAWERS_FIELDSET_LABEL="Drawers"
|
||||
TPL_MOKO-CASSIOPEIA_DRAWER_LEFT_ICON_LABEL="Drawer Left Icon CSS"
|
||||
TPL_MOKO-CASSIOPEIA_DRAWER_LEFT_ICON_DESC="Enter the Font-Awesome class for the left drawer toggle (e.g. 'fas fa-chevron-left')."
|
||||
TPL_MOKO-CASSIOPEIA_DRAWER_RIGHT_ICON_LABEL="Drawer Right Icon CSS"
|
||||
TPL_MOKO-CASSIOPEIA_DRAWER_RIGHT_ICON_DESC="Enter the Font-Awesome class for the right drawer toggle (e.g. 'fas fa-chevron-right')."
|
||||
|
||||
; ===== Google =====
|
||||
COM_TEMPLATES_GOOGLE_FIELDSET_LABEL="Google"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLE_NOTE_TEXT="<h3>PLEASE NOTE:</h3>If fields are left blank, relative Google features will not be used"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLETAGMANAGER_LABEL="Use Google Tag Manager?"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLETAGMANAGER_DESC="Do you want to use Google Tag Manager?<br>More information on Google Tag Manager can be found <a target='_blank' href='https://support.google.com/tagmanager/answer/14842164'>here.</a>"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLETAGMANAGERID_LABEL="Google Tag Manager ID"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLETAGMANAGERID_DESC="Begins with 'GTM-'"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLEANALYTICS_LABEL="Use Google Analytics?"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLEANALYTICS_DESC="Do you want to use Google Analytics?<br>More information on Google Analytics can be found <a target='_blank' href='https://developers.google.com/analytics'>here.</a>"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLEANALYTICSID_LABEL="Google Analytics ID"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLEANALYTICSID_DESC="Begins with 'G-'"
|
||||
|
||||
; ===== Branding & icons (Theme tab) =====
|
||||
TPL_MOKO-CASSIOPEIA_BRAND_LABEL="Brand"
|
||||
TPL_MOKO-CASSIOPEIA_LOGO_LABEL="Logo"
|
||||
TPL_MOKO-CASSIOPEIA_TITLE="Title (alternative to logo)"
|
||||
TPL_MOKO-CASSIOPEIA_TAGLINE_LABEL="Tagline"
|
||||
TPL_MOKO-CASSIOPEIA_TAGLINE_DESC="Optional text to show as a subheading"
|
||||
TPL_MOKO-CASSIOPEIA_FAKITCODE_LABEL="Font Awesome Kit Unique Code"
|
||||
TPL_MOKO-CASSIOPEIA_FAKITCODE_DESC="<i>If left blank, Font Awesome 7 Free will be used.</i><br>Copy the unique Kit embed code above and paste it into the <head> of your project's HTML file or template.<br><a href='https://fontawesome.com/' target='_blank'>More information at the Font Awesome website.</a>"
|
||||
|
||||
; ===== Typography (Theme tab) =====
|
||||
TPL_MOKO-CASSIOPEIA_FONT_LABEL="Fonts Scheme"
|
||||
TPL_MOKO-CASSIOPEIA_FONT_GROUP_LOCAL="Fonts from Folder"
|
||||
TPL_MOKO-CASSIOPEIA_FONT_GROUP_WEB="Fonts from Web"
|
||||
TPL_MOKO-CASSIOPEIA_FONT_NOTE_TEXT="Loading fonts from external sources might be against privacy regulations in some countries.<br>Loading fonts from a local folder might have a performance impact on your site."
|
||||
|
||||
; ===== Header & navigation (Theme tab) =====
|
||||
TPL_MOKO-CASSIOPEIA_STICKY_LABEL="Sticky Header"
|
||||
TPL_MOKO-CASSIOPEIA_BACKTOTOP="Back to Top"
|
||||
TPL_MOKO-CASSIOPEIA_BACKTOTOP_LABEL="Back-to-top Link"
|
||||
TPL_MOKO-CASSIOPEIA_TOC="Table of Contents"
|
||||
|
||||
; ===== Color palette choices (shared) =====
|
||||
TPL_MOKO-CASSIOPEIA_COLOR_NAME_STANDARD="Standard"
|
||||
TPL_MOKO-CASSIOPEIA_COLOR_NAME_ALTERNATIVE="Alternative"
|
||||
TPL_MOKO-CASSIOPEIA_COLOR_NAME_CUSTOM="Custom"
|
||||
; New labels for Theme tab dropdowns
|
||||
TPL_MOKO-CASSIOPEIA_COLOR_LIGHT_NAME_LABEL="Light color palette"
|
||||
TPL_MOKO-CASSIOPEIA_COLOR_DARK_NAME_LABEL="Dark color palette"
|
||||
|
||||
; ===== Theme tab (core feature strings) =====
|
||||
TPL_MOKO_THEME_FIELDSET="Theme"
|
||||
TPL_MOKO_THEME_SECTION_GENERAL="General"
|
||||
TPL_MOKO_THEME_SECTION_VARS="Variables & Palettes"
|
||||
TPL_MOKO_THEME_SECTION_TYPO="Typography"
|
||||
TPL_MOKO_THEME_SECTION_BRAND="Branding & Icons"
|
||||
TPL_MOKO_THEME_SECTION_HEADER="Header & Navigation"
|
||||
TPL_MOKO_THEME_SECTION_TOGGLE="Theme Toggle UI"
|
||||
|
||||
TPL_MOKO_THEME_ENABLED="Enable theme feature"
|
||||
TPL_MOKO_THEME_ENABLED_DESC="Turn the entire light/dark feature on or off."
|
||||
TPL_MOKO_THEME_CONTROL_TYPE="Theme Control Type"
|
||||
TPL_MOKO_THEME_CONTROL_TYPE_DESC="Choose a visible toggle (Switch or Radios), or no control to follow System only."
|
||||
TPL_MOKO_THEME_DEFAULT_CHOICE="Default Choice"
|
||||
TPL_MOKO_THEME_DEFAULT_CHOICE_DESC="Initial theme when no user preference is stored."
|
||||
TPL_MOKO_THEME_AUTO_DARK="Auto Dark Mode"
|
||||
TPL_MOKO_THEME_AUTO_DARK_DESC="Force the site to switch to dark mode automatically. When enabled, the template will override the default and use dark unless the user explicitly selects otherwise."
|
||||
TPL_MOKO_THEME_META_COLOR_SCHEME="Add <meta name="color-scheme">"
|
||||
TPL_MOKO_THEME_META_COLOR_SCHEME_DESC="Advertise light/dark support for UA controls."
|
||||
TPL_MOKO_THEME_META_THEME_COLOR="Add <meta name="theme-color">"
|
||||
TPL_MOKO_THEME_META_THEME_COLOR_DESC="Update mobile address bar color."
|
||||
TPL_MOKO_THEME_BASE_CSS="Base template CSS"
|
||||
TPL_MOKO_THEME_BASE_CSS_DESC="Main stylesheet that consumes variables."
|
||||
TPL_MOKO_THEME_BRIDGE="Sync data-bs-theme with data-aria-theme"
|
||||
TPL_MOKO_THEME_BRIDGE_DESC="Keep both attributes in lockstep so Bootstrap and custom CSS stay aligned."
|
||||
TPL_MOKO_THEME_FAB_ENABLED="Show floating theme switch"
|
||||
TPL_MOKO_THEME_FAB_ENABLED_DESC="Display a persistent, accessible theme toggle."
|
||||
TPL_MOKO_THEME_FAB_POS="Floating switch position"
|
||||
TPL_MOKO_THEME_FAB_POS_DESC="Screen corner for the toggle."
|
||||
|
||||
; ===== Misc =====
|
||||
MOD_BREADCRUMBS_HERE="YOU ARE HERE:"
|
||||
|
||||
JGLOBAL_OFFLINE="Offline"
|
||||
76
src/language/en-GB/tpl_moko-cassiopeia.sys.ini
Normal file
76
src/language/en-GB/tpl_moko-cassiopeia.sys.ini
Normal file
@@ -0,0 +1,76 @@
|
||||
; ; Copyright (C) 2025 Moko Consulting <hello@mokoconsulting.tech>
|
||||
;
|
||||
; 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 https://www.gnu.org/licenses/ .
|
||||
;
|
||||
; #FILE INFORMATION
|
||||
; DEFGROUP: Joomla.Template.Site
|
||||
; INGROUP: Moko-Cassiopeia
|
||||
; PATH: ./language/en-GB/tpl_moko-cassiopeia.sys.ini
|
||||
; VERSION: 03.00
|
||||
; BRIEF: English (GB) system language strings for template metadata and installer
|
||||
;
|
||||
TPL_MOKO-CASSIOPEIA="Moko-Cassiopeia Site template"
|
||||
TPL_MOKO-CASSIOPEIA_MOD_MENU_LAYOUT_COLLAPSE-METISMENU="Collapsible Dropdown"
|
||||
TPL_MOKO-CASSIOPEIA_MOD_MENU_LAYOUT_DROPDOWN-METISMENU="Dropdown"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_BANNER="Banner"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_BELOW-TOP="Below Top"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_BOTTOM-A="Bottom-A"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_BOTTOM-B="Bottom-B"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_BREADCRUMBS="Breadcrumbs"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_DEBUG="Debug"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_FOOTER="Footer"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_MAIN-BOTTOM="Main-bottom"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_MAIN-TOP="Main-top"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_MENU="Menu"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_SEARCH="Search"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_SIDEBAR-LEFT="Sidebar-left"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_SIDEBAR-RIGHT="Sidebar-right"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_TOP-A="Top-a"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_TOP-B="Top-b"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_TOPBAR="Top Bar"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_DRAWER-LEFT="Drawer-Left"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_DRAWER-RIGHT="Drawer-Right"
|
||||
TPL_MOKO-CASSIOPEIA_XML_DESCRIPTION=
|
||||
TPL_MOKO-CASSIOPEIA_XML_DESCRIPTION="<h3>MOKO-CASSIOPEIA Template Description</h3>
|
||||
<p>
|
||||
<strong>MOKO-CASSIOPEIA 2.0</strong> continues Joomla’s tradition of space-themed default templates—
|
||||
building on the legacy of <em>Solarflare</em> (Joomla 1.0), <em>Milkyway</em> (Joomla 1.5),
|
||||
and <em>Protostar</em> (Joomla 3.0).
|
||||
</p>
|
||||
<p>
|
||||
This template is a customized fork of the <strong>Cassiopeia</strong> template introduced in Joomla 4,
|
||||
preserving its modern, accessible, and mobile-first foundation while introducing new stylistic
|
||||
enhancements and structural refinements specifically tailored for use by Moko Consulting.
|
||||
</p>
|
||||
|
||||
<h4>Code Attribution</h4>
|
||||
<p>
|
||||
This template is based on the original <strong>Cassiopeia</strong> template developed by the
|
||||
<a href=\"https://www.joomla.org\" target=\"_blank\" rel=\"noopener\">Joomla! Project</a> and released under the GNU General Public License.
|
||||
</p>
|
||||
<p>
|
||||
Modifications and enhancements have been made by Moko Consulting in accordance with open-source licensing standards.
|
||||
</p>
|
||||
<p>
|
||||
It includes integration with
|
||||
<a href=\"https://afeld.github.io/bootstrap-toc/\" target=\"_blank\" rel=\"noopener\">Bootstrap TOC</a>,
|
||||
an open-source table of contents generator by A. Feld, licensed under the MIT License.
|
||||
</p>
|
||||
<p>
|
||||
All third-party libraries and assets remain the property of their respective authors and are credited within their source files where applicable.
|
||||
</p>"
|
||||
89
src/language/en-US/index.html
Normal file
89
src/language/en-US/index.html
Normal file
@@ -0,0 +1,89 @@
|
||||
<!-- Copyright (C) 2025 Moko Consulting <jmiller@mokoconsulting.tech>
|
||||
|
||||
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 https://www.gnu.org/licenses/ .
|
||||
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: Joomla.Site
|
||||
INGROUP: Templates.Moko-Cassiopeia
|
||||
FILE: index.html
|
||||
BRIEF: Security redirect page to block folder access and forward to site root.
|
||||
-->
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Redirecting…</title>
|
||||
|
||||
<!-- Search engines: do not index this placeholder redirect page -->
|
||||
<meta name="robots" content="noindex, nofollow, noarchive" />
|
||||
|
||||
<!-- Instant redirect fallback even if JavaScript is disabled -->
|
||||
<meta http-equiv="refresh" content="0; url=/" />
|
||||
|
||||
<!-- Canonical root reference -->
|
||||
<link rel="canonical" href="/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<script>
|
||||
|
||||
(function redirectToRoot() {
|
||||
// Configuration object with safe defaults.
|
||||
var opts = {
|
||||
fallbackPath: "/", // string: fallback destination if origin is unavailable
|
||||
delayMs: 0, // number: delay before redirect in ms (0 = immediate)
|
||||
behavior: "replace" // enum: "replace" | "assign"
|
||||
};
|
||||
|
||||
// Determine absolute origin in all mainstream browsers.
|
||||
var origin = (typeof location.origin === "string" && location.origin)
|
||||
|| (location.protocol + "//" + location.host);
|
||||
|
||||
// Final destination: absolute root of the current site, or fallback path.
|
||||
var destination = origin ? origin + "/" : opts.fallbackPath;
|
||||
|
||||
function go() {
|
||||
if (opts.behavior === "assign") {
|
||||
location.assign(destination);
|
||||
} else {
|
||||
location.replace(destination);
|
||||
}
|
||||
}
|
||||
|
||||
// Execute redirect, optionally after a short delay.
|
||||
if (opts.delayMs > 0) {
|
||||
setTimeout(go, opts.delayMs);
|
||||
} else {
|
||||
go();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<!--
|
||||
Secondary meta-refresh for no-JS environments is already set above.
|
||||
Some very old crawlers may ignore JS; the meta refresh ensures coverage.
|
||||
-->
|
||||
|
||||
<noscript>
|
||||
<!-- Extra defense-in-depth: if JS is disabled, meta refresh (above) handles redirect. -->
|
||||
<style>
|
||||
html, body { height:100%; }
|
||||
body { display:flex; align-items:center; justify-content:center; margin:0; font: 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
|
||||
.msg { opacity: .75; text-align: center; }
|
||||
</style>
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div class="msg">Redirecting to the site root… If you are not redirected, <a href="/">click here</a>.</div>
|
||||
</body>
|
||||
</html>
|
||||
129
src/language/en-US/tpl_moko-cassiopeia.ini
Normal file
129
src/language/en-US/tpl_moko-cassiopeia.ini
Normal file
@@ -0,0 +1,129 @@
|
||||
; ; Copyright (C) 2025 Moko Consulting <hello@mokoconsulting.tech>
|
||||
;
|
||||
; 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 https://www.gnu.org/licenses/ .
|
||||
;
|
||||
; #FILE INFORMATION
|
||||
; DEFGROUP: Joomla.Template.Site
|
||||
; INGROUP: Moko-Cassiopeia
|
||||
; PATH: ./language/en-US/tpl_moko-cassiopeia.ini
|
||||
; VERSION: 03.00
|
||||
; BRIEF: English (US) language strings for the Moko-Cassiopeia Joomla template
|
||||
;
|
||||
; ===== Template meta =====
|
||||
MOKO-CASSIOPEIA="MOKO-CASSIOPEIA Site template"
|
||||
TPL_MOKO-CASSIOPEIA_XML_DESCRIPTION="Continuing the space theme (Solarflare from 1.0, Milkyway from 1.5 and Protostar from 3.0), MOKO-CASSIOPEIA is the Joomla 4 site template based on Bootstrap 5."
|
||||
|
||||
; ===== System / layout =====
|
||||
TPL_MOKO-CASSIOPEIA_DEVELOPMENTMODE_LABEL="Development Mode"
|
||||
TPL_MOKO-CASSIOPEIA_DEVELOPMENTMODE_DESC="If 'Development Mode' is active, certain features may be disabled, such as Google Tag Manager and Google Analytics."
|
||||
TPL_MOKO-CASSIOPEIA_FLUID_LABEL="Layout"
|
||||
TPL_MOKO-CASSIOPEIA_STATIC="Static"
|
||||
TPL_MOKO-CASSIOPEIA_FLUID="Fluid"
|
||||
|
||||
; ===== Custom Code tab =====
|
||||
TPL_MOKO-CASSIOPEIA_CUSTOM_CODE_FIELDSET="Custom Code"
|
||||
COM_TEMPLATES_CUSTOM_HEAD_FIELDSET_LABEL="Custom Head"
|
||||
TPL_MOKO-CASSIOPEIA_CUSTOM_HEAD_START_LABEL="Custom Head: Start"
|
||||
TPL_MOKO-CASSIOPEIA_CUSTOM_HEAD_START_DESC="This content will be inserted at the beginning of the <head> tag"
|
||||
TPL_MOKO-CASSIOPEIA_CUSTOM_HEAD_END_LABEL="Custom Head: End"
|
||||
TPL_MOKO-CASSIOPEIA_CUSTOM_HEAD_END_DESC="This content will be inserted at the end of the <head> tag"
|
||||
TPL_MOKO-CASSIOPEIA_OFFLINEEMBED_LABEL="Offline Page Embed Code"
|
||||
TPL_MOKO-CASSIOPEIA_OFFLINEEMBED_DESC="In addition to the 'Offline message' defined in 'Global Configuration', this will be displayed on the offline page.<i>Use for Mailchimp code and Social Icons</i>"
|
||||
|
||||
; ===== Drawers =====
|
||||
COM_TEMPLATES_DRAWERS_FIELDSET_LABEL="Drawers"
|
||||
TPL_MOKO-CASSIOPEIA_DRAWER_LEFT_ICON_LABEL="Drawer Left Icon CSS"
|
||||
TPL_MOKO-CASSIOPEIA_DRAWER_LEFT_ICON_DESC="Enter the Font-Awesome class for the left drawer toggle (e.g. 'fas fa-chevron-left')."
|
||||
TPL_MOKO-CASSIOPEIA_DRAWER_RIGHT_ICON_LABEL="Drawer Right Icon CSS"
|
||||
TPL_MOKO-CASSIOPEIA_DRAWER_RIGHT_ICON_DESC="Enter the Font-Awesome class for the right drawer toggle (e.g. 'fas fa-chevron-right')."
|
||||
|
||||
; ===== Google =====
|
||||
COM_TEMPLATES_GOOGLE_FIELDSET_LABEL="Google"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLE_NOTE_TEXT="<h3>PLEASE NOTE:</h3>If fields are left blank, relative Google features will not be used"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLETAGMANAGER_LABEL="Use Google Tag Manager?"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLETAGMANAGER_DESC="Do you want to use Google Tag Manager?<br>More information on Google Tag Manager can be found <a target='_blank' href='https://support.google.com/tagmanager/answer/14842164'>here.</a>"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLETAGMANAGERID_LABEL="Google Tag Manager ID"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLETAGMANAGERID_DESC="Begins with 'GTM-'"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLEANALYTICS_LABEL="Use Google Analytics?"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLEANALYTICS_DESC="Do you want to use Google Analytics?<br>More information on Google Analytics can be found <a target='_blank' href='https://developers.google.com/analytics'>here.</a>"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLEANALYTICSID_LABEL="Google Analytics ID"
|
||||
TPL_MOKO-CASSIOPEIA_GOOGLEANALYTICSID_DESC="Begins with 'G-'"
|
||||
|
||||
; ===== Branding & icons (Theme tab) =====
|
||||
TPL_MOKO-CASSIOPEIA_BRAND_LABEL="Brand"
|
||||
TPL_MOKO-CASSIOPEIA_LOGO_LABEL="Logo"
|
||||
TPL_MOKO-CASSIOPEIA_TITLE="Title (alternative to logo)"
|
||||
TPL_MOKO-CASSIOPEIA_TAGLINE_LABEL="Tagline"
|
||||
TPL_MOKO-CASSIOPEIA_TAGLINE_DESC="Optional text to show as a subheading"
|
||||
TPL_MOKO-CASSIOPEIA_FAKITCODE_LABEL="Font Awesome Kit Unique Code"
|
||||
TPL_MOKO-CASSIOPEIA_FAKITCODE_DESC="<i>If left blank, Font Awesome 7 Free will be used.</i><br>Copy the unique Kit embed code above and paste it into the <head> of your project's HTML file or template.<br><a href='https://fontawesome.com/' target='_blank'>More information at the Font Awesome website.</a>"
|
||||
|
||||
; ===== Typography (Theme tab) =====
|
||||
TPL_MOKO-CASSIOPEIA_FONT_LABEL="Fonts Scheme"
|
||||
TPL_MOKO-CASSIOPEIA_FONT_GROUP_LOCAL="Fonts from Folder"
|
||||
TPL_MOKO-CASSIOPEIA_FONT_GROUP_WEB="Fonts from Web"
|
||||
TPL_MOKO-CASSIOPEIA_FONT_NOTE_TEXT="Loading fonts from external sources might be against privacy regulations in some countries.<br>Loading fonts from a local folder might have a performance impact on your site."
|
||||
|
||||
; ===== Header & navigation (Theme tab) =====
|
||||
TPL_MOKO-CASSIOPEIA_STICKY_LABEL="Sticky Header"
|
||||
TPL_MOKO-CASSIOPEIA_BACKTOTOP="Back to Top"
|
||||
TPL_MOKO-CASSIOPEIA_BACKTOTOP_LABEL="Back-to-top Link"
|
||||
TPL_MOKO-CASSIOPEIA_TOC="Table of Contents"
|
||||
|
||||
; ===== Color palette choices (shared) =====
|
||||
TPL_MOKO-CASSIOPEIA_COLOR_NAME_STANDARD="Standard"
|
||||
TPL_MOKO-CASSIOPEIA_COLOR_NAME_ALTERNATIVE="Alternative"
|
||||
TPL_MOKO-CASSIOPEIA_COLOR_NAME_CUSTOM="Custom"
|
||||
; New labels for Theme tab dropdowns
|
||||
TPL_MOKO-CASSIOPEIA_COLOR_LIGHT_NAME_LABEL="Light color palette"
|
||||
TPL_MOKO-CASSIOPEIA_COLOR_DARK_NAME_LABEL="Dark color palette"
|
||||
|
||||
; ===== Theme tab (core feature strings) =====
|
||||
TPL_MOKO_THEME_FIELDSET="Theme"
|
||||
TPL_MOKO_THEME_SECTION_GENERAL="General"
|
||||
TPL_MOKO_THEME_SECTION_VARS="Variables & Palettes"
|
||||
TPL_MOKO_THEME_SECTION_TYPO="Typography"
|
||||
TPL_MOKO_THEME_SECTION_BRAND="Branding & Icons"
|
||||
TPL_MOKO_THEME_SECTION_HEADER="Header & Navigation"
|
||||
TPL_MOKO_THEME_SECTION_TOGGLE="Theme Toggle UI"
|
||||
|
||||
TPL_MOKO_THEME_ENABLED="Enable theme feature"
|
||||
TPL_MOKO_THEME_ENABLED_DESC="Turn the entire light/dark feature on or off."
|
||||
TPL_MOKO_THEME_CONTROL_TYPE="Theme Control Type"
|
||||
TPL_MOKO_THEME_CONTROL_TYPE_DESC="Choose a visible toggle (Switch or Radios), or no control to follow System only."
|
||||
TPL_MOKO_THEME_DEFAULT_CHOICE="Default Choice"
|
||||
TPL_MOKO_THEME_DEFAULT_CHOICE_DESC="Initial theme when no user preference is stored."
|
||||
TPL_MOKO_THEME_AUTO_DARK="Auto Dark Mode"
|
||||
TPL_MOKO_THEME_AUTO_DARK_DESC="Force the site to switch to dark mode automatically. When enabled, the template will override the default and use dark unless the user explicitly selects otherwise."
|
||||
TPL_MOKO_THEME_META_COLOR_SCHEME="Add <meta name="color-scheme">"
|
||||
TPL_MOKO_THEME_META_COLOR_SCHEME_DESC="Advertise light/dark support for UA controls."
|
||||
TPL_MOKO_THEME_META_THEME_COLOR="Add <meta name="theme-color">"
|
||||
TPL_MOKO_THEME_META_THEME_COLOR_DESC="Update mobile address bar color."
|
||||
TPL_MOKO_THEME_BASE_CSS="Base template CSS"
|
||||
TPL_MOKO_THEME_BASE_CSS_DESC="Main stylesheet that consumes variables."
|
||||
TPL_MOKO_THEME_BRIDGE="Sync data-bs-theme with data-aria-theme"
|
||||
TPL_MOKO_THEME_BRIDGE_DESC="Keep both attributes in lockstep so Bootstrap and custom CSS stay aligned."
|
||||
TPL_MOKO_THEME_FAB_ENABLED="Show floating theme switch"
|
||||
TPL_MOKO_THEME_FAB_ENABLED_DESC="Display a persistent, accessible theme toggle."
|
||||
TPL_MOKO_THEME_FAB_POS="Floating switch position"
|
||||
TPL_MOKO_THEME_FAB_POS_DESC="Screen corner for the toggle."
|
||||
|
||||
; ===== Misc =====
|
||||
MOD_BREADCRUMBS_HERE="YOU ARE HERE:"
|
||||
|
||||
JGLOBAL_OFFLINE="Offline"
|
||||
76
src/language/en-US/tpl_moko-cassiopeia.sys.ini
Normal file
76
src/language/en-US/tpl_moko-cassiopeia.sys.ini
Normal file
@@ -0,0 +1,76 @@
|
||||
; ; Copyright (C) 2025 Moko Consulting <hello@mokoconsulting.tech>
|
||||
;
|
||||
; 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 https://www.gnu.org/licenses/ .
|
||||
;
|
||||
; #FILE INFORMATION
|
||||
; DEFGROUP: Joomla.Template.Site
|
||||
; INGROUP: Moko-Cassiopeia
|
||||
; PATH: ./language/en-US/tpl_moko-cassiopeia.sys.ini
|
||||
; VERSION: 03.00
|
||||
; BRIEF: English (US) system language strings for template metadata and installer
|
||||
;
|
||||
TPL_MOKO-CASSIOPEIA="Moko-Cassiopeia Site template"
|
||||
TPL_MOKO-CASSIOPEIA_MOD_MENU_LAYOUT_COLLAPSE-METISMENU="Collapsible Dropdown"
|
||||
TPL_MOKO-CASSIOPEIA_MOD_MENU_LAYOUT_DROPDOWN-METISMENU="Dropdown"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_BANNER="Banner"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_BELOW-TOP="Below Top"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_BOTTOM-A="Bottom-A"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_BOTTOM-B="Bottom-B"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_BREADCRUMBS="Breadcrumbs"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_DEBUG="Debug"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_FOOTER="Footer"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_MAIN-BOTTOM="Main-bottom"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_MAIN-TOP="Main-top"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_MENU="Menu"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_SEARCH="Search"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_SIDEBAR-LEFT="Sidebar-left"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_SIDEBAR-RIGHT="Sidebar-right"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_TOP-A="Top-a"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_TOP-B="Top-b"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_TOPBAR="Top Bar"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_DRAWER-LEFT="Drawer-Left"
|
||||
TPL_MOKO-CASSIOPEIA_POSITION_DRAWER-RIGHT="Drawer-Right"
|
||||
TPL_MOKO-CASSIOPEIA_XML_DESCRIPTION=
|
||||
TPL_MOKO-CASSIOPEIA_XML_DESCRIPTION="<h3>MOKO-CASSIOPEIA Template Description</h3>
|
||||
<p>
|
||||
<strong>MOKO-CASSIOPEIA 3.0</strong> continues Joomla’s tradition of space-themed default templates—
|
||||
building on the legacy of <em>Solarflare</em> (Joomla 1.0), <em>Milkyway</em> (Joomla 1.5),
|
||||
and <em>Protostar</em> (Joomla 3.0).
|
||||
</p>
|
||||
<p>
|
||||
This template is a customized fork of the <strong>Cassiopeia</strong> template introduced in Joomla 4,
|
||||
preserving its modern, accessible, and mobile-first foundation while introducing new stylistic
|
||||
enhancements and structural refinements specifically tailored for use by Moko Consulting.
|
||||
</p>
|
||||
|
||||
<h4>Code Attribution</h4>
|
||||
<p>
|
||||
This template is based on the original <strong>Cassiopeia</strong> template developed by the
|
||||
<a href=\"https://www.joomla.org\" target=\"_blank\" rel=\"noopener\">Joomla! Project</a> and released under the GNU General Public License.
|
||||
</p>
|
||||
<p>
|
||||
Modifications and enhancements have been made by Moko Consulting in accordance with open-source licensing standards.
|
||||
</p>
|
||||
<p>
|
||||
It includes integration with
|
||||
<a href=\"https://afeld.github.io/bootstrap-toc/\" target=\"_blank\" rel=\"noopener\">Bootstrap TOC</a>,
|
||||
an open-source table of contents generator by A. Feld, licensed under the MIT License.
|
||||
</p>
|
||||
<p>
|
||||
All third-party libraries and assets remain the property of their respective authors and are credited within their source files where applicable.
|
||||
</p>"
|
||||
89
src/language/index.html
Normal file
89
src/language/index.html
Normal file
@@ -0,0 +1,89 @@
|
||||
<!-- Copyright (C) 2025 Moko Consulting <jmiller@mokoconsulting.tech>
|
||||
|
||||
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 https://www.gnu.org/licenses/ .
|
||||
|
||||
# FILE INFORMATION
|
||||
DEFGROUP: Joomla.Site
|
||||
INGROUP: Templates.Moko-Cassiopeia
|
||||
FILE: index.html
|
||||
BRIEF: Security redirect page to block folder access and forward to site root.
|
||||
-->
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Redirecting…</title>
|
||||
|
||||
<!-- Search engines: do not index this placeholder redirect page -->
|
||||
<meta name="robots" content="noindex, nofollow, noarchive" />
|
||||
|
||||
<!-- Instant redirect fallback even if JavaScript is disabled -->
|
||||
<meta http-equiv="refresh" content="0; url=/" />
|
||||
|
||||
<!-- Canonical root reference -->
|
||||
<link rel="canonical" href="/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<script>
|
||||
|
||||
(function redirectToRoot() {
|
||||
// Configuration object with safe defaults.
|
||||
var opts = {
|
||||
fallbackPath: "/", // string: fallback destination if origin is unavailable
|
||||
delayMs: 0, // number: delay before redirect in ms (0 = immediate)
|
||||
behavior: "replace" // enum: "replace" | "assign"
|
||||
};
|
||||
|
||||
// Determine absolute origin in all mainstream browsers.
|
||||
var origin = (typeof location.origin === "string" && location.origin)
|
||||
|| (location.protocol + "//" + location.host);
|
||||
|
||||
// Final destination: absolute root of the current site, or fallback path.
|
||||
var destination = origin ? origin + "/" : opts.fallbackPath;
|
||||
|
||||
function go() {
|
||||
if (opts.behavior === "assign") {
|
||||
location.assign(destination);
|
||||
} else {
|
||||
location.replace(destination);
|
||||
}
|
||||
}
|
||||
|
||||
// Execute redirect, optionally after a short delay.
|
||||
if (opts.delayMs > 0) {
|
||||
setTimeout(go, opts.delayMs);
|
||||
} else {
|
||||
go();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<!--
|
||||
Secondary meta-refresh for no-JS environments is already set above.
|
||||
Some very old crawlers may ignore JS; the meta refresh ensures coverage.
|
||||
-->
|
||||
|
||||
<noscript>
|
||||
<!-- Extra defense-in-depth: if JS is disabled, meta refresh (above) handles redirect. -->
|
||||
<style>
|
||||
html, body { height:100%; }
|
||||
body { display:flex; align-items:center; justify-content:center; margin:0; font: 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
|
||||
.msg { opacity: .75; text-align: center; }
|
||||
</style>
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div class="msg">Redirecting to the site root… If you are not redirected, <a href="/">click here</a>.</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user