diff --git a/src/html/mod_articles_archive/default.php b/src/html/mod_articles_archive/default.php new file mode 100644 index 0000000..e76a8dd --- /dev/null +++ b/src/html/mod_articles_archive/default.php @@ -0,0 +1,36 @@ + + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +/** + * Default layout override for mod_articles_archive. + * Adds showtitle support. + */ + +defined('_JEXEC') or die; + +if (empty($list)) { + return; +} + +$suffix = htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8'); +$headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_COMPAT, 'UTF-8'); +$headerClass = htmlspecialchars($params->get('header_class', ''), ENT_COMPAT, 'UTF-8'); +?> +
+ showtitle) : ?> + < class="mod-articles-archive__title">title; ?>> + + +
diff --git a/src/html/mod_articles_archive/index.html b/src/html/mod_articles_archive/index.html new file mode 100644 index 0000000..1a6c6cf --- /dev/null +++ b/src/html/mod_articles_archive/index.html @@ -0,0 +1,76 @@ + + + + + + + Redirecting… + + + + + + + + + + + + + + + + + + + +
Redirecting to the site root… If you are not redirected, click here.
+ + diff --git a/src/html/mod_articles_categories/default.php b/src/html/mod_articles_categories/default.php new file mode 100644 index 0000000..7b37853 --- /dev/null +++ b/src/html/mod_articles_categories/default.php @@ -0,0 +1,44 @@ + + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +/** + * Default layout override for mod_articles_categories. + * Adds showtitle support. + */ + +defined('_JEXEC') or die; + +if (empty($list)) { + return; +} + +$suffix = htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8'); +$headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_COMPAT, 'UTF-8'); +$headerClass = htmlspecialchars($params->get('header_class', ''), ENT_COMPAT, 'UTF-8'); +$showDescription = $params->get('show_description', 0); +$numitems = $params->get('numitems', 0); +?> +
+ showtitle) : ?> + < class="mod-articles-categories__title">title; ?>> + + +
diff --git a/src/html/mod_articles_categories/index.html b/src/html/mod_articles_categories/index.html new file mode 100644 index 0000000..1a6c6cf --- /dev/null +++ b/src/html/mod_articles_categories/index.html @@ -0,0 +1,76 @@ + + + + + + + Redirecting… + + + + + + + + + + + + + + + + + + + +
Redirecting to the site root… If you are not redirected, click here.
+ + diff --git a/src/html/mod_banners/default.php b/src/html/mod_banners/default.php new file mode 100644 index 0000000..455e633 --- /dev/null +++ b/src/html/mod_banners/default.php @@ -0,0 +1,52 @@ + + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +/** + * Default layout override for mod_banners. + * Adds showtitle support. + */ + +defined('_JEXEC') or die; + +use Joomla\CMS\HTML\HTMLHelper; +use Joomla\CMS\Language\Text; + +if (empty($list)) { + return; +} + +$suffix = htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8'); +$headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_COMPAT, 'UTF-8'); +$headerClass = htmlspecialchars($params->get('header_class', ''), ENT_COMPAT, 'UTF-8'); +?> +
+ showtitle) : ?> + < class="mod-banners__title">title; ?>> + + +
+ params->get('url') ?: ''; ?> + type == 1) : ?> + + params->get('imageurl', ''); ?> + name, ENT_COMPAT, 'UTF-8'); ?> + + + <?php echo $alt; ?> + + + <?php echo $alt; ?> + + + + custombannercode; ?> + +
+ +
diff --git a/src/html/mod_banners/index.html b/src/html/mod_banners/index.html new file mode 100644 index 0000000..1a6c6cf --- /dev/null +++ b/src/html/mod_banners/index.html @@ -0,0 +1,76 @@ + + + + + + + Redirecting… + + + + + + + + + + + + + + + + + + + +
Redirecting to the site root… If you are not redirected, click here.
+ + diff --git a/src/html/mod_languages/default.php b/src/html/mod_languages/default.php new file mode 100644 index 0000000..d382ca3 --- /dev/null +++ b/src/html/mod_languages/default.php @@ -0,0 +1,63 @@ + + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +/** + * Default layout override for mod_languages. + * Adds showtitle support. + */ + +defined('_JEXEC') or die; + +use Joomla\CMS\HTML\HTMLHelper; +use Joomla\CMS\Language\Text; +use Joomla\CMS\Uri\Uri; + +if (empty($list)) { + return; +} + +$suffix = htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8'); +$headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_COMPAT, 'UTF-8'); +$headerClass = htmlspecialchars($params->get('header_class', ''), ENT_COMPAT, 'UTF-8'); +?> +
+ showtitle) : ?> + < class="mod-languages__title">title; ?>> + + +
diff --git a/src/html/mod_languages/index.html b/src/html/mod_languages/index.html new file mode 100644 index 0000000..1a6c6cf --- /dev/null +++ b/src/html/mod_languages/index.html @@ -0,0 +1,76 @@ + + + + + + + Redirecting… + + + + + + + + + + + + + + + + + + + +
Redirecting to the site root… If you are not redirected, click here.
+ + diff --git a/src/html/mod_random_image/default.php b/src/html/mod_random_image/default.php new file mode 100644 index 0000000..2d89070 --- /dev/null +++ b/src/html/mod_random_image/default.php @@ -0,0 +1,41 @@ + + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +/** + * Default layout override for mod_random_image. + * Adds showtitle support. + */ + +defined('_JEXEC') or die; + +if (empty($image)) { + return; +} + +$suffix = htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8'); +$headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_COMPAT, 'UTF-8'); +$headerClass = htmlspecialchars($params->get('header_class', ''), ENT_COMPAT, 'UTF-8'); +?> +
+ showtitle) : ?> + < class="mod-random-image__title">title; ?>> + + + + + <?php echo htmlspecialchars($image->name, ENT_COMPAT, 'UTF-8'); ?>width) : ?>width="width; ?>" + height) : ?>height="height; ?>" + class="mod-random-image__img" + loading="lazy" /> + + + +
diff --git a/src/html/mod_random_image/index.html b/src/html/mod_random_image/index.html new file mode 100644 index 0000000..1a6c6cf --- /dev/null +++ b/src/html/mod_random_image/index.html @@ -0,0 +1,76 @@ + + + + + + + Redirecting… + + + + + + + + + + + + + + + + + + + +
Redirecting to the site root… If you are not redirected, click here.
+ + diff --git a/src/html/mod_stats/default.php b/src/html/mod_stats/default.php index 1c78908..d6aa1fd 100644 --- a/src/html/mod_stats/default.php +++ b/src/html/mod_stats/default.php @@ -26,12 +26,10 @@ $headerClass = htmlspecialchars($params->get('header_class', ''), ENT_COMPAT, 'U showtitle) : ?> < class="mod-stats__title">title; ?>> - + diff --git a/src/html/mod_syndicate/default.php b/src/html/mod_syndicate/default.php new file mode 100644 index 0000000..b56bec9 --- /dev/null +++ b/src/html/mod_syndicate/default.php @@ -0,0 +1,31 @@ + + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +/** + * Default layout override for mod_syndicate. + * Adds showtitle support. + */ + +defined('_JEXEC') or die; + +use Joomla\CMS\Language\Text; + +$suffix = htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8'); +$headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_COMPAT, 'UTF-8'); +$headerClass = htmlspecialchars($params->get('header_class', ''), ENT_COMPAT, 'UTF-8'); +?> +
+ showtitle) : ?> + < class="mod-syndicate__title">title; ?>> + + + + + +
diff --git a/src/html/mod_syndicate/index.html b/src/html/mod_syndicate/index.html new file mode 100644 index 0000000..1a6c6cf --- /dev/null +++ b/src/html/mod_syndicate/index.html @@ -0,0 +1,76 @@ + + + + + + + Redirecting… + + + + + + + + + + + + + + + + + + + +
Redirecting to the site root… If you are not redirected, click here.
+ + diff --git a/src/media/css/template.css b/src/media/css/template.css index 2c25ee8..38b1474 100644 --- a/src/media/css/template.css +++ b/src/media/css/template.css @@ -14594,6 +14594,23 @@ iframe { line-height: 1.3; } +/* ── MODULE: Statistics ── */ +.mod-stats__list { + margin: 0; + padding: 0; +} + +.mod-stats__label { + font-weight: 600; + margin-bottom: 0; +} + +.mod-stats__data { + margin-left: 0; + margin-bottom: .5rem; + color: var(--body-font-color, #666); +} + /* Article list modules */ .mod-articles-latest__list, .mod-articles-popular__list,