<? $limitList = $this->params->getLimitList(); ?>
<? if (count($limitList) > 1): ?>
  <form class="form-inline" style="float:right;width:25%;font-size:14px" action="<?=$this->currentPath() . $this->results->getUrlQuery()->setLimit(null)?>" method="post">
    <label for="limit"><?=$this->transEsc('Results per page')?></label>
    <select id="limit" dir="rtl" name="limit" class="jumpMenu form-control" style="font-size:14px">
      <? foreach ($limitList as $limitVal => $limitData): ?>
        <option value="<?=$this->escapeHtmlAttr($limitVal)?>"<?=$limitData['selected']?' selected="selected"':''?>><?=$this->escapeHtml($limitData['desc'])?></option>
      <? endforeach; ?>
    </select>
    <noscript><input type="submit" value="<?=$this->transEsc("Set")?>" /></noscript>
  </form>
<? endif; ?>
