2012-05-21 04:58:26 +02:00
|
|
|
<% if BlogEntries.MoreThanOnePage %>
|
2012-08-17 05:55:08 +02:00
|
|
|
<div class="pagination">
|
|
|
|
<ul class="PageNumbers">
|
|
|
|
<% if BlogEntries.NotFirstPage %>
|
|
|
|
<li class="prev">
|
|
|
|
<a class="paginate-left" href="$BlogEntries.PrevLink" title="View the previous page"><</a>
|
|
|
|
</li>
|
|
|
|
<% else %>
|
|
|
|
<li class="prev disabled">
|
|
|
|
<a class="paginate-left disabled"><</a>
|
|
|
|
</li>
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<% loop BlogEntries.PaginationSummary(4) %>
|
|
|
|
<% if CurrentBool %>
|
|
|
|
<li class="active"><a class="disabled">$PageNum</a></li>
|
|
|
|
<% else %>
|
|
|
|
<% if Link %>
|
|
|
|
<li>
|
|
|
|
<a class="<% if BeforeCurrent %>paginate-left<% else %>paginate-right<% end_if %>" href="$Link">
|
|
|
|
$PageNum
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<% else %>
|
|
|
|
<li class="disabled"><a class="disabled">…</a></li>
|
|
|
|
<% end_if %>
|
2012-05-21 04:58:26 +02:00
|
|
|
<% end_if %>
|
2012-08-17 05:55:08 +02:00
|
|
|
<% end_loop %>
|
|
|
|
|
|
|
|
<% if BlogEntries.NotLastPage %>
|
|
|
|
<li class="next">
|
|
|
|
<a class="next paginate-right" href="$BlogEntries.NextLink" title="View the next page">></a>
|
|
|
|
</li>
|
|
|
|
<% else %>
|
|
|
|
<li class="next disabled">
|
|
|
|
<a class="next paginate-right disabled">></a>
|
|
|
|
</li>
|
|
|
|
<% end_if %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2012-05-21 04:58:26 +02:00
|
|
|
<% end_if %>
|