[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/components/com_contact/tmpl/featured/ -> default.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Site
   5   * @subpackage  com_contact
   6   *
   7   * @copyright   (C) 2010 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  ?>
  14  <div class="com-contact-featured blog-featured">
  15  <?php if ($this->params->get('show_page_heading') != 0) : ?>
  16      <h1>
  17          <?php echo $this->escape($this->params->get('page_heading')); ?>
  18      </h1>
  19  <?php endif; ?>
  20  
  21  <?php echo $this->loadTemplate('items'); ?>
  22  
  23  <?php if ($this->params->def('show_pagination', 2) == 1  || ($this->params->get('show_pagination') == 2 && $this->pagination->pagesTotal > 1)) : ?>
  24      <div class="com-contact-featured__pagination w-100">
  25          <?php if ($this->params->def('show_pagination_results', 1)) : ?>
  26              <p class="counter float-end pt-3 pe-2">
  27                  <?php echo $this->pagination->getPagesCounter(); ?>
  28              </p>
  29          <?php endif; ?>
  30  
  31          <?php echo $this->pagination->getPagesLinks(); ?>
  32      </div>
  33  <?php endif; ?>
  34  </div>


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