Skip to content

Commit f182fe0

Browse files
committed
Merge branch 'master' of https://github.com/liu21st/extend
2 parents 1a5c398 + b7312f3 commit f182fe0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Extend/Library/ORG/Util/Page.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ public function show() {
134134
$page = ($nowCoolPage-1)*$this->rollPage+$i;
135135
if($page!=$this->nowPage){
136136
if($page<=$this->totalPages){
137-
$linkPage .= "&nbsp;<a href='".str_replace('__PAGE__',$page,$url)."'>&nbsp;".$page."&nbsp;</a>";
137+
$linkPage .= "<a href='".str_replace('__PAGE__',$page,$url)."'>".$page."</a>";
138138
}else{
139139
break;
140140
}
141141
}else{
142142
if($this->totalPages != 1){
143-
$linkPage .= "&nbsp;<span class='current'>".$page."</span>";
143+
$linkPage .= "<span class='current'>".$page."</span>";
144144
}
145145
}
146146
}
@@ -150,4 +150,4 @@ public function show() {
150150
return $pageStr;
151151
}
152152

153-
}
153+
}

0 commit comments

Comments
 (0)