diff --git a/src/admin/templets/tags_main.htm b/src/admin/templets/tags_main.htm
index 0aeb0c01..229f6483 100644
--- a/src/admin/templets/tags_main.htm
+++ b/src/admin/templets/tags_main.htm
@@ -66,7 +66,7 @@
|
,"");' class="btn btn-light btn-sm">
-
+
|
diff --git a/src/system/archive/taglist.class.php b/src/system/archive/taglist.class.php
index aef598e9..b857c7a6 100755
--- a/src/system/archive/taglist.class.php
+++ b/src/system/archive/taglist.class.php
@@ -424,14 +424,14 @@ class TagList
$purl .= "?/".urlencode($this->Tag);
//获得上页和下页的链接
if ($this->PageNo != 1) {
- $prepage .= "上页";
- $indexpage = "首页";
+ $prepage .= "上页";
+ $indexpage = "首页";
} else {
$indexpage = "首页";
}
if ($this->PageNo != $totalpage && $totalpage > 1) {
- $nextpage .= "下页";
- $endpage = "末页";
+ $nextpage .= "下页";
+ $endpage = "末页";
} else {
$endpage = "末页";
}
@@ -454,7 +454,7 @@ class TagList
if ($j == $this->PageNo) {
$listdd .= "$j";
} else {
- $listdd .= "$j";
+ $listdd .= "$j";
}
}
$plist = '';
@@ -498,14 +498,14 @@ class TagList
$purl = $this->tagsDir.'/'.$this->TagInfos['id'];
//获得上页和下页的链接
if ($this->PageNo != 1) {
- $prepage .= "上页";
- $indexpage = "首页";
+ $prepage .= "上页";
+ $indexpage = "首页";
} else {
$indexpage = "首页";
}
if ($this->PageNo != $totalpage && $totalpage > 1) {
- $nextpage .= "下页";
- $endpage = "末页";
+ $nextpage .= "下页";
+ $endpage = "末页";
} else {
$endpage = "末页";
}
@@ -528,7 +528,7 @@ class TagList
if ($j == $this->PageNo) {
$listdd .= "$j";
} else {
- $listdd .= "$j";
+ $listdd .= "$j";
}
}
$plist = '';
diff --git a/src/system/taglib/tag.lib.php b/src/system/taglib/tag.lib.php
index c53eeef2..0f13d97a 100755
--- a/src/system/taglib/tag.lib.php
+++ b/src/system/taglib/tag.lib.php
@@ -55,7 +55,7 @@ function lib_tag(&$ctag, &$refObj)
if (isset($envs['makeTag']) && $envs['makeTag'] == 1 || $ishtml == 1) {
$row['link'] = $cfg_cmsurl.$tagsdir."/".$row['id']."";
} else {
- $row['link'] = $cfg_cmsurl."/apps/tags.php?".$row['id']."";
+ $row['link'] = $cfg_cmsurl."/apps/tags.php?/".$row['id']."";
}
$row['highlight'] = mt_rand(1, 10);
foreach ($ctp->CTags as $tagid => $ctag) {