File manager - Edit - /home/opticamezl/www/newok/helpers.zip
Back
PK �0�\�V� index.htmlnu &1i� <!DOCTYPE html><title></title> PK �0�\�ˬ�� � route.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 * @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace */ use Joomla\Component\Finder\Site\Helper\RouteHelper; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Finder route helper class. * * @since 2.5 * * @deprecated 4.3 will be removed in 6.0 * Use \Joomla\Component\Finder\Site\Helper\RouteHelper instead */ class FinderHelperRoute extends RouteHelper { } PK 2I�\Q�4�� � content.phpnu �[��� <?php /** * @package Joomla.Administrator * @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 * @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace */ // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Content component helper. * * @since 1.6 * * @deprecated 4.3 will be removed in 6.0 * Use \Joomla\Component\Content\Administrator\Helper\ContentHelper instead */ class ContentHelper extends \Joomla\Component\Content\Administrator\Helper\ContentHelper { } PK mJ�\<��5G G html/osmap.phpnu &1i� <?php /** * @package OSMap * @contact www.joomlashack.com, help@joomlashack.com * @copyright 2007-2014 XMap - Joomla! Vargas - Guillermo Vargas. All rights reserved. * @copyright 2016-2025 Joomlashack.com. All rights reserved. * @license https://www.gnu.org/licenses/gpl.html GNU/GPL * * This file is part of OSMap. * * OSMap is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. * * OSMap is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with OSMap. If not, see <https://www.gnu.org/licenses/>. */ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Table\Table; // phpcs:disable PSR1.Files.SideEffects defined('_JEXEC') or die(); Table::addIncludePath(JPATH_COMPONENT . '/tables'); // phpcs:enable PSR1.Files.SideEffects // phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace abstract class JHtmlOSMap { /** * @param string $name * @param string $selected * @param int $j * * @return string */ public static function priorities($name, $selected = '0.5', $j = 0) { $options = []; foreach (static::priorityList() as $priority) { $options[] = HTMLHelper::_('select.option', $priority, $priority); } return HTMLHelper::_( 'select.genericlist', $options, $name, [ 'class' => 'form-select', 'style' => 'width: fit-content' ], 'value', 'text', $selected, $name . $j ); } /** * @param string $name * @param string $selected * @param int $j * * @return string */ public static function changefrequency($name, $selected = 'weekly', $j = 0) { $options = []; foreach (static::frequencyList() as $value => $text) { $options[] = HTMLHelper::_('select.option', $value, $text); } return HTMLHelper::_( 'select.genericlist', $options, $name, ['class' => 'form-select'], 'value', 'text', $selected, $name . $j ); } /** * @return float[] */ public static function priorityList() { $priorities = []; for ($i = 0.1; $i <= 1; $i += 0.1) { $priorities[] = number_format($i, 1); } return $priorities; } /** * @return string[] */ public static function frequencyList() { return [ 'always' => Text::_('COM_OSMAP_ALWAYS'), 'hourly' => Text::_('COM_OSMAP_HOURLY'), 'daily' => Text::_('COM_OSMAP_DAILY'), 'weekly' => Text::_('COM_OSMAP_WEEKLY'), 'monthly' => Text::_('COM_OSMAP_MONTHLY'), 'yearly' => Text::_('COM_OSMAP_YEARLY'), 'never' => Text::_('COM_OSMAP_NEVER') ]; } } PK �0�\�V� index.htmlnu &1i� PK �0�\�ˬ�� � Y route.phpnu �[��� PK 2I�\Q�4�� � = content.phpnu �[��� PK mJ�\<��5G G 4 html/osmap.phpnu &1i� PK , �
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0 |
proxy
|
phpinfo
|
Settings