From 084f1408caf5eb1429253965ecf974494696182d Mon Sep 17 00:00:00 2001 From: xushubieli Date: Thu, 20 Oct 2022 18:37:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/album_add.php | 4 +- src/admin/album_edit.php | 2 +- src/admin/archives_add.php | 2 +- src/admin/article_add.php | 4 +- src/admin/article_coonepage_rule.php | 4 +- src/admin/article_edit.php | 2 +- src/admin/article_source_edit.php | 6 +-- src/admin/article_template_rand.php | 4 +- src/admin/article_writer_edit.php | 6 +-- src/admin/catalog_do.php | 2 +- src/admin/content_batchup_action.php | 6 +-- src/admin/content_select_list.php | 2 +- src/admin/inc/inc_action_info.php | 6 +-- src/admin/inc/inc_archives_functions.php | 2 +- src/admin/inc/inc_coonepage.php | 2 +- src/admin/inc/inc_list_functions.php | 2 +- src/admin/member_operations.php | 2 +- src/admin/soft_add.php | 4 +- src/admin/soft_edit.php | 2 +- src/admin/spec_add.php | 2 +- src/admin/templets/article_add.htm | 10 ++-- src/admin/templets/article_coonepage_rule.htm | 4 +- src/admin/templets/article_edit.htm | 10 ++-- src/admin/templets/catalog_add.htm | 10 ++-- src/admin/templets/catalog_add_quick.htm | 8 +-- src/admin/templets/catalog_edit.htm | 10 ++-- src/admin/templets/content_batch_up.htm | 52 ++++++------------- src/admin/templets/content_i_list.htm | 2 +- src/admin/templets/content_list.htm | 2 +- src/admin/templets/content_s_list.htm | 4 +- src/admin/templets/content_select_list.htm | 6 +-- src/admin/templets/content_sg_list.htm | 2 +- src/admin/templets/erradd.htm | 4 +- src/admin/templets/feedback_edit.htm | 2 +- src/admin/templets/freelist_add.htm | 2 +- src/admin/templets/freelist_edit.htm | 2 +- src/admin/templets/makehtml_all.htm | 2 +- src/admin/templets/makehtml_archives.htm | 2 +- src/admin/templets/makehtml_freelist.htm | 2 +- src/admin/templets/makehtml_taglist.htm | 2 +- src/admin/templets/member_toadmin.htm | 2 +- src/admin/templets/member_view.htm | 2 +- src/admin/templets/mytag_tag_guide.htm | 2 +- src/admin/templets/recycling.htm | 2 +- src/admin/templets/soft_add.htm | 2 +- src/admin/templets/soft_edit.htm | 4 +- src/admin/templets/spec_add.htm | 10 ++-- src/admin/templets/spec_edit.htm | 14 ++--- src/admin/templets/sys_admin_user_add.htm | 2 +- src/admin/templets/sys_admin_user_edit.htm | 2 +- src/admin/templets/tag_test.htm | 2 +- src/admin/templets/templets_one_add.htm | 2 +- src/apps/download.php | 4 +- src/apps/recommend.php | 4 +- src/apps/view.php | 10 ++-- src/install/sql-dfdata.txt | 24 ++++----- src/system/archive/archives.class.php | 6 +-- src/system/dedecollection.func.php | 2 +- src/system/helpers/channelunit.helper.php | 4 +- src/system/taglib/arclist.lib.php | 4 +- src/system/taglib/arclistsg.lib.php | 4 +- src/system/taglib/help/arclist.txt | 4 +- src/system/taglib/help/arclistsg.txt | 2 +- src/system/typelink/typeunit.class.admin.php | 2 +- src/theme/templet-filelist.inc | 10 ++-- src/theme/templet-pluslist.inc | 2 +- src/user/archives_do.php | 4 +- src/user/article_add.php | 10 ++-- src/user/article_edit.php | 12 ++--- src/user/inc/inc_archives_functions.php | 2 +- src/user/inc/inc_batchup.php | 6 +-- src/user/inc/inc_list_functions.php | 2 +- src/user/soft_add.php | 2 +- src/user/templets/content_list.htm | 2 +- src/user/templets/content_sg_list.htm | 2 +- 75 files changed, 176 insertions(+), 198 deletions(-) diff --git a/src/admin/album_add.php b/src/admin/album_add.php index a934cc42..d6461f1f 100644 --- a/src/admin/album_add.php +++ b/src/admin/album_add.php @@ -29,7 +29,7 @@ if ($dopost != 'save') { //获得频道模型信息 $cInfos = $dsql->GetOne(" SELECT * FROM `#@__channeltype` WHERE id='$channelid' "); $channelid = $cInfos['id']; - //获取文章最大id+1以确定当前权重 + //获取文档最大id+1以确定当前权重 $maxWright = $dsql->GetOne("SELECT id+1 AS cc FROM `#@__archives` ORDER BY id DESC LIMIT 1"); $maxWright = empty($maxWright)? array('cc'=>1) : $maxWright; include DedeInclude("templets/album_add.htm"); @@ -301,7 +301,7 @@ else if ($dopost == 'save') { $msg = "请选择您的后续操作:继续发布图集修改图集预览图集已发布图集管理$backurl"; $msg = "
{$msg}
".GetUpdateTest(); $wintitle = "成功发布一个图集"; - $wecome_info = "文章管理::发布图集"; + $wecome_info = "文档管理::发布图集"; $win = new OxWindow(); $win->AddTitle("成功发布一个图集:"); $win->AddMsgItem($msg); diff --git a/src/admin/album_edit.php b/src/admin/album_edit.php index 9a8ad062..85ce5e53 100644 --- a/src/admin/album_edit.php +++ b/src/admin/album_edit.php @@ -371,7 +371,7 @@ else if ($dopost == 'save') { //返回成功信息 $msg = "请选择您的后续操作:继续发布图集修改图集预览图集管理已发布图集$backurl"; $wintitle = "成功修改图集"; - $wecome_info = "文章管理::修改图集"; + $wecome_info = "文档管理::修改图集"; $win = new OxWindow(); $win->AddTitle("成功修改一个图集:"); $win->AddMsgItem($msg); diff --git a/src/admin/archives_add.php b/src/admin/archives_add.php index 97ee320b..1f5098c6 100644 --- a/src/admin/archives_add.php +++ b/src/admin/archives_add.php @@ -32,7 +32,7 @@ if ($dopost != 'save') { //获得频道模型信息 $cInfos = $dsql->GetOne(" SELECT * FROM `#@__channeltype` WHERE id='$channelid' "); $channelid = $cInfos['id']; - //获取文章最大id+1以确定当前权重 + //获取文档最大id+1以确定当前权重 $maxWright = $dsql->GetOne("SELECT id+1 AS cc FROM `#@__archives` ORDER BY id DESC LIMIT 1"); $maxWright = empty($maxWright)? array('cc'=>1) : $maxWright; include DedeInclude('templets/archives_add.htm'); diff --git a/src/admin/article_add.php b/src/admin/article_add.php index b524e879..8a6cec57 100644 --- a/src/admin/article_add.php +++ b/src/admin/article_add.php @@ -41,7 +41,7 @@ if ($dopost != 'save') { } //获得频道模型信息 $cInfos = $dsql->GetOne(" Select * From `#@__channeltype` where id='$channelid' "); - //获取文章最大id+1以确定当前权重 + //获取文档最大id+1以确定当前权重 $maxWright = $dsql->GetOne("SELECT id+1 AS cc FROM `#@__archives` ORDER BY id DESC LIMIT 1"); $maxWright = empty($maxWright)? array('cc'=>1) : $maxWright; include DedeInclude("templets/article_add.htm"); @@ -212,7 +212,7 @@ else if ($dopost == 'save') { $msg = "请选择您的后续操作:继续发布文档查看文档修改文档已发布文档管理$backurl"; $msg = "
{$msg}
".GetUpdateTest(); $wintitle = "成功发布文档"; - $wecome_info = "文章管理::发布文档"; + $wecome_info = "文档管理::发布文档"; $win = new OxWindow(); $win->AddTitle("成功发布文档:"); $win->AddMsgItem($msg); diff --git a/src/admin/article_coonepage_rule.php b/src/admin/article_coonepage_rule.php index 56a7f777..c023a449 100644 --- a/src/admin/article_coonepage_rule.php +++ b/src/admin/article_coonepage_rule.php @@ -67,7 +67,7 @@ else if ($action == 'editload') { - 用作文章来源: + 用作文档来源: @@ -86,7 +86,7 @@ else if ($action == 'editload') { 采集规则: - 仅针对文章内容,格式:前面HTML{@body}后面HMTL + 仅针对文档内容,格式:前面HTML{@body}后面HMTL diff --git a/src/admin/article_edit.php b/src/admin/article_edit.php index f07750db..47203096 100644 --- a/src/admin/article_edit.php +++ b/src/admin/article_edit.php @@ -202,7 +202,7 @@ else if ($dopost == 'save') { //返回成功信息 $msg = "请选择您的后续操作:发布新文档修改文档查看文档管理文档$backurl"; $wintitle = "成功修改文档"; - $wecome_info = "文章管理::修改文档"; + $wecome_info = "文档管理::修改文档"; $win = new OxWindow(); $win->AddTitle("成功修改文档:"); $win->AddMsgItem($msg); diff --git a/src/admin/article_source_edit.php b/src/admin/article_source_edit.php index e3a3378b..513b668c 100644 --- a/src/admin/article_source_edit.php +++ b/src/admin/article_source_edit.php @@ -1,6 +1,6 @@ 0) { $allsource = fread($fp, filesize($m_file)); fclose($fp); } -$wintitle = "文章来源管理"; -$wecome_info = "文章来源管理"; +$wintitle = "文档来源管理"; +$wecome_info = "文档来源管理"; $win = new OxWindow(); $win->Init('article_source_edit.php', 'js/blank.js', 'POST'); $win->AddHidden('dopost', 'save'); diff --git a/src/admin/article_template_rand.php b/src/admin/article_template_rand.php index 556bed87..65a026dd 100644 --- a/src/admin/article_template_rand.php +++ b/src/admin/article_template_rand.php @@ -93,7 +93,7 @@ function DoRand(jobname)
- 如果您想对旧的文章应用随机模板设置,请点击此对旧文章进行处理(必须设置好模板项) + 如果您想对旧的文档应用随机模板设置,请点击此对旧文档进行处理(必须设置好模板项) 设置全部 取消全部 $okmsg @@ -107,7 +107,7 @@ $win = new OxWindow(); $win->Init('article_template_rand.php', 'js/blank.js', 'POST'); $win->AddHidden('dopost', 'save'); $win->AddHidden('token', $_SESSION['token']); -$win->AddTitle("本设置仅适用于系统默认的文章模型,设置后发布文章时会自动按指定的模板随机获取一个,如果不想使用此功能,把它设置为空即可"); +$win->AddTitle("本设置仅适用于系统默认的文档模型,设置后发布文档时会自动按指定的模板随机获取一个,如果不想使用此功能,把它设置为空即可"); $win->AddMsgItem($msg); $winform = $win->GetWindow('ok'); $win->Display(); \ No newline at end of file diff --git a/src/admin/article_writer_edit.php b/src/admin/article_writer_edit.php index 80d11b24..3880a930 100644 --- a/src/admin/article_writer_edit.php +++ b/src/admin/article_writer_edit.php @@ -1,6 +1,6 @@ 0) { $allwriter = fread($fp, filesize($m_file)); fclose($fp); } -$wintitle = "文章作者管理"; -$wecome_info = "文章作者管理"; +$wintitle = "文档作者管理"; +$wecome_info = "文档作者管理"; $win = new OxWindow(); $win->Init('article_writer_edit.php', 'js/blank.js', 'POST'); $win->AddHidden('dopost', 'save'); diff --git a/src/admin/catalog_do.php b/src/admin/catalog_do.php index 0a350cce..401e4087 100644 --- a/src/admin/catalog_do.php +++ b/src/admin/catalog_do.php @@ -21,7 +21,7 @@ $channelid = empty($channelid) ? 0 : intval($channelid); function addArchives(); ---------------------------*/ if ($dopost == "addArchives") { - //默认文章调用发布表单 + //默认文档调用发布表单 if (empty($cid) && empty($channelid)) { header("location:article_add.php"); exit(); diff --git a/src/admin/content_batchup_action.php b/src/admin/content_batchup_action.php index d7754080..4a7023cc 100644 --- a/src/admin/content_batchup_action.php +++ b/src/admin/content_batchup_action.php @@ -55,7 +55,7 @@ if (!empty($heightdone)) $action = $heightdone; //指量审核 if ($action == 'check') { if (empty($startid) || empty($endid) || $endid < $startid) { - ShowMsg('该操作必须指定起始ID', 'javascript:;'); + ShowMsg('该操作必须指定起始id', 'javascript:;'); exit(); } $jumpurl = "makehtml_archives_action.php?endid=$endid&startid=$startid"; @@ -75,7 +75,7 @@ if ($action == 'check') { //批量删除 else if ($action == 'del') { if (empty($startid) || empty($endid) || $endid < $startid) { - ShowMsg('该操作必须指定起始ID', 'javascript:;'); + ShowMsg('该操作必须指定起始id', 'javascript:;'); exit(); } $dsql->SetQuery("SELECT id FROM `#@__archives` $gwhere"); @@ -98,7 +98,7 @@ else if ($action == 'delnulltitle') { ShowMsg("成功删除 $tdd 条记录", "javascript:;"); exit(); } -//删除空内容文章 +//删除空内容文档 else if ($action == 'delnullbody') { $dsql->SetQuery("SELECT aid FROM `#@__addonarticle` WHERE LENGTH(body) < 10 "); $dsql->Execute('x'); diff --git a/src/admin/content_select_list.php b/src/admin/content_select_list.php index 096ea787..c504c9e1 100644 --- a/src/admin/content_select_list.php +++ b/src/admin/content_select_list.php @@ -1,6 +1,6 @@ array( 'title' => '内容回收站', - 'description' => '如果在"系统配置变量"的"核心设置"中开启了"文章回收站是否开启功能",后台删除的文档将会存放在此处', + 'description' => '如果在"系统配置变量"的"核心设置"中开启了"文档回收站是否开启功能",后台删除的文档将会存放在此处', 'purview' => 'a_List,a_AccList,a_MyList', 'linkurl' => 'recycling.php' ) @@ -93,7 +93,7 @@ $actionSearch[3] = array( 'soniterm' => array( 0 => array( 'title' => '内容模型管理 ', - 'description' => '可以对现有商品、软件、图片集、普通文章、专题、分类信息等模型就行管理,也可以创建新的内容模型', + 'description' => '可以对现有商品、软件、图片集、普通文档、专题、分类信息等模型就行管理,也可以创建新的内容模型', 'purview' => 'c_List', 'linkurl' => 'mychannel_main.php' ), @@ -399,7 +399,7 @@ $actionSearch[9] = array( ), 9 => array( 'title' => '随机模板设置', - 'description' => '本设置仅适用于系统默认的文章模型,设置后发布文章时会自动按指定的模板随机获取一个,如果不想使用此功能,把它设置为空即可', + 'description' => '本设置仅适用于系统默认的文档模型,设置后发布文档时会自动按指定的模板随机获取一个,如果不想使用此功能,把它设置为空即可', 'purview' => 'sys_StringMix', 'linkurl' => 'article_template_rand.php' ), diff --git a/src/admin/inc/inc_archives_functions.php b/src/admin/inc/inc_archives_functions.php index 3bb403f0..ac127bfa 100644 --- a/src/admin/inc/inc_archives_functions.php +++ b/src/admin/inc/inc_archives_functions.php @@ -88,7 +88,7 @@ function GetCurContentAlbum($body, $rfurl, &$firstdd) return $rsimg; } /** - * 获得文章body里的外部资源 + * 获得文档body里的外部资源 * * @access public * @param string $body 文档内容 diff --git a/src/admin/inc/inc_coonepage.php b/src/admin/inc/inc_coonepage.php index 22d7acc7..858b467b 100644 --- a/src/admin/inc/inc_coonepage.php +++ b/src/admin/inc/inc_coonepage.php @@ -1,6 +1,6 @@ GetOne(" SELECT * FROM `#@__channeltype` WHERE id='$channelid' "); $channelid = $cInfos['id']; - //获取文章最大id+1以确定当前权重 + //获取文档最大id+1以确定当前权重 $maxWright = $dsql->GetOne("SELECT id+1 AS cc FROM `#@__archives` ORDER BY id DESC LIMIT 1"); $maxWright = empty($maxWright)? array('cc'=>1) : $maxWright; include DedeInclude("templets/soft_add.htm"); @@ -237,7 +237,7 @@ else if ($dopost == 'save') { $msg = "请选择您的后续操作:继续发布软件查看软件修改软件已发布软件管理网站栏目管理"; $msg = "
{$msg}
".GetUpdateTest(); $wintitle = "成功发布一个软件"; - $wecome_info = "文章管理::发布软件"; + $wecome_info = "文档管理::发布软件"; $win = new OxWindow(); $win->AddTitle("成功发布软件:"); $win->AddMsgItem($msg); diff --git a/src/admin/soft_edit.php b/src/admin/soft_edit.php index 29e00502..72591ad4 100644 --- a/src/admin/soft_edit.php +++ b/src/admin/soft_edit.php @@ -265,7 +265,7 @@ else if ($dopost == 'save') { //返回成功信息 $msg = "请选择您的后续操作:发布新软件修改软件查看软件已发布软件管理网站栏目管理"; $wintitle = "成功修改一个软件"; - $wecome_info = "文章管理::修改软件"; + $wecome_info = "文档管理::修改软件"; $win = new OxWindow(); $win->AddTitle("成功修改软件:"); $win->AddMsgItem($msg); diff --git a/src/admin/spec_add.php b/src/admin/spec_add.php index af7b6fb5..9d7da52c 100644 --- a/src/admin/spec_add.php +++ b/src/admin/spec_add.php @@ -188,7 +188,7 @@ else if ($dopost == 'save') { //返回成功信息 $msg = "请选择您的后续操作:创建新专题查看专题已发布专题管理"; $wintitle = "成功创建专题"; - $wecome_info = "文章管理::发布专题"; + $wecome_info = "文档管理::发布专题"; $win = new OxWindow(); $win->AddTitle("成功创建专题:"); $win->AddMsgItem($msg); diff --git a/src/admin/templets/article_add.htm b/src/admin/templets/article_add.htm index 584d02c1..180f63bd 100644 --- a/src/admin/templets/article_add.htm +++ b/src/admin/templets/article_add.htm @@ -3,7 +3,7 @@ - 发布文章 + 发布文档 @@ -24,7 +24,7 @@ var arctype = 'article'; function checkSubmit() { if (document.form1.title.value == '') { - ShowMsg('文章标题不能为空'); + ShowMsg('文档标题不能为空'); return false; } if (document.form1.typeid.value == 0) { @@ -37,7 +37,7 @@ - +
文章列表 > 发布文章 文档列表 > 发布文档 栏目管理
@@ -81,7 +81,7 @@
- + @@ -296,7 +296,7 @@ - + diff --git a/src/admin/templets/content_s_list.htm b/src/admin/templets/content_s_list.htm index b774da53..05141715 100644 --- a/src/admin/templets/content_s_list.htm +++ b/src/admin/templets/content_s_list.htm @@ -112,13 +112,13 @@
文章标题: 文档标题: 简略标题: - + - + - + diff --git a/src/admin/templets/article_edit.htm b/src/admin/templets/article_edit.htm index a905de95..ddfbf907 100644 --- a/src/admin/templets/article_edit.htm +++ b/src/admin/templets/article_edit.htm @@ -3,7 +3,7 @@ - 修改文章 + 修改文档 @@ -25,7 +25,7 @@ var arctype = 'article'; function checkSubmit() { if (document.form1.title.value == '') { - ShowMsg('文章标题不能为空'); + ShowMsg('文档标题不能为空'); document.form1.title.focus(); return false; } @@ -35,7 +35,7 @@
文章排序: 文档排序:
用作文章来源:用作文档来源: @@ -169,7 +169,7 @@
采集规则:仅针对文章内容,格式:前面HTML{@body}后面HMTL仅针对文档内容,格式:前面HTML{@body}后面HMTL
- +
文章列表 > 修改文章 文档列表 > 修改文档 栏目管理
@@ -59,7 +59,7 @@
- + @@ -257,7 +257,7 @@
文章标题: 文档标题: 简略标题: - + - + - + - + - + - + - + - + + + + + + + - @@ -168,31 +171,6 @@ - - - - - - - - - - - -
文章排序: 文档排序:
文章模板:文档模板: @@ -430,9 +430,9 @@ {Y}、{M}、{D} 年月日
{timestamp} INT类型的UNIX时间戳
- {aid} 文章ID
- {pinyin} 拼音+文章ID
- {py} 拼音部首+文章ID
+ {aid} 文档id
+ {pinyin} 拼音+文档id
+ {py} 拼音部首+文档id
{typedir} 栏目目录
{cc} 日期+ID混编后用转换为适合的字母
Nginx伪静态默认规则
@@ -441,7 +441,7 @@
文章命名规则:文档命名规则: diff --git a/src/admin/templets/catalog_add_quick.htm b/src/admin/templets/catalog_add_quick.htm index 21618079..128c52e1 100644 --- a/src/admin/templets/catalog_add_quick.htm +++ b/src/admin/templets/catalog_add_quick.htm @@ -175,15 +175,15 @@ 支持变量: {Y}、{M}、{D} 年月日
{timestamp} INT类型的UNIX时间戳
- {aid} 文章ID
- {pinyin} 拼音+文章ID
- {py} 拼音部首+文章ID
+ {aid} 文档id
+ {pinyin} 拼音+文档id
+ {py} 拼音部首+文档id
{typedir} 栏目目录
{cc} 日期+ID混编后用转换为适合的字母
文章命名规则:文档命名规则: diff --git a/src/admin/templets/catalog_edit.htm b/src/admin/templets/catalog_edit.htm index c062ffa5..1a68e80e 100644 --- a/src/admin/templets/catalog_edit.htm +++ b/src/admin/templets/catalog_edit.htm @@ -359,7 +359,7 @@
文章模板:文档模板: @@ -370,9 +370,9 @@ {Y}、{M}、{D} 年月日
{timestamp} INT类型的UNIX时间戳
- {aid} 文章ID
- {pinyin} 拼音+文章ID
- {py} 拼音部首+文章ID
+ {aid} 文档id
+ {pinyin} 拼音+文档id
+ {py} 拼音部首+文档id
{typedir} 栏目目录
{cc} 日期+ID混编后用转换为适合的字母
Nginx伪静态默认规则
@@ -381,7 +381,7 @@
文章命名规则:文档命名规则: diff --git a/src/admin/templets/content_batch_up.htm b/src/admin/templets/content_batch_up.htm index 16fd6bd5..e5dfb905 100644 --- a/src/admin/templets/content_batch_up.htm +++ b/src/admin/templets/content_batch_up.htm @@ -84,7 +84,7 @@
起始ID:起始id: 开始: 结束: @@ -124,21 +124,24 @@
+ +
操作: - 新位置:"; - echo ""; - echo "
"; - echo "标题关键词:"; - ?> + + +
- + +
- - - - - -
错误文档修正
-
- - - -
- -
\ No newline at end of file diff --git a/src/admin/templets/content_i_list.htm b/src/admin/templets/content_i_list.htm index a31056d6..9d316ec9 100644 --- a/src/admin/templets/content_i_list.htm +++ b/src/admin/templets/content_i_list.htm @@ -28,7 +28,7 @@ - +
diff --git a/src/admin/templets/content_list.htm b/src/admin/templets/content_list.htm index 2df069f6..d7bc4da2 100644 --- a/src/admin/templets/content_list.htm +++ b/src/admin/templets/content_list.htm @@ -71,7 +71,7 @@
id 选择文章标题文档标题 更新时间 类目 点击
- + - + diff --git a/src/admin/templets/content_select_list.htm b/src/admin/templets/content_select_list.htm index 2ace3248..d4871f00 100644 --- a/src/admin/templets/content_select_list.htm +++ b/src/admin/templets/content_select_list.htm @@ -3,7 +3,7 @@ - 选择文章 + 选择文档 @@ -50,13 +50,13 @@
文章列表文档列表
id 选择文章标题文档标题 更新时间 类目 点击
- + - + diff --git a/src/admin/templets/content_sg_list.htm b/src/admin/templets/content_sg_list.htm index 040dc5b2..f419b6bb 100644 --- a/src/admin/templets/content_sg_list.htm +++ b/src/admin/templets/content_sg_list.htm @@ -159,7 +159,7 @@ - + diff --git a/src/admin/templets/erradd.htm b/src/admin/templets/erradd.htm index 9c50a888..dfc95968 100644 --- a/src/admin/templets/erradd.htm +++ b/src/admin/templets/erradd.htm @@ -57,13 +57,13 @@
文章列表文档列表
id 选择文章标题文档标题 更新时间 类目 点击
id 选择文章标题文档标题 更新时间 类目 点击
- + - + diff --git a/src/admin/templets/feedback_edit.htm b/src/admin/templets/feedback_edit.htm index 7aba1360..df4d79c5 100644 --- a/src/admin/templets/feedback_edit.htm +++ b/src/admin/templets/feedback_edit.htm @@ -20,7 +20,7 @@
文章错误管理文档错误管理
选择 id 挑错人文章名称文档名称 出错类型 挑错时间 错误内容
- + diff --git a/src/admin/templets/freelist_add.htm b/src/admin/templets/freelist_add.htm index 46dce310..f3c89a42 100644 --- a/src/admin/templets/freelist_add.htm +++ b/src/admin/templets/freelist_add.htm @@ -83,7 +83,7 @@
评论所属文章:评论所属文档:
- + diff --git a/src/admin/templets/freelist_edit.htm b/src/admin/templets/freelist_edit.htm index c0057d7f..fb0a391f 100644 --- a/src/admin/templets/freelist_edit.htm +++ b/src/admin/templets/freelist_edit.htm @@ -71,7 +71,7 @@
自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度
自由列表标题: - + diff --git a/src/admin/templets/makehtml_all.htm b/src/admin/templets/makehtml_all.htm index d7f93848..ec3fabe0 100644 --- a/src/admin/templets/makehtml_all.htm +++ b/src/admin/templets/makehtml_all.htm @@ -80,7 +80,7 @@ - + diff --git a/src/admin/templets/makehtml_archives.htm b/src/admin/templets/makehtml_archives.htm index 820ba019..e7bfa253 100644 --- a/src/admin/templets/makehtml_archives.htm +++ b/src/admin/templets/makehtml_archives.htm @@ -39,7 +39,7 @@ - + diff --git a/src/admin/templets/makehtml_freelist.htm b/src/admin/templets/makehtml_freelist.htm index 85484d22..bc6b47d1 100644 --- a/src/admin/templets/makehtml_freelist.htm +++ b/src/admin/templets/makehtml_freelist.htm @@ -23,7 +23,7 @@ - + diff --git a/src/admin/templets/makehtml_taglist.htm b/src/admin/templets/makehtml_taglist.htm index 839ce7a4..89010e29 100644 --- a/src/admin/templets/makehtml_taglist.htm +++ b/src/admin/templets/makehtml_taglist.htm @@ -42,7 +42,7 @@ } else { ?> - + diff --git a/src/admin/templets/member_toadmin.htm b/src/admin/templets/member_toadmin.htm index 7d3f2087..af1eac80 100644 --- a/src/admin/templets/member_toadmin.htm +++ b/src/admin/templets/member_toadmin.htm @@ -56,7 +56,7 @@ - + diff --git a/src/admin/templets/member_view.htm b/src/admin/templets/member_view.htm index 974ca9ff..458a53d8 100644 --- a/src/admin/templets/member_view.htm +++ b/src/admin/templets/member_view.htm @@ -160,7 +160,7 @@ diff --git a/src/admin/templets/mytag_tag_guide.htm b/src/admin/templets/mytag_tag_guide.htm index db2f0355..1c413de8 100644 --- a/src/admin/templets/mytag_tag_guide.htm +++ b/src/admin/templets/mytag_tag_guide.htm @@ -147,7 +147,7 @@ - diff --git a/src/admin/templets/recycling.htm b/src/admin/templets/recycling.htm index 94b0f4af..53b42f73 100644 --- a/src/admin/templets/recycling.htm +++ b/src/admin/templets/recycling.htm @@ -75,7 +75,7 @@ - + diff --git a/src/admin/templets/soft_add.htm b/src/admin/templets/soft_add.htm index 4e270b5f..ec0e4dd2 100644 --- a/src/admin/templets/soft_add.htm +++ b/src/admin/templets/soft_add.htm @@ -450,7 +450,7 @@
自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文档列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度
自由列表标题:
起始ID:起始id: (空或0表示从头开始)
起始ID:起始id: >(空或0表示从头开始)
起始ID:起始id: (空或0表示从头开始)
用户笔名:(发布文章后显示责任编辑的名字)(发布文档后显示责任编辑的名字)
用户密码: GetOne("Select * From `#@__member_tj` where mid='{$row['mid']}' "); - echo "文章:{$nrow['article']} 图集:{$nrow['album']} 文档:{$nrow['archives']} 收藏:{$nrow['stow']}"; + echo "文档:{$nrow['article']} 图集:{$nrow['album']} 文档:{$nrow['archives']} 收藏:{$nrow['stow']}"; echo "
空间访问:{$nrow['homecount']} 页面访问:{$nrow['pagecount']} 留言:{$nrow['feedback']} 好友:{$nrow['friend']} "; ?>
文档发布时间:天以内(0 表示不限)
提取特定文档: + 提取特定文档:
id 选择文章标题文档标题 更新时间 类目 点击 - +
文章排序: 文档排序: - + @@ -402,7 +402,7 @@
文章标题: 文档标题: 简略标题: - + + 4、正常的情况下,每个节点显示的是“节点文档列表”里的文档,如果您指定为“自动获取模式”,那么必须指定关键词和栏目id - + - +
文章排序: 文档排序:
专题节点列表:
- 1、文章列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文章;
+ 1、文档列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文档;
2、关于单条记录模板里的[field:fieldname/]标记的使用,请参考关于系统帮助关于 arclist 标记的说明;
3、节点ID是节点的唯一标识,专题模板中用{dede:field.note noteid='标识'/}这样来表示单个节点,不指定noteid时为所有节点列表
- 4、正常的情况下,每个节点显示的是“节点文章列表”里的文档,如果您指定为“自动获取模式”,那么必须指定关键词和栏目id
@@ -310,14 +310,14 @@
节点文章列表:节点文档列表:
文档来源: - + 栏目id: diff --git a/src/admin/templets/spec_edit.htm b/src/admin/templets/spec_edit.htm index fe04f2f1..a7701142 100644 --- a/src/admin/templets/spec_edit.htm +++ b/src/admin/templets/spec_edit.htm @@ -290,7 +290,7 @@
- + - + - + - + - + - + diff --git a/src/admin/templets/sys_admin_user_edit.htm b/src/admin/templets/sys_admin_user_edit.htm index 3b7c8d37..92ea9ea9 100644 --- a/src/admin/templets/sys_admin_user_edit.htm +++ b/src/admin/templets/sys_admin_user_edit.htm @@ -33,7 +33,7 @@ - + diff --git a/src/admin/templets/tag_test.htm b/src/admin/templets/tag_test.htm index 20d3faca..f9022342 100644 --- a/src/admin/templets/tag_test.htm +++ b/src/admin/templets/tag_test.htm @@ -40,7 +40,7 @@ diff --git a/src/admin/templets/templets_one_add.htm b/src/admin/templets/templets_one_add.htm index 9ad3e02b..cea2e4f4 100644 --- a/src/admin/templets/templets_one_add.htm +++ b/src/admin/templets/templets_one_add.htm @@ -36,7 +36,7 @@ - + diff --git a/src/apps/download.php b/src/apps/download.php index f7ad239e..8d067970 100755 --- a/src/apps/download.php +++ b/src/apps/download.php @@ -177,11 +177,11 @@ else if ($open == 2) { exit(); } //以下为正常情况,自动扣点数 - //如果文章需要金币,检查用户是否浏览过本文档 + //如果文档需要金币,检查用户是否浏览过本文档 if ($needMoney > 0 && $mid != $cfg_ml->M_ID) { $sql = "SELECT aid,money FROM `#@__member_operation` WHERE buyid='ARCHIVE".$id."' AND mid='".$cfg_ml->M_ID."'"; $row = $dsql->GetOne($sql); - //未购买过此文章 + //未购买过此文档 if (!is_array($row)) { //没有足够的金币 if ($needMoney > $cfg_ml->M_Money || $cfg_ml->M_Money == '') { diff --git a/src/apps/recommend.php b/src/apps/recommend.php index 6568d3a4..79605ff9 100755 --- a/src/apps/recommend.php +++ b/src/apps/recommend.php @@ -37,7 +37,7 @@ else if ($action == 'send') { } $mailbody = ''; $msg = RemoveXSS(dede_htmlspecialchars($msg)); - $mailtitle = "您的好友给您推荐了一篇文章"; + $mailtitle = "您的好友给您推荐了一篇文档"; $mailbody .= "$msg \r\n\r\n"; $mailbody .= "Powered by DedeBIZ"; $headers = "From: ".$cfg_adminemail."\r\nReply-To: ".$cfg_adminemail; @@ -58,7 +58,7 @@ else if ($action == 'send') { @mail($email, $mailtitle, $mailbody, $headers); } } - ShowMsg("成功推荐一篇文章", $arcurl); + ShowMsg("成功推荐一篇文档", $arcurl); exit(); } $arcRow = GetOneArchive($aid); diff --git a/src/apps/view.php b/src/apps/view.php index f7b8af1e..797d0f39 100755 --- a/src/apps/view.php +++ b/src/apps/view.php @@ -1,7 +1,7 @@ Fields['arcrank']; require_once(DEDEINC.'/memberlogin.class.php'); $cfg_ml = new MemberLogin(); if ($needRank < 0 && $arc->Fields['mid'] != $cfg_ml->M_ID) { - ShowMsg('文章尚未审核,非作者本人无权查看', 'javascript:;'); + ShowMsg('文档尚未审核,非作者本人无权查看', 'javascript:;'); exit(); } -//设置了权限限制的文章 +//设置了权限限制的文档 //arctitle msgtitle moremsg if ($needMoney > 0 || $needRank > 1) { $arctitle = $arc->Fields['title']; @@ -55,7 +55,7 @@ if ($needMoney > 0 || $needRank > 1) { if ($needMoney > 0 && $arc->Fields['mid'] != $cfg_ml->M_ID) { $sql = "SELECT aid,money FROM `#@__member_operation` WHERE buyid='ARCHIVE".$aid."' AND mid='".$cfg_ml->M_ID."'"; $row = $dsql->GetOne($sql); - //未购买过此文章 + //未购买过此文档 if (!is_array($row)) { if ($cfg_ml->M_Money == '' || $needMoney > $cfg_ml->M_Money) { $msgtitle = "您没有权限浏览文档:{$arctitle} "; diff --git a/src/install/sql-dfdata.txt b/src/install/sql-dfdata.txt index 83ca3f11..e45a2da8 100755 --- a/src/install/sql-dfdata.txt +++ b/src/install/sql-dfdata.txt @@ -502,7 +502,7 @@ INSERT INTO `#@__area` VALUES('1','北京市','0','0'), ('33','澳门区','0','0'), ('35','台湾省','0','0'); -INSERT INTO `#@__channeltype` VALUES('1','article','普通文章','#@__archives','#@__addonarticle','article_add.php','content_list.php','article_edit.php','article_add.php','content_list.php','article_edit.php','\t\n\t\n','','','1','1','1','-1','','10','0','1','1','标题','0','0'), +INSERT INTO `#@__channeltype` VALUES('1','article','普通文档','#@__archives','#@__addonarticle','article_add.php','content_list.php','article_edit.php','article_add.php','content_list.php','article_edit.php','\t\n\t\n','','','1','1','1','-1','','10','0','1','1','标题','0','0'), ('2','image','图片集','#@__archives','#@__addonimages','album_add.php','content_i_list.php','album_edit.php','album_add.php','content_list.php','album_edit.php','\t\n\t\n','','','1','1','1','-1','','10','0','1','1','标题','0','0'), ('3','soft','软件','#@__archives','#@__addonsoft','soft_add.php','content_i_list.php','soft_edit.php','','','','\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n','filetype,language,softtype,os,accredit,softrank','','1','1','1','-1','','10','0','1','1','标题','0','0'), ('6','shop','商品','#@__archives','#@__addonshop','archives_add.php','content_list.php','archives_edit.php','archives_add.php','content_list.php','archives_edit.php','\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n\t\n\n\t\n\t\n\n\t\n\t\n\n\t\n\t\n','price,trueprice,brand,units','','0','1','1','-1','','10','0','1','1','商品名称','0','0'), @@ -3973,8 +3973,8 @@ INSERT INTO `#@__sysconfig` VALUES('1','cfg_basehost','站点网址','1','string ('30','cfg_jump_once','跳转网址是否直接跳转否则显示中转页','7','bool','Y'), ('31','cfg_task_pwd','系统计划任务客户端许可密码,需要客户端,通常不会太重要','7','string',''), ('32','cfg_arcsptitle','是否开启分页标题,开启影响文档生成速度','6','bool','N'), -('33','cfg_arcautosp','是否开启长文章自动分页','6','bool','N'), -('34','cfg_arcautosp_size','文章自动分页大小','6','number','5'), +('33','cfg_arcautosp','是否开启长文档自动分页','6','bool','N'), +('34','cfg_arcautosp_size','文档自动分页大小','6','number','5'), ('35','cfg_auot_description','自动摘要长度(0-250,0表示不启用)','7','number','250'), ('36','cfg_ftp_host','FTP主机','2','string',''), ('37','cfg_ftp_port','FTP端口','2','number',''), @@ -3993,8 +3993,8 @@ INSERT INTO `#@__sysconfig` VALUES('1','cfg_basehost','站点网址','1','string ('50','cfg_mb_addontype','会员附件许可的类型','4','bstring','swf|rm|rmvb|mpg|mp3|mp4|wmv|wma|wav|mid|mov|zip|rar|doc|xsl|ppt|wps'), ('51','cfg_mb_max','会员附件总大小限制:MB','4','number','500'), ('52','cfg_replacestr','替换词语,词语会被替换成*用“|”分开,但不要在结尾加“|”','5','bstring','他妈的|傻逼'), -('53','cfg_makeindex','发布文章后马上更新网站主页','6','bool','N'), -('54','cfg_keyword_like','使用关键词关连文章','6','bool','Y'), +('53','cfg_makeindex','发布文档后马上更新网站主页','6','bool','N'), +('54','cfg_keyword_like','使用关键词关连文档','6','bool','Y'), ('55','cfg_index_max','首页调用函数最大索引文档数,不适用于经常单栏目采集过多内容网站,不启用本项此值设置为0即可','6','number','10000'), ('56','cfg_index_cache','arclist标签调用缓存(0不启用,大于0值为多少秒)','6','number','86400'), ('57','cfg_tplcache','是否启用模板缓存','6','bool','Y'), @@ -4023,8 +4023,8 @@ INSERT INTO `#@__sysconfig` VALUES('1','cfg_basehost','站点网址','1','string ('81','cfg_mb_cktitle','是否检测会员投稿重复标题','5','bool','Y'), ('82','cfg_mb_editday','投稿多少天后不能再修改','5','number','1'), ('83','cfg_sendarc_scores','投稿可获取积分','5','number','10'), -('84','cfg_caicai_sub','被踩扣除文章好评度','5','number','2'), -('85','cfg_caicai_add','被顶扣除文章好评度','5','number','2'), +('84','cfg_caicai_sub','被踩扣除文档好评度','5','number','2'), +('85','cfg_caicai_add','被顶扣除文档好评度','5','number','2'), ('86','cfg_feedback_add','详细好评可获好评度','5','number','5'), ('87','cfg_feedback_sub','详细恶评扣除好评度','5','number','5'), ('88','cfg_sendfb_scores','参与评论可获积分','5','number','3'), @@ -4038,10 +4038,10 @@ INSERT INTO `#@__sysconfig` VALUES('1','cfg_basehost','站点网址','1','string ('96','cfg_smtp_user','SMTP服务器的用户帐号','2','string','tianya'), ('97','cfg_smtp_password','SMTP服务器的用户密码','2','string','tianya'), ('98','cfg_online_type','在线支付网关类型','2','string','nps'), -('99','cfg_upload_switch','删除文章文件同时删除相关附件文件','2','bool','Y'), +('99','cfg_upload_switch','删除文档文件同时删除相关附件文件','2','bool','Y'), ('100','cfg_fck_xhtml','是否使用富文本','2','bool','N'), ('101','cfg_allsearch_limit','网站全局搜索时间限制:秒','2','string','1'), -('102','cfg_delete','是否开启文章回收站','2','bool','Y'), +('102','cfg_delete','是否开启文档回收站','2','bool','Y'), ('103','cfg_keywords','主页关键词','1','string',''), ('104','cfg_description','主页描述','1','bstring',''), ('105','cfg_beian','网站备案号','1','string',''), @@ -4050,13 +4050,13 @@ INSERT INTO `#@__sysconfig` VALUES('1','cfg_basehost','站点网址','1','string ('108','cfg_cache_type','id 文档id,content标签最终内容,修改此变量后必须更新系统缓存','6','string','id'), ('109','cfg_max_face','会员上传头像大小限制KB','3','number','100'), ('110','cfg_typedir_df','栏目网址使用目录名(不显示默认页,则是/a/b/c形式)','2','bool','Y'), -('111','cfg_make_andcat','发表文章后马上更新相关栏目','6','bool','N'), -('112','cfg_make_prenext','发表文章后马上更新上下篇','6','bool','N'), +('111','cfg_make_andcat','发表文档后马上更新相关栏目','6','bool','N'), +('112','cfg_make_prenext','发表文档后马上更新上下篇','6','bool','N'), ('113','cfg_feedback_forbid','是否禁止所有评论,包括禁止顶踩等','5','bool','N'), ('114','cfg_addon_domainbind','是否绑定附件目录为指定的二级域名','7','bool','N'), ('115','cfg_addon_domain','附件目录的二级域名','7','string',''), ('116','cfg_df_dutyadmin','默认责任编辑名称','7','string','网站管理员'), -('117','cfg_mb_allowncarc','是否允许用户空间显示未审核文章','4','bool','Y'), +('117','cfg_mb_allowncarc','是否允许用户空间显示未审核文档','4','bool','Y'), ('118','cfg_mb_spaceallarc','会员空间中所有文档的频道ID(不限为0)','4','number','0'), ('119','cfg_face_adds','上传头像增加积分','5','number','10'), ('120','cfg_moreinfo_adds','填写详细资料增加积分','5','number','20'), diff --git a/src/system/archive/archives.class.php b/src/system/archive/archives.class.php index 7f89b3f3..bb984d60 100755 --- a/src/system/archive/archives.class.php +++ b/src/system/archive/archives.class.php @@ -193,7 +193,7 @@ class Archives //设置全局环境变量 $this->Fields['typename'] = $this->TypeLink->TypeInfos['typename']; @SetSysEnv($this->Fields['typeid'], $this->Fields['typename'], $this->Fields['id'], $this->Fields['title'], 'archives'); - //文章图片注释替换为标题,利于优化 + //文档图片注释替换为标题,利于优化 $this->Fields['body'] = str_ireplace(array('alt=""','alt=\'\''),'',$this->Fields['body']); $this->Fields['body'] = preg_replace("@ [\s]{0,}alt[\s]{0,}=[\"'\s]{0,}[\s\S]{0,}[\"'\s] @isU","",$this->Fields['body']); $this->Fields['body'] = str_ireplace("Fields['title']."\" title=\"".$this->Fields['title']."\" ",$this->Fields['body']); @@ -201,7 +201,7 @@ class Archives $this->Fields['imgurls'] = str_ireplace(array('alt=""','alt=\'\''),'',$this->Fields['imgurls']); $this->Fields['imgurls'] = preg_replace("@ [\s]{0,}alt[\s]{0,}=[\"'\s]{0,}[\s\S]{0,}[\"'\s] @isU","",$this->Fields['imgurls']); $this->Fields['imgurls'] = str_ireplace("Fields['title']."\" title=\"".$this->Fields['title']."\"",$this->Fields['imgurls']); - //清除文章图片的宽度和高度,适配自适应网站 + //清除文档图片的宽度和高度,适配自适应网站 $this->Fields['body'] = preg_replace("/style=\"width\:(.*)\"/","",$this->Fields['body']); } //完成附加表信息读取 @@ -343,7 +343,7 @@ class Archives $this->TypeLink->TypeInfos['sitepath'] ); $this->Fields['arcurl'] = $this->Fields['fullname'] = $filenameFull; - //对于已设置不生成HTML的文章直接返回网址 + //对于已设置不生成HTML的文档直接返回网址 if ( $this->Fields['ismake'] == -1 || $this->Fields['arcrank'] != 0 || $this->Fields['money'] > 0 || ($this->Fields['typeid'] == 0 && $this->Fields['channel'] != -1)) { return $this->GetTrueUrl($filename); diff --git a/src/system/dedecollection.func.php b/src/system/dedecollection.func.php index 4a8be742..b29937d5 100755 --- a/src/system/dedecollection.func.php +++ b/src/system/dedecollection.func.php @@ -190,7 +190,7 @@ function GetHostInfo($gurl) * HTML里的网址格式转换 * * @access public - * @param string $body 文章内容 + * @param string $body 文档内容 * @return string */ function TurnLinkTag(&$body) diff --git a/src/system/helpers/channelunit.helper.php b/src/system/helpers/channelunit.helper.php index 446a48a9..6097cf31 100755 --- a/src/system/helpers/channelunit.helper.php +++ b/src/system/helpers/channelunit.helper.php @@ -29,7 +29,7 @@ if (!function_exists('GetRankStar')) { } } /** - * 获得文章网址 + * 获得文档网址 * 如果要获得文件的路径,直接用 * GetFileUrl($aid,$typeid,$timetag,$title,$ismake,$rank,$namerule,$typedir,$money) * 即是不指定站点参数则返回相当对根目录的真实路径 @@ -461,7 +461,7 @@ function MakeOneTag(&$dtp, &$refObj, $parfield = 'Y') } continue; } - //由于考虑兼容性,原来文章调用使用的标记别名统一保留,这些标记实际调用的解析文件为inc_arclist.php + //由于考虑兼容性,原来文档调用使用的标记别名统一保留,这些标记实际调用的解析文件为inc_arclist.php if (preg_match("/^(artlist|likeart|hotart|imglist|imginfolist|coolart|specart|autolist)$/", $tagname)) { $tagname = 'arclist'; } diff --git a/src/system/taglib/arclist.lib.php b/src/system/taglib/arclist.lib.php index ca76f9d5..17a4d7ab 100755 --- a/src/system/taglib/arclist.lib.php +++ b/src/system/taglib/arclist.lib.php @@ -1,7 +1,7 @@ Fields['mid']) ? $refObj->Fields['mid'] : 0; $orwheres[] = " arc.mid = '$wmid' "; } - //时间限制(用于调用最近热门文章、热门评论之类),这里的时间只能计算到天,否则缓存功能将无效 + //时间限制(用于调用最近热门文档、热门评论之类),这里的时间只能计算到天,否则缓存功能将无效 if ($subday > 0) { $ntime = gmmktime(0, 0, 0, gmdate('m'), gmdate('d'), gmdate('Y')); $limitday = $ntime - ($subday * 24 * 3600); diff --git a/src/system/taglib/arclistsg.lib.php b/src/system/taglib/arclistsg.lib.php index f0b17992..fb70ea88 100755 --- a/src/system/taglib/arclistsg.lib.php +++ b/src/system/taglib/arclistsg.lib.php @@ -1,6 +1,6 @@ 0) { //这里的时间只能计算到天,否则缓存功能将无效 $ntime = gmmktime(0, 0, 0, gmdate('m'), gmdate('d'), gmdate('Y')); diff --git a/src/system/taglib/help/arclist.txt b/src/system/taglib/help/arclist.txt index 7e0e9f96..80341088 100755 --- a/src/system/taglib/help/arclist.txt +++ b/src/system/taglib/help/arclist.txt @@ -1,4 +1,4 @@ -文章列表调用标记 +文档列表调用标记 >>dede>> {dede:arclist flag='h' typeid='' row='' col='' titlelen='' infolen='' imgwidth='' imgheight='' listtype='' orderby='' keyword='' limit='0,1'} @@ -19,7 +19,7 @@ orderby='sortrank' 文档排序方式 § orderby='near' § orderby=='lastpost' 按最后评论时间 § orderby=='scores' 按得分排序 - § orderby='id' 按文章ID排序 + § orderby='id' 按文档id排序 § orderby='rand' 随机获得指定条件的文档列表 keyword='' 含有指定关键词的文档列表,多个关键词用","分 innertext = '' 单条记录样式 diff --git a/src/system/taglib/help/arclistsg.txt b/src/system/taglib/help/arclistsg.txt index 1efc98bb..122158c4 100755 --- a/src/system/taglib/help/arclistsg.txt +++ b/src/system/taglib/help/arclistsg.txt @@ -1,4 +1,4 @@ -单表模型的文章列表调用标记 +单表模型的文档列表调用标记 >>dede>> {dede:arclistsg flag='h' typeid='' row='' col='' titlelen='' orderway='' keyword='' limit='0,1'} [field:title/] diff --git a/src/system/typelink/typeunit.class.admin.php b/src/system/typelink/typeunit.class.admin.php index ccb266f2..5f4c486d 100755 --- a/src/system/typelink/typeunit.class.admin.php +++ b/src/system/typelink/typeunit.class.admin.php @@ -246,7 +246,7 @@ class TypeUnit } } /** - * 返回与某个目相关的下级目录的类目ID列表(删除类目或文章时调用) + * 返回与某个目相关的下级目录的类目ID列表(删除类目或文档时调用) * * @access public * @param int $id 栏目id diff --git a/src/theme/templet-filelist.inc b/src/theme/templet-filelist.inc index 317e7812..1596d33d 100644 --- a/src/theme/templet-filelist.inc +++ b/src/theme/templet-filelist.inc @@ -2,9 +2,9 @@ header.htm,列表页头部模板 footer.htm,列表页底部模板 index.htm,主页模板 ajaxfeedback.htm,评论模板 -article_article.htm,文章内容页模板 -article_article1.htm,文章内容页模板 -article_article_frame.htm,文章内容页模板框架版 +article_article.htm,文档内容页模板 +article_article1.htm,文档内容页模板 +article_article_frame.htm,文档内容页模板框架版 article_default.htm,自定义文档内容模板 article_default_sg.htm,自定义单表文档内容模板 article_image.htm,图片集内容页模板 @@ -15,14 +15,14 @@ article_soft.htm,软件内容页模板 article_soft_frame.htm,软件内容页模板框架版 article_infos.htm,分类信息内容模板 article_spec.htm,专题内容页模板 -index_article.htm,文章频道封面 +index_article.htm,文档频道封面 index_default.htm,默认频道封面 index_default_sg.htm,默认单表模型频道封面 index_image.htm,默认图片模型封面 index_shop.htm,默认网店模型封面 index_soft.htm,默认软件模型封面 index_infos.htm,分类信息封面模板 -list_article.htm,默认文章列表模板 +list_article.htm,默认文档列表模板 list_default.htm,默认自定义模型列表模板 list_default_sg.htm,默认单表自定义模型列表模板 list_free.htm,默认自由列表模板 diff --git a/src/theme/templet-pluslist.inc b/src/theme/templet-pluslist.inc index 297e90d3..45f838ea 100644 --- a/src/theme/templet-pluslist.inc +++ b/src/theme/templet-pluslist.inc @@ -12,7 +12,7 @@ heightsearch.htm,高级搜索 js.htm,JS调用默认模板 list_diyform.htm,自定义表单默认内容列表 post_diyform.htm,自定义表单发送内容页 -recommend.htm,文章推荐 +recommend.htm,文档推荐 rss.htm,RSS模板 rssmap.htm,RSS地图模板 shops_action_alipay.htm,支付宝支付模板 diff --git a/src/user/archives_do.php b/src/user/archives_do.php index eb3d0740..5ef9aae1 100755 --- a/src/user/archives_do.php +++ b/src/user/archives_do.php @@ -87,7 +87,7 @@ else if ($dopost == "edit") { } /*-------------------- function delArchives() -删除文章 +删除文档 --------------------*/ else if ($dopost == "delArc") { CheckRank(0, 0); @@ -147,7 +147,7 @@ else if ($dopost == "delArc") { } /*----------------- function viewArchives() -查看文章 +查看文档 ------------------*/ else if ($dopost == "viewArchives") { CheckRank(0, 0); diff --git a/src/user/article_add.php b/src/user/article_add.php index e9edba0d..10801a5d 100755 --- a/src/user/article_add.php +++ b/src/user/article_add.php @@ -1,6 +1,6 @@ 继续发布文章查看文章修改文章已发布文章管理"; - $wintitle = "成功发布文章"; - $wecome_info = "文章管理::发布文章"; + $msg = "请选择您的后续操作:继续发布文档查看文档修改文档已发布文档管理"; + $wintitle = "成功发布文档"; + $wecome_info = "文档管理::发布文档"; $win = new OxWindow(); - $win->AddTitle("成功发布文章"); + $win->AddTitle("成功发布文档"); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", " ", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/article_edit.php b/src/user/article_edit.php index 4ef59816..73169ae2 100755 --- a/src/user/article_edit.php +++ b/src/user/article_edit.php @@ -1,6 +1,6 @@ M_ID."'; "; $row = $dsql->GetOne($arcQuery); if (!is_array($row)) { - ShowMsg("读取文章信息出错!", "-1"); + ShowMsg("读取文档信息出错!", "-1"); exit(); } else if ($row['arcrank'] >= 0) { $dtime = time(); @@ -103,11 +103,11 @@ else if ($dopost == 'save') { $artUrl = $cfg_phpurl."/view.php?aid=$aid"; } //返回成功信息 - $msg = "请选择您的后续操作:发布新文章查看修改查看文章管理文章"; - $wintitle = "成功修改文章"; - $wecome_info = "文章管理::修改文章"; + $msg = "请选择您的后续操作:发布新文档查看修改查看文档管理文档"; + $wintitle = "成功修改文档"; + $wecome_info = "文档管理::修改文档"; $win = new OxWindow(); - $win->AddTitle("成功修改文章"); + $win->AddTitle("成功修改文档"); $win->AddMsgItem($msg); $winform = $win->GetWindow("hand", " ", false); $win->Display(DEDEMEMBER."/templets/win_templet.htm"); diff --git a/src/user/inc/inc_archives_functions.php b/src/user/inc/inc_archives_functions.php index ed55cb54..bf1e2696 100755 --- a/src/user/inc/inc_archives_functions.php +++ b/src/user/inc/inc_archives_functions.php @@ -289,7 +289,7 @@ function AnalyseHtmlBody($body, &$description, $dtype = '') return $body; } /** - * 获得文章body里的外部资源 + * 获得文档body里的外部资源 * * @access public * @param string $body 内容 diff --git a/src/user/inc/inc_batchup.php b/src/user/inc/inc_batchup.php index e5350648..3036882a 100755 --- a/src/user/inc/inc_batchup.php +++ b/src/user/inc/inc_batchup.php @@ -36,9 +36,9 @@ function DelArc($aid) //删除数据库的内容 $dsql->ExecuteNoneQuery(" DELETE FROM `#@__arctiny` WHERE id='$aid' "); if ($arcRow['addtable'] != '') { - //判断删除文章附件变量是否开启; + //判断删除文档附件变量是否开启; if ($cfg_upload_switch == 'Y') { - //判断文章属性; + //判断文档属性; switch ($arcRow['nid']) { case "image": $nid = "imgurls"; @@ -66,7 +66,7 @@ function DelArc($aid) } } $tmpname = '/(\\'.$cfg_medias_dir.'.+?)(\"| )/'; - //取出文章附件 + //取出文档附件 preg_match_all("$tmpname", $row["$nid"], $delname); //移出重复附件 $delname = array_unique($delname['1']); diff --git a/src/user/inc/inc_list_functions.php b/src/user/inc/inc_list_functions.php index 5b0e94ba..71eb86ec 100755 --- a/src/user/inc/inc_list_functions.php +++ b/src/user/inc/inc_list_functions.php @@ -113,7 +113,7 @@ function GetRankName($arcrank) } } /** - * 判断内容是否为图片文章 + * 判断内容是否为图片文档 * * @param string $picname 图片名称 * @return string diff --git a/src/user/soft_add.php b/src/user/soft_add.php index ae00ea7d..96bce832 100755 --- a/src/user/soft_add.php +++ b/src/user/soft_add.php @@ -175,7 +175,7 @@ else if ($dopost == 'save') { ClearMyAddon($arcID, $title); //返回成功信息 $msg = "请选择您的后续操作:继续发布软件查看软件修改软件已发布软件管理"; - $wintitle = "成功发布文章"; + $wintitle = "成功发布文档"; $wecome_info = "软件管理::发布软件"; $win = new OxWindow(); $win->AddTitle("成功发布软件:"); diff --git a/src/user/templets/content_list.htm b/src/user/templets/content_list.htm index fdde116e..65a4e60c 100755 --- a/src/user/templets/content_list.htm +++ b/src/user/templets/content_list.htm @@ -56,7 +56,7 @@ - + diff --git a/src/user/templets/content_sg_list.htm b/src/user/templets/content_sg_list.htm index f64831d2..0208f62f 100755 --- a/src/user/templets/content_sg_list.htm +++ b/src/user/templets/content_sg_list.htm @@ -56,7 +56,7 @@
文章标题文档标题 类目 状态 点击
- +
文章标题文档标题 类目 状态 点击