2018-11-12 03:08:33 +01:00
|
|
|
<!--<h1>Search</h1>-->
|
|
|
|
<form action="search">
|
|
|
|
<div class="input-group">
|
2018-11-16 06:00:03 +01:00
|
|
|
<label class="sr-only" for="search_search"><?php echo $this->__('Search terms')?></label>
|
|
|
|
<?php if ($field):?>
|
|
|
|
<input name="field" type="hidden" value="<?php echo $this->escapeHtmlAttr($field)?>"/>
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<span class="input-group-text"><?php echo $this->e($fieldName)?></span>
|
|
|
|
</div>
|
|
|
|
<?php endif;?>
|
|
|
|
<input name="q" class="form-control" type="search" id="search_search" placeholder="<?php echo $this->p__('noun', 'Search')?>..."
|
|
|
|
aria-label="<?php echo $this->__('Search terms')?>" value="<?php echo $this->escapeHtmlAttr($query) ?>">
|
2018-11-12 03:08:33 +01:00
|
|
|
<div class="input-group-append">
|
2018-11-16 06:00:03 +01:00
|
|
|
<button class="btn btn-primary" type="submit"><?php echo $this->p__('verb', 'Search')?></button>
|
2018-11-12 03:08:33 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
2018-11-16 06:00:03 +01:00
|
|
|
<h2><?php echo $this->n__('%d result for "%s"', '%d results for "%s"', intval($count), $this->e($query))?></h2>
|
2018-11-12 03:08:33 +01:00
|
|
|
<?php echo $this->fetch('sub/profiles.phtml', [
|
|
|
|
'page' => 'search',
|
|
|
|
'profiles' => $profiles,
|
|
|
|
'accountTypeTabs' => $accountTypeTabs,
|
|
|
|
'pager_full' => $pager_full,
|
|
|
|
'pager_minimal' => $pager_minimal
|
|
|
|
]) ?>
|