Fixed language files
This commit is contained in:
89
src/administrator/language/en-US/index.html
Normal file
89
src/administrator/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>
|
||||
75
src/administrator/language/en-US/tpl_moko-cassiopeia.sys.ini
Normal file
75
src/administrator/language/en-US/tpl_moko-cassiopeia.sys.ini
Normal file
@@ -0,0 +1,75 @@
|
||||
; ; 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.05.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="<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>"
|
||||
Reference in New Issue
Block a user