File manager - Edit - /home/ferretapmx/public_html/tmpl.zip
Back
PK w�\2���� � search/default_form.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_finder * * @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; /** @var \Joomla\Component\Finder\Site\View\Search\HtmlView $this */ /* * This segment of code sets up the autocompleter. */ if ($this->params->get('show_autosuggest', 1)) { $this->getDocument()->getWebAssetManager()->usePreset('awesomplete'); $this->getDocument()->addScriptOptions('finder-search', ['url' => Route::_('index.php?option=com_finder&task=suggestions.suggest&format=json&tmpl=component', false)]); Text::script('COM_FINDER_SEARCH_FORM_LIST_LABEL'); Text::script('JLIB_JS_AJAX_ERROR_OTHER'); Text::script('JLIB_JS_AJAX_ERROR_PARSE'); } ?> <form action="<?php echo Route::_($this->query->toUri()); ?>" method="get" class="js-finder-searchform"> <?php echo $this->getFields(); ?> <fieldset class="com-finder__search word mb-3"> <legend class="com-finder__search-legend visually-hidden"> <?php echo Text::_('COM_FINDER_SEARCH_FORM_LEGEND'); ?> </legend> <div class="form-inline"> <label for="q" class="me-2"> <?php echo Text::_('COM_FINDER_SEARCH_TERMS'); ?> </label> <div class="input-group"> <input type="text" name="q" id="q" class="js-finder-search-query form-control" value="<?php echo $this->escape($this->query->input); ?>"> <button type="submit" class="btn btn-primary"> <span class="icon-search icon-white" aria-hidden="true"></span> <?php echo Text::_('JSEARCH_FILTER_SUBMIT'); ?> </button> <?php if ($this->params->get('show_advanced', 1)) : ?> <?php HTMLHelper::_('bootstrap.collapse'); ?> <button class="btn btn-secondary" type="button" data-bs-toggle="collapse" data-bs-target="#advancedSearch" aria-expanded="<?php echo ($this->params->get('expand_advanced', 0) ? 'true' : 'false'); ?>"> <span class="icon-search-plus" aria-hidden="true"></span> <?php echo Text::_('COM_FINDER_ADVANCED_SEARCH_TOGGLE'); ?></button> <?php endif; ?> </div> </div> </fieldset> <?php if ($this->params->get('show_advanced', 1)) : ?> <fieldset id="advancedSearch" class="com-finder__advanced js-finder-advanced collapse<?php if ($this->params->get('expand_advanced', 0)) { echo ' show'; } ?>"> <legend class="com-finder__search-advanced visually-hidden"> <?php echo Text::_('COM_FINDER_SEARCH_ADVANCED_LEGEND'); ?> </legend> <?php if ($this->params->get('show_advanced_tips', 1)) : ?> <div class="com-finder__tips card card-outline-secondary mb-3"> <div class="card-body"> <?php echo Text::_('COM_FINDER_ADVANCED_TIPS_INTRO'); ?> <?php echo Text::_('COM_FINDER_ADVANCED_TIPS_AND'); ?> <?php echo Text::_('COM_FINDER_ADVANCED_TIPS_NOT'); ?> <?php echo Text::_('COM_FINDER_ADVANCED_TIPS_OR'); ?> <?php if ($this->params->get('tuplecount', 1) > 1) : ?> <?php echo Text::_('COM_FINDER_ADVANCED_TIPS_PHRASE'); ?> <?php endif; ?> <?php echo Text::_('COM_FINDER_ADVANCED_TIPS_OUTRO'); ?> </div> </div> <?php endif; ?> <div id="finder-filter-window" class="com-finder__filter"> <?php echo HTMLHelper::_('filter.select', $this->query, $this->params); ?> </div> </fieldset> <?php endif; ?> </form> PK w�\/��u' ' search/default_result.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_finder * * @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Multilanguage; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; use Joomla\Component\Finder\Administrator\Helper\LanguageHelper; use Joomla\Component\Finder\Administrator\Indexer\Helper; use Joomla\Component\Finder\Administrator\Indexer\Taxonomy; use Joomla\String\StringHelper; /** @var \Joomla\Component\Finder\Site\View\Search\HtmlView $this */ $user = $this->getCurrentUser(); $show_description = $this->params->get('show_description', 1); if ($show_description) { // Calculate number of characters to display around the result $term_length = StringHelper::strlen($this->query->input); $desc_length = $this->params->get('description_length', 255); $pad_length = $term_length < $desc_length ? (int) floor(($desc_length - $term_length) / 2) : 0; // Make sure we highlight term both in introtext and fulltext $full_description = $this->result->description; if (!empty($this->result->summary) && !empty($this->result->body)) { $full_description = Helper::parse($this->result->summary . $this->result->body); } // Find the position of the search term $pos = $term_length ? StringHelper::strpos(StringHelper::strtolower($full_description), StringHelper::strtolower($this->query->input)) : false; // Find a potential start point $start = ($pos && $pos > $pad_length) ? $pos - $pad_length : 0; // Find a space between $start and $pos, start right after it. $space = StringHelper::strpos($full_description, ' ', $start > 0 ? $start - 1 : 0); $start = ($space && $space < $pos) ? $space + 1 : $start; $description = HTMLHelper::_('string.truncate', StringHelper::substr($full_description, $start), $desc_length, true); } $showImage = $this->params->get('show_image', 0); $imageClass = $this->params->get('image_class', ''); $extraAttr = []; if ($showImage && !empty($this->result->imageUrl) && $imageClass !== '') { $extraAttr['class'] = $imageClass; } $icon = ''; if (!empty($this->result->mime)) { $icon = '<span class="icon-file-' . $this->result->mime . '" aria-hidden="true"></span> '; } $show_url = ''; if ($this->params->get('show_url', 1)) { $show_url = '<cite class="result__title-url">' . $this->baseUrl . Route::_($this->result->cleanURL) . '</cite>'; } ?> <li class="result__item"> <?php if ($showImage && isset($this->result->imageUrl)) : ?> <figure class="<?php echo htmlspecialchars($imageClass, ENT_COMPAT, 'UTF-8'); ?> result__image"> <?php if ($this->params->get('link_image') && $this->result->route) : ?> <a href="<?php echo Route::_($this->result->route); ?>"> <?php echo HTMLHelper::_('image', $this->result->imageUrl, $this->result->imageAlt, $extraAttr, false, -1); ?> </a> <?php else : ?> <?php echo HTMLHelper::_('image', $this->result->imageUrl, $this->result->imageAlt, $extraAttr, false, -1); ?> <?php endif; ?> </figure> <?php endif; ?> <p class="result__title"> <?php if ($this->result->route) : ?> <?php echo HTMLHelper::link( Route::_($this->result->route), '<span class="result__title-text">' . $icon . $this->result->title . '</span>' . $show_url, [ 'class' => 'result__title-link' ] ); ?> <?php else : ?> <?php echo $this->result->title; ?> <?php endif; ?> </p> <?php if ($show_description && $description !== '') : ?> <p class="result__description"> <?php if ($this->result->start_date && $this->params->get('show_date', 1)) : ?> <time class="result__date" datetime="<?php echo HTMLHelper::_('date', $this->result->start_date, 'c'); ?>"> <?php echo HTMLHelper::_('date', $this->result->start_date, Text::_('DATE_FORMAT_LC3')); ?> </time> <?php endif; ?> <?php echo $description; ?> </p> <?php endif; ?> <?php $taxonomies = $this->result->getTaxonomy(); ?> <?php if (count($taxonomies) && $this->params->get('show_taxonomy', 1)) : ?> <ul class="result__taxonomy"> <?php foreach ($taxonomies as $type => $taxonomy) : ?> <?php if ($type == 'Language' && (!Multilanguage::isEnabled() || (isset($taxonomy[0]) && $taxonomy[0]->title == '*'))) : ?> <?php continue; ?> <?php endif; ?> <?php $branch = Taxonomy::getBranch($type); ?> <?php if ($branch->state == 1 && in_array($branch->access, $user->getAuthorisedViewLevels())) : ?> <?php $taxonomy_text = []; ?> <?php foreach ($taxonomy as $node) : ?> <?php if ($node->state == 1 && in_array($node->access, $user->getAuthorisedViewLevels())) : ?> <?php $taxonomy_text[] = $node->title; ?> <?php endif; ?> <?php endforeach; ?> <?php if (count($taxonomy_text)) : ?> <li class="result__taxonomy-item result__taxonomy--<?php echo $type; ?>"> <span><?php echo Text::_(LanguageHelper::branchSingular($type)); ?>:</span> <?php echo Text::_(LanguageHelper::branchSingular(implode(',', $taxonomy_text))); ?> </li> <?php endif; ?> <?php endif; ?> <?php endforeach; ?> </ul> <?php endif; ?> </li> PK w�\��� search/default.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_finder * * @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** @var \Joomla\Component\Finder\Site\View\Search\HtmlView $this */ $this->getDocument()->getWebAssetManager() ->useStyle('com_finder.finder') ->useScript('com_finder.finder'); ?> <div class="com-finder finder"> <?php if ($this->params->get('show_page_heading')) : ?> <h1> <?php if ($this->escape($this->params->get('page_heading'))) : ?> <?php echo $this->escape($this->params->get('page_heading')); ?> <?php else : ?> <?php echo $this->escape($this->params->get('page_title')); ?> <?php endif; ?> </h1> <?php endif; ?> <div id="search-form" class="com-finder__form"> <?php echo $this->loadTemplate('form'); ?> </div> <?php // Load the search results layout if we are performing a search. ?> <?php if ($this->query->search === true) : ?> <div id="search-results" class="com-finder__results"> <?php echo $this->loadTemplate('results'); ?> </div> <?php endif; ?> </div> PK w�\/6� � search/default_results.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_finder * * @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; use Joomla\CMS\Uri\Uri; /** @var \Joomla\Component\Finder\Site\View\Search\HtmlView $this */ ?> <?php // Display the suggested search if it is different from the current search. ?> <?php if (($this->suggested && $this->params->get('show_suggested_query', 1)) || ($this->explained && $this->params->get('show_explained_query', 1))) : ?> <div id="search-query-explained" class="com-finder__explained"> <?php // Display the suggested search query. ?> <?php if ($this->suggested && $this->params->get('show_suggested_query', 1)) : ?> <?php // Replace the base query string with the suggested query string. ?> <?php $uri = Uri::getInstance($this->query->toUri()); ?> <?php $uri->setVar('q', $this->suggested); ?> <?php // Compile the suggested query link. ?> <?php $linkUrl = Route::_($uri->toString(['path', 'query'])); ?> <?php $link = '<a href="' . $linkUrl . '">' . $this->escape($this->suggested) . '</a>'; ?> <?php echo Text::sprintf('COM_FINDER_SEARCH_SIMILAR', $link); ?> <?php elseif ($this->explained && $this->params->get('show_explained_query', 1)) : ?> <?php // Display the explained search query. ?> <p role="alert"> <?php echo Text::plural('COM_FINDER_QUERY_RESULTS', $this->total, $this->explained); ?> </p> <?php endif; ?> </div> <?php endif; ?> <?php // Display the 'no results' message and exit the template. ?> <?php if (($this->total === 0) || ($this->total === null)) : ?> <div id="search-result-empty" class="com-finder__empty"> <h2><?php echo Text::_('COM_FINDER_SEARCH_NO_RESULTS_HEADING'); ?></h2> <?php $multilang = Factory::getApplication()->getLanguageFilter() ? '_MULTILANG' : ''; ?> <p><?php echo Text::sprintf('COM_FINDER_SEARCH_NO_RESULTS_BODY' . $multilang, $this->escape($this->query->input)); ?></p> </div> <?php // Exit this template. ?> <?php return; ?> <?php endif; ?> <?php // Display the 'Sort By' drop-down. ?> <?php if ($this->params->get('show_sort_order', 0) && !empty($this->sortOrderFields) && !empty($this->results)) : ?> <div id="search-sorting" class="com-finder__sorting"> <?php echo $this->loadTemplate('sorting'); ?> </div> <?php endif; ?> <?php // Activate the highlighter if enabled. ?> <?php if (!empty($this->query->highlight) && $this->params->get('highlight_terms', 1)) : ?> <?php // Allow a maximum of 10 tokens to be highlighted. Otherwise the URL can get too long. $this->getDocument()->getWebAssetManager()->useScript('highlight'); $this->getDocument()->addScriptOptions( 'highlight', [[ 'class' => 'js-highlight', 'highLight' => array_slice($this->query->highlight, 0, 10), ]] ); ?> <?php endif; ?> <?php // Display a list of results ?> <ul id="search-result-list" class="js-highlight com-finder__results-list" start="<?php echo (int) $this->pagination->limitstart + 1; ?>"> <?php $this->baseUrl = Uri::getInstance()->toString(['scheme', 'host', 'port']); ?> <?php foreach ($this->results as $i => $result) : ?> <?php $this->result = &$result; ?> <?php $this->result->counter = $i + 1; ?> <?php $layout = $this->getLayoutFile($this->result->layout); ?> <?php echo $this->loadTemplate($layout); ?> <?php endforeach; ?> </ul> <?php // Display the pagination ?> <div class="com-finder__navigation search-pagination"> <?php if ($this->params->get('show_pagination', 1) > 0) : ?> <div class="com-finder__pagination w-100"> <?php echo $this->pagination->getPagesLinks(); ?> </div> <?php endif; ?> <?php if ($this->params->get('show_pagination_results', 1) > 0) : ?> <div class="com-finder__counter search-pages-counter"> <?php // Prepare the pagination string. Results X - Y of Z ?> <?php $start = (int) $this->pagination->limitstart + 1; ?> <?php $total = (int) $this->pagination->total; ?> <?php $limit = (int) $this->pagination->limit * $this->pagination->pagesCurrent; ?> <?php $limit = (int) min($limit, $total); ?> <?php echo Text::sprintf('COM_FINDER_SEARCH_RESULTS_OF', $start, $limit, $total); ?> </div> <?php endif; ?> </div> PK w�\Y-� search/default.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <metadata> <layout title="COM_FINDER_MENU_SEARCH_VIEW_DEFAULT_TITLE"> <help key = "Menu_Item:_Search" /> <message> <![CDATA[COM_FINDER_MENU_SEARCH_VIEW_DEFAULT_TEXT]]> </message> </layout> <fields name="request" addfieldprefix="Joomla\Component\Finder\Administrator\Field" > <fieldset name="request"> <field name="q" type="text" label="COM_FINDER_PREFILL_SEARCH_LABEL" /> <field name="f" type="searchfilter" label="COM_FINDER_SELECT_FILTER_LABEL" default="" /> </fieldset> </fields> <fields name="params"> <fieldset name="basic"> <field name="show_date_filters" type="list" label="COM_FINDER_CONFIG_SHOW_DATE_FILTERS_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_advanced" type="list" label="COM_FINDER_CONFIG_SHOW_ADVANCED_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="expand_advanced" type="list" label="COM_FINDER_CONFIG_EXPAND_ADVANCED_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JYES</option> <option value="0">JNO</option> </field> <field type="spacer" /> <field name="show_taxonomy" type="list" label="COM_FINDER_CONFIG_SHOW_TAXONOMY_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_description" type="list" label="COM_FINDER_CONFIG_SHOW_DESCRIPTION_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="description_length" type="number" label="COM_FINDER_CONFIG_DESCRIPTION_LENGTH_LABEL" filter="integer" default="" useglobal="true" /> <field name="show_image" type="list" label="COM_FINDER_CONFIG_SHOW_IMAGE_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="image_class" type="text" label="COM_FINDER_CONFIG_IMAGE_CLASS_LABEL" default="" useglobal="true" validate="CssIdentifier" showon="show_image!:0" /> <field name="link_image" type="list" label="COM_FINDER_CONFIG_LINKED_IMAGE_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" showon="show_image!:0" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_date" type="list" label="COM_FINDER_CONFIG_SHOW_DATE_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_url" type="list" label="COM_FINDER_CONFIG_SHOW_URL_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field type="spacer" /> </fieldset> <fieldset name="advanced"> <field name="show_pagination_limit" type="list" label="JGLOBAL_DISPLAY_SELECT_LABEL" validate="options" class="form-select-color-state" > <option value="">JGLOBAL_USE_GLOBAL</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_pagination" type="list" label="JGLOBAL_PAGINATION_LABEL" validate="options" class="form-select-color-state" > <option value="">JGLOBAL_USE_GLOBAL</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> <option value="2">JGLOBAL_AUTO</option> </field> <field name="show_pagination_results" type="list" label="JGLOBAL_PAGINATION_RESULTS_LABEL" validate="options" class="form-select-color-state" > <option value="">JGLOBAL_USE_GLOBAL</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="list_limit" type="list" label="JGLOBAL_LIST_LIMIT" default="20" validate="options" > <option value="5">J5</option> <option value="10">J10</option> <option value="15">J15</option> <option value="20">J20</option> <option value="25">J25</option> <option value="30">J30</option> <option value="50">J50</option> <option value="100">J100</option> <option value="0">JALL</option> </field> <field name="allow_empty_query" type="list" label="COM_FINDER_ALLOW_EMPTY_QUERY_LABEL" description="COM_FINDER_ALLOW_EMPTY_QUERY_DESC" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="show_suggested_query" type="list" label="COM_FINDER_CONFIG_SHOW_SUGGESTED_QUERY_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="show_explained_query" type="list" label="COM_FINDER_CONFIG_SHOW_EXPLAINED_QUERY_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="sort_order" type="list" label="COM_FINDER_CONFIG_SORT_ORDER_LABEL" default="" useglobal="true" validate="options" > <option value="relevance">COM_FINDER_CONFIG_SORT_OPTION_RELEVANCE</option> <option value="title">COM_FINDER_CONFIG_SORT_OPTION_TITLE</option> <option value="date">COM_FINDER_CONFIG_SORT_OPTION_START_DATE</option> <option value="price">COM_FINDER_CONFIG_SORT_OPTION_LIST_PRICE</option> <option value="sale_price">COM_FINDER_CONFIG_SORT_OPTION_SALES_PRICE</option> </field> <field name="show_sort_order" type="radio" label="COM_FINDER_CONFIG_SHOW_SORT_ORDER_LABEL" layout="joomla.form.field.radio.switcher" default="0" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="shown_sort_order" type="list" label="COM_FINDER_CONFIG_SORT_ORDER_FIELDS_LABEL" layout="joomla.form.field.list-fancy-select" multiple="true" validate="options" showon="show_sort_order:1" > <option value="relevance">COM_FINDER_CONFIG_SORT_OPTION_RELEVANCE</option> <option value="title">COM_FINDER_CONFIG_SORT_OPTION_TITLE</option> <option value="date">COM_FINDER_CONFIG_SORT_OPTION_START_DATE</option> <option value="price">COM_FINDER_CONFIG_SORT_OPTION_LIST_PRICE</option> <option value="sale_price">COM_FINDER_CONFIG_SORT_OPTION_SALES_PRICE</option> </field> <field name="sort_direction" type="list" label="COM_FINDER_CONFIG_SORT_DIRECTION_LABEL" default="" useglobal="true" validate="options" > <option value="desc">COM_FINDER_CONFIG_SORT_OPTION_DESCENDING</option> <option value="asc">COM_FINDER_CONFIG_SORT_OPTION_ASCENDING</option> </field> </fieldset> <fieldset name="integration"> <field name="show_feed_link" type="list" label="JGLOBAL_SHOW_FEED_LINK_LABEL" validate="options" class="form-select-color-state" > <option value="">JGLOBAL_USE_GLOBAL</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> </fieldset> </fields> </metadata> PK w�\���.� � search/default_sorting.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_finder * * @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; /** @var \Joomla\Component\Finder\Site\View\Search\HtmlView $this */ ?> <?php HTMLHelper::_('bootstrap.dropdown', '.dropdown-toggle'); ?> <div class="sorting"> <label id="sorting_label" for="sorting_btn"><?php echo Text::_('COM_FINDER_SORT_BY'); ?></label> <div class="sorting__select btn-group"> <?php foreach ($this->sortOrderFields as $sortOrderField) : ?> <?php if ($sortOrderField->active) : ?> <button id="sorting_btn" class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-haspopup="listbox" aria-expanded="false" aria-controls="finder_sorting_list"> <?php echo $this->escape($sortOrderField->label); ?> </button> <?php break; endif; ?> <?php endforeach; ?> <ul id="finder_sorting_list" class="sorting__list block dropdown-menu" role="listbox" aria-labelledby="finder_sorting_desc"> <?php foreach ($this->sortOrderFields as $sortOrderField) : ?> <li class="sorting__list-li <?php echo $sortOrderField->active ? 'sorting__list-li-active' : ''; ?>"> <a class="dropdown-item" role="option" href="<?php echo Route::_($sortOrderField->url);?>" <?php echo $sortOrderField->active ? 'aria-current="true"' : ''; ?>> <?php echo $this->escape($sortOrderField->label); ?> </a> </li> <?php endforeach; ?> </ul> </div> <div class="clearfix"></div> </div> PK w�\�Sʉ� � search/.htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK w�\�Sʉ� � .htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK w�\ZŅ�? ? default.phpnu �[��� <?php /** * @package SP Simple Portfolio * @subpackage mod_spsimpleportfolio * * @copyright Copyright (C) 2010 - 2025 JoomShaper. All rights reserved. * @license GNU General Public License version 2 or later. */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; $layout_type = $params->get('layout_type', 'default'); ?> <div id="mod-sp-simpleportfolio" class="sp-simpleportfolio sp-simpleportfolio-view-items layout-<?php echo str_replace('_', '-', $layout_type); ?> <?php echo $moduleclass_sfx; ?>"> <?php if($params->get('show_filter', 1)) : ?> <div class="sp-simpleportfolio-filter"> <ul> <li class="active" data-group="all"><a href="#"><?php echo Text::_('MOD_SPSIMPLEPORTFOLIO_SHOW_ALL'); ?></a></li> <?php foreach ($tagList as $filter) : ?> <li data-group="<?php echo $filter->alias; ?>"><a href="#"><?php echo $filter->title; ?></a></li> <?php endforeach; ?> </ul> </div> <?php endif; ?> <?php //Videos foreach ($items as $item) { if($item->video) { $video = parse_url($item->video); switch($video['host']) { case 'youtu.be': $video_id = trim($video['path'],'/'); $video_src = '//www.youtube.com/embed/' . $video_id; break; case 'www.youtube.com': case 'youtube.com': parse_str($video['query'], $query); $video_id = $query['v']; $video_src = '//www.youtube.com/embed/' . $video_id; break; case 'vimeo.com': case 'www.vimeo.com': $video_id = trim($video['path'],'/'); $video_src = "//player.vimeo.com/video/" . $video_id; } echo '<iframe class="sp-simpleportfolio-lightbox" src="'. $video_src .'" width="500" height="281" id="sp-simpleportfolio-video'.$item->spsimpleportfolio_item_id.'" style="border:none;" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'; } } ?> <div class="sp-simpleportfolio-items sp-simpleportfolio-columns-<?php echo $params->get('columns', 3); ?>"> <?php foreach ($items as $item) : ?> <div class="sp-simpleportfolio-item" data-groups='[<?php echo $item->groups; ?>]'> <?php if($layout_type == 'category_title_tag_list') : ?> <div class="sp-simpleportfolio-item-category-title"><?php echo $item->category_title; ?></div> <?php endif; ?> <div class="sp-simpleportfolio-overlay-wrapper clearfix"> <?php if($item->video) : ?> <span class="sp-simpleportfolio-icon-video"></span> <?php endif; ?> <img class="sp-simpleportfolio-img" src="<?php echo $item->thumb; ?>" alt="<?php echo $item->title; ?>"> <div class="sp-simpleportfolio-overlay"> <div class="sp-vertical-middle"> <div> <div class="sp-simpleportfolio-btns"> <?php if( $item->video ) : ?> <a class="btn-zoom" href="#" data-featherlight="#sp-simpleportfolio-video<?php echo $item->id; ?>"><?php echo Text::_('MOD_SPSIMPLEPORTFOLIO_WATCH'); ?></a> <?php else: ?> <a class="btn-zoom" href="<?php echo $item->popup_img_url; ?>" data-featherlight="image"><?php echo Text::_('MOD_SPSIMPLEPORTFOLIO_ZOOM'); ?></a> <?php endif; ?> <a class="btn-view" href="<?php echo $item->url; ?>"><?php echo Text::_('MOD_SPSIMPLEPORTFOLIO_VIEW'); ?></a> </div> <?php if($layout_type!='default' && $layout_type!='category_title_tag_list') : ?> <h3 class="sp-simpleportfolio-title"> <a href="<?php echo $item->url; ?>"> <?php echo $item->title; ?> </a> </h3> <div class="sp-simpleportfolio-tags"> <?php echo implode(', ', $item->tags); ?> </div> <?php endif; ?> </div> </div> </div> </div> <?php if($layout_type == 'default') : ?> <div class="sp-simpleportfolio-info"> <h3 class="sp-simpleportfolio-title"> <a href="<?php echo $item->url; ?>"> <?php echo $item->title; ?> </a> </h3> <div class="sp-simpleportfolio-tags"> <?php echo implode(', ', $item->tags); ?> </div> </div> <?php endif; ?> <?php if($layout_type == 'category_title_tag_list') : ?> <div class="sp-simpleportfolio-info"> <h3 class="sp-simpleportfolio-title"> <a href="<?php echo $item->url; ?>"> <?php echo $item->title; ?> </a> </h3> <div class="sp-simpleportfolio-tags"> <ul class="sp-simpleportfolio-tags-list"> <?php foreach($item->tags as $tag) :?> <li class="sp-simpleportfolio-tags-list-item"><?php echo $tag;?></li> <?php endforeach; ?> </ul> </div> </div> <?php endif; ?> </div> <?php endforeach; ?> </div> </div>PK ��\�T��� � default_items.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage mod_articles_category * * @copyright (C) 2020 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; ?> <?php foreach ($items as $item) : ?> <li> <?php if ($params->get('link_titles') == 1) : ?> <?php $attributes = ['class' => 'mod-articles-category-title ' . $item->active]; ?> <?php $link = htmlspecialchars($item->link, ENT_COMPAT, 'UTF-8', false); ?> <?php $title = htmlspecialchars($item->title, ENT_COMPAT, 'UTF-8', false); ?> <?php echo HTMLHelper::_('link', $link, $title, $attributes); ?> <?php else : ?> <?php echo htmlspecialchars($item->title, ENT_COMPAT, 'UTF-8'); ?> <?php endif; ?> <?php if ($item->displayHits) : ?> <span class="mod-articles-category-hits"> (<?php echo $item->displayHits; ?>) </span> <?php endif; ?> <?php if ($params->get('show_author')) : ?> <span class="mod-articles-category-writtenby"> <?php echo htmlspecialchars($item->displayAuthorName, ENT_COMPAT, 'UTF-8'); ?> </span> <?php endif; ?> <?php if ($item->displayCategoryTitle) : ?> <span class="mod-articles-category-category"> (<?php echo htmlspecialchars($item->displayCategoryTitle, ENT_COMPAT, 'UTF-8'); ?>) </span> <?php endif; ?> <?php if ($item->displayDate) : ?> <span class="mod-articles-category-date"><?php echo htmlspecialchars($item->displayDate, ENT_COMPAT, 'UTF-8'); ?></span> <?php endif; ?> <?php if ($params->get('show_tags', 0) && $item->tags->itemTags) : ?> <div class="mod-articles-category-tags"> <?php echo LayoutHelper::render('joomla.content.tags', $item->tags->itemTags); ?> </div> <?php endif; ?> <?php if ($params->get('show_introtext')) : ?> <p class="mod-articles-category-introtext"> <?php echo $item->displayIntrotext; ?> </p> <?php endif; ?> <?php if ($params->get('show_readmore')) : ?> <p class="mod-articles-category-readmore"> <a class="mod-articles-category-title <?php echo $item->active; ?>" href="<?php echo $item->link; ?>"> <?php if (!$item->params->get('access-view')) : ?> <?php echo Text::_('MOD_ARTICLES_CATEGORY_REGISTER_TO_READ_MORE'); ?> <?php elseif ($item->alternative_readmore) : ?> <?php echo $item->alternative_readmore; ?> <?php echo HTMLHelper::_('string.truncate', $item->title, $params->get('readmore_limit'), true, false); ?> <?php if ($params->get('show_readmore_title', 0)) : ?> <?php echo HTMLHelper::_('string.truncate', $item->title, $params->get('readmore_limit'), true, false); ?> <?php endif; ?> <?php elseif ($params->get('show_readmore_title', 0)) : ?> <?php echo Text::_('MOD_ARTICLES_CATEGORY_READ_MORE'); ?> <?php echo HTMLHelper::_('string.truncate', $item->title, $params->get('readmore_limit'), true, false); ?> <?php else : ?> <?php echo Text::_('MOD_ARTICLES_CATEGORY_READ_MORE_TITLE'); ?> <?php endif; ?> </a> </p> <?php endif; ?> </li> <?php endforeach; ?> PK ��\b�p�e e albums.phpnu �[��� <?php /** * @package com_speasyimagegallery * @subpackage mod_speasyimagegallery * @author JoomShaper http://www.joomshaper.com * @copyright Copyright (c) 2010 - 2025 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later */ use Joomla\CMS\Factory; use Joomla\CMS\Uri\Uri; use Joomla\Filesystem\File; use Joomla\CMS\Language\Text; use Joomla\CMS\HTML\HTMLHelper; // No direct access defined('_JEXEC') or die('Restricted access'); HTMLHelper::_('jquery.framework'); $doc = Factory::getDocument(); $doc->addStylesheet( Uri::base(true) . '/components/com_speasyimagegallery/assets/css/style-min.css' ); $col = 'speasyimagegallery-col-md-' . $params->get('albums_column', 4); $col .= ' speasyimagegallery-col-sm-' . $params->get('albums_column_sm', 3); $col .= ' speasyimagegallery-col-xs-' . $params->get('albums_column_xs', 2); $gutter = $params->get('albums_gutter', 20)/2; $gutter_sm = $params->get('albums_gutter_sm', 15)/2; $gutter_xs = $params->get('albums_gutter_xs', 10)/2; $id = '#mod-speasyimagegallery-' . $module->id; // Stylesheet if($gutter || $gutter_sm || $gutter_xs) { $css = ''; if($gutter) { $css .= $id . ' .speasyimagegallery-row {margin: -' . $gutter . 'px;}'; $css .= $id . ' .speasyimagegallery-row .speasyimagegallery-album {padding: ' . $gutter . 'px;}'; } if($gutter_sm) { $css .= '@media only screen and (max-width : 992px) {'; $css .= $id . ' .speasyimagegallery-row {margin: -' . $gutter_sm . 'px;}'; $css .= $id . ' .speasyimagegallery-row .speasyimagegallery-album {padding: ' . $gutter_sm . 'px;}'; $css .= '}'; } if($gutter_xs) { $css .= '@media only screen and (max-width : 768px) {'; $css .= $id . ' .speasyimagegallery-row {margin: -' . $gutter_xs . 'px;}'; $css .= $id . ' .speasyimagegallery-row .speasyimagegallery-album {padding: ' . $gutter_xs . 'px;}'; $css .= '}'; } $doc->addStyleDeclaration($css); } ?> <div class="mod-speasyimagegallery" id="mod-speasyimagegallery-<?php echo $module->id; ?>"> <?php if(count($albums)) { ?> <div class="speasyimagegallery-albums"> <div class="speasyimagegallery-row clearfix"> <?php foreach ($albums as $key => $album) { ?> <?php $cover = 'thumb.' . File::getExt(basename($album->image)); ?> <div class="<?php echo $col; ?>"> <div class="speasyimagegallery-album"> <div> <a href="<?php echo $album->url; ?>"> <img src="images/speasyimagegallery/albums/<?php echo $album->id; ?>/<?php echo $cover; ?>" alt="<?php echo $album->title; ?>"> <div class="speasyimagegallery-album-info"> <span class="speasyimagegallery-album-title"><?php echo $album->title; ?></span> <div class="speasyimagegallery-album-meta clearfix"> <span class="speasyimagegallery-album-meta-count"><?php echo $album->count; ?> <?php echo ($album->count > 1) ? Text::_('MOD_SPEASYIMAGEGALLERY_PHOTOS') : Text::_('MOD_SPEASYIMAGEGALLERY_PHOTO'); ?></span> <?php if(!empty($album->description)): ;?> <br> <span class="speasyimagegallery-album-meta-count" style="font-weight: normal;"><small><?php echo $album->description ;?></small></span> <?php endif; ?> </div> </div> </a> </div> </div> </div> <?php } ?> </div> </div> <?php } else { echo '<div class="alert">' . Text::_('MOD_SPEASYIMAGEGALLERY_NO_ALBUMS') . '</div>'; } ?> </div> PK ��\]��� � album.phpnu �[��� <?php /** * @package com_speasyimagegallery * @subpackage mod_speasyimagegallery * @author JoomShaper http://www.joomshaper.com * @copyright Copyright (c) 2010 - 2025 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later */ use Joomla\CMS\Factory; use Joomla\CMS\Uri\Uri; use Joomla\CMS\Language\Text; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Layout\FileLayout; // No direct access defined('_JEXEC') or die('Restricted access'); HTMLHelper::_('jquery.framework'); $app = Factory::getApplication(); $option = $app->input->get('option', '', 'STRING'); $view = $app->input->get('view', '', 'STRING'); $doc = Factory::getDocument(); $doc->addStylesheet( Uri::base(true) . '/components/com_speasyimagegallery/assets/css/style-min.css' ); $doc->addScript( Uri::base(true) . '/components/com_speasyimagegallery/assets/js/script-min.js' ); $layout = $params->get('album_layout', 'default'); $show_title = $params->get('show_title', 1); $show_desc = $params->get('show_desc', 1); $show_count = $params->get('show_count', 1); $show_album_desc = $params->get('show_album_desc', 1); $gutter = $params->get('album_gutter', 20)/2; $gutter_sm = $params->get('album_gutter_sm', 15)/2; $gutter_xs = $params->get('album_gutter_xs', 10)/2; $id = '#mod-speasyimagegallery-' . $module->id; $gallery_attribs = ''; if((($option != 'com_speasyimagegallery') && ($view != 'album')) || (($option == 'com_speasyimagegallery') && ($view == 'albums'))) { $doc->addScript( Uri::base(true) . '/components/com_speasyimagegallery/assets/js/speasygallery-main.js' ); $gallery_attribs = 'data-showtitle="'. $show_title . '" data-showdescription="' .$show_desc .'" data-showcounter="' . $show_count . '"'; } // Stylesheet if($gutter || $gutter_sm || $gutter_xs) { $css = ''; if($gutter) { $css .= $id . ' .speasyimagegallery-row {margin: -' . $gutter . 'px;}'; $css .= $id . ' .speasyimagegallery-row > div > .speasyimagegallery-gallery-item {padding: ' . $gutter . 'px;}'; } if($gutter_sm) { $css .= '@media only screen and (max-width : 992px) {'; $css .= $id . ' .speasyimagegallery-row {margin: -' . $gutter_sm . 'px;}'; $css .= $id . ' .speasyimagegallery-row > div > .speasyimagegallery-gallery-item {padding: ' . $gutter_sm . 'px;}'; $css .= '}'; } if($gutter_xs) { $css .= '@media only screen and (max-width : 768px) {'; $css .= $id . ' .speasyimagegallery-row {margin: -' . $gutter_xs . 'px;}'; $css .= $id . ' .speasyimagegallery-row > div > .speasyimagegallery-gallery-item {padding: ' . $gutter_xs . 'px;}'; $css .= '}'; } $doc->addStyleDeclaration($css); } ?> <div class="mod-speasyimagegallery" id="mod-speasyimagegallery-<?php echo $module->id; ?>"> <?php if(count($images)) { ?> <?php if ($albumDescription): ?> <div class="speasyimagegallery-album-description"><?php echo $albumDescription; ?></div> <?php endif;?> <div class="speasyimagegallery-gallery clearfix" <?php echo $gallery_attribs; ?>> <?php $layout = new FileLayout('gallery.'. $layout .'.row', JPATH_ROOT .'/modules/mod_speasyimagegallery/layouts'); echo $layout->render(array('images'=>$images, 'params'=>$params)); ?> </div> <?php } else { echo '<div class="alert">' . Text::_('MOD_SPEASYIMAGEGALLERY_NO_IMAGES') . '</div>'; } ?> </div> PK ��\fZK1� � media.phpnu �[��� <?php /** * @package Joomla.Plugin * @subpackage Fields.Media * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Layout\LayoutHelper; if (empty($field->value) || empty($field->value['imagefile'])) { return; } $class = $fieldParams->get('image_class'); $options = [ 'src' => $field->value['imagefile'], 'alt' => empty($field->value['alt_text']) && empty($field->value['alt_empty']) ? false : $field->value['alt_text'], ]; if ($class) { $options['class'] = $class; } echo LayoutHelper::render('joomla.html.image', $options); PK c �\J6� � � categories/default_items.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; use Joomla\Component\Content\Site\Helper\RouteHelper; /** @var \Joomla\Component\Content\Site\View\Categories\HtmlView $this */ if ($this->maxLevelcat != 0 && count($this->items[$this->parent->id]) > 0) : ?> <div class="com-content-categories__items"> <?php foreach ($this->items[$this->parent->id] as $id => $item) : ?> <?php if ($this->params->get('show_empty_categories_cat') || $item->numitems || count($item->getChildren())) : ?> <div class="com-content-categories__item"> <div class="com-content-categories__item-title-wrapper"> <div class="com-content-categories__item-title"> <a href="<?php echo Route::_(RouteHelper::getCategoryRoute($item->id, $item->language)); ?>"> <?php echo $this->escape($item->title); ?></a> <?php if ($this->params->get('show_cat_num_articles_cat') == 1) :?> <span class="badge bg-info"> <?php echo Text::_('COM_CONTENT_NUM_ITEMS'); ?> <?php echo $item->numitems; ?> </span> <?php endif; ?> </div> <?php if (count($item->getChildren()) > 0 && $this->maxLevelcat > 1) : ?> <button type="button" id="category-btn-<?php echo $item->id; ?>" data-category-id="<?php echo $item->id; ?>" class="btn btn-secondary btn-sm" aria-expanded="false" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>" > <span class="icon-plus" aria-hidden="true"></span> </button> <?php endif; ?> </div> <?php if ($this->params->get('show_description_image') && $item->getParams()->get('image')) : ?> <?php echo HTMLHelper::_('image', $item->getParams()->get('image'), $item->getParams()->get('image_alt')); ?> <?php endif; ?> <?php if ($this->params->get('show_subcat_desc_cat') == 1) : ?> <?php if ($item->description) : ?> <div class="com-content-categories__description category-desc"> <?php echo HTMLHelper::_('content.prepare', $item->description, '', 'com_content.categories'); ?> </div> <?php endif; ?> <?php endif; ?> <?php if (count($item->getChildren()) > 0 && $this->maxLevelcat > 1) : ?> <div class="com-content-categories__children" id="category-<?php echo $item->id; ?>" hidden=""> <?php $this->items[$item->id] = $item->getChildren(); $this->parent = $item; $this->maxLevelcat--; echo $this->loadTemplate('items'); $this->parent = $item->getParent(); $this->maxLevelcat++; ?> </div> <?php endif; ?> </div> <?php endif; ?> <?php endforeach; ?> </div> <?php endif; ?> PK c �\�ӧ�� � categories/default.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; // Add strings for translations in Javascript. Text::script('JGLOBAL_EXPAND_CATEGORIES'); Text::script('JGLOBAL_COLLAPSE_CATEGORIES'); /** @var \Joomla\Component\Content\Site\View\Categories\HtmlView $this */ /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->getDocument()->getWebAssetManager(); $wa->getRegistry()->addExtensionRegistryFile('com_categories'); $wa->usePreset('com_categories.shared-categories-accordion'); ?> <div class="com-content-categories categories-list"> <?php echo LayoutHelper::render('joomla.content.categories_default', $this); echo $this->loadTemplate('items'); ?> </div> PK c �\F)S*C *C categories/default.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <metadata> <layout title="COM_CONTENT_CATEGORIES_VIEW_DEFAULT_TITLE" option="COM_CONTENT_CATEGORIES_VIEW_DEFAULT_OPTION"> <help key = "Menu_Item:_List_All_Categories" /> <message> <![CDATA[COM_CONTENT_CATEGORIES_VIEW_DEFAULT_DESC]]> </message> </layout> <!-- Add fields to the request variables for the layout. --> <fields name="request"> <fieldset name="request" > <field name="id" type="category" label="JGLOBAL_FIELD_CATEGORIES_CHOOSE_CATEGORY_LABEL" extension="com_content" show_root="true" required="true" /> </fieldset> </fields> <!-- Add fields to the parameters object for the layout. --> <fields name="params"> <fieldset name="basic" label="JGLOBAL_CATEGORIES_OPTIONS"> <field name="show_base_description" type="list" label="JGLOBAL_FIELD_SHOW_BASE_DESCRIPTION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="categories_description" type="textarea" label="JGLOBAL_FIELD_CATEGORIES_DESC_LABEL" cols="25" rows="5" /> <field name="maxLevelcat" type="list" label="JGLOBAL_MAXIMUM_CATEGORY_LEVELS_LABEL" useglobal="true" validate="options" > <option value="-1">JALL</option> <option value="1">J1</option> <option value="2">J2</option> <option value="3">J3</option> <option value="4">J4</option> <option value="5">J5</option> </field> <field name="show_empty_categories_cat" type="list" label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_subcat_desc_cat" type="list" label="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_cat_num_articles_cat" type="list" label="COM_CONTENT_NUMBER_CATEGORY_ITEMS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> </fieldset> <fieldset name="category" label="JGLOBAL_CATEGORY_OPTIONS" description="JGLOBAL_SUBSLIDER_DRILL_CATEGORIES_LABEL"> <field name="show_category_title" type="list" label="JGLOBAL_SHOW_CATEGORY_TITLE" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_description" type="list" label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_description_image" type="list" label="JGLOBAL_SHOW_CATEGORY_IMAGE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="maxLevel" type="list" label="JGLOBAL_MAXLEVEL_LABEL" useglobal="true" validate="options" > <option value="-1">JALL</option> <option value="0">JNONE</option> <option value="1">J1</option> <option value="2">J2</option> <option value="3">J3</option> <option value="4">J4</option> <option value="5">J5</option> </field> <field name="show_empty_categories" type="list" label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_no_articles" type="list" label="COM_CONTENT_NO_ARTICLES_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_subcat_desc" type="list" label="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_cat_num_articles" type="list" label="COM_CONTENT_NUMBER_CATEGORY_ITEMS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> </fieldset> <fieldset name="blog" label="JGLOBAL_BLOG_LAYOUT_OPTIONS" description="JGLOBAL_SUBSLIDER_DRILL_CATEGORIES_LABEL"> <field name="blog_class_leading" type="text" label="JGLOBAL_BLOG_CLASS_LEADING" useglobal="true" validate="CssIdentifier" /> <field name="blog_class" type="text" label="JGLOBAL_BLOG_CLASS" useglobal="true" validate="CssIdentifier" /> <field name="num_leading_articles" type="number" label="JGLOBAL_NUM_LEADING_ARTICLES_LABEL" filter="integer" useglobal="true" /> <field name="num_intro_articles" type="number" label="JGLOBAL_NUM_INTRO_ARTICLES_LABEL" filter="integer" useglobal="true" /> <field name="num_links" type="number" label="JGLOBAL_NUM_LINKS_LABEL" filter="integer" useglobal="true" /> <field name="show_subcategory_content" type="list" label="JGLOBAL_SHOW_SUBCATEGORY_CONTENT_LABEL" useglobal="true" validate="options" > <option value="0">JNONE</option> <option value="-1">JALL</option> <option value="1">J1</option> <option value="2">J2</option> <option value="3">J3</option> <option value="4">J4</option> <option value="5">J5</option> </field> <field name="spacer5" type="spacer" hr="true" /> <field name="orderby_pri" type="list" label="JGLOBAL_CATEGORY_ORDER_LABEL" useglobal="true" validate="options" > <option value="none">JGLOBAL_NO_ORDER</option> <option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option> <option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option> <option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option> </field> <field name="orderby_sec" type="list" label="JGLOBAL_ARTICLE_ORDER_LABEL" useglobal="true" validate="options" > <option value="front">COM_CONTENT_FEATURED_ORDER</option> <option value="rdate">JGLOBAL_MOST_RECENT_FIRST</option> <option value="date">JGLOBAL_OLDEST_FIRST</option> <option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option> <option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option> <option value="author">JGLOBAL_AUTHOR_ALPHABETICAL</option> <option value="rauthor">JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL</option> <option value="hits" requires="hits">JGLOBAL_MOST_HITS</option> <option value="rhits" requires="hits">JGLOBAL_LEAST_HITS</option> <option value="order">JGLOBAL_ORDERING</option> <option value="rorder">JGLOBAL_REVERSE_ORDERING</option> <option value="vote" requires="vote">JGLOBAL_VOTES_DESC</option> <option value="rvote" requires="vote">JGLOBAL_VOTES_ASC</option> <option value="rank" requires="vote">JGLOBAL_RATINGS_DESC</option> <option value="rrank" requires="vote">JGLOBAL_RATINGS_ASC</option> </field> <field name="order_date" type="list" label="JGLOBAL_ORDERING_DATE_LABEL" useglobal="true" validate="options" > <option value="created">JGLOBAL_CREATED</option> <option value="modified">JGLOBAL_MODIFIED</option> <option value="published">JPUBLISHED</option> </field> </fieldset> <fieldset name="advanced" label="JGLOBAL_LIST_LAYOUT_OPTIONS" description="JGLOBAL_SUBSLIDER_DRILL_CATEGORIES_LABEL"> <field name="show_pagination_limit" type="list" label="JGLOBAL_DISPLAY_SELECT_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="filter_field" type="list" label="JGLOBAL_FILTER_FIELD_LABEL" useglobal="true" validate="options" > <option value="hide">JHIDE</option> <option value="title">JGLOBAL_TITLE</option> <option value="author">JAUTHOR</option> <option value="hits" requires="hits">JGLOBAL_HITS</option> </field> <field name="show_headings" type="list" label="JGLOBAL_SHOW_HEADINGS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="list_show_date" type="list" label="JGLOBAL_SHOW_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="created">JGLOBAL_CREATED</option> <option value="modified">JGLOBAL_MODIFIED</option> <option value="published">JPUBLISHED</option> </field> <field name="date_format" type="text" label="JGLOBAL_DATE_FORMAT_LABEL" useglobal="true" /> <field name="list_show_hits" type="list" label="JGLOBAL_LIST_HITS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="list_show_author" type="list" label="JGLOBAL_LIST_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="display_num" type="list" label="JGLOBAL_NUMBER_ITEMS_LIST_LABEL" default="" useglobal="true" validate="options" > <option value="5">J5</option> <option value="10">J10</option> <option value="15">J15</option> <option value="20">J20</option> <option value="25">J25</option> <option value="30">J30</option> <option value="50">J50</option> <option value="100">J100</option> <option value="0">JALL</option> </field> </fieldset> <fieldset name="shared" label="COM_CONTENT_SHARED_LABEL" description="COM_CONTENT_SHARED_DESC"> <field name="show_pagination" type="list" label="JGLOBAL_PAGINATION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> <option value="2">JGLOBAL_AUTO</option> </field> <field name="show_pagination_results" type="list" label="JGLOBAL_PAGINATION_RESULTS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> </fieldset> <fieldset name="article" label="COM_CONTENT_ATTRIBS_FIELDSET_LABEL" addfieldprefix="Joomla\Component\Content\Administrator\Field" > <field name="article_layout" type="componentlayout" label="JGLOBAL_FIELD_LAYOUT_LABEL" description="JGLOBAL_FIELD_LAYOUT_DESC" class="form-select" menuitems="true" extension="com_content" view="article" /> <field name="show_title" type="list" label="JGLOBAL_SHOW_TITLE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_titles" type="list" label="JGLOBAL_LINKED_TITLES_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_intro" type="list" label="JGLOBAL_SHOW_INTRO_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_category" type="list" label="JGLOBAL_SHOW_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_category" type="list" label="JGLOBAL_LINK_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_parent_category" type="list" label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_parent_category" type="list" label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_author" type="list" label="JGLOBAL_SHOW_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_author" type="list" label="JGLOBAL_LINK_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_create_date" type="list" label="JGLOBAL_SHOW_CREATE_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_modify_date" type="list" label="JGLOBAL_SHOW_MODIFY_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_publish_date" type="list" label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_item_navigation" type="list" label="JGLOBAL_SHOW_NAVIGATION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_vote" type="votelist" label="JGLOBAL_SHOW_VOTE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_readmore" type="list" label="JGLOBAL_SHOW_READMORE_LABEL" description="JGLOBAL_SHOW_READMORE_DESC" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_readmore_title" type="list" label="JGLOBAL_SHOW_READMORE_TITLE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_hits" type="list" label="JGLOBAL_SHOW_HITS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_noauth" type="list" label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL" description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> </fieldset> <fieldset name="integration"> <field name="show_feed_link" type="list" label="JGLOBAL_SHOW_FEED_LINK_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="feed_summary" type="list" label="JGLOBAL_FEED_SUMMARY_LABEL" useglobal="true" validate="options" > <option value="0">JGLOBAL_INTRO_TEXT</option> <option value="1">JGLOBAL_FULL_TEXT</option> </field> </fieldset> </fields> </metadata> PK c �\�Sʉ� � categories/.htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK c �\Q,�� � article/default_links.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; /** @var \Joomla\Component\Content\Site\View\Article\HtmlView $this */ // Create shortcut $urls = json_decode($this->item->urls); // Create shortcuts to some parameters. $params = $this->item->params; if ($urls && (!empty($urls->urla) || !empty($urls->urlb) || !empty($urls->urlc))) : ?> <div class="com-content-article__links content-links"> <ul class="com-content-article__links content-list"> <?php $urlarray = [ [$urls->urla, $urls->urlatext, $urls->targeta, 'a'], [$urls->urlb, $urls->urlbtext, $urls->targetb, 'b'], [$urls->urlc, $urls->urlctext, $urls->targetc, 'c'] ]; foreach ($urlarray as $url) : $link = $url[0]; $label = $url[1]; $target = $url[2]; $id = $url[3]; if (! $link) : continue; endif; // If no label is present, take the link $label = $label ?: $link; // If no target is present, use the default $target = $target ?: $params->get('target' . $id); ?> <li class="com-content-article__link content-links-<?php echo $id; ?>"> <?php // Compute the correct link switch ($target) { case 1: // Open in a new window echo '<a href="' . htmlspecialchars($link, ENT_COMPAT, 'UTF-8') . '" target="_blank" rel="nofollow noopener noreferrer">' . htmlspecialchars($label, ENT_COMPAT, 'UTF-8') . '</a>'; break; case 2: // Open in a popup window $attribs = 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=600'; echo "<a href=\"" . htmlspecialchars($link, ENT_COMPAT, 'UTF-8') . "\" onclick=\"window.open(this.href, 'targetWindow', '" . $attribs . "'); return false;\" rel=\"noopener noreferrer\">" . htmlspecialchars($label, ENT_COMPAT, 'UTF-8') . '</a>'; break; case 3: echo '<a href="' . htmlspecialchars($link, ENT_COMPAT, 'UTF-8') . '" rel="noopener noreferrer" data-bs-toggle="modal" data-bs-target="#linkModal">' . htmlspecialchars($label, ENT_COMPAT, 'UTF-8') . ' </a>'; echo HTMLHelper::_( 'bootstrap.renderModal', 'linkModal', [ 'url' => $link, 'title' => $label, 'height' => '100%', 'width' => '100%', 'modalWidth' => '500', 'bodyHeight' => '500', 'footer' => '<button type="button" class="btn btn-secondary" data-bs-dismiss="modal" aria-hidden="true">' . \Joomla\CMS\Language\Text::_('JLIB_HTML_BEHAVIOR_CLOSE') . '</button>' ] ); break; default: // Open in parent window echo '<a href="' . htmlspecialchars($link, ENT_COMPAT, 'UTF-8') . '" rel="nofollow">' . htmlspecialchars($label, ENT_COMPAT, 'UTF-8') . ' </a>'; break; } ?> </li> <?php endforeach; ?> </ul> </div> <?php endif; ?> PK c �\� 4Ys s article/default.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Associations; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\FileLayout; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\CMS\Uri\Uri; use Joomla\Component\Content\Administrator\Extension\ContentComponent; use Joomla\Component\Content\Site\Helper\RouteHelper; /** @var \Joomla\Component\Content\Site\View\Article\HtmlView $this */ // Create shortcuts to some parameters. $params = $this->item->params; $canEdit = $params->get('access-edit'); $user = $this->getCurrentUser(); $info = $params->get('info_block_position', 0); $htag = $this->params->get('show_page_heading') ? 'h2' : 'h1'; // Check if associations are implemented. If they are, define the parameter. $assocParam = (Associations::isEnabled() && $params->get('show_associations')); $currentDate = Factory::getDate()->format('Y-m-d H:i:s'); $isNotPublishedYet = $this->item->publish_up > $currentDate; $isExpired = !is_null($this->item->publish_down) && $this->item->publish_down < $currentDate; ?> <div class="com-content-article item-page<?php echo $this->pageclass_sfx; ?>"> <meta itemprop="inLanguage" content="<?php echo ($this->item->language === '*') ? Factory::getApplication()->get('language') : $this->item->language; ?>"> <?php if ($this->params->get('show_page_heading')) : ?> <div class="page-header"> <h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1> </div> <?php endif; if (!empty($this->item->pagination) && !$this->item->paginationposition && $this->item->paginationrelative) { echo $this->item->pagination; } ?> <?php $useDefList = $params->get('show_modify_date') || $params->get('show_publish_date') || $params->get('show_create_date') || $params->get('show_hits') || $params->get('show_category') || $params->get('show_parent_category') || $params->get('show_author') || $assocParam; ?> <?php if ($params->get('show_title')) : ?> <div class="page-header"> <<?php echo $htag; ?>> <?php echo $this->escape($this->item->title); ?> </<?php echo $htag; ?>> <?php if ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED) : ?> <span class="badge bg-warning text-light"><?php echo Text::_('JUNPUBLISHED'); ?></span> <?php endif; ?> <?php if ($isNotPublishedYet) : ?> <span class="badge bg-warning text-light"><?php echo Text::_('JNOTPUBLISHEDYET'); ?></span> <?php endif; ?> <?php if ($isExpired) : ?> <span class="badge bg-warning text-light"><?php echo Text::_('JEXPIRED'); ?></span> <?php endif; ?> </div> <?php endif; ?> <?php if ($canEdit) : ?> <?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?> <?php endif; ?> <?php // Content is generated by content plugin event "onContentAfterTitle" ?> <?php echo $this->item->event->afterDisplayTitle; ?> <?php if ($useDefList && ($info == 0 || $info == 2)) : ?> <?php echo LayoutHelper::render('joomla.content.info_block', ['item' => $this->item, 'params' => $params, 'position' => 'above']); ?> <?php endif; ?> <?php if ($info == 0 && $params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> <?php $this->item->tagLayout = new FileLayout('joomla.content.tags'); ?> <?php echo $this->item->tagLayout->render($this->item->tags->itemTags); ?> <?php endif; ?> <?php // Content is generated by content plugin event "onContentBeforeDisplay" ?> <?php echo $this->item->event->beforeDisplayContent; ?> <?php if ((int) $params->get('urls_position', 0) === 0) : ?> <?php echo $this->loadTemplate('links'); ?> <?php endif; ?> <?php if ($params->get('access-view')) : ?> <?php echo LayoutHelper::render('joomla.content.full_image', $this->item); ?> <?php if (!empty($this->item->pagination) && !$this->item->paginationposition && !$this->item->paginationrelative) : echo $this->item->pagination; endif; ?> <?php if (isset($this->item->toc)) : echo $this->item->toc; endif; ?> <div class="com-content-article__body"> <?php echo $this->item->text; ?> </div> <?php if ($info == 1 || $info == 2) : ?> <?php if ($useDefList) : ?> <?php echo LayoutHelper::render('joomla.content.info_block', ['item' => $this->item, 'params' => $params, 'position' => 'below']); ?> <?php endif; ?> <?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> <?php $this->item->tagLayout = new FileLayout('joomla.content.tags'); ?> <?php echo $this->item->tagLayout->render($this->item->tags->itemTags); ?> <?php endif; ?> <?php endif; ?> <?php if (!empty($this->item->pagination) && $this->item->paginationposition && !$this->item->paginationrelative) : echo $this->item->pagination; ?> <?php endif; ?> <?php if ((int) $params->get('urls_position', 0) === 1) : ?> <?php echo $this->loadTemplate('links'); ?> <?php endif; ?> <?php // Optional teaser intro text for guests ?> <?php elseif ($params->get('show_noauth') && $user->guest) : ?> <?php echo LayoutHelper::render('joomla.content.intro_image', $this->item); ?> <?php echo HTMLHelper::_('content.prepare', $this->item->introtext); ?> <?php // Optional link to let them register to see the whole article. ?> <?php if ($params->get('show_readmore') && $this->item->fulltext != null) : ?> <?php $menu = Factory::getApplication()->getMenu(); ?> <?php $active = $menu->getActive(); ?> <?php $itemId = $active->id; ?> <?php $link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false)); ?> <?php $link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language))); ?> <?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?> <?php endif; ?> <?php endif; ?> <?php if (!empty($this->item->pagination) && $this->item->paginationposition && $this->item->paginationrelative) : echo $this->item->pagination; ?> <?php endif; ?> <?php // Content is generated by content plugin event "onContentAfterDisplay" ?> <?php echo $this->item->event->afterDisplayContent; ?> </div> PK c �\�e��v v article/default.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <metadata> <layout title="COM_CONTENT_ARTICLE_VIEW_DEFAULT_TITLE" option="COM_CONTENT_ARTICLE_VIEW_DEFAULT_OPTION"> <help key = "Menu_Item:_Single_Article" /> <message> <![CDATA[COM_CONTENT_ARTICLE_VIEW_DEFAULT_DESC]]> </message> </layout> <!-- Add fields to the request variables for the layout. --> <fields name="request"> <fieldset name="request" addfieldprefix="Joomla\Component\Content\Administrator\Field" > <field name="id" type="modal_article" label="COM_CONTENT_FIELD_SELECT_ARTICLE_LABEL" required="true" select="true" new="true" edit="true" clear="true" /> </fieldset> </fields> <!-- Add fields to the parameters object for the layout. --> <fields name="params"> <!-- Basic options. --> <fieldset name="basic" label="COM_CONTENT_ATTRIBS_ARTICLE_SETTINGS_LABEL" addfieldprefix="Joomla\Component\Content\Administrator\Field" > <field name="show_title" type="list" label="JGLOBAL_SHOW_TITLE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="link_titles" type="list" label="JGLOBAL_LINKED_TITLES_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="show_intro" type="list" label="JGLOBAL_SHOW_INTRO_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="info_block_position" type="list" label="COM_CONTENT_FIELD_INFOBLOCK_POSITION_LABEL" useglobal="true" validate="options" > <option value="0">COM_CONTENT_FIELD_OPTION_ABOVE</option> <option value="1">COM_CONTENT_FIELD_OPTION_BELOW</option> <option value="2">COM_CONTENT_FIELD_OPTION_SPLIT</option> </field> <field name="info_block_show_title" type="list" label="COM_CONTENT_FIELD_INFOBLOCK_TITLE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_category" type="list" label="JGLOBAL_SHOW_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="link_category" type="list" label="JGLOBAL_LINK_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="show_parent_category" type="list" label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="link_parent_category" type="list" label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="show_associations" type="assoc" label="JGLOBAL_SHOW_ASSOCIATIONS_LABEL" useglobal="true" class="form-select-color-state" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_author" type="list" label="JGLOBAL_SHOW_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="link_author" type="list" label="JGLOBAL_LINK_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="show_create_date" type="list" label="JGLOBAL_SHOW_CREATE_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_modify_date" type="list" label="JGLOBAL_SHOW_MODIFY_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_publish_date" type="list" label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_item_navigation" type="list" label="JGLOBAL_SHOW_NAVIGATION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_vote" type="votelist" label="JGLOBAL_SHOW_VOTE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_hits" type="list" label="JGLOBAL_SHOW_HITS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_tags" type="list" label="JGLOBAL_SHOW_TAGS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_noauth" type="list" label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL" description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC" useglobal="true" class="form-select-color-state" validate="options" > <option value="1">JYES</option> <option value="0">JNO</option> </field> <field name="urls_position" type="list" label="COM_CONTENT_FIELD_URLSPOSITION_LABEL" useglobal="true" filter="integer" validate="options" > <option value="0">COM_CONTENT_FIELD_OPTION_ABOVE</option> <option value="1">COM_CONTENT_FIELD_OPTION_BELOW</option> <option value="-1">JHIDE</option> </field> </fieldset> </fields> </metadata> PK c �\�Sʉ� � article/.htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK c �\پ� featured/default_links.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Router\Route; use Joomla\Component\Content\Site\Helper\RouteHelper; /** @var \Joomla\Component\Content\Site\View\Featured\HtmlView $this */ ?> <ul class="com-content-blog__links"> <?php foreach ($this->link_items as $item) : ?> <li class="com-content-blog__link"> <a href="<?php echo Route::_(RouteHelper::getArticleRoute($item->slug, $item->catid, $item->language)); ?>"> <?php echo $this->escape($item->title); ?></a> </li> <?php endforeach; ?> </ul> PK c �\<� featured/default_item.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\Language\Associations; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\CMS\Uri\Uri; use Joomla\Component\Content\Administrator\Extension\ContentComponent; use Joomla\Component\Content\Site\Helper\RouteHelper; /** @var \Joomla\Component\Content\Site\View\Featured\HtmlView $this */ // Create a shortcut for params. $params = &$this->item->params; $canEdit = $this->item->params->get('access-edit'); $info = $this->item->params->get('info_block_position', 0); // Check if associations are implemented. If they are, define the parameter. $assocParam = (Associations::isEnabled() && $params->get('show_associations')); $currentDate = Factory::getDate()->format('Y-m-d H:i:s'); $isExpired = !is_null($this->item->publish_down) && $this->item->publish_down < $currentDate; $isNotPublishedYet = $this->item->publish_up > $currentDate; $isUnpublished = $this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $isNotPublishedYet || $isExpired; ?> <?php echo LayoutHelper::render('joomla.content.intro_image', $this->item); ?> <div class="item-content"> <?php if ($isUnpublished) : ?> <div class="system-unpublished"> <?php endif; ?> <?php if ($params->get('show_title')) : ?> <h2 class="item-title"> <?php if ($params->get('link_titles') && $params->get('access-view')) : ?> <a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>"> <?php echo $this->escape($this->item->title); ?> </a> <?php else : ?> <?php echo $this->escape($this->item->title); ?> <?php endif; ?> </h2> <?php endif; ?> <?php if ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED) : ?> <span class="badge bg-warning text-light"><?php echo Text::_('JUNPUBLISHED'); ?></span> <?php endif; ?> <?php if ($isNotPublishedYet) : ?> <span class="badge bg-warning text-light"><?php echo Text::_('JNOTPUBLISHEDYET'); ?></span> <?php endif; ?> <?php if ($isExpired) : ?> <span class="badge bg-warning text-light"><?php echo Text::_('JEXPIRED'); ?></span> <?php endif; ?> <?php if ($canEdit) : ?> <?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?> <?php endif; ?> <?php // Content is generated by content plugin event "onContentAfterTitle" ?> <?php echo $this->item->event->afterDisplayTitle; ?> <?php // @todo Not that elegant would be nice to group the params ?> <?php $useDefList = ($params->get('show_modify_date') || $params->get('show_publish_date') || $params->get('show_create_date') || $params->get('show_hits') || $params->get('show_category') || $params->get('show_parent_category') || $params->get('show_author') || $assocParam); ?> <?php if ($useDefList && ($info == 0 || $info == 2)) : ?> <?php echo LayoutHelper::render('joomla.content.info_block', ['item' => $this->item, 'params' => $params, 'position' => 'above']); ?> <?php endif; ?> <?php if ($info == 0 && $params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> <?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?> <?php endif; ?> <?php // Content is generated by content plugin event "onContentBeforeDisplay" ?> <?php echo $this->item->event->beforeDisplayContent; ?> <?php echo $this->item->introtext; ?> <?php if ($info == 1 || $info == 2) : ?> <?php if ($useDefList) : ?> <?php echo LayoutHelper::render('joomla.content.info_block', ['item' => $this->item, 'params' => $params, 'position' => 'below']); ?> <?php endif; ?> <?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> <?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?> <?php endif; ?> <?php endif; ?> <?php if ($params->get('show_readmore') && $this->item->readmore) : if ($params->get('access-view')) : $link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); else : $menu = Factory::getApplication()->getMenu(); $active = $menu->getActive(); $itemId = $active->id; $link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false)); $link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language))); endif; ?> <?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?> <?php endif; ?> <?php if ($isUnpublished) : ?> </div> <?php endif; ?> </div> <?php // Content is generated by content plugin event "onContentAfterDisplay" ?> <?php echo $this->item->event->afterDisplayContent; ?> PK c �\A��# # featured/default.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** @var \Joomla\Component\Content\Site\View\Featured\HtmlView $this */ ?> <div class="blog-featured"> <?php if ($this->params->get('show_page_heading') != 0) : ?> <div class="page-header"> <h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1> </div> <?php endif; ?> <?php if (!empty($this->lead_items)) : ?> <div class="blog-items items-leading <?php echo $this->params->get('blog_class_leading'); ?>"> <?php foreach ($this->lead_items as &$item) : ?> <div class="blog-item"> <?php $this->item = & $item; echo $this->loadTemplate('item'); ?> </div> <?php endforeach; ?> </div> <?php endif; ?> <?php if (!empty($this->intro_items)) : ?> <?php $blogClass = $this->params->get('blog_class', ''); ?> <?php if ((int) $this->params->get('num_columns') > 1) : ?> <?php $blogClass .= (int) $this->params->get('multi_column_order', 0) === 0 ? ' masonry-' : ' columns-'; ?> <?php $blogClass .= (int) $this->params->get('num_columns'); ?> <?php endif; ?> <div class="blog-items <?php echo $blogClass; ?>"> <?php foreach ($this->intro_items as $key => &$item) : ?> <div class="blog-item"> <?php $this->item = & $item; echo $this->loadTemplate('item'); ?> </div> <?php endforeach; ?> </div> <?php endif; ?> <?php if (!empty($this->link_items)) : ?> <div class="items-more"> <?php echo $this->loadTemplate('links'); ?> </div> <?php endif; ?> <?php if ($this->params->def('show_pagination', 2) == 1 || ($this->params->get('show_pagination') == 2 && $this->pagination->pagesTotal > 1)) : ?> <div class="w-100"> <?php if ($this->params->def('show_pagination_results', 1)) : ?> <p class="counter float-end pt-3 pe-2"> <?php echo $this->pagination->getPagesCounter(); ?> </p> <?php endif; ?> <?php echo $this->pagination->getPagesLinks(); ?> </div> <?php endif; ?> </div> PK c �\�֚I6 I6 featured/default.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <metadata> <layout title="COM_CONTENT_FEATURED_VIEW_DEFAULT_TITLE" option="COM_CONTENT_FEATURED_VIEW_DEFAULT_OPTION"> <help key = "Menu_Item:_Featured_Articles" /> <message> <![CDATA[COM_CONTENT_CATEGORY_VIEW_FEATURED_DESC]]> </message> </layout> <!-- Add fields to the parameters object for the layout. --> <fields name="params"> <fieldset name="advanced" label="JGLOBAL_BLOG_LAYOUT_OPTIONS" description="JGLOBAL_SUBSLIDER_BLOG_LAYOUT_LABEL"> <field name="featured_categories" type="category" label="COM_CONTENT_FEATURED_CATEGORIES_LABEL" extension="com_content" multiple="true" layout="joomla.form.field.list-fancy-select" default=" " parentclass="stack span-3" > <option value=" ">JOPTION_ALL_CATEGORIES</option> </field> <field name="layout_type" type="hidden" default="blog" /> <field name="num_leading_articles" type="number" label="JGLOBAL_NUM_LEADING_ARTICLES_LABEL" filter="integer" validate="number" min="0" useglobal="true" parentclass="stack span-1" /> <field name="blog_class_leading" type="text" label="JGLOBAL_BLOG_CLASS_LEADING" parentclass="stack span-2-inline" useglobal="true" validate="CssIdentifier" /> <field name="num_intro_articles" type="number" label="JGLOBAL_NUM_INTRO_ARTICLES_LABEL" filter="integer" validate="number" min="0" useglobal="true" parentclass="stack span-1" /> <field name="blog_class" type="text" label="JGLOBAL_BLOG_CLASS" description="JGLOBAL_BLOG_CLASS_NOTE_DESC" parentclass="stack span-2-inline" useglobal="true" validate="CssIdentifier" /> <field name="num_columns" type="number" label="JGLOBAL_NUM_COLUMNS_LABEL" filter="integer" validate="number" min="0" parentclass="stack span-1-inline" useglobal="true" /> <field name="multi_column_order" type="list" label="JGLOBAL_MULTI_COLUMN_ORDER_LABEL" parentclass="stack span-2-inline" useglobal="true" validate="options" > <option value="0">JGLOBAL_BLOG_DOWN_OPTION</option> <option value="1">JGLOBAL_BLOG_ACROSS_OPTION</option> </field> <field name="num_links" type="number" label="JGLOBAL_NUM_LINKS_LABEL" filter="integer" validate="number" min="0" parentclass="stack span-1" useglobal="true" /> <field name="link_intro_image" type="list" label="JGLOBAL_LINKED_INTRO_IMAGE_LABEL" useglobal="true" validate="options" parentclass="stack span-2-inline" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="orderby_pri" type="list" label="JGLOBAL_CATEGORY_ORDER_LABEL" useglobal="true" validate="options" parentclass="stack span-2" > <option value="none">JGLOBAL_NO_ORDER</option> <option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option> <option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option> <option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option> </field> <field name="orderby_sec" type="list" label="JGLOBAL_ARTICLE_ORDER_LABEL" useglobal="true" validate="options" parentclass="stack span-2-inline" > <option value="front">COM_CONTENT_FEATURED_ORDER</option> <option value="rdate">JGLOBAL_MOST_RECENT_FIRST</option> <option value="date">JGLOBAL_OLDEST_FIRST</option> <option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option> <option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option> <option value="author">JGLOBAL_AUTHOR_ALPHABETICAL</option> <option value="rauthor">JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL</option> <option value="hits" requires="hits">JGLOBAL_MOST_HITS</option> <option value="rhits" requires="hits">JGLOBAL_LEAST_HITS</option> <option value="random">JGLOBAL_RANDOM_ORDER</option> <option value="order">JGLOBAL_ORDERING</option> <option value="rorder">JGLOBAL_REVERSE_ORDERING</option> <option value="vote" requires="vote">JGLOBAL_VOTES_DESC</option> <option value="rvote" requires="vote">JGLOBAL_VOTES_ASC</option> <option value="rank" requires="vote">JGLOBAL_RATINGS_DESC</option> <option value="rrank" requires="vote">JGLOBAL_RATINGS_ASC</option> </field> <field name="order_date" type="list" label="JGLOBAL_ORDERING_DATE_LABEL" useglobal="true" validate="options" parentclass="stack span-2-inline" > <option value="created">JGLOBAL_CREATED</option> <option value="modified">JGLOBAL_MODIFIED</option> <option value="published">JPUBLISHED</option> <option value="unpublished">JUNPUBLISHED</option> </field> <field name="show_pagination" type="list" label="JGLOBAL_PAGINATION_LABEL" useglobal="true" class="form-select-color-state" validate="options" parentclass="stack span-2" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> <option value="2">JGLOBAL_AUTO</option> </field> <field name="show_pagination_results" type="list" label="JGLOBAL_PAGINATION_RESULTS_LABEL" useglobal="true" class="form-select-color-state" validate="options" parentclass="stack span-2-inline" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> </fieldset> <fieldset name="article" label="COM_CONTENT_ATTRIBS_FIELDSET_LABEL" addfieldprefix="Joomla\Component\Content\Administrator\Field" > <field name="show_title" type="list" label="JGLOBAL_SHOW_TITLE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_titles" type="list" label="JGLOBAL_LINKED_TITLES_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_intro" type="list" label="JGLOBAL_SHOW_INTRO_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="info_block_position" type="list" label="COM_CONTENT_FIELD_INFOBLOCK_POSITION_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">COM_CONTENT_FIELD_OPTION_ABOVE</option> <option value="1">COM_CONTENT_FIELD_OPTION_BELOW</option> <option value="2">COM_CONTENT_FIELD_OPTION_SPLIT</option> </field> <field name="info_block_show_title" type="list" label="COM_CONTENT_FIELD_INFOBLOCK_TITLE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_category" type="list" label="JGLOBAL_SHOW_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_category" type="list" label="JGLOBAL_LINK_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_parent_category" type="list" label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_parent_category" type="list" label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_associations" type="assoc" label="JGLOBAL_SHOW_ASSOCIATIONS_LABEL" useglobal="true" class="form-select-color-state" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_author" type="list" label="JGLOBAL_SHOW_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_author" type="list" label="JGLOBAL_LINK_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_create_date" type="list" label="JGLOBAL_SHOW_CREATE_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_modify_date" type="list" label="JGLOBAL_SHOW_MODIFY_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_publish_date" type="list" label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_item_navigation" type="list" label="JGLOBAL_SHOW_NAVIGATION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_vote" type="votelist" label="JGLOBAL_SHOW_VOTE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_readmore" type="list" label="JGLOBAL_SHOW_READMORE_LABEL" description="JGLOBAL_SHOW_READMORE_DESC" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_readmore_title" type="list" label="JGLOBAL_SHOW_READMORE_TITLE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_hits" type="list" label="JGLOBAL_SHOW_HITS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_tags" type="list" label="COM_CONTENT_FIELD_SHOW_TAGS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_noauth" type="list" label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL" description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JNO</option> <option value="1">JYES</option> </field> </fieldset> <fieldset name="integration" label="COM_MENUS_INTEGRATION_FIELDSET_LABEL"> <field name="show_feed_link" type="list" label="JGLOBAL_SHOW_FEED_LINK_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="feed_summary" type="list" label="JGLOBAL_FEED_SUMMARY_LABEL" useglobal="true" validate="options" > <option value="0">JGLOBAL_INTRO_TEXT</option> <option value="1">JGLOBAL_FULL_TEXT</option> </field> </fieldset> </fields> </metadata> PK c �\�Sʉ� � featured/.htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK c �\[��@ @ category/blog_item.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\Language\Associations; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\CMS\Uri\Uri; use Joomla\Component\Content\Administrator\Extension\ContentComponent; use Joomla\Component\Content\Site\Helper\RouteHelper; /** @var \Joomla\Component\Content\Site\View\Category\HtmlView $this */ // Create a shortcut for params. $params = $this->item->params; $canEdit = $this->item->params->get('access-edit'); $info = $params->get('info_block_position', 0); // Check if associations are implemented. If they are, define the parameter. $assocParam = (Associations::isEnabled() && $params->get('show_associations')); $currentDate = Factory::getDate()->format('Y-m-d H:i:s'); $isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate) || ($this->item->publish_down < $currentDate && $this->item->publish_down !== null); ?> <?php echo LayoutHelper::render('joomla.content.intro_image', $this->item); ?> <div class="item-content"> <?php if ($isUnpublished) : ?> <div class="system-unpublished"> <?php endif; ?> <?php echo LayoutHelper::render('joomla.content.blog_style_default_item_title', $this->item); ?> <?php if ($canEdit) : ?> <?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?> <?php endif; ?> <?php // @todo Not that elegant would be nice to group the params ?> <?php $useDefList = ($params->get('show_modify_date') || $params->get('show_publish_date') || $params->get('show_create_date') || $params->get('show_hits') || $params->get('show_category') || $params->get('show_parent_category') || $params->get('show_author') || $assocParam); ?> <?php if ($useDefList && ($info == 0 || $info == 2)) : ?> <?php echo LayoutHelper::render('joomla.content.info_block', ['item' => $this->item, 'params' => $params, 'position' => 'above']); ?> <?php endif; ?> <?php if ($info == 0 && $params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> <?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?> <?php endif; ?> <?php if (!$params->get('show_intro')) : ?> <?php // Content is generated by content plugin event "onContentAfterTitle" ?> <?php echo $this->item->event->afterDisplayTitle; ?> <?php endif; ?> <?php // Content is generated by content plugin event "onContentBeforeDisplay" ?> <?php echo $this->item->event->beforeDisplayContent; ?> <?php echo $this->item->introtext; ?> <?php if ($info == 1 || $info == 2) : ?> <?php if ($useDefList) : ?> <?php echo LayoutHelper::render('joomla.content.info_block', ['item' => $this->item, 'params' => $params, 'position' => 'below']); ?> <?php endif; ?> <?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> <?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?> <?php endif; ?> <?php endif; ?> <?php if ($params->get('show_readmore') && $this->item->readmore) : if ($params->get('access-view')) : $link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); else : $menu = Factory::getApplication()->getMenu(); $active = $menu->getActive(); $itemId = $active->id; $link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false)); $link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language))); endif; ?> <?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?> <?php endif; ?> <?php if ($isUnpublished) : ?> </div> <?php endif; ?> <?php // Content is generated by content plugin event "onContentAfterDisplay" ?> <?php echo $this->item->event->afterDisplayContent; ?> </div> PK c �\��h� category/blog_links.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Router\Route; use Joomla\Component\Content\Site\Helper\RouteHelper; /** @var \Joomla\Component\Content\Site\View\Category\HtmlView $this */ ?> <ol class="com-content-blog__links"> <?php foreach ($this->link_items as $item) : ?> <li class="com-content-blog__link"> <a href="<?php echo Route::_(RouteHelper::getArticleRoute($item->slug, $item->catid, $item->language)); ?>"> <?php echo $this->escape($item->title); ?></a> </li> <?php endforeach; ?> </ol> PK c �\�ﳋ category/default.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Layout\LayoutHelper; /** @var \Joomla\Component\Content\Site\View\Category\HtmlView $this */ ?> <div class="com-content-category category-list"> <?php $this->subtemplatename = 'articles'; echo LayoutHelper::render('joomla.content.category_default', $this); ?> </div> PK c �\��`� � category/blog.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\FileLayout; use Joomla\CMS\Layout\LayoutHelper; $app = Factory::getApplication(); /** @var \Joomla\Component\Content\Site\View\Category\HtmlView $this */ $this->category->text = $this->category->description; $app->triggerEvent('onContentPrepare', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]); $this->category->description = $this->category->text; $results = $app->triggerEvent('onContentAfterTitle', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]); $afterDisplayTitle = trim(implode("\n", $results)); $results = $app->triggerEvent('onContentBeforeDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]); $beforeDisplayContent = trim(implode("\n", $results)); $results = $app->triggerEvent('onContentAfterDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]); $afterDisplayContent = trim(implode("\n", $results)); $htag = $this->params->get('show_page_heading') ? 'h2' : 'h1'; ?> <div class="com-content-category-blog blog"> <?php if ($this->params->get('show_page_heading')) : ?> <div class="page-header"> <h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1> </div> <?php endif; ?> <?php if ($this->params->get('show_category_title', 1)) : ?> <<?php echo $htag; ?>> <?php echo $this->category->title; ?> </<?php echo $htag; ?>> <?php endif; ?> <?php echo $afterDisplayTitle; ?> <?php if ($this->params->get('show_cat_tags', 1) && !empty($this->category->tags->itemTags)) : ?> <?php $this->category->tagLayout = new FileLayout('joomla.content.tags'); ?> <?php echo $this->category->tagLayout->render($this->category->tags->itemTags); ?> <?php endif; ?> <?php if ($beforeDisplayContent || $afterDisplayContent || $this->params->get('show_description', 1) || $this->params->def('show_description_image', 1)) : ?> <div class="category-desc clearfix"> <?php if ($this->params->get('show_description_image') && $this->category->getParams()->get('image')) : ?> <?php echo LayoutHelper::render( 'joomla.html.image', [ 'src' => $this->category->getParams()->get('image'), 'alt' => empty($this->category->getParams()->get('image_alt')) && empty($this->category->getParams()->get('image_alt_empty')) ? false : $this->category->getParams()->get('image_alt'), ] ); ?> <?php endif; ?> <?php echo $beforeDisplayContent; ?> <?php if ($this->params->get('show_description') && $this->category->description) : ?> <?php echo HTMLHelper::_('content.prepare', $this->category->description, '', 'com_content.category'); ?> <?php endif; ?> <?php echo $afterDisplayContent; ?> </div> <?php endif; ?> <?php if (empty($this->lead_items) && empty($this->link_items) && empty($this->intro_items)) : ?> <?php if ($this->params->get('show_no_articles', 1)) : ?> <div class="alert alert-info"> <span class="icon-info-circle" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('INFO'); ?></span> <?php echo Text::_('COM_CONTENT_NO_ARTICLES'); ?> </div> <?php endif; ?> <?php endif; ?> <?php if (!empty($this->lead_items)) : ?> <div class="com-content-category-blog__items blog-items items-leading <?php echo $this->params->get('blog_class_leading'); ?>"> <?php foreach ($this->lead_items as &$item) : ?> <div class="com-content-category-blog__item blog-item"> <?php $this->item = &$item; echo $this->loadTemplate('item'); ?> </div> <?php endforeach; ?> </div> <?php endif; ?> <?php if (!empty($this->intro_items)) : ?> <?php $blogClass = $this->params->get('blog_class', ''); ?> <?php if ((int) $this->params->get('num_columns') > 1) : ?> <?php $blogClass .= (int) $this->params->get('multi_column_order', 0) === 0 ? ' masonry-' : ' columns-'; ?> <?php $blogClass .= (int) $this->params->get('num_columns'); ?> <?php endif; ?> <div class="com-content-category-blog__items blog-items <?php echo $blogClass; ?>"> <?php foreach ($this->intro_items as $key => &$item) : ?> <div class="com-content-category-blog__item blog-item"> <?php $this->item = & $item; echo $this->loadTemplate('item'); ?> </div> <?php endforeach; ?> </div> <?php endif; ?> <?php if (!empty($this->link_items)) : ?> <div class="items-more"> <?php echo $this->loadTemplate('links'); ?> </div> <?php endif; ?> <?php if ($this->maxLevel != 0 && !empty($this->children[$this->category->id])) : ?> <div class="com-content-category-blog__children cat-children"> <?php if ($this->params->get('show_category_heading_title_text', 1) == 1) : ?> <h3> <?php echo Text::_('JGLOBAL_SUBCATEGORIES'); ?> </h3> <?php endif; ?> <?php echo $this->loadTemplate('children'); ?> </div> <?php endif; ?> <?php // Code to add a link to submit an article. ?> <?php if ($this->category->getParams()->get('access-create')) : ?> <?php echo HTMLHelper::_('contenticon.create', $this->category, $this->category->params); ?> <?php endif; ?> <?php if (($this->params->def('show_pagination', 1) == 1 || ($this->params->get('show_pagination') == 2)) && ($this->pagination->pagesTotal > 1)) : ?> <div class="com-content-category-blog__navigation w-100"> <?php if ($this->params->def('show_pagination_results', 1)) : ?> <p class="com-content-category-blog__counter counter float-md-end pt-3 pe-2"> <?php echo $this->pagination->getPagesCounter(); ?> </p> <?php endif; ?> <div class="com-content-category-blog__pagination"> <?php echo $this->pagination->getPagesLinks(); ?> </div> </div> <?php endif; ?> </div> PK c �\Z��Y� � category/default_children.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; use Joomla\Component\Content\Site\Helper\RouteHelper; /** @var \Joomla\Component\Content\Site\View\Category\HtmlView $this */ $lang = $this->getLanguage(); $user = $this->getCurrentUser(); $groups = $user->getAuthorisedViewLevels(); ?> <?php if (count($this->children[$this->category->id]) > 0) : ?> <?php foreach ($this->children[$this->category->id] as $id => $child) : ?> <?php // Check whether category access level allows access to subcategories. ?> <?php if (in_array($child->access, $groups)) : ?> <?php if ($this->params->get('show_empty_categories') || $child->getNumItems(true) || count($child->getChildren())) : ?> <div class="com-content-category__children"> <?php if ($lang->isRtl()) : ?> <h3 class="page-header item-title"> <?php if ($this->params->get('show_cat_num_articles', 1)) : ?> <span class="badge bg-info tip hasTooltip" title="<?php echo HTMLHelper::_('tooltipText', 'COM_CONTENT_NUM_ITEMS'); ?>"> <?php echo $child->getNumItems(true); ?> </span> <?php endif; ?> <a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>"> <?php echo $this->escape($child->title); ?></a> <?php if (count($child->getChildren()) > 0 && $this->maxLevel > 1) : ?> <a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a> <?php endif; ?> </h3> <?php else : ?> <h3 class="page-header item-title"><a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>"> <?php echo $this->escape($child->title); ?></a> <?php if ($this->params->get('show_cat_num_articles', 1)) : ?> <span class="badge bg-info tip hasTooltip" title="<?php echo HTMLHelper::_('tooltipText', 'COM_CONTENT_NUM_ITEMS'); ?>"> <?php echo $child->getNumItems(true); ?> </span> <?php endif; ?> <?php if (count($child->getChildren()) > 0 && $this->maxLevel > 1) : ?> <a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a> <?php endif; ?> </h3> <?php endif; ?> <?php if ($this->params->get('show_subcat_desc') == 1) : ?> <?php if ($child->description) : ?> <div class="category-desc"> <?php echo HTMLHelper::_('content.prepare', $child->description, '', 'com_content.category'); ?> </div> <?php endif; ?> <?php endif; ?> <?php if (count($child->getChildren()) > 0 && $this->maxLevel > 1) : ?> <div class="collapse fade" id="category-<?php echo $child->id; ?>"> <?php $this->children[$child->id] = $child->getChildren(); $this->category = $child; $this->maxLevel--; echo $this->loadTemplate('children'); $this->category = $child->getParent(); $this->maxLevel++; ?> </div> <?php endif; ?> </div> <?php endif; ?> <?php endif; ?> <?php endforeach; ?> <?php endif; ?> PK c �\9���? ? category/default.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <metadata> <layout title="COM_CONTENT_CATEGORY_VIEW_DEFAULT_TITLE" option="COM_CONTENT_CATEGORY_VIEW_DEFAULT_OPTION"> <help key = "Menu_Item:_Category_List" /> <message> <![CDATA[COM_CONTENT_CATEGORY_VIEW_DEFAULT_DESC]]> </message> </layout> <!-- Add fields to the request variables for the layout. --> <fields name="request"> <fieldset name="request" addfieldprefix="Joomla\Component\Categories\Administrator\Field" > <field name="id" type="modal_category" label="JGLOBAL_CHOOSE_CATEGORY_LABEL" extension="com_content" required="true" select="true" new="true" edit="true" clear="true" /> <field name="filter_tag" type="tag" label="JTAG" multiple="true" mode="nested" custom="deny" /> </fieldset> </fields> <!-- Add fields to the parameters object for the layout. --> <fields name="params"> <fieldset name="basic" label="JGLOBAL_CATEGORY_OPTIONS"> <field name="show_category_title" type="list" label="JGLOBAL_SHOW_CATEGORY_TITLE" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_description" type="list" label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_description_image" type="list" label="JGLOBAL_SHOW_CATEGORY_IMAGE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="maxLevel" type="list" label="JGLOBAL_MAXLEVEL_LABEL" useglobal="true" validate="options" > <option value="-1">JALL</option> <option value="0">JNONE</option> <option value="1">J1</option> <option value="2">J2</option> <option value="3">J3</option> <option value="4">J4</option> <option value="5">J5</option> </field> <field name="show_empty_categories" type="list" label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_no_articles" type="list" label="COM_CONTENT_NO_ARTICLES_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_category_heading_title_text" type="list" label="JGLOBAL_SHOW_SUBCATEGORY_HEADING" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_subcat_desc" type="list" label="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_cat_num_articles" type="list" label="COM_CONTENT_NUMBER_CATEGORY_ITEMS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_cat_tags" type="list" label="COM_CONTENT_FIELD_SHOW_CAT_TAGS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> </fieldset> <fieldset name="advanced" label="JGLOBAL_LIST_LAYOUT_OPTIONS" addfieldprefix="Joomla\Component\Content\Administrator\Field" > <field name="show_pagination_limit" type="list" label="JGLOBAL_DISPLAY_SELECT_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="filter_field" type="list" label="JGLOBAL_FILTER_FIELD_LABEL" useglobal="true" validate="options" > <option value="hide">JHIDE</option> <option value="title">JGLOBAL_TITLE</option> <option value="author">JAUTHOR</option> <option value="hits" requires="hits">JGLOBAL_HITS</option> <option value="tag">JTAG</option> <option value="month">JMONTH_PUBLISHED</option> </field> <field name="show_headings" type="list" label="JGLOBAL_SHOW_HEADINGS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="list_show_date" type="list" label="JGLOBAL_SHOW_DATE_LABEL" useglobal="true" validate="options" > <option value="0">JHIDE</option> <option value="created">JGLOBAL_CREATED</option> <option value="modified">JGLOBAL_MODIFIED</option> <option value="published">JPUBLISHED</option> </field> <field name="date_format" type="text" label="JGLOBAL_DATE_FORMAT_LABEL" description="JGLOBAL_DATE_FORMAT_DESC" useglobal="true" /> <field name="list_show_hits" type="list" label="JGLOBAL_LIST_HITS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="list_show_author" type="list" label="JGLOBAL_LIST_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="list_show_votes" type="votelist" label="JGLOBAL_LIST_VOTES_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0" requires="vote">JHIDE</option> <option value="1" requires="vote">JSHOW</option> </field> <field name="list_show_ratings" type="votelist" label="JGLOBAL_LIST_RATINGS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0" requires="vote">JHIDE</option> <option value="1" requires="vote">JSHOW</option> </field> <field name="spacer1" type="spacer" hr="true" /> <field name="orderby_pri" type="list" label="JGLOBAL_CATEGORY_ORDER_LABEL" useglobal="true" validate="options" > <option value="none">JGLOBAL_NO_ORDER</option> <option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option> <option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option> <option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option> </field> <field name="orderby_sec" type="list" label="JGLOBAL_ARTICLE_ORDER_LABEL" useglobal="true" validate="options" > <option value="front">COM_CONTENT_FEATURED_ORDER</option> <option value="rdate">JGLOBAL_MOST_RECENT_FIRST</option> <option value="date">JGLOBAL_OLDEST_FIRST</option> <option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option> <option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option> <option value="author">JGLOBAL_AUTHOR_ALPHABETICAL</option> <option value="rauthor">JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL</option> <option value="hits" requires="hits">JGLOBAL_MOST_HITS</option> <option value="rhits" requires="hits">JGLOBAL_LEAST_HITS</option> <option value="random">JGLOBAL_RANDOM_ORDER</option> <option value="order">JGLOBAL_ORDERING</option> <option value="rorder">JGLOBAL_REVERSE_ORDERING</option> <option value="vote" requires="vote">JGLOBAL_VOTES_DESC</option> <option value="rvote" requires="vote">JGLOBAL_VOTES_ASC</option> <option value="rank" requires="vote"> JGLOBAL_RATINGS_DESC</option> <option value="rrank" requires="vote">JGLOBAL_RATINGS_ASC</option> </field> <field name="order_date" type="list" label="JGLOBAL_ORDERING_DATE_LABEL" useglobal="true" validate="options" > <option value="created">JGLOBAL_CREATED</option> <option value="modified">JGLOBAL_MODIFIED</option> <option value="published">JPUBLISHED</option> </field> <field name="show_pagination" type="list" label="JGLOBAL_PAGINATION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> <option value="2">JGLOBAL_AUTO</option> </field> <field name="show_pagination_results" type="list" label="JGLOBAL_PAGINATION_RESULTS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="display_num" type="list" label="JGLOBAL_NUMBER_ITEMS_LIST_LABEL" default="" useglobal="true" validate="options" > <option value="5">J5</option> <option value="10">J10</option> <option value="15">J15</option> <option value="20">J20</option> <option value="25">J25</option> <option value="30">J30</option> <option value="50">J50</option> <option value="100">J100</option> <option value="0">JALL</option> </field> <field name="show_featured" type="list" label="JGLOBAL_SHOW_FEATURED_ARTICLES_LABEL" useglobal="true" default="" validate="options" > <option value="show">JSHOW</option> <option value="hide">JHIDE</option> <option value="only">JONLY</option> </field> </fieldset> <fieldset name="article" label="COM_CONTENT_ATTRIBS_FIELDSET_LABEL" addfieldprefix="Joomla\Component\Content\Administrator\Field" > <field name="article_layout" type="componentlayout" label="JGLOBAL_FIELD_LAYOUT_LABEL" description="JGLOBAL_FIELD_LAYOUT_DESC" class="form-select" menuitems="true" extension="com_content" view="article" /> <field name="show_title" type="list" label="JGLOBAL_SHOW_TITLE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_titles" type="list" label="JGLOBAL_LINKED_TITLES_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_intro" type="list" label="JGLOBAL_SHOW_INTRO_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_category" type="list" label="JGLOBAL_SHOW_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_category" type="list" label="JGLOBAL_LINK_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_parent_category" type="list" label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_parent_category" type="list" label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_associations" type="assoc" label="JGLOBAL_SHOW_ASSOCIATIONS_LABEL" useglobal="true" class="form-select-color-state" > <option value="1">JSHOW</option> <option value="0">JHIDE</option> </field> <field name="show_author" type="list" label="JGLOBAL_SHOW_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_author" type="list" label="JGLOBAL_LINK_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_create_date" type="list" label="JGLOBAL_SHOW_CREATE_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_modify_date" type="list" label="JGLOBAL_SHOW_MODIFY_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_publish_date" type="list" label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_item_navigation" type="list" label="JGLOBAL_SHOW_NAVIGATION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_vote" type="votelist" label="JGLOBAL_SHOW_VOTE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_readmore" type="list" label="JGLOBAL_SHOW_READMORE_LABEL" description="JGLOBAL_SHOW_READMORE_DESC" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_readmore_title" type="list" label="JGLOBAL_SHOW_READMORE_TITLE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_hits" type="list" label="JGLOBAL_SHOW_HITS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_noauth" type="list" label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL" description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> </fieldset> <fieldset name="integration" label="COM_MENUS_INTEGRATION_FIELDSET_LABEL"> <field name="show_feed_link" type="list" label="JGLOBAL_SHOW_FEED_LINK_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="feed_summary" type="list" label="JGLOBAL_FEED_SUMMARY_LABEL" useglobal="true" validate="options" > <option value="0">JGLOBAL_INTRO_TEXT</option> <option value="1">JGLOBAL_FULL_TEXT</option> </field> </fieldset> </fields> </metadata> PK c �\�ʑ)H )H category/blog.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <metadata> <layout title="COM_CONTENT_CATEGORY_VIEW_BLOG_TITLE" option="COM_CONTENT_CATEGORY_VIEW_BLOG_OPTION"> <help key = "Menu_Item:_Category_Blog" /> <message> <![CDATA[COM_CONTENT_CATEGORY_VIEW_BLOG_DESC]]> </message> </layout> <!-- Add fields to the request variables for the layout. --> <fields name="request"> <fieldset name="request" addfieldprefix="Joomla\Component\Categories\Administrator\Field" > <field name="id" type="modal_category" label="JGLOBAL_CHOOSE_CATEGORY_LABEL" extension="com_content" required="true" select="true" new="true" edit="true" clear="true" /> <field name="filter_tag" type="tag" label="JTAG" multiple="true" mode="nested" custom="deny" /> </fieldset> </fields> <!-- Add fields to the parameters object for the layout. --> <fields name="params"> <fieldset name="basic" label="JGLOBAL_CATEGORY_OPTIONS"> <field name="layout_type" type="hidden" default="blog" /> <field name="show_category_title" type="list" label="JGLOBAL_SHOW_CATEGORY_TITLE" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_description" type="list" label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_description_image" type="list" label="JGLOBAL_SHOW_CATEGORY_IMAGE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="maxLevel" type="list" label="JGLOBAL_MAXLEVEL_LABEL" description="JGLOBAL_MAXLEVEL_DESC" useglobal="true" validate="options" > <option value="-1">JALL</option> <option value="0">JNONE</option> <option value="1">J1</option> <option value="2">J2</option> <option value="3">J3</option> <option value="4">J4</option> <option value="5">J5</option> </field> <field name="show_empty_categories" type="list" label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_no_articles" type="list" label="COM_CONTENT_NO_ARTICLES_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_category_heading_title_text" type="list" label="JGLOBAL_SHOW_SUBCATEGORY_HEADING" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_subcat_desc" type="list" label="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_cat_num_articles" type="list" label="COM_CONTENT_NUMBER_CATEGORY_ITEMS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_cat_tags" type="list" label="COM_CONTENT_FIELD_SHOW_CAT_TAGS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> </fieldset> <fieldset name="advanced" label="JGLOBAL_BLOG_LAYOUT_OPTIONS" description="JGLOBAL_SUBSLIDER_BLOG_LAYOUT_LABEL"> <field name="num_leading_articles" type="number" label="JGLOBAL_NUM_LEADING_ARTICLES_LABEL" filter="integer" validate="number" min="0" useglobal="true" parentclass="stack span-1" /> <field name="blog_class_leading" type="text" label="JGLOBAL_BLOG_CLASS_LEADING" parentclass="stack span-2-inline" useglobal="true" validate="CssIdentifier" /> <field name="num_intro_articles" type="number" label="JGLOBAL_NUM_INTRO_ARTICLES_LABEL" filter="integer" validate="number" min="0" useglobal="true" parentclass="stack span-1" /> <field name="blog_class" type="text" label="JGLOBAL_BLOG_CLASS" description="JGLOBAL_BLOG_CLASS_NOTE_DESC" parentclass="stack span-2-inline" useglobal="true" validate="CssIdentifier" /> <field name="num_columns" type="number" label="JGLOBAL_NUM_COLUMNS_LABEL" filter="integer" validate="number" min="0" parentclass="stack span-1-inline" useglobal="true" /> <field name="multi_column_order" type="list" label="JGLOBAL_MULTI_COLUMN_ORDER_LABEL" parentclass="stack span-2-inline" useglobal="true" validate="options" > <option value="0">JGLOBAL_BLOG_DOWN_OPTION</option> <option value="1">JGLOBAL_BLOG_ACROSS_OPTION</option> </field> <field name="num_links" type="number" label="JGLOBAL_NUM_LINKS_LABEL" filter="integer" validate="number" min="0" parentclass="stack span-1" useglobal="true" /> <field name="show_featured" type="list" label="JGLOBAL_SHOW_FEATURED_ARTICLES_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" parentclass="stack span-1" > <option value="show">JSHOW</option> <option value="hide">JHIDE</option> <option value="only">JONLY</option> </field> <field name="link_intro_image" type="list" label="JGLOBAL_LINKED_INTRO_IMAGE_LABEL" useglobal="true" validate="options" parentclass="stack span-1-inline" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_subcategory_content" type="list" label="JGLOBAL_SHOW_SUBCATEGORY_CONTENT_LABEL" useglobal="true" validate="options" parentclass="stack span-1-inline" > <option value="0">JNONE</option> <option value="-1">JALL</option> <option value="1">J1</option> <option value="2">J2</option> <option value="3">J3</option> <option value="4">J4</option> <option value="5">J5</option> </field> <field name="orderby_pri" type="list" label="JGLOBAL_CATEGORY_ORDER_LABEL" useglobal="true" validate="options" parentclass="stack span-2" > <option value="none">JGLOBAL_NO_ORDER</option> <option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option> <option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option> <option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option> </field> <field name="orderby_sec" type="list" label="JGLOBAL_ARTICLE_ORDER_LABEL" useglobal="true" validate="options" parentclass="stack span-2-inline" > <option value="front">COM_CONTENT_FEATURED_ORDER</option> <option value="rdate">JGLOBAL_MOST_RECENT_FIRST</option> <option value="date">JGLOBAL_OLDEST_FIRST</option> <option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option> <option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option> <option value="author">JGLOBAL_AUTHOR_ALPHABETICAL</option> <option value="rauthor">JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL</option> <option value="hits" requires="hits">JGLOBAL_MOST_HITS</option> <option value="rhits" requires="hits">JGLOBAL_LEAST_HITS</option> <option value="random">JGLOBAL_RANDOM_ORDER</option> <option value="order">JGLOBAL_ORDERING</option> <option value="rorder">JGLOBAL_REVERSE_ORDERING</option> <option value="vote" requires="vote">JGLOBAL_VOTES_DESC</option> <option value="rvote" requires="vote">JGLOBAL_VOTES_ASC</option> <option value="rank" requires="vote">JGLOBAL_RATINGS_DESC</option> <option value="rrank" requires="vote">JGLOBAL_RATINGS_ASC</option> </field> <field name="order_date" type="list" label="JGLOBAL_ORDERING_DATE_LABEL" useglobal="true" validate="options" parentclass="stack span-2-inline" > <option value="created">JGLOBAL_CREATED</option> <option value="modified">JGLOBAL_MODIFIED</option> <option value="published">JPUBLISHED</option> <option value="unpublished">JUNPUBLISHED</option> </field> <field name="show_pagination" type="list" label="JGLOBAL_PAGINATION_LABEL" useglobal="true" class="form-select-color-state" validate="options" parentclass="stack span-1" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> <option value="2">JGLOBAL_AUTO</option> </field> <field name="show_pagination_results" type="list" label="JGLOBAL_PAGINATION_RESULTS_LABEL" useglobal="true" class="form-select-color-state" validate="options" parentclass="stack span-1-inline" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> </fieldset> <fieldset name="article" label="COM_CONTENT_ATTRIBS_FIELDSET_LABEL" addfieldprefix="Joomla\Component\Content\Administrator\Field" > <field name="article_layout" type="componentlayout" label="JGLOBAL_FIELD_LAYOUT_LABEL" description="JGLOBAL_FIELD_LAYOUT_DESC" class="form-select" menuitems="true" extension="com_content" view="article" /> <field name="show_title" type="list" label="JGLOBAL_SHOW_TITLE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_titles" type="list" label="JGLOBAL_LINKED_TITLES_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_intro" type="list" label="JGLOBAL_SHOW_INTRO_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="info_block_position" type="list" label="COM_CONTENT_FIELD_INFOBLOCK_POSITION_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">COM_CONTENT_FIELD_OPTION_ABOVE</option> <option value="1">COM_CONTENT_FIELD_OPTION_BELOW</option> <option value="2">COM_CONTENT_FIELD_OPTION_SPLIT</option> </field> <field name="info_block_show_title" type="list" label="COM_CONTENT_FIELD_INFOBLOCK_TITLE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_category" type="list" label="JGLOBAL_SHOW_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_category" type="list" label="JGLOBAL_LINK_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_parent_category" type="list" label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_parent_category" type="list" label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_associations" type="assoc" label="JGLOBAL_SHOW_ASSOCIATIONS_LABEL" useglobal="true" class="form-select-color-state" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_author" type="list" label="JGLOBAL_SHOW_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_author" type="list" label="JGLOBAL_LINK_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_create_date" type="list" label="JGLOBAL_SHOW_CREATE_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_modify_date" type="list" label="JGLOBAL_SHOW_MODIFY_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_publish_date" type="list" label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_item_navigation" type="list" label="JGLOBAL_SHOW_NAVIGATION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_vote" type="votelist" label="JGLOBAL_SHOW_VOTE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_readmore" type="list" label="JGLOBAL_SHOW_READMORE_LABEL" description="JGLOBAL_SHOW_READMORE_DESC" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_readmore_title" type="list" label="JGLOBAL_SHOW_READMORE_TITLE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_hits" type="list" label="JGLOBAL_SHOW_HITS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_tags" type="list" label="COM_CONTENT_FIELD_SHOW_TAGS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_noauth" type="list" label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL" description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">JNO</option> <option value="1">JYES</option> </field> </fieldset> <fieldset name="integration" label="COM_MENUS_INTEGRATION_FIELDSET_LABEL"> <field name="show_feed_link" type="list" label="JGLOBAL_SHOW_FEED_LINK_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="feed_summary" type="list" label="JGLOBAL_FEED_SUMMARY_LABEL" useglobal="true" validate="options" > <option value="0">JGLOBAL_INTRO_TEXT</option> <option value="1">JGLOBAL_FULL_TEXT</option> </field> </fieldset> </fields> </metadata> PK c �\4AOv�N �N category/default_articles.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Component\ComponentHelper; use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Associations; use Joomla\CMS\Language\Multilanguage; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; use Joomla\CMS\Uri\Uri; use Joomla\Component\Content\Administrator\Extension\ContentComponent; use Joomla\Component\Content\Site\Helper\AssociationHelper; use Joomla\Component\Content\Site\Helper\RouteHelper; /** @var \Joomla\Component\Content\Site\View\Category\HtmlView $this */ /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->getDocument()->getWebAssetManager(); $wa->useScript('com_content.articles-list'); // Create some shortcuts. $n = count($this->items); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $langFilter = false; // Tags filtering based on language filter if (($this->params->get('filter_field') === 'tag') && (Multilanguage::isEnabled())) { $tagfilter = ComponentHelper::getParams('com_tags')->get('tag_list_language_filter'); switch ($tagfilter) { case 'current_language': $langFilter = Factory::getApplication()->getLanguage()->getTag(); break; case 'all': $langFilter = false; break; default: $langFilter = $tagfilter; } } // Check for at least one editable article $isEditable = false; if (!empty($this->items)) { foreach ($this->items as $article) { if ($article->params->get('access-edit')) { $isEditable = true; break; } } } $currentDate = Factory::getDate()->format('Y-m-d H:i:s'); ?> <form action="<?php echo htmlspecialchars(Uri::getInstance()->toString()); ?>" method="post" name="adminForm" id="adminForm" class="com-content-category__articles"> <?php if ($this->params->get('filter_field') !== 'hide') : ?> <div class="com-content__filter btn-group"> <?php if ($this->params->get('filter_field') === 'tag') : ?> <span class="visually-hidden"> <label class="filter-search-lbl" for="filter-search"> <?php echo Text::_('JOPTION_SELECT_TAG'); ?> </label> </span> <select name="filter_tag" id="filter-search" class="form-select"> <option value=""><?php echo Text::_('JOPTION_SELECT_TAG'); ?></option> <?php echo HTMLHelper::_('select.options', HTMLHelper::_('tag.options', ['filter.published' => [1], 'filter.language' => $langFilter], true), 'value', 'text', $this->state->get('filter.tag')); ?> </select> <?php elseif ($this->params->get('filter_field') === 'month') : ?> <span class="visually-hidden"> <label class="filter-search-lbl" for="filter-search"> <?php echo Text::_('JOPTION_SELECT_MONTH'); ?> </label> </span> <select name="filter-search" id="filter-search" class="form-select"> <option value=""><?php echo Text::_('JOPTION_SELECT_MONTH'); ?></option> <?php echo HTMLHelper::_('select.options', HTMLHelper::_('content.months', $this->state), 'value', 'text', $this->state->get('list.filter')); ?> </select> <?php else : ?> <label class="filter-search-lbl visually-hidden" for="filter-search"> <?php echo Text::_('COM_CONTENT_' . $this->params->get('filter_field') . '_FILTER_LABEL'); ?> </label> <input type="text" name="filter-search" id="filter-search" value="<?php echo $this->escape($this->state->get('list.filter')); ?>" class="inputbox" placeholder="<?php echo Text::_('COM_CONTENT_' . $this->params->get('filter_field') . '_FILTER_LABEL'); ?>" > <?php endif; ?> <?php if ($this->params->get('filter_field') !== 'tag' && $this->params->get('filter_field') !== 'month') : ?> <button type="submit" name="filter_submit" class="btn btn-primary"><?php echo Text::_('JGLOBAL_FILTER_BUTTON'); ?></button> <?php endif; ?> <button type="reset" name="filter-clear-button" class="btn btn-secondary"><?php echo Text::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <?php endif; ?> <?php if ($this->params->get('show_pagination_limit')) : ?> <div class="com-content-category__pagination btn-group float-end"> <label for="limit" class="visually-hidden"> <?php echo Text::_('JGLOBAL_DISPLAY_NUM'); ?> </label> <?php echo $this->pagination->getLimitBox(); ?> </div> <?php endif; ?> <?php if (empty($this->items)) : ?> <?php if ($this->params->get('show_no_articles', 1)) : ?> <div class="alert alert-info"> <span class="icon-info-circle" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('INFO'); ?></span> <?php echo Text::_('COM_CONTENT_NO_ARTICLES'); ?> </div> <?php endif; ?> <?php else : ?> <table class="com-content-category__table category table table-striped table-bordered table-hover"> <caption class="visually-hidden"> <?php echo Text::_('COM_CONTENT_ARTICLES_TABLE_CAPTION'); ?> </caption> <thead<?php echo $this->params->get('show_headings', '1') ? '' : ' class="visually-hidden"'; ?>> <tr> <th scope="col" id="categorylist_header_title"> <?php echo HTMLHelper::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder, null, 'asc', '', 'adminForm'); ?> </th> <?php if ($date = $this->params->get('list_show_date')) : ?> <th scope="col" id="categorylist_header_date"> <?php if ($date === 'created') : ?> <?php echo HTMLHelper::_('grid.sort', 'COM_CONTENT_' . $date . '_DATE', 'a.created', $listDirn, $listOrder); ?> <?php elseif ($date === 'modified') : ?> <?php echo HTMLHelper::_('grid.sort', 'COM_CONTENT_' . $date . '_DATE', 'a.modified', $listDirn, $listOrder); ?> <?php elseif ($date === 'published') : ?> <?php echo HTMLHelper::_('grid.sort', 'COM_CONTENT_' . $date . '_DATE', 'a.publish_up', $listDirn, $listOrder); ?> <?php endif; ?> </th> <?php endif; ?> <?php if ($this->params->get('list_show_author')) : ?> <th scope="col" id="categorylist_header_author"> <?php echo HTMLHelper::_('grid.sort', 'JAUTHOR', 'author', $listDirn, $listOrder); ?> </th> <?php endif; ?> <?php if ($this->params->get('list_show_hits')) : ?> <th scope="col" id="categorylist_header_hits"> <?php echo HTMLHelper::_('grid.sort', 'JGLOBAL_HITS', 'a.hits', $listDirn, $listOrder); ?> </th> <?php endif; ?> <?php if ($this->params->get('list_show_votes', 0) && $this->vote) : ?> <th scope="col" id="categorylist_header_votes"> <?php echo HTMLHelper::_('grid.sort', 'COM_CONTENT_VOTES', 'rating_count', $listDirn, $listOrder); ?> </th> <?php endif; ?> <?php if ($this->params->get('list_show_ratings', 0) && $this->vote) : ?> <th scope="col" id="categorylist_header_ratings"> <?php echo HTMLHelper::_('grid.sort', 'COM_CONTENT_RATINGS', 'rating', $listDirn, $listOrder); ?> </th> <?php endif; ?> <?php if ($isEditable) : ?> <th scope="col" id="categorylist_header_edit"><?php echo Text::_('COM_CONTENT_EDIT_ITEM'); ?></th> <?php endif; ?> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $article) : ?> <?php if ($this->items[$i]->state == ContentComponent::CONDITION_UNPUBLISHED) : ?> <tr class="system-unpublished cat-list-row<?php echo $i % 2; ?>"> <?php else : ?> <tr class="cat-list-row<?php echo $i % 2; ?>" > <?php endif; ?> <th class="list-title" scope="row"> <?php if (in_array($article->access, $this->user->getAuthorisedViewLevels())) : ?> <a href="<?php echo Route::_(RouteHelper::getArticleRoute($article->slug, $article->catid, $article->language)); ?>"> <?php echo $this->escape($article->title); ?> </a> <?php if (Associations::isEnabled() && $this->params->get('show_associations')) : ?> <div class="cat-list-association"> <?php $associations = AssociationHelper::displayAssociations($article->id); ?> <?php foreach ($associations as $association) : ?> <?php if ($this->params->get('flags', 1) && $association['language']->image) : ?> <?php $flag = HTMLHelper::_('image', 'mod_languages/' . $association['language']->image . '.gif', $association['language']->title_native, ['title' => $association['language']->title_native], true); ?> <a href="<?php echo Route::_($association['item']); ?>"><?php echo $flag; ?></a> <?php else : ?> <?php $class = 'btn btn-secondary btn-sm btn-' . strtolower($association['language']->lang_code); ?> <a class="<?php echo $class; ?>" title="<?php echo $association['language']->title_native; ?>" href="<?php echo Route::_($association['item']); ?>"><?php echo $association['language']->lang_code; ?> <span class="visually-hidden"><?php echo $association['language']->title_native; ?></span> </a> <?php endif; ?> <?php endforeach; ?> </div> <?php endif; ?> <?php else : ?> <?php echo $this->escape($article->title) . ' : '; $itemId = Factory::getApplication()->getMenu()->getActive()->id; $link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false)); $link->setVar('return', base64_encode(RouteHelper::getArticleRoute($article->slug, $article->catid, $article->language))); ?> <a href="<?php echo $link; ?>" class="register"> <?php echo Text::_('COM_CONTENT_REGISTER_TO_READ_MORE'); ?> </a> <?php if (Associations::isEnabled() && $this->params->get('show_associations')) : ?> <div class="cat-list-association"> <?php $associations = AssociationHelper::displayAssociations($article->id); ?> <?php foreach ($associations as $association) : ?> <?php if ($this->params->get('flags', 1)) : ?> <?php $flag = HTMLHelper::_('image', 'mod_languages/' . $association['language']->image . '.gif', $association['language']->title_native, ['title' => $association['language']->title_native], true); ?> <a href="<?php echo Route::_($association['item']); ?>"><?php echo $flag; ?></a> <?php else : ?> <?php $class = 'btn btn-secondary btn-sm btn-' . strtolower($association['language']->lang_code); ?> <a class="<?php echo $class; ?>" title="<?php echo $association['language']->title_native; ?>" href="<?php echo Route::_($association['item']); ?>"><?php echo $association['language']->lang_code; ?> <span class="visually-hidden"><?php echo $association['language']->title_native; ?></span> </a> <?php endif; ?> <?php endforeach; ?> </div> <?php endif; ?> <?php endif; ?> <?php if ($article->state == ContentComponent::CONDITION_UNPUBLISHED) : ?> <div> <span class="list-published badge bg-warning text-light"> <?php echo Text::_('JUNPUBLISHED'); ?> </span> </div> <?php endif; ?> <?php if ($article->publish_up > $currentDate) : ?> <div> <span class="list-published badge bg-warning text-light"> <?php echo Text::_('JNOTPUBLISHEDYET'); ?> </span> </div> <?php endif; ?> <?php if (!is_null($article->publish_down) && $article->publish_down < $currentDate) : ?> <div> <span class="list-published badge bg-warning text-light"> <?php echo Text::_('JEXPIRED'); ?> </span> </div> <?php endif; ?> </th> <?php if ($this->params->get('list_show_date')) : ?> <td class="list-date small"> <?php echo HTMLHelper::_( 'date', $article->displayDate, $this->escape($this->params->get('date_format', Text::_('DATE_FORMAT_LC3'))) ); ?> </td> <?php endif; ?> <?php if ($this->params->get('list_show_author', 1)) : ?> <td class="list-author"> <?php if (!empty($article->author) || !empty($article->created_by_alias)) : ?> <?php $author = $article->author ?> <?php $author = $article->created_by_alias ?: $author; ?> <?php if (!empty($article->contact_link) && $this->params->get('link_author')) : ?> <?php if ($this->params->get('show_headings')) : ?> <?php echo HTMLHelper::_('link', $article->contact_link, $author); ?> <?php else : ?> <?php echo Text::sprintf('COM_CONTENT_WRITTEN_BY', HTMLHelper::_('link', $article->contact_link, $author)); ?> <?php endif; ?> <?php else : ?> <?php if ($this->params->get('show_headings')) : ?> <?php echo $author; ?> <?php else : ?> <?php echo Text::sprintf('COM_CONTENT_WRITTEN_BY', $author); ?> <?php endif; ?> <?php endif; ?> <?php endif; ?> </td> <?php endif; ?> <?php if ($this->params->get('list_show_hits', 1)) : ?> <td class="list-hits"> <span class="badge bg-info"> <?php if ($this->params->get('show_headings')) : ?> <?php echo $article->hits; ?> <?php else : ?> <?php echo Text::sprintf('JGLOBAL_HITS_COUNT', $article->hits); ?> <?php endif; ?> </span> </td> <?php endif; ?> <?php if ($this->params->get('list_show_votes', 0) && $this->vote) : ?> <td class="list-votes"> <span class="badge bg-success"> <?php if ($this->params->get('show_headings')) : ?> <?php echo $article->rating_count; ?> <?php else : ?> <?php echo Text::sprintf('COM_CONTENT_VOTES_COUNT', $article->rating_count); ?> <?php endif; ?> </span> </td> <?php endif; ?> <?php if ($this->params->get('list_show_ratings', 0) && $this->vote) : ?> <td class="list-ratings"> <span class="badge bg-warning text-light"> <?php if ($this->params->get('show_headings')) : ?> <?php echo $article->rating; ?> <?php else : ?> <?php echo Text::sprintf('COM_CONTENT_RATINGS_COUNT', $article->rating); ?> <?php endif; ?> </span> </td> <?php endif; ?> <?php if ($isEditable) : ?> <td class="list-edit"> <?php if ($article->params->get('access-edit')) : ?> <?php echo HTMLHelper::_('contenticon.edit', $article, $article->params); ?> <?php endif; ?> </td> <?php endif; ?> </tr> <?php endforeach; ?> </tbody> </table> <?php endif; ?> <?php // Code to add a link to submit an article. ?> <?php if ($this->category->getParams()->get('access-create')) : ?> <?php echo HTMLHelper::_('contenticon.create', $this->category, $this->category->params); ?> <?php endif; ?> <?php // Add pagination links ?> <?php if (!empty($this->items)) : ?> <?php if (($this->params->def('show_pagination', 2) == 1 || ($this->params->get('show_pagination') == 2)) && ($this->pagination->pagesTotal > 1)) : ?> <div class="com-content-category__navigation w-100"> <?php if ($this->params->def('show_pagination_results', 1)) : ?> <p class="com-content-category__counter counter float-end pt-3 pe-2"> <?php echo $this->pagination->getPagesCounter(); ?> </p> <?php endif; ?> <div class="com-content-category__pagination"> <?php echo $this->pagination->getPagesLinks(); ?> </div> </div> <?php endif; ?> <?php endif; ?> <div> <input type="hidden" name="filter_order" value=""> <input type="hidden" name="filter_order_Dir" value=""> <input type="hidden" name="limitstart" value=""> <input type="hidden" name="task" value=""> </div> </form> PK c �\�Sʉ� � category/.htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK c �\P��S� � category/blog_children.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; use Joomla\Component\Content\Site\Helper\RouteHelper; /** @var \Joomla\Component\Content\Site\View\Category\HtmlView $this */ $lang = $this->getLanguage(); $user = $this->getCurrentUser(); $groups = $user->getAuthorisedViewLevels(); if ($this->maxLevel != 0 && count($this->children[$this->category->id]) > 0) : ?> <?php foreach ($this->children[$this->category->id] as $id => $child) : ?> <?php // Check whether category access level allows access to subcategories. ?> <?php if (in_array($child->access, $groups)) : ?> <?php if ($this->params->get('show_empty_categories') || $child->numitems || count($child->getChildren())) : ?> <div class="com-content-category-blog__child"> <?php if ($lang->isRtl()) : ?> <h3 class="page-header item-title"> <?php if ($this->params->get('show_cat_num_articles', 1)) : ?> <span class="badge bg-info tip"> <?php echo $child->getNumItems(true); ?> </span> <?php endif; ?> <a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>"> <?php echo $this->escape($child->title); ?></a> <?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?> <a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a> <?php endif; ?> </h3> <?php else : ?> <h3 class="page-header item-title"><a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>"> <?php echo $this->escape($child->title); ?></a> <?php if ($this->params->get('show_cat_num_articles', 1)) : ?> <span class="badge bg-info"> <?php echo Text::_('COM_CONTENT_NUM_ITEMS'); ?> <?php echo $child->getNumItems(true); ?> </span> <?php endif; ?> <?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?> <a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a> <?php endif; ?> </h3> <?php endif; ?> <?php if ($this->params->get('show_subcat_desc') == 1) : ?> <?php if ($child->description) : ?> <div class="com-content-category-blog__description category-desc"> <?php echo HTMLHelper::_('content.prepare', $child->description, '', 'com_content.category'); ?> </div> <?php endif; ?> <?php endif; ?> <?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?> <div class="com-content-category-blog__children collapse fade" id="category-<?php echo $child->id; ?>"> <?php $this->children[$child->id] = $child->getChildren(); $this->category = $child; $this->maxLevel--; echo $this->loadTemplate('children'); $this->category = $child->getParent(); $this->maxLevel++; ?> </div> <?php endif; ?> </div> <?php endif; ?> <?php endif; ?> <?php endforeach; ?> <?php endif; PK c �\D��E? ? archive/default_items.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\Component\Content\Site\Helper\RouteHelper; /** @var \Joomla\Component\Content\Site\View\Archive\HtmlView $this */ $params = $this->params; ?> <div id="archive-items" class="com-content-archive__items"> <?php foreach ($this->items as $i => $item) : ?> <?php $info = $item->params->get('info_block_position', 0); ?> <div class="row<?php echo $i % 2; ?>"> <div class="page-header"> <h2> <?php if ($params->get('link_titles')) : ?> <a href="<?php echo Route::_(RouteHelper::getArticleRoute($item->slug, $item->catid, $item->language)); ?>" > <?php echo $this->escape($item->title); ?> </a> <?php else : ?> <?php echo $this->escape($item->title); ?> <?php endif; ?> </h2> <?php // Content is generated by content plugin event "onContentAfterTitle" ?> <?php echo $item->event->afterDisplayTitle; ?> </div> <?php $useDefList = ($params->get('show_modify_date') || $params->get('show_publish_date') || $params->get('show_create_date') || $params->get('show_hits') || $params->get('show_category') || $params->get('show_parent_category')); ?> <?php if ($useDefList && ($info == 0 || $info == 2)) : ?> <?php echo LayoutHelper::render('joomla.content.info_block', ['item' => $item, 'params' => $params, 'position' => 'above']); ?> <?php endif; ?> <?php // Content is generated by content plugin event "onContentBeforeDisplay" ?> <?php echo $item->event->beforeDisplayContent; ?> <?php if ($params->get('show_intro')) : ?> <div class="intro" > <?php echo HTMLHelper::_('string.truncateComplex', $item->introtext, $params->get('introtext_limit')); ?> </div> <?php endif; ?> <?php if ($useDefList && ($info == 1 || $info == 2)) : ?> <?php echo LayoutHelper::render('joomla.content.info_block', ['item' => $item, 'params' => $params, 'position' => 'below']); ?> <?php endif; ?> <?php // Content is generated by content plugin event "onContentAfterDisplay" ?> <?php echo $item->event->afterDisplayContent; ?> </div> <?php endforeach; ?> </div> <div class="com-content-archive__navigation w-100"> <?php if ($this->params->def('show_pagination_results', 1)) : ?> <p class="com-content-archive__counter counter float-end pt-3 pe-2"> <?php echo $this->pagination->getPagesCounter(); ?> </p> <?php endif; ?> <div class="com-content-archive__pagination"> <?php echo $this->pagination->getPagesLinks(); ?> </div> </div> PK c �\M�X� � archive/default.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; /** @var \Joomla\Component\Content\Site\View\Archive\HtmlView $this */ ?> <div class="com-content-archive archive"> <?php if ($this->params->get('show_page_heading')) : ?> <div class="page-header"> <h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1> </div> <?php endif; ?> <form id="adminForm" action="<?php echo Route::_('index.php'); ?>" method="post" class="com-content-archive__form"> <fieldset class="com-content-archive__filters filters"> <legend class="visually-hidden"> <?php echo Text::_('COM_CONTENT_FORM_FILTER_LEGEND'); ?> </legend> <div class="filter-search form-inline"> <?php if ($this->params->get('filter_field') !== 'hide') : ?> <div class="mb-2"> <label class="filter-search-lbl visually-hidden" for="filter-search"><?php echo Text::_('COM_CONTENT_TITLE_FILTER_LABEL') . ' '; ?></label> <input type="text" name="filter-search" id="filter-search" value="<?php echo $this->escape($this->filter); ?>" class="inputbox col-md-2" placeholder="<?php echo Text::_('COM_CONTENT_TITLE_FILTER_LABEL'); ?>" > </div> <?php endif; ?> <span class="me-2"> <label class="visually-hidden" for="month"><?php echo Text::_('JMONTH'); ?></label> <?php echo $this->form->monthField; ?> </span> <span class="me-2"> <label class="visually-hidden" for="year"><?php echo Text::_('JYEAR'); ?></label> <?php echo $this->form->yearField; ?> </span> <span class="me-2"> <label class="visually-hidden" for="limit"><?php echo Text::_('JGLOBAL_DISPLAY_NUM'); ?></label> <?php echo $this->form->limitField; ?> </span> <button type="submit" class="btn btn-primary" style="vertical-align: top;"><?php echo Text::_('JGLOBAL_FILTER_BUTTON'); ?></button> <input type="hidden" name="view" value="archive"> <input type="hidden" name="option" value="com_content"> <input type="hidden" name="limitstart" value="0"> </div> </fieldset> </form> <?php echo $this->loadTemplate('items'); ?> </div> PK c �\^�1� � archive/default.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <metadata> <layout title="COM_CONTENT_ARCHIVE_VIEW_DEFAULT_TITLE" option="COM_CONTENT_ARCHIVE_VIEW_DEFAULT_OPTION"> <help key = "Menu_Item:_Article_Archived" /> <message> <![CDATA[COM_CONTENT_ARCHIVE_VIEW_DEFAULT_DESC]]> </message> </layout> <!-- Add fields to the request variables for the layout. --> <fields name="request"> <fieldset name="request"> <field name="catid" type="category" label="JCATEGORY" extension="com_content" multiple="true" layout="joomla.form.field.list-fancy-select" default=" " > <option value=" ">JOPTION_ALL_CATEGORIES</option> </field> </fieldset> </fields> <!-- Add fields to the parameters object for the layout. --> <fields name="params"> <!-- Basic options. --> <fieldset name="basic" label="JGLOBAL_ARCHIVE_OPTIONS" > <field name="orderby_sec" type="list" label="JGLOBAL_ARTICLE_ORDER_LABEL" default="alpha" validate="options" > <option value="date">JGLOBAL_OLDEST_FIRST</option> <option value="rdate">JGLOBAL_MOST_RECENT_FIRST</option> <option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option> <option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option> <option value="author">JGLOBAL_AUTHOR_ALPHABETICAL</option> <option value="rauthor">JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL</option> <option value="hits" requires="hits">JGLOBAL_MOST_HITS</option> <option value="rhits" requires="hits">JGLOBAL_LEAST_HITS</option> <option value="order">JGLOBAL_ARTICLE_MANAGER_ORDER</option> <option value="vote" requires="vote">JGLOBAL_VOTES_DESC</option> <option value="rvote" requires="vote">JGLOBAL_VOTES_ASC</option> <option value="rank" requires="vote">JGLOBAL_RATINGS_DESC</option> <option value="rrank" requires="vote">JGLOBAL_RATINGS_ASC</option> </field> <field name="order_date" type="list" label="JGLOBAL_ORDERING_DATE_LABEL" default="created" validate="options" > <option value="created">JGLOBAL_Created</option> <option value="modified">JGLOBAL_Modified</option> <option value="published">JPUBLISHED</option> </field> <field name="year_sort_order" type="list" label="COM_CONTENT_FIELD_YEAR_SORT_LABEL" description="COM_CONTENT_FIELD_YEAR_SORT_DESC" default="ASC" validate="options" > <option value="ASC">JGLOBAL_OLDEST_FIRST</option> <option value="DESC">JGLOBAL_MOST_RECENT_FIRST</option> </field> <field name="display_num" type="list" label="JGLOBAL_NUMBER_ITEMS_LIST_LABEL" default="" useglobal="true" validate="options" > <option value="5">J5</option> <option value="10">J10</option> <option value="15">J15</option> <option value="20">J20</option> <option value="25">J25</option> <option value="30">J30</option> <option value="50">J50</option> <option value="100">J100</option> <option value="0">JALL</option> </field> <field name="filter_field" type="list" label="JGLOBAL_FILTER_FIELD_LABEL" default="" useglobal="true" validate="options" > <option value="hide">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="introtext_limit" type="number" label="JGLOBAL_ARCHIVE_ARTICLES_FIELD_INTROTEXTLIMIT_LABEL" filter="integer" default="100" /> </fieldset> <!-- Articles options. --> <fieldset name="articles" label="COM_CONTENT_ATTRIBS_ARTICLE_SETTINGS_LABEL" > <field name="show_intro" type="list" label="JGLOBAL_SHOW_INTRO_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="info_block_position" type="list" label="COM_CONTENT_FIELD_INFOBLOCK_POSITION_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option> <option value="0">COM_CONTENT_FIELD_OPTION_ABOVE</option> <option value="1">COM_CONTENT_FIELD_OPTION_BELOW</option> <option value="2">COM_CONTENT_FIELD_OPTION_SPLIT</option> </field> <field name="info_block_show_title" type="list" label="COM_CONTENT_FIELD_INFOBLOCK_TITLE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_category" type="list" label="JGLOBAL_SHOW_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_category" type="list" label="JGLOBAL_LINK_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_parent_category" type="list" label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_parent_category" type="list" label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="link_titles" type="list" label="JGLOBAL_LINKED_TITLES_LABEL" description="JGLOBAL_LINKED_TITLES_DESC" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_author" type="list" label="JGLOBAL_SHOW_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="link_author" type="list" label="JGLOBAL_LINK_AUTHOR_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_create_date" type="list" label="JGLOBAL_SHOW_CREATE_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_modify_date" type="list" label="JGLOBAL_SHOW_MODIFY_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_publish_date" type="list" label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_item_navigation" type="list" label="JGLOBAL_SHOW_NAVIGATION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_hits" type="list" label="JGLOBAL_SHOW_HITS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> </fieldset> </fields> </metadata> PK c �\�Sʉ� � archive/.htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK c �\j��2! ! form/edit.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <metadata> <layout title="COM_CONTENT_FORM_VIEW_DEFAULT_TITLE" option="COM_CONTENT_FORM_VIEW_DEFAULT_OPTION"> <help key = "Menu_Item:_Create_Article" /> <message> <![CDATA[COM_CONTENT_FORM_VIEW_DEFAULT_DESC]]> </message> </layout> <fields name="params"> <fieldset name="basic" addfieldprefix="Joomla\Component\Categories\Administrator\Field" > <field name="enable_category" type="radio" label="COM_CONTENT_CREATE_ARTICLE_CATEGORY_LABEL" layout="joomla.form.field.radio.switcher" default="0" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="catid" type="modal_category" label="JGLOBAL_CHOOSE_CATEGORY_LABEL" extension="com_content" select="true" new="true" edit="true" clear="true" showon="enable_category:1" /> <field name="redirect_menuitem" type="modal_menu" label="COM_CONTENT_CREATE_ARTICLE_REDIRECTMENU_LABEL" description="COM_CONTENT_CREATE_ARTICLE_REDIRECTMENU_DESC" > <option value="">JDEFAULT</option> </field> <field name="custom_cancel_redirect" type="radio" label="COM_CONTENT_CREATE_ARTICLE_CUSTOM_CANCEL_REDIRECT_LABEL" description="COM_CONTENT_CREATE_ARTICLE_CUSTOM_CANCEL_REDIRECT_DESC" layout="joomla.form.field.radio.switcher" default="0" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="cancel_redirect_menuitem" type="modal_menu" label="COM_CONTENT_CREATE_ARTICLE_CANCEL_REDIRECT_MENU_LABEL" description="COM_CONTENT_CREATE_ARTICLE_CANCEL_REDIRECT_MENU_DESC" showon="custom_cancel_redirect:1" > <option value="">JDEFAULT</option> </field> </fieldset> </fields> </metadata> PK c �\��E# E# form/edit.phpnu �[��� <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Component\ComponentHelper; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Multilanguage; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; /** @var \Joomla\Component\Content\Site\View\Form\HtmlView $this */ /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->getDocument()->getWebAssetManager(); $wa->useScript('keepalive') ->useScript('form.validate') ->useScript('com_content.form-edit'); $this->tab_name = 'com-content-form'; $this->ignore_fieldsets = ['image-intro', 'image-full', 'jmetadata', 'item_associations']; $this->useCoreUI = true; // Create shortcut to parameters. $params = $this->state->get('params'); // This checks if the editor config options have ever been saved. If they haven't they will fall back to the original settings if (!$params->exists('show_publishing_options')) { $params->set('show_urls_images_frontend', '0'); } ?> <div class="edit item-page"> <?php if ($params->get('show_page_heading')) : ?> <div class="page-header"> <h1> <?php echo $this->escape($params->get('page_heading')); ?> </h1> </div> <?php endif; ?> <form action="<?php echo Route::_('index.php'); ?>" method="post" name="adminForm" id="adminForm" class="form-validate form-vertical"> <fieldset> <?php echo HTMLHelper::_('uitab.startTabSet', $this->tab_name, ['active' => 'editor', 'recall' => true, 'breakpoint' => 768]); ?> <?php echo HTMLHelper::_('uitab.addTab', $this->tab_name, 'editor', Text::_('COM_CONTENT_ARTICLE_CONTENT')); ?> <?php echo $this->form->renderField('title'); ?> <?php if (is_null($this->item->id)) : ?> <?php echo $this->form->renderField('alias'); ?> <?php endif; ?> <?php echo $this->form->renderField('articletext'); ?> <?php if ($this->captchaEnabled) : ?> <?php echo $this->form->renderField('captcha'); ?> <?php endif; ?> <?php echo HTMLHelper::_('uitab.endTab'); ?> <?php if ($params->get('show_urls_images_frontend')) : ?> <?php echo HTMLHelper::_('uitab.addTab', $this->tab_name, 'images', Text::_('COM_CONTENT_IMAGES_AND_URLS')); ?> <?php echo $this->form->renderField('image_intro', 'images'); ?> <?php echo $this->form->renderField('image_intro_alt', 'images'); ?> <?php echo $this->form->renderField('image_intro_alt_empty', 'images'); ?> <?php echo $this->form->renderField('image_intro_caption', 'images'); ?> <?php echo $this->form->renderField('float_intro', 'images'); ?> <?php echo $this->form->renderField('image_fulltext', 'images'); ?> <?php echo $this->form->renderField('image_fulltext_alt', 'images'); ?> <?php echo $this->form->renderField('image_fulltext_alt_empty', 'images'); ?> <?php echo $this->form->renderField('image_fulltext_caption', 'images'); ?> <?php echo $this->form->renderField('float_fulltext', 'images'); ?> <?php echo $this->form->renderField('urla', 'urls'); ?> <?php echo $this->form->renderField('urlatext', 'urls'); ?> <div class="control-group"> <div class="controls"> <?php echo $this->form->getInput('targeta', 'urls'); ?> </div> </div> <?php echo $this->form->renderField('urlb', 'urls'); ?> <?php echo $this->form->renderField('urlbtext', 'urls'); ?> <div class="control-group"> <div class="controls"> <?php echo $this->form->getInput('targetb', 'urls'); ?> </div> </div> <?php echo $this->form->renderField('urlc', 'urls'); ?> <?php echo $this->form->renderField('urlctext', 'urls'); ?> <div class="control-group"> <div class="controls"> <?php echo $this->form->getInput('targetc', 'urls'); ?> </div> </div> <?php echo HTMLHelper::_('uitab.endTab'); ?> <?php endif; ?> <?php echo LayoutHelper::render('joomla.edit.params', $this); ?> <?php echo HTMLHelper::_('uitab.addTab', $this->tab_name, 'publishing', Text::_('COM_CONTENT_PUBLISHING')); ?> <?php echo $this->form->renderField('transition'); ?> <?php echo $this->form->renderField('state'); ?> <?php echo $this->form->renderField('catid'); ?> <?php echo $this->form->renderField('tags'); ?> <?php echo $this->form->renderField('note'); ?> <?php if ($params->get('save_history', 0)) : ?> <?php echo $this->form->renderField('version_note'); ?> <?php endif; ?> <?php if ($params->get('show_publishing_options', 1) == 1) : ?> <?php echo $this->form->renderField('created_by_alias'); ?> <?php endif; ?> <?php if ($this->item->params->get('access-change')) : ?> <?php echo $this->form->renderField('featured'); ?> <?php if ($params->get('show_publishing_options', 1) == 1) : ?> <?php echo $this->form->renderField('featured_up'); ?> <?php echo $this->form->renderField('featured_down'); ?> <?php echo $this->form->renderField('publish_up'); ?> <?php echo $this->form->renderField('publish_down'); ?> <?php endif; ?> <?php endif; ?> <?php echo $this->form->renderField('access'); ?> <?php if (is_null($this->item->id)) : ?> <div class="control-group"> <div class="control-label"> </div> <div class="controls"> <?php echo Text::_('COM_CONTENT_ORDERING'); ?> </div> </div> <?php endif; ?> <?php echo HTMLHelper::_('uitab.endTab'); ?> <?php if (Multilanguage::isEnabled()) : ?> <?php echo HTMLHelper::_('uitab.addTab', $this->tab_name, 'language', Text::_('JFIELD_LANGUAGE_LABEL')); ?> <?php echo $this->form->renderField('language'); ?> <?php echo HTMLHelper::_('uitab.endTab'); ?> <?php else : ?> <?php echo $this->form->renderField('language'); ?> <?php endif; ?> <?php if ($params->get('show_publishing_options', 1) == 1) : ?> <?php echo HTMLHelper::_('uitab.addTab', $this->tab_name, 'metadata', Text::_('COM_CONTENT_METADATA')); ?> <?php echo $this->form->renderField('metadesc'); ?> <?php echo $this->form->renderField('metakey'); ?> <?php echo HTMLHelper::_('uitab.endTab'); ?> <?php endif; ?> <?php echo HTMLHelper::_('uitab.endTabSet'); ?> <?php echo $this->form->renderControlFields(); ?> </fieldset> <div class="d-grid gap-2 d-sm-block mb-2"> <button type="button" class="btn btn-primary" data-submit-task="article.apply"> <span class="icon-check" aria-hidden="true"></span> <?php echo Text::_('JSAVE'); ?> </button> <button type="button" class="btn btn-primary" data-submit-task="article.save"> <span class="icon-check" aria-hidden="true"></span> <?php echo Text::_('JSAVEANDCLOSE'); ?> </button> <?php if ($this->showSaveAsCopy) : ?> <button type="button" class="btn btn-primary" data-submit-task="article.save2copy"> <span class="icon-copy" aria-hidden="true"></span> <?php echo Text::_('JSAVEASCOPY'); ?> </button> <?php endif; ?> <button type="button" class="btn btn-danger" data-submit-task="article.cancel"> <span class="icon-times" aria-hidden="true"></span> <?php echo Text::_('JCANCEL'); ?> </button> <?php if ($params->get('save_history', 0) && $this->item->id && ComponentHelper::isEnabled('com_contenthistory')) : ?> <?php echo $this->form->getInput('contenthistory'); ?> <?php endif; ?> </div> </form> </div> PK c �\�Sʉ� � form/.htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK p �\����( �( styles/default.phpnu �[��� <?php /** * @package Joomla.Administrator * @subpackage com_templates * * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\CMS\Session\Session; /** @var \Joomla\Component\Templates\Administrator\View\Styles\HtmlView $this */ /** @var \Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->getDocument()->getWebAssetManager(); $wa->useScript('table.columns') ->useScript('multiselect'); $user = $this->getCurrentUser(); $clientId = (int) $this->state->get('client_id', 0); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <form action="<?php echo Route::_('index.php?option=com_templates&view=styles'); ?>" method="post" name="adminForm" id="adminForm"> <div class="row"> <div class="col-md-12"> <div id="j-main-container" class="j-main-container"> <?php echo LayoutHelper::render('joomla.searchtools.default', ['view' => $this, 'options' => ['selectorFieldName' => 'client_id']]); ?> <?php if ($this->total > 0) : ?> <table class="table" id="styleList"> <caption class="visually-hidden"> <?php echo Text::_('COM_TEMPLATES_STYLES_TABLE_CAPTION'); ?>, <span id="orderedBy"><?php echo Text::_('JGLOBAL_SORTED_BY'); ?> </span>, <span id="filteredBy"><?php echo Text::_('JGLOBAL_FILTERED_BY'); ?></span> </caption> <thead> <tr> <td class="w-1 text-center"> <?php echo HTMLHelper::_('grid.checkall'); ?> </td> <th scope="col"> <?php echo HTMLHelper::_('searchtools.sort', 'COM_TEMPLATES_HEADING_STYLE', 'a.title', $listDirn, $listOrder); ?> </th> <th scope="col" class="w-5 text-center"> <?php echo Text::_('COM_TEMPLATES_TEMPLATE_PREVIEW'); ?> </th> <th scope="col" class="w-12 text-center"> <?php echo HTMLHelper::_('searchtools.sort', 'COM_TEMPLATES_HEADING_DEFAULT', 'a.home', $listDirn, $listOrder); ?> </th> <?php if ($clientId === 0) : ?> <th scope="col" class="w-12 d-none d-md-table-cell"> <?php echo Text::_('COM_TEMPLATES_HEADING_PAGES'); ?> </th> <?php endif; ?> <th scope="col" class="w-12 d-none d-md-table-cell"> <?php echo HTMLHelper::_('searchtools.sort', 'COM_TEMPLATES_HEADING_TEMPLATE', 'a.template', $listDirn, $listOrder); ?> </th> <th scope="col" class="w-5 d-none d-md-table-cell"> <?php echo HTMLHelper::_('searchtools.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $canCreate = $user->authorise('core.create', 'com_templates'); $canEdit = $user->authorise('core.edit', 'com_templates'); $canChange = $user->authorise('core.edit.state', 'com_templates'); ?> <tr class="row<?php echo $i % 2; ?>"> <td class="w-1 text-center"> <?php echo HTMLHelper::_('grid.id', $i, $item->id, false, 'cid', 'cb', $item->title); ?> </td> <th scope="row"> <?php if ($canEdit) : ?> <a href="<?php echo Route::_('index.php?option=com_templates&task=style.edit&id=' . (int) $item->id); ?>" title="<?php echo Text::_('JACTION_EDIT'); ?> <?php echo $this->escape($item->title); ?>"> <?php echo $this->escape($item->title); ?></a> <?php else : ?> <?php echo $this->escape($item->title); ?> <?php endif; ?> </th> <td class="text-center"> <?php if ($this->preview) : ?> <?php $client = (int) $item->client_id === 1 ? 'administrator' : 'site'; ?> <!-- external link icon generated by css --> <a href="<?php echo Route::link($client, 'index.php?tp=1&templateStyle=' . (int) $item->id); ?>" target="_blank" class="jgrid" aria-labelledby="preview-<?php echo (int) $item->id; ?>"></a> <div role="tooltip" id="preview-<?php echo (int) $item->id; ?>"><?php echo Text::sprintf('COM_TEMPLATES_TEMPLATE_NEW_PREVIEW', $item->title); ?></div> <?php else : ?> <span class="icon-eye-slash" aria-labelledby="nopreview-<?php echo (int) $item->id; ?>" aria-hidden="true"></span> <div role="tooltip" id="nopreview-<?php echo (int) $item->id; ?>"><?php echo Text::_('COM_TEMPLATES_TEMPLATE_NO_PREVIEW'); ?></div> <?php endif; ?> </td> <td class="text-center"> <?php if ($item->home == '0' || $item->home == '1') : ?> <?php echo HTMLHelper::_('jgrid.isdefault', $item->home != '0', $i, 'styles.', $canChange && $item->home != '1'); ?> <?php elseif ($canChange) :?> <a href="<?php echo Route::_('index.php?option=com_templates&task=styles.unsetDefault&cid[]=' . $item->id . '&' . Session::getFormToken() . '=1'); ?>"> <?php if ($item->image) : ?> <?php echo HTMLHelper::_('image', 'mod_languages/' . $item->image . '.gif', $item->language_title, ['title' => Text::sprintf('COM_TEMPLATES_GRID_UNSET_LANGUAGE', $item->language_title)], true); ?> <?php else : ?> <span class="badge bg-secondary" title="<?php echo Text::sprintf('COM_TEMPLATES_GRID_UNSET_LANGUAGE', $item->language_title); ?>"><?php echo $item->home; ?></span> <?php endif; ?> </a> <?php else : ?> <?php if ($item->image) : ?> <?php echo HTMLHelper::_('image', 'mod_languages/' . $item->image . '.gif', $item->language_title, ['title' => $item->language_title], true); ?> <?php else : ?> <span class="badge bg-secondary" title="<?php echo $item->language_title; ?>"><?php echo $item->home; ?></span> <?php endif; ?> <?php endif; ?> </td> <?php if ($clientId === 0) : ?> <td class="small d-none d-md-table-cell"> <?php if ($item->home == '1') : ?> <?php echo Text::_('COM_TEMPLATES_STYLES_PAGES_ALL'); ?> <?php elseif ($item->home != '0' && $item->home != '1') : ?> <?php echo Text::sprintf('COM_TEMPLATES_STYLES_PAGES_ALL_LANGUAGE', $this->escape($item->language_title)); ?> <?php elseif ($item->assigned > 0) : ?> <?php echo Text::plural('COM_TEMPLATES_STYLES_PAGES_SELECTED', $this->escape($item->assigned)); ?> <?php else : ?> <?php echo Text::_('COM_TEMPLATES_STYLES_PAGES_NONE'); ?> <?php endif; ?> </td> <?php endif; ?> <td class="small d-none d-md-table-cell"> <a href="<?php echo Route::_('index.php?option=com_templates&view=template&id=' . (int) $item->e_id); ?>"> <?php echo ucfirst($this->escape($item->template)); ?> </a> </td> <td class="d-none d-md-table-cell"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php // load the pagination. ?> <?php echo $this->pagination->getListFooter(); ?> <?php endif; ?> <input type="hidden" name="task" value=""> <input type="hidden" name="boxchecked" value="0"> <?php echo HTMLHelper::_('form.token'); ?> </div> </div> </div> </form> PK p �\�h}"� � styles/default.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <metadata> <layout title="COM_TEMPLATES_STYLE_VIEW_DEFAULT_TITLE"> <message> <![CDATA[COM_TEMPLATES_STYLE_VIEW_DEFAULT_DESC]]> </message> </layout> </metadata> PK p �\�Sʉ� � styles/.htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK p �\u��# �# templates/default.phpnu �[��� <?php /** * @package Joomla.Administrator * @subpackage com_templates * * @copyright (C) 2008 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; /** @var \Joomla\Component\Templates\Administrator\View\Templates\HtmlView $this */ /** @var \Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->getDocument()->getWebAssetManager(); $wa->useScript('table.columns') ->useScript('multiselect'); $user = $this->getCurrentUser(); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <form action="<?php echo Route::_('index.php?option=com_templates&view=templates'); ?>" method="post" name="adminForm" id="adminForm"> <div class="row"> <div class="col-md-12"> <div id="j-main-container" class="j-main-container"> <?php echo LayoutHelper::render('joomla.searchtools.default', ['view' => $this, 'options' => ['selectorFieldName' => 'client_id']]); ?> <?php if ($this->total > 0) : ?> <table class="table" id="templateList"> <caption class="visually-hidden"> <?php echo Text::_('COM_TEMPLATES_TEMPLATES_TABLE_CAPTION'); ?>, <span id="orderedBy"><?php echo Text::_('JGLOBAL_SORTED_BY'); ?> </span>, <span id="filteredBy"><?php echo Text::_('JGLOBAL_FILTERED_BY'); ?></span> </caption> <thead> <tr> <th scope="col" class="w-20 col1template d-none d-md-table-cell"> <?php echo Text::_('COM_TEMPLATES_HEADING_IMAGE'); ?> </th> <th scope="col" class="w-30"> <?php echo HTMLHelper::_('searchtools.sort', 'COM_TEMPLATES_HEADING_TEMPLATE', 'a.element', $listDirn, $listOrder); ?> </th> <th scope="col" class="w-10 d-none d-md-table-cell text-center"> <?php echo Text::_('JVERSION'); ?> </th> <th scope="col" class="w-10 d-none d-md-table-cell text-center"> <?php echo Text::_('JDATE'); ?> </th> <th scope="col" class="w-25 d-none d-md-table-cell text-center"> <?php echo Text::_('JAUTHOR'); ?> </th> <?php if ($this->pluginState) : ?> <th scope="col" class="w-10 d-none d-md-table-cell text-center"> <?php echo Text::_('COM_TEMPLATES_OVERRIDES'); ?> </th> <?php endif; ?> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : ?> <tr class="row<?php echo $i % 2; ?>"> <td class="text-center d-none d-md-table-cell"> <?php echo HTMLHelper::_('templates.thumb', $item); ?> <?php echo HTMLHelper::_('templates.thumbModal', $item); ?> </td> <th scope="row" class="template-name"> <a href="<?php echo Route::_('index.php?option=com_templates&view=template&id=' . (int) $item->extension_id . '&file=' . $this->file); ?>"> <?php echo Text::sprintf('COM_TEMPLATES_TEMPLATE_DETAILS', ucfirst($item->name)); ?></a> <div> <?php if ($this->preview) : ?> <?php $client = (int) $item->client_id === 1 ? 'administrator' : 'site'; ?> <a href="<?php echo Route::link($client, 'index.php?tp=1&template=' . $item->element); ?>" target="_blank" aria-labelledby="preview-<?php echo $item->extension_id; ?>"> <?php echo Text::_('COM_TEMPLATES_TEMPLATE_PREVIEW'); ?> </a> <div role="tooltip" id="preview-<?php echo $item->extension_id; ?>"><?php echo Text::sprintf('COM_TEMPLATES_TEMPLATE_NEW_PREVIEW', $item->name); ?></div> <?php else : ?> <?php echo Text::_('COM_TEMPLATES_TEMPLATE_NO_PREVIEW'); ?> <?php endif; ?> </div> <?php if (isset($item->xmldata->inheritable) && $item->xmldata->inheritable) : ?> <div class="badge bg-primary"> <span class="fas fa-link text-light" aria-hidden="true"></span> <?php echo Text::_('COM_TEMPLATES_TEMPLATE_IS_PARENT'); ?> </div> <?php endif; ?> <?php if (isset($item->xmldata->parent) && (string) $item->xmldata->parent !== '') : ?> <div class="badge bg-info text-light"> <span class="fas fa-clone text-light" aria-hidden="true"></span> <?php echo Text::sprintf('COM_TEMPLATES_TEMPLATE_IS_CHILD_OF', (string) $item->xmldata->parent); ?> </div> <?php endif; ?> </th> <td class="small d-none d-md-table-cell text-center"> <?php echo $this->escape($item->xmldata->get('version')); ?> </td> <td class="small d-none d-md-table-cell text-center"> <?php echo $this->escape($item->xmldata->get('creationDate')); ?> </td> <td class="d-none d-md-table-cell text-center"> <?php if ($author = $item->xmldata->get('author')) : ?> <div><?php echo $this->escape($author); ?></div> <?php else : ?> — <?php endif; ?> <?php if ($email = $item->xmldata->get('authorEmail')) : ?> <div><?php echo $this->escape($email); ?></div> <?php endif; ?> <?php if ($url = $item->xmldata->get('authorUrl')) : ?> <div><a href="<?php echo $this->escape($url); ?>"><?php echo $this->escape($url); ?></a></div> <?php endif; ?> </td> <?php if ($this->pluginState) : ?> <td class="d-none d-md-table-cell text-center"> <?php if (!empty($item->updated)) : ?> <a href="<?php echo Route::_('index.php?option=com_templates&view=template&id=' . (int) $item->extension_id . '#files'); ?>"> <span class="badge bg-warning"><?php echo Text::plural('COM_TEMPLATES_N_CONFLICT', $item->updated); ?></span> </a> <?php else : ?> <span class="badge bg-success"><?php echo Text::_('COM_TEMPLATES_UPTODATE'); ?></span> <?php endif; ?> </td> <?php endif; ?> </tr> <?php endforeach; ?> </tbody> </table> <?php // load the pagination. ?> <?php echo $this->pagination->getListFooter(); ?> <?php endif; ?> <input type="hidden" name="task" value=""> <input type="hidden" name="boxchecked" value="0"> <?php echo HTMLHelper::_('form.token'); ?> </div> </div> </div> </form> PK p �\��m&� � templates/default.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <metadata> <layout title="COM_TEMPLATES_TEMPLATES_VIEW_DEFAULT_TITLE"> <message> <![CDATA[COM_TEMPLATES_TEMPLATES_VIEW_DEFAULT_DESC]]> </message> </layout> </metadata> PK p �\�Sʉ� � templates/.htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK p �\z���# # ( template/default_modal_resize_footer.phpnu �[��� <?php /** * @package Joomla.Administrator * @subpackage com_templates * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; ?> <button type="button" class="btn btn-secondary" data-bs-dismiss="modal"><?php echo Text::_('COM_TEMPLATES_TEMPLATE_CLOSE'); ?></button> <button type="submit" class="btn btn-primary"><?php echo Text::_('COM_TEMPLATES_BUTTON_RESIZE'); ?></button> PK p �\�=)P� � &