diff --git a/components/com_search/views/search/tmpl/default.php b/components/com_search/views/search/tmpl/default.php index 4fd0a2c62eda7..d7266b0076735 100644 --- a/components/com_search/views/search/tmpl/default.php +++ b/components/com_search/views/search/tmpl/default.php @@ -8,24 +8,24 @@ */ defined('_JEXEC') or die; + JHtml::_('formbehavior.chosen', 'select'); -?> +?>
-params->get('show_page_heading')) : ?> -

- escape($this->params->get('page_heading'))) : ?> - escape($this->params->get('page_heading')); ?> + params->get('show_page_heading')) : ?> +

+ escape($this->params->get('page_heading'))) : ?> + escape($this->params->get('page_heading')); ?> + + escape($this->params->get('page_title')); ?> + +

+ + loadTemplate('form'); ?> + error == null && count($this->results) > 0) : ?> + loadTemplate('results'); ?> - escape($this->params->get('page_title')); ?> + loadTemplate('error'); ?> - - - -loadTemplate('form'); ?> -error == null && count($this->results) > 0) : - echo $this->loadTemplate('results'); -else : - echo $this->loadTemplate('error'); -endif; ?>
diff --git a/components/com_search/views/search/tmpl/default_error.php b/components/com_search/views/search/tmpl/default_error.php index 126b52528ab26..9fa2eed4d7784 100644 --- a/components/com_search/views/search/tmpl/default_error.php +++ b/components/com_search/views/search/tmpl/default_error.php @@ -8,10 +8,10 @@ */ defined('_JEXEC') or die; -?> +?> error) : ?> -
- escape($this->error); ?> -
+
+ escape($this->error); ?> +
diff --git a/components/com_search/views/search/tmpl/default_form.php b/components/com_search/views/search/tmpl/default_form.php index 108a5120c7e59..91bd27c38bac3 100644 --- a/components/com_search/views/search/tmpl/default_form.php +++ b/components/com_search/views/search/tmpl/default_form.php @@ -13,68 +13,68 @@ $lang = JFactory::getLanguage(); $upper_limit = $lang->getUpperLimitSearchWord(); + ?>
-
- +
-
searchword)) : ?> -

' . $this->total . ''); ?>

+

+ ' . $this->total . ''); ?> +

- params->get('search_phrases', 1)) : ?>
- + + -
+
lists['searchphrase']; ?> -
-
+
+
lists['ordering']; ?> -
+
- params->get('search_areas', 1)) : ?>
- - searchareas['search'] as $val => $txt) : - $checked = is_array($this->searchareas['active']) && in_array($val, $this->searchareas['active']) ? 'checked="checked"' : ''; - ?> - + + + + searchareas['search'] as $val => $txt) : ?> + searchareas['active']) && in_array($val, $this->searchareas['active']) ? 'checked="checked"' : ''; ?> +
- -total > 0) : ?> - -
- - pagination->getLimitBox(); ?> -
-

- pagination->getPagesCounter(); ?> -

- - - + total > 0) : ?> +
+ + pagination->getLimitBox(); ?> +
+

+ pagination->getPagesCounter(); ?> +

+
diff --git a/components/com_search/views/search/tmpl/default_results.php b/components/com_search/views/search/tmpl/default_results.php index 0adbb0f28824d..037f8e9fade16 100644 --- a/components/com_search/views/search/tmpl/default_results.php +++ b/components/com_search/views/search/tmpl/default_results.php @@ -8,8 +8,8 @@ */ defined('_JEXEC') or die; -?> +?>
results as $result) : ?>
@@ -22,8 +22,8 @@ title; ?> - title ?> - title; ?> + title ?> + title; ?>
section) : ?> @@ -43,7 +43,6 @@
-