@@ -20,8 +18,6 @@
@@ -30,25 +26,20 @@
-
-
+
-
-
+
-
-
+
|
@@ -191,5 +177,4 @@
})
-
\ No newline at end of file
diff --git a/src/admin/templets/sys_login.htm b/src/admin/templets/sys_login.htm
index 2577e236..a7a1b6b6 100644
--- a/src/admin/templets/sys_login.htm
+++ b/src/admin/templets/sys_login.htm
@@ -1,6 +1,5 @@
-
@@ -11,7 +10,6 @@
-
@@ -19,8 +17,7 @@
@@ -50,16 +47,13 @@
-
-
+
-
-
+
-
-
+
@@ -141,11 +135,9 @@
-
-
\ No newline at end of file
diff --git a/src/static/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt b/src/static/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt
deleted file mode 100644
index f8a62488..00000000
--- a/src/static/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
-For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
-
-cs.js Found: 30 Missing: 0
-cy.js Found: 30 Missing: 0
-da.js Found: 12 Missing: 18
-de.js Found: 30 Missing: 0
-el.js Found: 25 Missing: 5
-eo.js Found: 30 Missing: 0
-fa.js Found: 30 Missing: 0
-fi.js Found: 30 Missing: 0
-fr.js Found: 30 Missing: 0
-gu.js Found: 12 Missing: 18
-he.js Found: 30 Missing: 0
-it.js Found: 30 Missing: 0
-mk.js Found: 5 Missing: 25
-nb.js Found: 30 Missing: 0
-nl.js Found: 30 Missing: 0
-no.js Found: 30 Missing: 0
-pt-br.js Found: 30 Missing: 0
-ro.js Found: 6 Missing: 24
-tr.js Found: 30 Missing: 0
-ug.js Found: 27 Missing: 3
-vi.js Found: 6 Missing: 24
-zh-cn.js Found: 30 Missing: 0
diff --git a/src/static/ckeditor/plugins/devtools/lang/_translationstatus.txt b/src/static/ckeditor/plugins/devtools/lang/_translationstatus.txt
deleted file mode 100755
index 803a2138..00000000
--- a/src/static/ckeditor/plugins/devtools/lang/_translationstatus.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
-
-bg.js Found: 5 Missing: 0
-cs.js Found: 5 Missing: 0
-cy.js Found: 5 Missing: 0
-da.js Found: 5 Missing: 0
-de.js Found: 5 Missing: 0
-el.js Found: 5 Missing: 0
-eo.js Found: 5 Missing: 0
-et.js Found: 5 Missing: 0
-fa.js Found: 5 Missing: 0
-fi.js Found: 5 Missing: 0
-fr.js Found: 5 Missing: 0
-gu.js Found: 5 Missing: 0
-he.js Found: 5 Missing: 0
-hr.js Found: 5 Missing: 0
-it.js Found: 5 Missing: 0
-nb.js Found: 5 Missing: 0
-nl.js Found: 5 Missing: 0
-no.js Found: 5 Missing: 0
-pl.js Found: 5 Missing: 0
-tr.js Found: 5 Missing: 0
-ug.js Found: 5 Missing: 0
-uk.js Found: 5 Missing: 0
-vi.js Found: 5 Missing: 0
-zh-cn.js Found: 5 Missing: 0
diff --git a/src/static/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt b/src/static/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt
deleted file mode 100644
index 551ec39b..00000000
--- a/src/static/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
-For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
-
-cs.js Found: 118 Missing: 0
-cy.js Found: 118 Missing: 0
-de.js Found: 118 Missing: 0
-el.js Found: 16 Missing: 102
-eo.js Found: 118 Missing: 0
-et.js Found: 31 Missing: 87
-fa.js Found: 24 Missing: 94
-fi.js Found: 23 Missing: 95
-fr.js Found: 118 Missing: 0
-hr.js Found: 23 Missing: 95
-it.js Found: 118 Missing: 0
-nb.js Found: 118 Missing: 0
-nl.js Found: 118 Missing: 0
-no.js Found: 118 Missing: 0
-tr.js Found: 118 Missing: 0
-ug.js Found: 39 Missing: 79
-zh-cn.js Found: 118 Missing: 0
diff --git a/src/static/ckeditor/plugins/uicolor/lang/_translationstatus.txt b/src/static/ckeditor/plugins/uicolor/lang/_translationstatus.txt
deleted file mode 100755
index 040bdd5f..00000000
--- a/src/static/ckeditor/plugins/uicolor/lang/_translationstatus.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
-
-bg.js Found: 4 Missing: 0
-cs.js Found: 4 Missing: 0
-cy.js Found: 4 Missing: 0
-da.js Found: 4 Missing: 0
-de.js Found: 4 Missing: 0
-el.js Found: 4 Missing: 0
-eo.js Found: 4 Missing: 0
-et.js Found: 4 Missing: 0
-fa.js Found: 4 Missing: 0
-fi.js Found: 4 Missing: 0
-fr.js Found: 4 Missing: 0
-he.js Found: 4 Missing: 0
-hr.js Found: 4 Missing: 0
-it.js Found: 4 Missing: 0
-mk.js Found: 4 Missing: 0
-nb.js Found: 4 Missing: 0
-nl.js Found: 4 Missing: 0
-no.js Found: 4 Missing: 0
-pl.js Found: 4 Missing: 0
-tr.js Found: 4 Missing: 0
-ug.js Found: 4 Missing: 0
-uk.js Found: 4 Missing: 0
-vi.js Found: 4 Missing: 0
-zh-cn.js Found: 4 Missing: 0
diff --git a/src/system/archive/archives.class.php b/src/system/archive/archives.class.php
index e27a773d..533919e7 100755
--- a/src/system/archive/archives.class.php
+++ b/src/system/archive/archives.class.php
@@ -267,7 +267,7 @@ class Archives
return '';
}
/**
- * 生成静态HTML
+ * 生成静态网页
*
* @access public
* @param int $isremote 是否远程
diff --git a/src/system/archive/searchview.class.php b/src/system/archive/searchview.class.php
index 34d90cc1..8d6f9a6b 100755
--- a/src/system/archive/searchview.class.php
+++ b/src/system/archive/searchview.class.php
@@ -151,8 +151,7 @@ class SearchView
*/
function GetKeywords($keyword)
{
- global $cfg_soft_lang;
- global $cfg_bizcore_appid, $cfg_bizcore_key;
+ global $cfg_soft_lang, $cfg_bizcore_appid, $cfg_bizcore_key;
$keyword = cn_substr($keyword, 50);
$row = $this->dsql->GetOne("SELECT spwords FROM `#@__search_keywords` WHERE keyword='".addslashes($keyword)."'; ");
if (!is_array($row)) {
@@ -449,7 +448,7 @@ class SearchView
} //End if
}
- global $keyword, $oldkeyword;
+ global $keyword, $oldkeyword;
if (!empty($oldkeyword)) $keyword = $oldkeyword;
$this->dtp->Display();
}
diff --git a/src/system/archive/sglistview.class.php b/src/system/archive/sglistview.class.php
index bd338ac9..1091cd00 100755
--- a/src/system/archive/sglistview.class.php
+++ b/src/system/archive/sglistview.class.php
@@ -44,7 +44,7 @@ class SgListView
*/
function __construct($typeid, $searchArr = array())
{
- global $dsql,$envs;
+ global $dsql, $envs;
$envs['url_type'] = 1;
$this->TypeID = $typeid;
$this->dsql = $dsql;
diff --git a/src/system/archive/taglist.class.php b/src/system/archive/taglist.class.php
index 75e67837..18dc9f18 100755
--- a/src/system/archive/taglist.class.php
+++ b/src/system/archive/taglist.class.php
@@ -39,7 +39,7 @@ class TagList
*/
function __construct($keyword, $templet)
{
- global $dsql,$envs,$cfg_cmsurl;
+ global $dsql, $envs, $cfg_cmsurl;
$this->Templet = $templet;
$this->Tag = (int)$keyword;
$this->dsql = $dsql;
@@ -151,7 +151,7 @@ class TagList
*/
function Display()
{
- global $cfg_cmspath,$cfg_tags_dir;
+ global $cfg_cmspath, $cfg_tags_dir;
$tagsDir = str_replace("{cmspath}",$cfg_cmspath,$cfg_tags_dir);
$makeDir = empty($this->Tag) ? $this->GetTruePath().$tagsDir."/index.html" : $this->GetTruePath().$tagsDir."/".$this->Tag."/index.html";
if ($this->Tag != '') {
@@ -552,14 +552,14 @@ class TagList
}
function SetTagsDir($dir = '')
{
- global $cfg_tags_dir,$cfg_cmspath;
- if ($dir == "") $dir = str_replace("{cmspath}",$cfg_cmspath,$cfg_tags_dir);
+ global $cfg_tags_dir, $cfg_cmspath;
+ if ($dir == "") $dir = str_replace("{cmspath}", $cfg_cmspath, $cfg_tags_dir);
$this->tagsDir = $dir;
}
//生成静态Tag
function MakeHtml($startpage = 1, $makepagesize = 0)
{
- global $cfg_dir_purview,$envs,$cfg_cmspath,$cfg_tags_dir,$cfg_cmsurl;
+ global $cfg_dir_purview, $envs, $cfg_cmspath, $cfg_tags_dir, $cfg_cmsurl;
$envs['makeTag'] = 1;
$tagsdir = str_replace("{cmspath}", $cfg_cmspath, $cfg_tags_dir);
if (isset($envs['makeTag']) && $envs['makeTag'] == 1) {
diff --git a/src/system/libraries/dedebiz.class.php b/src/system/libraries/dedebiz.class.php
index 95110c13..cda29493 100644
--- a/src/system/libraries/dedebiz.class.php
+++ b/src/system/libraries/dedebiz.class.php
@@ -10,7 +10,7 @@ class DedeBizClient
var $err;
function __construct()
{
- global $cfg_bizcore_appid,$cfg_bizcore_key,$cfg_bizcore_hostname, $cfg_bizcore_port;
+ global $cfg_bizcore_appid, $cfg_bizcore_key, $cfg_bizcore_hostname, $cfg_bizcore_port;
$this->appid = $cfg_bizcore_appid;
$this->key = $cfg_bizcore_key;
$this->err = "";
diff --git a/src/system/libraries/statistics.class.php b/src/system/libraries/statistics.class.php
index a5277a29..de4f301c 100644
--- a/src/system/libraries/statistics.class.php
+++ b/src/system/libraries/statistics.class.php
@@ -17,7 +17,7 @@ class DedeStatistics {
//获取统计js
function GetStat()
{
- global $envs,$cfg_cookie_encode;
+ global $envs, $cfg_cookie_encode;
$agent = new Agent();
//不记录爬虫
if ($agent->isRobot()) {
@@ -86,7 +86,7 @@ class DedeStatistics {
//统计
function Record()
{
- global $dsql,$cfg_cookie_encode;
+ global $dsql, $cfg_cookie_encode;
//进行统计
$pm = array('dduuid','ssid','browser','device','device_type','os','t','created_date','created_hour','url_type','typeid','aid','value','sign');
$pmvalue = array();
diff --git a/src/system/taglib/tag.lib.php b/src/system/taglib/tag.lib.php
index 275145c8..05aeefb3 100755
--- a/src/system/taglib/tag.lib.php
+++ b/src/system/taglib/tag.lib.php
@@ -11,7 +11,7 @@ if (!defined('DEDEINC')) exit('dedebiz');
*/
function lib_tag(&$ctag, &$refObj)
{
- global $dsql, $envs, $cfg_cmsurl,$cfg_tags_dir;
+ global $dsql, $envs, $cfg_cmsurl, $cfg_tags_dir;
//属性处理
$attlist = "row|30,sort|new,getall|0,typeid|0,ishtml|0";
FillAttsDefault($ctag->CAttribute->Items, $attlist);
diff --git a/src/user/config.php b/src/user/config.php
index 497f6088..f117334d 100755
--- a/src/user/config.php
+++ b/src/user/config.php
@@ -12,7 +12,6 @@ function XSSClean($val)
global $cfg_soft_lang;
if ($cfg_soft_lang == 'gb2312') gb2utf8($val);
if (is_array($val)) {
- //while (list($key) = each($val))
foreach ($val as $key => $value) {
if (in_array($key, array('tags', 'body', 'dede_fields', 'dede_addonfields', 'dopost', 'introduce'))) continue;
$val[$key] = XSSClean($val[$key]);
@@ -76,9 +75,7 @@ function CheckCSRF()
{
$cc_csrf_token_check = GetCookie("dede_csrf_token");
if (
- !(isset($_POST['_csrf_token'], $cc_csrf_token_check)
- && is_string($_POST['_csrf_token']) && is_string($cc_csrf_token_check)
- && hash_equals($_POST['_csrf_token'], $cc_csrf_token_check))
+ !(isset($_POST['_csrf_token'], $cc_csrf_token_check) && is_string($_POST['_csrf_token']) && is_string($cc_csrf_token_check) && hash_equals($_POST['_csrf_token'], $cc_csrf_token_check))
) {
ShowMsg('刷新页面重新提交,请不要发布重复文档', '-1');
exit();
@@ -128,10 +125,9 @@ if ($cfg_mb_open == 'N') {
}
$keeptime = isset($keeptime) && is_numeric($keeptime) ? $keeptime : -1;
$cfg_ml = new MemberLogin($keeptime);
-
-// 检查收件箱
+//检查收件箱
function PmRead(){
- global $dsql,$cfg_ml;
+ global $dsql, $cfg_ml;
$query = "SELECT * FROM `#@__member_pms` WHERE folder LIKE 'outbox' AND isadmin='1'";
$dsql->SetQuery($query);
$dsql->Execute();
@@ -232,7 +228,6 @@ function countArchives($channelid)
return FALSE;
}
}
-
//安全提示问题,这两句不要修改
$safequestions = array();
$safequestions[0] = '没安全提示问题';