diff options
Diffstat (limited to 'core/templates/part.pagenavi.php')
-rw-r--r-- | core/templates/part.pagenavi.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/templates/part.pagenavi.php b/core/templates/part.pagenavi.php index d43023a7822..2f5c2183765 100644 --- a/core/templates/part.pagenavi.php +++ b/core/templates/part.pagenavi.php @@ -1,15 +1,15 @@ <ol class="pager"> <?php if($_['page']>0):?> - <li class="pagerbutton1"><a href="<?php echo $_['url'].($_['page']-1);?>"><?php echo $l->t( 'prev' ); ?></a></li> + <li class="pagerbutton1"><a href="<?php print_unescaped($_['url'].($_['page']-1));?>"><?php p($l->t( 'prev' )); ?></a></li> <?php endif; ?> <?php if ($_['pagestart']>0):?> … <?php endif;?> <?php for ($i=$_['pagestart']; $i < $_['pagestop'];$i++):?> <?php if ($_['page']!=$i):?> - <li><a href="<?php echo $_['url'].$i;?>"><?php echo $i+1;?></a></li> + <li><a href="<?php print_unescaped($_['url'].$i);?>"><?php p($i+1);?></a></li> <?php else:?> - <li><?php echo $i+1;?></li> + <li><?php p($i+1);?></li> <?php endif?> <?php endfor;?> <?php if ($_['pagestop']<$_['pagecount']):?> @@ -17,6 +17,6 @@ <?php endif;?> <?php if(($_['page']+1)<$_['pagecount']):?> - <li class="pagerbutton2"><a href="<?php echo $_['url'].($_['page']+1);?>"><?php echo $l->t( 'next' ); ?></a></li> + <li class="pagerbutton2"><a href="<?php print_unescaped($_['url'].($_['page']+1));?>"><?php p($l->t( 'next' )); ?></a></li> <?php endif; ?> </ol> |