Browse Source

调整

tags/6.2.0
叙述、别离 1 year ago
parent
commit
e7a42bd753
11 changed files with 17 additions and 17 deletions
  1. +1
    -1
      src/admin/content_batchup_action.php
  2. +1
    -1
      src/admin/feedback_edit.php
  3. +3
    -3
      src/admin/inc/inc_archives_functions.php
  4. +1
    -1
      src/admin/templets/mychannel_add.htm
  5. +1
    -1
      src/apps/view.php
  6. +1
    -1
      src/install/index.php
  7. +2
    -2
      src/install/sql-dfdata.txt
  8. +1
    -1
      src/system/dedecollection.func.php
  9. +2
    -2
      src/system/taglib/arccontent.lib.php
  10. +3
    -3
      src/theme/templet-filelist.inc
  11. +1
    -1
      src/user/inc/inc_archives_functions.php

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

@@ -95,7 +95,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/feedback_edit.php View File

@@ -33,7 +33,7 @@ if ($dopost == 'edit') {
$query = "SELECT * FROM `#@__feedback` WHERE id=$id";
$row = $dsql->GetOne($query);
MakeArt($row['aid']);
ShowMsg("成功更新评论所在的文档文档", $ENV_GOBACK_URL);
ShowMsg("成功更新评论所在的文档", $ENV_GOBACK_URL);
exit();
}
$query = "SELECT * FROM `#@__feedback` WHERE id=$id";


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

@@ -20,7 +20,7 @@ if (!isset($_NOT_ARCHIVES)) {
* 获得HTML里的外部资源,针对图片
*
* @access public
* @param string $body 文档文档
* @param string $body 文档
* @param string $rfurl 来源地址
* @param string $firstdd 开始标记
* @return string
@@ -90,7 +90,7 @@ function GetCurContentAlbum($body, $rfurl, &$firstdd)
* 获得文档body里的外部资源
*
* @access public
* @param string $body 文档文档
* @param string $body 文档
* @return string
*/
function GetCurContent($body)
@@ -322,7 +322,7 @@ function MakeArt($aid, $mkindex = FALSE, $ismakesign = FALSE, $isremote = 0)
* 取第一个图片为缩略图
*
* @access public
* @param string $body 文档文档
* @param string $body 文档
* @return string
*/
function GetDDImgFromBody(&$body)


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

@@ -62,7 +62,7 @@
</td>
</tr>
<tr>
<td>模型性质:<span id="help5">如果为系统模型将禁止删除,此选项不可修改,对于独立模型,系统强制创建字段aid,typeid,senddate,title,mid,channel,独立模型的文档文档必须点击栏目进入列表才能管理</span></td>
<td>模型性质:<span id="help5">如果为系统模型将禁止删除,此选项不可修改,对于独立模型,系统强制创建字段aid,typeid,senddate,title,mid,channel,独立模型的文档必须点击栏目进入列表才能管理</span></td>
<td>
<label><input type="radio" name="issystem" id="is1" value="0" onClick="PublicDefault()" checked="1"> 自动模型</label>
<label><input type="radio" name="issystem" id="is2" value="1" onClick="PublicDefault()"> 系统模型</label>


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

@@ -77,7 +77,7 @@ if ($needMoney > 0 || $needRank > 1) {
}
}
$msgtitle = "扣金币购买阅读";
$moremsg = "阅读该文档文档需要付费<br>这篇文档需要 <span class='text-danger'>".$needMoney." 金币</span> 才能访问,您目前拥有金币 <span class='text-danger'>".$cfg_ml->M_Money." </span>个<br>确认阅读请点 [<a href='/plus/view.php?aid=".$aid."&dopost=buy' target='_blank'>确认付点阅读</a>]";
$moremsg = "阅读该文档需要付费<br>这篇文档需要 <span class='text-danger'>".$needMoney." 金币</span> 才能访问,您目前拥有金币 <span class='text-danger'>".$cfg_ml->M_Money." </span>个<br>确认阅读请点 [<a href='/plus/view.php?aid=".$aid."&dopost=buy' target='_blank'>确认付点阅读</a>]";
include_once($cfg_basedir.$cfg_templets_dir."/plus/view_msg.htm");
$arc->Close();
exit();


+ 1
- 1
src/install/index.php View File

@@ -78,7 +78,7 @@ if ($step==1)
$rnd_cookieEncode='';
$length = rand(28,32);
$max = strlen($chars) - 1;
for($i = 0; $i < $length; $i++) {
for ($i = 0; $i < $length; $i++) {
$rnd_cookieEncode .= $chars[mt_rand(0, $max)];
}
$module_local = DEDEDATA.'/module/';


+ 2
- 2
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'),
('-1','spec','专题模型','#@__archives','#@__addonspec','spec_add.php','content_s_list.php','spec_edit.php','','','','<field:note type="specialtopic" isnull="true" rename="" />','','','1','1','0','-1','','10','0','1','1','标题','0','0'),
@@ -4065,7 +4065,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin
('129','cfg_userad_adds','会员推广获积分','5','number','10'),
('130','cfg_ddimg_full','是否使用缩略图强制大小,对背景填充','3','bool','N'),
('131','cfg_ddimg_bgcolor','缩略图空白背景填充颜色(0白,1黑)','3','number','0'),
('132','cfg_replace_num','文档文档关键词替换次数(0为全部替换)','7','number','1'),
('132','cfg_replace_num','文档关键词替换次数(0为全部替换)','7','number','1'),
('133','cfg_uplitpic_cut','是否上传缩略图后马上弹出裁剪框','3','bool','Y'),
('134','cfg_album_mark','是否使用图集水印,小图也会受影响','3','bool','N'),
('135','cfg_mb_feedcheck','是否需要会员动态审核','4','bool','N'),


+ 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/taglib/arccontent.lib.php View File

@@ -1,7 +1,7 @@
<?php
if (!defined('DEDEINC')) exit('dedebiz');
/**
* 文档文档调用标签
* 文档调用标签
*
* @version $id:arccontent.lib.php 2020年9月14日 tianya $
* @package DedeBIZ.Taglib
@@ -10,7 +10,7 @@ if (!defined('DEDEINC')) exit('dedebiz');
* @link https://www.dedebiz.com
*/
require_once(DEDEINC."/channelunit.class.php");
//这是一个用来调用文档文档的标签,只是提供一种方法,不建议太多地方调用,毕竟比较损耗性能
//这是一个用来调用文档的标签,只是提供一种方法,不建议太多地方调用,毕竟比较损耗性能
/*
用法:
{dede:arccontent type='pre|next'}


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

@@ -1,7 +1,7 @@
advancedsearch.htm,高级搜索模板
article_article.htm,文档文档模板
article_default.htm,自定义文档文档模板
article_default_sg.htm,自定义表单文档文档模板
article_article.htm,文档模板
article_default.htm,自定义文档模板
article_default_sg.htm,自定义表单文档模板
article_image.htm,图片集文档模板
article_infos.htm,分类信息文档模板
article_shop.htm,商品文档模板


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

@@ -262,7 +262,7 @@ function MakeArt($aid, $ismakesign = FALSE)
* 处理网页文本、自动摘要、自动获取缩略图等
*
* @access public
* @param string $body 文档文档
* @param string $body 文档
* @param string $description 描述
* @param string $dtype 类型
* @return string


Loading…
Cancel
Save