Browse Source

调整

tags/6.3.0
叙述、别离 11 months ago
parent
commit
695d7b562f
2 changed files with 6 additions and 6 deletions
  1. +1
    -1
      src/system/archive/searchview.class.php
  2. +5
    -5
      src/system/archive/taglist.class.php

+ 1
- 1
src/system/archive/searchview.class.php View File

@@ -694,7 +694,7 @@ class SearchView
if ($j == $this->PageNo) {
$listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>";
} else {
$listdd .= "<li class='page-item'><a class='page-link' href='".$purl."PageNo=$j'>$j</a></li>";
$listdd .= "<li class='page-item'><a href='".$purl."PageNo=$j' class='page-link'>$j</a></li>";
}
}
$plist = '';


+ 5
- 5
src/system/archive/taglist.class.php View File

@@ -418,14 +418,14 @@ class TagList
$purl .= "?/".urlencode($this->Tag);
//获得上页和下页的链接
if ($this->PageNo != 1) {
$prepage .= "<li class='page-item'><a class='page-link' href='".$purl."/$prepagenum/'>上页</a></li>";
$indexpage = "<li class='page-item'><a class='page-link' href='".$purl."/1/'>首页</a></li>";
$prepage .= "<li class='page-item'><a href='".$purl."/$prepagenum/' class='page-link'>上页</a></li>";
$indexpage = "<li class='page-item'><a href='".$purl."/1/' class='page-link'>首页</a></li>";
} else {
$indexpage = "<li class='page-item'><span class='page-link'>首页</span></li>";
}
if ($this->PageNo != $totalpage && $totalpage > 1) {
$nextpage .= "<li class='page-item'><a class='page-link' href='".$purl."/$nextpagenum/'>下页</a></li>";
$endpage = "<li class='page-item'><a class='page-link' href='".$purl."/$totalpage/'>末页</a></li>";
$nextpage .= "<li class='page-item'><a href='".$purl."/$nextpagenum/' class='page-link'>下页</a></li>";
$endpage = "<li class='page-item'><a href='".$purl."/$totalpage/' class='page-link'>末页</a></li>";
} else {
$endpage = "<li class='page-item'><span class='page-link'>末页</span></li>";
}
@@ -448,7 +448,7 @@ class TagList
if ($j == $this->PageNo) {
$listdd .= "<li class='page-item active'><span class='page-link'>$j</span></li>";
} else {
$listdd .= "<li class='page-item'><a class='page-link' href='".$purl."/$j/'>$j</a></li>";
$listdd .= "<li class='page-item'><a href='".$purl."/$j/' class='page-link'>$j</a></li>";
}
}
$plist = '';


Loading…
Cancel
Save