openvk/Web/Presenters/templates/components/paginator.xml
Ilya Prokopenko be1e5cf98f
Locales: Minor corrections and new strings added
Added: results, post_as_group, add_signature, contains_nsfw, attach_no_longer_available, open_post, version_incompatibility, all_news, posts_per_page, none
2021-09-18 11:49:51 +03:00

14 lines
691 B
XML

<div n:if="!($conf->page === 1 && $conf->count <= $conf->perPage)" class="paginator">
<br/>
<center>
<a n:if="$conf->page != 1"
href="?{http_build_query(array_merge($_GET, ['p' => ($conf->page - 1)]), 'k', '&', PHP_QUERY_RFC3986)}"
style="float: left;">&lt;&lt; {_paginator_back}</a>
{tr("paginator_page", $conf->page)}
<a n:if="$conf->count > (($conf->page - 1) * $conf->perPage + $conf->amount) && $conf->amount > 0"
href="?{http_build_query(array_merge($_GET, ['p' => ($conf->page + 1)]), 'k', '&', PHP_QUERY_RFC3986)}"
style="float: right;">{_paginator_next} &gt;&gt;</a>
</center>
</div>