导航转换为中文。
This commit is contained in:
parent
e909aa2bf2
commit
bba022b4bb
|
@ -2,15 +2,15 @@
|
|||
<?php $route = 'home/index'; ?>
|
||||
<ul class="pagination">
|
||||
<?php if (isset($this->previous)): ?>
|
||||
<li class="first"><a href="<?php echo $this->url($route, array('page' => $this->first)); ?>"><< First</a></li>
|
||||
<li class="first"><a href="<?php echo $this->url($route, array('page' => $this->first)); ?>"><< 首页</a></li>
|
||||
<?php else: ?>
|
||||
<li class="prev disabled"><a href="javascript:void(0);"><< First</a></li>
|
||||
<li class="prev disabled"><a href="javascript:void(0);"><< 首页</a></li>
|
||||
<?php endif; ?>
|
||||
<!-- Previous page link -->
|
||||
<?php if (isset($this->previous)): ?>
|
||||
<li class="prev"><a href="<?= $this->url($route,array('page'=>$this->previous)) ?>">< Previous</a></li>
|
||||
<li class="prev"><a href="<?= $this->url($route,array('page'=>$this->previous)) ?>">< 前一页</a></li>
|
||||
<?php else: ?>
|
||||
<li class="prev disabled"><a href="javascript:void(0);">< Previous</a></li>
|
||||
<li class="prev disabled"><a href="javascript:void(0);">< 前一页</a></li>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Numbered page links -->
|
||||
|
@ -24,16 +24,16 @@
|
|||
|
||||
<!-- Next page link -->
|
||||
<?php if (isset($this->next)): ?>
|
||||
<li class="next"><a href="<?= $this->url($route,array('page'=>$this->next)) ?>">Next ></a></li>
|
||||
<li class="next"><a href="<?= $this->url($route,array('page'=>$this->next)) ?>">后一页 ></a></li>
|
||||
<?php else: ?>
|
||||
<li class="next disabled"><a href="javascript:void(0);">Next ></a></li>
|
||||
<li class="next disabled"><a href="javascript:void(0);">后一页 ></a></li>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Last page link -->
|
||||
<?php if (isset($this->next)): ?>
|
||||
<li class="last"><a href="<?php echo $this->url($route, array('page' => $this->last)); ?>">Last >></a></li>
|
||||
<li class="last"><a href="<?php echo $this->url($route, array('page' => $this->last)); ?>">尾页 >></a></li>
|
||||
<?php else: ?>
|
||||
<li class="last disabled"><a href="javascript:void(0);">Last >></a></li>
|
||||
<li class="last disabled"><a href="javascript:void(0);">尾页 >></a></li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
Loading…
Reference in New Issue