?
Path : /home/admin/public_html/old/templates/purity_iii/html/com_finder/search/ |
Current File : /home/admin/public_html/old/templates/purity_iii/html/com_finder/search/default.php |
<?php /** * @package Joomla.Site * @subpackage com_finder * * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('_JEXEC') or die; JHtml::_('behavior.framework', true); JHtml::_('behavior.core'); JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html'); JHtml::stylesheet('com_finder/finder.css', false, true, false); ?> <div class="finder<?php echo $this->pageclass_sfx; ?>"> <?php if ($this->params->get('show_page_heading')) : ?> <h1> <?php if ($this->escape($this->params->get('page_heading'))) : ?> <?php echo $this->escape($this->params->get('page_heading')); ?> <?php else : ?> <?php echo $this->escape($this->params->get('page_title')); ?> <?php endif; ?> </h1> <?php endif; ?> <?php if ($this->params->get('show_search_form', 1)) : ?> <div id="search-form"> <?php echo $this->loadTemplate('form'); ?> </div> <?php endif; // Load the search results layout if we are performing a search. if ($this->query->search === true): ?> <div id="search-results"> <?php echo $this->loadTemplate('results'); ?> </div> <?php endif; ?> </div> <script> (function($) { $(document).ready(function() { $('#q', '#finder-search').on('keyup', function(e) { if ($(this).val().length) { $('#smartsearch-btn').removeClass('disabled'); } else { $('#smartsearch-btn').addClass('disabled'); } }); }) } (jQuery)) </script>