File manager - Edit - /home/ferretapmx/public_html/default.php.tar
Back
home/ferretapmx/public_html/layouts/joomla/searchtools/default.php 0000644 00000010130 15231065670 0021617 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 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; $data = $displayData; // Receive overridable options $data['options'] = !empty($data['options']) ? $data['options'] : []; $noResultsText = ''; $hideActiveFilters = false; $showFilterButton = false; $showSelector = false; $selectorFieldName = $data['options']['selectorFieldName'] ?? 'client_id'; // If a filter form exists. if (isset($data['view']->filterForm) && !empty($data['view']->filterForm)) { // Checks if a selector (e.g. client_id) exists. if ($selectorField = $data['view']->filterForm->getField($selectorFieldName)) { $showSelector = $selectorField->getAttribute('filtermode', '') === 'selector' ? true : $showSelector; // Checks if a selector should be shown in the current layout. if (isset($data['view']->layout)) { $showSelector = $selectorField->getAttribute('layout', 'default') != $data['view']->layout ? false : $showSelector; } // Unset the selector field from active filters group. unset($data['view']->activeFilters[$selectorFieldName]); } // Checks if the filters button should exist. $filters = $data['view']->filterForm->getGroup('filter'); $showFilterButton = isset($filters['filter_search']) && count($filters) === 1 ? false : true; // Checks if it should show the be hidden. $hideActiveFilters = empty($data['view']->activeFilters); // Check if the no results message should appear. if (isset($data['view']->total) && (int) $data['view']->total === 0) { $noResults = $data['view']->filterForm->getFieldAttribute('search', 'noresults', '', 'filter'); if (!empty($noResults)) { $noResultsText = Text::_($noResults); } } } // Set some basic options. $customOptions = [ 'filtersHidden' => isset($data['options']['filtersHidden']) && $data['options']['filtersHidden'] ? $data['options']['filtersHidden'] : $hideActiveFilters, 'filterButton' => isset($data['options']['filterButton']) && $data['options']['filterButton'] ? $data['options']['filterButton'] : $showFilterButton, 'defaultLimit' => $data['options']['defaultLimit'] ?? Factory::getApplication()->get('list_limit', 20), 'searchFieldSelector' => '#filter_search', 'selectorFieldName' => $selectorFieldName, 'showSelector' => $showSelector, 'orderFieldSelector' => '#list_fullordering', 'showNoResults' => !empty($noResultsText), 'noResultsText' => !empty($noResultsText) ? $noResultsText : '', 'formSelector' => !empty($data['options']['formSelector']) ? $data['options']['formSelector'] : '#adminForm', ]; // Merge custom options in the options array. $data['options'] = array_merge($customOptions, $data['options']); // Add class to hide the active filters if needed. $filtersActiveClass = $hideActiveFilters ? '' : ' js-stools-container-filters-visible'; // Load search tools HTMLHelper::_('searchtools.form', $data['options']['formSelector'], $data['options']); ?> <div class="js-stools" role="search"> <?php if ($data['options']['showSelector']) : ?> <div class="js-stools-container-selector"> <?php echo $this->sublayout('selector', $data); ?> </div> <?php endif; ?> <div class="js-stools-container-bar"> <div class="btn-toolbar"> <?php echo $this->sublayout('bar', $data); ?> <?php echo $this->sublayout('list', $data); ?> </div> </div> <!-- Filters div --> <div class="js-stools-container-filters clearfix<?php echo $filtersActiveClass; ?>"> <?php if ($data['options']['filterButton']) : ?> <?php echo $this->sublayout('filters', $data); ?> <?php endif; ?> </div> </div> <?php if ($data['options']['showNoResults']) : ?> <?php echo $this->sublayout('noitems', $data); ?> <?php endif; ?> home/ferretapmx/public_html/modules/mod_wrapper/tmpl/default.php 0000644 00000001555 15231071667 0021271 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage mod_wrapper * * @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; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $app->getDocument()->getWebAssetManager(); $wa->registerAndUseScript('com_wrapper.iframe', 'com_wrapper/iframe-height.min.js', [], ['defer' => true]); ?> <iframe <?php echo $load; ?> id="blockrandom-<?php echo $id; ?>" name="<?php echo $target; ?>" src="<?php echo $url; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" loading="<?php echo $lazyloading; ?>" title="<?php echo $ititle; ?>" class="mod-wrapper wrapper"> <?php echo Text::_('MOD_WRAPPER_NO_IFRAMES'); ?> </iframe> home/ferretapmx/public_html/modules/mod_stats/tmpl/default.php 0000644 00000001024 15231071675 0020735 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage mod_stats * * @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; ?> <ul class="mod-stats list-group"> <?php foreach ($list as $item) : ?> <li class="list-group-item"> <?php echo $item->title; ?> <span class="badge bg-secondary float-end rounded-pill"><?php echo $item->data; ?></span> </li> <?php endforeach; ?> </ul> home/ferretapmx/public_html/modules/mod_feed/tmpl/default.php 0000644 00000010566 15231071676 0020516 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage mod_feed * * @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\Language\Text; use Joomla\Filter\OutputFilter; // Check if feed URL has been set if (empty($rssurl)) { echo '<div>' . Text::_('MOD_FEED_ERR_NO_URL') . '</div>'; return; } if (!empty($feed) && is_string($feed)) { echo $feed; } else { $lang = $app->getLanguage(); $myrtl = $params->get('rssrtl', 0); $direction = ' '; $isRtl = $lang->isRtl(); if ($isRtl && $myrtl == 0) { $direction = ' redirect-rtl'; } elseif ($isRtl && $myrtl == 1) { // Feed description $direction = ' redirect-ltr'; } elseif ($isRtl && $myrtl == 2) { $direction = ' redirect-rtl'; } elseif ($myrtl == 0) { $direction = ' redirect-ltr'; } elseif ($myrtl == 1) { $direction = ' redirect-ltr'; } elseif ($myrtl == 2) { $direction = ' redirect-rtl'; } if ($feed !== false) { ?> <div style="direction: <?php echo $rssrtl ? 'rtl' : 'ltr'; ?>;" class="text-<?php echo $rssrtl ? 'right' : 'left'; ?> feed"> <?php // Feed title if ($feed->title !== null && $params->get('rsstitle', 1)) { ?> <h2 class="<?php echo $direction; ?>"> <a href="<?php echo htmlspecialchars($rssurl, ENT_QUOTES, 'UTF-8'); ?>" target="_blank" rel="noopener"> <?php echo htmlspecialchars($feed->title, ENT_QUOTES, 'UTF-8'); ?></a> </h2> <?php } // Feed date if ($params->get('rssdate', 1) && ($feed->publishedDate !== null)) : ?> <h3> <?php echo HTMLHelper::_('date', $feed->publishedDate, Text::_('DATE_FORMAT_LC3')); ?> </h3> <?php endif; // Feed description if ($params->get('rssdesc', 1)) { ?> <?php echo $feed->description; ?> <?php } // Feed image if ($feed->image && $params->get('rssimage', 1)) : ?> <?php echo HTMLHelper::_('image', $feed->image->uri, $feed->image->title); ?> <?php endif; ?> <!-- Show items --> <?php if (!empty($feed)) { ?> <ul class="newsfeed"> <?php for ($i = 0, $max = min(count($feed), $params->get('rssitems', 3)); $i < $max; $i++) { ?> <?php $uri = $feed[$i]->uri || !$feed[$i]->isPermaLink ? trim($feed[$i]->uri) : trim($feed[$i]->guid); $uri = !$uri || stripos($uri, 'http') !== 0 ? $rssurl : $uri; $text = $feed[$i]->content !== '' ? trim($feed[$i]->content) : ''; ?> <li> <?php if (!empty($uri)) : ?> <span class="feed-link"> <a href="<?php echo htmlspecialchars($uri, ENT_QUOTES, 'UTF-8'); ?>" target="_blank" rel="noopener"> <?php echo htmlspecialchars(trim($feed[$i]->title), ENT_QUOTES, 'UTF-8'); ?></a></span> <?php else : ?> <span class="feed-link"><?php echo htmlspecialchars(trim($feed[$i]->title), ENT_QUOTES, 'UTF-8'); ?></span> <?php endif; ?> <?php if ($params->get('rssitemdate', 0) && $feed[$i]->publishedDate !== null) : ?> <div class="feed-item-date"> <?php echo HTMLHelper::_('date', $feed[$i]->publishedDate, Text::_('DATE_FORMAT_LC3')); ?> </div> <?php endif; ?> <?php if ($params->get('rssitemdesc', 1) && $text !== '') : ?> <div class="feed-item-description"> <?php // Strip the images. $text = OutputFilter::stripImages($text); $text = HTMLHelper::_('string.truncate', $text, $params->get('word_count', 0)); echo str_replace(''', "'", $text); ?> </div> <?php endif; ?> </li> <?php } ?> </ul> <?php } ?> </div> <?php } } home/ferretapmx/public_html/modules/mod_random_image/tmpl/default.php 0000644 00000001433 15231072076 0022221 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage mod_random_image * * @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\Language\Text; if (!count($images)) { echo Text::_('MOD_RANDOM_IMAGE_NO_IMAGES'); return; } ?> <div class="mod-randomimage random-image"> <?php if ($link) : ?> <a href="<?php echo htmlspecialchars($link, ENT_QUOTES, 'UTF-8'); ?>"> <?php endif; ?> <?php echo HTMLHelper::_('image', $image->folder . '/' . htmlspecialchars($image->name, ENT_COMPAT, 'UTF-8'), '', ['width' => $image->width, 'height' => $image->height]); ?> <?php if ($link) : ?> </a> <?php endif; ?> </div> home/ferretapmx/public_html/modules/mod_breadcrumbs/tmpl/default.php 0000644 00000011407 15231072076 0022072 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage mod_breadcrumbs * * @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\Language\Text; use Joomla\CMS\Router\Route; use Joomla\CMS\Uri\Uri; use Joomla\CMS\WebAsset\WebAssetManager; ?> <nav class="mod-breadcrumbs__wrapper" aria-label="<?php echo htmlspecialchars($module->title, ENT_QUOTES, 'UTF-8'); ?>"> <ol class="mod-breadcrumbs breadcrumb px-3 py-2"> <?php if ($params->get('showHere', 1)) : ?> <li class="mod-breadcrumbs__here float-start"> <?php echo Text::_('MOD_BREADCRUMBS_HERE'); ?>  </li> <?php else : ?> <li class="mod-breadcrumbs__divider float-start"> <span class="divider icon-location icon-fw" aria-hidden="true"></span> </li> <?php endif; ?> <?php // Get rid of duplicated entries on trail including home page when using multilanguage for ($i = 0; $i < $count; $i++) { if ($i === 1 && !empty($list[$i]->link) && !empty($list[$i - 1]->link) && $list[$i]->link === $list[$i - 1]->link) { unset($list[$i]); } } // Find last and penultimate items in breadcrumbs list end($list); $last_item_key = key($list); prev($list); $penult_item_key = key($list); // Make a link if not the last item in the breadcrumbs $show_last = $params->get('showLast', 1); $class = null; // Generate the trail foreach ($list as $key => $item) : if ($key !== $last_item_key) : if (!empty($item->link)) : $breadcrumbItem = HTMLHelper::_('link', Route::_($item->link), '<span>' . $item->name . '</span>', ['class' => 'pathway']); else : $breadcrumbItem = '<span>' . $item->name . '</span>'; endif; echo '<li class="mod-breadcrumbs__item breadcrumb-item' . $class . '">' . $breadcrumbItem . '</li>'; elseif ($show_last) : // Render last item if required. $breadcrumbItem = '<span>' . $item->name . '</span>'; $class = ' active'; echo '<li class="mod-breadcrumbs__item breadcrumb-item' . $class . '">' . $breadcrumbItem . '</li>'; endif; endforeach; ?> </ol> <?php // Structured data as JSON $data = [ '@context' => 'https://schema.org', '@type' => 'BreadcrumbList', '@id' => Uri::root() . '#/schema/BreadcrumbList/' . (int) $module->id, 'itemListElement' => [] ]; // Use an independent counter for positions. E.g. if Heading items in pathway. $itemsCounter = 0; // If showHome is disabled use the fallback $homeCrumb for startpage at first position. if (isset($homeCrumb)) { $data['itemListElement'][] = [ '@type' => 'ListItem', 'position' => ++$itemsCounter, 'item' => [ '@id' => Route::_($homeCrumb->link, true, Route::TLS_IGNORE, true), 'name' => $homeCrumb->name, ], ]; } foreach ($list as $key => $item) { // Only add item to JSON if it has a valid link, otherwise skip it. if (!empty($item->link)) { $data['itemListElement'][] = [ '@type' => 'ListItem', 'position' => ++$itemsCounter, 'item' => [ '@id' => Route::_($item->link, true, Route::TLS_IGNORE, true), 'name' => $item->name, ], ]; } elseif ($key === $last_item_key) { // Add the last item (current page) to JSON, but without a link. // Google accepts items without a URL only as the current page. $data['itemListElement'][] = [ '@type' => 'ListItem', 'position' => ++$itemsCounter, 'item' => [ 'name' => $item->name, ], ]; } } if ($itemsCounter) { /** @var WebAssetManager $wa */ $wa = $app->getDocument()->getWebAssetManager(); $prettyPrint = JDEBUG ? JSON_PRETTY_PRINT : 0; $wa->addInline( 'script', json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | $prettyPrint), ['name' => 'inline.breadcrumbs-schemaorg'], ['type' => 'application/ld+json'] ); } ?> </nav> home/ferretapmx/public_html/modules/mod_custom/tmpl/default.php 0000644 00000001517 15231072115 0021106 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage mod_custom * * @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\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Uri\Uri; $modId = 'mod-custom' . $module->id; if ($params->get('backgroundimage')) { /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); $wa->addInlineStyle(' #' . $modId . '{background-image: url("' . Uri::root(true) . '/' . HTMLHelper::_('cleanImageURL', $params->get('backgroundimage'))->url . '");} ', ['name' => $modId]); } ?> <div id="<?php echo $modId; ?>" class="mod-custom custom"> <?php echo $module->content; ?> </div> home/ferretapmx/public_html/modules/mod_users_latest/tmpl/default.php 0000644 00000000777 15231106000 0022307 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage mod_users_latest * * @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; ?> <?php if (!empty($names)) : ?> <ul class="mod-userslatest latestusers mod-list"> <?php foreach ($names as $name) : ?> <li> <?php echo $name->username; ?> </li> <?php endforeach; ?> </ul> <?php endif; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings