@@ -17,7 +17,7 @@ | |||||
<div class="card-header">文件管理器</div> | <div class="card-header">文件管理器</div> | ||||
<div class="card-body"> | <div class="card-body"> | ||||
<div class="table-responsive"> | <div class="table-responsive"> | ||||
<table class="table table-borderless"> | |||||
<table class="table table-borderless table-hover"> | |||||
<thead> | <thead> | ||||
<tr> | <tr> | ||||
<td scope="col">文件名称</td> | <td scope="col">文件名称</td> | ||||
@@ -394,6 +394,7 @@ body.menu-show .body-right { | |||||
} | } | ||||
.mysource,.mywriter { | .mysource,.mywriter { | ||||
width:500px; | width:500px; | ||||
border:1px solid var(--gray-300); | |||||
z-index:19994 | z-index:19994 | ||||
} | } | ||||
.atlas { | .atlas { | ||||
@@ -7,7 +7,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
//系统默认运行模式为安全模式,模板管理、标签管理、数据库管理、模块管理等功能已暂停,如果您需要这些功能,DEDEBIZ_SAFE_MODE后面值`TRUE`改为`FALSE`恢复使用 | //系统默认运行模式为安全模式,模板管理、标签管理、数据库管理、模块管理等功能已暂停,如果您需要这些功能,DEDEBIZ_SAFE_MODE后面值`TRUE`改为`FALSE`恢复使用 | ||||
define('DEDEBIZ_SAFE_MODE', TRUE); | |||||
define('DEDEBIZ_SAFE_MODE', FALSE); | |||||
//生产环境使用`production`,如果采用`dev`模式,会有一些php的报错信息提示,用于开发调试 | //生产环境使用`production`,如果采用`dev`模式,会有一些php的报错信息提示,用于开发调试 | ||||
if (!defined('DEDE_ENVIRONMENT')) { | if (!defined('DEDE_ENVIRONMENT')) { | ||||
define('DEDE_ENVIRONMENT', 'production'); | define('DEDE_ENVIRONMENT', 'production'); | ||||
@@ -189,7 +189,7 @@ class DataListCP | |||||
$pattern .= $ra[$i][$j]; | $pattern .= $ra[$i][$j]; | ||||
} | } | ||||
$pattern .= '/i'; | $pattern .= '/i'; | ||||
$replacement = substr($ra[$i], 0, 2).substr($ra[$i], 2); | |||||
$replacement = substr($ra[$i], 0, 2).'<x>'.substr($ra[$i], 2); | |||||
$val = preg_replace($pattern, $replacement, $val); | $val = preg_replace($pattern, $replacement, $val); | ||||
if ($val_before == $val) { | if ($val_before == $val) { | ||||
$found = false; | $found = false; | ||||
@@ -81,7 +81,7 @@ if (!function_exists('RemoveXSS')) { | |||||
$pattern .= $ra[$i][$j]; | $pattern .= $ra[$i][$j]; | ||||
} | } | ||||
$pattern .= '/i'; | $pattern .= '/i'; | ||||
$replacement = substr($ra[$i], 0, 2).substr($ra[$i], 2); | |||||
$replacement = substr($ra[$i], 0, 2).'<x>'.substr($ra[$i], 2); | |||||
$val = preg_replace($pattern, $replacement, $val); | $val = preg_replace($pattern, $replacement, $val); | ||||
if ($val_before == $val) { | if ($val_before == $val) { | ||||
$found = false; | $found = false; | ||||