[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/components/com_finder/tmpl/search/ -> default.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Site
   5   * @subpackage  com_finder
   6   *
   7   * @copyright   (C) 2011 Open Source Matters, Inc. <https://www.joomla.org>
   8   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   9   */
  10  
  11  defined('_JEXEC') or die;
  12  
  13  $this->document->getWebAssetManager()
  14      ->useStyle('com_finder.finder')
  15      ->useScript('com_finder.finder');
  16  
  17  ?>
  18  <div class="com-finder finder">
  19      <?php if ($this->params->get('show_page_heading')) : ?>
  20          <h1>
  21              <?php if ($this->escape($this->params->get('page_heading'))) : ?>
  22                  <?php echo $this->escape($this->params->get('page_heading')); ?>
  23              <?php else : ?>
  24                  <?php echo $this->escape($this->params->get('page_title')); ?>
  25              <?php endif; ?>
  26          </h1>
  27      <?php endif; ?>
  28      <div id="search-form" class="com-finder__form">
  29          <?php echo $this->loadTemplate('form'); ?>
  30      </div>
  31      <?php // Load the search results layout if we are performing a search. ?>
  32      <?php if ($this->query->search === true) : ?>
  33          <div id="search-results" class="com-finder__results">
  34              <?php echo $this->loadTemplate('results'); ?>
  35          </div>
  36      <?php endif; ?>
  37  </div>


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer