diff --git a/src/admin/sys_safetest.php b/src/admin/sys_safetest.php index 0ba70b4e..54366a75 100644 --- a/src/admin/sys_safetest.php +++ b/src/admin/sys_safetest.php @@ -25,8 +25,7 @@ foreach ($filelist as $key => $ff) { } $alter = ""; if (count($offFiles) == 0) { - $alter = ' -
无法同官方网站文件服务器通信,校验时候无法保证本地文件是否同官方服务器文件是否一致
'; + $alter = '
无法同官方网站文件服务器通信,校验时候无法保证本地文件是否同官方服务器文件是否一致
'; } function TestOneFile($f) { diff --git a/src/admin/templets/sys_safetest.htm b/src/admin/templets/sys_safetest.htm index cf2de114..bf76e930 100644 --- a/src/admin/templets/sys_safetest.htm +++ b/src/admin/templets/sys_safetest.htm @@ -7,11 +7,6 @@ - @@ -57,14 +52,11 @@ - + - - -
- 木马自检程序 - 木马自检程序
- 安全建议: -
+ 安全建议:
1、有条件的用户把data、system、theme修改为不可对外访问,static、a目录设置为不允许执行脚本,其它目录禁止写入,系统将更安全;
2、本检测程以开发模式为标准,如果您的网站目录包含其它系统,此检测程序可能会产生错误判断;
3、检测程序会跳过对模板缓存目录的检测,为了安全起见,检测完成后建议清空模板缓存 @@ -72,27 +64,19 @@
-

文件类型: - -  要检查的文件类型

-

代码特征: - -  特征代码

+

文件类型: 要检查的文件类型

+

代码特征: 特征代码

-  
检测结果:结果仅供参考,请务必查看源码后才删除非法文件
\ No newline at end of file diff --git a/src/system/customfields.func.php b/src/system/customfields.func.php index 223555ff..5d738f6d 100755 --- a/src/system/customfields.func.php +++ b/src/system/customfields.func.php @@ -105,21 +105,21 @@ function GetFormItem($ctag, $admintype = 'admin') $innertext = ""; } else if ($fieldType == 'img' || $fieldType == 'imgfile') { if ($admintype == 'diy') { - $innertext = ""; + $innertext = ""; } else { - $innertext = " "; + $innertext = " "; } } else if ($fieldType == 'media') { if ($admintype == 'diy') { $innertext = "不支持的类型"; } else { - $innertext = " "; + $innertext = " "; } } else if ($fieldType == 'addon') { if ($admintype == 'diy') { - $innertext = ""; + $innertext = ""; } else { - $innertext = " "; + $innertext = " "; } } else if ($fieldType == 'int' || $fieldType == 'float') { $dfvalue = ($ctag->GetAtt('default') != '' ? $ctag->GetAtt('default') : '0'); @@ -145,7 +145,7 @@ if(typeof SelectArcList === "undefined") { EOT; } else { $dfvalue = ($ctag->GetAtt('default') != '' ? $ctag->GetAtt('default') : ''); - $innertext = " + $innertext = " "; } $formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem); @@ -416,13 +416,13 @@ function GetFormItemValue($ctag, $fvalue, $admintype = 'admin', $fieldname = '') $ntag = $ndtp->GetTag("img"); $fvalue = trim($ntag->GetInnerText()); } - $innertext = " "; + $innertext = " "; } else if ($ftype == "imgfile") { - $innertext = " "; + $innertext = " "; } else if ($ftype == "media") { - $innertext = " "; + $innertext = " "; } else if ($ftype == "addon") { - $innertext = " "; + $innertext = " "; } else if ($ftype == "int" || $ftype == "float") { $innertext = " (填写数值)"; } else if ($ftype == "relation") { @@ -444,7 +444,7 @@ if(typeof SelectArcList === "undefined") { EOT; } else { - $innertext = ""; + $innertext = ""; } $formitem = str_replace('~name~', $ctag->GetAtt('itemname'), $formitem); $formitem = str_replace('~form~', $innertext, $formitem); diff --git a/src/system/helpers/channelunit.helper.php b/src/system/helpers/channelunit.helper.php index 4f61636f..56d820dc 100755 --- a/src/system/helpers/channelunit.helper.php +++ b/src/system/helpers/channelunit.helper.php @@ -483,7 +483,7 @@ function MakeOneTag(&$dtp, &$refObj, $parfield = 'Y') if (PHP_SAPI === 'cli') { echo '标签:'.$tagname.'载入花费时间:'.$queryTime."\r\n"; } else { - echo '\r\n"; + echo '\r\n"; } }