File manager - Edit - /home/opticamezl/www/newok/featured.tar
Back
default.xml 0000644 00000030362 15172734641 0006730 0 ustar 00 <?xml version="1.0" encoding="UTF-8"?> <metadata> <layout title="COM_CONTACT_FEATURED_VIEW_DEFAULT_TITLE" option="COM_CONTACT_FEATURED_VIEW_DEFAULT_OPTION"> <help key = "Menu_Item:_Featured_Contacts" /> <message> <![CDATA[COM_CONTACT_FEATURED_VIEW_DEFAULT_DESC]]> </message> </layout> <!-- Add fields to the parameters object for the layout. --> <fields name="params"> <fieldset name="advanced" label="JGLOBAL_LIST_LAYOUT_OPTIONS" description="JGLOBAL_SUBSLIDER_DRILL_CATEGORIES_LABEL" > <field name="filter_field" type="list" label="JGLOBAL_FILTER_FIELD_LABEL" default="" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </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="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="show_position_headings" type="list" label="COM_CONTACT_FIELD_CONFIG_POSITION_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_email_headings" type="list" label="JGLOBAL_EMAIL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_telephone_headings" type="list" label="COM_CONTACT_FIELD_CONFIG_PHONE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_mobile_headings" type="list" label="COM_CONTACT_FIELD_CONFIG_MOBILE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_fax_headings" type="list" label="COM_CONTACT_FIELD_CONFIG_FAX_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_suburb_headings" type="list" label="COM_CONTACT_FIELD_CONFIG_SUBURB_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_state_headings" type="list" label="COM_CONTACT_FIELD_CONFIG_STATE_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_country_headings" type="list" label="COM_CONTACT_FIELD_CONFIG_COUNTRY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</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> </fieldset> <fieldset name="contact" label="COM_CONTACT_FIELDSET_CONTACT_LABEL" > <field name="show_tags" type="list" label="COM_CONTACT_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_info" type="list" label="COM_CONTACT_FIELD_SHOW_INFO_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_name" type="list" label="COM_CONTACT_FIELD_PARAMS_NAME_LABEL" useglobal="true" showon="show_info:1" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_position" type="list" label="COM_CONTACT_FIELD_PARAMS_CONTACT_POSITION_LABEL" useglobal="true" showon="show_info:1" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_email" type="list" label="JGLOBAL_EMAIL" useglobal="true" showon="show_info:1" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_street_address" type="list" label="COM_CONTACT_FIELD_PARAMS_STREET_ADDRESS_LABEL" useglobal="true" showon="show_info:1" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_suburb" type="list" label="COM_CONTACT_FIELD_PARAMS_TOWN-SUBURB_LABEL" useglobal="true" showon="show_info:1" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_state" type="list" label="COM_CONTACT_FIELD_PARAMS_STATE-COUNTY_LABEL" useglobal="true" showon="show_info:1" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_postcode" type="list" label="COM_CONTACT_FIELD_PARAMS_POST-ZIP_CODE_LABEL" useglobal="true" showon="show_info:1" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_country" type="list" label="COM_CONTACT_FIELD_PARAMS_COUNTRY_LABEL" useglobal="true" showon="show_info:1" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_telephone" type="list" label="COM_CONTACT_FIELD_PARAMS_TELEPHONE_LABEL" useglobal="true" showon="show_info:1" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_mobile" type="list" label="COM_CONTACT_FIELD_PARAMS_MOBILE_LABEL" useglobal="true" showon="show_info:1" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_fax" type="list" label="COM_CONTACT_FIELD_PARAMS_FAX_LABEL" useglobal="true" showon="show_info:1" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_webpage" type="list" label="COM_CONTACT_FIELD_PARAMS_WEBPAGE_LABEL" useglobal="true" showon="show_info:1" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_image" type="list" label="COM_CONTACT_FIELD_PARAMS_IMAGE_LABEL" useglobal="true" showon="show_info:1" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="allow_vcard" type="list" label="COM_CONTACT_FIELD_PARAMS_VCARD_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_misc" type="list" label="COM_CONTACT_FIELD_PARAMS_MISC_INFO_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_articles" type="list" label="COM_CONTACT_FIELD_ARTICLES_SHOW_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="articles_display_num" type="list" label="COM_CONTACT_FIELD_ARTICLES_DISPLAY_NUM_LABEL" default="" useglobal="true" validate="options" > <option value="use_contact">COM_CONTACT_FIELD_VALUE_USE_CONTACT_SETTINGS</option> <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="75">J75</option> <option value="100">J100</option> <option value="150">J150</option> <option value="200">J200</option> <option value="250">J250</option> <option value="300">J300</option> <option value="0">JALL</option> </field> <field name="show_links" type="list" label="COM_CONTACT_FIELD_SHOW_LINKS_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="linka_name" type="text" label="COM_CONTACT_FIELD_LINKA_NAME_LABEL" useglobal="true" /> <field name="linkb_name" type="text" label="COM_CONTACT_FIELD_LINKB_NAME_LABEL" useglobal="true" /> <field name="linkc_name" type="text" label="COM_CONTACT_FIELD_LINKC_NAME_LABEL" useglobal="true" /> <field name="linkd_name" type="text" label="COM_CONTACT_FIELD_LINKD_NAME_LABEL" useglobal="true" /> <field name="linke_name" type="text" label="COM_CONTACT_FIELD_LINKE_NAME_LABEL" useglobal="true" /> </fieldset> <fieldset name="Contact_Form" label="COM_CONTACT_FIELDSET_CONTACTFORM_LABEL" > <field name="show_email_form" type="list" label="COM_CONTACT_FIELD_EMAIL_SHOW_FORM_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="show_email_copy" type="list" label="COM_CONTACT_FIELD_EMAIL_EMAIL_COPY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JHIDE</option> <option value="1">JSHOW</option> </field> <field name="validate_session" type="list" label="COM_CONTACT_FIELD_CONFIG_SESSION_CHECK_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="custom_reply" type="list" label="COM_CONTACT_FIELD_CONFIG_CUSTOM_REPLY_LABEL" useglobal="true" class="form-select-color-state" validate="options" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="redirect" type="text" label="COM_CONTACT_FIELD_CONFIG_REDIRECT_LABEL" useglobal="true" /> </fieldset> </fields> </metadata> default.php 0000644 00000002040 15172734641 0006707 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage com_contact * * @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; ?> <div class="com-contact-featured blog-featured"> <?php if ($this->params->get('show_page_heading') != 0) : ?> <h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1> <?php endif; ?> <?php echo $this->loadTemplate('items'); ?> <?php if ($this->params->def('show_pagination', 2) == 1 || ($this->params->get('show_pagination') == 2 && $this->pagination->pagesTotal > 1)) : ?> <div class="com-contact-featured__pagination 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> default_items.php 0000644 00000023251 15172734641 0010117 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage com_contact * * @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\CMS\Uri\Uri; use Joomla\Component\Contact\Site\Helper\RouteHelper; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('com_contact.contacts-list') ->useScript('core'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <div class="com-contact-featured__items"> <form action="<?php echo htmlspecialchars(Uri::getInstance()->toString()); ?>" method="post" name="adminForm" id="adminForm"> <?php if ($this->params->get('filter_field')) : ?> <div class="com-contact-featured__filter btn-group"> <label class="filter-search-lbl visually-hidden" for="filter-search"> <?php echo Text::_('COM_CONTACT_FILTER_SEARCH_DESC'); ?> </label> <input type="text" name="filter-search" id="filter-search" value="<?php echo $this->escape($this->state->get('list.filter')); ?>" class="inputbox" onchange="document.adminForm.submit();" placeholder="<?php echo Text::_('COM_CONTACT_FILTER_SEARCH_DESC'); ?>" > <button type="submit" name="filter_submit" class="btn btn-primary"><?php echo Text::_('JGLOBAL_FILTER_BUTTON'); ?></button> <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-contact-featured__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)) : ?> <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_CONTACT_NO_CONTACTS'); ?> </div> <?php else : ?> <table class="com-contact-featured__table table table-striped table-bordered table-hover"> <caption class="visually-hidden"> <?php echo Text::_('COM_CONTACT_TABLE_CAPTION'); ?>, </caption> <thead<?php echo $this->params->get('show_headings', '1') ? '' : ' class="visually-hidden"'; ?>> <tr> <th scope="col" class="item-title"> <?php echo HTMLHelper::_('grid.sort', 'JGLOBAL_TITLE', 'a.name', $listDirn, $listOrder); ?> </th> <?php if ($this->params->get('show_position_headings')) : ?> <th scope="col" class="item-position"> <?php echo HTMLHelper::_('grid.sort', 'COM_CONTACT_POSITION', 'a.con_position', $listDirn, $listOrder); ?> </th> <?php endif; ?> <?php if ($this->params->get('show_email_headings')) : ?> <th scope="col" class="item-email"> <?php echo Text::_('JGLOBAL_EMAIL'); ?> </th> <?php endif; ?> <?php if ($this->params->get('show_telephone_headings')) : ?> <th scope="col" class="item-phone"> <?php echo Text::_('COM_CONTACT_TELEPHONE'); ?> </th> <?php endif; ?> <?php if ($this->params->get('show_mobile_headings')) : ?> <th scope="col" class="item-phone"> <?php echo Text::_('COM_CONTACT_MOBILE'); ?> </th> <?php endif; ?> <?php if ($this->params->get('show_fax_headings')) : ?> <th scope="col" class="item-phone"> <?php echo Text::_('COM_CONTACT_FAX'); ?> </th> <?php endif; ?> <?php if ($this->params->get('show_suburb_headings')) : ?> <th scope="col" class="item-suburb"> <?php echo HTMLHelper::_('grid.sort', 'COM_CONTACT_SUBURB', 'a.suburb', $listDirn, $listOrder); ?> </th> <?php endif; ?> <?php if ($this->params->get('show_state_headings')) : ?> <th scope="col" class="item-state"> <?php echo HTMLHelper::_('grid.sort', 'COM_CONTACT_STATE', 'a.state', $listDirn, $listOrder); ?> </th> <?php endif; ?> <?php if ($this->params->get('show_country_headings')) : ?> <th scope="col" class="item-state"> <?php echo HTMLHelper::_('grid.sort', 'COM_CONTACT_COUNTRY', 'a.country', $listDirn, $listOrder); ?> </th> <?php endif; ?> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : ?> <?php if ($this->items[$i]->published == 0) : ?> <tr class="system-unpublished featured-list-row<?php echo $i % 2; ?>"> <?php else : ?> <tr class="featured-list-row<?php echo $i % 2; ?>" itemscope itemtype="https://schema.org/Person"> <?php endif; ?> <th scope="row" class="list-title"> <a href="<?php echo Route::_(RouteHelper::getContactRoute($item->slug, $item->catid, $item->language)); ?>" itemprop="url"> <span itemprop="name"><?php echo $this->escape($item->name); ?></span> </a> <?php if ($item->published == 0) : ?> <div> <span class="list-published badge bg-warning text-light"> <?php echo Text::_('JUNPUBLISHED'); ?> </span> </div> <?php endif; ?> </th> <?php if ($this->params->get('show_position_headings')) : ?> <td class="item-position" itemprop="jobTitle"> <?php echo $item->con_position; ?> </td> <?php endif; ?> <?php if ($this->params->get('show_email_headings')) : ?> <td class="item-email" itemprop="email"> <?php echo $item->email_to; ?> </td> <?php endif; ?> <?php if ($this->params->get('show_telephone_headings')) : ?> <td class="item-phone" itemprop="telephone"> <?php echo $item->telephone; ?> </td> <?php endif; ?> <?php if ($this->params->get('show_mobile_headings')) : ?> <td class="item-phone" itemprop="telephone"> <?php echo $item->mobile; ?> </td> <?php endif; ?> <?php if ($this->params->get('show_fax_headings')) : ?> <td class="item-phone" itemprop="faxNumber"> <?php echo $item->fax; ?> </td> <?php endif; ?> <?php if ($this->params->get('show_suburb_headings')) : ?> <td class="item-suburb" itemprop="address" itemscope itemtype="https://schema.org/PostalAddress"> <span itemprop="addressLocality"><?php echo $item->suburb; ?></span> </td> <?php endif; ?> <?php if ($this->params->get('show_state_headings')) : ?> <td class="item-state" itemprop="address" itemscope itemtype="https://schema.org/PostalAddress"> <span itemprop="addressRegion"><?php echo $item->state; ?></span> </td> <?php endif; ?> <?php if ($this->params->get('show_country_headings')) : ?> <td class="item-state" itemprop="address" itemscope itemtype="https://schema.org/PostalAddress"> <span itemprop="addressCountry"><?php echo $item->country; ?></span> </td> <?php endif; ?> <?php endforeach; ?> </tbody> </table> <?php endif; ?> <div> <input type="hidden" name="filter_order" value="<?php echo $this->escape($this->state->get('list.ordering')); ?>"> <input type="hidden" name="filter_order_Dir" value="<?php echo $this->escape($this->state->get('list.direction')); ?>"> </div> </form> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0 |
proxy
|
phpinfo
|
Settings