query->highlight) && $this->params->get('highlight_terms', 1))
{
JHtml::_('behavior.highlighter', $this->query->highlight);
}
// Get the application object.
$app = JFactory::getApplication();
// Display the suggested search if it is different from the current search.
if (($this->suggested && $this->params->get('show_suggested_query', 1)) || ($this->explained && $this->params->get('show_explained_query', 1))):
?>
suggested && $this->params->get('show_suggested_query', 1))
{
// Replace the base query string with the suggested query string.
$uri = JUri::getInstance($this->query->toURI());
$uri->setVar('q', $this->suggested);
// Compile the suggested query link.
$link = '
'
. $this->escape($this->suggested)
. '';
echo JText::sprintf('COM_FINDER_SEARCH_SIMILAR', $link);
}
// Display the explained search query.
elseif ($this->explained && $this->params->get('show_explained_query', 1))
{
echo $this->explained;
}
?>
total == 0):
?>
getLanguageFilter()) : ?>
escape($this->query->input)); ?>
escape($this->query->input)); ?>
pagination->get('limitstart') + 1;
$total = (int) $this->pagination->get('total');
$limit = (int) $this->pagination->get('limit') * $this->pagination->pagesTotal;
$limit = (int) ($limit > $total ? $total : $limit);
$pages = JText::sprintf('COM_FINDER_SEARCH_RESULTS_OF', $start, $limit, $total);
?>
results); $i < $n; $i++):
$this->result = &$this->results[$i];
$layout = $this->getLayoutFile($this->result->layout);
?>
loadTemplate($layout); ?>