Browse Source

统一文字

tags/6.2.0
xushubieli 1 year ago
parent
commit
084f1408ca
75 changed files with 176 additions and 198 deletions
  1. +2
    -2
      src/admin/album_add.php
  2. +1
    -1
      src/admin/album_edit.php
  3. +1
    -1
      src/admin/archives_add.php
  4. +2
    -2
      src/admin/article_add.php
  5. +2
    -2
      src/admin/article_coonepage_rule.php
  6. +1
    -1
      src/admin/article_edit.php
  7. +3
    -3
      src/admin/article_source_edit.php
  8. +2
    -2
      src/admin/article_template_rand.php
  9. +3
    -3
      src/admin/article_writer_edit.php
  10. +1
    -1
      src/admin/catalog_do.php
  11. +3
    -3
      src/admin/content_batchup_action.php
  12. +1
    -1
      src/admin/content_select_list.php
  13. +3
    -3
      src/admin/inc/inc_action_info.php
  14. +1
    -1
      src/admin/inc/inc_archives_functions.php
  15. +1
    -1
      src/admin/inc/inc_coonepage.php
  16. +1
    -1
      src/admin/inc/inc_list_functions.php
  17. +1
    -1
      src/admin/member_operations.php
  18. +2
    -2
      src/admin/soft_add.php
  19. +1
    -1
      src/admin/soft_edit.php
  20. +1
    -1
      src/admin/spec_add.php
  21. +5
    -5
      src/admin/templets/article_add.htm
  22. +2
    -2
      src/admin/templets/article_coonepage_rule.htm
  23. +5
    -5
      src/admin/templets/article_edit.htm
  24. +5
    -5
      src/admin/templets/catalog_add.htm
  25. +4
    -4
      src/admin/templets/catalog_add_quick.htm
  26. +5
    -5
      src/admin/templets/catalog_edit.htm
  27. +15
    -37
      src/admin/templets/content_batch_up.htm
  28. +1
    -1
      src/admin/templets/content_i_list.htm
  29. +1
    -1
      src/admin/templets/content_list.htm
  30. +2
    -2
      src/admin/templets/content_s_list.htm
  31. +3
    -3
      src/admin/templets/content_select_list.htm
  32. +1
    -1
      src/admin/templets/content_sg_list.htm
  33. +2
    -2
      src/admin/templets/erradd.htm
  34. +1
    -1
      src/admin/templets/feedback_edit.htm
  35. +1
    -1
      src/admin/templets/freelist_add.htm
  36. +1
    -1
      src/admin/templets/freelist_edit.htm
  37. +1
    -1
      src/admin/templets/makehtml_all.htm
  38. +1
    -1
      src/admin/templets/makehtml_archives.htm
  39. +1
    -1
      src/admin/templets/makehtml_freelist.htm
  40. +1
    -1
      src/admin/templets/makehtml_taglist.htm
  41. +1
    -1
      src/admin/templets/member_toadmin.htm
  42. +1
    -1
      src/admin/templets/member_view.htm
  43. +1
    -1
      src/admin/templets/mytag_tag_guide.htm
  44. +1
    -1
      src/admin/templets/recycling.htm
  45. +1
    -1
      src/admin/templets/soft_add.htm
  46. +2
    -2
      src/admin/templets/soft_edit.htm
  47. +5
    -5
      src/admin/templets/spec_add.htm
  48. +7
    -7
      src/admin/templets/spec_edit.htm
  49. +1
    -1
      src/admin/templets/sys_admin_user_add.htm
  50. +1
    -1
      src/admin/templets/sys_admin_user_edit.htm
  51. +1
    -1
      src/admin/templets/tag_test.htm
  52. +1
    -1
      src/admin/templets/templets_one_add.htm
  53. +2
    -2
      src/apps/download.php
  54. +2
    -2
      src/apps/recommend.php
  55. +5
    -5
      src/apps/view.php
  56. +12
    -12
      src/install/sql-dfdata.txt
  57. +3
    -3
      src/system/archive/archives.class.php
  58. +1
    -1
      src/system/dedecollection.func.php
  59. +2
    -2
      src/system/helpers/channelunit.helper.php
  60. +2
    -2
      src/system/taglib/arclist.lib.php
  61. +2
    -2
      src/system/taglib/arclistsg.lib.php
  62. +2
    -2
      src/system/taglib/help/arclist.txt
  63. +1
    -1
      src/system/taglib/help/arclistsg.txt
  64. +1
    -1
      src/system/typelink/typeunit.class.admin.php
  65. +5
    -5
      src/theme/templet-filelist.inc
  66. +1
    -1
      src/theme/templet-pluslist.inc
  67. +2
    -2
      src/user/archives_do.php
  68. +5
    -5
      src/user/article_add.php
  69. +6
    -6
      src/user/article_edit.php
  70. +1
    -1
      src/user/inc/inc_archives_functions.php
  71. +3
    -3
      src/user/inc/inc_batchup.php
  72. +1
    -1
      src/user/inc/inc_list_functions.php
  73. +1
    -1
      src/user/soft_add.php
  74. +1
    -1
      src/user/templets/content_list.htm
  75. +1
    -1
      src/user/templets/content_sg_list.htm

+ 2
- 2
src/admin/album_add.php View File

@@ -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 = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图集</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改图集</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>预览图集</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布图集管理</a>$backurl";
$msg = "<div style=\"line-height:36px;height:36px\">{$msg}</div>".GetUpdateTest();
$wintitle = "成功发布一个图集";
$wecome_info = "文管理::发布图集";
$wecome_info = "文管理::发布图集";
$win = new OxWindow();
$win->AddTitle("成功发布一个图集:");
$win->AddMsgItem($msg);


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

@@ -371,7 +371,7 @@ else if ($dopost == 'save') {
//返回成功信息
$msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图集</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改图集</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>预览图集</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理已发布图集</a>$backurl";
$wintitle = "成功修改图集";
$wecome_info = "文管理::修改图集";
$wecome_info = "文管理::修改图集";
$win = new OxWindow();
$win->AddTitle("成功修改一个图集:");
$win->AddMsgItem($msg);


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

@@ -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');


+ 2
- 2
src/admin/article_add.php View File

@@ -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 = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布文档管理</a>$backurl";
$msg = "<div style=\"line-height:36px;height:36px\">{$msg}</div>".GetUpdateTest();
$wintitle = "成功发布文档";
$wecome_info = "文管理::发布文档";
$wecome_info = "文管理::发布文档";
$win = new OxWindow();
$win->AddTitle("成功发布文档:");
$win->AddMsgItem($msg);


+ 2
- 2
src/admin/article_coonepage_rule.php View File

@@ -67,7 +67,7 @@ else if ($action == 'editload') {
</td>
</tr>
<tr>
<td>用作文来源:</td>
<td>用作文来源:</td>
<td colspan="2">
<label><input type="radio" name="issource" value="0" <?php echo ($row['issource'] == 0 ? 'checked="checked"' : ''); ?>> 否</label>
<label><input type="radio" name="issource" value="1" <?php echo ($row['issource'] == 1 ? 'checked="checked"' : ''); ?>> 是</label>
@@ -86,7 +86,7 @@ else if ($action == 'editload') {
</tr>
<tr>
<td>采集规则:</td>
<td colspan="2">仅针对文内容,格式:前面HTML{@body}后面HMTL</td>
<td colspan="2">仅针对文内容,格式:前面HTML{@body}后面HMTL</td>
</tr>
<tr>
<td height="90"></td>


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

@@ -202,7 +202,7 @@ else if ($dopost == 'save') {
//返回成功信息
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a>$backurl";
$wintitle = "成功修改文档";
$wecome_info = "文管理::修改文档";
$wecome_info = "文管理::修改文档";
$win = new OxWindow();
$win->AddTitle("成功修改文档:");
$win->AddMsgItem($msg);


+ 3
- 3
src/admin/article_source_edit.php View File

@@ -1,6 +1,6 @@
<?php
/**
* 文来源编辑
* 文来源编辑
*
* @version $Id: archives_add.php 1 14:30 2010年7月12日Z tianya $
* @package DedeBIZ.Administrator
@@ -29,8 +29,8 @@ if (empty($allsource) && filesize($m_file) > 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');


+ 2
- 2
src/admin/article_template_rand.php View File

@@ -93,7 +93,7 @@ function DoRand(jobname)
<table width='100%' align='center'>
<tr>
<td>
如果您想对旧的文章应用随机模板设置,请点击此对旧文章进行处理(必须设置好模板项)
如果您想对旧的文档应用随机模板设置,请点击此对旧文档进行处理(必须设置好模板项)
<a href='javascript:;' onclick='DoRand(\"makeold\")' class='btn btn-success btn-sm'>设置全部</a>
<a href='javascript:;' onclick='DoRand(\"clearold\")' class='btn btn-success btn-sm'>取消全部</a>
<span id='tmpct'>$okmsg</span>
@@ -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();

+ 3
- 3
src/admin/article_writer_edit.php View File

@@ -1,6 +1,6 @@
<?php
/**
* 文作者管理
* 文作者管理
*
* @version $Id: article_writer_edit.php 1 14:31 2010年7月12日Z tianya $
* @package DedeBIZ.Administrator
@@ -29,8 +29,8 @@ if (empty($allwriter) && filesize($m_file) > 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');


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

@@ -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();


+ 3
- 3
src/admin/content_batchup_action.php View File

@@ -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');


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

@@ -1,6 +1,6 @@
<?php
/**
* 选择文
* 选择文
*
* @version $Id: content_select_list.php 1 14:31 2010年7月12日Z tianya $
* @package DedeBIZ.Administrator


+ 3
- 3
src/admin/inc/inc_action_info.php View File

@@ -42,7 +42,7 @@ $actionSearch[0] = array(
),
4 => 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'
),


+ 1
- 1
src/admin/inc/inc_archives_functions.php View File

@@ -88,7 +88,7 @@ function GetCurContentAlbum($body, $rfurl, &$firstdd)
return $rsimg;
}
/**
* 获得文body里的外部资源
* 获得文body里的外部资源
*
* @access public
* @param string $body 文档内容


+ 1
- 1
src/admin/inc/inc_coonepage.php View File

@@ -1,6 +1,6 @@
<?php
/**
* 采集指定页面作为文发布源
* 采集指定页面作为文发布源
*
* @version $Id: inc_coonepage.php 1 10:32 2010年7月21日Z tianya $
* @package DedeBIZ.Administrator


+ 1
- 1
src/admin/inc/inc_list_functions.php View File

@@ -101,7 +101,7 @@ function GetRankName($arcrank)
return "不限";
}
}
//判断内容是否为图片文
//判断内容是否为图片文
function IsPicArchives($picname)
{
if ($picname != '') {


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

@@ -47,7 +47,7 @@ function GetMemberID($mid)
function GetPType($tname)
{
if ($tname == 'card') return '点数卡';
else if ($tname == 'archive') return '购买文';
else if ($tname == 'archive') return '购买文';
else if ($tname == 'stc') return '兑换金币';
else return '会员升级';
}


+ 2
- 2
src/admin/soft_add.php View File

@@ -30,7 +30,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/soft_add.htm");
@@ -237,7 +237,7 @@ else if ($dopost == 'save') {
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布软件</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改软件</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布软件管理</a><a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>";
$msg = "<div style=\"line-height:36px;height:36px\">{$msg}</div>".GetUpdateTest();
$wintitle = "成功发布一个软件";
$wecome_info = "文管理::发布软件";
$wecome_info = "文管理::发布软件";
$win = new OxWindow();
$win->AddTitle("成功发布软件:");
$win->AddMsgItem($msg);


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

@@ -265,7 +265,7 @@ else if ($dopost == 'save') {
//返回成功信息
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新软件</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改软件</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>已发布软件管理</a><a href='catalog_main.php' class='btn btn-success btn-sm'>网站栏目管理</a>";
$wintitle = "成功修改一个软件";
$wecome_info = "文管理::修改软件";
$wecome_info = "文管理::修改软件";
$win = new OxWindow();
$win->AddTitle("成功修改软件:");
$win->AddMsgItem($msg);


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

@@ -188,7 +188,7 @@ else if ($dopost == 'save') {
//返回成功信息
$msg = "请选择您的后续操作:<a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>创建新专题</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看专题</a><a href='content_s_list.php' class='btn btn-success btn-sm'>已发布专题管理</a>";
$wintitle = "成功创建专题";
$wecome_info = "文管理::发布专题";
$wecome_info = "文管理::发布专题";
$win = new OxWindow();
$win->AddTitle("成功创建专题:");
$win->AddMsgItem($msg);


+ 5
- 5
src/admin/templets/article_add.htm View File

@@ -3,7 +3,7 @@
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>发布文</title>
<title>发布文</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
@@ -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 @@
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文章列表</a> &gt; 发布文章</td>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 发布文档</td>
<td width="30%" align="right"><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
@@ -81,7 +81,7 @@
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文标题:</td>
<td width="90"> 文标题:</td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $title; ?>" style="width:390px"></td>
<td width="90"> 简略标题:</td>
<td><input type="text" name="shorttitle" id="shorttitle" style="width:160px"></td>
@@ -296,7 +296,7 @@
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文排序:</td>
<td width="90"> 文排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<option value="0" selected>默认排序</option>


+ 2
- 2
src/admin/templets/article_coonepage_rule.htm View File

@@ -152,7 +152,7 @@
</td>
</tr>
<tr>
<td>用作文来源:</td>
<td>用作文来源:</td>
<td colspan="2">
<label><input type="radio" name="issource" value="0"> 否</label>
<label><input type="radio" name="issource" value="1" checked="checked"> 是</label>
@@ -169,7 +169,7 @@
</tr>
<tr>
<td>采集规则:</td>
<td colspan="2">仅针对文内容,格式:前面HTML{@body}后面HMTL</td>
<td colspan="2">仅针对文内容,格式:前面HTML{@body}后面HMTL</td>
</tr>
<tr>
<td height="90"></td>


+ 5
- 5
src/admin/templets/article_edit.htm View File

@@ -3,7 +3,7 @@
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改文</title>
<title>修改文</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
@@ -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 @@
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3 mb-3">
<tr>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文章列表</a> &gt; 修改文章</td>
<td width="70%"><i class="fa fa-map"></i> <a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&channelid=<?php echo $channelid?>&dopost=listArchives">文档列表</a> &gt; 修改文档</td>
<td width="30%" align="right"><?php echo $backurl; ?><a class="btn btn-success btn-sm" href="catalog_main.php">栏目管理</a></td>
</tr>
</table>
@@ -59,7 +59,7 @@
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文标题:</td>
<td width="90"> 文标题:</td>
<td width="400"><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:380px"></td>
<td width="90">简略标题:</td>
<td><input name="shorttitle" type="text" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
@@ -257,7 +257,7 @@
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文排序:</td>
<td width="90"> 文排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<?php


+ 5
- 5
src/admin/templets/catalog_add.htm View File

@@ -419,7 +419,7 @@
</td>
</tr>
<tr>
<td>文模板:</td>
<td>文模板:</td>
<td>
<input type="text" name="temparticle" value="{style}/article_<?php echo $nid?>.htm" style="width:260px">
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button>
@@ -430,9 +430,9 @@
<td bgcolor="#f8f8f8">
{Y}、{M}、{D} 年月日<br>
{timestamp} INT类型的UNIX时间戳<br>
{aid} 文章ID<br>
{pinyin} 拼音+文章ID<br>
{py} 拼音部首+文章ID<br>
{aid} 文档id<br>
{pinyin} 拼音+文档id<br>
{py} 拼音部首+文档id<br>
{typedir} 栏目目录<br>
{cc} 日期+ID混编后用转换为适合的字母<br>
Nginx伪静态默认规则<br>
@@ -441,7 +441,7 @@
</td>
</tr>
<tr>
<td>文命名规则:</td>
<td>文命名规则:</td>
<td>
<input type="text" name="namerule" tid="namerule" value="<?php echo $cfg_df_namerule; ?>" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>


+ 4
- 4
src/admin/templets/catalog_add_quick.htm View File

@@ -175,15 +175,15 @@
<td bgcolor="#f8f8f8">支持变量:</td>
<td bgcolor="#f8f8f8"> {Y}、{M}、{D} 年月日<br>
{timestamp} INT类型的UNIX时间戳<br>
{aid} 文章ID<br>
{pinyin} 拼音+文章ID<br>
{py} 拼音部首+文章ID<br>
{aid} 文档id<br>
{pinyin} 拼音+文档id<br>
{py} 拼音部首+文档id<br>
{typedir} 栏目目录 <br>
{cc} 日期+ID混编后用转换为适合的字母 <br>
</td>
</tr>
<tr>
<td class="bline">文命名规则:</td>
<td class="bline">文命名规则:</td>
<td class="bline">
<input type="text" name="namerule" id="namerule" value="{typedir}/{aid}.html" class="pubinputs" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>


+ 5
- 5
src/admin/templets/catalog_edit.htm View File

@@ -359,7 +359,7 @@
</td>
</tr>
<tr>
<td>文模板:</td>
<td>文模板:</td>
<td>
<input type="text" name="temparticle" value="<?php echo $myrow['temparticle']?>" style="width:260px">
<button type="button" name="set4" class="btn btn-success btn-sm" onClick="SelectTemplets('form1.temparticle')">浏览</button>
@@ -370,9 +370,9 @@
<td bgcolor="#f8f8f8">
{Y}、{M}、{D} 年月日<br>
{timestamp} INT类型的UNIX时间戳<br>
{aid} 文章ID<br>
{pinyin} 拼音+文章ID<br>
{py} 拼音部首+文章ID<br>
{aid} 文档id<br>
{pinyin} 拼音+文档id<br>
{py} 拼音部首+文档id<br>
{typedir} 栏目目录<br>
{cc} 日期+ID混编后用转换为适合的字母<br>
Nginx伪静态默认规则<br>
@@ -381,7 +381,7 @@
</td>
</tr>
<tr>
<td>文命名规则:</td>
<td>文命名规则:</td>
<td>
<input type="text" name="namerule" id="namerule" value="<?php echo $myrow['namerule']?>" style="width:260px">
<i class="fa fa-question-circle" title="帮助" onClick="ShowHide('helpvar2')" style="cursor:pointer"></i>


+ 15
- 37
src/admin/templets/content_batch_up.htm View File

@@ -84,7 +84,7 @@
</td>
</tr>
<tr>
<td>起始ID:</td>
<td>起始id:</td>
<td>
开始:<input name="startid" type="text" id="startid" size="10">
结束:<input name="endid" type="text" id="endid" size="10">
@@ -124,21 +124,24 @@
</td>
</tr>
<tr>
<td align="center"><span class="moveField" style="display:none">移动选项:</span></td>
<td colspan="2" bgcolor="#fbfce2" align="center">
<button type="button" name="b112" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始操作</button>
</td>
</tr>
</form>
<form name="form2" action="content_batchup_action.php" target="stafrm" method="post">
<input type="hidden" name="dopost" value="go">
<tr>
<td>操作:</td>
<td>
<?php
echo "<span class='moveField' style='display:none'>新位置:";
echo "<select name='newtypeid' style='width:260px'>";
echo $typeOptions;
echo "</select>";
echo "<hr>";
echo "标题关键词:<input id='movekeyword' type='text' name='keyword' value=''></span>";
?>
<label><input type="radio" value="delnulltitle" name="action"> 删除空标题的文档</label>
<label><input type="radio" value="delnullbody" name="action"> 删除内容为空的文档</label>
<label><input type="radio" value="modddpic" name="action"> 更正缩图错误</label>
</td>
</tr>
<tr>
<td bgcolor="#fbfce2" colspan="2" align="center">
<button type="button" name="b112" onClick="document.form1.submit();" class="btn btn-success btn-sm">开始操作</button>
<td colspan="2" bgcolor="#fbfce2" align="center">
<button type="button" name="b112" onClick="document.form2.submit();" class="btn btn-success btn-sm">开始操作</button>
</td>
</tr>
</form>
@@ -168,31 +171,6 @@
</div>
</td>
</tr>
<form name="form2" action="content_batchup_action.php" target="stafrm" method="post">
<input type="hidden" name="dopost" value="go">
<tr>
<td bgcolor="#f8f8f8" colspan="2">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%">错误文档修正</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<label><input type="radio" value="delnulltitle" name="action"> 删除空标题的文章</label>
<label><input type="radio" value="delnullbody" name="action"> 删除内容为空的文章</label>
<label><input type="radio" value="modddpic" name="action"> 更正缩图错误</label>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#f8f8f8" align="center">
<button type="button" name="b112" onClick="document.form2.submit();" class="btn btn-success btn-sm">开始操作</button>
</td>
</tr>
</form>
</table>
</body>
</html>

+ 1
- 1
src/admin/templets/content_i_list.htm View File

@@ -28,7 +28,7 @@
<button type="button" class="btn btn-success btn-sm" onClick="location='catalog_main.php';">栏目管理</button>
<button type="button" class="btn btn-success btn-sm" name='bb1' onClick="location='makehtml_list.php?cid={dede:global.cid/}';">更新列表</button>
<button type="button" class="btn btn-success btn-sm" name='bb2' onClick="location='makehtml_archives.php?cid={dede:global.cid/}';">更新文档</button>
<button type="button" class="btn btn-success btn-sm" name='bb1' onClick="location='recycling.php?cid={dede:global.cid/}';">文回收站</button>
<button type="button" class="btn btn-success btn-sm" name='bb1' onClick="location='recycling.php?cid={dede:global.cid/}';">文回收站</button>
</td>
</tr>
</table>


+ 1
- 1
src/admin/templets/content_list.htm View File

@@ -71,7 +71,7 @@
<tr bgcolor="#fbfce2" align="center">
<td width="6%">id</td>
<td width="6%">选择</td>
<td width="30%">文标题</td>
<td width="30%">文标题</td>
<td width="10%">更新时间</td>
<td width="14%">类目</td>
<td width="6%">点击</td>


+ 2
- 2
src/admin/templets/content_s_list.htm View File

@@ -112,13 +112,13 @@
</form>
<table width="98%" cellpadding="2" cellspacing="1" align="center" class="table maintable mb-3">
<tr>
<td colspan="9" style="margin-left:10px;background:#f8f8f8">文列表</td>
<td colspan="9" style="margin-left:10px;background:#f8f8f8">文列表</td>
</tr>
<form name="form2">
<tr bgcolor="#fbfce2" align="center">
<td width="6%">id</td>
<td width="4%">选择</td>
<td width="30%">文标题</td>
<td width="30%">文标题</td>
<td width="10%">更新时间</td>
<td width="10%">类目</td>
<td width="10%">点击</td>


+ 3
- 3
src/admin/templets/content_select_list.htm View File

@@ -3,7 +3,7 @@
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>选择文</title>
<title>选择文</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
@@ -50,13 +50,13 @@
<body>
<table width="100%" align="center" cellpadding="2" cellspacing="1" class="table maintable mt-3 mb-3">
<tr>
<td bgcolor="#f8f8f8" colspan="9">文列表</td>
<td bgcolor="#f8f8f8" colspan="9">文列表</td>
</tr>
<form name="form2">
<tr bgcolor="#fbfce2" align="center">
<td width="6%">id</td>
<td width="4%">选择</td>
<td width="30%">文标题</td>
<td width="30%">文标题</td>
<td width="10%">更新时间</td>
<td width="11%">类目</td>
<td width="8%">点击</td>


+ 1
- 1
src/admin/templets/content_sg_list.htm View File

@@ -159,7 +159,7 @@
<tr bgcolor="#fbfce2" align="center">
<td width="6%">id</td>
<td width="6%">选择</td>
<td width="30%">文标题</td>
<td width="30%">文标题</td>
<td width="10%">更新时间</td>
<td width="14%">类目</td>
<td width="9%">点击</td>


+ 2
- 2
src/admin/templets/erradd.htm View File

@@ -57,13 +57,13 @@
<form name="form2">
<table width="98%" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3 mb-3">
<tr>
<td bgcolor="#f8f8f8" colspan="8">文错误管理</td>
<td bgcolor="#f8f8f8" colspan="8">文错误管理</td>
</tr>
<tr bgcolor="#fbfce2" align="center">
<td width="5%">选择</td>
<td width="7%">id</td>
<td width="12%">挑错人</td>
<td width="20%">文名称</td>
<td width="20%">文名称</td>
<td width="12%">出错类型</td>
<td width="14%">挑错时间</td>
<td width="15%">错误内容</td>


+ 1
- 1
src/admin/templets/feedback_edit.htm View File

@@ -20,7 +20,7 @@
<input type="hidden" name="id" value="<?php echo $row['id']; ?>">
<table width="100%" cellpadding="3" cellspacing="1" class="table table-borderless">
<tr>
<td width="260">评论所属文:</td>
<td width="260">评论所属文:</td>
<td><?php echo RemoveXSS($row['arctitle']); ?></td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/freelist_add.htm View File

@@ -83,7 +83,7 @@
<td class="p-0">
<table width="100%" cellspacing="1" cellpadding="0">
<tr>
<td colspan="2"><i class="fa fa-question-circle" title="帮助"></i> 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</td>
<td colspan="2"><i class="fa fa-question-circle" title="帮助"></i> 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</td>
</tr>
<tr>
<td width="260">自由列表标题:</td>


+ 1
- 1
src/admin/templets/freelist_edit.htm View File

@@ -71,7 +71,7 @@
<td class="p-0">
<table width="100%" cellspacing="1" cellpadding="0">
<tr>
<td colspan="2"><i class="fa fa-question-circle" title="帮助"></i> 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</td>
<td colspan="2"><i class="fa fa-question-circle" title="帮助"></i> 自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成按自定义排序规则的文列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成网页或访问速度</td>
</tr>
<tr>
<td width="260">自由列表标题:</td>


+ 1
- 1
src/admin/templets/makehtml_all.htm View File

@@ -80,7 +80,7 @@
<td><input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" class="datepicker" style="width:160px"></td>
</tr>
<tr id="selid" style="display:none">
<td>起始ID:</td>
<td>起始id:</td>
<td><input type="text" name="startid" id="startid" value="0" style="width:60px"></td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/makehtml_archives.htm View File

@@ -39,7 +39,7 @@
</td>
</tr>
<tr>
<td>起始ID:</td>
<td>起始id:</td>
<td><input type="text" name="startid" id="startid" style="width:60px">(空或0表示从头开始)</td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/makehtml_freelist.htm View File

@@ -23,7 +23,7 @@
</td>
</tr>
<tr>
<td>起始ID:</td>
<td>起始id:</td>
<td><input type="text" name="startid" id="startid" size="10" <?php if(!empty($aid)) echo " value='$aid'"; ?>>(空或0表示从头开始)</td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/makehtml_taglist.htm View File

@@ -42,7 +42,7 @@
} else {
?>
<tr>
<td width="260">起始ID:</td>
<td width="260">起始id:</td>
<td><input type="text" name="startid" id="startid" style="width:60px">(空或0表示从头开始)</td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/member_toadmin.htm View File

@@ -56,7 +56,7 @@
</tr>
<tr>
<td class="bline">用户笔名:</td>
<td class="bline"><input type="text" name="uname" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:260px">(发布文后显示责任编辑的名字)</td>
<td class="bline"><input type="text" name="uname" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:260px">(发布文后显示责任编辑的名字)</td>
</tr>
<tr>
<td class="bline">用户密码:</td>


+ 1
- 1
src/admin/templets/member_view.htm View File

@@ -160,7 +160,7 @@
<td class="bline">
<?php
$nrow = $dsql->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 "<br>空间访问:{$nrow['homecount']} 页面访问:{$nrow['pagecount']} 留言:{$nrow['feedback']} 好友:{$nrow['friend']} ";
?>
</td>


+ 1
- 1
src/admin/templets/mytag_tag_guide.htm View File

@@ -147,7 +147,7 @@
<td>文档发布时间:<input type="text" name="subday" id="subday" value="0" size="6">天以内(0 表示不限)</td>
</tr>
<tr>
<td>提取特定文档:<button type="button"class="btn btn-success btn-sm" id="selarc" onClick="SelectArcList('form1.arcid');">选择节点文</button>
<td>提取特定文档:<button type="button"class="btn btn-success btn-sm" id="selarc" onClick="SelectArcList('form1.arcid');">选择节点文</button>
<textarea name="arcid" rows="3" id="arcid" style="width:90%" class="mt-3 mb-3"></textarea>
</td>
</tr>


+ 1
- 1
src/admin/templets/recycling.htm View File

@@ -75,7 +75,7 @@
<tr bgcolor="#fbfce2" align="center">
<td width="6%">id</td>
<td width="4%">选择</td>
<td width="28%">文标题</td>
<td width="28%">文标题</td>
<td width="10%">更新时间</td>
<td width="10%">类目</td>
<td width="8%">点击</td>


+ 1
- 1
src/admin/templets/soft_add.htm View File

@@ -450,7 +450,7 @@
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文排序:</td>
<td width="90"> 文排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<option value="0" selected>默认排序</option>


+ 2
- 2
src/admin/templets/soft_edit.htm View File

@@ -69,7 +69,7 @@
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文标题:</td>
<td width="90"> 文标题:</td>
<td width="400"><input type="text" name="title" id="title" value="<?php echo $arcRow['title']; ?>" style="width:390px"></td>
<td width="90"> 简略标题:</td>
<td><input type="text" name="shorttitle" id="shorttitle" value="<?php echo $arcRow['shorttitle']; ?>" style="width:160px"></td>
@@ -402,7 +402,7 @@
<td class="bline">
<table width="900" cellspacing="0" cellpadding="0">
<tr>
<td width="90"> 文排序:</td>
<td width="90"> 文排序:</td>
<td width="260">
<select name="sortup" id="sortup" style="width:160px">
<?php


+ 5
- 5
src/admin/templets/spec_add.htm View File

@@ -276,10 +276,10 @@
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" class="biz-border" style="display:none">
<tr>
<td class="bline2">专题节点列表: <br>
1、文章列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文章;<br>
1、文档列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文档;<br>
2、关于单条记录模板里的[field:fieldname/]标记的使用,请参考关于系统帮助关于 arclist 标记的说明;<br>
3、节点ID是节点的唯一标识,专题模板中用{dede:field.note noteid='标识'/}这样来表示单个节点,不指定noteid时为所有节点列表<br>
4、正常的情况下,每个节点显示的是“节点文列表”里的文档,如果您指定为“自动获取模式”,那么必须指定关键词和栏目id </td>
4、正常的情况下,每个节点显示的是“节点文列表”里的文档,如果您指定为“自动获取模式”,那么必须指定关键词和栏目id </td>
</tr>
<tr>
<td>
@@ -310,14 +310,14 @@
</td>
</tr>
<tr>
<td>节点文列表:</td>
<td>节点文列表:</td>
<td><textarea name="arcid<?php echo $i?>" onblur='CheckVal(<?php echo $i ?>)' rows="3" id="arcid<?php echo $i?>" style="width:90%"></textarea></td>
<td><button name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2" class="btn btn-success btn-sm" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文</button></td>
<td><button name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2" class="btn btn-success btn-sm" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文</button></td>
</tr>
<tr>
<td>文档来源:</td>
<td>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked> 按文列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked> 按文列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label>
<label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" value="" size="16">(逗号分开)</label>
栏目id:<label><input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" size="4"></label>


+ 7
- 7
src/admin/templets/spec_edit.htm View File

@@ -290,7 +290,7 @@
</table>
<table width="98%" align="center" cellpadding="2" cellspacing="2" id="adset" class="biz-border" style="display:none">
<tr>
<td class="bline2"> 专题节点列表:文章列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文章<br>关于单条记录模板里的[field:fieldname/]标记的使用,请参考关于系统帮助关于arclist标记的说明</td>
<td class="bline2"> 专题节点列表:文档列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文档<br>关于单条记录模板里的[field:fieldname/]标记的使用,请参考关于系统帮助关于arclist标记的说明</td>
</tr>
<tr>
<td>
@@ -335,14 +335,14 @@
</td>
</tr>
<tr>
<td>节点文列表:</td>
<td>节点文列表:</td>
<td><textarea name="arcid<?php echo $i?>" rows="3" onblur="CheckVal(<?php echo $i ?>)" id="arcid<?php echo $i?>" style="width:90%"><?php echo $idlist?></textarea></td>
<td><button type="button" class="btn btn-success btn-sm" name="selarc<?php echo $i?>" id="selarc<?php echo $i?>2" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文</button></td>
<td><button type="button" class="btn btn-success btn-sm" name="selarc<?php echo $i?>" id="selarc<?php echo $i?>2" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文</button></td>
</tr>
<tr>
<td>文档来源:</td>
<td>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" <?php if($isauto==0) echo "checked"; ?>> 按文列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" <?php if($isauto==0) echo "checked"; ?>> 按文列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1" <?php if($isauto==1) echo "checked"; ?>> 自动获取文档</label>
<label>关键词:<input type="text" name="keywords<?php echo $i?>" value="<?php echo $keywords?>" id="keywords<?php echo $i?>" value="" size="16">(逗号分开)</label>
<label>栏目id:<input type="text" name="typeid<?php echo $i?>" value="<?php echo $typeid?>" id="typeid<?php echo $i?>" value="0" size="4"></label>
@@ -382,14 +382,14 @@
</td>
</tr>
<tr>
<td>节点文列表:</td>
<td>节点文列表:</td>
<td><textarea name="arcid<?php echo $i?>" rows="3" onblur="CheckVal(<?php echo $i ?>)" id="arcid<?php echo $i?>" style="width:90%"></textarea></td>
<td><button name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2" class="btn btn-success btn-sm" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文</button></td>
<td><button name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2" class="btn btn-success btn-sm" onClick="SelectArcList('form1.arcid<?php echo $i?>');">选择节点文</button></td>
</tr>
<tr>
<td>文档来源:</td>
<td>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked> 按文列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="0" checked> 按文列表</label>
<label><input type="radio" name="isauto<?php echo $i?>" id="isauto<?php echo $i?>" value="1"> 自动获取文档</label>
<label>关键词:<input type="text" name="keywords<?php echo $i?>" id="keywords<?php echo $i?>" value="" size="16">(空格分开)</label>
<label>栏目id:<input type="text" name="typeid<?php echo $i?>" id="_typeid<?php echo $i?>" value="0" size="4"></label>


+ 1
- 1
src/admin/templets/sys_admin_user_add.htm View File

@@ -55,7 +55,7 @@
</tr>
<tr>
<td class="bline">用户笔名:</td>
<td><input type="text" name="uname" id="uname" size="16" style="width:260px">(发布文后显示责任编辑的名字)</td>
<td><input type="text" name="uname" id="uname" size="16" style="width:260px">(发布文后显示责任编辑的名字)</td>
</tr>
<tr>
<td class="bline">用户密码:</td>


+ 1
- 1
src/admin/templets/sys_admin_user_edit.htm View File

@@ -33,7 +33,7 @@
</tr>
<tr>
<td class="bline">用户笔名:</td>
<td class="bline"><input type="text" name="uname" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:260px">(发布文后显示责任编辑的名字)</td>
<td class="bline"><input type="text" name="uname" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:260px">(发布文后显示责任编辑的名字)</td>
</tr>
<tr>
<td class="bline">用户密码:</td>


+ 1
- 1
src/admin/templets/tag_test.htm View File

@@ -40,7 +40,7 @@
</tr>
<tr>
<td colspan="2">
全局标记指的是应用在网站主页、单独页面、频道封面使用的单独的模板标记,在列表或文模板中,一般只允许调用channel、arclist标记(hotart、coolart、imglist等都是这个标记延伸出来的标记),但是环境变量限定为文章或列表所在的栏目,如果您要测试的标记是在列表或文章中使用,请指定环境变量(栏目id)<br>
全局标记指的是应用在网站主页、单独页面、频道封面使用的单独的模板标记,在列表或文模板中,一般只允许调用channel、arclist标记(hotart、coolart、imglist等都是这个标记延伸出来的标记),但是环境变量限定为文档或列表所在的栏目,如果您要测试的标记是在列表或文档中使用,请指定环境变量(栏目id)<br>
各标记的具体含义和用途,请在<a href="https://www.dedebiz.com/help" target="_blank">模板标记参考</a>一章查阅
</td>
</tr>


+ 1
- 1
src/admin/templets/templets_one_add.htm View File

@@ -36,7 +36,7 @@
<form action="templets_one_add.php" method="post" name="form1" onSubmit="return checkSubmit()">
<input type="hidden" name="dopost" value="save">
<tr>
<td colspan="2">单独页面管理仅适用于页面较少的情况(建议小于500个页面)大量文档的用文模型进行管理</td>
<td colspan="2">单独页面管理仅适用于页面较少的情况(建议小于500个页面)大量文档的用文模型进行管理</td>
</tr>
<tr>
<td width="260">页面标题:</td>


+ 2
- 2
src/apps/download.php View File

@@ -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 == '') {


+ 2
- 2
src/apps/recommend.php View File

@@ -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);


+ 5
- 5
src/apps/view.php View File

@@ -1,7 +1,7 @@
<?php
/**
* 关于文权限设置的说明
* 文权限设置限制形式如下:
* 关于文权限设置的说明
* 文权限设置限制形式如下:
* 如果指定了会员等级,那么必须到达这个等级才能浏览
* 如果指定了金币,浏览时会扣指点的点数,并保存记录到用户业务记录中
* 如果两者同时指定,那么必须同时满足两个条件
@@ -28,10 +28,10 @@ $needRank = $arc->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} ";


+ 12
- 12
src/install/sql-dfdata.txt View File

@@ -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','<field:body itemname="文内容" autofield="0" notsend="0" type="htmltext" isnull="true" islist="1" maxlength="" page="split">\t\n</field:body>\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','<field:body itemname="文内容" autofield="0" notsend="0" type="htmltext" isnull="true" islist="1" maxlength="" page="split">\t\n</field:body>\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','<field:pagestyle itemname="页面风格" type="number" isnull="true" default="2" rename="" notsend="1" />\t\n<field:imgurls itemname="图片集合" type="img" isnull="true" rename="" page="split" />\t\n<field:body itemname="图集内容" autofield="0" notsend="0" type="htmltext" isnull="true" islist="0" maxlength="250" page=""></field:body>','','','1','1','1','-1','','10','0','1','1','标题','0','0'),
('3','soft','软件','#@__archives','#@__addonsoft','soft_add.php','content_i_list.php','soft_edit.php','','','','<field:filetype islist="1" itemname="文件类型" type="text" isnull="true" rename="" />\t\n<field:language islist="1" itemname="语言" type="text" isnull="true" rename="" />\t\n<field:softtype islist="1" itemname="软件类型" type="text" isnull="true" rename="" />\t\n<field:accredit islist="1" itemname="授权方式" type="text" isnull="true" rename="" />\t\n<field:os islist="1" itemname="操作系统" type="text" isnull="true" rename="" />\t\n<field:softrank islist="1" itemname="软件等级" type="int" isnull="true" default="3" rename="" function="GetRankStar(@me)" notsend="1" />\t\n<field:officialUrl itemname="官方网址" type="text" isnull="true" rename="" />\t\n<field:officialDemo itemname="演示网址" type="text" isnull="true" rename="" />\t\n<field:softsize itemname="软件大小" type="text" isnull="true" rename="" />\t\n<field:softlinks itemname="软件地址" type="softlinks" isnull="true" rename="" />\t\n<field:introduce itemname="详细介绍" type="htmltext" isnull="trnue" rename="" />\t\n<field:daccess islist="1" itemname="下载级别" type="int" isnull="true" default="0" rename="" function="" notsend="1" />\t\n<field:needmoney islist="1" itemname="需要金币" type="int" isnull="true" default="0" rename="" function="" notsend="1" />','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','<field:body itemname="详细介绍" autofield="1" notsend="0" type="htmltext" isnull="true" islist="0" maxlength="" page="split">\t\n</field:body>\t\n<field:price itemname="市场价" autofield="1" notsend="0" type="float" isnull="true" islist="1" maxlength="" page="">\t\n</field:price>\t\n<field:trueprice itemname="优惠价" autofield="1" notsend="0" type="float" isnull="true" islist="1" maxlength="" page="">\t\n</field:trueprice>\t\n<field:brand itemname="品牌" autofield="1" notsend="0" type="text" isnull="true" islist="1" maxlength="250" page="">\t\n</field:brand>\t\n<field:units itemname="计量单位" autofield="1" notsend="0" type="text" isnull="true" islist="1" maxlength="250" page="">\t\n</field:units>\t\n\n\t\n\n<field:vocation itemname="行业" autofield="1" notsend="0" type="stepselect" isnull="true" islist="0" maxlength="250" page="">\t\n</field:vocation>\t\n\n<field:infotype itemname="信息类型" autofield="1" notsend="0" type="stepselect" isnull="true" islist="0" maxlength="250" page="">\t\n</field:infotype>\t\n\n<field:uptime itemname="上架时间" autofield="1" notsend="0" type="datetime" isnull="true" islist="0" maxlength="250" page="">\t\n</field:uptime>\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'),


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

@@ -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("<img","<img alt=\"".$this->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("<img","<img alt=\"".$this->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);


+ 1
- 1
src/system/dedecollection.func.php View File

@@ -190,7 +190,7 @@ function GetHostInfo($gurl)
* HTML里的网址格式转换
*
* @access public
* @param string $body 文内容
* @param string $body 文内容
* @return string
*/
function TurnLinkTag(&$body)


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

@@ -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';
}


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

@@ -1,7 +1,7 @@
<?php
if (!defined('DEDEINC')) exit('dedebiz');
/**
* 文列表调用标记
* 文列表调用标记
*
* 9:19 2010年7月13日:修正对isweight属性的支持
*
@@ -151,7 +151,7 @@ function lib_arclistDone (&$refObj, &$ctag, $typeid=0, $row=10, $col=1, $titlele
$wmid = isset($refObj->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);


+ 2
- 2
src/system/taglib/arclistsg.lib.php View File

@@ -1,6 +1,6 @@
<?php
/**
* 单表模型的文列表调用标记
* 单表模型的文列表调用标记
*
* @version $Id: arclistsg.lib.php 1 9:29 2010年7月6日Z tianya $
* @package DedeBIZ.Taglib
@@ -62,7 +62,7 @@ function lib_arclistsg(&$ctag, &$refObj)
if ($orderby == 'near' && $cfg_keyword_like == 'N') {
$keyword = '';
}
//时间限制(用于调用最近热门文、热门评论之类)
//时间限制(用于调用最近热门文、热门评论之类)
if ($subday > 0) {
//这里的时间只能计算到天,否则缓存功能将无效
$ntime = gmmktime(0, 0, 0, gmdate('m'), gmdate('d'), gmdate('Y'));


+ 2
- 2
src/system/taglib/help/arclist.txt View File

@@ -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 = '' 单条记录样式


+ 1
- 1
src/system/taglib/help/arclistsg.txt View File

@@ -1,4 +1,4 @@
单表模型的文列表调用标记
单表模型的文列表调用标记
>>dede>>
{dede:arclistsg flag='h' typeid='' row='' col='' titlelen='' orderway='' keyword='' limit='0,1'}
<a href='[field:arcurl/]'>[field:title/]</a>


+ 1
- 1
src/system/typelink/typeunit.class.admin.php View File

@@ -246,7 +246,7 @@ class TypeUnit
}
}
/**
* 返回与某个目相关的下级目录的类目ID列表(删除类目或文时调用)
* 返回与某个目相关的下级目录的类目ID列表(删除类目或文时调用)
*
* @access public
* @param int $id 栏目id


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

@@ -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,默认自由列表模板


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

@@ -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,支付宝支付模板


+ 2
- 2
src/user/archives_do.php View File

@@ -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);


+ 5
- 5
src/user/article_add.php View File

@@ -1,6 +1,6 @@
<?php
/**
* 发布文
* 发布文
*
* @version $Id: article_add.php 1 8:38 2010年7月9日Z tianya $
* @package DedeBIZ.User
@@ -114,11 +114,11 @@ else if ($dopost == 'save') {
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$arcID";
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文章</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文章</a><a href='article_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改文章</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>已发布文章管理</a>";
$wintitle = "成功发布文";
$wecome_info = "文章管理::发布文章";
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='article_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>已发布文档管理</a>";
$wintitle = "成功发布文";
$wecome_info = "文档管理::发布文档";
$win = new OxWindow();
$win->AddTitle("成功发布文");
$win->AddTitle("成功发布文");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand", "&nbsp;", false);
$win->Display(DEDEMEMBER."/templets/win_templet.htm");


+ 6
- 6
src/user/article_edit.php View File

@@ -1,6 +1,6 @@
<?php
/**
* 编辑文
* 编辑文
*
* @version $Id: article_edit.php 1 13:52 2010年7月9日Z tianya $
* @package DedeBIZ.User
@@ -28,7 +28,7 @@ if (empty($dopost)) {
WHERE arc.id='$aid' And arc.mid='".$cfg_ml->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 = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文章</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理文章</a>";
$wintitle = "成功修改文";
$wecome_info = "文章管理::修改文章";
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理文档</a>";
$wintitle = "成功修改文";
$wecome_info = "文档管理::修改文档";
$win = new OxWindow();
$win->AddTitle("成功修改文");
$win->AddTitle("成功修改文");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand", "&nbsp;", false);
$win->Display(DEDEMEMBER."/templets/win_templet.htm");

+ 1
- 1
src/user/inc/inc_archives_functions.php View File

@@ -289,7 +289,7 @@ function AnalyseHtmlBody($body, &$description, $dtype = '')
return $body;
}
/**
* 获得文body里的外部资源
* 获得文body里的外部资源
*
* @access public
* @param string $body 内容


+ 3
- 3
src/user/inc/inc_batchup.php View File

@@ -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']);


+ 1
- 1
src/user/inc/inc_list_functions.php View File

@@ -113,7 +113,7 @@ function GetRankName($arcrank)
}
}
/**
* 判断内容是否为图片文
* 判断内容是否为图片文
*
* @param string $picname 图片名称
* @return string


+ 1
- 1
src/user/soft_add.php View File

@@ -175,7 +175,7 @@ else if ($dopost == 'save') {
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布软件</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a><a href='soft_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改软件</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>已发布软件管理</a>";
$wintitle = "成功发布文";
$wintitle = "成功发布文";
$wecome_info = "软件管理::发布软件";
$win = new OxWindow();
$win->AddTitle("成功发布软件:");


+ 1
- 1
src/user/templets/content_list.htm View File

@@ -56,7 +56,7 @@
<table width="100%" cellpadding="0" cellspacing="0" class="table">
<thead>
<tr>
<th width="30%">文标题</th>
<th width="30%">文标题</th>
<th width="12%">类目</th>
<th width="10%">状态</th>
<th width="10%">点击</th>


+ 1
- 1
src/user/templets/content_sg_list.htm View File

@@ -56,7 +56,7 @@
<table width="100%" cellpadding="0" cellspacing="0" class="table">
<thead>
<tr>
<th width="30%">文标题</th>
<th width="30%">文标题</th>
<th width="12%">类目</th>
<th width="10%">状态</th>
<th width="10%">点击</th>


Loading…
Cancel
Save