1.0版本
This commit is contained in:
19
pagination.php
Normal file
19
pagination.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php if ($this->have() && $this->getTotalPage() > 1): ?>
|
||||
|
||||
<div class="archive-pagination section-inner group">
|
||||
|
||||
<?php if ($this->_currentPage > 1): ?>
|
||||
<div class="previous-posts-link">
|
||||
<h4 class="title"><?php $this->pageLink('上一页', 'prev'); ?></h4>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->_currentPage < $this->getTotalPage()): ?>
|
||||
<div class="next-posts-link">
|
||||
<h4 class="title"><?php $this->pageLink('下一页', 'next'); ?></h4>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div> <!-- .pagination -->
|
||||
|
||||
<?php endif; ?>
|
Reference in New Issue
Block a user