From 047e63a5f0487baa928c30df4be2edb5a2850350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= Date: Sat, 11 Jan 2025 14:18:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/templets/tags_main.htm | 2 +- src/system/archive/taglist.class.php | 20 ++++++++++---------- src/system/taglib/tag.lib.php | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) 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) {