Browse Source

Update taglist.class.php

tags/6.2.6
叙述、别离 1 year ago
parent
commit
00e88f8d02
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/system/archive/taglist.class.php

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

@@ -51,7 +51,7 @@ class TagList
$this->TypeLink = new TypeLink(0);
$this->Fields['tag'] = $keyword;
if (empty($keyword)) {
$this->Fields['title'] = "TAGS列表";
$this->Fields['title'] = "标签列表";
}
$this->Fields['position'] = $cfg_cmsurl."/apps/tags.php";
$this->TempletsFile = '';
@@ -61,8 +61,7 @@ class TagList
if (!empty($this->Tag)) {
$this->TagInfos = $this->dsql->GetOne("SELECT * FROM `#@__tagindex` where id = '{$this->Tag}' ");
if (!is_array($this->TagInfos)) {
$msg = "网站找不到该标签";
ShowMsg($msg, "-1");
ShowMsg('当前标签不存在,系统自动返回标签首页', 'tags.php');
exit();
}
$this->Fields['title'] = empty($this->TagInfos['title']) ? $this->TagInfos['tag'] : $this->TagInfos['title'];


Loading…
Cancel
Save