File manager - Edit - /home/opticamezl/www/newok/form.zip
Back
PK U�\(E�(� � filter_sitemaps.xmlnu &1i� <?xml version="1.0" encoding="utf-8"?> <form> <fields name="filter"> <field name="search" type="text"/> <field name="published" type="status" onchange="this.form.submit();" filter="0,1,-2,*"> <option value="">COM_OSMAP_OPTION_SELECT_PUBLISHED</option> </field> <field name="default" type="list" onchange="this.form.submit();"> <option value="">COM_OSMAP_OPTION_SELECT_DEFAULT</option> <option value="0">JNO</option> <option value="1">JYES</option> </field> </fields> <fields name="list"> <field name="fullordering" type="list" label="COM_OSMAP_LIST_FULL_ORDERING" description="COM_OSMAP_LIST_FULL_ORDERING_DESC" onchange="this.form.submit();" default="sitemap.id DESC"> <option value="">JGLOBAL_SORT_BY</option> <option value="sitemap.published ASC">COM_OSMAP_GRID_PUBLISHED_ASC</option> <option value="sitemap.published DESC">COM_OSMAP_GRID_PUBLISHED_DESC</option> <option value="sitemap.name ASC">COM_OSMAP_GRID_NAME_ASC</option> <option value="sitemap.name DESC">COM_OSMAP_GRID_NAME_DESC</option> <option value="sitemap.id ASC">COM_OSMAP_GRID_ID_ASC</option> <option value="sitemap.id DESC">COM_OSMAP_GRID_ID_DESC</option> </field> <field name="limit" type="limitbox" class="inputbox input-mini" default="25" label="COM_OSMAP_LIST_LIMIT" description="COM_OSMAP_LIST_LIMIT_DESC" onchange="this.form.submit();"/> </fields> </form> PK U�\���] ] fields/subtitle.phpnu &1i� <?php /** * @package ShackDefaultFiles * @contact www.joomlashack.com, help@joomlashack.com * @copyright 2015-2024 Joomlashack.com. All rights reserved * @license https://www.gnu.org/licenses/gpl.html GNU/GPL * * This file is part of ShackDefaultFiles. * * ShackDefaultFiles 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. * * ShackDefaultFiles 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 ShackDefaultFiles. If not, see <https://www.gnu.org/licenses/>. */ use Joomla\CMS\Form\FormHelper; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; defined('_JEXEC') or die(); FormHelper::loadFieldClass('Spacer'); class JFormFieldSubtitle extends JFormFieldSpacer { /** * @inheritDoc */ protected function getLabel() { $html = []; $class = $this->class ?: sprintf(' class="%s"', $this->class); $tag = $this->element['tag'] ? (string)$this->element['tag'] : 'h4'; $html[] = '<span class="spacer">'; $html[] = '<span class="before"></span>'; $html[] = '<span' . $class . '>'; if ((string)$this->element['hr'] == 'true') { $html[] = '<hr' . $class . '>'; } else { $label = ''; // Get the label text from the XML element, defaulting to the element name. $text = (string)$this->element['label'] ?: (string)$this->element['name']; $text = $this->translateLabel ? Text::_($text) : $text; // Build the class for the label. $class = $this->description ? 'hasTooltip' : ''; $class = $this->required == true ? $class . ' required' : $class; // Add the opening label tag and main attributes attributes. $label .= '<' . $tag . ' id="' . $this->id . '-lbl" class="' . $class . '"'; if ($this->description) { // Use description to build a tooltip. HTMLHelper::_('bootstrap.tooltip'); $label .= sprintf( ' title="%s"', HTMLHelper::tooltipText(trim($text, ':'), Text::_($this->description), 0) ); } // Add the label text and closing tag. $label .= '>' . $text . '</' . $tag . '>'; $html[] = $label; } $html[] = '</span>'; $html[] = '<span class="after"></span>'; $html[] = '</span>'; return implode('', $html); } } PK U�\���L L '