Browse Source

更新版本所有2023

tags/6.2.5
叙述、别离 2 years ago
parent
commit
3aba9976cd
4 changed files with 8 additions and 12 deletions
  1. +0
    -1
      src/admin/content_sg_list.php
  2. +2
    -5
      src/admin/index_body.php
  3. +3
    -3
      src/install/config.cache.inc.php
  4. +3
    -3
      src/install/sql-dfdata.txt

+ 0
- 1
src/admin/content_sg_list.php View File

@@ -9,7 +9,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");

$channelid = isset($channelid) ? intval($channelid) : 0;
$mid = isset($mid) ? intval($mid) : 0;
if (!isset($keyword)) $keyword = '';


+ 2
- 5
src/admin/index_body.php View File

@@ -36,12 +36,10 @@ else if ($dopost == 'setskin') {
<table class="table table-borderless">
<?php
$userCatalogSql = '';
if (count($admin_catalogs) > 0) {
$admin_catalog = join(',', $admin_catalogs);
$userCatalogSql = "AND arc.typeid IN($admin_catalog) ";
}
$query = "SELECT arc.id, arc.arcrank, arc.title, arc.typeid, arc.mid, arc.pubdate, arc.channel, ch.editcon, tp.typename FROM `#@__archives` arc LEFT JOIN `#@__channeltype` ch ON ch.id = arc.channel LEFT JOIN `#@__arctype` tp ON arc.typeid=tp.id WHERE arc.arcrank<>-2 {$userCatalogSql} AND arc.mid={$cuserLogin->getUserID()} ORDER BY arc.id DESC LIMIT 0,12";
$arcArr = array();
$dsql->Execute('m', $query);
@@ -51,11 +49,10 @@ else if ($dopost == 'setskin') {
}
?>
<?php
if (count($arcArr) > 0)
{
if (count($arcArr) > 0) {
foreach($arcArr as $row)
{
if (trim($row['editcon'])==''){
if (trim($row['editcon'])=='') {
$row['editcon'] = 'archives_edit.php';
}
$rowarcrank = $row['arcrank']==-1? " <span class='btn btn-danger btn-xs'>未审核</span>":"";


+ 3
- 3
src/install/config.cache.inc.php View File

@@ -18,15 +18,15 @@ $cfg_softtype = 'zip|gz|rar|iso|doc|xsl|ppt|wps';
$cfg_mediatype = 'swf|rm|rmvb|mpg|mp3|mp4|wmv|wma|wav|mid|mov';
$cfg_specnote = 10;
$cfg_list_symbol = '';
$cfg_notallowstr = '草你妈|你妈的|你妹的';
$cfg_replacestr = '草你妈|你妈的|你妹的';
$cfg_notallowstr = '操你妈|你他妈的';
$cfg_replacestr = '操你妈|你他妈的';
$cfg_feedbackcheck = 'N';
$cfg_keyword_replace = 'Y';
$cfg_fck_xhtml = 'N';
$cfg_df_style = 'dedebiz';
$cfg_multi_site = 'N';
$cfg_dede_log = 'N';
$cfg_powerby = 'Copyright © 2022 DedeBIZ 版权所有';
$cfg_powerby = 'Copyright © 2023 DedeBIZ 版权所有';
$cfg_arcsptitle = 'N';
$cfg_arcautosp = 'N';
$cfg_arcautosp_size = 5;


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

@@ -3951,7 +3951,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin
('17','cfg_mediatype','允许的多媒体文件类型','3','bstring','swf|rm|rmvb|mpg|mp3|mp4|wmv|wma|wav|mid|mov'),
('18','cfg_specnote','专题的最大节点数','2','number','10'),
('19','cfg_list_symbol','栏目位置的间隔符号','2','string',''),
('20','cfg_notallowstr','禁用关键词,用“|”分开,但不要在结尾加“|”','5','bstring','草你妈|你妈的|你妹的'),
('20','cfg_notallowstr','禁用关键词,用“|”分开,但不要在结尾加“|”','5','bstring','操你妈|你他妈的'),
('21','cfg_feedbackcheck','是否需审核评论及留言','5','bool','Y'),
('22','cfg_keyword_replace','是否使用关键词替换功能,开启影响文档生成速度','2','bool','Y'),
('23','cfg_rewrite','是否使用伪静态,参考列表命名提示默认规则','1','bool','N'),
@@ -3959,7 +3959,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin
('25','cfg_multi_site','是否支持多站点,开启此项后附件栏目连接arclist文档启用绝对网址','2','bool','N'),
('26','cfg_rm_remote','远程图片本地化','7','bool','Y'),
('27','cfg_dede_log','是否开启管理日志','2','bool','N'),
('28','cfg_powerby','网站版权信息','1','bstring','Copyright © 2022 DedeBIZ 版权所有'),
('28','cfg_powerby','网站版权信息','1','bstring','Copyright © 2023 DedeBIZ 版权所有'),
('29','cfg_jump_once','跳转网址是否直接跳转否则显示中转页','7','bool','Y'),
('30','cfg_task_pwd','系统计划任务客户端许可密码,需要客户端,通常不会太重要','7','string',''),
('31','cfg_arcsptitle','是否开启分页标题,开启影响文档生成速度','6','bool','N'),
@@ -3982,7 +3982,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin
('48','cfg_cli_time','服务器时区设置','2','number','8'),
('49','cfg_mb_addontype','会员附件许可的类型','4','bstring','swf|rm|rmvb|mpg|mp3|mp4|wmv|wma|wav|mid|mov|zip|rar|doc|xsl|ppt|wps'),
('50','cfg_mb_max','会员附件总大小限制(MB)','4','number','500'),
('51','cfg_replacestr','禁用关键词替换成*,用“|”分开,但不要在结尾加“|”','5','bstring','草你妈|你妈的|你妹的'),
('51','cfg_replacestr','禁用关键词替换成*,用“|”分开,但不要在结尾加“|”','5','bstring','操你妈|你他妈的'),
('52','cfg_makeindex','发布文档后马上更新网站首页','6','bool','N'),
('53','cfg_keyword_like','使用关键词关连文档','6','bool','Y'),
('54','cfg_index_max','首页调用函数最大索引文档数,不适用于经常单栏目采集过多文档网站,不启用本项此值设置为0即可','6','number','10000'),


Loading…
Cancel
Save