Browse Source

taglist.htm为tag_list.htm

tags/6.3.0
叙述、别离 6 months ago
parent
commit
744620c170
9 changed files with 8 additions and 8 deletions
  1. +1
    -1
      src/admin/makehtml_taglist.php
  2. +1
    -1
      src/admin/makehtml_taglist_action.php
  3. +1
    -1
      src/admin/templets/makehtml_tag_list.htm
  4. +1
    -1
      src/apps/tags.php
  5. +1
    -1
      src/system/archive/searchview.class.php
  6. +1
    -1
      src/system/helpers/channelunit.helper.php
  7. +1
    -1
      src/system/taglib/arclist.lib.php
  8. +0
    -0
      src/theme/dedebiz/tag_list.htm
  9. +1
    -1
      src/theme/templet-filelist.inc

+ 1
- 1
src/admin/makehtml_taglist.php View File

@@ -35,5 +35,5 @@ if ($action == "search") {
echo json_encode($result);
exit;
}
include DedeInclude('templets/makehtml_taglist.htm');
include DedeInclude('templets/makehtml_tag_list.htm');
?>

+ 1
- 1
src/admin/makehtml_taglist_action.php View File

@@ -53,7 +53,7 @@ $tag = $dsql->GetOne("SELECT * FROM `#@__tagindex` WHERE id='$ctagid' LIMIT 0,1;
$tagsDir = str_replace("{cmspath}", "", $cfg_tags_dir);
MkdirAll($cfg_basedir.$tagsDir, $cfg_dir_purview);
if (is_array($tag) && count($tag) > 0) {
$dlist = new TagList($tag['id'], 'taglist.htm');
$dlist = new TagList($tag['id'], 'tag_list.htm');
$dlist->CountRecord();
$dlist->SetTagsDir($tagsdir);
$ntotalpage = $dlist->TotalPage;


src/admin/templets/makehtml_taglist.htm → src/admin/templets/makehtml_tag_list.htm View File

@@ -16,7 +16,7 @@
</tr>
<tr>
<td colspan="2">
<div class="alert alert-info mb-0">生成静态文件后,浏览动态文件则直接跳转静态文件,如果需要动态浏览,删除对应文件即可。标签首页模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag.htm 标签列表页模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/taglist.htm</div>
<div class="alert alert-info mb-0">生成静态文件后,浏览动态文件则直接跳转静态文件,如果需要动态浏览,删除对应文件即可。标签首页模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag.htm 标签列表页模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag_list.htm</div>
</td>
</tr>
<?php if ($tagid > 0) {$row = $dsql->GetOne("SELECT tag FROM `#@__tagindex` WHERE id = '$tagid' ");?>

+ 1
- 1
src/apps/tags.php View File

@@ -22,7 +22,7 @@ if (isset($_SERVER['QUERY_STRING'])) {
$tag = FilterSearch(urldecode($tag));
if ($tag != addslashes($tag)) $tag = '';
if ($tag == '') $dlist = new TagList($tag, 'tag.htm');
else $dlist = new TagList($tag, 'taglist.htm');
else $dlist = new TagList($tag, 'tag_list.htm');
$dlist->Display();
exit();
?>

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

@@ -279,7 +279,7 @@ class SearchView
} else {
$style = '';
}
$likeword .= " <a href='search.php?keyword=".urlencode($row['keyword'])."&searchtype=titlekeyword'".$style.">".$row['keyword']."</a> ";
$likeword .= "<a href='search.php?keyword=".urlencode($row['keyword'])."&searchtype=titlekeyword'".$style.">".$row['keyword']."</a> ";
}
return $likeword;
}


+ 1
- 1
src/system/helpers/channelunit.helper.php View File

@@ -600,7 +600,7 @@ function GetHotKeywords(&$dsql, $num = 8, $nday = 365, $klen = 16, $orderby = 'c
$dsql->Execute('hw');
$hotword = '';
while ($row = $dsql->GetArray('hw')) {
$hotword .= " <a href='".$cfg_phpurl."/search.php?keyword=".urlencode($row['keyword'])."&searchtype=titlekeyword'>".$row['keyword']."</a> ";
$hotword .= "<a href='".$cfg_phpurl."/search.php?keyword=".urlencode($row['keyword'])."&searchtype=titlekeyword'>".$row['keyword']."</a> ";
}
return $hotword;
}


+ 1
- 1
src/system/taglib/arclist.lib.php View File

@@ -297,7 +297,7 @@ function lib_arclistDone (&$refObj, &$ctag, $typeid=0, $row=10, $col=1, $titlele
$dsql->SetQuery($query);
$dsql->Execute('al');
$artlist = '';
if ($pagesize > 0) $artlist .= "<div id='{$tagid}'>\r\n";
if ($pagesize > 0) $artlist .= "<div id='{$tagid}'>\r\n";
if ($col > 1) $artlist = "<table width='$tablewidth'>\r\n";
$dtp2 = new DedeTagParse();
$dtp2->SetNameSpace('field', '[', ']');


src/theme/dedebiz/taglist.htm → src/theme/dedebiz/tag_list.htm View File


+ 1
- 1
src/theme/templet-filelist.inc View File

@@ -24,7 +24,7 @@ list_soft.htm,软件列表模板
list_spec.htm,专题列表模板
search.htm,搜索模板
tag.htm,标签首页模板
taglist.htm,标签文档列表模板
tag_list.htm,标签文档列表模板
widget_article_feedback.htm,小部件评论模板
widget_article_likes.htm,小部件点赞模板
widget_hot.htm,小部件头条文档模板


Loading…
Cancel
Save