17 lines
839 B
PHTML
Executable File
17 lines
839 B
PHTML
Executable File
<? $list = $this->params->getSortList(); if (!empty($list)): ?>
|
|
<form class="form_inline" style="float:right;width:25%;font-size:14px" action="<?=$this->currentPath()?>" method="get" name="sort">
|
|
|
|
|
|
<?=$this->results->getUrlQuery()->asHiddenFields(array('sort' => '/.*/'));?>
|
|
<label for="sort_options_1"><?=$this->transEsc('Sort')?></label>
|
|
<select id="sort_options_1" name="sort" class="jumpMenu form-control" style="font-size:14px">
|
|
|
|
<? foreach ($list as $sortType => $sortData): ?>
|
|
<option value="<?=$this->escapeHtmlAttr($sortType)?>"<?=$sortData['selected']?' selected="selected"':''?>><?=$this->transEsc($sortData['desc'])?></option>
|
|
<? endforeach; ?>
|
|
</select>
|
|
|
|
<noscript><input type="submit" class="btn btn-default" value="<?=$this->transEsc("Set")?>" /></noscript>
|
|
</form>
|
|
<? endif; ?>
|