<f:spaceless>
<ul class="pagination">
<f:if condition="{pagination.previous}">
    <li class="page-item">
        <f:link.page additionalParams="{tx_kesearch_pi1: {page: pagination.previous}}" addQueryString="1" class=" page-link prev">{f:translate(key: 'LLL:EXT:ke_search/Resources/Private/Language/locallang_searchbox.xml:pagebrowser_prev')}</f:link.page>
    </li>
</f:if>
<f:for each="{pagination.pages}" as="page">
    <li class="page-item {f:if(condition: '{page} == {pagination.currentPage}', then: 'active')}">
        <f:link.page additionalParams="{tx_kesearch_pi1: {page: page}}" addQueryString="1" class="page-link">{page}</f:link.page></li>
</f:for>
<f:if condition="{pagination.next}">
    <li class="page-item">
        <f:link.page additionalParams="{tx_kesearch_pi1: {page: pagination.next}}" addQueryString="1" class="page-link next">{f:translate(key: 'LLL:EXT:ke_search/Resources/Private/Language/locallang_searchbox.xml:pagebrowser_next')}</f:link.page>
    </li>
</f:if>
</ul>
</f:spaceless>