From b969e452f8f281eeaa904bec821de91a444ff0ea Mon Sep 17 00:00:00 2001 From: xushubieli Date: Wed, 9 Feb 2022 10:47:31 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E4=BD=A0=E6=94=B9=E6=82=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dede/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dede/js/main.js b/src/dede/js/main.js index 44c91440..fecc27d9 100755 --- a/src/dede/js/main.js +++ b/src/dede/js/main.js @@ -558,7 +558,7 @@ function getSelCat(targetId) { } } if (selvalue == '') { - alert('你没有选中任何项目!'); + alert('您没有选中任何项目!'); return; } if (targetObj) { From e888646fbf04465afc860fa5d0f62ec7226ea410 Mon Sep 17 00:00:00 2001 From: xushubieli Date: Thu, 10 Feb 2022 11:21:22 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=B8=8B=E5=88=92?= =?UTF-8?q?=E7=BA=BF=EF=BC=8C=E5=92=8C=E6=A8=A1=E6=9D=BF=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dede/ad_edit.php | 2 +- src/dede/article_keywords_select.php | 4 +- src/dede/article_test_title.php | 2 +- src/dede/content_tj.php | 2 +- src/dede/file_manage_control.php | 2 +- src/dede/freelist_main.php | 4 +- src/dede/js/list.js | 2 +- src/dede/module_main.php | 230 +++++++----------- src/dede/mychannel_edit.php | 2 +- src/dede/mychannel_main.php | 4 +- src/dede/mytag_edit.php | 2 +- src/dede/plus_main.php | 4 +- src/dede/search_keywords_main.php | 10 +- src/dede/sys_data.php | 6 +- src/dede/sys_data_replace.php | 2 +- src/dede/templets/ad_add.htm | 2 +- src/dede/templets/ad_edit.htm | 2 +- src/dede/templets/album_add.htm | 6 +- src/dede/templets/album_edit.htm | 6 +- src/dede/templets/archives_add.htm | 6 +- src/dede/templets/archives_edit.htm | 6 +- src/dede/templets/archives_sg_add.htm | 2 +- src/dede/templets/archives_sg_edit.htm | 2 +- .../templets/article_description_main.htm | 2 +- src/dede/templets/article_keywords_select.htm | 2 +- src/dede/templets/catalog_add.htm | 16 +- src/dede/templets/catalog_add_quick.htm | 2 +- src/dede/templets/catalog_edit.htm | 16 +- src/dede/templets/catalog_main.htm | 6 +- src/dede/templets/content_s_list.htm | 2 +- src/dede/templets/content_select_list.htm | 2 +- src/dede/templets/content_sg_list.htm | 4 +- src/dede/templets/diy_add.htm | 2 +- src/dede/templets/diy_edit.htm | 2 +- src/dede/templets/diy_edit_content.htm | 2 +- src/dede/templets/diy_field_add.htm | 2 +- src/dede/templets/erradd.htm | 2 +- src/dede/templets/feedback_edit.htm | 2 +- src/dede/templets/feedback_main.htm | 10 +- src/dede/templets/freelist_add.htm | 2 +- src/dede/templets/freelist_edit.htm | 2 +- src/dede/templets/freelist_main.htm | 4 +- src/dede/templets/friendlink_add.htm | 2 +- src/dede/templets/friendlink_edit.htm | 2 +- src/dede/templets/imagecut.htm | 2 +- src/dede/templets/index2.htm | 26 -- src/dede/templets/index_body.htm | 8 +- src/dede/templets/mail_title_main.htm | 2 +- src/dede/templets/mail_title_send.htm | 2 +- src/dede/templets/mail_type_main.htm | 2 +- src/dede/templets/media_main.htm | 2 +- src/dede/templets/member_main.htm | 2 +- src/dede/templets/member_rank.htm | 4 +- src/dede/templets/member_scores.htm | 2 +- src/dede/templets/member_view.htm | 8 +- src/dede/templets/module_edit.htm | 2 +- src/dede/templets/module_help.htm | 2 +- src/dede/templets/module_main.htm | 80 +++--- src/dede/templets/module_make.htm | 2 +- src/dede/templets/module_upload.htm | 2 +- src/dede/templets/mychannel_add.htm | 2 +- src/dede/templets/mychannel_edit.htm | 6 +- src/dede/templets/mychannel_field_add.htm | 2 +- src/dede/templets/mychannel_main.htm | 2 +- src/dede/templets/mychannel_modifysearch.htm | 2 +- src/dede/templets/mynews_add.htm | 2 +- src/dede/templets/mynews_edit.htm | 2 +- src/dede/templets/mynews_main.htm | 2 +- src/dede/templets/mytag_add.htm | 2 +- src/dede/templets/mytag_edit.htm | 2 +- src/dede/templets/mytag_tag_guide.htm | 2 +- src/dede/templets/plus_edit.htm | 2 +- src/dede/templets/plus_main.htm | 2 +- src/dede/templets/public_guide.htm | 2 +- src/dede/templets/recycling.htm | 2 +- src/dede/templets/search_keywords_main.htm | 6 +- src/dede/templets/soft_add.htm | 8 +- src/dede/templets/soft_edit.htm | 8 +- src/dede/templets/spec_add.htm | 6 +- src/dede/templets/spec_edit.htm | 6 +- src/dede/templets/stepselect_main.htm | 10 +- src/dede/templets/sys_admin_user_tj.htm | 2 +- src/dede/templets/sys_payment_install.htm | 2 +- src/dede/templets/tag_test.htm | 2 +- src/dede/templets/tags_main.htm | 6 +- src/dede/templets/templets_one_add.htm | 2 +- src/dede/templets/templets_one_edit.htm | 2 +- src/dede/templets/vote_getcode.htm | 2 +- src/dede/templets/vote_main.htm | 2 +- src/include/arc.searchview.class.php | 2 +- src/include/helpers/string.helper.php | 2 +- src/plus/download.php | 2 +- src/plus/view.php | 2 +- .../old/htmlwriter/outputforflash.html | 4 +- src/templets/system/channel_addon.htm | 2 +- 95 files changed, 284 insertions(+), 372 deletions(-) diff --git a/src/dede/ad_edit.php b/src/dede/ad_edit.php index 0dc4a265..a3fa39ce 100755 --- a/src/dede/ad_edit.php +++ b/src/dede/ad_edit.php @@ -32,7 +32,7 @@ if ($dopost == 'delete') { 如果不希望重新生成所有页面,则直接调用JS代码即可。 "; $wintitle = "广告管理-获取广告标签"; - $wecome_info = "广告管理::获取JS"; + $wecome_info = "广告管理::获取JS"; $win = new OxWindow(); $win->Init(); $winform = $win->GetWindow("hand", $info); diff --git a/src/dede/article_keywords_select.php b/src/dede/article_keywords_select.php index 0588d768..fb7dd78b 100755 --- a/src/dede/article_keywords_select.php +++ b/src/dede/article_keywords_select.php @@ -33,6 +33,6 @@ function GetSta($sta) function GetMan($sta) { - if ($sta == 1) return "禁用"; - else return "启用"; + if ($sta == 1) return "禁用"; + else return "启用"; } diff --git a/src/dede/article_test_title.php b/src/dede/article_test_title.php index bc1e20ce..e51591b7 100755 --- a/src/dede/article_test_title.php +++ b/src/dede/article_test_title.php @@ -15,5 +15,5 @@ if (empty($t) || $cfg_check_title == 'N') exit; $row = $dsql->GetOne("SELECT id FROM `#@__archives` WHERE title LIKE '$t' "); if (is_array($row)) { - echo "提示:系统已经存在标题为 '$t' 的文档。[关闭]"; + echo "提示:系统已经存在标题为 '$t' 的文档。[关闭]"; } diff --git a/src/dede/content_tj.php b/src/dede/content_tj.php index fc051079..45b5051f 100755 --- a/src/dede/content_tj.php +++ b/src/dede/content_tj.php @@ -40,7 +40,7 @@ function GetArchives($dsql, $ordertype) $dsql->Execute('ga'); while ($row = $dsql->GetObject('ga')) { if (preg_match("#feedback#i", $ordertype)) { - $moreinfo = "[id}'>评论:{$row->scores}]"; + $moreinfo = "[id}'>评论:{$row->scores}]"; } else { $moreinfo = "[点击:{$row->click}]"; } diff --git a/src/dede/file_manage_control.php b/src/dede/file_manage_control.php index 342ff05b..bf9bb638 100755 --- a/src/dede/file_manage_control.php +++ b/src/dede/file_manage_control.php @@ -126,7 +126,7 @@ else if ($fmdo == "space") { } else { $ecpath = $activepath; } - $titleinfo = "目录 $ecpath 空间使用状况:
"; + $titleinfo = "目录 $ecpath 空间使用状况:
"; $wintitle = "文件管理"; $wecome_info = "文件管理::空间大小检查 [文件浏览器]"; $activepath = $cfg_basedir.$activepath; diff --git a/src/dede/freelist_main.php b/src/dede/freelist_main.php index 933ddf42..405b60ee 100755 --- a/src/dede/freelist_main.php +++ b/src/dede/freelist_main.php @@ -68,10 +68,10 @@ function GetTagList($dsql,$pageno,$pagesize,$orderby='aid') $start = ($pageno-1) * $pagesize; $printhead =" - + - + \r\n"; diff --git a/src/dede/js/list.js b/src/dede/js/list.js index 80568552..5ef26814 100755 --- a/src/dede/js/list.js +++ b/src/dede/js/list.js @@ -85,7 +85,7 @@ function ShowMenu(evt,obj,aid,atitle) new ContextItem("推荐文档",function(){ adArc(aid); }), new ContextItem("删除文档",function(){ delArc(aid); }), new ContextSeperator(), - new ContextItem("复制(C)",function(){ copyToClipboard(atitle); }), + new ContextItem("复制(C)",function(){ copyToClipboard(atitle); }), new ContextItem("重载页面",function(){ location.reload(); }), new ContextSeperator(), new ContextItem("全部选择",function(){ selAll(); }), diff --git a/src/dede/module_main.php b/src/dede/module_main.php index 82587dd3..6c9bc8e7 100755 --- a/src/dede/module_main.php +++ b/src/dede/module_main.php @@ -1,5 +1,4 @@ "); fclose($fp); } - /*-------------- function ShowAll(); --------------*/ @@ -61,7 +57,6 @@ if ($action == '') { $types = array('soft' => '模块', 'templets' => '模板', 'plus' => '小插件', 'patch' => '补丁'); $dm = new DedeModule($mdir); if (empty($moduletype)) $moduletype = ''; - $modules_remote = $dm->GetModuleUrlList($moduletype, $mdurl); $modules = array(); $modules = $dm->GetModuleList($moduletype); @@ -75,16 +70,15 @@ if ($action == '') { } /*-------------- function ViewDevelopoer(); ---------------*/ else if ($action == 'view_developoer') { - // 检验开发者信息 +--------------*/ +else if ($action == 'view_developoer') { + //检验开发者信息 $dm = new DedeModule($mdir); $info = $dm->GetModuleInfo($hash); - if ($info == null) { ShowMsg("获取模块信息错误,模块文件可能被篡改", -1); exit; } - $dev_id = $info['dev_id']; $devURL = DEDECDNURL."/developers/$dev_id.json"; $dhd = new DedeHttpDown(); @@ -98,25 +92,23 @@ function ViewDevelopoer(); $authAt = date("Y-m-d", $devInfo['auth_at']); if (!isset($info['dev_id'])) { - $devInfo['realname'] = $devInfo['dev_name'] = $info['team']." 未认证"; + $devInfo['realname'] = $devInfo['dev_name'] = $info['team']." 未认证"; $authAt = "0000-00-00"; } - - ShowMsg("

开发者名称:{$devInfo['dev_name']}

开发者全称:{$devInfo['realname']}

开发者ID:{$devInfo['dev_id']} 查看详情

$offUrl

认证于:{$authAt}

", "javascript:;"); + ShowMsg("

开发者名称:{$devInfo['dev_name']}

开发者全称:{$devInfo['realname']}

开发者ID:{$devInfo['dev_id']} 未认证

$offUrl

认证于:{$authAt}

", "javascript:;"); exit; } /*-------------- function Setup(); ---------------*/ else if ($action == 'setup') { +--------------*/ +else if ($action == 'setup') { $dm = new DedeModule($mdir); $infos = $dm->GetModuleInfo($hash); if ($infos == null) { ShowMsg("获取模块信息错误,模块文件可能被篡改", -1); exit; } - - $alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '
(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)'); - + $alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '
(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)'); $filelists = $dm->GetFileLists($hash); $filelist = ''; $prvdirs = array(); @@ -147,85 +139,74 @@ function Setup(); $prvdirs[$prvdir][1] = TestWriteAble($prvdir); } } - $prvdir = "
IDID 列表名称 模板文件点击点击 创建时间 管理
\r\n"; + $prvdir = "
\r\n"; $prvdir .= "\r\n"; foreach ($prvdirs as $k => $v) { if ($v) $cw = '√'; else $cw = '×'; - $prvdir .= ""; - $prvdir .= "\r\n"; + $prvdir .= ""; + $prvdir .= "\r\n"; } $prvdir .= "
目录可写
$k$cw
$k$cw
"; - $win = new OxWindow(); $win->Init("module_main.php", "js/blank.js", "post"); $wecome_info = "模块管理"; $win->AddTitle(" 模块管理 >> 安装模块: {$infos['name']}"); $win->AddHidden("hash", $hash); $win->AddHidden("action", 'setupstart'); - - $msg = " + $msg = " - + - + - + - - + + - + - - + + - + - - + -
模块名称:模块名称: {$infos['name']}
语言:语言: {$infos['lang']} {$alertMsg}
文件大小:文件大小: {$infos['filesize']}
开发者ID:{$infos['dev_id']} 查看详情开发者ID:{$infos['dev_id']} 未认证
发布时间:发布时间: {$infos['time']}
使用协议:点击浏览...使用协议:浏览
-
- 注意事项: - 安装时请确保文件列表中涉及的目录前可写入权限,此外“后台管理目录”、“后台管理目录/templets”目录也必须暂时设置可写入权限。 -
+
注意事项:安装时请确保文件列表中涉及的目录前可写入权限,此外“后台管理目录”、“后台管理目录/templets”目录也必须暂时设置可写入权限。
目录权限检测:
../ 为根目录
./ 表示当前目录
- $prvdir - $prvdir
模块包含的所有文件列表:
+
对于已存在文件处理方法:对于已存在文件处理方法: - - - + + +
- "; +"; $win->AddMsgItem("
$msg
"); $winform = $win->GetWindow("ok", ""); $win->Display(); @@ -234,36 +215,31 @@ function Setup(); } /*--------------- function SetupRun() ---------------*/ else if ($action == 'setupstart') { +--------------*/ +else if ($action == 'setupstart') { if (!is_writeable($mdir)) { - ShowMsg("目录 {$mdir} 不支持写入,这将导致安装程序没法正常创建!", "-1"); + ShowMsg("目录 {$mdir} 不支持写入,这将导致安装程序没法正常创建", "-1"); exit(); } $dm = new DedeModule($mdir); - $minfos = $dm->GetModuleInfo($hash); extract($minfos, EXTR_SKIP); - $menustring = addslashes($dm->GetSystemFile($hash, 'menustring')); $indexurl = str_replace('**', '=', $indexurl); - $query = "INSERT INTO `#@__sys_module`(`hashcode` , `modname` , `indexname` , `indexurl` , `ismember` , `menustring` ) - VALUES ('$hash' , '$name' , '$indexname' , '$indexurl' , '$ismember' , '$menustring' ) "; - + VALUES ('$hash' , '$name' , '$indexname' , '$indexurl' , '$ismember' , '$menustring' ) "; $rs = $dsql->ExecuteNoneQuery("DELETE FROM `#@__sys_module` WHERE hashcode LIKE '$hash' "); $rs = $dsql->ExecuteNoneQuery($query); if (!$rs) { - ShowMsg('保存数据库信息失败,无法完成安装!'.$dsql->GetError(), 'javascript:;'); + ShowMsg('保存数据库信息失败,无法完成安装'.$dsql->GetError(), 'javascript:;'); exit(); } - $dm->WriteFiles($hash, $isreplace); $filename = ''; if (!isset($autosetup) || $autosetup == 0) $filename = $dm->WriteSystemFile($hash, 'setup'); if (!isset($autodel) || $autodel == 0) $dm->WriteSystemFile($hash, 'uninstall'); $dm->WriteSystemFile($hash, 'readme'); $dm->Clear(); - //用模块的安装程序安装 if (!isset($autosetup) || $autosetup == 0) { include(DEDEDATA.'/module/'.$filename); @@ -274,35 +250,26 @@ function SetupRun() $mysql_version = $dsql->GetVersion(TRUE); //默认使用MySQL 4.1 以下版本的SQL语句,对大于4.1版本采用替换处理 TYPE=MyISAM ==> ENGINE=MyISAM DEFAULT CHARSET=#~lang~# $setupsql = $dm->GetSystemFile($hash, 'setupsql40'); - $setupsql = preg_replace("#ENGINE=MyISAM#i", 'TYPE=MyISAM', $setupsql); $sql41tmp = 'ENGINE=MyISAM DEFAULT CHARSET='.$cfg_db_language; - if ($mysql_version >= 4.1) { $setupsql = preg_replace("#TYPE=MyISAM#i", $sql41tmp, $setupsql); } - //_ROOTURL_ if ($cfg_cmspath == '/') $cfg_cmspath = ''; - $rooturl = $cfg_basehost.$cfg_cmspath; - $setupsql = preg_replace("#_ROOTURL_#i", $rooturl, $setupsql); $setupsql = preg_replace("#[\r\n]{1,}#", "\n", $setupsql); - $sqls = @split(";[ \t]{0,}\n", $setupsql); foreach ($sqls as $sql) { if (trim($sql) != '') $dsql->ExecuteNoneQuery($sql); } - ReWriteConfigAuto(); - $rflwft = ""; echo $rflwft; - UpDateCatCache(); ShowMsg('模块安装完成...', 'module_main.php'); exit(); @@ -310,51 +277,48 @@ function SetupRun() } /*-------------- function DelModule(); ---------------*/ else if ($action == 'del') { +--------------*/ +else if ($action == 'del') { $dm = new DedeModule($mdir); $infos = $dm->GetModuleInfo($hash); - - $alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '
(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)'); - $dev_id = empty($infos['dev_id'])? "未认证 前去认证" : "{$infos['dev_id']} 查看详情"; + $alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '
(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)'); + $dev_id = empty($infos['dev_id'])? "未认证" : "{$infos['dev_id']} 未认证"; $win = new OxWindow(); $win->Init("module_main.php", "js/blank.js", "post"); $wecome_info = "模块管理"; $win->AddTitle("模块管理 >> 删除模块: {$infos['name']}"); $win->AddHidden('hash', $hash); $win->AddHidden('action', 'delok'); - $msg = " + $msg = " - + - + - + - + - + - - + + - + -
模块名称:模块名称: {$infos['name']}
语言:语言: {$infos['lang']} {$alertMsg}
文件大小:文件大小: {$infos['filesize']}
开发者ID:开发者ID: {$dev_id}
发布时间:发布时间: {$infos['time']}
使用协议:点击浏览...使用协议:浏览
- 删除模块仅删除这个模块的安装包文件,如果您已经安装,请执行卸载程序来删除! - 删除模块仅删除这个模块的安装包文件,如果您已经安装,请执行卸载程序来删除
- "; +"; $win->AddMsgItem("
$msg
"); $winform = $win->GetWindow("ok", ""); $win->Display(); @@ -363,19 +327,18 @@ function DelModule(); } else if ($action == 'delok') { $dm = new DedeModule($mdir); $modfile = $mdir."/".$dm->GetHashFile($hash); - unlink($modfile) or die("删除文件 {$modfile} 失败!"); - ShowMsg("成功删除一个模块文件!", "module_main.php"); + unlink($modfile) or die("删除文件 {$modfile} 失败"); + ShowMsg("成功删除一个模块文件", "module_main.php"); exit(); } /*-------------- function UnInstall(); ---------------*/ else if ($action == 'uninstall') { +--------------*/ +else if ($action == 'uninstall') { $dm = new DedeModule($mdir); $infos = $dm->GetModuleInfo($hash); - if ($infos['url'] == '') $infos['url'] = ' '; - $alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '
(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)'); - + $alertMsg = ($infos['lang'] == $cfg_soft_lang ? '' : '
(这个模块的语言编码与您系统的编码不一致,请向开发者确认它的兼容性)'); $filelists = $dm->GetFileLists($hash); $filelist = ''; foreach ($filelists as $v) { @@ -384,58 +347,55 @@ function UnInstall(); else $v['type'] = '文件'; $filelist .= "{$v['type']}|{$v['name']}\r\n"; } - $dev_id = empty($infos['dev_id'])? "未认证 前去认证" : "{$infos['dev_id']} 查看详情"; + $dev_id = empty($infos['dev_id'])? "未认证" : "{$infos['dev_id']} 未认证"; $win = new OxWindow(); $win->Init("module_main.php", "js/blank.js", "post"); $wecome_info = "模块管理"; $win->AddTitle("模块管理 >> 卸载模块: {$infos['name']}"); $win->AddHidden("hash", $hash); $win->AddHidden("action", 'uninstallok'); - $msg = " + $msg = " - + - + - + - + - + - - + + - + - - + -
模块名称:模块名称: {$infos['name']}
语言:语言: {$infos['lang']} {$alertMsg}
文件大小:文件大小: {$infos['filesize']}
开发者ID:开发者ID: {$dev_id}
发布时间:发布时间: {$infos['time']}
使用协议:点击浏览...使用协议:浏览
模块包含的文件:
(文件路径相对于当前目录)
 模块包含的文件:
(文件路径相对于当前目录)
 
+
对于模块的文件处理方法:对于模块的文件处理方法: - - + +
- "; +"; $win->AddMsgItem("
$msg
"); $winform = $win->GetWindow("ok", ""); $win->Display(); @@ -444,13 +404,12 @@ function UnInstall(); } /*-------------- function UnInstallRun(); ---------------*/ else if ($action == 'uninstallok') { +--------------*/ +else if ($action == 'uninstallok') { $dsql->ExecuteNoneQuery("DELETE FROM `#@__sys_module` WHERE hashcode LIKE '$hash' "); $dm = new DedeModule($mdir); - $minfos = $dm->GetModuleInfo($hash); extract($minfos, EXTR_SKIP); - if (!isset($moduletype) || $moduletype != 'patch') { $dm->DeleteFiles($hash, $isreplace); } @@ -470,9 +429,7 @@ function UnInstallRun(); if (trim($sql) != '') $dsql->ExecuteNoneQuery($sql); } } - ReWriteConfigAuto(); - $rflwft = " "; - echo "
完成所有文件更新!
"; + echo "
完成所有文件更新
"; exit(); } else { $pv = new PartView($row['id']); $pv->SetTemplet($cfg_basedir.$cfg_templets_dir."/".$templet); $pv->SaveToHtml($cfg_basedir.$cfg_cmspath."/data/js/".$row['id'].".js", 0); $typeid = $row['id'];; - ShowMsg("成功更新".$cfg_cmspath."/data/js/".$row['id'].".js,继续进行操作!", "makehtml_js_action.php?typeid=$typeid", 0, 100); + ShowMsg("成功更新".$cfg_cmspath."/data/js/".$row['id'].".js,继续进行操作", "makehtml_js_action.php?typeid=$typeid", 0, 100); exit(); } } else { @@ -36,7 +36,7 @@ if ($uptype == "all") { $pv->SetTemplet($cfg_basedir.$cfg_templets_dir."/".$templet); $pv->SaveToHtml($cfg_basedir.$cfg_cmspath."/data/js/".$typeid.".js", 0); echo ""; - echo "
成功更新".$cfg_cmspath."/data/js/".$typeid.".js!"; + echo "
成功更新".$cfg_cmspath."/data/js/".$typeid.".js"; echo "预览:
"; echo "
"; echo ""; diff --git a/src/dede/makehtml_list_action.php b/src/dede/makehtml_list_action.php index 81095eca..047d150b 100755 --- a/src/dede/makehtml_list_action.php +++ b/src/dede/makehtml_list_action.php @@ -52,10 +52,10 @@ if (isset($idArray[$pageno])) { $tid = $idArray[$pageno]; } else { if ($gotype == '') { - ShowMsg("完成所有列表更新!", "javascript:;"); + ShowMsg("完成所有列表更新", "javascript:;"); exit(); } else if ($gotype == 'mkall' || $gotype == 'mkallct') { - ShowMsg("完成所有栏目列表更新,现在作最后数据优化!", "makehtml_all.php?action=make&step=10"); + ShowMsg("完成所有栏目列表更新,现在作最后数据优化", "makehtml_all.php?action=make&step=10"); exit(); } } @@ -103,16 +103,16 @@ if ($nextpage >= $totalpage && $finishType) { if (empty($reurl)) { $reurl = '../plus/list.php?tid='.$tid; } - ShowMsg("完成所有栏目列表更新!浏览栏目", "javascript:;"); + ShowMsg("完成所有栏目列表更新浏览栏目", "javascript:;"); exit(); } else if ($gotype == 'mkall' || $gotype == 'mkallct') { - ShowMsg("完成所有栏目列表更新,现在作最后数据优化!", "makehtml_all.php?action=make&step=10"); + ShowMsg("完成所有栏目列表更新,现在作最后数据优化", "makehtml_all.php?action=make&step=10"); exit(); } } else { if ($finishType) { $gourl = "makehtml_list_action.php?gotype={$gotype}&uppage=$uppage&maxpagesize=$maxpagesize&typeid=$typeid&pageno=$nextpage"; - ShowMsg("成功创建栏目:".$tid.",继续进行操作!", $gourl, 0, 100); + ShowMsg("成功创建栏目:".$tid.",继续进行操作", $gourl, 0, 100); exit(); } else { $gourl = "makehtml_list_action.php?gotype={$gotype}&uppage=$uppage&mkpage=$mkpage&maxpagesize=$maxpagesize&typeid=$typeid&pageno=$pageno"; diff --git a/src/dede/makehtml_rss_action.php b/src/dede/makehtml_rss_action.php index e9c02365..3c4dda57 100755 --- a/src/dede/makehtml_rss_action.php +++ b/src/dede/makehtml_rss_action.php @@ -19,10 +19,10 @@ if (empty($maxrecord)) $maxrecord = 50; $row = $dsql->GetOne("SELECT id FROM `#@__arctype` WHERE id>'$tid' AND ispart<>2 ORDER BY id ASC LIMIT 0,1;"); if (!is_array($row)) { echo ""; - echo "
完成所有文件更新!
"; + echo "
完成所有文件更新
"; } else { $rv = new RssView($row['id'], $maxrecord); $rssurl = $rv->MakeRss(0); $tid = $row['id']; - ShowMsg("成功更新".$rssurl.",继续进行操作!", "makehtml_rss_action.php?tid=$tid&maxrecord=$maxrecord", 0, 100); + ShowMsg("成功更新".$rssurl.",继续进行操作", "makehtml_rss_action.php?tid=$tid&maxrecord=$maxrecord", 0, 100); } diff --git a/src/dede/makehtml_spec.php b/src/dede/makehtml_spec.php index 1fa952b4..3ce0a80e 100755 --- a/src/dede/makehtml_spec.php +++ b/src/dede/makehtml_spec.php @@ -18,7 +18,7 @@ if ($dopost == "ok") { $sp = new SpecView(); $rurl = $sp->MakeHtml(0); echo ""; - echo "
成功生成所有专题HTML列表!预览
"; + echo "
成功生成所有专题HTML列表预览
"; exit(); } include DedeInclude('templets/makehtml_spec.htm'); diff --git a/src/dede/makehtml_taglist_action.php b/src/dede/makehtml_taglist_action.php index 0ed2cca6..86d03be0 100644 --- a/src/dede/makehtml_taglist_action.php +++ b/src/dede/makehtml_taglist_action.php @@ -41,7 +41,7 @@ if ($upall == 1 && $ctagid == 0) { if ($ctagid == 0 && $allfinish) { $reurl = '../a/tags/'; - ShowMsg("完成TAG更新!浏览TAG首页", "javascript:;"); + ShowMsg("完成TAG更新浏览TAG首页", "javascript:;"); exit; } @@ -72,7 +72,7 @@ if (is_array($tag) && count($tag) > 0) { $dlist->MakeHtml(1, 10); $reurl = '../a/tags/'; if ($upall == 1) { - ShowMsg("完成TAG更新!浏览TAG首页", "javascript:;"); + ShowMsg("完成TAG更新浏览TAG首页", "javascript:;"); } else { $query = "UPDATE `#@__tagindex` SET mktime=uptime WHERE id='$ctagid' "; $dsql->ExecuteNoneQuery($query); @@ -82,7 +82,7 @@ if (is_array($tag) && count($tag) > 0) { } $reurl .= $tag['tag_pinyin']; - ShowMsg("完成TAG更新:[".$tag['tag']."]!浏览TAG首页", "javascript:;"); + ShowMsg("完成TAG更新:[".$tag['tag']."]浏览TAG首页", "javascript:;"); } exit(); } else { @@ -95,7 +95,7 @@ if (is_array($tag) && count($tag) > 0) { $nextpage = 0; } $gourl = "makehtml_taglist_action.php?maxpagesize=$maxpagesize&tagid=$tagid&pageno=$nextpage&upall=$upall&ctagid=$ctagid"; - ShowMsg("成功生成TAG:[".$tag['tag']."],继续进行操作!", $gourl, 0, 100); + ShowMsg("成功生成TAG:[".$tag['tag']."],继续进行操作", $gourl, 0, 100); exit(); } else { // 继续当前这个 diff --git a/src/dede/mda_main.php b/src/dede/mda_main.php index ba1c8c29..a34ba9ec 100755 --- a/src/dede/mda_main.php +++ b/src/dede/mda_main.php @@ -83,7 +83,7 @@ function __link(){ } -------------------------------*/ if ($dopost == 'place' or $dopost == 'report' or $dopost == 'account' or $dopost == 'setting') { if (!mda_islogin()) { - ShowMsg("您尚未登录德得广告,请先登录后继续使用……!", '?dopost=login'); + ShowMsg("您尚未登录德得广告,请先登录后继续使用……", '?dopost=login'); exit(); } mda_check_islogin(); @@ -161,7 +161,7 @@ function __bind_user(){ } $domain = isset($domain) ? $domain : ''; $channel_name = isset($channel_name) ? $channel_name : ''; if (!$email or !$pwd or !$domain or !$channel_name) { - ShowMsg("填写正确的账号信息!", -1); + ShowMsg("填写正确的账号信息", -1); exit(); } if ($cfg_soft_lang == 'gb2312') $channel_name = gb2utf8($channel_name); @@ -173,7 +173,7 @@ function __bind_user(){ } ); $rs = json_decode(mda_http_send(MDA_API_BIND_USER, 0, $paramsArr), TRUE); if (!$rs) { - ShowMsg("请求API错误,请重试!", -1); + ShowMsg("请求API错误,请重试", -1); exit(); } if ($rs['code'] != 0) { @@ -272,7 +272,7 @@ function __main(){ } - 您已成功登录德得广告!您可以进行以下操作: + 您已成功登录德得广告您可以进行以下操作: @@ -328,7 +328,7 @@ EOT; ); $rs = json_decode(mda_http_send(MDA_API_LOGIN, 0, $paramsArr), TRUE); if (!$rs) { - ShowMsg("请求API错误,请重试!", -1); + ShowMsg("请求API错误,请重试", -1); exit(); } if ($rs['code'] != 0) { @@ -336,7 +336,7 @@ EOT; exit(); } if ($rs['code'] == 0) { - ShowMsg("Channel Secret 修改成功……!", '?dopost=main'); + ShowMsg("Channel Secret 修改成功……", '?dopost=main'); mda_set_setting('channel_secret', $channel_secret); } } diff --git a/src/dede/media_add.php b/src/dede/media_add.php index ee13cc8d..7d9e11b1 100755 --- a/src/dede/media_add.php +++ b/src/dede/media_add.php @@ -62,7 +62,7 @@ if ($dopost == "upload") { 漏洞描述:dedecms早期版本后台存在大量的富文本编辑器,该控件提供了一些文件上传接口,同时dedecms对上传文件的后缀类型未进行严格的限制,这导致了黑客可以上传WEBSHELL,获取网站后台权限。 */ if (preg_match('#\.(php|pl|cgi|asp|aspx|jsp|php5|php4|php3|shtm|shtml)[^a-zA-Z0-9]+$#i', trim($filename))) { - ShowMsg("您指定的文件名被系统禁止!", "javascript:;"); + ShowMsg("您指定的文件名被系统禁止", "javascript:;"); exit(); } $fullfilename = $cfg_basedir.$filename; @@ -87,7 +87,7 @@ if ($dopost == "upload") { $dsql->ExecuteNoneQuery($inquery); } } - ShowMsg("成功上传 {$okdd} 个文件!", "media_main.php"); + ShowMsg("成功上传 {$okdd} 个文件", "media_main.php"); exit(); } include DedeInclude('templets/media_add.htm'); diff --git a/src/dede/media_edit.php b/src/dede/media_edit.php index bb36daf1..859f4e87 100755 --- a/src/dede/media_edit.php +++ b/src/dede/media_edit.php @@ -34,7 +34,7 @@ if ($dopost == 'del') { $rs = @unlink($truefile); } if ($rs == 1) { - $msg = "成功删除一个附件!"; + $msg = "成功删除一个附件"; $dsql->ExecuteNoneQuery("DELETE FROM `#@__uploads` WHERE aid='".$aid."'"); } ShowMsg($msg, $backurl); @@ -64,7 +64,7 @@ if ($dopost == 'del') { $dsql->ExecuteNoneQuery("DELETE FROM `#@__uploads` WHERE aid='".$myrow['aid']."'"); } } - ShowMsg('成功删除选定的文件!', $backurl); + ShowMsg('成功删除选定的文件', $backurl); exit(); } } @@ -85,27 +85,27 @@ function __save_edit() //保存更改 if ($mediatype == 1) { $sparr = array("image/pjpeg", "image/jpeg", "image/gif", "image/png", "image/xpng", "image/wbmp"); if (!in_array($upfile_type, $sparr)) { - ShowMsg("您上传的不是图片类型的文件!", "javascript:history.go(-1);"); + ShowMsg("您上传的不是图片类型的文件", "javascript:history.go(-1);"); exit(); } } else if ($mediatype == 2) { $sparr = array("application/x-shockwave-flash"); if (!in_array($upfile_type, $sparr)) { - ShowMsg("您上传的不是Flash类型的文件!", "javascript:history.go(-1);"); + ShowMsg("您上传的不是Flash类型的文件", "javascript:history.go(-1);"); exit(); } } else if ($mediatype == 3) { if (!preg_match('#audio|media|video#i', $upfile_type)) { - ShowMsg("您上传的为不正确类型的影音文件!", "javascript:history.go(-1);"); + ShowMsg("您上传的为不正确类型的影音文件", "javascript:history.go(-1);"); exit(); } if (!preg_match("#\.".$cfg_mediatype."#", $upfile_name)) { - ShowMsg("您上传的影音文件扩展名无法被识别,请更改系统配置的参数!", "javascript:history.go(-1);"); + ShowMsg("您上传的影音文件扩展名无法被识别,请更改系统配置的参数", "javascript:history.go(-1);"); exit(); } } else { if (!preg_match("#\.".$cfg_softtype."#", $upfile_name)) { - ShowMsg("您上传的附件扩展名无法被识别,请更改系统配置的参数!", "javascript:history.go(-1);"); + ShowMsg("您上传的附件扩展名无法被识别,请更改系统配置的参数", "javascript:history.go(-1);"); exit(); } } @@ -151,14 +151,14 @@ function __save_edit() //保存更改 $query = " UPDATE #@__uploads SET title='$title',mediatype='$mediatype',playtime='$playtime'"; $query .= "$addquery WHERE aid='$aid' "; $dsql->ExecuteNoneQuery($query); - ShowMsg('成功更改一则附件数据!', 'media_edit.php?aid='.$aid); + ShowMsg('成功更改一则附件数据', 'media_edit.php?aid='.$aid); exit(); } //读取档案信息 $myrow = $dsql->GetOne("SELECT * FROM #@__uploads WHERE aid='".$aid."'"); if (!is_array($myrow)) { - ShowMsg('错误,找不到此编号的档案!', 'javascript:;'); + ShowMsg('错误,找不到此编号的档案', 'javascript:;'); exit(); } include DedeInclude('templets/media_edit.htm'); diff --git a/src/dede/member_do.php b/src/dede/member_do.php index 2d7dd49b..7ead066c 100755 --- a/src/dede/member_do.php +++ b/src/dede/member_do.php @@ -25,7 +25,7 @@ if ($dopost == "delmember") { $id = preg_replace("#[^0-9]#", '', $id); $safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24); if ($safecodeok != $safecode) { - ShowMsg("请填写正确的安全验证串!", "member_do.php?id={$id}&dopost=delmember"); + ShowMsg("请填写正确的安全验证串", "member_do.php?id={$id}&dopost=delmember"); exit(); } if (!empty($id)) { @@ -54,11 +54,11 @@ if ($dopost == "delmember") { $dsql->ExecuteNoneQuery("DELETE FROM `#@__feedback` WHERE mid='$id' "); $dsql->ExecuteNoneQuery("UPDATE `#@__archives` SET mid='0' WHERE mid='$id'"); } else { - ShowMsg("无法删除此会员,如果这个会员是[管理员]
必须先删除这个[管理员]才能删除此帐号!", $ENV_GOBACK_URL, 0, 5000); + ShowMsg("无法删除此会员,如果这个会员是[管理员]
必须先删除这个[管理员]才能删除此帐号", $ENV_GOBACK_URL, 0, 5000); exit(); } } - ShowMsg("成功删除一个会员!", $ENV_GOBACK_URL); + ShowMsg("成功删除一个会员", $ENV_GOBACK_URL); exit(); } $randcode = mt_rand(10000, 99999); @@ -81,7 +81,7 @@ if ($dopost == "delmember") { if ($fmdo == 'yes') { $safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24); if ($safecodeok != $safecode) { - ShowMsg("请填写正确的安全验证串!", "member_do.php?id={$id}&dopost=delmembers"); + ShowMsg("请填写正确的安全验证串", "member_do.php?id={$id}&dopost=delmembers"); exit(); } if (!empty($id)) { @@ -103,11 +103,11 @@ if ($dopost == "delmember") { $dsql->ExecuteNoneQuery("DELETE FROM `#@__feedback` WHERE mid IN (".str_replace("`", ",", $id).") "); $dsql->ExecuteNoneQuery("UPDATE `#@__archives` SET mid='0' WHERE mid IN (".str_replace("`", ",", $id).")"); } else { - ShowMsg("无法删除此会员,如果这个会员是管理员关连的ID,
必须先删除这个管理员才能删除此帐号!", $ENV_GOBACK_URL, 0, 3000); + ShowMsg("无法删除此会员,如果这个会员是管理员关连的ID,
必须先删除这个管理员才能删除此帐号", $ENV_GOBACK_URL, 0, 3000); exit(); } } - ShowMsg("成功删除这些会员!", $ENV_GOBACK_URL); + ShowMsg("成功删除这些会员", $ENV_GOBACK_URL); exit(); } $randcode = mt_rand(10000, 99999); @@ -134,11 +134,11 @@ function __Recommend() $id = preg_replace("#[^0-9]#", "", $id); if ($matt == 0) { $dsql->ExecuteNoneQuery("UPDATE `#@__member` SET matt=1 WHERE mid='$id' AND matt<>10 LIMIT 1"); - ShowMsg("成功设置一个会员推荐!", $ENV_GOBACK_URL); + ShowMsg("成功设置一个会员推荐", $ENV_GOBACK_URL); exit(); } else { $dsql->ExecuteNoneQuery("UPDATE `#@__member` SET matt=0 WHERE mid='$id' AND matt<>10 LIMIT 1"); - ShowMsg("成功取消一个会员推荐!", $ENV_GOBACK_URL); + ShowMsg("成功取消一个会员推荐", $ENV_GOBACK_URL); exit(); } } @@ -153,7 +153,7 @@ function __EditUser() $uptime = GetMkTime($uptime); if ($matt == 10 && $oldmatt != 10) { - ShowMsg("对不起,为安全起见,不支持直接把前台会员转为管理的操作!", "-1"); + ShowMsg("对不起,为安全起见,不支持直接把前台会员转为管理的操作", "-1"); exit(); } $query = "UPDATE `#@__member` SET @@ -186,7 +186,7 @@ function __EditUser() $rs = $dsql->ExecuteNoneQuery2($query); } - ShowMsg('成功更改会员资料!', 'member_view.php?id='.$id); + ShowMsg('成功更改会员资料', 'member_view.php?id='.$id); exit(); } /*-------------- @@ -206,7 +206,7 @@ function __LoginCP() $query = "DELETE FROM `#@__member_operation` WHERE aid = '$var'"; $dsql->ExecuteNoneQuery($query); } - ShowMsg("删除成功!", "member_operations.php"); + ShowMsg("删除成功", "member_operations.php"); exit(); } } else if ($dopost == "upoperations") { @@ -216,7 +216,7 @@ function __LoginCP() foreach ($nid as $var) { $query = "UPDATE `#@__member_operation` SET sta = '1' WHERE aid = '$var'"; $dsql->ExecuteNoneQuery($query); - ShowMsg("设置成功!", "member_operations.php"); + ShowMsg("设置成功", "member_operations.php"); exit(); } } @@ -227,7 +227,7 @@ function __LoginCP() foreach ($nid as $var) { $query = "UPDATE `#@__member_operation` SET sta = '2' WHERE aid = '$var'"; $dsql->ExecuteNoneQuery($query); - ShowMsg("设置成功!", "member_operations.php"); + ShowMsg("设置成功", "member_operations.php"); exit(); } } diff --git a/src/dede/member_pmone.php b/src/dede/member_pmone.php index b534ef07..1fcde346 100755 --- a/src/dede/member_pmone.php +++ b/src/dede/member_pmone.php @@ -18,11 +18,11 @@ function CheckUserID($uid, $msgtitle = '用户名', $ckhas = true) if ($cfg_mb_notallow != '') { $nas = explode(',', $cfg_mb_notallow); if (in_array($uid, $nas)) { - return $msgtitle.'为系统禁止的标识!'; + return $msgtitle.'为系统禁止的标识'; } } if ($cfg_md_idurl == 'Y' && preg_match("#[^a-z0-9]#i", $uid)) { - return $msgtitle.'必须由英文字母或数字组成!'; + return $msgtitle.'必须由英文字母或数字组成'; } if ($cfg_soft_lang == 'utf-8') $ck_uid = utf82gb($uid); @@ -33,17 +33,17 @@ function CheckUserID($uid, $msgtitle = '用户名', $ckhas = true) if (isset($ck_uid[$i + 1]) && ord($ck_uid[$i + 1]) > 0x40) { $i++; } else { - return $msgtitle.'可能含有乱码,建议您改用英文字母和数字组合!'; + return $msgtitle.'可能含有乱码,建议您改用英文字母和数字组合'; } } else { if (preg_match("#[^0-9a-z@\.-]i#", $ck_uid[$i])) { - return $msgtitle.'不能含有 [@]、[.]、[-]以外的特殊符号!'; + return $msgtitle.'不能含有 [@]、[.]、[-]以外的特殊符号'; } } } if ($ckhas) { $row = $dsql->GetOne("SELECT * FROM `#@__member` WHERE userid LIKE '$uid' "); - if (is_array($row)) return $msgtitle."已经存在!"; + if (is_array($row)) return $msgtitle."已经存在"; } return 'ok'; } diff --git a/src/dede/member_rank.php b/src/dede/member_rank.php index 17133f09..604658d6 100755 --- a/src/dede/member_rank.php +++ b/src/dede/member_rank.php @@ -39,11 +39,11 @@ if ($dopost == 'save') { $dsql->ExecuteNoneQuery($inquery); } } - echo ""; + echo ""; } if ($dopost == 'del') { $dsql->ExecuteNoneQuery("DELETE FROM `#@__arcrank` WHERE id='$id' AND rank<>10"); - ShowMsg("删除成功!", "member_rank.php"); + ShowMsg("删除成功", "member_rank.php"); exit(); } diff --git a/src/dede/member_toadmin.php b/src/dede/member_toadmin.php index c84abf7c..8dd76d65 100755 --- a/src/dede/member_toadmin.php +++ b/src/dede/member_toadmin.php @@ -23,12 +23,12 @@ function __Toadmin() if ($dopost == "toadmin") { $pwd = trim($pwd); if ($pwd != '' && preg_match("#[^0-9a-zA-Z_@!\.-]#", $pwd)) { - ShowMsg('密码不合法,请使用[0-9a-zA-Z_@!.-]内的字符!', '-1', 0, 3000); + ShowMsg('密码不合法,请使用[0-9a-zA-Z_@!.-]内的字符', '-1', 0, 3000); exit(); } $safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24); if ($safecodeok != $safecode) { - ShowMsg("请填写正确的安全验证串!", "member_toadmin.php?id={$id}"); + ShowMsg("请填写正确的安全验证串", "member_toadmin.php?id={$id}"); exit(); } $pwdm = ''; @@ -46,7 +46,7 @@ if ($dopost == "toadmin") { } $typeids = (empty($typeids)) ? "" : $typeids; if ($typeids == '') { - ShowMsg("请为该管理员指定管理栏目!", "member_toadmin.php?id={$id}"); + ShowMsg("请为该管理员指定管理栏目", "member_toadmin.php?id={$id}"); exit(); } $typeid = join(',', $typeids); @@ -70,7 +70,7 @@ if ($dopost == "toadmin") { $inquery = "INSERT INTO `#@__member_pms` (`floginid`,`fromid`,`toid`,`tologinid`,`folder`,`subject`,`sendtime`,`writetime`,`hasview`,`isadmin`,`message`) VALUES ('$floginid','$fromid','$id','$userid','inbox','$subject','$sendtime','$writetime','0','0','$message'); "; $dsql->ExecuteNoneQuery($inquery); - ShowMsg("成功升级一个帐户!", "member_main.php"); + ShowMsg("成功升级一个帐户", "member_main.php"); exit(); } $id = preg_replace("#[^0-9]#", "", $id); diff --git a/src/dede/member_type.php b/src/dede/member_type.php index 7c8fbffc..28ee73c7 100755 --- a/src/dede/member_type.php +++ b/src/dede/member_type.php @@ -42,7 +42,7 @@ if ($dopost == "save") { $dsql->ExecuteNoneQuery($query); } header("Content-Type: text/html; charset={$cfg_soft_lang}"); - echo ""; + echo ""; } $arcranks = array(); $dsql->SetQuery("SELECT * FROM #@__arcrank WHERE rank>10 "); diff --git a/src/dede/module_make.php b/src/dede/module_make.php index 101c7f83..2374f7d2 100755 --- a/src/dede/module_make.php +++ b/src/dede/module_make.php @@ -40,11 +40,11 @@ function Makemodule() $filelist = str_replace("\r", "\n", trim($filelist)); $filelist = trim(preg_replace("#[\n]{1,}#", "\n", $filelist)); if ($filelist == '') { - ShowMsg("对不起,您没有指定模块的文件列表,因此不能创建项目!", "-1"); + ShowMsg("对不起,您没有指定模块的文件列表,因此不能创建项目", "-1"); exit(); } if (empty($dev_id)) { - ShowMsg("开发者ID不能为空!", "-1"); + ShowMsg("开发者ID不能为空", "-1"); exit(); } if (empty($priv)) { @@ -89,14 +89,14 @@ function Makemodule() if ($dm->HasModule($hashcode)) { $dm->Clear(); - ShowMsg("对不起,您指定同名模块已经存在,因此不能创建项目!
如果您要更新这个模块,请先删除:module/{$hashcode}.xml", "-1"); + ShowMsg("对不起,您指定同名模块已经存在,因此不能创建项目
如果您要更新这个模块,请先删除:module/{$hashcode}.xml", "-1"); exit(); } $readmef = $setupf = $uninstallf = ''; if (empty($readmetxt)) { - move_uploaded_file($readme, $mdir."/{$hashcode}-r.html") or die("您没填写说明或上传说明文件!"); + move_uploaded_file($readme, $mdir."/{$hashcode}-r.html") or die("您没填写说明或上传说明文件"); $readmef = $dm->GetEncodeFile($mdir."/{$hashcode}-r.html", TRUE); } else { $readmetxt = "

".$readmetxt; @@ -106,12 +106,12 @@ function Makemodule() } if ($autosetup == 0) { - move_uploaded_file($setup, $mdir."/{$hashcode}-s.php") or die("您没上传,或系统无法把setup文件移动到 module 目录!"); + move_uploaded_file($setup, $mdir."/{$hashcode}-s.php") or die("您没上传,或系统无法把setup文件移动到 module 目录"); $setupf = $dm->GetEncodeFile($mdir."/{$hashcode}-s.php", TRUE); } if ($autodel == 0) { - move_uploaded_file($uninstall, $mdir."/{$hashcode}-u.php") or die("您没上传,或系统无法把uninstall文件移动到 module 目录!"); + move_uploaded_file($uninstall, $mdir."/{$hashcode}-u.php") or die("您没上传,或系统无法把uninstall文件移动到 module 目录"); $uninstallf = $dm->GetEncodeFile($mdir."/{$hashcode}-u.php", TRUE); } @@ -182,7 +182,7 @@ $filelist fwrite($fp, "\r\n"); fwrite($fp, "\r\n"); fclose($fp); - ShowMsg("成功对一个新模块进行编译!", "module_main.php"); + ShowMsg("成功对一个新模块进行编译", "module_main.php"); exit(); } /*------------- @@ -192,11 +192,11 @@ function editModule() $filelist = str_replace("\r", "\n", trim($filelist)); $filelist = trim(preg_replace("#[\n]{1,}#", "\n", $filelist)); if ($filelist == "") { - ShowMsg("对不起,您没有指定模块的文件列表,因此不能创建项目!", "-1"); + ShowMsg("对不起,您没有指定模块的文件列表,因此不能创建项目", "-1"); exit(); } if (empty($dev_id)) { - ShowMsg("开发者ID不能为空!", "-1"); + ShowMsg("开发者ID不能为空", "-1"); exit(); } if (empty($priv)) { @@ -254,7 +254,7 @@ function editModule() //编译setup文件 if (is_uploaded_file($setup)) { - move_uploaded_file($setup, $mdir."/{$hashcode}-s.php") or die("您没上传,或系统无法把setup文件移动到 module 目录!"); + move_uploaded_file($setup, $mdir."/{$hashcode}-s.php") or die("您没上传,或系统无法把setup文件移动到 module 目录"); $setupf = $dm->GetEncodeFile($mdir."/{$hashcode}-s.php", TRUE); } else { if ($autosetup == 0) $setupf = base64_encode($dm->GetSystemFile($hashcode, 'setup')); @@ -262,7 +262,7 @@ function editModule() //编译uninstall文件 if (is_uploaded_file($uninstall)) { - move_uploaded_file($uninstall, $mdir."/{$hashcode}-u.php") or die("您没上传,或系统无法把uninstall文件移动到 module 目录!"); + move_uploaded_file($uninstall, $mdir."/{$hashcode}-u.php") or die("您没上传,或系统无法把uninstall文件移动到 module 目录"); $uninstallf = $dm->GetEncodeFile($mdir."/{$hashcode}-u.php", true); } else { if ($autodel == 0) $uninstallf = base64_encode($dm->GetSystemFile($hashcode, 'uninstall')); @@ -341,7 +341,7 @@ $filelist fwrite($fp, $fxml); fclose($fp); } - ShowMsg("成功对模块重新编译!", "module_main.php"); + ShowMsg("成功对模块重新编译", "module_main.php"); exit(); } //ClearAllLink(); diff --git a/src/dede/module_upload.php b/src/dede/module_upload.php index 95db8386..c5576a55 100755 --- a/src/dede/module_upload.php +++ b/src/dede/module_upload.php @@ -18,12 +18,12 @@ $mdir = DEDEDATA.'/module'; if ($action == 'upload') { if (!is_uploaded_file($upfile)) { - ShowMsg("貌似您什么都没有上传哦!", "javascript:;"); + ShowMsg("貌似您什么都没有上传哦", "javascript:;"); exit(); } else { include_once(dirname(__FILE__)."/../include/zip.class.php"); $tmpfilename = $mdir.'/'.ExecTime().mt_rand(10000, 50000).'.tmp'; - move_uploaded_file($upfile, $tmpfilename) or die("把上传的文件移动到{$tmpfilename}时失败,请检查{$mdir}目录是否有写入权限!"); + move_uploaded_file($upfile, $tmpfilename) or die("把上传的文件移动到{$tmpfilename}时失败,请检查{$mdir}目录是否有写入权限"); //ZIP格式的文件 if ($filetype == 1) { @@ -42,7 +42,7 @@ if ($action == 'upload') { } if ($dedefileindex == -1) { unlink($tmpfilename); - ShowMsg("对不起,您上传的压缩包中不存在dede模块文件!

>>返回重新上传>>", "javascript:;"); + ShowMsg("对不起,您上传的压缩包中不存在dede模块文件

>>返回重新上传>>", "javascript:;"); exit(); } $ziptmp = $mdir.'/ziptmp'; @@ -56,7 +56,7 @@ if ($action == 'upload') { if (empty($infos['hash'])) { unlink($tmpfilename); $dm->Clear(); - ShowMsg("对不起,您上传的文件可能不是织梦模块的标准格式文件!

>>返回重新上传>>", "javascript:;"); + ShowMsg("对不起,您上传的文件可能不是织梦模块的标准格式文件

>>返回重新上传>>", "javascript:;"); exit(); } if (preg_match("#[^0-9a-zA-Z]#", $infos['hash'])) { @@ -67,14 +67,14 @@ if ($action == 'upload') { if ($dm->HasModule($infos['hash']) && empty($delhas)) { unlink($tmpfilename); $dm->Clear(); - ShowMsg("对不起,您上传的模块已经存在,
如果要覆盖请先删除原来版本或选择强制删除的选项!

>>返回重新上传>>", "javascript:;"); + ShowMsg("对不起,您上传的模块已经存在,
如果要覆盖请先删除原来版本或选择强制删除的选项

>>返回重新上传>>", "javascript:;"); exit(); } @unlink($okfile); copy($tmpfilename, $okfile); @unlink($tmpfilename); $dm->Clear(); - ShowMsg("成功上传一个新的模块!", "module_main.php?action=view&hash={$infos['hash']}"); + ShowMsg("成功上传一个新的模块", "module_main.php?action=view&hash={$infos['hash']}"); exit(); } } else { diff --git a/src/dede/mychannel_add.php b/src/dede/mychannel_add.php index 349507c3..a4a81126 100755 --- a/src/dede/mychannel_add.php +++ b/src/dede/mychannel_add.php @@ -19,15 +19,15 @@ if (empty($action)) $action = ''; if ($action == 'add') { //检查输入 if (empty($id) || preg_match("#[^0-9-]#", $id)) { - ShowMsg("'频道id'必须为数字!", "-1"); + ShowMsg("'频道id'必须为数字", "-1"); exit(); } if (preg_match("#[^a-z0-9]#i", $nid) || $nid == "") { - ShowMsg("'频道名字标识'必须为英文字母或与数字混合字符串!", "-1"); + ShowMsg("'频道名字标识'必须为英文字母或与数字混合字符串", "-1"); exit(); } if ($addtable == "") { - ShowMsg("附加表不能为空!", "-1"); + ShowMsg("附加表不能为空", "-1"); exit(); } $trueTable2 = str_replace("#@__", $cfg_dbprefix, $addtable); @@ -37,7 +37,7 @@ if ($action == 'add') { //检查id是否重复 $row = $dsql->GetOne("SELECT * FROM #@__channeltype WHERE id='$id' OR nid LIKE '$nid' OR addtable LIKE '$addtable'"); if (is_array($row)) { - ShowMsg("可能‘频道id’、‘频道名称标识’、‘附加表名称’在数据库已存在,不能重复使用!", "-1"); + ShowMsg("可能‘频道id’、‘频道名称标识’、‘附加表名称’在数据库已存在,不能重复使用", "-1"); exit(); } $mysql_version = $dsql->GetVersion(); @@ -109,7 +109,7 @@ if ($action == 'add') { $inQuery = "INSERT INTO `#@__channeltype`(id,nid,typename,addtable,addcon,mancon,editcon,useraddcon,usermancon,usereditcon,fieldset,listfields,issystem,issend,arcsta,usertype,sendrank,needdes,needpic,titlename,onlyone,dfcid) VALUES ('$id','$nid','$typename','$addtable','$addcon','$mancon','$editcon','$useraddcon','$usermancon','$usereditcon','$fieldset','$listfields','$issystem','$issend','$arcsta','$usertype','$sendrank','$needdes','$needpic','$titlename','$onlyone','$dfcid');"; $dsql->ExecuteNoneQuery($inQuery); - ShowMsg("成功增加一个频道模型!", "mychannel_edit.php?id=".$id); + ShowMsg("成功增加一个频道模型", "mychannel_edit.php?id=".$id); exit(); } $row = $dsql->GetOne("SELECT id FROM `#@__channeltype` ORDER BY id DESC LIMIT 0,1 "); diff --git a/src/dede/mychannel_edit.php b/src/dede/mychannel_edit.php index ca58fef0..d776ea45 100755 --- a/src/dede/mychannel_edit.php +++ b/src/dede/mychannel_edit.php @@ -22,18 +22,18 @@ function __ShowHide() -----------------*/ if ($dopost == "show") { $dsql->ExecuteNoneQuery("UPDATE `#@__channeltype` SET isshow=1 WHERE id='$id' "); - ShowMsg("操作成功!", "mychannel_main.php"); + ShowMsg("操作成功", "mychannel_main.php"); exit(); } else if ($dopost == "hide") { $dsql->ExecuteNoneQuery("UPDATE `#@__channeltype` SET isshow=0 WHERE id='$id'"); - ShowMsg("操作成功!", "mychannel_main.php"); + ShowMsg("操作成功", "mychannel_main.php"); exit(); } /*---------------- function __CopyStart() -----------------*/ else if ($dopost == "copystart") { if ($id == -1) { - ShowMsg("专题模型不支持复制!", "-1"); + ShowMsg("专题模型不支持复制", "-1"); exit(); } $row = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$id'"); @@ -98,7 +98,7 @@ function __CopyStart() function __Export() -----------------*/ else if ($dopost == "export") { if ($id == -1) { - ShowMsg("专题模型不支持导出!", "-1"); + ShowMsg("专题模型不支持导出", "-1"); exit(); } $row = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$id' "); @@ -157,7 +157,7 @@ function __ExportInOk() $dtp->SetNameSpace('channel', '<', '>'); $dtp->LoadSource($exconfig); - if (!is_array($dtp->CTags)) GotoStaMsg("模型规则不是合法的Dede模型规则!"); + if (!is_array($dtp->CTags)) GotoStaMsg("模型规则不是合法的Dede模型规则"); $fields = array(); foreach ($dtp->CTags as $ctag) { @@ -166,7 +166,7 @@ function __ExportInOk() } if (!isset($fields['nid']) || !isset($fields['fieldset'])) { - GotoStaMsg("模型规则不是合法的Dede模型规则!"); + GotoStaMsg("模型规则不是合法的Dede模型规则"); } //正常的导入过程 @@ -174,7 +174,7 @@ function __ExportInOk() $row = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE nid='{$fields['nid']}' "); if (is_array($row)) { - GotoStaMsg("系统中已经存在相同标识 {$fields['nid']} 的规则!"); + GotoStaMsg("系统中已经存在相同标识 {$fields['nid']} 的规则"); } //创建表 @@ -231,7 +231,7 @@ function __ExportInOk() $rs = $dsql->ExecuteNoneQuery($inquery); - if (!$rs) GotoStaMsg("导入模型时发生错误!".$dsql->GetError()); + if (!$rs) GotoStaMsg("导入模型时发生错误".$dsql->GetError()); $dtp = new DedeTagParse(); $dtp->SetNameSpace("field", "<", ">"); $dtp->LoadSource($fieldset); @@ -257,7 +257,7 @@ function __ExportInOk() if ($allfields != '') { $dsql->ExecuteNoneQuery("UPDATE `#@__channeltype` SET listfields='$allfields' WHERE id='{$fields['newid']}' "); } - GotoStaMsg("成功导入一个模型!"); + GotoStaMsg("成功导入一个模型"); } /*---------------- function __SaveCopy() @@ -295,7 +295,7 @@ function __SaveCopy() exit(); } else { $errv = $dsql->GetError(); - ShowMsg("系统出错,请把错误代码发送到官方论坛,以检查原因!
错误代码:mychannel_edit.php?dopost=savecopy $errv", "javascript:;"); + ShowMsg("系统出错,请把错误代码发送到官方论坛,以检查原因
错误代码:mychannel_edit.php?dopost=savecopy $errv", "javascript:;"); exit(); } } @@ -331,17 +331,17 @@ function __SaveEdit() $dtp->SetNameSpace("field", "<", ">"); $dtp->LoadSource(stripslashes($fieldset)); if (!is_array($dtp->CTags)) { - ShowMsg("文本配置参数无效,无法进行解析!", "-1"); + ShowMsg("文本配置参数无效,无法进行解析", "-1"); exit(); } } $trueTable = str_replace("#@__", $cfg_dbprefix, $addtable); if (!$dsql->IsTable($trueTable)) { - ShowMsg("系统找不到您所指定的表 $trueTable ,请手工创建这个表!", "-1"); + ShowMsg("系统找不到您所指定的表 $trueTable ,请手工创建这个表", "-1"); exit(); } $dsql->ExecuteNoneQuery($query); - ShowMsg("成功更改一个模型!", "mychannel_main.php"); + ShowMsg("成功更改一个模型", "mychannel_main.php"); exit(); } /*-------------------- @@ -375,7 +375,7 @@ function __Delete() CheckPurview('c_Del'); $row = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$id'"); if ($row['issystem'] == 1) { - ShowMsg("系统模型不允许删除!", "mychannel_main.php"); + ShowMsg("系统模型不允许删除", "mychannel_main.php"); exit(); } if (empty($job)) $job = ""; @@ -438,7 +438,7 @@ function __Delete() //更新栏目缓存 UpDateCatCache($dsql); - ShowMsg("成功删除一个模型!", "mychannel_main.php"); + ShowMsg("成功删除一个模型", "mychannel_main.php"); exit(); } } //del @@ -655,7 +655,7 @@ function __modifysearch() else if ($dopost == 'del') { $mid = intval($mid); $dsql->ExecuteNoneQuery("DELETE FROM `#@__advancedsearch` WHERE mid = '$mid'; "); - ShowMsg("成功删除一个自定义搜索!", "mychannel_main.php"); + ShowMsg("成功删除一个自定义搜索", "mychannel_main.php"); exit(); } $row = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$id' "); diff --git a/src/dede/mychannel_field_add.php b/src/dede/mychannel_field_add.php index 42fe4203..eb88adc6 100755 --- a/src/dede/mychannel_field_add.php +++ b/src/dede/mychannel_field_add.php @@ -83,11 +83,11 @@ if ($action == 'save') { $rs = $dsql->ExecuteNoneQuery("UPDATE `#@__channeltype` SET fieldset='$oksetting',listfields='$addlist' WHERE id='$id' "); if (!$rs) { $grr = $dsql->GetError(); - ShowMsg("保存节点配置出错!".$grr, "javascript:;"); + ShowMsg("保存节点配置出错".$grr, "javascript:;"); exit(); } - ShowMsg("成功增加一个字段!", "mychannel_edit.php?id={$id}&dopost=edit&openfield=1"); + ShowMsg("成功增加一个字段", "mychannel_edit.php?id={$id}&dopost=edit&openfield=1"); exit(); } diff --git a/src/dede/mychannel_field_edit.php b/src/dede/mychannel_field_edit.php index 47f267d4..d6bb0f6e 100755 --- a/src/dede/mychannel_field_edit.php +++ b/src/dede/mychannel_field_edit.php @@ -51,7 +51,7 @@ function _SAVE() ----------------------*/ if ($action == 'save') { if (!isset($fieldtypes[$dtype])) { - ShowMsg("您修改的是系统专用类型的数据,禁止操作!", "-1"); + ShowMsg("您修改的是系统专用类型的数据,禁止操作", "-1"); exit(); } @@ -121,7 +121,7 @@ if ($action == 'save') { $oksetting = addslashes($oksetting); $dsql->ExecuteNoneQuery("UPDATE `#@__channeltype` SET fieldset='$oksetting',listfields='$addlist' WHERE id='$id' "); - ShowMsg("成功更改一个字段的配置!", "mychannel_edit.php?id={$id}&dopost=edit&openfield=1"); + ShowMsg("成功更改一个字段的配置", "mychannel_edit.php?id={$id}&dopost=edit&openfield=1"); exit(); } /*------------------ @@ -129,7 +129,7 @@ if ($action == 'save') { function _DELETE() -------------------*/ else if ($action == "delete") { if ($row['issystem'] == 1) { - ShowMsg("对不起,系统模型的字段不允许删除!", "-1"); + ShowMsg("对不起,系统模型的字段不允许删除", "-1"); exit(); } @@ -143,7 +143,7 @@ function _DELETE() $oksetting = addslashes($dtp->GetResultNP()); $dsql->ExecuteNoneQuery("UPDATE `#@__channeltype` SET fieldset='$oksetting' WHERE id='$id' "); $dsql->ExecuteNoneQuery("ALTER TABLE `$trueTable` DROP `$fname` "); - ShowMsg("成功删除一个字段!", "mychannel_edit.php?id={$id}&dopost=edit&openfield=1"); + ShowMsg("成功删除一个字段", "mychannel_edit.php?id={$id}&dopost=edit&openfield=1"); exit(); } diff --git a/src/dede/mynews_add.php b/src/dede/mynews_add.php index 3f2bcdfc..47c0ea4a 100755 --- a/src/dede/mynews_add.php +++ b/src/dede/mynews_add.php @@ -18,7 +18,7 @@ if ($dopost == "save") { $query = "INSERT INTO `#@__mynews`(title,writer,senddate,body) VALUES('$title','$writer','$dtime','$body')"; $dsql->ExecuteNoneQuery($query); - ShowMsg("成功发布一条站内新闻!", "mynews_main.php"); + ShowMsg("成功发布一条站内新闻", "mynews_main.php"); exit(); } include DedeInclude('templets/mynews_add.htm'); diff --git a/src/dede/mynews_edit.php b/src/dede/mynews_edit.php index b4ac1094..9bab9abb 100755 --- a/src/dede/mynews_edit.php +++ b/src/dede/mynews_edit.php @@ -16,12 +16,12 @@ if (empty($dopost)) $dopost = ""; $aid = preg_replace("#[^0-9]#", "", $aid); if ($dopost == "del") { $dsql->ExecuteNoneQuery("DELETE FROM #@__mynews WHERE aid='$aid';"); - ShowMsg("成功删除一条站内新闻!", "mynews_main.php"); + ShowMsg("成功删除一条站内新闻", "mynews_main.php"); exit(); } else if ($dopost == "editsave") { $inquery = "UPDATE #@__mynews SET title='$title',typeid='$typeid',writer='$writer',senddate='".GetMKTime($sdate)."',body='$body' WHERE aid='$aid';"; $dsql->ExecuteNoneQuery($inquery); - ShowMsg("成功更改一条站内新闻!", "mynews_main.php"); + ShowMsg("成功更改一条站内新闻", "mynews_main.php"); exit(); } $myNews = $dsql->GetOne("SELECT #@__mynews.*,#@__arctype.typename FROM #@__mynews LEFT JOIN #@__arctype ON #@__arctype.id=#@__mynews.typeid WHERE #@__mynews.aid='$aid';"); diff --git a/src/dede/mytag_add.php b/src/dede/mytag_add.php index 093ae85e..668c202b 100755 --- a/src/dede/mytag_add.php +++ b/src/dede/mytag_add.php @@ -19,7 +19,7 @@ if ($dopost == "save") { $tagname = trim($tagname); $row = $dsql->GetOne("SELECT typeid FROM `#@__mytag` WHERE typeid='$typeid' AND tagname LIKE '$tagname'"); if (is_array($row)) { - ShowMsg("在相同栏目下已经存在同名的标记!", "-1"); + ShowMsg("在相同栏目下已经存在同名的标记", "-1"); exit(); } $starttime = GetMkTime($starttime); @@ -27,7 +27,7 @@ if ($dopost == "save") { $inQuery = "INSERT INTO `#@__mytag`(typeid,tagname,timeset,starttime,endtime,normbody,expbody) VALUES('$typeid','$tagname','$timeset','$starttime','$endtime','$normbody','$expbody'); "; $dsql->ExecuteNoneQuery($inQuery); - ShowMsg("成功增加一个自定义标记!", "mytag_main.php"); + ShowMsg("成功增加一个自定义标记", "mytag_main.php"); exit(); } $startDay = time(); diff --git a/src/dede/mytag_edit.php b/src/dede/mytag_edit.php index f4bca2b5..4ad65a55 100755 --- a/src/dede/mytag_edit.php +++ b/src/dede/mytag_edit.php @@ -19,7 +19,7 @@ $ENV_GOBACK_URL = empty($_COOKIE['ENV_GOBACK_URL']) ? 'mytag_main.php' : $_COOKI if ($dopost == 'delete') { $dsql->ExecuteNoneQuery("DELETE FROM `#@__mytag` WHERE aid='$aid'"); - ShowMsg("成功删除一个自定义标记!", $ENV_GOBACK_URL); + ShowMsg("成功删除一个自定义标记", $ENV_GOBACK_URL); exit(); } else if ($dopost == "saveedit") { CheckCSRF(); @@ -35,7 +35,7 @@ if ($dopost == 'delete') { expbody='$expbody' WHERE aid='$aid' "; $dsql->ExecuteNoneQuery($query); - ShowMsg("成功更改一个自定义标记!", $ENV_GOBACK_URL); + ShowMsg("成功更改一个自定义标记", $ENV_GOBACK_URL); exit(); } else if ($dopost == "getjs") { require_once(DEDEINC."/oxwindow.class.php"); diff --git a/src/dede/plus_edit.php b/src/dede/plus_edit.php index 1fef88e2..98c65aa6 100755 --- a/src/dede/plus_edit.php +++ b/src/dede/plus_edit.php @@ -33,7 +33,7 @@ if ($dopost == "show") { $win->AddHidden("dopost", $dopost); $win->AddHidden("aid", $aid); $win->AddTitle("您确实要删除'".$title."'这个插件?"); - $win->AddMsgItem("警告:在这里删除仅仅删除菜单项,要干净删除请在模块管理处删除!

模块管理>>
"); + $win->AddMsgItem("警告:在这里删除仅仅删除菜单项,要干净删除请在模块管理处删除

模块管理>>
"); $winform = $win->GetWindow("ok"); $win->Display(); exit(); diff --git a/src/dede/public_guide.php b/src/dede/public_guide.php index a1cdcb19..f6a1cc13 100755 --- a/src/dede/public_guide.php +++ b/src/dede/public_guide.php @@ -29,13 +29,13 @@ if ($action == 'setdefault') { $win->AddTitle("内容发布向导 >> 设置默认发布表单"); if ($cid == 0) { $msg = " - 成功取消默认发布表单! + 成功取消默认发布表单


您目前想要进行的操作: 返回发布向导页 "; } else { $msg = " - 成功保存默认发布表单,以后点击“内容发布”面板将直接跳转到您选择的内容发布页! + 成功保存默认发布表单,以后点击“内容发布”面板将直接跳转到您选择的内容发布页
您目前想要进行的操作: 转到默认发布表单   返回发布向导页 "; diff --git a/src/dede/search_keywords_main.php b/src/dede/search_keywords_main.php index a8ba93b8..905c223d 100755 --- a/src/dede/search_keywords_main.php +++ b/src/dede/search_keywords_main.php @@ -47,7 +47,7 @@ else if ($dopost == 'delall') { foreach ($aids as $aid) { $dsql->ExecuteNoneQuery("DELETE FROM `#@__search_keywords` WHERE aid='$aid';"); } - ShowMsg("删除成功!", $ENV_GOBACK_URL); + ShowMsg("删除成功", $ENV_GOBACK_URL); exit(); } //第一次进入这个页面 diff --git a/src/dede/shops_operations.php b/src/dede/shops_operations.php index 1960d990..28734432 100755 --- a/src/dede/shops_operations.php +++ b/src/dede/shops_operations.php @@ -52,13 +52,13 @@ if (isset($dopost)) { $dsql->ExecuteNoneQuery($query2); $dsql->ExecuteNoneQuery($query3); } - ShowMsg("成功删除指定的订单记录!", $ENV_GOBACK_URL); + ShowMsg("成功删除指定的订单记录", $ENV_GOBACK_URL); exit(); } else { - ShowMsg("不充许的操作范围!", $ENV_GOBACK_URL); + ShowMsg("不充许的操作范围", $ENV_GOBACK_URL); exit(); } - ShowMsg("成功更改指定的订单记录!", $ENV_GOBACK_URL); + ShowMsg("成功更改指定的订单记录", $ENV_GOBACK_URL); exit(); } diff --git a/src/dede/soft_config.php b/src/dede/soft_config.php index e2f2853b..9351d333 100755 --- a/src/dede/soft_config.php +++ b/src/dede/soft_config.php @@ -28,7 +28,7 @@ if ($dopost == "save") { `argrange` = '$argrange', downmsg = '$downmsg' "; $dsql->ExecuteNoneQuery($query); - ShowMsg('成功保存参数!', 'soft_config.php'); + ShowMsg('成功保存参数', 'soft_config.php'); exit(); } //读取参数 diff --git a/src/dede/stepselect_main.php b/src/dede/stepselect_main.php index 2d1cfc18..bbe7e42c 100755 --- a/src/dede/stepselect_main.php +++ b/src/dede/stepselect_main.php @@ -66,16 +66,16 @@ function __del() { } ------------------*/ else if ($action == 'del') { $arr = $dsql->GetOne("SELECT * FROM `#@__stepselect` WHERE id='$id' "); if (!is_array($arr)) { - ShowMsg("无法获取分类信息,不允许后续操作!", "stepselect_main.php?".ExecTime()); + ShowMsg("无法获取分类信息,不允许后续操作", "stepselect_main.php?".ExecTime()); exit(); } if ($arr['issystem'] == 1) { - ShowMsg("系统内置的枚举分类不能删除!", "stepselect_main.php?".ExecTime()); + ShowMsg("系统内置的枚举分类不能删除", "stepselect_main.php?".ExecTime()); exit(); } $dsql->ExecuteNoneQuery("DELETE FROM `#@__stepselect` WHERE id='$id'; "); $dsql->ExecuteNoneQuery("DELETE FROM `#@__sys_enum` WHERE egroup='{$arr['egroup']}'; "); - ShowMsg("成功删除一个分类!", "stepselect_main.php?".ExecTime()); + ShowMsg("成功删除一个分类", "stepselect_main.php?".ExecTime()); exit(); } else if ($action == 'delenumAllSel') { if (isset($ids) && is_array($ids)) { @@ -94,16 +94,16 @@ function __del() { } WriteEnumsCache($egroup); } - ShowMsg("成功删除选中的枚举分类!", $ENV_GOBACK_URL); + ShowMsg("成功删除选中的枚举分类", $ENV_GOBACK_URL); } else { - ShowMsg("您没选择任何分类!", "-1"); + ShowMsg("您没选择任何分类", "-1"); } exit(); } else if ($action == 'delenum') { $row = $dsql->GetOne("SELECT egroup FROM `#@__sys_enum` WHERE id = '$id' "); $dsql->ExecuteNoneQuery("DELETE FROM `#@__sys_enum` WHERE id='{$id}'; "); WriteEnumsCache($row['egroup']); - ShowMsg("成功删除一个枚举!", $ENV_GOBACK_URL); + ShowMsg("成功删除一个枚举", $ENV_GOBACK_URL); exit(); } /*----------------- @@ -111,11 +111,11 @@ function __del() { } function __edit_save() { } ------------------*/ else if ($action == 'edit_save') { if (preg_match("#[^0-9a-z_-]#i", $egroup)) { - ShowMsg("组名称不能有全角字符或特殊符号!", "-1"); + ShowMsg("组名称不能有全角字符或特殊符号", "-1"); exit(); } $dsql->ExecuteNoneQuery("UPDATE `#@__stepselect` SET `itemname`='$itemname',`egroup`='$egroup' WHERE id='$id'; "); - ShowMsg("成功修改一个分类!", "stepselect_main.php?".ExecTime()); + ShowMsg("成功修改一个分类", "stepselect_main.php?".ExecTime()); exit(); } /*----------------- @@ -123,17 +123,17 @@ function __edit_save() { } function __addnew_save() { } ------------------*/ else if ($action == 'addnew_save') { if (preg_match("#[^0-9a-z_-]#i", $egroup)) { - ShowMsg("组名称不能有全角字符或特殊符号!", "-1"); + ShowMsg("组名称不能有全角字符或特殊符号", "-1"); exit(); } $arr = $dsql->GetOne("SELECT * FROM `#@__stepselect` WHERE itemname LIKE '$itemname' OR egroup LIKE '$egroup' "); if (is_array($arr)) { - ShowMsg("您指定的类别名称或组名称已经存在,不能使用!", "stepselect_main.php"); + ShowMsg("您指定的类别名称或组名称已经存在,不能使用", "stepselect_main.php"); exit(); } $dsql->ExecuteNoneQuery("INSERT INTO `#@__stepselect`(`itemname`,`egroup`,`issign`,`issystem`) VALUES('$itemname','$egroup','0','0'); "); WriteEnumsCache($egroup); - ShowMsg("成功添加一个分类!", "stepselect_main.php?egroup=$egroup"); + ShowMsg("成功添加一个分类", "stepselect_main.php?egroup=$egroup"); exit(); } /*--------- @@ -164,7 +164,7 @@ function __exarea() { } } } WriteEnumsCache('nativeplace'); - ShowMsg("成功导入所有旧的地区数据!", "stepselect_main.php?egroup=nativeplace"); + ShowMsg("成功导入所有旧的地区数据", "stepselect_main.php?egroup=nativeplace"); exit(); } /*-------------------- @@ -180,7 +180,7 @@ function __addenum_save() { } 这时候需要issign=2 ---------------------*/ else if ($action == 'addenum_save') { if (empty($ename) || empty($egroup)) { - Showmsg("类别名称或组名称不能为空!", "-1"); + Showmsg("类别名称或组名称不能为空", "-1"); exit(); } if ($issign == 1 || $topvalue == 0) { @@ -194,7 +194,7 @@ function __addenum_save() { } VALUES('$ename','$evalue','$egroup','$disorder','$issign'); "); } WriteEnumsCache($egroup); - ShowMsg("成功添加枚举分类!".$dsql->GetError(), $ENV_GOBACK_URL); + ShowMsg("成功添加枚举分类".$dsql->GetError(), $ENV_GOBACK_URL); exit(); } else if ($issign == 2 && $topvalue != 0) { $minid = $topvalue; @@ -219,7 +219,7 @@ function __addenum_save() { } } // echo $minid; WriteEnumsCache($egroup); - ShowMsg("成功添加枚举分类!", $ENV_GOBACK_URL); + ShowMsg("成功添加枚举分类", $ENV_GOBACK_URL); exit(); } else { $minid = $topvalue; @@ -237,7 +237,7 @@ function __addenum_save() { } VALUES('$ename','$evalue','$egroup','$disorder','$issign'); "); } WriteEnumsCache($egroup); - ShowMsg("成功添加枚举分类!", $ENV_GOBACK_URL); + ShowMsg("成功添加枚举分类", $ENV_GOBACK_URL); exit(); } } @@ -249,7 +249,7 @@ function __upenum() { } $row = $dsql->GetOne("SELECT egroup FROM `#@__sys_enum` WHERE id = '$aid' "); WriteEnumsCache($row['egroup']); $dsql->ExecuteNoneQuery("UPDATE `#@__sys_enum` SET `ename`='$ename',`disorder`='$disorder' WHERE id='$aid'; "); - ShowMsg("成功修改一个枚举!", $ENV_GOBACK_URL); + ShowMsg("成功修改一个枚举", $ENV_GOBACK_URL); exit(); } /*----------------- @@ -258,6 +258,6 @@ function __upallcache() { } ------------------*/ else if ($action == 'upallcache') { if (!isset($egroup)) $egroup = ''; WriteEnumsCache($egroup); - ShowMsg("成更新枚举缓存!", $ENV_GOBACK_URL); + ShowMsg("成更新枚举缓存", $ENV_GOBACK_URL); exit(); } diff --git a/src/dede/swfupload.php b/src/dede/swfupload.php index ccf7adb2..8392c8d0 100755 --- a/src/dede/swfupload.php +++ b/src/dede/swfupload.php @@ -154,7 +154,7 @@ else if ($dopost == 'del') { @unlink($cfg_basedir.$_SESSION['bigfile_info'][$id]); $_SESSION['file_info'][$id] = ''; $_SESSION['bigfile_info'][$id] = ''; - echo "已删除!"; + echo "已删除"; exit(); } /************************ @@ -193,6 +193,6 @@ else if ($dopost == 'delold') { @unlink($imgfile); } $dsql->ExecuteNoneQuery("DELETE FROM `#@__uploads` WHERE url LIKE '{$picfile}'; "); - echo "已删除!"; + echo "已删除"; exit(); } diff --git a/src/dede/sys_admin_user_add.php b/src/dede/sys_admin_user_add.php index e42373f2..b9534a4a 100755 --- a/src/dede/sys_admin_user_add.php +++ b/src/dede/sys_admin_user_add.php @@ -17,17 +17,17 @@ if (empty($dopost)) $dopost = ''; if ($dopost == 'add') { CheckCSRF(); if (preg_match("#[^0-9a-zA-Z_@!\.-]#", $pwd) || preg_match("#[^0-9a-zA-Z_@!\.-]#", $userid)) { - ShowMsg('密码或或用户名不合法,
请使用[0-9a-zA-Z_@!.-]内的字符!', '-1', 0, 3000); + ShowMsg('密码或或用户名不合法,
请使用[0-9a-zA-Z_@!.-]内的字符', '-1', 0, 3000); exit(); } $safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24); if ($safecode != $safecodeok) { - ShowMsg('请填写安全验证串!', '-1', 0, 3000); + ShowMsg('请填写安全验证串', '-1', 0, 3000); exit(); } $row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__member` WHERE userid LIKE '$userid' "); if ($row['dd'] > 0) { - ShowMsg('用户名已存在!', '-1'); + ShowMsg('用户名已存在', '-1'); exit(); } $mpwd = md5($pwd); @@ -44,7 +44,7 @@ if ($dopost == 'add') { $mid = $dsql->GetLastID(); if ($mid <= 0) { - die($dsql->GetError().' 数据库出错!'); + die($dsql->GetError().' 数据库出错'); } //后台管理员 @@ -65,7 +65,7 @@ if ($dopost == 'add') { Values('$mid','10','0','{$uname}的空间','','person','',''); "; $dsql->ExecuteNoneQuery($adminquery); - ShowMsg('成功增加一个用户!', 'sys_admin_user.php'); + ShowMsg('成功增加一个用户', 'sys_admin_user.php'); exit(); } $randcode = mt_rand(10000, 99999); diff --git a/src/dede/sys_admin_user_edit.php b/src/dede/sys_admin_user_edit.php index b2e2db2a..d80704e7 100755 --- a/src/dede/sys_admin_user_edit.php +++ b/src/dede/sys_admin_user_edit.php @@ -19,12 +19,12 @@ if ($dopost == 'saveedit') { CheckCSRF(); $pwd = trim($pwd); if ($pwd != '' && preg_match("#[^0-9a-zA-Z_@!\.-]#", $pwd)) { - ShowMsg('密码不合法,请使用[0-9a-zA-Z_@!.-]内的字符!', '-1', 0, 3000); + ShowMsg('密码不合法,请使用[0-9a-zA-Z_@!.-]内的字符', '-1', 0, 3000); exit(); } $safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24); if ($safecodeok != $safecode) { - ShowMsg("请填写正确的安全验证串!", "sys_admin_user_edit.php?id={$id}&dopost=edit"); + ShowMsg("请填写正确的安全验证串", "sys_admin_user_edit.php?id={$id}&dopost=edit"); exit(); } $pwdm = ''; @@ -46,7 +46,7 @@ if ($dopost == 'saveedit') { $dsql->ExecuteNoneQuery($query); $query = "UPDATE `#@__member` SET uname='$uname',email='$email'$pwdm WHERE mid='$id'"; $dsql->ExecuteNoneQuery($query); - ShowMsg("成功更改一个帐户!", "sys_admin_user.php"); + ShowMsg("成功更改一个帐户", "sys_admin_user.php"); exit(); } else if ($dopost == 'delete') { if (empty($userok)) $userok = ""; @@ -63,7 +63,7 @@ if ($dopost == 'saveedit') { $win->AddHidden("randcode", $randcode); $win->AddHidden("safecode", $safecode); $win->AddHidden("id", $id); - $win->AddTitle("系统警告!"); + $win->AddTitle("系统警告"); $win->AddMsgItem("您确信要删除用户:$userid 吗?", "50"); $win->AddMsgItem("安全验证串: (复制本代码: $safecode )", "30"); $winform = $win->GetWindow("ok"); @@ -72,7 +72,7 @@ if ($dopost == 'saveedit') { } $safecodeok = substr(md5($cfg_cookie_encode.$randcode), 0, 24); if ($safecodeok != $safecode) { - ShowMsg("请填写正确的安全验证串!", "sys_admin_user.php"); + ShowMsg("请填写正确的安全验证串", "sys_admin_user.php"); exit(); } @@ -81,9 +81,9 @@ if ($dopost == 'saveedit') { if ($rs > 0) { //更新前台用户信息 $dsql->ExecuteNoneQuery("UPDATE `#@__member` SET matt='0' WHERE mid='$id' LIMIT 1"); - ShowMsg("成功删除一个帐户!", "sys_admin_user.php"); + ShowMsg("成功删除一个帐户", "sys_admin_user.php"); } else { - ShowMsg("不能删除id为1的创建人帐号,不能删除自己!", "sys_admin_user.php", 0, 3000); + ShowMsg("不能删除id为1的创建人帐号,不能删除自己", "sys_admin_user.php", 0, 3000); } exit(); } diff --git a/src/dede/sys_cache_up.php b/src/dede/sys_cache_up.php index 20e7bad3..18001631 100755 --- a/src/dede/sys_cache_up.php +++ b/src/dede/sys_cache_up.php @@ -18,7 +18,7 @@ if ($dopost == "ok") { if (empty($uparc)) $uparc = 0; if ($step == -1) { if ($uparc == 0) sleep(1); - ShowMsg("成功更新所有缓存!", "javascript:;"); + ShowMsg("成功更新所有缓存", "javascript:;"); exit(); } diff --git a/src/dede/sys_data.php b/src/dede/sys_data.php index df1dcc91..f1f3e707 100755 --- a/src/dede/sys_data.php +++ b/src/dede/sys_data.php @@ -22,7 +22,7 @@ if ($dopost == "viewinfo") //查看表结构 { echo "[关闭]\r\n"; if (empty($tablename)) { - echo "没有指定表名!"; + echo "没有指定表名"; } else { $dsql->SetQuery("SHOW CREATE TABLE ".$dsql->dbName.".".$tablename); $dsql->Execute('me'); @@ -36,11 +36,11 @@ if ($dopost == "viewinfo") //查看表结构 { echo "[<a href='#' onclick='javascript:HideObj(\"_mydatainfo\")'>关闭</a>]\r\n<xmp>"; if (empty($tablename)) { - echo "没有指定表名!"; + echo "没有指定表名"; } else { $rs = $dsql->ExecuteNoneQuery("OPTIMIZE TABLE `$tablename` "); if ($rs) { - echo "执行优化表: $tablename OK!"; + echo "执行优化表: $tablename OK"; } else { echo "执行优化表: $tablename 失败,原因是:".$dsql->GetError(); } @@ -51,11 +51,11 @@ if ($dopost == "viewinfo") //查看表结构 { echo "[<a href='#' onclick='javascript:HideObj(\"_mydatainfo\")'>关闭</a>]\r\n<xmp>"; if (empty($tablename)) { - echo "没有指定表名!"; + echo "没有指定表名"; } else { $rs = $dsql->ExecuteNoneQuery("REPAIR TABLE `$tablename` "); if ($rs) { - echo "修复表: $tablename OK!"; + echo "修复表: $tablename OK"; } else { echo "修复表: $tablename 失败,原因是:".$dsql->GetError(); } diff --git a/src/dede/sys_data_done.php b/src/dede/sys_data_done.php index ef56ab02..ba40e000 100755 --- a/src/dede/sys_data_done.php +++ b/src/dede/sys_data_done.php @@ -31,7 +31,7 @@ function __bak_data(); --------------------*/ if ($dopost == 'bak') { if (empty($tablearr)) { - ShowMsg('您没选中任何表!', 'javascript:;'); + ShowMsg('您没选中任何表', 'javascript:;'); exit(); } if (!is_dir($bkdir)) { @@ -179,7 +179,7 @@ if ($dopost == 'bak') { $startpos = 0; break; } else { - PutInfo("完成所有数据备份!", ""); + PutInfo("完成所有数据备份", ""); exit(); } } @@ -279,7 +279,7 @@ function PutInfo($msg1, $msg2) <meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'> <link rel='stylesheet' href='../static/css/bootstrap.min.css'> <title>DedeBIZ 提示信息</title> - <base target='_self'/>\n</head>\n<body leftmargin='0' topmargin='0'>\n<main class='container'><div class='modal' tabindex='-1' role='dialog' style='display:block'><div class='modal-dialog'><div class='modal-content'><div class='modal-header'><h6 class='modal-title'>DedeBIZ 提示信息!</h6></div><div class='modal-body'>{$msg1}</div></div></div></div></main>{$msg2}"; + <base target='_self'/>\n</head>\n<body leftmargin='0' topmargin='0'>\n<main class='container'><div class='modal' tabindex='-1' role='dialog' style='display:block'><div class='modal-dialog'><div class='modal-content'><div class='modal-header'><h6 class='modal-title'>DedeBIZ 提示信息</h6></div><div class='modal-body'>{$msg1}</div></div></div></div></main>{$msg2}"; echo $msginfo."\n</body>\n</html>"; } diff --git a/src/dede/sys_data_replace.php b/src/dede/sys_data_replace.php index 1f05cf77..a312115b 100755 --- a/src/dede/sys_data_replace.php +++ b/src/dede/sys_data_replace.php @@ -42,11 +42,11 @@ function __Apply() exit(); } if ($exptable == '' || $rpfield == '') { - ShowMsg("请指定数据表和字段!", "javascript:;"); + ShowMsg("请指定数据表和字段", "javascript:;"); exit(); } if ($rpstring == '') { - ShowMsg("请指定被替换内容!", "javascript:;"); + ShowMsg("请指定被替换内容", "javascript:;"); exit(); } if ($rptype == 'replace') { @@ -54,10 +54,10 @@ function __Apply() $rs = $dsql->ExecuteNoneQuery("UPDATE $exptable SET $rpfield=REPLACE($rpfield,'$rpstring','$tostring') $condition "); $dsql->ExecuteNoneQuery("OPTIMIZE TABLE `$exptable`"); if ($rs) { - ShowMsg("成功完成数据替换!", "javascript:;"); + ShowMsg("成功完成数据替换", "javascript:;"); exit(); } else { - ShowMsg("数据替换失败!", "javascript:;"); + ShowMsg("数据替换失败", "javascript:;"); exit(); } } else { @@ -69,7 +69,7 @@ function __Apply() $dsql->Execute(); $tt = $dsql->GetTotalRow(); if ($tt == 0) { - ShowMsg("根据您指定的正则,找不到任何东西!", "javascript:;"); + ShowMsg("根据您指定的正则,找不到任何东西", "javascript:;"); exit(); } $oo = 0; @@ -82,7 +82,7 @@ function __Apply() } } $dsql->ExecuteNoneQuery("OPTIMIZE TABLE `$exptable`"); - ShowMsg("共找到 $tt 条记录,成功替换了 $oo 条!", "javascript:;"); + ShowMsg("共找到 $tt 条记录,成功替换了 $oo 条", "javascript:;"); exit(); } } diff --git a/src/dede/sys_info.php b/src/dede/sys_info.php index 34a5abbf..d2baf0e3 100755 --- a/src/dede/sys_info.php +++ b/src/dede/sys_info.php @@ -20,7 +20,7 @@ function ReWriteConfig() { global $dsql, $configfile; if (!is_writeable($configfile)) { - echo "配置文件'{$configfile}'不支持写入,无法修改系统配置参数!"; + echo "配置文件'{$configfile}'不支持写入,无法修改系统配置参数"; exit(); } $fp = fopen($configfile, 'w'); @@ -53,7 +53,7 @@ if ($dopost == "save") { $dsql->ExecuteNoneQuery("UPDATE `#@__sysconfig` SET `value`='$v' WHERE varname='$k' "); } ReWriteConfig(); - ShowMsg("成功更改站点配置!", "sys_info.php"); + ShowMsg("成功更改站点配置", "sys_info.php"); exit(); } //增加新变量 @@ -78,15 +78,15 @@ else if ($dopost == 'add') { VALUES ('$aid','$nvarname','$varmsg','$nvarvalue','$vartype','$vargroup')"; $rs = $dsql->ExecuteNoneQuery($inquery); if (!$rs) { - ShowMsg("新增变量失败,可能有非法字符!", "sys_info.php?gp=$vargroup"); + ShowMsg("新增变量失败,可能有非法字符", "sys_info.php?gp=$vargroup"); exit(); } if (!is_writeable($configfile)) { - ShowMsg("成功保存变量,但由于 $configfile 无法写入,因此不能更新配置文件!", "sys_info.php?gp=$vargroup"); + ShowMsg("成功保存变量,但由于 $configfile 无法写入,因此不能更新配置文件", "sys_info.php?gp=$vargroup"); exit(); } else { ReWriteConfig(); - ShowMsg("成功保存变量并更新配置文件!", "sys_info.php?gp=$vargroup"); + ShowMsg("成功保存变量并更新配置文件", "sys_info.php?gp=$vargroup"); exit(); } } diff --git a/src/dede/sys_info_mark.php b/src/dede/sys_info_mark.php index 9b011c05..ed61b12d 100755 --- a/src/dede/sys_info_mark.php +++ b/src/dede/sys_info_mark.php @@ -13,7 +13,7 @@ require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_Edit'); require_once(DEDEINC."/image.func.php"); if ($cfg_photo_support == '') { - echo "您的系统没安装GD库,不允许使用本功能!"; + echo "您的系统没安装GD库,不允许使用本功能"; exit(); } $ImageWaterConfigFile = DEDEDATA."/mark/inc_photowatermark_config.php"; @@ -34,7 +34,7 @@ if ($action == "save") { $imgfile_type = strtolower(trim($newimg_type)); if (!in_array($imgfile_type, $allow_mark_types)) { - ShowMsg("上传的图片格式错误,请使用 gif、png格式的其中一种!", "-1"); + ShowMsg("上传的图片格式错误,请使用 gif、png格式的其中一种", "-1"); exit(); } if ($imgfile_type == 'image/xpng' || $imgfile_type == 'image/png') { @@ -42,7 +42,7 @@ if ($action == "save") { } else if ($imgfile_type == 'image/gif') { $shortname = ".gif"; } else { - ShowMsg("水印图片仅支持gif、png格式的其中一种!", "-1"); + ShowMsg("水印图片仅支持gif、png格式的其中一种", "-1"); exit; } $photo_markimg = 'mark'.$shortname; @@ -50,10 +50,10 @@ if ($action == "save") { } $configstr .= "\$photo_markimg = '{$photo_markimg}';\r\n"; $configstr = "<"."?php\r\n".$configstr."?".">\r\n"; - $fp = fopen($ImageWaterConfigFile, "w") or die("写入文件 $ImageWaterConfigFile 失败,请检查权限!"); + $fp = fopen($ImageWaterConfigFile, "w") or die("写入文件 $ImageWaterConfigFile 失败,请检查权限"); fwrite($fp, $configstr); fclose($fp); - echo "<script>alert('修改配置成功!');</script>\r\n"; + echo "<script>alert('修改配置成功');</script>\r\n"; } require_once($ImageWaterConfigFile); include DedeInclude('templets/sys_info_mark.htm'); diff --git a/src/dede/sys_passport.php b/src/dede/sys_passport.php index 0c4c4e82..1f84ab55 100755 --- a/src/dede/sys_passport.php +++ b/src/dede/sys_passport.php @@ -21,9 +21,9 @@ if ($dopost == 'save') { $configstr .= "\${$v} = '".str_replace("'", "", stripslashes(${'edit___'.$v}))."';\r\n"; } $configstr = '<'.'?'."\r\n".$configstr.'?'.'>'; - $fp = fopen($ConfigFile, "w") or die("写入文件 $ConfigFile 失败,请检查权限!"); + $fp = fopen($ConfigFile, "w") or die("写入文件 $ConfigFile 失败,请检查权限"); fwrite($fp, $configstr); fclose($fp); - echo "<script>alert('修改通行证配置成功!');window.location='sys_passport.php?".time()."';</script>\r\n"; + echo "<script>alert('修改通行证配置成功');window.location='sys_passport.php?".time()."';</script>\r\n"; } include DedeInclude('templets/sys_passport.htm'); diff --git a/src/dede/sys_payment.php b/src/dede/sys_payment.php index 18b090ce..aedd63e1 100755 --- a/src/dede/sys_payment.php +++ b/src/dede/sys_payment.php @@ -181,7 +181,7 @@ if ($dopost == 'install') { //配置支付接口 else if ($dopost == 'config') { if ($pay_name == "" || $pay_desc == "" || $pay_fee == "") { - ShowMsg("您有未填写的项目!", "-1"); + ShowMsg("您有未填写的项目", "-1"); exit(); } $row = $dsql->GetOne("SELECT * FROM `#@__payment` WHERE id='$pid'"); @@ -200,7 +200,7 @@ else if ($dopost == 'config') { $configstr = "<"."?php\r\n".$payment."\r\n?".">\r\n"; if (!empty($payment)) { $m_file = DEDEDATA."/payment/".$row['code'].".php"; - $fp = fopen($m_file, "w") or die("写入文件 $safeconfigfile 失败,请检查权限!"); + $fp = fopen($m_file, "w") or die("写入文件 $safeconfigfile 失败,请检查权限"); fwrite($fp, $configstr); fclose($fp); } @@ -215,7 +215,7 @@ else if ($dopost == 'config') { $query = "UPDATE `#@__payment` SET name = '$pay_name',fee='$pay_fee',description='$pay_desc',config='$config',enabled='1' WHERE id='$pid'"; $dsql->ExecuteNoneQuery($query); if ($pm == 'edit') $msg = "保存修改成功"; - else $msg = "安装成功!"; + else $msg = "安装成功"; ShowMsg($msg, "sys_payment.php"); exit(); } @@ -241,7 +241,7 @@ else if ($dopost == 'uninstall') { //同时需要删除对应的缓存 $m_file = DEDEDATA."/payment/".$row['code'].".php"; @unlink($m_file); - ShowMsg("删除成功!", "sys_payment.php"); + ShowMsg("删除成功", "sys_payment.php"); exit(); } $sql = "SELECT * FROM `#@__payment` ORDER BY rank ASC"; diff --git a/src/dede/sys_repair.php b/src/dede/sys_repair.php index 9b9389c7..29d9f657 100755 --- a/src/dede/sys_repair.php +++ b/src/dede/sys_repair.php @@ -12,7 +12,7 @@ require_once(dirname(__FILE__).'/config.php'); CheckPurview('sys_ArcBatch'); require_once(dirname(__FILE__).'/../include/oxwindow.class.php'); -//ShowMsg("目前暂不需要此工具,以后有需要系统会进行自动升级这个程序!<br /><a href='index_body.php'>&lt;&lt;点击此返回&gt;&gt;</a>", "javascript:;"); +//ShowMsg("目前暂不需要此工具,以后有需要系统会进行自动升级这个程序<br /><a href='index_body.php'>&lt;&lt;点击此返回&gt;&gt;</a>", "javascript:;"); //exit(); if (empty($dopost)) { $win = new OxWindow(); @@ -57,7 +57,7 @@ function 1_test_db() { } <table width='98%' border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td height='250' valign='top'> - <b><font color='green'>已完成数据结构完整性检测!</font></b> + <b><font color='green'>已完成数据结构完整性检测</font></b> <hr size='1'/> <br /> <b>如果您系统有下面几种问题之一,请检测微表正确性:</b><br /> @@ -107,7 +107,7 @@ function 2_test_arctiny() { } $row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__arctiny` "); $msg .= "※微统计表记录数: {$row['dd']}<br />"; if ($row['dd'] == $allarcnum) { - $msg .= "<p style='color:green;font-size:16px'><b>两者记录一致,无需修正!</b></p><br />"; + $msg .= "<p style='color:green;font-size:16px'><b>两者记录一致,无需修正</b></p><br />"; } else { $sql = " TRUNCATE TABLE `#@__arctiny`"; $dsql->ExecuteNoneQuery($sql); @@ -125,9 +125,9 @@ function 2_test_arctiny() { } } $row = $dsql->GetOne("SELECT COUNT(*) AS dd FROM `#@__arctiny` "); if ($row['dd'] == $allarcnum) { - $msg .= "<p style='color:green;font-size:16px'><b>修正记录成功!</b></p><br />"; + $msg .= "<p style='color:green;font-size:16px'><b>修正记录成功</b></p><br />"; } else { - $msg .= "<p style='color:red;font-size:16px'><b>修正记录失败,建议进行高级综合检测!</b></p><br />"; + $msg .= "<p style='color:red;font-size:16px'><b>修正记录失败,建议进行高级综合检测</b></p><br />"; $errall = " <a href='sys_repair.php?dopost=3' class='btn btn-danger'><b>进行高级结合性检测&gt;&gt;</b></a> "; } } @@ -201,7 +201,7 @@ function 3_re_arctiny() { } <table width='98%' border='0' cellspacing='0' cellpadding='0' align='center'> <tr> <td height='250' valign='top'> - 完成所有修复操作,移除错误记录 {$errnum} 条! + 完成所有修复操作,移除错误记录 {$errnum} 条 <hr /> <br /> <a href='index_body.php' class='btn btn-success'><b>完成修正或无错误返回&gt;&gt;</b></a> diff --git a/src/dede/sys_safetest.php b/src/dede/sys_safetest.php index 21c09cd4..e349f8e3 100755 --- a/src/dede/sys_safetest.php +++ b/src/dede/sys_safetest.php @@ -91,7 +91,7 @@ if ($action == 'test') { AjaxHead(); TestSafe(DEDEROOT); - if ($message == '') $message = "<font color='green' style='font-size:14px'>没发现可疑文件!</font>"; + if ($message == '') $message = "<font color='green' style='font-size:14px'>没发现可疑文件</font>"; echo $message; exit(); } else if ($action == 'viewdiff') { @@ -132,7 +132,7 @@ else if ($action == 'clear') { @unlink($d.'/'.$filename); } } - $message = "<font color='green' style='font-size:14px'>成功清空模板缓存!</font>"; + $message = "<font color='green' style='font-size:14px'>成功清空模板缓存</font>"; echo $message; exit(); } diff --git a/src/dede/sys_sql_query.php b/src/dede/sys_sql_query.php index 14303083..e6505fd0 100755 --- a/src/dede/sys_sql_query.php +++ b/src/dede/sys_sql_query.php @@ -17,7 +17,7 @@ if (empty($dopost)) $dopost = ""; if ($dopost == "viewinfo") { CheckCSRF(); if (empty($tablename)) { - echo "没有指定表名!"; + echo "没有指定表名"; } else { $dsql->SetQuery("SHOW CREATE TABLE ".$dsql->dbName.".".$tablename); $dsql->Execute('me'); @@ -31,10 +31,10 @@ if ($dopost == "viewinfo") { else if ($dopost == "opimize") { CheckCSRF(); if (empty($tablename)) { - echo "没有指定表名!"; + echo "没有指定表名"; } else { $rs = $dsql->ExecuteNoneQuery("OPTIMIZE TABLE `$tablename` "); - if ($rs) echo "执行优化表: $tablename OK!"; + if ($rs) echo "执行优化表: $tablename OK"; else echo "执行优化表: $tablename 失败,原因是:".$dsql->GetError(); } exit(); @@ -58,10 +58,10 @@ else if ($dopost == "opimizeAll") { else if ($dopost == "repair") { CheckCSRF(); if (empty($tablename)) { - echo "没有指定表名!"; + echo "没有指定表名"; } else { $rs = $dsql->ExecuteNoneQuery("REPAIR TABLE `$tablename` "); - if ($rs) echo "修复表: $tablename OK!"; + if ($rs) echo "修复表: $tablename OK"; else echo "修复表: $tablename 失败,原因是:".$dsql->GetError(); } exit(); @@ -94,9 +94,9 @@ else if ($dopost == "query") { $dsql->SetQuery($sqlquery); $dsql->Execute(); if ($dsql->GetTotalRow() <= 0) { - echo "运行SQL:{$sqlquery},无返回记录!"; + echo "运行SQL:{$sqlquery},无返回记录"; } else { - echo "运行SQL:{$sqlquery},共有".$dsql->GetTotalRow()."条记录,最大返回100条!"; + echo "运行SQL:{$sqlquery},共有".$dsql->GetTotalRow()."条记录,最大返回100条"; } $j = 0; while ($row = $dsql->GetArray()) { @@ -132,12 +132,12 @@ else if ($dopost == "query") { $nerrCode .= "执行: <font color='blue'>$q</font> 出错,错误提示:<font color='red'>".$errCode."</font><br>"; } } - echo "成功执行{$i}个SQL语句!<br><br>"; + echo "成功执行{$i}个SQL语句<br><br>"; echo $nerrCode; } else { $dsql->ExecuteNoneQuery($sqlquery); $nerrCode = trim($dsql->GetError()); - echo "成功执行1个SQL语句!<br><br>"; + echo "成功执行1个SQL语句<br><br>"; echo $nerrCode; } exit(); diff --git a/src/dede/task_do.php b/src/dede/task_do.php index 3f909796..e79bb0bd 100755 --- a/src/dede/task_do.php +++ b/src/dede/task_do.php @@ -68,11 +68,11 @@ if ($dopost == 'makeprenext') { $arc->MakeHtml(); } if (empty($nextdo)) { - ShowMsg("<b>完成上下篇文档更新任务!完成所有更新任务!</b>", "close::tgtable"); + ShowMsg("<b>完成上下篇文档更新任务完成所有更新任务</b>", "close::tgtable"); exit(); } else { $jumpurl = GetNextUrl(); - ShowMsg("完成下篇文档更新任务! 继续执行其它任务...", $jumpurl, 0, 500); + ShowMsg("完成下篇文档更新任务 继续执行其它任务...", $jumpurl, 0, 500); exit(); } } @@ -101,11 +101,11 @@ if ($dopost == 'makeindex') { $pv->SaveToHtml($homeFile); $pv->Close(); if (empty($nextdo)) { - ShowMsg("<b>完成主页更新任务!完成所有更新任务!</b>", "close::tgtable"); + ShowMsg("<b>完成主页更新任务完成所有更新任务</b>", "close::tgtable"); exit(); } else { $jumpurl = GetNextUrl(); - ShowMsg("完成主页更新! 现在跳转到其它更新任务...", $jumpurl, 0, 500); + ShowMsg("完成主页更新 现在跳转到其它更新任务...", $jumpurl, 0, 500); exit(); } } @@ -121,7 +121,7 @@ else if ($dopost == 'makeparenttype') { $jumpurl = GetNextUrl($notallowArr); if (empty($typeid)) { - ShowMsg("<b>完成栏目更新任务!完成所有更新任务!</b>", "close::tgtable"); + ShowMsg("<b>完成栏目更新任务完成所有更新任务</b>", "close::tgtable"); exit(); } $topids = explode(',', GetTopids($typeid)); @@ -146,10 +146,10 @@ else if ($dopost == 'makeparenttype') { if (!empty($doposttmp)) { $jumpurl = preg_replace("#doposttmp|nextdotmp#", 'del', $jumpurl); $jumpurl .= "&dopost={$doposttmp}&nextdo={$nextdotmp}"; - ShowMsg("完成栏目:{$tid} 更新!<br /><b>完成栏目更新任务,继续执行后续任务...</b>", $jumpurl, 0, 500); + ShowMsg("完成栏目:{$tid} 更新<br /><b>完成栏目更新任务,继续执行后续任务...</b>", $jumpurl, 0, 500); exit(); } else { - ShowMsg("完成栏目:{$tid} 更新!<br /><b>完成栏目更新任务,完成所有更新任务!</b>", "close::tgtable"); + ShowMsg("完成栏目:{$tid} 更新<br /><b>完成栏目更新任务,完成所有更新任务</b>", "close::tgtable"); exit(); } } else { diff --git a/src/dede/templets/action_search.htm b/src/dede/templets/action_search.htm index b5c039d2..dd5b6f5f 100755 --- a/src/dede/templets/action_search.htm +++ b/src/dede/templets/action_search.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/ad_add.htm b/src/dede/templets/ad_add.htm index 2e79d04f..fb51127d 100755 --- a/src/dede/templets/ad_add.htm +++ b/src/dede/templets/ad_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -15,7 +14,7 @@ <script language="javascript"> function checkSubmit() { if (document.form1.tagname.value == "") { - alert("广告标识不能为空!"); + alert("广告标识不能为空"); document.form1.tagname.focus(); return false; } diff --git a/src/dede/templets/ad_edit.htm b/src/dede/templets/ad_edit.htm index c67e9483..6db8edc4 100755 --- a/src/dede/templets/ad_edit.htm +++ b/src/dede/templets/ad_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/ad_main.htm b/src/dede/templets/ad_main.htm index 5156be52..3ca6f018 100755 --- a/src/dede/templets/ad_main.htm +++ b/src/dede/templets/ad_main.htm @@ -1,6 +1,5 @@ {dede:config.pagesize value='20' /} -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/album_add.htm b/src/dede/templets/album_add.htm index 4611e374..15097b96 100755 --- a/src/dede/templets/album_add.htm +++ b/src/dede/templets/album_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/archives_add.htm b/src/dede/templets/archives_add.htm index cd5dfaca..2a48193a 100755 --- a/src/dede/templets/archives_add.htm +++ b/src/dede/templets/archives_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -26,11 +25,11 @@ <script language="javascript"> function checkSubmit() { if (document.form1.title.value == "") { - ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空!"); + ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空"); return false; } if (document.form1.typeid.value == 0) { - ShowMsg("请选择档案的主栏目!"); + ShowMsg("请选择档案的主栏目"); return false; } } diff --git a/src/dede/templets/archives_edit.htm b/src/dede/templets/archives_edit.htm index 05f286f0..9900149d 100755 --- a/src/dede/templets/archives_edit.htm +++ b/src/dede/templets/archives_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -35,7 +34,7 @@ <script language="javascript"> function checkSubmit() { if (document.form1.title.value == "") { - ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空!"); + ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空"); document.form1.title.focus(); return false; } diff --git a/src/dede/templets/archives_sg_add.htm b/src/dede/templets/archives_sg_add.htm index f47f4cbf..ab4c8477 100755 --- a/src/dede/templets/archives_sg_add.htm +++ b/src/dede/templets/archives_sg_add.htm @@ -23,11 +23,11 @@ body { background-image: url(images/allbg.gif); } function checkSubmit() { if(document.form1.title.value==""){ - ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空!"); + ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空"); return false; } if(document.form1.typeid.value==0){ - ShowMsg("请选择档案的主栏目!"); + ShowMsg("请选择档案的主栏目"); return false; } } diff --git a/src/dede/templets/archives_sg_edit.htm b/src/dede/templets/archives_sg_edit.htm index e7644b90..1020225b 100755 --- a/src/dede/templets/archives_sg_edit.htm +++ b/src/dede/templets/archives_sg_edit.htm @@ -23,7 +23,7 @@ body { background-image: url(images/allbg.gif); } function checkSubmit() { if(document.form1.title.value==""){ - ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空!"); + ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空"); document.form1.title.focus(); return false; } diff --git a/src/dede/templets/article_coonepage_rule.htm b/src/dede/templets/article_coonepage_rule.htm index 9e37b2f2..5337513b 100755 --- a/src/dede/templets/article_coonepage_rule.htm +++ b/src/dede/templets/article_coonepage_rule.htm @@ -63,7 +63,7 @@ if (selid != '') { if (window.confirm("您确实要删除这些条目么?")) location = "article_coonepage_rule.php?ids=" + selid + "&action=del"; } else { - ShowMsg("您没选择任何条目!"); + ShowMsg("您没选择任何条目"); } } diff --git a/src/dede/templets/article_description_main.htm b/src/dede/templets/article_description_main.htm index efd37b5b..aab4d8e2 100755 --- a/src/dede/templets/article_description_main.htm +++ b/src/dede/templets/article_description_main.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/article_keywords_main.htm b/src/dede/templets/article_keywords_main.htm index 7e1d9c29..b4f6204b 100755 --- a/src/dede/templets/article_keywords_main.htm +++ b/src/dede/templets/article_keywords_main.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/article_result_same.htm b/src/dede/templets/article_result_same.htm index 0bcbdde9..80388f4c 100755 --- a/src/dede/templets/article_result_same.htm +++ b/src/dede/templets/article_result_same.htm @@ -126,7 +126,7 @@ a { &nbsp; <input type='button' name='bt3' value='删除' onclick='delArc()' /> &nbsp; - (共有 <?php echo $allarc; ?> 篇重复标题的文档!) + (共有 <?php echo $allarc; ?> 篇重复标题的文档) </td> </tr> </form> diff --git a/src/dede/templets/article_test_same.htm b/src/dede/templets/article_test_same.htm index 700d06cc..d955b0d6 100755 --- a/src/dede/templets/article_test_same.htm +++ b/src/dede/templets/article_test_same.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/baidunews.htm b/src/dede/templets/baidunews.htm index d382765e..64997393 100755 --- a/src/dede/templets/baidunews.htm +++ b/src/dede/templets/baidunews.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/cards_make.htm b/src/dede/templets/cards_make.htm index e0e5eea0..4ea26bd2 100755 --- a/src/dede/templets/cards_make.htm +++ b/src/dede/templets/cards_make.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/cards_manmage.htm b/src/dede/templets/cards_manmage.htm index 195e53a3..b4b8c1b8 100755 --- a/src/dede/templets/cards_manmage.htm +++ b/src/dede/templets/cards_manmage.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/cards_type.htm b/src/dede/templets/cards_type.htm index 0899cacf..e64c5540 100755 --- a/src/dede/templets/cards_type.htm +++ b/src/dede/templets/cards_type.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/catalog_add.htm b/src/dede/templets/catalog_add.htm index 5008a879..d7e28dfd 100755 --- a/src/dede/templets/catalog_add.htm +++ b/src/dede/templets/catalog_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -112,7 +111,7 @@ $i = 0; function checkSubmit() { if (document.form1.typename.value == "") { - alert("栏目名称不能为空!"); + alert("栏目名称不能为空"); document.form1.typename.focus(); return false; } diff --git a/src/dede/templets/catalog_add_quick.htm b/src/dede/templets/catalog_add_quick.htm index a6fd1795..e317b53c 100755 --- a/src/dede/templets/catalog_add_quick.htm +++ b/src/dede/templets/catalog_add_quick.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/catalog_edit.htm b/src/dede/templets/catalog_edit.htm index b5e92bfb..306607a4 100755 --- a/src/dede/templets/catalog_edit.htm +++ b/src/dede/templets/catalog_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -106,7 +105,7 @@ $i = 0; function checkSubmit() { if (document.form1.typename.value == "") { - alert("栏目名称不能为空!"); + alert("栏目名称不能为空"); document.form1.typename.focus(); return false; } diff --git a/src/dede/templets/content_att.htm b/src/dede/templets/content_att.htm index 75cba4eb..2e0d2c95 100755 --- a/src/dede/templets/content_att.htm +++ b/src/dede/templets/content_att.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/content_batch_up.htm b/src/dede/templets/content_batch_up.htm index 3d683e0f..76b7f1b9 100755 --- a/src/dede/templets/content_batch_up.htm +++ b/src/dede/templets/content_batch_up.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/content_sg_list.htm b/src/dede/templets/content_sg_list.htm index 78495c9b..d72e5235 100755 --- a/src/dede/templets/content_sg_list.htm +++ b/src/dede/templets/content_sg_list.htm @@ -46,7 +46,7 @@ function delArc(aid) { var qstr = getCheckboxItem(); if (qstr == '') { - ShowMsg('必须选择一个或多个文档!'); + ShowMsg('必须选择一个或多个文档'); return; } if (aid == 0) aid = getOneItem(); @@ -60,7 +60,7 @@ function moveArc(e, obj, cid) { var qstr = getCheckboxItem(); if (qstr == '') { - ShowMsg('必须选择一个或多个文档!'); + ShowMsg('必须选择一个或多个文档'); return; } LoadQuickDiv(e, 'archives_do.php?dopost=moveArchives&qstr=' + qstr + '&channelid=' + cid + '&rnd=' + Math.random(), 'moveArchives', '450px', '180px'); diff --git a/src/dede/templets/diy_add.htm b/src/dede/templets/diy_add.htm index bd8dbfa6..dd381694 100755 --- a/src/dede/templets/diy_add.htm +++ b/src/dede/templets/diy_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -15,7 +14,7 @@ <script language="javascript"> function checkSubmit() { if (document.form1.name.value == '') { - ShowMsg("自定义表单名称不能为空!"); + ShowMsg("自定义表单名称不能为空"); return false; } return true; diff --git a/src/dede/templets/diy_edit.htm b/src/dede/templets/diy_edit.htm index b5e1ddc2..a10b1d85 100755 --- a/src/dede/templets/diy_edit.htm +++ b/src/dede/templets/diy_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -15,14 +14,14 @@ <script language="javascript"> function checkSubmit() { if (document.form1.typename.value == '') { - ShowMsg("自定义表单名称不能为空!"); + ShowMsg("自定义表单名称不能为空"); return false; } return true; } //删除 function DelNote(gourl) { - if (!window.confirm("您确认要删除这条记录么!")) { return false; } + if (!window.confirm("您确认要删除这条记录么")) { return false; } location.href = gourl; } </script> diff --git a/src/dede/templets/diy_field_add.htm b/src/dede/templets/diy_field_add.htm index 1d742680..b6e0dffe 100755 --- a/src/dede/templets/diy_field_add.htm +++ b/src/dede/templets/diy_field_add.htm @@ -31,14 +31,14 @@ function GetFields() if(itemname=="") { - ShowMsg("表单提示名称不能为空!"); + ShowMsg("表单提示名称不能为空"); theform.itemname.focus(); return false; } if(fieldname=="") { - ShowMsg("字段名称不能为空!"); + ShowMsg("字段名称不能为空"); theform.fieldname.focus(); return false; } @@ -51,7 +51,7 @@ function GetFields() if((dtype=="radio" || dtype=="select" || dtype=="checkbox") && vdefault=="") { - ShowMsg("您选择的select或radio、checkbox类型,必须默认值设置选择的项目(用逗号[,]分开)!"); + ShowMsg("您选择的select或radio、checkbox类型,必须默认值设置选择的项目(用逗号[,]分开)"); return false; } diff --git a/src/dede/templets/diy_field_edit.htm b/src/dede/templets/diy_field_edit.htm index 6a076e7e..810e5444 100755 --- a/src/dede/templets/diy_field_edit.htm +++ b/src/dede/templets/diy_field_edit.htm @@ -25,14 +25,14 @@ function GetFields() if(itemname=="") { - ShowMsg("表单提示名称不能为空!"); + ShowMsg("表单提示名称不能为空"); theform.itemname.focus(); return false; } if((dtype=="radio"||dtype=="select"||dtype=="checkbox") && vdefault=="") { - ShowMsg("您选择的select或radio、checkbox类型,必须默认值设置选择的项目(用逗号[,]分开)!"); + ShowMsg("您选择的select或radio、checkbox类型,必须默认值设置选择的项目(用逗号[,]分开)"); return false; } diff --git a/src/dede/templets/feedback_edit.htm b/src/dede/templets/feedback_edit.htm index e98c483a..39afc6b4 100755 --- a/src/dede/templets/feedback_edit.htm +++ b/src/dede/templets/feedback_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/feedback_main.htm b/src/dede/templets/feedback_main.htm index a31ecf39..734986b2 100755 --- a/src/dede/templets/feedback_main.htm +++ b/src/dede/templets/feedback_main.htm @@ -44,22 +44,22 @@ } function delFeedback() { var qstr = getCheckboxItem(); - if (qstr == "") ShowMsg("您没选中任何内容!"); + if (qstr == "") ShowMsg("您没选中任何内容"); else if (window.confirm('您确定要删除这些评论吗?')) location.href = "feedback_main.php?job=del&fid=" + qstr; } function delFeedbackIP() { var qstr = getCheckboxItem(); - if (qstr == "") ShowMsg("您没选中任何内容!"); + if (qstr == "") ShowMsg("您没选中任何内容"); else if (window.confirm('您确定要删除这些评论吗?')) location.href = "feedback_main.php?job=delall&fid=" + qstr; } function checkFeedback() { var qstr = getCheckboxItem(); - if (qstr == "") ShowMsg("您没选中任何内容!"); + if (qstr == "") ShowMsg("您没选中任何内容"); else location.href = "feedback_main.php?job=check&fid=" + qstr; } function editFeedback() { var qstr = getCheckboxItem(); - if (qstr == "") ShowMsg("您没选中任何内容!"); + if (qstr == "") ShowMsg("您没选中任何内容"); else location.href = "feedback_edit.php?job=edit&fid=" + qstr; } </script> diff --git a/src/dede/templets/file_manage_main.htm b/src/dede/templets/file_manage_main.htm index daf1c289..23267652 100755 --- a/src/dede/templets/file_manage_main.htm +++ b/src/dede/templets/file_manage_main.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/freelist_add.htm b/src/dede/templets/freelist_add.htm index 830083c3..2b9a0165 100755 --- a/src/dede/templets/freelist_add.htm +++ b/src/dede/templets/freelist_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -344,7 +343,7 @@ } function CheckSubmit() { if (document.form1.title.value == "") { - ShowMsg("自由列表标题标题不能为空!"); + ShowMsg("自由列表标题标题不能为空"); document.form1.title.focus(); return false; } diff --git a/src/dede/templets/freelist_edit.htm b/src/dede/templets/freelist_edit.htm index a8f0df43..b3cbdaf0 100755 --- a/src/dede/templets/freelist_edit.htm +++ b/src/dede/templets/freelist_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -42,7 +41,7 @@ } function CheckSubmit() { if (document.form1.title.value == "") { - ShowMsg("自由列表标题标题不能为空!"); + ShowMsg("自由列表标题标题不能为空"); document.form1.title.focus(); return false; } diff --git a/src/dede/templets/freelist_main.htm b/src/dede/templets/freelist_main.htm index 5f234354..64905d69 100755 --- a/src/dede/templets/freelist_main.htm +++ b/src/dede/templets/freelist_main.htm @@ -21,7 +21,7 @@ function ReloadPage(ordertype) { orderby = ordertype; var listArea = $Obj('rslist'); - var errMsg = "网络通信出错!<br>[<a href=\"javascript:ReloadPage('" + ordertype + "')\">点击此重新加载列表</a>]"; + var errMsg = "网络通信出错<br>[<a href=\"javascript:ReloadPage('" + ordertype + "')\">点击此重新加载列表</a>]"; var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在加载..."); myajax.SendGet("freelist_main.php?dopost=getlist&pageno=" + pageno + "&orderby=" + ordertype + addget); } @@ -41,12 +41,12 @@ } //删除 function DelNote(nid) { - if (!window.confirm("您确认要删除这条记录么!")) { return false; } + if (!window.confirm("您确认要删除这条记录么")) { return false; } var listArea = $Obj('rslist'); totalrow = totalrow - 1; var pagenum = Math.ceil(totalrow / pagesize); if (pagenum <= pageno) pageno = pagenum; - var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('" + pageno + "')\">点击此重新加载列表</a>]"; + var errMsg = "网络通信出错<br>[<a href=\"javascript:LoadPage('" + pageno + "')\">点击此重新加载列表</a>]"; var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理..."); myajax.SendGet("freelist_main.php?dopost=del&aid=" + nid + "&pageno=" + pageno); ReloadPageNum(pageno); diff --git a/src/dede/templets/friendlink_add.htm b/src/dede/templets/friendlink_add.htm index 7d4ef0a4..3f3958c4 100755 --- a/src/dede/templets/friendlink_add.htm +++ b/src/dede/templets/friendlink_add.htm @@ -12,13 +12,13 @@ function CheckSubmit() if(document.form1.url.value=="http://"||document.form1.url.value=="") { document.form1.url.focus(); - ShowMsg("网址不能为空!"); + ShowMsg("网址不能为空"); return false; } if(document.form1.webname.value=="") { document.form1.webname.focus(); - ShowMsg("网站名称不能为空!"); + ShowMsg("网站名称不能为空"); return false; } return true; diff --git a/src/dede/templets/friendlink_edit.htm b/src/dede/templets/friendlink_edit.htm index 5e8b9892..95c296ba 100755 --- a/src/dede/templets/friendlink_edit.htm +++ b/src/dede/templets/friendlink_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/friendlink_main.htm b/src/dede/templets/friendlink_main.htm index 093c7b74..9eb28c30 100755 --- a/src/dede/templets/friendlink_main.htm +++ b/src/dede/templets/friendlink_main.htm @@ -1,6 +1,5 @@ {dede:config.pagesize value="20"/} -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -28,7 +27,7 @@ } } if (str == '') { - ShowMsg('您没选择任何内容!'); + ShowMsg('您没选择任何内容'); return false; } else { diff --git a/src/dede/templets/friendlink_type.htm b/src/dede/templets/friendlink_type.htm index 60cf06b6..bf4ce45f 100755 --- a/src/dede/templets/friendlink_type.htm +++ b/src/dede/templets/friendlink_type.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/index_top2.htm b/src/dede/templets/index_top2.htm index 8848d187..a4f5e76d 100755 --- a/src/dede/templets/index_top2.htm +++ b/src/dede/templets/index_top2.htm @@ -142,7 +142,7 @@ a:link,a:visited { </dl> </div> <div id='lpart'> - 您好:<span class="username"><?php echo $cuserLogin->getUserName(); ?> </span>,欢迎使用DedeBIZV6! + 您好:<span class="username"><?php echo $cuserLogin->getUserName(); ?> </span>,欢迎使用DedeBIZV6 </div> </td> </tr> diff --git a/src/dede/templets/log_list.htm b/src/dede/templets/log_list.htm index 78433508..18f23b56 100755 --- a/src/dede/templets/log_list.htm +++ b/src/dede/templets/log_list.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/makehtml_archives.htm b/src/dede/templets/makehtml_archives.htm index 38d1a55f..4c6f5206 100755 --- a/src/dede/templets/makehtml_archives.htm +++ b/src/dede/templets/makehtml_archives.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/makehtml_freelist.htm b/src/dede/templets/makehtml_freelist.htm index 7fb1556e..8b8d345d 100755 --- a/src/dede/templets/makehtml_freelist.htm +++ b/src/dede/templets/makehtml_freelist.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/makehtml_homepage.htm b/src/dede/templets/makehtml_homepage.htm index 3ba7ec50..6dffa711 100755 --- a/src/dede/templets/makehtml_homepage.htm +++ b/src/dede/templets/makehtml_homepage.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/makehtml_js.htm b/src/dede/templets/makehtml_js.htm index 0bef63d7..caa080a4 100755 --- a/src/dede/templets/makehtml_js.htm +++ b/src/dede/templets/makehtml_js.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/makehtml_list.htm b/src/dede/templets/makehtml_list.htm index e866f4b8..055c6c38 100755 --- a/src/dede/templets/makehtml_list.htm +++ b/src/dede/templets/makehtml_list.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/makehtml_map_guide.htm b/src/dede/templets/makehtml_map_guide.htm index a020302c..b1b9d9a8 100755 --- a/src/dede/templets/makehtml_map_guide.htm +++ b/src/dede/templets/makehtml_map_guide.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/makehtml_rss.htm b/src/dede/templets/makehtml_rss.htm index ab84bb19..bfff5aa2 100755 --- a/src/dede/templets/makehtml_rss.htm +++ b/src/dede/templets/makehtml_rss.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/makehtml_spec.htm b/src/dede/templets/makehtml_spec.htm index d3d37545..e68e93ce 100755 --- a/src/dede/templets/makehtml_spec.htm +++ b/src/dede/templets/makehtml_spec.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/media_add.htm b/src/dede/templets/media_add.htm index 30d93188..aafddbbd 100755 --- a/src/dede/templets/media_add.htm +++ b/src/dede/templets/media_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -26,7 +25,7 @@ <script language='javascript'> function CheckSubmit() { if (document.form1.title.value == "") { - ShowMsg("请设定媒体标题!"); + ShowMsg("请设定媒体标题"); document.form1.title.focus(); return false; } diff --git a/src/dede/templets/media_edit.htm b/src/dede/templets/media_edit.htm index 5d22fdee..d53f376a 100755 --- a/src/dede/templets/media_edit.htm +++ b/src/dede/templets/media_edit.htm @@ -21,7 +21,7 @@ <script language='javascript'> function CheckSubmit() { if (document.form1.title.value == "") { - ShowMsg("请设定媒体标题!"); + ShowMsg("请设定媒体标题"); document.form1.title.focus(); return false; } diff --git a/src/dede/templets/media_main.htm b/src/dede/templets/media_main.htm index f9e46119..311c242a 100755 --- a/src/dede/templets/media_main.htm +++ b/src/dede/templets/media_main.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/member_main.htm b/src/dede/templets/member_main.htm index 6542cfa4..50965e8f 100755 --- a/src/dede/templets/member_main.htm +++ b/src/dede/templets/member_main.htm @@ -1,6 +1,5 @@ {dede:config.pagesize value="20"/} -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/member_operations.htm b/src/dede/templets/member_operations.htm index 0d87c52d..6a235d1b 100755 --- a/src/dede/templets/member_operations.htm +++ b/src/dede/templets/member_operations.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/member_pm.htm b/src/dede/templets/member_pm.htm index ae43a422..f5ff93d8 100755 --- a/src/dede/templets/member_pm.htm +++ b/src/dede/templets/member_pm.htm @@ -1,6 +1,5 @@ {dede:page pagesize="20"/} -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/member_rank.htm b/src/dede/templets/member_rank.htm index 7ef6c51c..3722b096 100755 --- a/src/dede/templets/member_rank.htm +++ b/src/dede/templets/member_rank.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/member_scores.htm b/src/dede/templets/member_scores.htm index de2dca94..4d5adad8 100755 --- a/src/dede/templets/member_scores.htm +++ b/src/dede/templets/member_scores.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/member_toadmin.htm b/src/dede/templets/member_toadmin.htm index 66fba920..160f9030 100755 --- a/src/dede/templets/member_toadmin.htm +++ b/src/dede/templets/member_toadmin.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -16,12 +15,12 @@ function checkSubmit() { if (document.form2.email.value == "") { document.form2.email.focus(); - ShowMsg("Email不能为空!"); + ShowMsg("Email不能为空"); return false; } if (document.form2.uname.value == "") { document.form2.uname.focus(); - ShowMsg("用户昵称不能为空!"); + ShowMsg("用户昵称不能为空"); return false; } } @@ -38,7 +37,7 @@ <td height="200" bgcolor="#FFFFFF" align='center'><?php if($row['matt']==10) { - echo "<font color='red'>已经是管理员了,不要再提升了!</font>"; + echo "<font color='red'>已经是管理员了,不要再提升了</font>"; }else{ ?> <table width="98%" border="0" cellspacing="0" cellpadding="6" class="table table-borderless"> diff --git a/src/dede/templets/member_type.htm b/src/dede/templets/member_type.htm index c7d291db..20edea22 100755 --- a/src/dede/templets/member_type.htm +++ b/src/dede/templets/member_type.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/member_view.htm b/src/dede/templets/member_view.htm index 73e27763..2efa06fb 100755 --- a/src/dede/templets/member_view.htm +++ b/src/dede/templets/member_view.htm @@ -16,13 +16,13 @@ function checkSubmit() if(document.form2.email.value=="") { document.form2.email.focus(); - ShowMsg("Email不能为空!"); + ShowMsg("Email不能为空"); return false; } if(document.form2.uname.value=="") { document.form2.uname.focus(); - ShowMsg("用户昵称不能为空!"); + ShowMsg("用户昵称不能为空"); return false; } } @@ -36,7 +36,7 @@ function checkSubmit() <tr> <td height="200" bgcolor="#FFFFFF" align='center'> <?php - if($row['matt']==10) echo "<font color='red'>当前用户是网站管理员关连的帐号,请小心操作!</font>"; + if($row['matt']==10) echo "<font color='red'>当前用户是网站管理员关连的帐号,请小心操作</font>"; ?> <table width="98%" border="0" cellspacing="0" cellpadding="6" class="table table-borderless"> <tr> diff --git a/src/dede/templets/module_help.htm b/src/dede/templets/module_help.htm index f623ca12..6b4535a6 100755 --- a/src/dede/templets/module_help.htm +++ b/src/dede/templets/module_help.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/module_make.htm b/src/dede/templets/module_make.htm index 140a76de..dbbb57b0 100755 --- a/src/dede/templets/module_make.htm +++ b/src/dede/templets/module_make.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/mychannel_add.htm b/src/dede/templets/mychannel_add.htm index b8882caa..cc372af3 100755 --- a/src/dede/templets/mychannel_add.htm +++ b/src/dede/templets/mychannel_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/mychannel_edit.htm b/src/dede/templets/mychannel_edit.htm index 0dd26b9d..14ae59ca 100755 --- a/src/dede/templets/mychannel_edit.htm +++ b/src/dede/templets/mychannel_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -24,7 +23,7 @@ //删除 function DelNote(gourl) { - if (!window.confirm("您确认要删除这个字段么!")) { return false; } + if (!window.confirm("您确认要删除这个字段么")) { return false; } location.href = gourl; } @@ -390,7 +389,7 @@ else <tr> <td height="24" width="35%" bgcolor="#FFFFFF"> <strong>模型字段配置(文本模式) </strong><br /> - 修改配置文本可调整字段顺序,但不会更改字段属性! + 修改配置文本可调整字段顺序,但不会更改字段属性 </td> <td width="65%" bgcolor="#FFFFFF"> <textarea name="fieldset" style="width:99%;height:300px" rows="10" diff --git a/src/dede/templets/mychannel_field_add.htm b/src/dede/templets/mychannel_field_add.htm index 9dd6e0e4..753d2fe0 100755 --- a/src/dede/templets/mychannel_field_add.htm +++ b/src/dede/templets/mychannel_field_add.htm @@ -35,14 +35,14 @@ function GetFields() if(itemname=="") { - ShowMsg("表单提示名称不能为空!"); + ShowMsg("表单提示名称不能为空"); theform.itemname.focus(); return false; } if(fieldname=="") { - ShowMsg("字段名称不能为空!"); + ShowMsg("字段名称不能为空"); theform.fieldname.focus(); return false; } @@ -55,7 +55,7 @@ function GetFields() if((dtype=="radio" || dtype=="select" || dtype=="checkbox") && vdefault=="") { - ShowMsg("您选择的select或radio、checkbox类型,必须默认值设置选择的项目(用逗号[,]分开)!"); + ShowMsg("您选择的select或radio、checkbox类型,必须默认值设置选择的项目(用逗号[,]分开)"); return false; } diff --git a/src/dede/templets/mychannel_field_edit.htm b/src/dede/templets/mychannel_field_edit.htm index 777c0b1c..1621fffc 100755 --- a/src/dede/templets/mychannel_field_edit.htm +++ b/src/dede/templets/mychannel_field_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -28,13 +27,13 @@ var notsend = (theform.notsend.checked ? 1 : 0); if (itemname == "") { - ShowMsg("表单提示名称不能为空!"); + ShowMsg("表单提示名称不能为空"); theform.itemname.focus(); return false; } if ((dtype == "radio" || dtype == "select" || dtype == "checkbox") && vdefault == "") { - ShowMsg("您选择的select或radio、checkbox类型,必须默认值设置选择的项目(用逗号[,]分开)!"); + ShowMsg("您选择的select或radio、checkbox类型,必须默认值设置选择的项目(用逗号[,]分开)"); return false; } diff --git a/src/dede/templets/mychannel_main.htm b/src/dede/templets/mychannel_main.htm index 875143fe..bdf6ad52 100755 --- a/src/dede/templets/mychannel_main.htm +++ b/src/dede/templets/mychannel_main.htm @@ -1,6 +1,5 @@ {dede:config name='pagesize' value='30' /} -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/mychannel_modifysearch.htm b/src/dede/templets/mychannel_modifysearch.htm index f41d9bb9..0b9ebd7a 100755 --- a/src/dede/templets/mychannel_modifysearch.htm +++ b/src/dede/templets/mychannel_modifysearch.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/mynews_add.htm b/src/dede/templets/mynews_add.htm index 2e08d343..9224e0b4 100755 --- a/src/dede/templets/mynews_add.htm +++ b/src/dede/templets/mynews_add.htm @@ -10,7 +10,7 @@ function checkSubmit() if(document.form1.title.value=="") { document.form1.title.focus(); - alert("标题必须设定!"); + alert("标题必须设定"); return false; } } diff --git a/src/dede/templets/mynews_edit.htm b/src/dede/templets/mynews_edit.htm index 25d2d427..7fc7a8c5 100755 --- a/src/dede/templets/mynews_edit.htm +++ b/src/dede/templets/mynews_edit.htm @@ -10,7 +10,7 @@ function checkSubmit() if(document.form1.title.value=="") { document.form1.title.focus(); - alert("标题必须设定!"); + alert("标题必须设定"); return false; } } diff --git a/src/dede/templets/mytag_add.htm b/src/dede/templets/mytag_add.htm index 46135b7a..5296b093 100755 --- a/src/dede/templets/mytag_add.htm +++ b/src/dede/templets/mytag_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -17,7 +16,7 @@ <script language="javascript"> function checkSubmit() { if (document.form1.tagname.value == "") { - ShowMsg("标记名称不能为空!"); + ShowMsg("标记名称不能为空"); document.form1.tagname.focus(); return false; } diff --git a/src/dede/templets/mytag_main.htm b/src/dede/templets/mytag_main.htm index 95239d44..ef737baa 100755 --- a/src/dede/templets/mytag_main.htm +++ b/src/dede/templets/mytag_main.htm @@ -1,6 +1,5 @@ {dede:config.pagesize value="20"/} -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/mytag_tag_guide.htm b/src/dede/templets/mytag_tag_guide.htm index 287a9dc6..17e51b21 100755 --- a/src/dede/templets/mytag_tag_guide.htm +++ b/src/dede/templets/mytag_tag_guide.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/plus_main.htm b/src/dede/templets/plus_main.htm index 023bea44..2e5b5f4f 100755 --- a/src/dede/templets/plus_main.htm +++ b/src/dede/templets/plus_main.htm @@ -1,6 +1,5 @@ {dede:config.pagesize value="50"/} -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/public_guide.htm b/src/dede/templets/public_guide.htm index f9d1f953..24278e0e 100755 --- a/src/dede/templets/public_guide.htm +++ b/src/dede/templets/public_guide.htm @@ -29,7 +29,7 @@ function SetDefault() { if(selCheckbox==''){ - ShowMsg("您没有选中需要设置为默认的栏目!"); + ShowMsg("您没有选中需要设置为默认的栏目"); }else{ var selobj = document.getElementById(selCheckbox); location="public_guide.php?action=setdefault&cid="+selobj.value; diff --git a/src/dede/templets/search_keywords_main.htm b/src/dede/templets/search_keywords_main.htm index 366cc5c6..f5d5e752 100755 --- a/src/dede/templets/search_keywords_main.htm +++ b/src/dede/templets/search_keywords_main.htm @@ -20,7 +20,7 @@ var orderby = '<?php echo $orderby?>'; function ReloadPage(ordertype) { orderby = ordertype; var listArea = $Obj('rslist'); - var errMsg = "网络通信出错!<br>[<a href=\"javascript:ReloadPage('" + ordertype + "')\">点击此重新加载列表</a>]"; + var errMsg = "网络通信出错<br>[<a href=\"javascript:ReloadPage('" + ordertype + "')\">点击此重新加载列表</a>]"; var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在加载..."); myajax.SendGet("search_keywords_main.php?dopost=getlist&pageno=" + pageno + "&orderby=" + ordertype); } @@ -36,7 +36,7 @@ function UpdateNote(nid) { var kw = $Obj('keyword' + nid).value; var kws = $Obj('spwords' + nid).value; var ct = $Obj('count' + nid).value; - var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('" + pageno + "')\">点击此重新加载列表</a>]"; + var errMsg = "网络通信出错<br>[<a href=\"javascript:LoadPage('" + pageno + "')\">点击此重新加载列表</a>]"; var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理..."); <?php if (strtolower(substr($cfg_soft_lang, 0, 3)) == 'utf') { @@ -64,7 +64,7 @@ function DelNote(nid) { totalrow = totalrow - 1; var pagenum = Math.ceil(totalrow / pagesize); if (pagenum <= pageno) pageno = pagenum; - var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('" + pageno + "')\">点击此重新加载列表</a>]"; + var errMsg = "网络通信出错<br>[<a href=\"javascript:LoadPage('" + pageno + "')\">点击此重新加载列表</a>]"; var myajax = new DedeAjax(listArea, true, true, "", errMsg, "正在处理..."); myajax.SendGet("search_keywords_main.php?dopost=del&aid=" + nid + "&pageno=" + pageno + "&orderby=" + orderby); ReloadPageNum(pageno); diff --git a/src/dede/templets/shops_delivery.htm b/src/dede/templets/shops_delivery.htm index e7cd31cb..54f7b86d 100755 --- a/src/dede/templets/shops_delivery.htm +++ b/src/dede/templets/shops_delivery.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -46,7 +45,7 @@ <input name="price" type="text" id="price" style="margin-left:6px;" value="0.00" size="6" maxlength="6" /> 元 - &nbsp;*发货时所用的手续费,若要收取,请填写(精确到小数位两位)! + &nbsp;*发货时所用的手续费,若要收取,请填写(精确到小数位两位) </td> </tr> <tr align="center" height="24" bgcolor="#ECF8FF"> diff --git a/src/dede/templets/shops_operations.htm b/src/dede/templets/shops_operations.htm index 60a451af..930c1de2 100755 --- a/src/dede/templets/shops_operations.htm +++ b/src/dede/templets/shops_operations.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/soft_add.htm b/src/dede/templets/soft_add.htm index ea88f49a..e5c1bb07 100755 --- a/src/dede/templets/soft_add.htm +++ b/src/dede/templets/soft_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -21,12 +20,12 @@ <script language="javascript"> function checkSubmit() { if (document.form1.title.value == '') { - ShowMsg('软件名称不能为空!'); + ShowMsg('软件名称不能为空'); document.form1.title.focus(); return false; } if (document.form1.typeid.value == 0) { - ShowMsg('请选择档案的主类别!'); + ShowMsg('请选择档案的主类别'); return false; } } diff --git a/src/dede/templets/soft_config.htm b/src/dede/templets/soft_config.htm index 8f6b5318..f2518c5a 100755 --- a/src/dede/templets/soft_config.htm +++ b/src/dede/templets/soft_config.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -13,9 +12,9 @@ <script language='javascript' src="js/main.js"></script> <script language="JavaScript"> function AddServer() { - if (document.form1.serverurl.value == "" || document.form1.serverurl.value == "http://") { ShowMsg('服务器网址不能为空!'); return; } - if (document.form1.servername.value == "") { ShowMsg('服务器名称不能为空!'); return; } - if (document.form1.servertype.value == "") { ShowMsg('服务器类型不能为空!'); return; } + if (document.form1.serverurl.value == "" || document.form1.serverurl.value == "http://") { ShowMsg('服务器网址不能为空'); return; } + if (document.form1.servername.value == "") { ShowMsg('服务器名称不能为空'); return; } + if (document.form1.servertype.value == "") { ShowMsg('服务器类型不能为空'); return; } document.form1.sites.value += document.form1.serverurl.value + " | " + document.form1.servername.value + " | " + document.form1.servertype.value + "\r\n"; } </script> @@ -89,7 +88,7 @@ </td> </tr> <tr> - <td bgcolor="#F9FCEF" colspan='2' style="padding-left:10px;"><b>不管是全局,还是具体某软件设置了下面的参数,附件下载方式都必须链接到中转页,否则无效!</b> + <td bgcolor="#F9FCEF" colspan='2' style="padding-left:10px;"><b>不管是全局,还是具体某软件设置了下面的参数,附件下载方式都必须链接到中转页,否则无效</b> </td> </td> <tr> diff --git a/src/dede/templets/soft_edit.htm b/src/dede/templets/soft_edit.htm index 172f5a71..58df18e2 100755 --- a/src/dede/templets/soft_edit.htm +++ b/src/dede/templets/soft_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -22,7 +21,7 @@ <script language="javascript"> function checkSubmit() { if (document.form1.title.value == '') { - ShowMsg('软件名称不能为空!'); + ShowMsg('软件名称不能为空'); document.form1.title.focus(); return false; } diff --git a/src/dede/templets/spec_add.htm b/src/dede/templets/spec_add.htm index d104eeae..df5f9ebd 100755 --- a/src/dede/templets/spec_add.htm +++ b/src/dede/templets/spec_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -26,7 +25,7 @@ <script language="javascript"> function checkSubmit() { if (document.form1.title.value == "") { - ShowMsg("专题名称不能为空!"); + ShowMsg("专题名称不能为空"); return false; } for (i = 1; i <= 6; i++) { diff --git a/src/dede/templets/spec_edit.htm b/src/dede/templets/spec_edit.htm index 80710e75..48fc10b8 100755 --- a/src/dede/templets/spec_edit.htm +++ b/src/dede/templets/spec_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -48,7 +47,7 @@ } function checkSubmit() { if (document.form1.title.value == "") { - ShowMsg("专题名称不能为空!"); + ShowMsg("专题名称不能为空"); return false; } for (i = 1; i <= 6; i++) { diff --git a/src/dede/templets/stepselect_main.htm b/src/dede/templets/stepselect_main.htm index 65fd1779..f6338156 100755 --- a/src/dede/templets/stepselect_main.htm +++ b/src/dede/templets/stepselect_main.htm @@ -59,47 +59,47 @@ function AddType() { var myajax = new DedeAjax($DE('edsta')); $DE('edsta').style.display = 'block'; - myajax.SendGet('stepselect_main.php?action=addnew', true, true, '', '系统错误,无法获取数据!', loadhtml); + myajax.SendGet('stepselect_main.php?action=addnew', true, true, '', '系统错误,无法获取数据', loadhtml); } function AddEnum() { var id = GetSelType(); if (id == 0) { - ShowMsg("必须选择一个类别!"); + ShowMsg("必须选择一个类别"); return false; } var myajax = new DedeAjax($DE('edsta')); $DE('edsta').style.display = 'block'; - myajax.SendGet('stepselect_main.php?action=addenum&id=' + id, true, true, '', '系统错误,无法获取数据!', loadhtml); + myajax.SendGet('stepselect_main.php?action=addenum&id=' + id, true, true, '', '系统错误,无法获取数据', loadhtml); } function EditType() { var id = GetSelType(); if (id == 0) { - ShowMsg("必须选择一个类别!"); + ShowMsg("必须选择一个类别"); return false; } var myajax = new DedeAjax($DE('edsta')); $DE('edsta').style.display = 'block'; - myajax.SendGet('stepselect_main.php?action=edit&id=' + id, true, true, '', '系统错误,无法获取数据!', loadhtml); + myajax.SendGet('stepselect_main.php?action=edit&id=' + id, true, true, '', '系统错误,无法获取数据', loadhtml); } function ViewType() { var id = GetSelType(); if (id == 0) { - ShowMsg("必须选择一个类别!"); + ShowMsg("必须选择一个类别"); return false; } var myajax = new DedeAjax($DE('edsta')); $DE('edsta').style.display = 'block'; - myajax.SendGet('stepselect_main.php?action=view&id=' + id, true, true, '', '系统错误,无法获取数据!', loadhtml); + myajax.SendGet('stepselect_main.php?action=view&id=' + id, true, true, '', '系统错误,无法获取数据', loadhtml); } function DelType() { if (window.confirm("您确实要删除这个分类吗?") == false) return false; var id = GetSelType(); if (id == 0) { - ShowMsg("必须选择一个类别!"); + ShowMsg("必须选择一个类别"); return false; } location.href = 'stepselect_main.php?action=del&id=' + id; diff --git a/src/dede/templets/stepselect_showajax.htm b/src/dede/templets/stepselect_showajax.htm index de1c47ab..572f7d10 100755 --- a/src/dede/templets/stepselect_showajax.htm +++ b/src/dede/templets/stepselect_showajax.htm @@ -1,7 +1,7 @@ <?php if($action=='edit') { $arr = $dsql->GetOne("Select * from `#@__stepselect` where id='$id' "); -$sbjs = " onsubmit=\"alert('该分类是系统内置枚举,不允许修改!'); return false;\" "; +$sbjs = " onsubmit=\"alert('该分类是系统内置枚举,不允许修改'); return false;\" "; if($arr['issystem']==0) $sbjs = ''; ?> <!-- 编辑表单 --> diff --git a/src/dede/templets/sys_admin_user.htm b/src/dede/templets/sys_admin_user.htm index ba132b0f..d9e734aa 100755 --- a/src/dede/templets/sys_admin_user.htm +++ b/src/dede/templets/sys_admin_user.htm @@ -1,6 +1,5 @@ {dede:config.pagesize value="20"/} -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/sys_admin_user_add.htm b/src/dede/templets/sys_admin_user_add.htm index d161b1fa..4eaeca27 100755 --- a/src/dede/templets/sys_admin_user_add.htm +++ b/src/dede/templets/sys_admin_user_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -14,17 +13,17 @@ <script language='javascript'> function checkSubmit() { if (document.form1.userid.value == "") { - ShowMsg("用户ID不能为空!"); + ShowMsg("用户ID不能为空"); document.form1.userid.focus(); return false; } if (document.form1.uname.value == "") { - ShowMsg("用户名不能为空!"); + ShowMsg("用户名不能为空"); document.form1.uname.focus(); return false; } if (document.form1.pwd.value == "") { - ShowMsg("用户密码不能为空!"); + ShowMsg("用户密码不能为空"); document.form1.pwd.focus(); return false; } diff --git a/src/dede/templets/sys_admin_user_edit.htm b/src/dede/templets/sys_admin_user_edit.htm index b49cac73..7cf9c65b 100755 --- a/src/dede/templets/sys_admin_user_edit.htm +++ b/src/dede/templets/sys_admin_user_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/sys_admin_user_tj.htm b/src/dede/templets/sys_admin_user_tj.htm index 24065dae..64c0bfab 100755 --- a/src/dede/templets/sys_admin_user_tj.htm +++ b/src/dede/templets/sys_admin_user_tj.htm @@ -13,7 +13,7 @@ { var loadhtml = $DE('loaddiv').innerHTML; var ajaxdiv = $DE('userct'+uid); - var myajax = new DedeAjax(ajaxdiv, true, true, '载入失败!', loadhtml); + var myajax = new DedeAjax(ajaxdiv, true, true, '载入失败', loadhtml); myajax.SendGet2('sys_admin_user_tj.php?dopost=getone&uid='+uid); } </script> diff --git a/src/dede/templets/sys_cache_up.htm b/src/dede/templets/sys_cache_up.htm index 04109f92..629d3bf4 100755 --- a/src/dede/templets/sys_cache_up.htm +++ b/src/dede/templets/sys_cache_up.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/sys_data.htm b/src/dede/templets/sys_data.htm index 94e11d55..c2ed6161 100755 --- a/src/dede/templets/sys_data.htm +++ b/src/dede/templets/sys_data.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/sys_data_replace.htm b/src/dede/templets/sys_data_replace.htm index 2293b7f3..438f59d2 100755 --- a/src/dede/templets/sys_data_replace.htm +++ b/src/dede/templets/sys_data_replace.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -18,11 +17,11 @@ } function CheckSubmit() { if ($DE('rpfield').value == "") { - ShowMsg("您选择的操作为手工指定字段,但您并没指定!"); + ShowMsg("您选择的操作为手工指定字段,但您并没指定"); return false; } if ($DE('rpstring').value == "") { - ShowMsg("您没指定要替换的字符串!"); + ShowMsg("您没指定要替换的字符串"); return false; } return true; @@ -72,7 +71,7 @@ $dsql->SetQuery("Show Tables"); $dsql->Execute('t'); if($dsql->GetError()!=''){ - echo "<font color='red'>找不到您所指定的数据库! $dbname</font><br>"; + echo "<font color='red'>找不到您所指定的数据库 $dbname</font><br>"; echo $qbutton; } echo "<select name='exptable' id='exptable' size='10' style='width:60%;height: 220px;' onchange='ShowFields()'>\r\n"; diff --git a/src/dede/templets/sys_data_revert.htm b/src/dede/templets/sys_data_revert.htm index 40a2b769..4ccafae0 100755 --- a/src/dede/templets/sys_data_revert.htm +++ b/src/dede/templets/sys_data_revert.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/sys_group.htm b/src/dede/templets/sys_group.htm index d956015f..01570659 100755 --- a/src/dede/templets/sys_group.htm +++ b/src/dede/templets/sys_group.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/sys_group_add.htm b/src/dede/templets/sys_group_add.htm index b0192956..6992a2bd 100755 --- a/src/dede/templets/sys_group_add.htm +++ b/src/dede/templets/sys_group_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/sys_group_edit.htm b/src/dede/templets/sys_group_edit.htm index d76bc84c..e427388e 100755 --- a/src/dede/templets/sys_group_edit.htm +++ b/src/dede/templets/sys_group_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/sys_info_mark.htm b/src/dede/templets/sys_info_mark.htm index c4a39ff7..16a4be45 100755 --- a/src/dede/templets/sys_info_mark.htm +++ b/src/dede/templets/sys_info_mark.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/sys_payment.htm b/src/dede/templets/sys_payment.htm index e39a820d..6d7e6f2c 100755 --- a/src/dede/templets/sys_payment.htm +++ b/src/dede/templets/sys_payment.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/sys_payment_install.htm b/src/dede/templets/sys_payment_install.htm index 1f24c2ef..6e43810b 100755 --- a/src/dede/templets/sys_payment_install.htm +++ b/src/dede/templets/sys_payment_install.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/sys_safetest.htm b/src/dede/templets/sys_safetest.htm index 22f1f5bc..2cc95aaa 100755 --- a/src/dede/templets/sys_safetest.htm +++ b/src/dede/templets/sys_safetest.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/sys_sql_query.htm b/src/dede/templets/sys_sql_query.htm index f491441a..779f4876 100755 --- a/src/dede/templets/sys_sql_query.htm +++ b/src/dede/templets/sys_sql_query.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/tag_test.htm b/src/dede/templets/tag_test.htm index 3c61c214..278b8b0b 100755 --- a/src/dede/templets/tag_test.htm +++ b/src/dede/templets/tag_test.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/templets_one_add.htm b/src/dede/templets/templets_one_add.htm index 4c3aaef5..5d2fbec6 100755 --- a/src/dede/templets/templets_one_add.htm +++ b/src/dede/templets/templets_one_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -14,12 +13,12 @@ <script language="javascript"> function checkSubmit() { if (document.form1.title.value == "") { - ShowMsg("页面名称不能为空!"); + ShowMsg("页面名称不能为空"); document.form1.title.focus(); return false; } if (document.form1.nfilename.value == "") { - ShowMsg("文件名不能为空!"); + ShowMsg("文件名不能为空"); document.form1.nfilename.focus(); return false; } diff --git a/src/dede/templets/templets_one_edit.htm b/src/dede/templets/templets_one_edit.htm index 93718d81..3aa1b315 100755 --- a/src/dede/templets/templets_one_edit.htm +++ b/src/dede/templets/templets_one_edit.htm @@ -14,13 +14,13 @@ function checkSubmit() { if(document.form1.title.value=="") { - ShowMsg("页面名称不能为空!"); + ShowMsg("页面名称不能为空"); document.form1.title.focus(); return false; } if(document.form1.nfilename.value=="") { - ShowMsg("文件名不能为空!"); + ShowMsg("文件名不能为空"); document.form1.nfilename.focus(); return false; } diff --git a/src/dede/templets/templets_tagsource.htm b/src/dede/templets/templets_tagsource.htm index a1778309..e18e594a 100755 --- a/src/dede/templets/templets_tagsource.htm +++ b/src/dede/templets/templets_tagsource.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -76,7 +75,7 @@ <tr> <td colspan="4" height='32' bgcolor="#F9FCEF"> <div class="alert alert-danger" role="alert"> - 修改系统标签有风险,请小心操作! + 修改系统标签有风险,请小心操作 </div> </td> </tr> diff --git a/src/dede/templets/tpl_newfile.htm b/src/dede/templets/tpl_newfile.htm index 50151dce..82962ffc 100755 --- a/src/dede/templets/tpl_newfile.htm +++ b/src/dede/templets/tpl_newfile.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/vote_add.htm b/src/dede/templets/vote_add.htm index b0be56aa..89b4d351 100755 --- a/src/dede/templets/vote_add.htm +++ b/src/dede/templets/vote_add.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -19,7 +18,7 @@ function AddItem() { i++; if (i > 15) { - ShowMsg("最大只允许15个选项!"); + ShowMsg("最大只允许15个选项"); return; } var htmldata = "<br/>选项" + i + ": <input name='voteitem" + i + "' type='text' size='30' class='mt-2'>"; @@ -32,7 +31,7 @@ } function checkSubmit() { if (document.form1.votename.value == "") { - ShowMsg("投票名称不能为空!"); + ShowMsg("投票名称不能为空"); document.form1.votename.focus(); return false; } diff --git a/src/dede/templets/vote_edit.htm b/src/dede/templets/vote_edit.htm index 5c275474..9f19b3d7 100755 --- a/src/dede/templets/vote_edit.htm +++ b/src/dede/templets/vote_edit.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/vote_getcode.htm b/src/dede/templets/vote_getcode.htm index 219e3191..e3255ad1 100755 --- a/src/dede/templets/vote_getcode.htm +++ b/src/dede/templets/vote_getcode.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/vote_main.htm b/src/dede/templets/vote_main.htm index 373c7595..c7d2a27d 100755 --- a/src/dede/templets/vote_main.htm +++ b/src/dede/templets/vote_main.htm @@ -1,6 +1,5 @@ {dede:config.pagesize value='20'/} -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets/winmode.htm b/src/dede/templets/winmode.htm index 29f7f95c..73aad2dd 100755 --- a/src/dede/templets/winmode.htm +++ b/src/dede/templets/winmode.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/dede/templets_one_add.php b/src/dede/templets_one_add.php index 0ea9ccfe..54f07275 100755 --- a/src/dede/templets_one_add.php +++ b/src/dede/templets_one_add.php @@ -23,20 +23,20 @@ if ($dopost == "save") { } $row = $dsql->GetOne("SELECT filename FROM `#@__sgpage` WHERE likeid='$likeid' AND filename LIKE '$filename' "); if (is_array($row)) { - ShowMsg("已经存在相同的文件名,请更改为其它文件名!", "-1"); + ShowMsg("已经存在相同的文件名,请更改为其它文件名", "-1"); exit(); } $inQuery = "INSERT INTO `#@__sgpage`(title,keywords,description,template,likeid,ismake,filename,uptime,body) VALUES('$title','$keywords','$description','$template','$likeid','$ismake','$filename','$uptime','$body'); "; if (!$dsql->ExecuteNoneQuery($inQuery)) { - ShowMsg("增加页面失败,请检内容是否有问题!", "-1"); + ShowMsg("增加页面失败,请检内容是否有问题", "-1"); exit(); } $id = $dsql->GetLastID(); include_once(DEDEINC."/arc.sgpage.class.php"); $sg = new sgpage($id); $sg->SaveToHtml(); - ShowMsg("成功增加一个页面!", "templets_one.php"); + ShowMsg("成功增加一个页面", "templets_one.php"); exit(); } $row = $dsql->GetOne("SELECT MAX(aid) AS aid FROM `#@__sgpage` "); diff --git a/src/dede/templets_one_edit.php b/src/dede/templets_one_edit.php index 0119a7b6..b7fa9644 100755 --- a/src/dede/templets_one_edit.php +++ b/src/dede/templets_one_edit.php @@ -43,12 +43,12 @@ if ($dopost == "saveedit") { body='$body' WHERE aid='$aid'; "; if (!$dsql->ExecuteNoneQuery($inQuery)) { - ShowMsg("更新页面数据时失败,请检查长相是否有问题!", "-1"); + ShowMsg("更新页面数据时失败,请检查长相是否有问题", "-1"); exit(); } $sg = new sgpage($aid); $sg->SaveToHtml(); - ShowMsg("成功修改一个页面!", "templets_one.php"); + ShowMsg("成功修改一个页面", "templets_one.php"); exit(); } else if ($dopost == "delete") { $row = $dsql->GetOne("SELECT filename FROM `#@__sgpage` WHERE aid='$aid'"); @@ -57,7 +57,7 @@ if ($dopost == "saveedit") { if (is_file($filename)) { unlink($filename); } - ShowMsg("成功删除一个页面!", "templets_one.php"); + ShowMsg("成功删除一个页面", "templets_one.php"); exit(); } else if ($dopost == "make") { include_once(DEDEINC."/arc.sgpage.class.php"); @@ -65,7 +65,7 @@ if ($dopost == "saveedit") { $fileurl = $cfg_cmsurl.'/'.preg_replace("#\/{1,}#", "/", $row['filename']); $sg = new sgpage($aid); $sg->SaveToHtml(); - ShowMsg("成功更新一个页面!", $fileurl); + ShowMsg("成功更新一个页面", $fileurl); exit(); } else if ($dopost == "mkall") { include_once(DEDEINC."/arc.sgpage.class.php"); @@ -76,7 +76,7 @@ if ($dopost == "saveedit") { $sg->SaveToHtml(); $i++; } - ShowMsg("成功更新 $i 个页面!", '-1'); + ShowMsg("成功更新 $i 个页面", '-1'); exit(); } else if ($dopost == "mksel") { if (empty($ids)) { @@ -85,7 +85,7 @@ if ($dopost == "saveedit") { include_once(DEDEINC."/arc.sgpage.class.php"); $i = 0; if ($ids == 0) { - ShowMsg('您没有选择需要更新的文档!', '-1'); + ShowMsg('您没有选择需要更新的文档', '-1'); exit(); } else if (is_array($ids)) { foreach ($ids as $aid) { @@ -93,12 +93,12 @@ if ($dopost == "saveedit") { $sg->SaveToHtml(); $i++; } - ShowMsg("成功更新 $i 个页面!", '-1'); + ShowMsg("成功更新 $i 个页面", '-1'); exit(); } } else if ($dopost == "view") { if (empty($aid)) { - ShowMsg('错误的ID!', 'javascript:;'); + ShowMsg('错误的ID', 'javascript:;'); exit(); } include_once(DEDEINC."/arc.sgpage.class.php"); diff --git a/src/dede/testenv.php b/src/dede/testenv.php index 550f2bb6..02b26e3d 100755 --- a/src/dede/testenv.php +++ b/src/dede/testenv.php @@ -373,7 +373,7 @@ $action = isset($action) ? $action : ''; function clearIntervals() { clearInterval(timer); //document.getElementById('install').submit(); - alert('全部检测完毕,您可以按照检测结果进行系统权限调整!'); + alert('全部检测完毕,您可以按照检测结果进行系统权限调整'); } //setTimeout(setIntervals, 100); diff --git a/src/dede/tpl.php b/src/dede/tpl.php index b3e44589..dddf2c7e 100755 --- a/src/dede/tpl.php +++ b/src/dede/tpl.php @@ -84,7 +84,7 @@ function save_tpl() { } exit(); } if (!preg_match("#\.htm$#", $filename)) { - ShowMsg('DEDE模板文件,文件名必须用.htm结尾!', '-1'); + ShowMsg('DEDE模板文件,文件名必须用.htm结尾', '-1'); exit(); } $content = stripslashes($content); @@ -148,20 +148,20 @@ function _upload() {} -----------------------*/ else if ($action == 'uploadok') { CheckCSRF(); if (!is_uploaded_file($upfile)) { - ShowMsg("貌似您什么都没有上传哦!", "javascript:;"); + ShowMsg("貌似您什么都没有上传哦", "javascript:;"); exit(); } else { if (!preg_match("#\.(htm|html)$#", $upfile_name)) { - ShowMsg("DedeBIZ模板只能用 .htm 或 .html扩展名!", "-1"); + ShowMsg("DedeBIZ模板只能用 .htm 或 .html扩展名", "-1"); exit(); } if (preg_match("#[\\\\\/]#", $upfile_name)) { - ShowMsg("模板文件名有非法字符,禁止上传!", "-1"); + ShowMsg("模板文件名有非法字符,禁止上传", "-1"); exit(); } move_uploaded_file($upfile, $templetdird.'/'.$upfile_name); @unlink($upfile); - ShowMsg("成功上传一个模板!", "templets_main.php?acdir=$acdir"); + ShowMsg("成功上传一个模板", "templets_main.php?acdir=$acdir"); exit(); } exit(); @@ -199,7 +199,7 @@ function lib_demotag(&\$ctag,&\$refObj) $title = "新建标签"; } else { if (!preg_match("#^[a-z0-9_-]{1,}\.lib\.php$#i", $filename)) { - ShowMsg('文件不是标准的标签碎片文件,不允许在此编辑!', '-1'); + ShowMsg('文件不是标准的标签碎片文件,不允许在此编辑', '-1'); exit(); } $fp = fopen(DEDEINC.'/taglib/'.$filename, 'r'); @@ -217,7 +217,7 @@ function savetagfile() { } --------------------------*/ else if ($action == 'savetagfile') { CheckCSRF(); if (!preg_match("#^[a-z0-9_-]{1,}\.lib\.php$#i", $filename)) { - ShowMsg('文件名不合法,不允许进行操作!', '-1'); + ShowMsg('文件名不合法,不允许进行操作', '-1'); exit(); } require_once(DEDEINC.'/oxwindow.class.php'); @@ -235,7 +235,7 @@ function savetagfile() { } <input name='imageField1' type='image' class='np' src='images/button_ok.gif' width='60' height='22' border='0' /> </form> "; - $wintitle = "成功修改/创建文件!"; + $wintitle = "成功修改/创建文件"; $wecome_info = "<a href='templets_tagsource.php'>标签源码碎片管理</a> &gt;&gt; 修改/新建标签"; $win = new OxWindow(); $win->AddTitle("修改/新建标签:"); diff --git a/src/dede/vote_add.php b/src/dede/vote_add.php index d8d41f8c..3d47b89b 100755 --- a/src/dede/vote_add.php +++ b/src/dede/vote_add.php @@ -31,7 +31,7 @@ if ($dopost == "save" && $isarc == 0) { $inQuery = "INSERT INTO `#@__vote`(votename,starttime,endtime,totalcount,ismore,votenote,isallow,view,spec,isenable) VALUES('$votename','$starttime','$endtime','0','$ismore','$voteitems','$isallow','$view','$spec','$isenable'); "; if (!$dsql->ExecuteNoneQuery($inQuery)) { - ShowMsg("增加投票失败,请检查数据是否非法!", "-1"); + ShowMsg("增加投票失败,请检查数据是否非法", "-1"); exit(); } $aid = $dsql->GetLastID(); @@ -42,7 +42,7 @@ if ($dopost == "save" && $isarc == 0) { $vote_file = DEDEDATA."/vote/vote_".$aid.".js"; file_put_contents($vote_file, $vote_content); - ShowMsg("成功增加一组投票!", "vote_main.php"); + ShowMsg("成功增加一组投票", "vote_main.php"); exit(); } else if ($dopost == "save" && $isarc == 1) { $starttime = GetMkTime($starttime); @@ -59,7 +59,7 @@ if ($dopost == "save" && $isarc == 0) { $inQuery = "INSERT INTO `#@__vote`(votename,starttime,endtime,totalcount,ismore,votenote,isallow,view,spec,isenable) VALUES('$votename','$starttime','$endtime','0','$ismore','$voteitems','$isallow','$view','$spec','$isenable'); "; if (!$dsql->ExecuteNoneQuery($inQuery)) { - ShowMsg("增加投票失败,请检查数据是否非法!", "-1"); + ShowMsg("增加投票失败,请检查数据是否非法", "-1"); exit(); } $aid = $dsql->GetLastID(); @@ -70,7 +70,7 @@ if ($dopost == "save" && $isarc == 0) { $vote_file = DEDEDATA."/vote/vote_".$aid.".js"; file_put_contents($vote_file, $vote_content); - ShowMsg("成功增加一组投票!", "vote_main.php?issel=1&aid=".$aid); + ShowMsg("成功增加一组投票", "vote_main.php?issel=1&aid=".$aid); exit(); } $startDay = time(); diff --git a/src/dede/vote_edit.php b/src/dede/vote_edit.php index 63cbc243..a48622bc 100755 --- a/src/dede/vote_edit.php +++ b/src/dede/vote_edit.php @@ -57,7 +57,7 @@ if ($dopost == "delete") { } else { $row = $dsql->GetOne("SELECT * FROM #@__vote WHERE aid='$aid'"); if (!is_array($row)) { - ShowMsg('指定投票不存在!', '-1'); + ShowMsg('指定投票不存在', '-1'); exit(); } include DedeInclude('templets/vote_edit.htm'); diff --git a/src/include/arc.archives.class.php b/src/include/arc.archives.class.php index 5ab94330..b4b08aac 100755 --- a/src/include/arc.archives.class.php +++ b/src/include/arc.archives.class.php @@ -523,7 +523,7 @@ class Archives $tempfile = $this->GetTempletFile(); if (!file_exists($tempfile) || !is_file($tempfile)) { echo "文档ID:{$this->Fields['id']} - {$this->TypeLink->TypeInfos['typename']} - {$this->Fields['title']}<br />"; - echo "模板文件不存在,无法解析文档!"; + echo "模板文件不存在,无法解析文档"; exit(); } $this->dtp->LoadTemplate($tempfile); @@ -725,7 +725,7 @@ class Archives $this->PreNext['preimg'] = "<a href='$mlink'><img src=\"{$preRow['litpic']}\" alt=\"{$preRow['title']}\"/></a> "; } else { $this->PreNext['pre'] = "上一篇:没有了 "; - $this->PreNext['preimg'] = "<img src=\"/templets/default/images/nophoto.jpg\" alt=\"对不起,没有上一图集了!\"/>"; + $this->PreNext['preimg'] = "<img src=\"/templets/default/images/nophoto.jpg\" alt=\"对不起,没有上一图集了\"/>"; } if (is_array($nextRow)) { if (defined('DEDEMOB')) { @@ -758,7 +758,7 @@ class Archives $this->PreNext['nextimg'] = "<a href='$mlink'><img src=\"{$nextRow['litpic']}\" alt=\"{$nextRow['title']}\"/></a> "; } else { $this->PreNext['next'] = "下一篇:没有了 "; - $this->PreNext['nextimg'] = "<a href='javascript:void(0)' alt=\"\"><img src=\"/templets/default/images/nophoto.jpg\" alt=\"对不起,没有下一图集了!\"/></a>"; + $this->PreNext['nextimg'] = "<a href='javascript:void(0)' alt=\"\"><img src=\"/templets/default/images/nophoto.jpg\" alt=\"对不起,没有下一图集了\"/></a>"; } } //二次开发上一篇下一篇 diff --git a/src/include/arc.freelist.class.php b/src/include/arc.freelist.class.php index 3b2e60e7..5b5e6f52 100755 --- a/src/include/arc.freelist.class.php +++ b/src/include/arc.freelist.class.php @@ -315,7 +315,7 @@ class FreeList if (is_file($tmpdir."/".$tempfile)) { $this->PartView->SetTemplet($tmpdir."/".$tempfile); } else { - $this->PartView->SetTemplet("这是没有使用模板的单独页!", "string"); + $this->PartView->SetTemplet("这是没有使用模板的单独页", "string"); $nmfa = 1; } } @@ -357,7 +357,7 @@ class FreeList foreach ($this->dtp->CTags as $tagid => $ctag) { if ($ctag->GetName() == "freelist") { $limitstart = ($this->PageNo - 1) * $this->PageSize; - if ($this->PageNo > $this->FLInfos['maxpage']) $this->dtp->Assign($tagid, '已经超过了最大允许列出的页面!'); + if ($this->PageNo > $this->FLInfos['maxpage']) $this->dtp->Assign($tagid, '已经超过了最大允许列出的页面'); else $this->dtp->Assign($tagid, $this->GetList($limitstart, $ismake)); } else if ($ctag->GetName() == "pagelist") { $list_len = trim($ctag->GetAtt("listsize")); diff --git a/src/include/arc.listview.class.php b/src/include/arc.listview.class.php index dcb003f0..1782eb86 100755 --- a/src/include/arc.listview.class.php +++ b/src/include/arc.listview.class.php @@ -205,7 +205,7 @@ class ListView } if (!file_exists($tempfile) || !is_file($tempfile)) { - echo "模板文件不存在,无法解析文档!"; + echo "模板文件不存在,无法解析文档"; exit(); } $this->dtp->LoadTemplate($tempfile); @@ -242,7 +242,7 @@ class ListView //创建封面模板文件 if ($this->TypeLink->TypeInfos['isdefault'] == -1) { - echo '这个类目是动态类目!'; + echo '这个类目是动态类目'; return '../plus/list.php?tid='.$this->TypeLink->TypeInfos['id']; } diff --git a/src/include/arc.searchview.class.php b/src/include/arc.searchview.class.php index a2aaf19b..5304bb8c 100755 --- a/src/include/arc.searchview.class.php +++ b/src/include/arc.searchview.class.php @@ -123,7 +123,7 @@ class SearchView $tempfile = str_replace('.htm', '_m.htm', $tempfile); } if (!file_exists($tempfile) || !is_file($tempfile)) { - echo "模板文件不存在,无法解析!"; + echo "模板文件不存在,无法解析"; exit(); } $this->dtp->LoadTemplate($tempfile); diff --git a/src/include/arc.sglistview.class.php b/src/include/arc.sglistview.class.php index 86a34319..82c4441d 100755 --- a/src/include/arc.sglistview.class.php +++ b/src/include/arc.sglistview.class.php @@ -206,7 +206,7 @@ class SgListView } } if (!file_exists($tempfile) || !is_file($tempfile)) { - echo "模板文件不存在,无法解析文档!"; + echo "模板文件不存在,无法解析文档"; exit(); } $this->dtp->LoadTemplate($tempfile); @@ -242,7 +242,7 @@ class SgListView //创建封面模板文件 if ($this->TypeLink->TypeInfos['isdefault'] == -1) { - echo '这个类目是动态类目!'; + echo '这个类目是动态类目'; return ''; } diff --git a/src/include/arc.specview.class.php b/src/include/arc.specview.class.php index 4969cd9c..664164e8 100755 --- a/src/include/arc.specview.class.php +++ b/src/include/arc.specview.class.php @@ -70,7 +70,7 @@ class SpecView $this->CountRecord(); $tempfile = $GLOBALS['cfg_basedir'].$GLOBALS['cfg_templets_dir']."/".$GLOBALS['cfg_df_style']."/list_spec.htm"; if (!file_exists($tempfile) || !is_file($tempfile)) { - echo "模板文件不存在,无法解析文档!"; + echo "模板文件不存在,无法解析文档"; exit(); } $this->dtp->LoadTemplate($tempfile); diff --git a/src/include/arc.taglist.class.php b/src/include/arc.taglist.class.php index 8636986c..2ba6ef1f 100755 --- a/src/include/arc.taglist.class.php +++ b/src/include/arc.taglist.class.php @@ -74,7 +74,7 @@ class TagList $this->TagInfos = $this->dsql->GetOne("Select * From `#@__tagindex` where tag like '{$this->Tag}' "); if (!is_array($this->TagInfos)) { $fullsearch = $GLOBALS['cfg_phpurl']."/search.php?keyword=".$this->Tag."&searchtype=titlekeyword"; - $msg = "系统无此标签,可能已经移除!<br /><br />您还可以尝试通过搜索程序去搜索这个关键字:<a href='$fullsearch'>前往搜索&gt;&gt;</a>"; + $msg = "系统无此标签,可能已经移除<br /><br />您还可以尝试通过搜索程序去搜索这个关键字:<a href='$fullsearch'>前往搜索&gt;&gt;</a>"; ShowMsg($msg, "-1"); exit(); } @@ -92,7 +92,7 @@ class TagList //初始化模板 $tempfile = $GLOBALS['cfg_basedir'].$GLOBALS['cfg_templets_dir']."/".$GLOBALS['cfg_df_style'].'/'.$this->Templet; if (!file_exists($tempfile) || !is_file($tempfile)) { - echo "模板文件不存在,无法解析文档!"; + echo "模板文件不存在,无法解析文档"; exit(); } $this->dtp->LoadTemplate($tempfile); diff --git a/src/include/channelunit.class.php b/src/include/channelunit.class.php index b8182cbf..83b42dc1 100755 --- a/src/include/channelunit.class.php +++ b/src/include/channelunit.class.php @@ -36,7 +36,7 @@ class ChannelUnit $sql = " SELECT * FROM `#@__channeltype` WHERE id='$cid' "; $this->ChannelInfos = $this->dsql->GetOne($sql); if (!is_array($this->ChannelInfos)) { - echo '读取频道信息失败,无法进行后续操作!'; + echo '读取频道信息失败,无法进行后续操作'; exit(); } $dtp = new DedeTagParse(); @@ -152,7 +152,7 @@ class ChannelUnit $dtp->LoadSource($fvalue); if (!is_array($dtp->CTags)) { $dtp->Clear(); - return "无图片信息!"; + return "无图片信息"; } $ptag = $dtp->GetTag("pagestyle"); if (is_object($ptag)) { diff --git a/src/include/dedebiz.class.php b/src/include/dedebiz.class.php index d3ca81c0..b3eb3a45 100644 --- a/src/include/dedebiz.class.php +++ b/src/include/dedebiz.class.php @@ -265,7 +265,7 @@ class DedeBizClient } // 关闭通信接口 - // !!!一次页面操作后一定记得要关闭连接,否则会占用系统资源 + // 一次页面操作后一定记得要关闭连接,否则会占用系统资源 function Close() { // 这里避免重复释放 diff --git a/src/include/dedecollection.func.php b/src/include/dedecollection.func.php index f87f7aa6..388522e1 100755 --- a/src/include/dedecollection.func.php +++ b/src/include/dedecollection.func.php @@ -99,7 +99,7 @@ function DownImageKeep($gurl, $rfurl, $filename, $gcookie = "", $JumpCount = 0, $contentLength = $m_httphead['content-length']; //保存文件 - $fp = fopen($filename, "w") or die("写入文件:{$filename} 失败!"); + $fp = fopen($filename, "w") or die("写入文件:{$filename} 失败"); $i = 0; $okdata = ""; $starttime = time(); diff --git a/src/include/dedehttpdown.class.php b/src/include/dedehttpdown.class.php index d0426130..3a191fe2 100755 --- a/src/include/dedehttpdown.class.php +++ b/src/include/dedehttpdown.class.php @@ -226,7 +226,7 @@ class DedeHttpDown } if (@feof($this->m_fp)) { - $this->m_error = "连接已经关闭!"; + $this->m_error = "连接已经关闭"; return FALSE; } $fp = fopen($savefilename, "w"); @@ -497,7 +497,7 @@ class DedeHttpDown $this->JumpOpenUrl($newurl); } } else { - $this->m_error = "无法识别的答复!"; + $this->m_error = "无法识别的答复"; } } } diff --git a/src/include/dedemodule.class.php b/src/include/dedemodule.class.php index 750ecd4e..ea039ef1 100755 --- a/src/include/dedemodule.class.php +++ b/src/include/dedemodule.class.php @@ -54,7 +54,7 @@ class DedeModule { if (is_array($this->modules)) return $this->modules; - $dh = dir($this->modulesPath) or die("没找到模块目录:({$this->modulesPath})!"); + $dh = dir($this->modulesPath) or die("没找到模块目录:({$this->modulesPath})"); $fp = @fopen($this->modulesPath.'/modulescache.php', 'w') or die('读取文件权限出错,目录文件'.$this->modulesPath.'/modulescache.php不可写!'); @@ -284,7 +284,7 @@ class DedeModule $filename = $hashcode."-{$ntype}.php"; $fname = $this->modulesPath.'/'.$filename; $filect = $this->GetSystemFile($hashcode, $ntype); - $fp = fopen($fname, 'w') or die('生成 {$ntype} 文件失败!'); + $fp = fopen($fname, 'w') or die('生成 {$ntype} 文件失败'); fwrite($fp, $filect); fclose($fp); return $filename; @@ -449,7 +449,7 @@ class DedeModule } } if (!empty($filename)) { - $fw = fopen($filename, 'w') or die("写入文件 {$filename} 失败,请检查相关目录的权限!"); + $fw = fopen($filename, 'w') or die("写入文件 {$filename} 失败,请检查相关目录的权限"); $ct = ''; while (!feof($fp)) { $l = fgets($fp, 1024); diff --git a/src/include/dedesqli.class.php b/src/include/dedesqli.class.php index fc5a7f80..207b9fdc 100755 --- a/src/include/dedesqli.class.php +++ b/src/include/dedesqli.class.php @@ -130,7 +130,7 @@ class DedeSqli //处理错误,成功连接则选择数据库 if (!$this->linkID) { - $this->DisplayError("DedeBIZ错误警告:<font color='red'>连接数据库失败,可能数据库密码不对或数据库服务器出错!</font>"); + $this->DisplayError("DedeBIZ错误警告:<font color='red'>连接数据库失败,可能数据库密码不对或数据库服务器出错</font>"); exit(); } $this->isInit = TRUE; diff --git a/src/include/dedesqlite.class.php b/src/include/dedesqlite.class.php index 6f8de12e..04259d69 100755 --- a/src/include/dedesqlite.class.php +++ b/src/include/dedesqlite.class.php @@ -112,7 +112,7 @@ class DedeSqlite //处理错误,成功连接则选择数据库 if (!$this->linkID) { - $this->DisplayError("DedeBIZ错误警告:<font color='red'>连接数据库失败,可能数据库密码不对或数据库服务器出错!</font>"); + $this->DisplayError("DedeBIZ错误警告:<font color='red'>连接数据库失败,可能数据库密码不对或数据库服务器出错</font>"); exit(); } $this->isInit = TRUE; diff --git a/src/include/dedetag.class.php b/src/include/dedetag.class.php index d76574ed..c2be6e47 100755 --- a/src/include/dedetag.class.php +++ b/src/include/dedetag.class.php @@ -807,7 +807,7 @@ class DedeTagParse //not found end tag , error if ($endPos == -1) { - echo "Tag Character postion $sPos, '$tTagName' Error!<br />\r\n"; + echo "Tag Character postion $sPos, '$tTagName' Error<br />\r\n"; break; } $i = $elen; diff --git a/src/include/dedetemplate.class.php b/src/include/dedetemplate.class.php index 107bd411..5c99bf35 100755 --- a/src/include/dedetemplate.class.php +++ b/src/include/dedetemplate.class.php @@ -661,7 +661,7 @@ class DedeTemplate //如果找不到结束标记,则认为这个标记存在错误 if ($endPos == -1) { - echo "Tpl Character postion $tagPos, '$ttagName' Error!<br />\r\n"; + echo "Tpl Character postion $tagPos, '$ttagName' Error<br />\r\n"; break; } $i = $elen; diff --git a/src/include/dedevote.class.php b/src/include/dedevote.class.php index 8196efae..b257dcc3 100755 --- a/src/include/dedevote.class.php +++ b/src/include/dedevote.class.php @@ -156,7 +156,7 @@ class DedeVote { global $ENV_GOBACK_URL, $file, $memberID, $row, $content; if (empty($voteitem)) { - return '您没选中任何项目!'; + return '您没选中任何项目'; } $items = ''; @@ -164,11 +164,11 @@ class DedeVote $nowtime = time(); if ($nowtime > $this->VoteInfos['endtime']) { - ShowMsg('投票已经过期!', $ENV_GOBACK_URL); + ShowMsg('投票已经过期', $ENV_GOBACK_URL); exit(); } if ($nowtime < $this->VoteInfos['starttime']) { - ShowMsg('投票还没有开始!', $ENV_GOBACK_URL); + ShowMsg('投票还没有开始', $ENV_GOBACK_URL); exit(); } @@ -231,7 +231,7 @@ class DedeVote } } $this->dsql->ExecuteNoneQuery("UPDATE `#@__vote` SET totalcount='".($this->VoteInfos['totalcount'] + 1)."',votenote='".addslashes($items)."' WHERE aid='".$this->VoteID."'"); - return "投票成功!"; + return "投票成功"; } /** diff --git a/src/include/enums.func.php b/src/include/enums.func.php index 15c6e604..c7dd8873 100755 --- a/src/include/enums.func.php +++ b/src/include/enums.func.php @@ -50,7 +50,7 @@ function WriteEnumsCache($egroup = '') fclose($fp); if (empty($issign)) WriteEnumsJs($egroup); } - return '成功更新所有枚举缓存!'; + return '成功更新所有枚举缓存'; } /** diff --git a/src/include/helpers/extend.helper.php b/src/include/helpers/extend.helper.php index bd1ee8ef..8be892cb 100755 --- a/src/include/helpers/extend.helper.php +++ b/src/include/helpers/extend.helper.php @@ -31,7 +31,7 @@ if (!function_exists('ParCv')) { if (!function_exists('ParamError')) { function ParamError() { - ShowMsg('对不起,您输入的参数有误!', 'javascript:;'); + ShowMsg('对不起,您输入的参数有误', 'javascript:;'); exit(); } } diff --git a/src/include/helpers/file.helper.php b/src/include/helpers/file.helper.php index f544206d..b6d5023b 100755 --- a/src/include/helpers/file.helper.php +++ b/src/include/helpers/file.helper.php @@ -59,16 +59,16 @@ if (!function_exists('OpenFtp')) { global $cfg_basedir, $cfg_ftp_host, $cfg_ftp_port, $cfg_ftp_user, $cfg_ftp_pwd, $cfg_ftp_root, $g_ftpLink; if (!$g_ftpLink) { if ($cfg_ftp_host == '') { - echo "由于您的站点的PHP配置存在限制,程序尝试用FTP进行目录操作,您必须在后台指定FTP相关的变量!"; + echo "由于您的站点的PHP配置存在限制,程序尝试用FTP进行目录操作,您必须在后台指定FTP相关的变量"; exit(); } $g_ftpLink = ftp_connect($cfg_ftp_host, $cfg_ftp_port); if (!$g_ftpLink) { - echo "连接FTP失败!"; + echo "连接FTP失败"; exit(); } if (!ftp_login($g_ftpLink, $cfg_ftp_user, $cfg_ftp_pwd)) { - echo "登录FTP失败!"; + echo "登录FTP失败"; exit(); } } diff --git a/src/include/helpers/upload.helper.php b/src/include/helpers/upload.helper.php index cd85271d..8cbdc3e1 100755 --- a/src/include/helpers/upload.helper.php +++ b/src/include/helpers/upload.helper.php @@ -120,23 +120,23 @@ if (!function_exists('MemberUploads')) { //源文件类型检查 if ($utype == 'image') { if (!preg_match("/\.(".$cfg_imgtype.")$/", $GLOBALS[$upname.'_name'])) { - ShowMsg("您所上传的图片类型不在许可列表,请上传{$cfg_imgtype}类型!", '-1'); + ShowMsg("您所上传的图片类型不在许可列表,请上传{$cfg_imgtype}类型", '-1'); exit(); } $sparr = array("image/pjpeg", "image/jpeg", "image/gif", "image/png", "image/xpng", "image/wbmp"); $imgfile_type = strtolower(trim($GLOBALS[$upname.'_type'])); if (!in_array($imgfile_type, $sparr)) { - ShowMsg('上传的图片格式错误,请使用JPEG、GIF、PNG、WBMP格式的其中一种!', '-1'); + ShowMsg('上传的图片格式错误,请使用JPEG、GIF、PNG、WBMP格式的其中一种', '-1'); exit(); } } else if ($utype == 'flash' && !preg_match("/\.swf$/", $GLOBALS[$upname.'_name'])) { - ShowMsg('上传的文件必须为flash文件!', '-1'); + ShowMsg('上传的文件必须为flash文件', '-1'); exit(); } else if ($utype == 'media' && !preg_match("/\.(".$cfg_mediatype.")$/", $GLOBALS[$upname.'_name'])) { ShowMsg('您所上传的文件类型必须为:'.$cfg_mediatype, '-1'); exit(); } else if (!preg_match("/\.(".$allAllowType.")$/", $GLOBALS[$upname.'_name'])) { - ShowMsg("您所上传的文件类型不被允许!", '-1'); + ShowMsg("您所上传的文件类型不被允许", '-1'); exit(); } //再次严格检测文件扩展名是否符合系统定义的类型 @@ -144,12 +144,12 @@ if (!function_exists('MemberUploads')) { $sname = $fs[count($fs) - 1]; $alltypes = explode('|', $allAllowType); if (!in_array(strtolower($sname), $alltypes)) { - ShowMsg('您所上传的文件类型不被允许!', '-1'); + ShowMsg('您所上传的文件类型不被允许', '-1'); exit(); } //强制禁止的文件类型 if (preg_match("/(asp|php|pl|cgi|shtm|js)$/", $sname)) { - ShowMsg('您上传的文件为系统禁止的类型!', '-1'); + ShowMsg('您上传的文件为系统禁止的类型', '-1'); exit(); } if ($exname == '') { @@ -157,12 +157,12 @@ if (!function_exists('MemberUploads')) { } else { $filename = $cfg_user_dir."/{$userid}/{$exname}.".$sname; } - move_uploaded_file($GLOBALS[$upname], $cfg_basedir.$filename) or die("上传文件到 {$filename} 失败!"); + move_uploaded_file($GLOBALS[$upname], $cfg_basedir.$filename) or die("上传文件到 {$filename} 失败"); @unlink($GLOBALS[$upname]); if (@filesize($cfg_basedir.$filename) > $GLOBALS['cfg_mb_upload_size'] * 1024) { @unlink($cfg_basedir.$filename); - ShowMsg('您上传的文件超出系统大小限制!', '-1'); + ShowMsg('您上传的文件超出系统大小限制', '-1'); exit(); } diff --git a/src/include/inc/inc_fun_funAdmin.php b/src/include/inc/inc_fun_funAdmin.php index 4c0f36f2..c962a5e4 100755 --- a/src/include/inc/inc_fun_funAdmin.php +++ b/src/include/inc/inc_fun_funAdmin.php @@ -110,7 +110,7 @@ function SpCreateDir($spath) $isok = ChmodAll($truepath, $cfg_dir_purview); } if (!$isok) { - echo "创建或修改目录:".$truepath." 失败!<br>"; + echo "创建或修改目录:".$truepath." 失败<br>"; CloseFtp(); return false; } diff --git a/src/include/memberlogin.class.php b/src/include/memberlogin.class.php index 41c38036..ecd4b43a 100755 --- a/src/include/memberlogin.class.php +++ b/src/include/memberlogin.class.php @@ -26,11 +26,11 @@ function CheckUserID($uid, $msgtitle = '用户名', $ckhas = TRUE) if ($cfg_mb_notallow != '') { $nas = explode(',', $cfg_mb_notallow); if (in_array($uid, $nas)) { - return $msgtitle.'为系统禁止的标识!'; + return $msgtitle.'为系统禁止的标识'; } } if ($cfg_md_idurl == 'Y' && preg_match("/[^a-z0-9]/i", $uid)) { - return $msgtitle.'必须由英文字母或数字组成!'; + return $msgtitle.'必须由英文字母或数字组成'; } if ($cfg_soft_lang == 'utf-8') { @@ -44,17 +44,17 @@ function CheckUserID($uid, $msgtitle = '用户名', $ckhas = TRUE) if (isset($ck_uid[$i + 1]) && ord($ck_uid[$i + 1]) > 0x40) { $i++; } else { - return $msgtitle.'可能含有乱码,建议您改用英文字母和数字组合!'; + return $msgtitle.'可能含有乱码,建议您改用英文字母和数字组合'; } } else { if (preg_match("/[^0-9a-z@\.-]/i", $ck_uid[$i])) { - return $msgtitle.'不能含有 [@]、[.]、[-]以外的特殊符号!'; + return $msgtitle.'不能含有 [@]、[.]、[-]以外的特殊符号'; } } } if ($ckhas) { $row = $dsql->GetOne("SELECT * FROM `#@__member` WHERE userid LIKE '$uid' "); - if (is_array($row)) return $msgtitle."已经存在!"; + if (is_array($row)) return $msgtitle."已经存在"; } return 'ok'; } @@ -69,13 +69,13 @@ function CheckNotAllow() global $dsql, $cfg_ml, $cfg_mb_spacesta; if (empty($cfg_ml->M_ID)) return; if ($cfg_ml->M_Spacesta == -2) { - ShowMsg("您已经被禁言,请与管理员联系!", "-1"); + ShowMsg("您已经被禁言,请与管理员联系", "-1"); exit(); } else if ($cfg_ml->M_Spacesta == -10) { - ShowMsg("系统开启了邮件审核机制,因此您的帐号需要审核后才能发信息!", "-1"); + ShowMsg("系统开启了邮件审核机制,因此您的帐号需要审核后才能发信息", "-1"); exit(); } else if ($cfg_ml->M_Spacesta < 0) { - ShowMsg('系统开启了审核机制,因此您的帐号需要管理员审核后才能发信息!', '-1'); + ShowMsg('系统开启了审核机制,因此您的帐号需要管理员审核后才能发信息', '-1'); exit(); } } @@ -264,7 +264,7 @@ class MemberLogin $hasuse = $this->GetUserSpace(); $maxSize = $cfg_mb_max * 1024 * 1024; if ($hasuse >= $maxSize) { - ShowMsg('您的空间已满,不允许上传新文件!', '-1'); + ShowMsg('您的空间已满,不允许上传新文件', '-1'); exit(); } } diff --git a/src/include/payment/alipay.php b/src/include/payment/alipay.php index 349b4ae4..7304c9bf 100755 --- a/src/include/payment/alipay.php +++ b/src/include/payment/alipay.php @@ -156,7 +156,7 @@ class Alipay $pid=$row['pid']; $this->mid = $row['mid']; } else { - return $msg = "支付失败,您的订单号有问题!"; + return $msg = "支付失败,您的订单号有问题"; } /* 检查数字签名是否正确 */ @@ -183,14 +183,14 @@ class Alipay { if($ordertype=="goods"){ if($this->success_db($order_sn)) return $msg = "支付成功!<br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; - else return $msg = "支付失败!<br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; + else return $msg = "支付失败<br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; } else if ( $ordertype=="member" ) { $oldinf = $this->success_mem($order_sn,$pname,$product,$pid); return $msg = "<font color='red'>".$oldinf."</font><br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; } } else { $this->log_result ("verify_failed"); - return $msg = "支付失败!<br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; + return $msg = "支付失败<br> <a href='/'>返回主页</a> <a href='/member'>会员中心</a>"; } } @@ -232,7 +232,7 @@ class Alipay $nrow = $this->dsql->GetOne("SELECT num FROM #@__moneycard_type WHERE pname = '{$pname}'"); $dnum = $nrow['num']; $sql1 = "UPDATE `#@__member` SET `money`=money+'{$nrow['num']}' WHERE `mid`='".$this->mid."'"; - $oldinf ="已经充值了".$nrow['num']."金币到您的帐号!"; + $oldinf ="已经充值了".$nrow['num']."金币到您的帐号"; } else { $cardid = $row['cardid']; $sql1=" UPDATE #@__moneycard_record SET uid='".$this->mid."',isexp='1',utime='".time()."' WHERE cardid='$cardid' "; @@ -246,7 +246,7 @@ class Alipay return $oldinf; } else { $this->log_result ("verify_failed,订单号:".$order_sn);//将验证结果存入文件 - return "支付失败!"; + return "支付失败"; } /* 改变会员订单状态_支付成功 */ } else if ( $product=="member" ){ @@ -272,10 +272,10 @@ class Alipay if($this->dsql->ExecuteNoneQuery($sql1) && $this->dsql->ExecuteNoneQuery($sql2)) { $this->log_result("verify_success,订单号:".$order_sn); //将验证结果存入文件 - return "会员升级成功!"; + return "会员升级成功"; } else { $this->log_result ("verify_failed,订单号:".$order_sn);//将验证结果存入文件 - return "会员升级失败!"; + return "会员升级失败"; } } } diff --git a/src/include/payment/yeepay.php b/src/include/payment/yeepay.php index 6e3d80c4..b69572d5 100755 --- a/src/include/payment/yeepay.php +++ b/src/include/payment/yeepay.php @@ -364,7 +364,7 @@ class yeepay $nrow = $this->dsql->GetOne("SELECT num FROM #@__moneycard_type WHERE pname = '{$pname}'"); $dnum = $nrow['num']; $sql1 = "UPDATE `#@__member` SET `money`=money+'{$nrow['num']}' WHERE `mid`='".$this->mid."'"; - $oldinf ="已经充值了".$nrow['num']."金币到您的帐号!"; + $oldinf ="已经充值了".$nrow['num']."金币到您的帐号"; } else { $cardid = $row['cardid']; $sql1=" UPDATE #@__moneycard_record SET uid='".$this->mid."',isexp='1',utime='".time()."' WHERE cardid='$cardid' "; @@ -378,7 +378,7 @@ class yeepay return $oldinf; } else { $this->log_result ("verify_failed,订单号:".$order_sn);//将验证结果存入文件 - return "支付失败!"; + return "支付失败"; } /* 改变会员订单状态_支付成功 */ } else if ( $product=="member" ){ @@ -404,10 +404,10 @@ class yeepay if($this->dsql->ExecuteNoneQuery($sql1) && $this->dsql->ExecuteNoneQuery($sql2)) { $this->log_result("verify_success,订单号:".$order_sn); //将验证结果存入文件 - return "会员升级成功!"; + return "会员升级成功"; } else { $this->log_result ("verify_failed,订单号:".$order_sn);//将验证结果存入文件 - return "会员升级失败!"; + return "会员升级失败"; } } } diff --git a/src/include/taglib/channel/img.lib.php b/src/include/taglib/channel/img.lib.php index 452d46d5..df68c9e8 100755 --- a/src/include/taglib/channel/img.lib.php +++ b/src/include/taglib/channel/img.lib.php @@ -19,7 +19,7 @@ function ch_img($fvalue, &$arcTag, &$refObj, $fname = '') $dtp->LoadSource($fvalue); if (!is_array($dtp->CTags)) { $dtp->Clear(); - return "无图片信息!"; + return "无图片信息"; } $pagestyle = $cfg_album_style; $maxwidth = $cfg_album_width; diff --git a/src/include/taglib/channel/softlinks.lib.php b/src/include/taglib/channel/softlinks.lib.php index fb60402b..6b32a212 100755 --- a/src/include/taglib/channel/softlinks.lib.php +++ b/src/include/taglib/channel/softlinks.lib.php @@ -47,7 +47,7 @@ function ch_softlinks_all($fvalue, &$ctag, &$refObj, &$row) $dtp->LoadSource($fvalue); if (!is_array($dtp->CTags)) { $dtp->Clear(); - return "无链接信息!"; + return "无链接信息"; } // 去除链接信息 if (!empty($row['sites'])) { diff --git a/src/include/taglib/infoguide.lib.php b/src/include/taglib/infoguide.lib.php index 278fba36..c8c19aa1 100755 --- a/src/include/taglib/infoguide.lib.php +++ b/src/include/taglib/infoguide.lib.php @@ -24,7 +24,7 @@ function lib_infoguide(&$ctag, &$refObj) $row = $dsql->GetOne("SELECT id FROM `#@__arctype` WHERE channeltype='-8' And reid = '0' "); $typeid = (is_array($row) ? $row['id'] : 0); if (empty($typeid)) { - return '请指定一个栏目类型为“分类信息”,否则无法使用这个搜索表单!'; + return '请指定一个栏目类型为“分类信息”,否则无法使用这个搜索表单'; } } else { $typeid = $refObj->Fields['typeid']; diff --git a/src/include/typelink.class.php b/src/include/typelink.class.php index fe7c4461..a49779f5 100755 --- a/src/include/typelink.class.php +++ b/src/include/typelink.class.php @@ -119,7 +119,7 @@ class TypeLink if ($islink) { return $indexpage; } else { - return "没指定分类!"; + return "没指定分类"; } } else { if ($islink) { diff --git a/src/include/userlogin.class.php b/src/include/userlogin.class.php index a6d5a943..cdca3ed9 100755 --- a/src/include/userlogin.class.php +++ b/src/include/userlogin.class.php @@ -55,7 +55,7 @@ function TestPurview($n) function CheckPurview($n) { if (!TestPurview($n)) { - ShowMsg("对不起,您没有权限执行此操作!<br/><br/><a href='javascript:history.go(-1);'>点击此返回上一页&gt;&gt;</a>", 'javascript:;'); + ShowMsg("对不起,您没有权限执行此操作<br/><br/><a href='javascript:history.go(-1);'>点击此返回上一页&gt;&gt;</a>", 'javascript:;'); exit(); } } diff --git a/src/install/index.php b/src/install/index.php index a47c3b00..3e51c274 100644 --- a/src/install/index.php +++ b/src/install/index.php @@ -27,7 +27,7 @@ foreach(Array('_GET','_POST','_COOKIE') as $_request) require_once(DEDEINC.'/common.func.php'); if(file_exists(INSLOCKFILE)) { - exit(" 程序已运行安装,如果您确定要重新安装,请先从FTP中删除 install/install_lock.txt!"); + exit(" 程序已运行安装,如果您确定要重新安装,请先从FTP中删除 install/install_lock.txt"); } if(empty($step)) { @@ -103,9 +103,9 @@ else if($step==2) $db = new SQLite3(DEDEDATA.'/'.$dbname.'.db'); } else { $dbtype = 'mysql'; - $conn = mysql_connect($dbhost,$dbuser,$dbpwd) or die("<script>alert('数据库服务器或登录密码无效,\\n\\n无法连接数据库,请重新设定!');history.go(-1);</script>"); + $conn = mysql_connect($dbhost,$dbuser,$dbpwd) or die("<script>alert('数据库服务器或登录密码无效,\\n\\n无法连接数据库,请重新设定');history.go(-1);</script>"); mysql_query("CREATE DATABASE IF NOT EXISTS `".$dbname."`;",$conn); - mysql_select_db($dbname, $conn) or die("<script>alert('选择数据库失败,可能是您没权限,请预先创建一个数据库!');history.go(-1);</script>"); + mysql_select_db($dbname, $conn) or die("<script>alert('选择数据库失败,可能是您没权限,请预先创建一个数据库');history.go(-1);</script>"); //获得数据库版本信息 $rs = mysql_query("SELECT VERSION();",$conn); $row = mysql_fetch_array($rs); @@ -128,7 +128,7 @@ else if($step==2) $configStr1 = str_replace("~dbprefix~",$dbprefix,$configStr1); $configStr1 = str_replace("~dblang~",$dblang,$configStr1); @chmod(DEDEDATA,0777); - $fp = fopen(DEDEDATA."/common.inc.php","w") or die("<script>alert('写入配置失败,请检查../data目录是否可写入!');history.go(-1);</script>"); + $fp = fopen(DEDEDATA."/common.inc.php","w") or die("<script>alert('写入配置失败,请检查../data目录是否可写入');history.go(-1);</script>"); fwrite($fp,$configStr1); fclose($fp); //config.cache.inc.php @@ -295,7 +295,7 @@ else if($step==10) } else { $result = array( "code" => -1, - "data" => "数据库连接失败!", + "data" => "数据库连接失败", ); echo json_encode($result); } diff --git a/src/install/install.inc.php b/src/install/install.inc.php index e65e3b5c..5ecde389 100755 --- a/src/install/install.inc.php +++ b/src/install/install.inc.php @@ -66,7 +66,7 @@ function ReWriteConfigAuto() global $dsql; $configfile = DEDEDATA.'/config.cache.inc.php'; if (!is_writeable($configfile)) { - echo "配置文件'{$configfile}'不支持写入,无法修改系统配置参数!"; + echo "配置文件'{$configfile}'不支持写入,无法修改系统配置参数"; //ClearAllLink(); exit(); } diff --git a/src/install/sql-dfdata.txt b/src/install/sql-dfdata.txt index 985d9326..63926917 100755 --- a/src/install/sql-dfdata.txt +++ b/src/install/sql-dfdata.txt @@ -568,7 +568,7 @@ INSERT INTO `#@__payment` VALUES('3','alipay','支付宝','2','支付宝网站(w ('1','cod','货到付款','0','开通城市:×××\t\n货到付款区域:×××','3','a:0:{}','1','1','0'), ('6','yeepay','YeePay易宝','12','YeePay易宝(北京通融通信息技术有限公司)是专业从事多元化电子支付业务一站式服务的领跑者。在立足于网上支付的同时,YeePay易宝不断创新,将互联网、手机、固定电话整合在一个平台上,继短信支付、手机充值之后,首家推出了YeePay易宝电话支付业务,真正实现了离线支付,为更多传统行业搭建了电子支付的高速公路。YeePay易宝融合世界先进的电子支付文化,聚合众多金融、电信、IT、互联网等领域内的巨擘,旨在通过创新的支付机制,推动中国电子商务新进程。YeePay易宝致力于成为世界一流的电子支付应用和服务提供商,专注于金融增值服务和移动增值服务两大领域,创新并推广多元化、低成本的、安全有效的支付服务。<input type="button" name="Submit" value="立即注册" onclick="window.open("https://www.yeepay.com/selfservice/requestRegister.action")" />','2','a:2:{s:10:"yp_account";a:4:{s:5:"title";s:8:"商户编号";s:11:"description";s:0:"";s:4:"type";s:4:"text";s:5:"value";s:2:"aa";}s:6:"yp_key";a:4:{s:5:"title";s:8:"商户密钥";s:11:"description";s:0:"";s:4:"type";s:4:"text";s:5:"value";s:3:"dsa";}}','1','0','1'); -INSERT INTO `#@__softconfig` VALUES('0','1','1','1','http://www.aaa.com | 镜像地址一\t\nhttp://www.bbb.com | 镜像地址二\t\nhttp://www.ccc.com | 镜像地址三\t\n','<p> ■ 推荐使用第三方专业下载工具下载本站软件,使用 WinRAR v3.10 以上版本解压本站软件。<br />\t\n ■ 如果这个软件总是不能下载的请点击报告错误,谢谢合作!!<br />\t\n ■ 下载本站资源,如果服务器暂不能下载请过一段时间重试!<br />\t\n ■ 如果遇到什么问题,请到本站论坛去咨寻,我们将在那里提供更多 、更好的资源!<br />\t\n ■ 本站提供的一些商业软件是供学习研究之用,如用于商业用途,请购买正版。</p>','0','0','0','0'); +INSERT INTO `#@__softconfig` VALUES('0','1','1','1','http://www.aaa.com | 镜像地址一\t\nhttp://www.bbb.com | 镜像地址二\t\nhttp://www.ccc.com | 镜像地址三\t\n','<p> ■ 推荐使用第三方专业下载工具下载本站软件,使用 WinRAR v3.10 以上版本解压本站软件。<br />\t\n ■ 如果这个软件总是不能下载的请点击报告错误,谢谢合作!!<br />\t\n ■ 下载本站资源,如果服务器暂不能下载请过一段时间重试<br />\t\n ■ 如果遇到什么问题,请到本站论坛去咨寻,我们将在那里提供更多 、更好的资源<br />\t\n ■ 本站提供的一些商业软件是供学习研究之用,如用于商业用途,请购买正版。</p>','0','0','0','0'); INSERT INTO `#@__stepselect` VALUES('1','血型','blood','1','1'), ('2','体型','bodytype','1','1'), diff --git a/src/member/album_add.php b/src/member/album_add.php index 3a21ce7b..9fa4bba1 100755 --- a/src/member/album_add.php +++ b/src/member/album_add.php @@ -14,11 +14,11 @@ require_once(dirname(__FILE__)."/config.php"); //考虑安全原因不管是否开启游客投稿功能,都不允许用户对图集投稿 CheckRank(0, 0); if ($cfg_mb_lit == 'Y') { - ShowMsg("由于系统开启了精简版会员空间,您访问的功能不可用!", "-1"); + ShowMsg("由于系统开启了精简版会员空间,您访问的功能不可用", "-1"); exit(); } if ($cfg_mb_album == 'N') { - ShowMsg("对不起,由于系统关闭了图集功能,您访问的功能不可用!", "-1"); + ShowMsg("对不起,由于系统关闭了图集功能,您访问的功能不可用", "-1"); exit(); } require_once(DEDEINC."/dedetag.class.php"); @@ -45,11 +45,11 @@ if (empty($dopost)) { //检查会员等级和类型限制 if ($cInfos['sendrank'] > $cfg_ml->M_Rank) { $row = $dsql->GetOne("Select membername From `#@__arcrank` where rank='".$cInfos['sendrank']."' "); - ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档", "-1", "0", 5000); exit(); } if ($cInfos['usertype'] != '' && $cInfos['usertype'] != $cfg_ml->M_MbType) { - ShowMsg("对不起,需要[".$cInfos['usertype']."帐号]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$cInfos['usertype']."帐号]才能在这个频道发布文档", "-1", "0", 5000); exit(); } include(DEDEMEMBER."/templets/album_add.htm"); @@ -65,7 +65,7 @@ function _SaveArticle(){ } if (preg_match("/1/", $safe_gdopen)) { if (strtolower($vdcode) != $svali || $svali == '') { ResetVdValue(); - ShowMsg('验证码错误!', '-1'); + ShowMsg('验证码错误', '-1'); exit(); } } @@ -124,7 +124,7 @@ function _SaveArticle(){ } // 这里对前台提交的附加数据进行一次校验 $fontiterm = PrintAutoFieldsAdd($cInfos['fieldset'], 'autofield', FALSE); if ($fontiterm != $inadd_f) { - ShowMsg("提交表单同系统配置不相符,请重新提交!", "-1"); + ShowMsg("提交表单同系统配置不相符,请重新提交", "-1"); exit(); } } @@ -132,7 +132,7 @@ function _SaveArticle(){ } //生成文档ID $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $mid); if (empty($arcID)) { - ShowMsg("无法获得主键,因此无法进行后续操作!", "-1"); + ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); exit(); } $description = HtmlReplace($description, -1); @@ -154,7 +154,7 @@ VALUES ('$arcID','$typeid','$sortrank','$flag','$ismake','$channelid','$arcrank' if (empty($addtable)) { $dsql->ExecuteNoneQuery("DELETE FROM `#@__archives` WHERE id='$arcID'"); $dsql->ExecuteNoneQuery("DELETE FROM `#@__arctiny` WHERE id='$arcID'"); - ShowMsg("没找到当前模型[{$channelid}]的主表信息,无法完成操作!。", "javascript:;"); + ShowMsg("没找到当前模型[{$channelid}]的主表信息,无法完成操作。", "javascript:;"); exit(); } else { $query = "INSERT INTO `$addtable`(aid,typeid,userip,redirecturl,templet,pagestyle,maxwidth,imgurls,row,col,isrm,ddmaxwidth,pagepicnum{$inadd_f}) @@ -163,7 +163,7 @@ VALUES ('$arcID','$typeid','$sortrank','$flag','$ismake','$channelid','$arcrank' $gerr = $dsql->GetError(); $dsql->ExecuteNoneQuery("DELETE FROM `#@__archives` WHERE id='$arcID'"); $dsql->ExecuteNoneQuery("DELETE FROM `#@__arctiny` WHERE id='$arcID'"); - ShowMsg("把数据保存到数据库附加表 `{$addtable}` 时出错,请联系管理员!".$gerr, "javascript:;"); + ShowMsg("把数据保存到数据库附加表 `{$addtable}` 时出错,请联系管理员".$gerr, "javascript:;"); exit(); } } @@ -191,7 +191,7 @@ VALUES ('$arcID','$typeid','$sortrank','$flag','$ismake','$channelid','$arcrank' &nbsp;&nbsp; <a href='content_list.php?channelid={$channelid}' class='btn btn-secondary btn-sm'>已发布图集管理</a> "; - $wintitle = "成功发布图集!"; + $wintitle = "成功发布图集"; $wecome_info = "图集管理::发布图集"; $win = new OxWindow(); $win->AddTitle("成功发布图集:"); diff --git a/src/member/album_edit.php b/src/member/album_edit.php index 48e7e0c3..435cd30a 100755 --- a/src/member/album_edit.php +++ b/src/member/album_edit.php @@ -12,11 +12,11 @@ require_once(dirname(__FILE__)."/config.php"); CheckRank(0, 0); if ($cfg_mb_lit == 'Y') { - ShowMsg("由于系统开启了精简版会员空间,您访问的功能不可用!", "-1"); + ShowMsg("由于系统开启了精简版会员空间,您访问的功能不可用", "-1"); exit(); } if ($cfg_mb_album == 'N') { - ShowMsg("对不起,由于系统关闭了图集功能,您访问的功能不可用!", "-1"); + ShowMsg("对不起,由于系统关闭了图集功能,您访问的功能不可用", "-1"); exit(); } require_once(DEDEINC."/dedetag.class.php"); @@ -44,7 +44,7 @@ if (empty($dopost)) { $dtime = time(); $maxtime = $cfg_mb_editday * 24 * 3600; if ($dtime - $row['senddate'] > $maxtime) { - ShowMsg("这篇文档已经锁定,您不能再修改它!", "-1"); + ShowMsg("这篇文档已经锁定,您不能再修改它", "-1"); exit(); } } @@ -64,7 +64,7 @@ function _Save(){ } if (preg_match("/1/", $safe_gdopen)) { if (strtolower($vdcode) != $svali || $svali == '') { ResetVdValue(); - ShowMsg('验证码错误!', '-1'); + ShowMsg('验证码错误', '-1'); exit(); } } @@ -119,7 +119,7 @@ function _Save(){ } // 这里对前台提交的附加数据进行一次校验 $fontiterm = PrintAutoFieldsAdd($cInfos['fieldset'], 'autofield', FALSE); if ($fontiterm != $inadd_m) { - ShowMsg("提交表单同系统配置不相符,请重新提交!", "-1"); + ShowMsg("提交表单同系统配置不相符,请重新提交", "-1"); exit(); } } @@ -138,7 +138,7 @@ function _Save(){ } flag='$flag' WHERE id='$aid' AND mid='$mid'; "; if (!$dsql->ExecuteNoneQuery($upQuery)) { - ShowMsg("把数据保存到数据库主表时出错,请联系管理员!".$dsql->GetError(), "-1"); + ShowMsg("把数据保存到数据库主表时出错,请联系管理员".$dsql->GetError(), "-1"); exit(); } @@ -158,7 +158,7 @@ function _Save(){ } isrm='$isrm'{$inadd_f} WHERE aid='$aid'; "; if (!$dsql->ExecuteNoneQuery($query)) { - ShowMsg("更新附加表 `$addtable` 时出错,请联系管理员!".$dsql->GetError(), "javascript:;"); + ShowMsg("更新附加表 `$addtable` 时出错,请联系管理员".$dsql->GetError(), "javascript:;"); exit(); } } @@ -179,7 +179,7 @@ function _Save(){ } &nbsp;&nbsp; <a href='content_list.php?channelid=$channelid' class='btn btn-secondary btn-sm'>管理图集</a> "; - $wintitle = "成功更改图集!"; + $wintitle = "成功更改图集"; $wecome_info = "图集管理::更改图集"; $win = new OxWindow(); $win->AddTitle("成功更改图集:"); diff --git a/src/member/archives_add.php b/src/member/archives_add.php index 412f3be7..b36d9aff 100755 --- a/src/member/archives_add.php +++ b/src/member/archives_add.php @@ -38,11 +38,11 @@ if (empty($dopost)) { //检查会员等级和类型限制 if ($cInfos['sendrank'] > $cfg_ml->M_Rank) { $row = $dsql->GetOne("Select membername From `#@__arcrank` where rank='".$cInfos['sendrank']."' "); - ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档", "-1", "0", 5000); exit(); } if ($cInfos['usertype'] != '' && $cInfos['usertype'] != $cfg_ml->M_MbType) { - ShowMsg("对不起,需要[".$cInfos['usertype']."帐号]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$cInfos['usertype']."帐号]才能在这个频道发布文档", "-1", "0", 5000); exit(); } include(DEDEMEMBER."/templets/archives_add.htm"); @@ -83,7 +83,7 @@ function _SaveArticle(){ } // 这里对前台提交的附加数据进行一次校验 $fontiterm = PrintAutoFieldsAdd($cInfos['fieldset'], 'autofield', FALSE); if ($fontiterm != $inadd_f) { - ShowMsg("提交表单同系统配置不相符,请重新提交!", "-1"); + ShowMsg("提交表单同系统配置不相符,请重新提交", "-1"); exit(); } } @@ -94,7 +94,7 @@ function _SaveArticle(){ } //生成文档ID $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $mid); if (empty($arcID)) { - ShowMsg("无法获得主键,因此无法进行后续操作!", "-1"); + ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); exit(); } @@ -123,7 +123,7 @@ VALUES ('$arcID','$typeid','$sortrank','$flag','$ismake','$channelid','$arcrank' $gerr = $dsql->GetError(); $dsql->ExecuteNoneQuery("Delete From `#@__archives` where id='$arcID'"); $dsql->ExecuteNoneQuery("Delete From `#@__arctiny` where id='$arcID'"); - ShowMsg("把数据保存到数据库附加表 `{$addtable}` 时出错<br>error:{$gerr},请联系管理员!", "javascript:;"); + ShowMsg("把数据保存到数据库附加表 `{$addtable}` 时出错<br>error:{$gerr},请联系管理员", "javascript:;"); exit(); } } @@ -153,7 +153,7 @@ VALUES ('$arcID','$typeid','$sortrank','$flag','$ismake','$channelid','$arcrank' &nbsp;&nbsp; <a href='content_list.php?channelid={$channelid}' class='btn btn-secondary btn-sm'>已发布内容管理</a> "; - $wintitle = "成功发布内容!"; + $wintitle = "成功发布内容"; $wecome_info = "内容管理::发布内容"; $win = new OxWindow(); $win->AddTitle("成功发布内容:"); diff --git a/src/member/archives_do.php b/src/member/archives_do.php index bdac2666..f86db80b 100755 --- a/src/member/archives_do.php +++ b/src/member/archives_do.php @@ -28,7 +28,7 @@ if ($dopost == "delStow") { $row = $dsql->GetOne("SELECT COUNT(*) AS nums FROM `#@__member_stow` WHERE `mid`='".$cfg_ml->M_ID."' "); $dsql->ExecuteNoneQuery("UPDATE #@__member_tj SET `stow`='$row[nums]' WHERE `mid`='".$cfg_ml->M_ID."'"); - ShowMsg("成功删除一条收藏记录!", $ENV_GOBACK_URL); + ShowMsg("成功删除一条收藏记录", $ENV_GOBACK_URL); exit(); } @@ -99,7 +99,7 @@ function delArchives() $row = $dsql->GetOne($equery); if (!is_array($row)) { - ShowMsg("您没有权限删除这篇文档!", "-1"); + ShowMsg("您没有权限删除这篇文档", "-1"); exit(); } if (trim($row['maintable']) == '') $row['maintable'] = '#@__archives'; @@ -110,7 +110,7 @@ function delArchives() } $arr = $dsql->GetOne($equery); if (!is_array($arr)) { - ShowMsg("您没有权限删除这篇文档!", "-1"); + ShowMsg("您没有权限删除这篇文档", "-1"); exit(); } @@ -118,7 +118,7 @@ function delArchives() $dtime = time(); $maxtime = $cfg_mb_editday * 24 * 3600; if ($dtime - $row['senddate'] > $maxtime) { - ShowMsg("这篇文档已经锁定,您不能再删除它!", "-1"); + ShowMsg("这篇文档已经锁定,您不能再删除它", "-1"); exit(); } } @@ -144,10 +144,10 @@ function delArchives() countArchives($channelid); //扣除积分 $dsql->ExecuteNoneQuery("Update `#@__member` set scores=scores-{$cfg_sendarc_scores} where mid='".$cfg_ml->M_ID."' And (scores-{$cfg_sendarc_scores}) > 0; "); - ShowMsg("成功删除一篇文档!", $ENV_GOBACK_URL); + ShowMsg("成功删除一篇文档", $ENV_GOBACK_URL); exit(); } else { - ShowMsg("删除文档失败!", $ENV_GOBACK_URL); + ShowMsg("删除文档失败", $ENV_GOBACK_URL); exit(); } exit(); diff --git a/src/member/archives_edit.php b/src/member/archives_edit.php index 13e7da69..1a1c6bbb 100755 --- a/src/member/archives_edit.php +++ b/src/member/archives_edit.php @@ -36,7 +36,7 @@ if (empty($dopost)) { $dtime = time(); $maxtime = $cfg_mb_editday * 24 * 3600; if ($dtime - $row['senddate'] > $maxtime) { - ShowMsg("这篇文档已经锁定,您不能再修改它!", "-1"); + ShowMsg("这篇文档已经锁定,您不能再修改它", "-1"); exit(); } } @@ -79,7 +79,7 @@ function _SaveArticle(){ } // 这里对前台提交的附加数据进行一次校验 $fontiterm = PrintAutoFieldsAdd($cInfos['fieldset'], 'autofield', FALSE); if ($fontiterm != $inadd_m) { - ShowMsg("提交表单同系统配置不相符,请重新提交!", "-1"); + ShowMsg("提交表单同系统配置不相符,请重新提交", "-1"); exit(); } } @@ -102,14 +102,14 @@ function _SaveArticle(){ } WHERE id='$aid' And mid='$mid'; "; if (!$dsql->ExecuteNoneQuery($upQuery)) { - ShowMsg("把数据保存到数据库主表时出错,请联系管理员!".$dsql->GetError(), "-1"); + ShowMsg("把数据保存到数据库主表时出错,请联系管理员".$dsql->GetError(), "-1"); exit(); } if ($addtable != '') { $upQuery = "UPDATE `$addtable` SET typeid='$typeid'{$inadd_f}, userip='$userip' WHERE aid='$aid' "; if (!$dsql->ExecuteNoneQuery($upQuery)) { - ShowMsg("更新附加表 `$addtable` 时出错,请联系管理员!", "javascript:;"); + ShowMsg("更新附加表 `$addtable` 时出错,请联系管理员", "javascript:;"); exit(); } } @@ -129,7 +129,7 @@ function _SaveArticle(){ } &nbsp;&nbsp; <a href='content_list.php?channelid=$channelid' class='btn btn-secondary btn-sm'>管理内容</a> "; - $wintitle = "成功更改内容!"; + $wintitle = "成功更改内容"; $wecome_info = "内容管理::更改内容"; $win = new OxWindow(); $win->AddTitle("成功更改内容:"); diff --git a/src/member/archives_sg_add.php b/src/member/archives_sg_add.php index 0913e0f0..3be4129c 100755 --- a/src/member/archives_sg_add.php +++ b/src/member/archives_sg_add.php @@ -38,11 +38,11 @@ if (empty($dopost)) { //检查会员等级和类型限制 if ($cInfos['sendrank'] > $cfg_ml->M_Rank) { $row = $dsql->GetOne("SELECT membername FROM `#@__arcrank` WHERE rank='".$cInfos['sendrank']."' "); - ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档", "-1", "0", 5000); exit(); } if ($cInfos['usertype'] != '' && $cInfos['usertype'] != $cfg_ml->M_MbType) { - ShowMsg("对不起,需要[".$cInfos['usertype']."帐号]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$cInfos['usertype']."帐号]才能在这个频道发布文档", "-1", "0", 5000); exit(); } include(DEDEMEMBER."/templets/archives_sg_add.htm"); @@ -57,7 +57,7 @@ function _SaveArticle(){ } if (preg_match("/3/", $safe_gdopen)) { if (strtolower($vdcode) != $svali || $svali == '') { ResetVdValue(); - ShowMsg('验证码错误!', '-1'); + ShowMsg('验证码错误', '-1'); exit(); } } @@ -70,7 +70,7 @@ function _SaveArticle(){ } $userip = GetIP(); if ($typeid == 0) { - ShowMsg('请指定文档隶属的栏目!', '-1'); + ShowMsg('请指定文档隶属的栏目', '-1'); exit(); } @@ -80,19 +80,19 @@ function _SaveArticle(){ } //检测栏目是否有投稿权限 if ($cInfos['issend'] != 1 || $cInfos['ispart'] != 0 || $cInfos['channeltype'] != $channelid || $cInfos['cissend'] != 1) { - ShowMsg("您所选择的栏目不支持投稿!", "-1"); + ShowMsg("您所选择的栏目不支持投稿", "-1"); exit(); } //检查频道设定的投稿许可权限 if ($cInfos['sendrank'] > $cfg_ml->M_Rank) { $row = $dsql->GetOne("Select membername From #@__arcrank where rank='".$cInfos['sendrank']."' "); - ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档", "-1", "0", 5000); exit(); } if ($cInfos['usertype'] != '' && $cInfos['usertype'] != $cfg_ml->M_MbType) { - ShowMsg("对不起,需要[".$cInfos['usertype']."]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$cInfos['usertype']."]才能在这个频道发布文档", "-1", "0", 5000); exit(); } @@ -142,7 +142,7 @@ function _SaveArticle(){ } // 这里对前台提交的附加数据进行一次校验 $fontiterm = PrintAutoFieldsAdd($cInfos['fieldset'], 'autofield', FALSE); if ($fontiterm != str_replace('`', '', $inadd_f)) { - ShowMsg("提交表单同系统配置不相符,请重新提交!", "-1"); + ShowMsg("提交表单同系统配置不相符,请重新提交", "-1"); exit(); } } @@ -150,7 +150,7 @@ function _SaveArticle(){ } //生成文档ID $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $mid); if (empty($arcID)) { - ShowMsg("无法获得主键,因此无法进行后续操作!", "-1"); + ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); exit(); } @@ -165,7 +165,7 @@ function _SaveArticle(){ } if (!$dsql->ExecuteNoneQuery($inquery)) { $gerr = $dsql->GetError(); $dsql->ExecuteNoneQuery("DELETE FROM `#@__arctiny` WHERE id='$arcID'"); - ShowMsg("把数据保存到数据库附加表 `{$addtable}` 时出错,请联系管理员!", "javascript:;"); + ShowMsg("把数据保存到数据库附加表 `{$addtable}` 时出错,请联系管理员", "javascript:;"); exit(); } } @@ -190,7 +190,7 @@ function _SaveArticle(){ } &nbsp;&nbsp; <a href='content_sg_list.php?channelid={$channelid}' class='btn btn-secondary btn-sm'>已发布内容管理</a> "; - $wintitle = "成功发布内容!"; + $wintitle = "成功发布内容"; $wecome_info = "内容管理::发布内容"; $win = new OxWindow(); $win->AddTitle("成功发布内容:"); diff --git a/src/member/archives_sg_edit.php b/src/member/archives_sg_edit.php index c30a9659..e21e4075 100755 --- a/src/member/archives_sg_edit.php +++ b/src/member/archives_sg_edit.php @@ -34,7 +34,7 @@ if (empty($dopost)) { } $addRow = $dsql->GetOne("SELECT * FROM `{$cInfos['addtable']}` WHERE aid='$aid'; "); if ($addRow['mid'] != $cfg_ml->M_ID) { - ShowMsg("对不起,您没权限操作此文档!", "-1"); + ShowMsg("对不起,您没权限操作此文档", "-1"); exit(); } $addRow['id'] = $addRow['aid']; @@ -55,13 +55,13 @@ function _SaveArticle(){ } if (preg_match("/3/", $safe_gdopen)) { if (strtolower($vdcode) != $svali || $svali == '') { ResetVdValue(); - ShowMsg('验证码错误!', '-1'); + ShowMsg('验证码错误', '-1'); exit(); } } if ($typeid == 0) { - ShowMsg('请指定文档隶属的栏目!', '-1'); + ShowMsg('请指定文档隶属的栏目', '-1'); exit(); } $query = "SELECT tp.ispart,tp.channeltype,tp.issend,ch.issend AS cissend,ch.sendrank,ch.arcsta,ch.addtable,ch.fieldset,ch.usertype @@ -71,7 +71,7 @@ function _SaveArticle(){ } //检测栏目是否有投稿权限 if ($cInfos['issend'] != 1 || $cInfos['ispart'] != 0 || $cInfos['channeltype'] != $channelid || $cInfos['cissend'] != 1) { - ShowMsg("您所选择的栏目不支持投稿!", "-1"); + ShowMsg("您所选择的栏目不支持投稿", "-1"); exit(); } @@ -120,7 +120,7 @@ function _SaveArticle(){ } // 这里对前台提交的附加数据进行一次校验 $fontiterm = PrintAutoFieldsAdd($cInfos['fieldset'], 'autofield', FALSE); if ($fontiterm != $inadd_m) { - ShowMsg("提交表单同系统配置不相符,请重新提交!", "-1"); + ShowMsg("提交表单同系统配置不相符,请重新提交", "-1"); exit(); } } @@ -129,7 +129,7 @@ function _SaveArticle(){ } if ($addtable != '') { $upQuery = "UPDATE `$addtable` SET `title`='$title',`typeid`='$typeid',`arcrank`='$arcrank',userip='$userip'{$inadd_f} WHERE aid='$aid' "; if (!$dsql->ExecuteNoneQuery($upQuery)) { - ShowMsg("更新附加表 `$addtable` 时出错,请联系管理员!", "javascript:;"); + ShowMsg("更新附加表 `$addtable` 时出错,请联系管理员", "javascript:;"); exit(); } } @@ -149,7 +149,7 @@ function _SaveArticle(){ } &nbsp;&nbsp; <a href='content_sg_list.php?channelid=$channelid' class='btn btn-secondary btn-sm'>管理内容</a> "; - $wintitle = "成功更改内容!"; + $wintitle = "成功更改内容"; $wecome_info = "内容管理::更改内容"; $win = new OxWindow(); $win->AddTitle("成功更改内容:"); diff --git a/src/member/article_add.php b/src/member/article_add.php index ebf72914..08f7f02d 100755 --- a/src/member/article_add.php +++ b/src/member/article_add.php @@ -33,12 +33,12 @@ if (empty($dopost)) { //检查会员等级和类型限制 if ($cInfos['sendrank'] > $cfg_ml->M_Rank) { $row = $dsql->GetOne("SELECT membername FROM `#@__arcrank` WHERE rank='".$cInfos['sendrank']."' "); - ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档", "-1", "0", 5000); exit(); } if ($cInfos['usertype'] != '' && $cInfos['usertype'] != $cfg_ml->M_MbType) { - ShowMsg("对不起,需要[".$cInfos['usertype']."帐号]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$cInfos['usertype']."帐号]才能在这个频道发布文档", "-1", "0", 5000); exit(); } include(DEDEMEMBER."/templets/article_add.htm"); @@ -74,7 +74,7 @@ function _SaveArticle(){ } // 这里对前台提交的附加数据进行一次校验 $fontiterm = PrintAutoFieldsAdd($cInfos['fieldset'], 'autofield', FALSE); if ($fontiterm != $inadd_f) { - ShowMsg("提交表单同系统配置不相符,请重新提交!", "-1"); + ShowMsg("提交表单同系统配置不相符,请重新提交", "-1"); exit(); } @@ -84,7 +84,7 @@ function _SaveArticle(){ } //生成文档ID $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $mid); if (empty($arcID)) { - ShowMsg("无法获得主键,因此无法进行后续操作!", "-1"); + ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); exit(); } @@ -105,7 +105,7 @@ VALUES ('$arcID','$typeid','$sortrank','$flag','$ismake','$channelid','$arcrank' if (empty($addtable)) { $dsql->ExecuteNoneQuery("DELETE FROM `#@__archives` WHERE id='$arcID'"); $dsql->ExecuteNoneQuery("DELETE FROM `#@__arctiny` WHERE id='$arcID'"); - ShowMsg("没找到当前模型[{$channelid}]的主表信息,无法完成操作!。", "javascript:;"); + ShowMsg("没找到当前模型[{$channelid}]的主表信息,无法完成操作。", "javascript:;"); exit(); } else { $inquery = "INSERT INTO `{$addtable}`(aid,typeid,userip,redirecturl,templet,body{$inadd_f}) Values('$arcID','$typeid','$userip','','','$body'{$inadd_v})"; @@ -113,7 +113,7 @@ VALUES ('$arcID','$typeid','$sortrank','$flag','$ismake','$channelid','$arcrank' $gerr = $dsql->GetError(); $dsql->ExecuteNoneQuery("DELETE FROM `#@__archives` WHERE id='$arcID'"); $dsql->ExecuteNoneQuery("DELETE FROM `#@__arctiny` WHERE id='$arcID'"); - ShowMsg("把数据保存到数据库附加表 `{$addtable}` 时出错,请联系管理员!", "javascript:;"); + ShowMsg("把数据保存到数据库附加表 `{$addtable}` 时出错,请联系管理员", "javascript:;"); exit(); } } @@ -140,7 +140,7 @@ VALUES ('$arcID','$typeid','$sortrank','$flag','$ismake','$channelid','$arcrank' <a href='article_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-secondary btn-sm'>更改文章</a> &nbsp;&nbsp; <a href='content_list.php?channelid={$channelid}' class='btn btn-secondary btn-sm'>已发布文章管理</a>"; - $wintitle = "成功发布文章!"; + $wintitle = "成功发布文章"; $wecome_info = "文章管理::发布文章"; $win = new OxWindow(); $win->AddTitle("成功发布文章:"); diff --git a/src/member/article_edit.php b/src/member/article_edit.php index f9033b1a..2173ddfa 100755 --- a/src/member/article_edit.php +++ b/src/member/article_edit.php @@ -36,7 +36,7 @@ if (empty($dopost)) { $dtime = time(); $maxtime = $cfg_mb_editday * 24 * 3600; if ($dtime - $row['senddate'] > $maxtime) { - ShowMsg("这篇文档已经锁定,您不能再修改它!", "-1"); + ShowMsg("这篇文档已经锁定,您不能再修改它", "-1"); exit(); } } @@ -73,7 +73,7 @@ function _SaveArticle(){ } $fontiterm = PrintAutoFieldsAdd($cInfos['fieldset'], 'autofield', FALSE); if ($fontiterm != $inadd_m) { - ShowMsg("提交表单同系统配置不相符,请重新提交!", "-1"); + ShowMsg("提交表单同系统配置不相符,请重新提交", "-1"); exit(); } } @@ -93,13 +93,13 @@ function _SaveArticle(){ } flag='$flag' WHERE id='$aid' AND mid='$mid'; "; if (!$dsql->ExecuteNoneQuery($upQuery)) { - ShowMsg("把数据保存到数据库主表时出错,请联系管理员!".$dsql->GetError(), "-1"); + ShowMsg("把数据保存到数据库主表时出错,请联系管理员".$dsql->GetError(), "-1"); exit(); } if ($addtable != '') { $upQuery = "UPDATE `$addtable` SET typeid='$typeid',body='$body'{$inadd_f},userip='$userip' WHERE aid='$aid' "; if (!$dsql->ExecuteNoneQuery($upQuery)) { - ShowMsg("更新附加表 `$addtable` 时出错,请联系管理员!", "javascript:;"); + ShowMsg("更新附加表 `$addtable` 时出错,请联系管理员", "javascript:;"); exit(); } } @@ -119,7 +119,7 @@ function _SaveArticle(){ } &nbsp;&nbsp; <a href='content_list.php?channelid=$channelid' class='btn btn-secondary btn-sm'>管理文章</a> "; - $wintitle = "成功更改文章!"; + $wintitle = "成功更改文章"; $wecome_info = "文章管理::更改文章"; $win = new OxWindow(); $win->AddTitle("成功更改文章:"); diff --git a/src/member/buy_action.php b/src/member/buy_action.php index cbafe573..11c182ee 100755 --- a/src/member/buy_action.php +++ b/src/member/buy_action.php @@ -54,7 +54,7 @@ if ($product == 'member') { $ptype = "会员升级"; $row = $dsql->GetOne("SELECT * FROM `#@__member_type` WHERE aid='{$pid}'"); if (!is_array($row)) { - ShowMsg("无法识别您的订单!", 'javascript:;'); + ShowMsg("无法识别您的订单", 'javascript:;'); exit(); } $pname = $row['pname']; @@ -63,7 +63,7 @@ if ($product == 'member') { $ptype = "点卡购买"; $row = $dsql->GetOne("SELECT * From `#@__moneycard_type` WHERE tid='{$pid}'"); if (!is_array($row)) { - ShowMsg("无法识别您的订单!", 'javascript:;'); + ShowMsg("无法识别您的订单", 'javascript:;'); exit(); } $pname = $row['pname']; @@ -76,12 +76,12 @@ if (!isset($paytype)) { "; $isok = $dsql->ExecuteNoneQuery($inquery); if (!$isok) { - echo "数据库出错,请重新尝试!".$dsql->GetError(); + echo "数据库出错,请重新尝试".$dsql->GetError(); exit(); } if ($price == '') { - echo "无法识别您的订单!"; + echo "无法识别您的订单"; exit(); } @@ -118,7 +118,7 @@ if (!isset($paytype)) { $rs['code'] = preg_replace("#[^0-9a-z]#i", "", $rs['code']); if (!file_exists(DEDEINC.'/payment/'.$rs['code'].'.php')) { - ShowMsg("未发现支付接口文件,请到后台配置!", 'javascript:;'); + ShowMsg("未发现支付接口文件,请到后台配置", 'javascript:;'); exit(); } diff --git a/src/member/check_card.php b/src/member/check_card.php index 26420ec6..75373d7e 100755 --- a/src/member/check_card.php +++ b/src/member/check_card.php @@ -11,25 +11,25 @@ require_once(dirname(__FILE__)."/config.php"); $svali = GetCkVdValue(); if (strtolower($vdcode) != $svali || $svali == "") { - ShowMsg("验证码错误!", "-1"); + ShowMsg("验证码错误", "-1"); exit(); } $cardid = preg_replace("#[^0-9A-Za-z-]#", "", $cardid); if (empty($cardid)) { - ShowMsg("卡号为空!", "-1"); + ShowMsg("卡号为空", "-1"); exit(); } $row = $dsql->GetOne("SELECT * FROM `#@__moneycard_record` WHERE cardid='$cardid' "); if (!is_array($row)) { - ShowMsg("卡号错误:不存在此卡号!", "-1"); + ShowMsg("卡号错误:不存在此卡号", "-1"); exit(); } if ($row['isexp'] == -1) { - ShowMsg("此卡号已经失效,不能再次使用!", "-1"); + ShowMsg("此卡号已经失效,不能再次使用", "-1"); exit(); } @@ -37,5 +37,5 @@ $hasMoney = $row['num']; $dsql->ExecuteNoneQuery("UPDATE `#@__moneycard_record` SET uid='".$cfg_ml->M_ID."',isexp='-1',utime='".time()."' WHERE cardid='$cardid' "); $dsql->ExecuteNoneQuery("UPDATE `#@__member` SET money=money+$hasMoney WHERE mid='".$cfg_ml->M_ID."'"); -ShowMsg("充值成功,您本次增加的金币为:{$hasMoney} 个!", -1); +ShowMsg("充值成功,您本次增加的金币为:{$hasMoney} 个", -1); exit(); diff --git a/src/member/config.php b/src/member/config.php index 5165cac0..8e5744b4 100755 --- a/src/member/config.php +++ b/src/member/config.php @@ -135,7 +135,7 @@ if ($cfg_mb_open == 'N') { die(''); } } else { - ShowMsg("系统关闭了会员功能,因此您无法访问此页面!", "javascript:;"); + ShowMsg("系统关闭了会员功能,因此您无法访问此页面", "javascript:;"); exit(); } } diff --git a/src/member/edit_baseinfo.php b/src/member/edit_baseinfo.php index e28fb3df..8a3224c0 100755 --- a/src/member/edit_baseinfo.php +++ b/src/member/edit_baseinfo.php @@ -23,15 +23,15 @@ if ($dopost == 'save') { if (strtolower($vdcode) != $svali || $svali == '') { ReSETVdValue(); - ShowMsg('验证码错误!', '-1'); + ShowMsg('验证码错误', '-1'); exit(); } if (!is_array($row) || $row['pwd'] != md5($oldpwd)) { - ShowMsg('您输入的旧密码错误或没填写,不允许修改资料!', '-1'); + ShowMsg('您输入的旧密码错误或没填写,不允许修改资料', '-1'); exit(); } if ($userpwd != $userpwdok) { - ShowMsg('您两次输入的新密码不一致!', '-1'); + ShowMsg('您两次输入的新密码不一致', '-1'); exit(); } if ($userpwd == '') { @@ -45,14 +45,14 @@ if ($dopost == 'save') { //修改安全问题或Email if ($email != $row['email'] || ($newsafequestion != 0 && $newsafeanswer != '')) { if ($row['safequestion'] != 0 && ($row['safequestion'] != $safequestion || $row['safeanswer'] != $safeanswer)) { - ShowMsg('您的旧安全问题及答案不正确,不能修改Email或安全问题!', '-1'); + ShowMsg('您的旧安全问题及答案不正确,不能修改Email或安全问题', '-1'); exit(); } //修改Email if ($email != $row['email']) { if (!CheckEmail($email)) { - ShowMsg('Email格式不正确!', '-1'); + ShowMsg('Email格式不正确', '-1'); exit(); } else { $addupquery .= ",email='$email'"; @@ -62,7 +62,7 @@ if ($dopost == 'save') { //修改安全问题 if ($newsafequestion != 0 && $newsafeanswer != '') { if (strlen($newsafeanswer) > 30) { - ShowMsg('您的新安全问题的答案太长了,请保持在30字节以内!', '-1'); + ShowMsg('您的新安全问题的答案太长了,请保持在30字节以内', '-1'); exit(); } else { $newsafequestion = HtmlReplace($newsafequestion, 1); @@ -84,7 +84,7 @@ if ($dopost == 'save') { //性别 if (!in_array($sex, array('男', '女', '保密'))) { - ShowMsg('请选择正常的性别!', '-1'); + ShowMsg('请选择正常的性别', '-1'); exit(); } @@ -98,7 +98,7 @@ if ($dopost == 'save') { } // 清除会员缓存 $cfg_ml->DelCache($cfg_ml->M_ID); - ShowMsg('成功更新您的基本资料!', 'edit_baseinfo.php', 0, 5000); + ShowMsg('成功更新您的基本资料', 'edit_baseinfo.php', 0, 5000); exit(); } include(DEDEMEMBER."/templets/edit_baseinfo.htm"); diff --git a/src/member/edit_email.php b/src/member/edit_email.php index a2d13d18..4e99c266 100644 --- a/src/member/edit_email.php +++ b/src/member/edit_email.php @@ -15,13 +15,13 @@ if (!isset($backurl)) { } if ($dopost == 'save') { if (!empty($cfg_ml->fields['email']) || $cfg_ml->fields['checkmail'] != -1) { - ShowMsg('Email已经设置,无需重复提交!', '-1'); + ShowMsg('Email已经设置,无需重复提交', '-1'); exit(); } // 校验CSRF CheckCSRF(); if (!CheckEmail($email)) { - ShowMsg('Email格式不正确!', '-1'); + ShowMsg('Email格式不正确', '-1'); exit(); } $email = HtmlReplace($email, -1); @@ -30,7 +30,7 @@ if ($dopost == 'save') { $dsql->ExecuteNoneQuery($query); // 清除缓存 $cfg_ml->DelCache($cfg_ml->M_ID); - ShowMsg('成功更新邮箱信息!', $backurl); + ShowMsg('成功更新邮箱信息', $backurl); exit(); } $email = $cfg_ml->fields['email']; diff --git a/src/member/edit_face.php b/src/member/edit_face.php index 946b4bbe..595b50e4 100755 --- a/src/member/edit_face.php +++ b/src/member/edit_face.php @@ -25,7 +25,7 @@ if ($dopost == 'save') { $dsql->ExecuteNoneQuery($query); // 清除缓存 $cfg_ml->DelCache($cfg_ml->M_ID); - ShowMsg('成功更新头像信息!', $backurl); + ShowMsg('成功更新头像信息', $backurl); exit(); } $face = $cfg_ml->fields['face']; diff --git a/src/member/inc/archives_check.php b/src/member/inc/archives_check.php index 05a540bd..8c08baca 100755 --- a/src/member/inc/archives_check.php +++ b/src/member/inc/archives_check.php @@ -17,7 +17,7 @@ include_once(DEDEINC.'/oxwindow.class.php'); $svali = GetCkVdValue(); if (strtolower($vdcode) != $svali || $svali == '') { ResetVdValue(); - ShowMsg('验证码错误!', '-1'); + ShowMsg('验证码错误', '-1'); exit(); } @@ -29,7 +29,7 @@ $autokey = $remote = $dellink = $autolitpic = 0; $userip = GetIP(); if ($typeid == 0) { - ShowMsg('请指定文档隶属的栏目!', '-1'); + ShowMsg('请指定文档隶属的栏目', '-1'); exit(); } @@ -39,19 +39,19 @@ $cInfos = $dsql->GetOne($query); //检测栏目是否有投稿权限 if ($cInfos['issend'] != 1 || $cInfos['ispart'] != 0 || $cInfos['channeltype'] != $channelid || $cInfos['cissend'] != 1) { - ShowMsg("您所选择的栏目不支持投稿!", "-1"); + ShowMsg("您所选择的栏目不支持投稿", "-1"); exit(); } //检查频道设定的投稿许可权限 if ($cInfos['sendrank'] > $cfg_ml->M_Rank) { $row = $dsql->GetOne("Select membername From #@__arcrank where rank='".$cInfos['sendrank']."' "); - ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档", "-1", "0", 5000); exit(); } if ($cInfos['usertype'] != '' && $cInfos['usertype'] != $cfg_ml->M_MbType) { - ShowMsg("对不起,需要[".$cInfos['usertype']."]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$cInfos['usertype']."]才能在这个频道发布文档", "-1", "0", 5000); exit(); } @@ -82,7 +82,7 @@ $mid = $cfg_ml->M_ID; if ($cfg_mb_cktitle == 'Y') { $row = $dsql->GetOne("SELECT * FROM `#@__archives` WHERE title LIKE '$title' "); if (is_array($row)) { - ShowMsg("对不起,请不要发布重复文档!", "-1", "0", 5000); + ShowMsg("对不起,请不要发布重复文档", "-1", "0", 5000); exit(); } } diff --git a/src/member/inc/archives_check_edit.php b/src/member/inc/archives_check_edit.php index 4471a930..edc26c04 100755 --- a/src/member/inc/archives_check_edit.php +++ b/src/member/inc/archives_check_edit.php @@ -20,11 +20,11 @@ $userip = GetIP(); $svali = GetCkVdValue(); if (strtolower($vdcode) != $svali || $svali == '') { ResetVdValue(); - ShowMsg('验证码错误!', '-1'); + ShowMsg('验证码错误', '-1'); exit(); } if ($typeid == 0) { - ShowMsg('请指定文档隶属的栏目!', '-1'); + ShowMsg('请指定文档隶属的栏目', '-1'); exit(); } @@ -38,7 +38,7 @@ $addtable = $cInfos['addtable']; //检测栏目是否有投稿权限 if ($cInfos['issend'] != 1 || $cInfos['ispart'] != 0 || $cInfos['channeltype'] != $channelid || $cInfos['cissend'] != 1) { - ShowMsg("您所选择的栏目不支持投稿!", "-1"); + ShowMsg("您所选择的栏目不支持投稿", "-1"); exit(); } @@ -66,7 +66,7 @@ $mid = $cfg_ml->M_ID; $midQuery = "SELECT mid FROM `#@__arctiny` WHERE id='$aid'"; $midRow = $dsql->GetOne($midQuery); if ($midRow['mid'] != $mid) { - ShowMsg('您暂无权限在这里进行修改文档!', 'javascript:;'); + ShowMsg('您暂无权限在这里进行修改文档', 'javascript:;'); exit; } diff --git a/src/member/inc/config_space.php b/src/member/inc/config_space.php index d61f72a8..24c1270f 100755 --- a/src/member/inc/config_space.php +++ b/src/member/inc/config_space.php @@ -13,13 +13,13 @@ if (!defined('DEDEMEMBER')) exit('dedebiz'); //检查是否开放会员功能 if ($cfg_mb_open == 'N') { - ShowMsg("系统关闭了会员功能,因此您无法访问此页面!", "javascript:;"); + ShowMsg("系统关闭了会员功能,因此您无法访问此页面", "javascript:;"); exit(); } //对uid进行过滤 if (preg_match("/'/", $uid)) { - ShowMsg("您的用户名中含有非法字符!", "-1"); + ShowMsg("您的用户名中含有非法字符", "-1"); exit(); } else { $uid = RemoveXSS($uid); @@ -33,12 +33,12 @@ $_vars['bloglinks'] = $_vars['curtitle'] = ''; //用户权限检查 //被禁言用户 if ($_vars['spacesta'] == -2) { - ShowMsg("用户:{$_vars['userid']} 被禁言,因此个人空间禁止访问!", "-1"); + ShowMsg("用户:{$_vars['userid']} 被禁言,因此个人空间禁止访问", "-1"); exit(); } //未审核用户 if ($_vars['spacesta'] < 0) { - ShowMsg("用户:{$_vars['userid']} 的资料尚未通过审核,因此空间禁止访问!", "-1"); + ShowMsg("用户:{$_vars['userid']} 的资料尚未通过审核,因此空间禁止访问", "-1"); exit(); } //是否禁止了管理员空间的访问 @@ -47,7 +47,7 @@ if ( $_vars['matt'] == 10 && $cfg_mb_adminlock == 'Y' && !(isset($cfg_ml->fields) && $cfg_ml->fields['matt'] == 10) ) { - ShowMsg('系统设置了禁止访问管理员的个人空间!', '-1'); + ShowMsg('系统设置了禁止访问管理员的个人空间', '-1'); exit(); } @@ -122,7 +122,7 @@ function GetUserSpaceInfos() where m.userid like '$uid' ORDER BY g.dtime DESC "; $_vars = $dsql->GetOne($query); if (!is_array($_vars)) { - ShowMsg("您访问的用户可能已经被删除!", "javascript:;"); + ShowMsg("您访问的用户可能已经被删除", "javascript:;"); exit(); } if ($_vars['face'] == '') { diff --git a/src/member/inc/inc_pwd_functions.php b/src/member/inc/inc_pwd_functions.php index 392abf68..57703923 100755 --- a/src/member/inc/inc_pwd_functions.php +++ b/src/member/inc/inc_pwd_functions.php @@ -82,7 +82,7 @@ function newmail($mid, $userid, $mailto, $type, $send) $mailtitle = $cfg_webname.":密码修改"; $mailto = $mailto; $headers = "From: ".$cfg_adminemail."\r\nReply-To: $cfg_adminemail"; - $mailbody = "亲爱的".$userid.":\r\n您好!感谢您使用".$cfg_webname."网。\r\n".$cfg_webname."应您的要求,重新设置密码:(注:如果您没有提出申请,请检查您的信息是否泄漏。)\r\n本次临时登录密码为:".$randval." 请于三天内登录下面网址确认修改。\r\n".$cfg_basehost.$cfg_memberurl."/resetpassword.php?dopost=getpasswd&id=".$mid; + $mailbody = "亲爱的".$userid.":\r\n您好感谢您使用".$cfg_webname."网。\r\n".$cfg_webname."应您的要求,重新设置密码:(注:如果您没有提出申请,请检查您的信息是否泄漏。)\r\n本次临时登录密码为:".$randval." 请于三天内登录下面网址确认修改。\r\n".$cfg_basehost.$cfg_memberurl."/resetpassword.php?dopost=getpasswd&id=".$mid; if ($type == 'INSERT') { $key = md5($randval); $sql = "INSERT INTO `#@__pwd_tmp` (`mid` ,`membername` ,`pwd` ,`mailtime`)VALUES ('$mid', '$userid', '$key', '$mailtime');"; @@ -124,7 +124,7 @@ function member($mail, $userid) global $db; $sql = "SELECT mid,email,safequestion FROM `#@__member` WHERE email='$mail' AND userid = '$userid'"; $row = $db->GetOne($sql); - if (!is_array($row)) return ShowMsg("对不起,用户ID输入错误!", "-1"); + if (!is_array($row)) return ShowMsg("对不起,用户ID输入错误", "-1"); else return $row; } diff --git a/src/member/index_do.php b/src/member/index_do.php index 5626ebe7..0ff72bb7 100755 --- a/src/member/index_do.php +++ b/src/member/index_do.php @@ -16,11 +16,11 @@ function check_email() *******************/ if ($fmdo == 'sendMail') { if (!CheckEmail($cfg_ml->fields['email'])) { - ShowMsg('您的邮箱格式有错误!', '-1'); + ShowMsg('您的邮箱格式有错误', '-1'); exit(); } if ($cfg_ml->fields['spacesta'] != -10) { - ShowMsg('您的帐号不在邮件验证状态,本操作无效!', '-1'); + ShowMsg('您的帐号不在邮件验证状态,本操作无效', '-1'); exit(); } $userhash = md5($cfg_cookie_encode.'--'.$cfg_ml->fields['mid'].'--'.$cfg_ml->fields['email']); @@ -55,28 +55,28 @@ if ($fmdo == 'sendMail') { } } - ShowMsg('成功发送邮件,请稍后登录您的邮箱进行接收!', '/member'); + ShowMsg('成功发送邮件,请稍后登录您的邮箱进行接收', '/member'); exit(); } else if ($fmdo == 'checkMail') { $mid = intval($mid); if (empty($mid)) { - ShowMsg('您的效验串不合法!', '-1'); + ShowMsg('您的效验串不合法', '-1'); exit(); } $row = $dsql->GetOne("SELECT * FROM `#@__member` WHERE mid='{$mid}' "); $needUserhash = md5($cfg_cookie_encode.'--'.$mid.'--'.$row['email']); if ($needUserhash != $userhash) { - ShowMsg('您的效验串不合法!', '-1'); + ShowMsg('您的效验串不合法', '-1'); exit(); } if ($row['spacesta'] != -10) { - ShowMsg('您的帐号不在邮件验证状态,本操作无效!', '-1'); + ShowMsg('您的帐号不在邮件验证状态,本操作无效', '-1'); exit(); } $dsql->ExecuteNoneQuery("UPDATE `#@__member` SET spacesta=0 WHERE mid='{$mid}' "); // 清除会员缓存 $cfg_ml->DelCache($mid); - ShowMsg('操作成功,请重新登录系统!', 'login.php'); + ShowMsg('操作成功,请重新登录系统', 'login.php'); exit(); } /********************* @@ -122,7 +122,7 @@ else if ($fmdo == 'user') { if (!is_array($row)) { $msg = "<font color='#4E7504'><b>√可以使用</b></font>"; } else { - $msg = "<font color='red'><b>×Email已经被另一个帐号占用!</b></font>"; + $msg = "<font color='red'><b>×Email已经被另一个帐号占用</b></font>"; } } } @@ -143,18 +143,18 @@ else if ($fmdo == 'user') { else if ($dopost == "money2s") { CheckRank(0, 0); if ($cfg_money_scores == 0) { - ShowMsg('系统禁用了积分与金币兑换功能!', '-1'); + ShowMsg('系统禁用了积分与金币兑换功能', '-1'); exit(); } $money = empty($money) ? "" : abs(intval($money)); if (empty($money)) { - ShowMsg('您没指定要兑换多少金币!', '-1'); + ShowMsg('您没指定要兑换多少金币', '-1'); exit(); } $needscores = $money * $cfg_money_scores; if ($cfg_ml->fields['scores'] < $needscores) { - ShowMsg('您积分不足,不能换取这么多的金币!', '-1'); + ShowMsg('您积分不足,不能换取这么多的金币', '-1'); exit(); } $litmitscores = $cfg_ml->fields['scores'] - $needscores; @@ -169,7 +169,7 @@ else if ($fmdo == 'user') { // 清除会员缓存 $cfg_ml->DelCache($cfg_ml->M_ID); - ShowMsg('成功兑换指定量的金币!', 'operation.php'); + ShowMsg('成功兑换指定量的金币', 'operation.php'); exit(); } } @@ -187,18 +187,18 @@ else if ($fmdo == 'login') { if (preg_match("/2/", $safe_gdopen)) { if (strtolower($vdcode) != $svali || $svali == '') { ResetVdValue(); - ShowMsg('验证码错误!', 'index.php'); + ShowMsg('验证码错误', 'index.php'); exit(); } } if (CheckUserID($userid, '', false) != 'ok') { ResetVdValue(); - ShowMsg("您输入的用户名 {$userid} 不合法!", "index.php"); + ShowMsg("您输入的用户名 {$userid} 不合法", "index.php"); exit(); } if ($pwd == '') { ResetVdValue(); - ShowMsg("密码不能为空!", "-1", 0, 2000); + ShowMsg("密码不能为空", "-1", 0, 2000); exit(); } @@ -207,15 +207,15 @@ else if ($fmdo == 'login') { if ($rs == 0) { ResetVdValue(); - ShowMsg("用户名不存在!", "index.php", 0, 2000); + ShowMsg("用户名不存在", "index.php", 0, 2000); exit(); } else if ($rs == -1) { ResetVdValue(); - ShowMsg("密码错误!", "index.php", 0, 2000); + ShowMsg("密码错误", "index.php", 0, 2000); exit(); } else if ($rs == -2) { ResetVdValue(); - ShowMsg("管理员帐号不允许从前台登录!", "index.php", 0, 2000); + ShowMsg("管理员帐号不允许从前台登录", "index.php", 0, 2000); exit(); } else { // 清除会员缓存 @@ -233,7 +233,7 @@ else if ($fmdo == 'login') { //退出登录 else if ($dopost == "exit") { $cfg_ml->ExitCookie(); - ShowMsg("成功退出登录!", "index.php", 0, 2000); + ShowMsg("成功退出登录", "index.php", 0, 2000); exit(); } } else { diff --git a/src/member/login.php b/src/member/login.php index 0081856c..207501d2 100755 --- a/src/member/login.php +++ b/src/member/login.php @@ -10,7 +10,7 @@ require_once(dirname(__FILE__)."/config.php"); $gourl = RemoveXSS($gourl); if ($cfg_ml->IsLogin()) { - ShowMsg('您已经登录系统,无需重新注册!', 'index.php'); + ShowMsg('您已经登录系统,无需重新注册', 'index.php'); exit(); } require_once(dirname(__FILE__)."/templets/login.htm"); diff --git a/src/member/pm.php b/src/member/pm.php index 9bdb1ccf..5a0f285d 100755 --- a/src/member/pm.php +++ b/src/member/pm.php @@ -15,7 +15,7 @@ $menutype = 'mydede'; $menutype_son = 'pm'; $id = isset($id) ? intval($id) : 0; if ($cfg_mb_lit == 'Y') { - ShowMsg('由于系统开启了精简版会员空间,您不能向其它会员发短信息,不过您可以向他留言!', '-1'); + ShowMsg('由于系统开启了精简版会员空间,您不能向其它会员发短信息,不过您可以向他留言', '-1'); exit(); } diff --git a/src/member/reg_new.php b/src/member/reg_new.php index bcc141a4..a37dc121 100755 --- a/src/member/reg_new.php +++ b/src/member/reg_new.php @@ -10,7 +10,7 @@ require_once(dirname(__FILE__)."/config.php"); if ($cfg_mb_allowreg == 'N') { - ShowMsg('系统关闭了新用户注册!', 'index.php'); + ShowMsg('系统关闭了新用户注册', 'index.php'); exit(); } @@ -19,7 +19,7 @@ $step = empty($step) ? 1 : intval($step); if ($step == 1) { if ($cfg_ml->IsLogin()) { - ShowMsg('您已经登录系统,无需重新注册!', 'index.php'); + ShowMsg('您已经登录系统,无需重新注册', 'index.php'); exit(); } if ($dopost == 'regbase') { @@ -27,7 +27,7 @@ if ($step == 1) { if (preg_match("/1/", $safe_gdopen)) { if (strtolower($vdcode) != $svali || $svali == '') { ResetVdValue(); - ShowMsg('验证码错误!', '-1'); + ShowMsg('验证码错误', '-1'); exit(); } } @@ -51,15 +51,15 @@ if ($step == 1) { exit(); } if (strlen($userid) > 20 || strlen($uname) > 36) { - ShowMsg('您的用户名或用户笔名过长,不允许注册!', '-1'); + ShowMsg('您的用户名或用户笔名过长,不允许注册', '-1'); exit(); } if (strlen($userid) < $cfg_mb_idmin || strlen($pwd) < $cfg_mb_pwdmin) { - ShowMsg("您的用户名或密码过短,不允许注册!", "-1"); + ShowMsg("您的用户名或密码过短,不允许注册", "-1"); exit(); } if ($pwdc != $pwd) { - ShowMsg('您两次输入的密码不一致!', '-1'); + ShowMsg('您两次输入的密码不一致', '-1'); exit(); } @@ -69,7 +69,7 @@ if ($step == 1) { //检测用户名是否存在 $row = $dsql->GetOne("SELECT mid FROM `#@__member` WHERE userid LIKE '$userid' "); if (is_array($row)) { - ShowMsg("您指定的用户名 {$userid} 已存在,请使用别的用户名!", "-1"); + ShowMsg("您指定的用户名 {$userid} 已存在,请使用别的用户名", "-1"); exit(); } @@ -125,20 +125,20 @@ if ($step == 1) { $cfg_ml = new MemberLogin(7 * 3600); $rs = $cfg_ml->CheckUser($userid, $userpwd); - ShowMsg('您已经登录系统,无需重新注册!', 'index.php'); + ShowMsg('您已经登录系统,无需重新注册', 'index.php'); exit; } else { - ShowMsg("注册失败,请检查资料是否有误或与管理员联系!", "-1"); + ShowMsg("注册失败,请检查资料是否有误或与管理员联系", "-1"); exit(); } } require_once(DEDEMEMBER."/templets/reg-new.htm"); } else { if (!$cfg_ml->IsLogin()) { - ShowMsg("尚未完成基本信息的注册,请返回重新填写!", "index_do.php?fmdo=user&dopost=regnew"); + ShowMsg("尚未完成基本信息的注册,请返回重新填写", "index_do.php?fmdo=user&dopost=regnew"); exit; } else { - ShowMsg('您已经登录系统,无需重新注册!', 'index.php'); + ShowMsg('您已经登录系统,无需重新注册', 'index.php'); exit; } } diff --git a/src/member/resetpassword.php b/src/member/resetpassword.php index 5cf9bf29..8e9214c2 100755 --- a/src/member/resetpassword.php +++ b/src/member/resetpassword.php @@ -24,7 +24,7 @@ if ($dopost == "") { $svali = GetCkVdValue(); if (strtolower($vdcode) != $svali || $svali == '') { ResetVdValue(); - ShowMsg("对不起,验证码输入错误!", "-1"); + ShowMsg("对不起,验证码输入错误", "-1"); exit(); } @@ -36,7 +36,7 @@ if ($dopost == "") { showmsg('对不起,请输入正确的邮箱格式', '-1'); exit; } else if (CheckUserID($userid, '', false) != 'ok') { - ShowMsg("您输入的用户名 {$userid} 不合法!", "-1"); + ShowMsg("您输入的用户名 {$userid} 不合法", "-1"); exit(); } $member = member($mail, $userid); diff --git a/src/member/shops_point.php b/src/member/shops_point.php index 465f10a8..b70c78a0 100755 --- a/src/member/shops_point.php +++ b/src/member/shops_point.php @@ -14,23 +14,23 @@ if (isset($oid)) { $oid = preg_replace("#[^-0-9A-Z]#i", "", $oid); $rs = $dsql->GetOne("SELECT paytype,priceCount FROM `#@__shops_orders` WHERE userid='".$cfg_ml->M_ID."' AND oid='$oid'"); if ($rs['paytype'] != 5) { - ShowMsg("订单不支持该支付方式!", "javascript:;"); + ShowMsg("订单不支持该支付方式", "javascript:;"); exit(); } $priceCount = $row['priceCount']; $members = $dsql->GetOne("SELECT `money` FROM `#@__member` WHERE mid='".$cfg_ml->M_ID."'"); if ($members['money'] < $priceCount) { - ShowMsg("支付失败点数不够!", "-1"); + ShowMsg("支付失败点数不够", "-1"); exit(); } if ($dsql->ExecuteNoneQuery("UPDATE `#@__shops_orders` SET `state`='1' WHERE `oid`='$oid' AND `userid`='".$cfg_ml->M_ID."' AND `state`<1")) { $res = $dsql->ExecuteNoneQuery("UPDATE `#@__member` SET money=money-$priceCount WHERE mid='{$cfg_ml->M_ID}'"); - ShowMsg("下单,支付成功,等待商家发货!", "../member/shops_products.php?oid=".$oid); + ShowMsg("下单,支付成功,等待商家发货", "../member/shops_products.php?oid=".$oid); exit(); } else { - ShowMsg("支付失败,请联系管理员!", "-1"); + ShowMsg("支付失败,请联系管理员", "-1"); exit(); } } else { diff --git a/src/member/shops_products.php b/src/member/shops_products.php index 8add0a4c..e749570e 100755 --- a/src/member/shops_products.php +++ b/src/member/shops_products.php @@ -22,13 +22,13 @@ if ($dopost == '') { if (!empty($oid)) { if ($do == 'ok') { $dsql->ExecuteNoneQuery("UPDATE `#@__shops_orders` SET `state`='4' WHERE oid='$oid'"); - ShowMsg("已确认订单!", 'shops_products.php?oid='.$oid); + ShowMsg("已确认订单", 'shops_products.php?oid='.$oid); exit(); } $row = $dsql->GetOne("SELECT * FROM `#@__shops_userinfo` WHERE userid='".$cfg_ml->M_ID."' AND oid='$oid'"); if (!isset($row['oid'])) { - ShowMsg("订单不存在!", -1); + ShowMsg("订单不存在", -1); exit(); } $row['des'] = stripslashes($row['des']); diff --git a/src/member/soft_add.php b/src/member/soft_add.php index 57a951c4..e1c8d099 100755 --- a/src/member/soft_add.php +++ b/src/member/soft_add.php @@ -13,7 +13,7 @@ require_once(dirname(__FILE__)."/config.php"); //考虑安全原因不管是否开启游客投稿功能,都不允许用户投稿 CheckRank(0, 0); if ($cfg_mb_lit == 'Y') { - ShowMsg("由于系统开启了精简版会员空间,您访问的功能不可用!", "-1"); + ShowMsg("由于系统开启了精简版会员空间,您访问的功能不可用", "-1"); exit(); } require_once(DEDEINC."/dedetag.class.php"); @@ -43,11 +43,11 @@ if (empty($dopost)) { //检查会员等级和类型限制 if ($cInfos['sendrank'] > $cfg_ml->M_Rank) { $row = $dsql->GetOne("Select membername From `#@__arcrank` where rank='".$cInfos['sendrank']."' "); - ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档", "-1", "0", 5000); exit(); } if ($cInfos['usertype'] != '' && $cInfos['usertype'] != $cfg_ml->M_MbType) { - ShowMsg("对不起,需要[".$cInfos['usertype']."帐号]才能在这个频道发布文档!", "-1", "0", 5000); + ShowMsg("对不起,需要[".$cInfos['usertype']."帐号]才能在这个频道发布文档", "-1", "0", 5000); exit(); } include(DEDEMEMBER."/templets/soft_add.htm"); @@ -63,7 +63,7 @@ function _SaveArticle(){ } //生成文档ID $arcID = GetIndexKey($arcrank, $typeid, $sortrank, $channelid, $senddate, $mid); if (empty($arcID)) { - ShowMsg("无法获得主键,因此无法进行后续操作!", "-1"); + ShowMsg("无法获得主键,因此无法进行后续操作", "-1"); exit(); } @@ -79,7 +79,7 @@ function _SaveArticle(){ } if ($v == '') { continue; } else if ($v == 'templet') { - ShowMsg("您保存的字段有误,请检查!", "-1"); + ShowMsg("您保存的字段有误,请检查", "-1"); exit(); } $vs = explode(',', $v); @@ -104,7 +104,7 @@ function _SaveArticle(){ } // 这里对前台提交的附加数据进行一次校验 $fontiterm = PrintAutoFieldsAdd($cInfos['fieldset'], 'autofield', FALSE); if ($fontiterm != $inadd_f) { - ShowMsg("提交表单同系统配置不相符,请重新提交!", "-1"); + ShowMsg("提交表单同系统配置不相符,请重新提交", "-1"); exit(); } } @@ -161,7 +161,7 @@ VALUES ('$arcID','$typeid','$sortrank','$flag','$ismake','$channelid','$arcrank' if (empty($addtable)) { $dsql->ExecuteNoneQuery("DELETE FROM `#@__archives` WHERE id='$arcID'"); $dsql->ExecuteNoneQuery("DELETE FROM `#@__arctiny` WHERE id='$arcID'"); - ShowMsg("没找到当前模型[{$channelid}]的主表信息,无法完成操作!。", "javascript:;"); + ShowMsg("没找到当前模型[{$channelid}]的主表信息,无法完成操作。", "javascript:;"); exit(); } $inQuery = "INSERT INTO `$addtable`(aid,typeid,filetype,language,softtype,accredit, @@ -204,7 +204,7 @@ VALUES ('$arcID','$typeid','$sortrank','$flag','$ismake','$channelid','$arcrank' &nbsp;&nbsp; <a href='content_list.php?channelid={$channelid}' class='btn btn-secondary btn-sm'>已发布软件管理</a> "; - $wintitle = "成功发布文章!"; + $wintitle = "成功发布文章"; $wecome_info = "软件管理::发布软件"; $win = new OxWindow(); $win->AddTitle("成功发布软件:"); diff --git a/src/member/soft_edit.php b/src/member/soft_edit.php index 1c81cfa1..aad334f9 100755 --- a/src/member/soft_edit.php +++ b/src/member/soft_edit.php @@ -42,7 +42,7 @@ if (empty($dopost)) { $dtime = time(); $maxtime = $cfg_mb_editday * 24 * 3600; if ($dtime - $row['senddate'] > $maxtime) { - ShowMsg("这篇文档已经锁定,您不能再修改它!", "-1"); + ShowMsg("这篇文档已经锁定,您不能再修改它", "-1"); exit(); } } @@ -139,7 +139,7 @@ function _SaveArticle(){ } // 这里对前台提交的附加数据进行一次校验 $fontiterm = PrintAutoFieldsAdd($cInfos['fieldset'], 'autofield', FALSE); if ($fontiterm != $inadd_f) { - ShowMsg("提交表单同系统配置不相符,请重新提交!", "-1"); + ShowMsg("提交表单同系统配置不相符,请重新提交", "-1"); exit(); } } @@ -156,7 +156,7 @@ function _SaveArticle(){ } flag='$flag' WHERE id='$aid' AND mid='$mid'; "; if (!$dsql->ExecuteNoneQuery($upQuery)) { - ShowMsg("更新数据库archives表时出错,请检查!", "-1"); + ShowMsg("更新数据库archives表时出错,请检查", "-1"); exit(); } @@ -201,7 +201,7 @@ function _SaveArticle(){ } introduce='$body'{$inadd_f} WHERE aid='$aid'; "; if (!$dsql->ExecuteNoneQuery($inQuery)) { - ShowMsg("更新数据库附加表 addonsoft 时出错,请检查原因!", "-1"); + ShowMsg("更新数据库附加表 addonsoft 时出错,请检查原因", "-1"); exit(); } } @@ -221,7 +221,7 @@ function _SaveArticle(){ } &nbsp;&nbsp; <a href='content_list.php?channelid=$channelid' class='btn btn-secondary btn-sm'>管理软件</a> "; - $wintitle = "成功更改软件!"; + $wintitle = "成功更改软件"; $wecome_info = "软件管理::更改软件"; $win = new OxWindow(); $win->AddTitle("成功更改软件:"); diff --git a/src/member/templets/archives_add.htm b/src/member/templets/archives_add.htm index e4a43fbc..a2b553bc 100755 --- a/src/member/templets/archives_add.htm +++ b/src/member/templets/archives_add.htm @@ -111,24 +111,24 @@ <script type="text/javascript"> function checkSubmit() { if (document.addcontent.title.value == "") { - ShowMsg("名称不能为空!"); + ShowMsg("名称不能为空"); document.addcontent.title.focus(); return false; } if (document.addcontent.typeid.value == 0) { - ShowMsg("隶属栏目必须选择!"); + ShowMsg("隶属栏目必须选择"); return false; } if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { - ShowMsg("隶属栏目必须选择白色背景的项目!"); + ShowMsg("隶属栏目必须选择白色背景的项目"); return false; } if (document.addcontent.vdcode.value == "") { document.addcontent.vdcode.focus(); - ShowMsg("验证码不能为空!"); + ShowMsg("验证码不能为空"); return false; } } diff --git a/src/member/templets/archives_edit.htm b/src/member/templets/archives_edit.htm index 15fb50f0..fdeaa72c 100755 --- a/src/member/templets/archives_edit.htm +++ b/src/member/templets/archives_edit.htm @@ -111,24 +111,24 @@ <script type="text/javascript"> function checkSubmit() { if (document.addcontent.title.value == "") { - ShowMsg("名称不能为空!"); + ShowMsg("名称不能为空"); document.addcontent.title.focus(); return false; } if (document.addcontent.typeid.value == 0) { - ShowMsg("隶属栏目必须选择!"); + ShowMsg("隶属栏目必须选择"); return false; } if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { - ShowMsg("隶属栏目必须选择白色背景的项目!"); + ShowMsg("隶属栏目必须选择白色背景的项目"); return false; } if (document.addcontent.vdcode.value == "") { document.addcontent.vdcode.focus(); - ShowMsg("验证码不能为空!"); + ShowMsg("验证码不能为空"); return false; } } diff --git a/src/member/templets/archives_sg_add.htm b/src/member/templets/archives_sg_add.htm index fc3f778f..0375d65c 100755 --- a/src/member/templets/archives_sg_add.htm +++ b/src/member/templets/archives_sg_add.htm @@ -111,24 +111,24 @@ <script type="text/javascript"> function checkSubmit() { if (document.addcontent.title.value == "") { - ShowMsg("名称不能为空!"); + ShowMsg("名称不能为空"); document.addcontent.title.focus(); return false; } if (document.addcontent.typeid.value == 0) { - ShowMsg("隶属栏目必须选择!"); + ShowMsg("隶属栏目必须选择"); return false; } if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { - ShowMsg("隶属栏目必须选择白色背景的项目!"); + ShowMsg("隶属栏目必须选择白色背景的项目"); return false; } if (document.addcontent.vdcode.value == "") { document.addcontent.vdcode.focus(); - ShowMsg("验证码不能为空!"); + ShowMsg("验证码不能为空"); return false; } } diff --git a/src/member/templets/archives_sg_edit.htm b/src/member/templets/archives_sg_edit.htm index f2a27d63..df88d586 100755 --- a/src/member/templets/archives_sg_edit.htm +++ b/src/member/templets/archives_sg_edit.htm @@ -99,24 +99,24 @@ <script type="text/javascript"> function checkSubmit() { if (document.addcontent.title.value == "") { - ShowMsg("名称不能为空!"); + ShowMsg("名称不能为空"); document.addcontent.title.focus(); return false; } if (document.addcontent.typeid.value == 0) { - ShowMsg("隶属栏目必须选择!"); + ShowMsg("隶属栏目必须选择"); return false; } if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { - ShowMsg("隶属栏目必须选择白色背景的项目!"); + ShowMsg("隶属栏目必须选择白色背景的项目"); return false; } if (document.addcontent.vdcode.value == "") { document.addcontent.vdcode.focus(); - ShowMsg("验证码不能为空!"); + ShowMsg("验证码不能为空"); return false; } } diff --git a/src/member/templets/article_add.htm b/src/member/templets/article_add.htm index d07d339d..34acb22d 100755 --- a/src/member/templets/article_add.htm +++ b/src/member/templets/article_add.htm @@ -115,24 +115,24 @@ <script type="text/javascript"> function checkSubmit() { if (document.addcontent.title.value == "") { - ShowMsg("名称不能为空!"); + ShowMsg("名称不能为空"); document.addcontent.title.focus(); return false; } if (document.addcontent.typeid.value == 0) { - ShowMsg("隶属栏目必须选择!"); + ShowMsg("隶属栏目必须选择"); return false; } if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { - ShowMsg("隶属栏目必须选择白色背景的项目!"); + ShowMsg("隶属栏目必须选择白色背景的项目"); return false; } if (document.addcontent.vdcode.value == "") { document.addcontent.vdcode.focus(); - ShowMsg("验证码不能为空!"); + ShowMsg("验证码不能为空"); return false; } } diff --git a/src/member/templets/article_edit.htm b/src/member/templets/article_edit.htm index f99df921..cca30977 100755 --- a/src/member/templets/article_edit.htm +++ b/src/member/templets/article_edit.htm @@ -119,24 +119,24 @@ <script type="text/javascript"> function checkSubmit() { if (document.addcontent.title.value == "") { - ShowMsg("名称不能为空!"); + ShowMsg("名称不能为空"); document.addcontent.title.focus(); return false; } if (document.addcontent.typeid.value == 0) { - ShowMsg("隶属栏目必须选择!"); + ShowMsg("隶属栏目必须选择"); return false; } if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { - ShowMsg("隶属栏目必须选择白色背景的项目!"); + ShowMsg("隶属栏目必须选择白色背景的项目"); return false; } if (document.addcontent.vdcode.value == "") { document.addcontent.vdcode.focus(); - ShowMsg("验证码不能为空!"); + ShowMsg("验证码不能为空"); return false; } } diff --git a/src/member/templets/edit_baseinfo.htm b/src/member/templets/edit_baseinfo.htm index cfdd204d..0a9ab9a5 100755 --- a/src/member/templets/edit_baseinfo.htm +++ b/src/member/templets/edit_baseinfo.htm @@ -184,27 +184,27 @@ function checkSubmit() { if (document.form2.oldpwd.value == '') { document.form2.oldpwd.focus(); - ShowMsg("旧密码必须填写!"); + ShowMsg("旧密码必须填写"); return false; } if (document.form2.userpwdok.value != document.form2.userpwd.value) { document.form2.userpwdok.focus(); - ShowMsg("两次密码不一致!"); + ShowMsg("两次密码不一致"); return false; } if (document.form2.email.value == "") { document.form2.email.focus(); - ShowMsg("Email不能为空!"); + ShowMsg("Email不能为空"); return false; } if (document.form2.uname.value == "") { document.form2.uname.focus(); - ShowMsg("用户昵称不能为空!"); + ShowMsg("用户昵称不能为空"); return false; } if (document.form2.vdcode.value == "") { document.form2.vdcode.focus(); - ShowMsg("验证码不能为空!"); + ShowMsg("验证码不能为空"); return false; } } diff --git a/src/member/templets/mypay.htm b/src/member/templets/mypay.htm index 5426f950..2b74f7ee 100755 --- a/src/member/templets/mypay.htm +++ b/src/member/templets/mypay.htm @@ -96,7 +96,7 @@ { var selid = GetCheckfolderItem(); if(selid=='') { - alert("您没选中任何信息!"); + alert("您没选中任何信息"); return false; } if(window.confirm("您确定要删除这些消息么?")) diff --git a/src/member/templets/operation.htm b/src/member/templets/operation.htm index 52989b1b..43be70f3 100755 --- a/src/member/templets/operation.htm +++ b/src/member/templets/operation.htm @@ -95,7 +95,7 @@ { var selid = GetCheckfolderItem(); if(selid=='') { - ShowMsg("您没选中任何信息!"); + ShowMsg("您没选中任何信息"); return false; } if(window.confirm("您确定要删除这些消息么?")) diff --git a/src/member/templets/pm-main.htm b/src/member/templets/pm-main.htm index fb61bd52..a1bccea0 100755 --- a/src/member/templets/pm-main.htm +++ b/src/member/templets/pm-main.htm @@ -143,7 +143,7 @@ function DoSubmit(myfolder) { var selid = GetCheckfolderItem(); if (selid == '') { - ShowMsg("您没选中任何信息!"); + ShowMsg("您没选中任何信息"); return false; } if (window.confirm("您确定要删除这些消息么?")) { diff --git a/src/member/templets/shops_orders.htm b/src/member/templets/shops_orders.htm index be358301..7d33f787 100755 --- a/src/member/templets/shops_orders.htm +++ b/src/member/templets/shops_orders.htm @@ -115,7 +115,7 @@ { var selid = GetCheckfolderItem(); if(selid=='') { - alert("您没选中任何信息!"); + alert("您没选中任何信息"); return false; } if(window.confirm("您确定要删除这些消息么?")) diff --git a/src/member/templets/shops_products.htm b/src/member/templets/shops_products.htm index 1c2462dd..079f6324 100755 --- a/src/member/templets/shops_products.htm +++ b/src/member/templets/shops_products.htm @@ -165,7 +165,7 @@ { var selid = GetCheckfolderItem(); if(selid=='') { - alert("您没选中任何信息!"); + alert("您没选中任何信息"); return false; } if(window.confirm("您确定要删除这些消息么?")) diff --git a/src/member/templets/soft_add.htm b/src/member/templets/soft_add.htm index 78ca0e81..8625d78b 100755 --- a/src/member/templets/soft_add.htm +++ b/src/member/templets/soft_add.htm @@ -240,24 +240,24 @@ <script type="text/javascript"> function checkSubmit() { if (document.addcontent.title.value == "") { - ShowMsg("名称不能为空!"); + ShowMsg("名称不能为空"); document.addcontent.title.focus(); return false; } if (document.addcontent.typeid.value == 0) { - ShowMsg("隶属栏目必须选择!"); + ShowMsg("隶属栏目必须选择"); return false; } if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { - ShowMsg("隶属栏目必须选择白色背景的项目!"); + ShowMsg("隶属栏目必须选择白色背景的项目"); return false; } if (document.addcontent.vdcode.value == "") { document.addcontent.vdcode.focus(); - ShowMsg("验证码不能为空!"); + ShowMsg("验证码不能为空"); return false; } } diff --git a/src/member/templets/soft_edit.htm b/src/member/templets/soft_edit.htm index 37135e18..84474c59 100755 --- a/src/member/templets/soft_edit.htm +++ b/src/member/templets/soft_edit.htm @@ -257,24 +257,24 @@ <script type="text/javascript"> function checkSubmit() { if (document.addcontent.title.value == "") { - ShowMsg("名称不能为空!"); + ShowMsg("名称不能为空"); document.addcontent.title.focus(); return false; } if (document.addcontent.typeid.value == 0) { - ShowMsg("隶属栏目必须选择!"); + ShowMsg("隶属栏目必须选择"); return false; } if (document.addcontent.typeid.options && document.addcontent.typeid.options[document.addcontent.typeid.selectedIndex].className != 'option3') { - ShowMsg("隶属栏目必须选择白色背景的项目!"); + ShowMsg("隶属栏目必须选择白色背景的项目"); return false; } if (document.addcontent.vdcode.value == "") { document.addcontent.vdcode.focus(); - ShowMsg("验证码不能为空!"); + ShowMsg("验证码不能为空"); return false; } } diff --git a/src/plus/advancedsearch.php b/src/plus/advancedsearch.php index cbefac80..e6f26e1d 100755 --- a/src/plus/advancedsearch.php +++ b/src/plus/advancedsearch.php @@ -49,7 +49,7 @@ if (empty($sql)) { $q = stripslashes($q); $q = preg_replace("#[\|\"\r\n\t%\*\?\(\)\$;,'%<>]#", " ", trim($q)); if (($cfg_notallowstr != '' && preg_match("#".$cfg_notallowstr."#i", $q)) || ($cfg_replacestr != '' && preg_match("#".$cfg_replacestr."#i", $q))) { - echo "您的信息中存在非法内容,被系统禁止!<a href='javascript:history.go(-1)'>[返回]</a>"; + echo "您的信息中存在非法内容,被系统禁止<a href='javascript:history.go(-1)'>[返回]</a>"; exit(); } $q = addslashes($q); diff --git a/src/plus/car.php b/src/plus/car.php index 4ba8262d..ee3fcafe 100755 --- a/src/plus/car.php +++ b/src/plus/car.php @@ -27,7 +27,7 @@ $cfg_ml = new MemberLogin(); //获得购物车内商品,返回数组 $Items = $cart->getItems(); if ($cart->cartCount() < 1) { - ShowMsg("购物车中不存在任何商品!", "javascript:window.close();", false, 5000); + ShowMsg("购物车中不存在任何商品", "javascript:window.close();", false, 5000); exit; } @sort($Items); diff --git a/src/plus/carbuyaction.php b/src/plus/carbuyaction.php index a36fe50d..75516001 100755 --- a/src/plus/carbuyaction.php +++ b/src/plus/carbuyaction.php @@ -17,7 +17,7 @@ require_once DEDEINC.'/shopcar.class.php'; require_once DEDEINC.'/memberlogin.class.php'; if ($cfg_mb_open == 'N') { - ShowMsg("系统关闭了会员功能,因此您无法访问此页面!", "javascript:;"); + ShowMsg("系统关闭了会员功能,因此您无法访问此页面", "javascript:;"); exit(); } $rs = array(); @@ -31,7 +31,7 @@ if (!isset($dopost) || empty($dopost)) { //获得购物车内商品,返回数组 $Items = $cart->getItems(); if (empty($Items)) { - ShowMsg("您的购物车中没有商品!", "-1"); + ShowMsg("您的购物车中没有商品", "-1"); exit(); } @@ -77,25 +77,25 @@ if (!isset($dopost) || empty($dopost)) { } else if ($do == 'clickout') { $svali = GetCkVdValue(); if ((strtolower($vdcode) != $svali || $svali == "") && $payment == 'none') { - ShowMsg("验证码错误!", "-1"); + ShowMsg("验证码错误", "-1"); exit(); } if (empty($address)) { - ShowMsg("请填写收货地址!", "-1"); + ShowMsg("请填写收货地址", "-1"); exit(); } if (empty($postname)) { - ShowMsg("请填写收货人姓名!", "-1"); + ShowMsg("请填写收货人姓名", "-1"); exit(); } $paytype = isset($paytype) && is_numeric($paytype) ? $paytype : 0; $pid = isset($pid) && is_numeric($pid) ? $pid : 0; if ($paytype < 1) { - ShowMsg("请选择支付方式!", "-1"); + ShowMsg("请选择支付方式", "-1"); exit(); } if ($pid < 1) { - ShowMsg("请选择配送方式!", "-1"); + ShowMsg("请选择配送方式", "-1"); exit(); } $address = cn_substrR(trim(RemoveXSS($address)), 200); @@ -105,11 +105,11 @@ if (!isset($dopost) || empty($dopost)) { $zip = preg_replace("#[^0-9]#", "", $zip); $email = cn_substrR(RemoveXSS($email), 255); if (empty($tel)) { - ShowMsg("请填写正确的收货人联系电话!", "-1"); + ShowMsg("请填写正确的收货人联系电话", "-1"); exit(); } if ($zip < 1 || $zip > 999999) { - ShowMsg("请填写正确的收货人邮政编码!", "-1"); + ShowMsg("请填写正确的收货人邮政编码", "-1"); exit(); } @@ -121,16 +121,16 @@ if (!isset($dopost) || empty($dopost)) { $password = trim($password); if (empty($username) || $password) { - ShowMsg("请选登录!", "-1", 0, 2000); + ShowMsg("请选登录", "-1", 0, 2000); exit(); } $rs = $cfg_ml->CheckUser($username, $password); if ($rs == 0) { - ShowMsg("用户名不存在!", "-1", 0, 2000); + ShowMsg("用户名不存在", "-1", 0, 2000); exit(); } else if ($rs == -1) { - ShowMsg("密码错误!", "-1", 0, 2000); + ShowMsg("密码错误", "-1", 0, 2000); exit(); } $userid = $cfg_ml->M_ID; @@ -168,7 +168,7 @@ if (!isset($dopost) || empty($dopost)) { "; $dsql->ExecuteNoneQuery($sql); } else { - ShowMsg("更新订单时出现错误!".$dsql->GetError(), "-1"); + ShowMsg("更新订单时出现错误".$dsql->GetError(), "-1"); exit(); } } else { @@ -229,7 +229,7 @@ if (!isset($dopost) || empty($dopost)) { if (preg_match("/S-P[0-9]+RN[0-9]/", $oid)) { $oid = trim($oid); } else { - ShowMsg("您的订单号不存在!", "/member/shops_orders.php", 0, 2000); + ShowMsg("您的订单号不存在", "/member/shops_orders.php", 0, 2000); exit(); } @@ -241,16 +241,16 @@ if (!isset($dopost) || empty($dopost)) { $password = trim($password); if (empty($username) || $password) { - ShowMsg("请选登录!", "-1", 0, 2000); + ShowMsg("请选登录", "-1", 0, 2000); exit(); } $rs = $cfg_ml->CheckUser($username, $password); if ($rs == 0) { - ShowMsg("用户名不存在!", "-1", 0, 2000); + ShowMsg("用户名不存在", "-1", 0, 2000); exit(); } else if ($rs == -1) { - ShowMsg("密码错误!", "-1", 0, 2000); + ShowMsg("密码错误", "-1", 0, 2000); exit(); } $userid = $cfg_ml->M_ID; diff --git a/src/plus/diy.php b/src/plus/diy.php index 51218f52..7e00d70f 100755 --- a/src/plus/diy.php +++ b/src/plus/diy.php @@ -113,7 +113,7 @@ else if ($action == 'list') { exit(); } if (empty($id)) { - showMsg('非法操作!未指定id', 'javascript:;'); + showMsg('非法操作未指定id', 'javascript:;'); exit(); } if ($diy->public == 2) { diff --git a/src/plus/download.php b/src/plus/download.php index 0492ff9a..b32e7af5 100755 --- a/src/plus/download.php +++ b/src/plus/download.php @@ -28,7 +28,7 @@ if ($open == 0) { $cu = new ChannelUnit($arcRow['channel'], $aid); if (!is_array($cu->ChannelFields)) { - ShowMsg('获取文档信息失败!', '-1'); + ShowMsg('获取文档信息失败', '-1'); exit(); } @@ -94,7 +94,7 @@ function getSoft_new() //获得附加表信息 $row = $dsql->GetOne("SELECT ch.addtable,arc.mid FROM `#@__arctiny` arc LEFT JOIN `#@__channeltype` ch ON ch.id=arc.channel WHERE arc.id='$id' "); if (empty($row['addtable'])) { - ShowMsg('找不到所需要的软件资源!', 'javascript:;'); + ShowMsg('找不到所需要的软件资源', 'javascript:;'); exit(); } $mid = $row['mid']; @@ -102,7 +102,7 @@ function getSoft_new() //读取连接列表、下载权限信息 $row = $dsql->GetOne("SELECT softlinks,daccess,needmoney FROM `{$row['addtable']}` WHERE aid='$id' "); if (empty($row['softlinks'])) { - ShowMsg('找不到所需要的软件资源!', 'javascript:;'); + ShowMsg('找不到所需要的软件资源', 'javascript:;'); exit(); } $softconfig = $dsql->GetOne("SELECT * FROM `#@__softconfig` "); @@ -121,7 +121,7 @@ function getSoft_new() $dtp->LoadSource($row['softlinks']); if (!is_array($dtp->CTags)) { $dtp->Clear(); - ShowMsg('找不到所需要的软件资源!', 'javascript:;'); + ShowMsg('找不到所需要的软件资源', 'javascript:;'); exit(); } foreach ($dtp->CTags as $ctag) { @@ -157,7 +157,7 @@ function getSoft_new() } } if ($softUrl == '') { - ShowMsg('找不到所需要的软件资源!', 'javascript:;'); + ShowMsg('找不到所需要的软件资源', 'javascript:;'); exit(); } //------------------------- @@ -186,8 +186,8 @@ function getSoft_new() $memberTypes[$row->rank] = $row->membername; } $memberTypes[0] = "游客"; - $msgtitle = "您没有权限下载软件:{$arctitle}!"; - $moremsg = "这个软件需要 <font color='red'>".$memberTypes[$needRank]."</font> 才能下载,您目前是:<font color='red'>".$memberTypes[$cfg_ml->M_Rank]."</font> !"; + $msgtitle = "您没有权限下载软件:{$arctitle}"; + $moremsg = "这个软件需要 <font color='red'>".$memberTypes[$needRank]."</font> 才能下载,您目前是:<font color='red'>".$memberTypes[$cfg_ml->M_Rank]."</font> "; include_once(DEDETEMPLATE.'/plus/view_msg.htm'); exit(); } @@ -201,8 +201,8 @@ function getSoft_new() if (!is_array($row)) { //没有足够的金币 if ($needMoney > $cfg_ml->M_Money || $cfg_ml->M_Money == '') { - $msgtitle = "您没有权限下载软件:{$arctitle}!"; - $moremsg = "这个软件需要 <font color='red'>".$needMoney." 金币</font> 才能下载,您目前拥有金币:<font color='red'>".$cfg_ml->M_Money." 个</font> !"; + $msgtitle = "您没有权限下载软件:{$arctitle}"; + $moremsg = "这个软件需要 <font color='red'>".$needMoney." 金币</font> 才能下载,您目前拥有金币:<font color='red'>".$cfg_ml->M_Money." 个</font> "; include_once(DEDETEMPLATE.'/plus/view_msg.htm'); exit(0); } diff --git a/src/plus/erraddsave.php b/src/plus/erraddsave.php index 3df71918..e2adf683 100755 --- a/src/plus/erraddsave.php +++ b/src/plus/erraddsave.php @@ -51,7 +51,7 @@ if ($dopost == "saveedit") { "data" => "ok", )); } else { - ShowMsg("谢谢您对本网站的支持,我们会尽快处理您的建议!", "javascript:window.close();"); + ShowMsg("谢谢您对本网站的支持,我们会尽快处理您的建议", "javascript:window.close();"); } exit(); diff --git a/src/plus/list.php b/src/plus/list.php index 9ac83969..29ff31f8 100755 --- a/src/plus/list.php +++ b/src/plus/list.php @@ -55,8 +55,8 @@ if ($tinfos['issystem'] == -1) { $memberTypes[$row->rank] = $row->membername; } $memberTypes[0] = "游客或没权限会员"; - $msgtitle = "您没有权限浏览栏目:{$lv->Fields['typename']} !"; - $moremsg = "这个栏目需要 <font color='red'>".$memberTypes[$lv->Fields['corank']]."</font> 才能访问,您目前是:<font color='red'>".$memberTypes[$cfg_ml->M_Rank]."</font> !"; + $msgtitle = "您没有权限浏览栏目:{$lv->Fields['typename']} "; + $moremsg = "这个栏目需要 <font color='red'>".$memberTypes[$lv->Fields['corank']]."</font> 才能访问,您目前是:<font color='red'>".$memberTypes[$cfg_ml->M_Rank]."</font> "; include_once(DEDETEMPLATE.'/plus/view_msg_catalog.htm'); exit(); } diff --git a/src/plus/posttocar.php b/src/plus/posttocar.php index b8c435c1..bccb4f9a 100755 --- a/src/plus/posttocar.php +++ b/src/plus/posttocar.php @@ -25,13 +25,13 @@ if ($do == 'add') { $buynum = ($buynum < 1) ? 1 : $buynum; $rs = $dsql->GetOne("SELECT id,channel,title FROM #@__archives WHERE id='$id'"); if (!is_array($rs)) { - ShowMsg("该商品已不存在!", "-1"); + ShowMsg("该商品已不存在", "-1"); exit(); } $cts = GetChannelTable($rs['channel']); $rows = $dsql->GetOne("SELECT aid as id,trueprice as price,units FROM `$cts[addtable]` WHERE aid='$id'"); if (!is_array($rows)) { - ShowMsg("该商品已不存在!", "-1"); + ShowMsg("该商品已不存在", "-1"); exit(); } $rows['buynum'] = $buynum; @@ -44,7 +44,7 @@ if ($do == 'add') { function delItem(); del products from car */ if (!isset($ids)) { - ShowMsg("请选择要删除的商品!", "-1"); + ShowMsg("请选择要删除的商品", "-1"); exit; } if (is_array($ids)) { @@ -63,7 +63,7 @@ if ($do == 'add') { function clearItem(); clear car products all! */ $cart->clearItem(); - ShowMsg("购物车中商品已全部清空!", "car.php"); + ShowMsg("购物车中商品已全部清空", "car.php"); exit; } elseif ($do == 'update') { /* @@ -87,6 +87,6 @@ if ($do == 'add') { $cart->addItem($id, $rows); } } - ShowMsg("购物车中商品已全部更新!", "car.php"); + ShowMsg("购物车中商品已全部更新", "car.php"); exit; } diff --git a/src/plus/recommend.php b/src/plus/recommend.php index 0c4e7395..a6c33240 100755 --- a/src/plus/recommend.php +++ b/src/plus/recommend.php @@ -44,7 +44,7 @@ else if ($action == 'send') { $msg = RemoveXSS(dede_htmlspecialchars($msg)); $mailtitle = "您的好友给您推荐了一篇文章"; $mailbody .= "$msg \r\n\r\n"; - $mailbody .= "Powered by https://www.dedebiz.com DedeBIZ内容管理系统!"; + $mailbody .= "Powered by https://www.dedebiz.com DedeBIZ内容管理系统"; $headers = "From: ".$cfg_adminemail."\r\nReply-To: ".$cfg_adminemail; if (!empty($cfg_bizcore_appid) && !empty($cfg_bizcore_key)) { diff --git a/src/plus/search.php b/src/plus/search.php index 514a782a..eb99514b 100755 --- a/src/plus/search.php +++ b/src/plus/search.php @@ -67,12 +67,12 @@ $keyword = addslashes(cn_substr($keyword, 30)); $typeid = intval($typeid); if ($cfg_notallowstr != '' && preg_match("#".$cfg_notallowstr."#i", $keyword)) { - ShowMsg("您的搜索关键字中存在非法内容,被系统禁止!", "-1"); + ShowMsg("您的搜索关键字中存在非法内容,被系统禁止", "-1"); exit(); } if (($keyword == '' || strlen($keyword) < 2) && empty($typeid)) { - ShowMsg('关键字不能小于2个字节!', '-1'); + ShowMsg('关键字不能小于2个字节', '-1'); exit(); } @@ -85,7 +85,7 @@ $row = $dsql->GetOne("SELECT * FROM `#@__search_limits` WHERE ip='{$ip}'"); if (is_array($row)) { if (($now - $row['searchtime']) < $cfg_search_time) { - ShowMsg('管理员设定搜索时间间隔为'.$cfg_search_time.'秒,请稍后再试!', '-1'); + ShowMsg('管理员设定搜索时间间隔为'.$cfg_search_time.'秒,请稍后再试', '-1'); exit; } $dsql->ExecuteNoneQuery("UPDATE `#@__search_limits` SET `searchtime`='{$now}' WHERE `ip`='{$ip}';"); diff --git a/src/plus/stow.php b/src/plus/stow.php index 469e72bd..059c023c 100755 --- a/src/plus/stow.php +++ b/src/plus/stow.php @@ -23,7 +23,7 @@ require_once(DEDEINC."/memberlogin.class.php"); $ml = new MemberLogin(); if ($ml->M_ID == 0) { - ShowMsg('只有会员才允许收藏操作!', 'javascript:window.close();'); + ShowMsg('只有会员才允许收藏操作', 'javascript:window.close();'); exit(); } @@ -54,4 +54,4 @@ if ($type == '') { $row = $dsql->GetOne("SELECT COUNT(*) AS nums FROM `#@__member_stow` WHERE `mid`='{$ml->M_ID}' "); $dsql->ExecuteNoneQuery("UPDATE `#@__member_tj` SET `stow`='{$row['nums']}' WHERE `mid`='".$ml->M_ID."'"); -ShowMsg('成功收藏一篇文档!', 'javascript:window.close();'); +ShowMsg('成功收藏一篇文档', 'javascript:window.close();'); diff --git a/src/plus/view.php b/src/plus/view.php index 8a0534cc..58c6a14b 100755 --- a/src/plus/view.php +++ b/src/plus/view.php @@ -63,8 +63,8 @@ if ($needMoney > 0 || $needRank > 1) { $memberTypes[$row->rank] = $row->membername; } $memberTypes[0] = "游客或没权限会员"; - $msgtitle = "您没有权限浏览文档:{$arctitle} !"; - $moremsg = "这篇文档需要 <font color='red'>".$memberTypes[$needRank]."</font> 才能访问,您目前是:<font color='red'>".$memberTypes[$cfg_ml->M_Rank]."</font> !"; + $msgtitle = "您没有权限浏览文档:{$arctitle} "; + $moremsg = "这篇文档需要 <font color='red'>".$memberTypes[$needRank]."</font> 才能访问,您目前是:<font color='red'>".$memberTypes[$cfg_ml->M_Rank]."</font> "; include_once(DEDETEMPLATE.'/plus/view_msg.htm'); exit(); } @@ -76,8 +76,8 @@ if ($needMoney > 0 || $needRank > 1) { //未购买过此文章 if (!is_array($row)) { if ($cfg_ml->M_Money == '' || $needMoney > $cfg_ml->M_Money) { - $msgtitle = "您没有权限浏览文档:{$arctitle} !"; - $moremsg = "这篇文档需要 <font color='red'>".$needMoney." 金币</font> 才能访问,您目前拥有金币:<font color='red'>".$cfg_ml->M_Money." 个</font> !"; + $msgtitle = "您没有权限浏览文档:{$arctitle} "; + $moremsg = "这篇文档需要 <font color='red'>".$needMoney." 金币</font> 才能访问,您目前拥有金币:<font color='red'>".$cfg_ml->M_Money." 个</font> "; include_once(DEDETEMPLATE.'/plus/view_msg.htm'); $arc->Close(); exit(); @@ -92,7 +92,7 @@ if ($needMoney > 0 || $needRank > 1) { exit; } - showmsg('购买成功,购买扣点不会重扣金币,谢谢!', '/plus/view.php?aid='.$aid); + showmsg('购买成功,购买扣点不会重扣金币,谢谢', '/plus/view.php?aid='.$aid); exit; } else { showmsg('购买失败, 请返回', -1); @@ -100,8 +100,8 @@ if ($needMoney > 0 || $needRank > 1) { } } - $msgtitle = "扣金币购买阅读!"; - $moremsg = "阅读该文档内容需要付费!<br>这篇文档需要 <font color='red'>".$needMoney." 金币</font> 才能访问,您目前拥有金币 <font color='red'>".$cfg_ml->M_Money." </font>个!<br>确认阅读请点 [<a href='/plus/view.php?aid=".$aid."&dopost=buy' target='_blank'>确认付点阅读</a>]"; + $msgtitle = "扣金币购买阅读"; + $moremsg = "阅读该文档内容需要付费<br>这篇文档需要 <font color='red'>".$needMoney." 金币</font> 才能访问,您目前拥有金币 <font color='red'>".$cfg_ml->M_Money." </font>个<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(); diff --git a/src/plus/vote.php b/src/plus/vote.php index 4ee8c034..6678611b 100755 --- a/src/plus/vote.php +++ b/src/plus/vote.php @@ -30,7 +30,7 @@ $aid = (isset($aid) && is_numeric($aid)) ? $aid : 0; if ($aid == 0) die(" Request Error! "); if ($aid == 0) { - ShowMsg("没指定投票项目的ID!", "-1"); + ShowMsg("没指定投票项目的ID", "-1"); exit(); } $vo = new DedeVote($aid); @@ -51,7 +51,7 @@ if ($dopost == 'send') { if (!empty($voteitem)) { $rsmsg = "<br />&nbsp;您方才的投票状态:".$vo->SaveVote($voteitem)."<br />"; } else { - $rsmsg = "<br />&nbsp;您刚才没选择任何投票项目!<br />"; + $rsmsg = "<br />&nbsp;您刚才没选择任何投票项目<br />"; } if ($row['isenable'] == 1) { diff --git a/src/static/js/member_album.js b/src/static/js/member_album.js index aeb4a715..528624b3 100644 --- a/src/static/js/member_album.js +++ b/src/static/js/member_album.js @@ -3,19 +3,19 @@ function checkSubmit() { if(document.form1.title.value=='') { - alert("图集标题不能为空!"); + alert("图集标题不能为空"); document.form1.title.focus(); return false; } if(document.form1.typeid.value==0) { - alert("隶属栏目必须选择!"); + alert("隶属栏目必须选择"); return false; } if(document.form1.typeid.options[document.form1.typeid.selectedIndex].className!='option3') { - alert("隶属栏目必须选择白色背景的项目!"); + alert("隶属栏目必须选择白色背景的项目"); return false; } @@ -91,7 +91,7 @@ function LoadTestDiv() var dfstr = '粘贴到这里...'; if(document.getElementById('imagebody').value.length <= dfstr.length) { - alert('您还没有粘贴任何东西都编辑框哦!'); + alert('您还没有粘贴任何东西都编辑框哦'); return; } if(!newobj){ @@ -157,7 +157,7 @@ function ShowZipField(formitem,zipid,upid) function ShowHtmlField(formitem,htmlid,upid) { if($Nav()!="IE"){ - alert("该方法不适用于非IE浏览器!"); + alert("该方法不适用于非IE浏览器"); return ; } if(formitem.checked){ diff --git a/src/templets/default/singlepage.htm b/src/templets/default/singlepage.htm index f1fdda14..4097d7bc 100755 --- a/src/templets/default/singlepage.htm +++ b/src/templets/default/singlepage.htm @@ -9,7 +9,7 @@ <script language='javascript' type='text/javascript'> function checkSubmit(){ if(document.feedback.msg.value!='') document.feedback.submit(); - else alert("评论内容不能为空!"); + else alert("评论内容不能为空"); } </script> </head> diff --git a/src/templets/default/widget_article_digg.htm b/src/templets/default/widget_article_digg.htm index a05cfe56..56d60ad6 100644 --- a/src/templets/default/widget_article_digg.htm +++ b/src/templets/default/widget_article_digg.htm @@ -54,7 +54,7 @@ if (j == 19 && !hasid) break; } } - if (hasid) { ShowMsg("您已经顶过该帖,请不要重复顶帖 !"); return; } + if (hasid) { ShowMsg("您已经顶过该帖,请不要重复顶帖 "); return; } else saveid += ',' + aid; SetCookie('diggid', saveid, 1); } diff --git a/src/templets/plus/carbuyaction.htm b/src/templets/plus/carbuyaction.htm index d2074fce..e451c6fd 100755 --- a/src/templets/plus/carbuyaction.htm +++ b/src/templets/plus/carbuyaction.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/templets/plus/heightsearch.htm b/src/templets/plus/heightsearch.htm index 15efeec2..80d72175 100755 --- a/src/templets/plus/heightsearch.htm +++ b/src/templets/plus/heightsearch.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/templets/plus/recommend.htm b/src/templets/plus/recommend.htm index 66fdc0d8..53acc296 100755 --- a/src/templets/plus/recommend.htm +++ b/src/templets/plus/recommend.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -33,7 +32,7 @@ <td height="30" align="right">您的留言:</td> <td height="30" align="left"><textarea name="msg" cols="80" rows="16" id="msg" class="form-control"> 您好,我在 [<?php echo $cfg_webname; ?>] 发现了一个很好的东东: -您不妨去看看吧! +您不妨去看看吧 文档的名称是:<?php echo $title; ?> diff --git a/src/templets/plus/view_msg.htm b/src/templets/plus/view_msg.htm index c94503f3..93e705b3 100755 --- a/src/templets/plus/view_msg.htm +++ b/src/templets/plus/view_msg.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/src/templets/plus/vote.htm b/src/templets/plus/vote.htm index 6281412c..089bdd4f 100755 --- a/src/templets/plus/vote.htm +++ b/src/templets/plus/vote.htm @@ -1,5 +1,4 @@ -<!DOCTYPE html - PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> From 634fb22067cb685e1bcae76ffbb8b61cc20a004c Mon Sep 17 00:00:00 2001 From: xushubieli <xushubieli@qq.com> Date: Thu, 10 Feb 2022 11:52:29 +0800 Subject: [PATCH 4/8] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=BD=91=E9=A1=B5?= =?UTF-8?q?=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dede/templets/action_search.htm | 1 - src/dede/templets/ad_add.htm | 1 - src/dede/templets/ad_edit.htm | 1 - src/dede/templets/ad_main.htm | 1 - src/dede/templets/album_add.htm | 1 - src/dede/templets/archives_add.htm | 1 - src/dede/templets/archives_edit.htm | 1 - src/dede/templets/article_description_main.htm | 1 - src/dede/templets/article_keywords_main.htm | 1 - src/dede/templets/article_test_same.htm | 1 - src/dede/templets/baidunews.htm | 1 - src/dede/templets/cards_make.htm | 1 - src/dede/templets/cards_manmage.htm | 1 - src/dede/templets/cards_type.htm | 1 - src/dede/templets/catalog_add.htm | 1 - src/dede/templets/catalog_add_quick.htm | 1 - src/dede/templets/catalog_edit.htm | 1 - src/dede/templets/content_att.htm | 1 - src/dede/templets/content_batch_up.htm | 1 - src/dede/templets/diy_add.htm | 1 - src/dede/templets/diy_edit.htm | 1 - src/dede/templets/feedback_edit.htm | 1 - src/dede/templets/file_manage_main.htm | 1 - src/dede/templets/freelist_add.htm | 1 - src/dede/templets/freelist_edit.htm | 1 - src/dede/templets/friendlink_edit.htm | 1 - src/dede/templets/friendlink_main.htm | 1 - src/dede/templets/friendlink_type.htm | 1 - src/dede/templets/log_list.htm | 1 - src/dede/templets/makehtml_archives.htm | 1 - src/dede/templets/makehtml_freelist.htm | 1 - src/dede/templets/makehtml_homepage.htm | 1 - src/dede/templets/makehtml_js.htm | 1 - src/dede/templets/makehtml_list.htm | 1 - src/dede/templets/makehtml_map_guide.htm | 1 - src/dede/templets/makehtml_rss.htm | 1 - src/dede/templets/makehtml_spec.htm | 1 - src/dede/templets/media_add.htm | 1 - src/dede/templets/media_main.htm | 1 - src/dede/templets/member_main.htm | 1 - src/dede/templets/member_operations.htm | 1 - src/dede/templets/member_pm.htm | 1 - src/dede/templets/member_rank.htm | 1 - src/dede/templets/member_scores.htm | 1 - src/dede/templets/member_toadmin.htm | 1 - src/dede/templets/member_type.htm | 1 - src/dede/templets/module_help.htm | 1 - src/dede/templets/module_make.htm | 1 - src/dede/templets/mychannel_add.htm | 1 - src/dede/templets/mychannel_edit.htm | 1 - src/dede/templets/mychannel_field_edit.htm | 1 - src/dede/templets/mychannel_main.htm | 1 - src/dede/templets/mychannel_modifysearch.htm | 1 - src/dede/templets/mytag_add.htm | 1 - src/dede/templets/mytag_main.htm | 1 - src/dede/templets/mytag_tag_guide.htm | 1 - src/dede/templets/plus_main.htm | 1 - src/dede/templets/shops_delivery.htm | 1 - src/dede/templets/shops_operations.htm | 1 - src/dede/templets/soft_add.htm | 1 - src/dede/templets/soft_config.htm | 1 - src/dede/templets/soft_edit.htm | 1 - src/dede/templets/spec_add.htm | 1 - src/dede/templets/spec_edit.htm | 1 - src/dede/templets/sys_admin_user.htm | 1 - src/dede/templets/sys_admin_user_add.htm | 1 - src/dede/templets/sys_admin_user_edit.htm | 1 - src/dede/templets/sys_cache_up.htm | 1 - src/dede/templets/sys_data.htm | 1 - src/dede/templets/sys_data_replace.htm | 1 - src/dede/templets/sys_data_revert.htm | 1 - src/dede/templets/sys_group.htm | 1 - src/dede/templets/sys_group_add.htm | 1 - src/dede/templets/sys_group_edit.htm | 1 - src/dede/templets/sys_info_mark.htm | 1 - src/dede/templets/sys_payment.htm | 1 - src/dede/templets/sys_payment_install.htm | 1 - src/dede/templets/sys_safetest.htm | 1 - src/dede/templets/sys_sql_query.htm | 1 - src/dede/templets/tag_test.htm | 1 - src/dede/templets/templets_one_add.htm | 1 - src/dede/templets/templets_tagsource.htm | 1 - src/dede/templets/tpl_newfile.htm | 1 - src/dede/templets/vote_add.htm | 1 - src/dede/templets/vote_edit.htm | 1 - src/dede/templets/vote_getcode.htm | 1 - src/dede/templets/vote_main.htm | 1 - src/dede/templets/winmode.htm | 1 - src/dede/testenv.php | 1 - src/templets/plus/carbuyaction.htm | 1 - src/templets/plus/heightsearch.htm | 1 - src/templets/plus/recommend.htm | 1 - src/templets/plus/view_msg.htm | 1 - src/templets/plus/vote.htm | 1 - 94 files changed, 94 deletions(-) diff --git a/src/dede/templets/action_search.htm b/src/dede/templets/action_search.htm index dd5b6f5f..3b3c91ca 100755 --- a/src/dede/templets/action_search.htm +++ b/src/dede/templets/action_search.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>操作搜索</title> diff --git a/src/dede/templets/ad_add.htm b/src/dede/templets/ad_add.htm index fb51127d..a39c21ad 100755 --- a/src/dede/templets/ad_add.htm +++ b/src/dede/templets/ad_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>增加广告</title> diff --git a/src/dede/templets/ad_edit.htm b/src/dede/templets/ad_edit.htm index 6db8edc4..d1e36689 100755 --- a/src/dede/templets/ad_edit.htm +++ b/src/dede/templets/ad_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>更改广告</title> diff --git a/src/dede/templets/ad_main.htm b/src/dede/templets/ad_main.htm index 3ca6f018..4d1e0bb1 100755 --- a/src/dede/templets/ad_main.htm +++ b/src/dede/templets/ad_main.htm @@ -1,7 +1,6 @@ {dede:config.pagesize value='20' /} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>广告管理</title> diff --git a/src/dede/templets/album_add.htm b/src/dede/templets/album_add.htm index 15097b96..9a5c370f 100755 --- a/src/dede/templets/album_add.htm +++ b/src/dede/templets/album_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>增加图片集</title> diff --git a/src/dede/templets/archives_add.htm b/src/dede/templets/archives_add.htm index 2a48193a..e9987ccd 100755 --- a/src/dede/templets/archives_add.htm +++ b/src/dede/templets/archives_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>发布文档</title> diff --git a/src/dede/templets/archives_edit.htm b/src/dede/templets/archives_edit.htm index 9900149d..8521bf13 100755 --- a/src/dede/templets/archives_edit.htm +++ b/src/dede/templets/archives_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>更改文档</title> diff --git a/src/dede/templets/article_description_main.htm b/src/dede/templets/article_description_main.htm index aab4d8e2..9d48ea1a 100755 --- a/src/dede/templets/article_description_main.htm +++ b/src/dede/templets/article_description_main.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>文档自动摘要、自动分页</title> diff --git a/src/dede/templets/article_keywords_main.htm b/src/dede/templets/article_keywords_main.htm index b4f6204b..335aefbd 100755 --- a/src/dede/templets/article_keywords_main.htm +++ b/src/dede/templets/article_keywords_main.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>关键字管理</title> diff --git a/src/dede/templets/article_test_same.htm b/src/dede/templets/article_test_same.htm index d955b0d6..25c7e99b 100755 --- a/src/dede/templets/article_test_same.htm +++ b/src/dede/templets/article_test_same.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>重复文档检测</title> diff --git a/src/dede/templets/baidunews.htm b/src/dede/templets/baidunews.htm index 64997393..cc131b29 100755 --- a/src/dede/templets/baidunews.htm +++ b/src/dede/templets/baidunews.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>百度新闻地图</title> diff --git a/src/dede/templets/cards_make.htm b/src/dede/templets/cards_make.htm index 4ea26bd2..73bd81cd 100755 --- a/src/dede/templets/cards_make.htm +++ b/src/dede/templets/cards_make.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>点卡生成向导</title> diff --git a/src/dede/templets/cards_manmage.htm b/src/dede/templets/cards_manmage.htm index b4b8c1b8..b11bd014 100755 --- a/src/dede/templets/cards_manmage.htm +++ b/src/dede/templets/cards_manmage.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>点卡业务记录</title> diff --git a/src/dede/templets/cards_type.htm b/src/dede/templets/cards_type.htm index e64c5540..0d7202fb 100755 --- a/src/dede/templets/cards_type.htm +++ b/src/dede/templets/cards_type.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>点卡产品分类</title> diff --git a/src/dede/templets/catalog_add.htm b/src/dede/templets/catalog_add.htm index d7e28dfd..c9f5d973 100755 --- a/src/dede/templets/catalog_add.htm +++ b/src/dede/templets/catalog_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>栏目管理</title> diff --git a/src/dede/templets/catalog_add_quick.htm b/src/dede/templets/catalog_add_quick.htm index e317b53c..31636726 100755 --- a/src/dede/templets/catalog_add_quick.htm +++ b/src/dede/templets/catalog_add_quick.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>栏目管理--快速创建栏目</title> diff --git a/src/dede/templets/catalog_edit.htm b/src/dede/templets/catalog_edit.htm index 306607a4..14d148f5 100755 --- a/src/dede/templets/catalog_edit.htm +++ b/src/dede/templets/catalog_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>栏目管理</title> diff --git a/src/dede/templets/content_att.htm b/src/dede/templets/content_att.htm index 2e0d2c95..c8b25fab 100755 --- a/src/dede/templets/content_att.htm +++ b/src/dede/templets/content_att.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>自定义属性管理</title> diff --git a/src/dede/templets/content_batch_up.htm b/src/dede/templets/content_batch_up.htm index 76b7f1b9..02d2c328 100755 --- a/src/dede/templets/content_batch_up.htm +++ b/src/dede/templets/content_batch_up.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>文档批量管理</title> diff --git a/src/dede/templets/diy_add.htm b/src/dede/templets/diy_add.htm index dd381694..5846afbb 100755 --- a/src/dede/templets/diy_add.htm +++ b/src/dede/templets/diy_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>新增频道</title> diff --git a/src/dede/templets/diy_edit.htm b/src/dede/templets/diy_edit.htm index a10b1d85..36ffc84b 100755 --- a/src/dede/templets/diy_edit.htm +++ b/src/dede/templets/diy_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>修改自定义表单</title> diff --git a/src/dede/templets/feedback_edit.htm b/src/dede/templets/feedback_edit.htm index 39afc6b4..a84c316b 100755 --- a/src/dede/templets/feedback_edit.htm +++ b/src/dede/templets/feedback_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>编辑评论</title> diff --git a/src/dede/templets/file_manage_main.htm b/src/dede/templets/file_manage_main.htm index 23267652..b03e8ac6 100755 --- a/src/dede/templets/file_manage_main.htm +++ b/src/dede/templets/file_manage_main.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>文件管理器</title> diff --git a/src/dede/templets/freelist_add.htm b/src/dede/templets/freelist_add.htm index 2b9a0165..64b858b6 100755 --- a/src/dede/templets/freelist_add.htm +++ b/src/dede/templets/freelist_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>新增自由列表</title> diff --git a/src/dede/templets/freelist_edit.htm b/src/dede/templets/freelist_edit.htm index b3cbdaf0..6fd098ec 100755 --- a/src/dede/templets/freelist_edit.htm +++ b/src/dede/templets/freelist_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>更改自由列表</title> diff --git a/src/dede/templets/friendlink_edit.htm b/src/dede/templets/friendlink_edit.htm index 95c296ba..5328cbbf 100755 --- a/src/dede/templets/friendlink_edit.htm +++ b/src/dede/templets/friendlink_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>友情链接更改</title> diff --git a/src/dede/templets/friendlink_main.htm b/src/dede/templets/friendlink_main.htm index 9eb28c30..b784b950 100755 --- a/src/dede/templets/friendlink_main.htm +++ b/src/dede/templets/friendlink_main.htm @@ -1,7 +1,6 @@ {dede:config.pagesize value="20"/} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>友情链接管理</title> diff --git a/src/dede/templets/friendlink_type.htm b/src/dede/templets/friendlink_type.htm index bf4ce45f..d2b2de25 100755 --- a/src/dede/templets/friendlink_type.htm +++ b/src/dede/templets/friendlink_type.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>网站类型管理</title> diff --git a/src/dede/templets/log_list.htm b/src/dede/templets/log_list.htm index 18f23b56..ecbe710a 100755 --- a/src/dede/templets/log_list.htm +++ b/src/dede/templets/log_list.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>采集内容管理</title> diff --git a/src/dede/templets/makehtml_archives.htm b/src/dede/templets/makehtml_archives.htm index 4c6f5206..ab823f12 100755 --- a/src/dede/templets/makehtml_archives.htm +++ b/src/dede/templets/makehtml_archives.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>生成HTML</title> diff --git a/src/dede/templets/makehtml_freelist.htm b/src/dede/templets/makehtml_freelist.htm index 8b8d345d..cd0dc782 100755 --- a/src/dede/templets/makehtml_freelist.htm +++ b/src/dede/templets/makehtml_freelist.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>生成HTML</title> diff --git a/src/dede/templets/makehtml_homepage.htm b/src/dede/templets/makehtml_homepage.htm index 6dffa711..4c7245f1 100755 --- a/src/dede/templets/makehtml_homepage.htm +++ b/src/dede/templets/makehtml_homepage.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>主页更新向导</title> diff --git a/src/dede/templets/makehtml_js.htm b/src/dede/templets/makehtml_js.htm index caa080a4..ffaaa62c 100755 --- a/src/dede/templets/makehtml_js.htm +++ b/src/dede/templets/makehtml_js.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>生成HTML</title> diff --git a/src/dede/templets/makehtml_list.htm b/src/dede/templets/makehtml_list.htm index 055c6c38..214add23 100755 --- a/src/dede/templets/makehtml_list.htm +++ b/src/dede/templets/makehtml_list.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>更新栏目HTML</title> diff --git a/src/dede/templets/makehtml_map_guide.htm b/src/dede/templets/makehtml_map_guide.htm index b1b9d9a8..a69051d4 100755 --- a/src/dede/templets/makehtml_map_guide.htm +++ b/src/dede/templets/makehtml_map_guide.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>更新网站地图</title> diff --git a/src/dede/templets/makehtml_rss.htm b/src/dede/templets/makehtml_rss.htm index bfff5aa2..17b2a2c1 100755 --- a/src/dede/templets/makehtml_rss.htm +++ b/src/dede/templets/makehtml_rss.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>更新RSS文件</title> diff --git a/src/dede/templets/makehtml_spec.htm b/src/dede/templets/makehtml_spec.htm index e68e93ce..9a74f4bc 100755 --- a/src/dede/templets/makehtml_spec.htm +++ b/src/dede/templets/makehtml_spec.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>生成专题列表HTML</title> diff --git a/src/dede/templets/media_add.htm b/src/dede/templets/media_add.htm index aafddbbd..914a1c2a 100755 --- a/src/dede/templets/media_add.htm +++ b/src/dede/templets/media_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>上传新文件</title> diff --git a/src/dede/templets/media_main.htm b/src/dede/templets/media_main.htm index 311c242a..390b8970 100755 --- a/src/dede/templets/media_main.htm +++ b/src/dede/templets/media_main.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>附件数据管理</title> diff --git a/src/dede/templets/member_main.htm b/src/dede/templets/member_main.htm index 50965e8f..bf2caa6f 100755 --- a/src/dede/templets/member_main.htm +++ b/src/dede/templets/member_main.htm @@ -1,7 +1,6 @@ {dede:config.pagesize value="20"/} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>网站会员管理</title> diff --git a/src/dede/templets/member_operations.htm b/src/dede/templets/member_operations.htm index 6a235d1b..d3f71242 100755 --- a/src/dede/templets/member_operations.htm +++ b/src/dede/templets/member_operations.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>业务管理</title> diff --git a/src/dede/templets/member_pm.htm b/src/dede/templets/member_pm.htm index f5ff93d8..35e5e328 100755 --- a/src/dede/templets/member_pm.htm +++ b/src/dede/templets/member_pm.htm @@ -1,7 +1,6 @@ {dede:page pagesize="20"/} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>用户短信管理</title> diff --git a/src/dede/templets/member_rank.htm b/src/dede/templets/member_rank.htm index 3722b096..bbf2fda3 100755 --- a/src/dede/templets/member_rank.htm +++ b/src/dede/templets/member_rank.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>会员权限管理</title> diff --git a/src/dede/templets/member_scores.htm b/src/dede/templets/member_scores.htm index 4d5adad8..f7256c41 100755 --- a/src/dede/templets/member_scores.htm +++ b/src/dede/templets/member_scores.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>会员管理--积分头衔设置</title> diff --git a/src/dede/templets/member_toadmin.htm b/src/dede/templets/member_toadmin.htm index 160f9030..d8520d9a 100755 --- a/src/dede/templets/member_toadmin.htm +++ b/src/dede/templets/member_toadmin.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>提升为管理员</title> diff --git a/src/dede/templets/member_type.htm b/src/dede/templets/member_type.htm index 20edea22..734c974e 100755 --- a/src/dede/templets/member_type.htm +++ b/src/dede/templets/member_type.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>会员类型管理</title> diff --git a/src/dede/templets/module_help.htm b/src/dede/templets/module_help.htm index 6b4535a6..72909a79 100755 --- a/src/dede/templets/module_help.htm +++ b/src/dede/templets/module_help.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <script language="javascript" src="../static/js/dedeajax2.js"></script> diff --git a/src/dede/templets/module_make.htm b/src/dede/templets/module_make.htm index dbbb57b0..0caa4d30 100755 --- a/src/dede/templets/module_make.htm +++ b/src/dede/templets/module_make.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <link rel="stylesheet" href="../static/css/bootstrap.min.css"> diff --git a/src/dede/templets/mychannel_add.htm b/src/dede/templets/mychannel_add.htm index cc372af3..358a436a 100755 --- a/src/dede/templets/mychannel_add.htm +++ b/src/dede/templets/mychannel_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>新增频道</title> diff --git a/src/dede/templets/mychannel_edit.htm b/src/dede/templets/mychannel_edit.htm index 14ae59ca..353b0863 100755 --- a/src/dede/templets/mychannel_edit.htm +++ b/src/dede/templets/mychannel_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>更改内容模型</title> diff --git a/src/dede/templets/mychannel_field_edit.htm b/src/dede/templets/mychannel_field_edit.htm index 1621fffc..18a70a09 100755 --- a/src/dede/templets/mychannel_field_edit.htm +++ b/src/dede/templets/mychannel_field_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>更改字段</title> diff --git a/src/dede/templets/mychannel_main.htm b/src/dede/templets/mychannel_main.htm index bdf6ad52..5fe2a7b4 100755 --- a/src/dede/templets/mychannel_main.htm +++ b/src/dede/templets/mychannel_main.htm @@ -1,7 +1,6 @@ {dede:config name='pagesize' value='30' /} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>内容模型管理</title> diff --git a/src/dede/templets/mychannel_modifysearch.htm b/src/dede/templets/mychannel_modifysearch.htm index 0b9ebd7a..d1837e9f 100755 --- a/src/dede/templets/mychannel_modifysearch.htm +++ b/src/dede/templets/mychannel_modifysearch.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>修改频道</title> diff --git a/src/dede/templets/mytag_add.htm b/src/dede/templets/mytag_add.htm index 5296b093..426a9f4a 100755 --- a/src/dede/templets/mytag_add.htm +++ b/src/dede/templets/mytag_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>增加自定义标记</title> diff --git a/src/dede/templets/mytag_main.htm b/src/dede/templets/mytag_main.htm index ef737baa..1a59f91d 100755 --- a/src/dede/templets/mytag_main.htm +++ b/src/dede/templets/mytag_main.htm @@ -1,7 +1,6 @@ {dede:config.pagesize value="20"/} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>自定义标记</title> diff --git a/src/dede/templets/mytag_tag_guide.htm b/src/dede/templets/mytag_tag_guide.htm index 17e51b21..ba5e6e95 100755 --- a/src/dede/templets/mytag_tag_guide.htm +++ b/src/dede/templets/mytag_tag_guide.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>智能标记向导</title> diff --git a/src/dede/templets/plus_main.htm b/src/dede/templets/plus_main.htm index 2e5b5f4f..6fc75dc6 100755 --- a/src/dede/templets/plus_main.htm +++ b/src/dede/templets/plus_main.htm @@ -1,7 +1,6 @@ {dede:config.pagesize value="50"/} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>插件管理</title> diff --git a/src/dede/templets/shops_delivery.htm b/src/dede/templets/shops_delivery.htm index 54f7b86d..a0412f76 100755 --- a/src/dede/templets/shops_delivery.htm +++ b/src/dede/templets/shops_delivery.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>配送方式配置</title> diff --git a/src/dede/templets/shops_operations.htm b/src/dede/templets/shops_operations.htm index 930c1de2..1ef76bfe 100755 --- a/src/dede/templets/shops_operations.htm +++ b/src/dede/templets/shops_operations.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>订单管理</title> diff --git a/src/dede/templets/soft_add.htm b/src/dede/templets/soft_add.htm index e5c1bb07..b39b7da7 100755 --- a/src/dede/templets/soft_add.htm +++ b/src/dede/templets/soft_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>增加软件集</title> diff --git a/src/dede/templets/soft_config.htm b/src/dede/templets/soft_config.htm index f2518c5a..b2069f65 100755 --- a/src/dede/templets/soft_config.htm +++ b/src/dede/templets/soft_config.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>软件频道设置</title> diff --git a/src/dede/templets/soft_edit.htm b/src/dede/templets/soft_edit.htm index 58df18e2..fddd76a3 100755 --- a/src/dede/templets/soft_edit.htm +++ b/src/dede/templets/soft_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>编辑软件</title> diff --git a/src/dede/templets/spec_add.htm b/src/dede/templets/spec_add.htm index df5f9ebd..82dd00ac 100755 --- a/src/dede/templets/spec_add.htm +++ b/src/dede/templets/spec_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>专题发布向导</title> diff --git a/src/dede/templets/spec_edit.htm b/src/dede/templets/spec_edit.htm index 48fc10b8..fec4e697 100755 --- a/src/dede/templets/spec_edit.htm +++ b/src/dede/templets/spec_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>更改专题</title> diff --git a/src/dede/templets/sys_admin_user.htm b/src/dede/templets/sys_admin_user.htm index d9e734aa..3452252d 100755 --- a/src/dede/templets/sys_admin_user.htm +++ b/src/dede/templets/sys_admin_user.htm @@ -1,7 +1,6 @@ {dede:config.pagesize value="20"/} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>管理员帐号</title> diff --git a/src/dede/templets/sys_admin_user_add.htm b/src/dede/templets/sys_admin_user_add.htm index 4eaeca27..15ee43e5 100755 --- a/src/dede/templets/sys_admin_user_add.htm +++ b/src/dede/templets/sys_admin_user_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>管理员帐号--新增帐号</title> diff --git a/src/dede/templets/sys_admin_user_edit.htm b/src/dede/templets/sys_admin_user_edit.htm index 7cf9c65b..c5a1e336 100755 --- a/src/dede/templets/sys_admin_user_edit.htm +++ b/src/dede/templets/sys_admin_user_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>管理员帐号--更改帐号</title> diff --git a/src/dede/templets/sys_cache_up.htm b/src/dede/templets/sys_cache_up.htm index 629d3bf4..b0363d1c 100755 --- a/src/dede/templets/sys_cache_up.htm +++ b/src/dede/templets/sys_cache_up.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>更新系统缓存</title> diff --git a/src/dede/templets/sys_data.htm b/src/dede/templets/sys_data.htm index c2ed6161..d86f1e61 100755 --- a/src/dede/templets/sys_data.htm +++ b/src/dede/templets/sys_data.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>数据库维护</title> diff --git a/src/dede/templets/sys_data_replace.htm b/src/dede/templets/sys_data_replace.htm index 438f59d2..c8ea83a0 100755 --- a/src/dede/templets/sys_data_replace.htm +++ b/src/dede/templets/sys_data_replace.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>数据批量替换</title> diff --git a/src/dede/templets/sys_data_revert.htm b/src/dede/templets/sys_data_revert.htm index 4ccafae0..e51546c8 100755 --- a/src/dede/templets/sys_data_revert.htm +++ b/src/dede/templets/sys_data_revert.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>数据库维护--数据还原</title> diff --git a/src/dede/templets/sys_group.htm b/src/dede/templets/sys_group.htm index 01570659..435bcc12 100755 --- a/src/dede/templets/sys_group.htm +++ b/src/dede/templets/sys_group.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>系统用户组管理</title> diff --git a/src/dede/templets/sys_group_add.htm b/src/dede/templets/sys_group_add.htm index 6992a2bd..8fd14267 100755 --- a/src/dede/templets/sys_group_add.htm +++ b/src/dede/templets/sys_group_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>组权限设置</title> diff --git a/src/dede/templets/sys_group_edit.htm b/src/dede/templets/sys_group_edit.htm index e427388e..5b9ee127 100755 --- a/src/dede/templets/sys_group_edit.htm +++ b/src/dede/templets/sys_group_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>组权限设置</title> diff --git a/src/dede/templets/sys_info_mark.htm b/src/dede/templets/sys_info_mark.htm index 16a4be45..4140e263 100755 --- a/src/dede/templets/sys_info_mark.htm +++ b/src/dede/templets/sys_info_mark.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>系统配置参数 - 图片水印设置</title> diff --git a/src/dede/templets/sys_payment.htm b/src/dede/templets/sys_payment.htm index 6d7e6f2c..9fd4559e 100755 --- a/src/dede/templets/sys_payment.htm +++ b/src/dede/templets/sys_payment.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>支付接口配置</title> diff --git a/src/dede/templets/sys_payment_install.htm b/src/dede/templets/sys_payment_install.htm index 6e43810b..46620eae 100755 --- a/src/dede/templets/sys_payment_install.htm +++ b/src/dede/templets/sys_payment_install.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>安装支付接口</title> diff --git a/src/dede/templets/sys_safetest.htm b/src/dede/templets/sys_safetest.htm index 2cc95aaa..103c2fc6 100755 --- a/src/dede/templets/sys_safetest.htm +++ b/src/dede/templets/sys_safetest.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>木马自检程序</title> diff --git a/src/dede/templets/sys_sql_query.htm b/src/dede/templets/sys_sql_query.htm index 779f4876..93876052 100755 --- a/src/dede/templets/sys_sql_query.htm +++ b/src/dede/templets/sys_sql_query.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>SQL命令行工具</title> diff --git a/src/dede/templets/tag_test.htm b/src/dede/templets/tag_test.htm index 278b8b0b..d42b0496 100755 --- a/src/dede/templets/tag_test.htm +++ b/src/dede/templets/tag_test.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>主页更新向导</title> diff --git a/src/dede/templets/templets_one_add.htm b/src/dede/templets/templets_one_add.htm index 5d2fbec6..2de97065 100755 --- a/src/dede/templets/templets_one_add.htm +++ b/src/dede/templets/templets_one_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>增加自定义页面</title> diff --git a/src/dede/templets/templets_tagsource.htm b/src/dede/templets/templets_tagsource.htm index e18e594a..496a3553 100755 --- a/src/dede/templets/templets_tagsource.htm +++ b/src/dede/templets/templets_tagsource.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>标签源码碎片管理</title> diff --git a/src/dede/templets/tpl_newfile.htm b/src/dede/templets/tpl_newfile.htm index 82962ffc..1e902f52 100755 --- a/src/dede/templets/tpl_newfile.htm +++ b/src/dede/templets/tpl_newfile.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>文件编辑</title> diff --git a/src/dede/templets/vote_add.htm b/src/dede/templets/vote_add.htm index 89b4d351..40c5c732 100755 --- a/src/dede/templets/vote_add.htm +++ b/src/dede/templets/vote_add.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>增加投票</title> diff --git a/src/dede/templets/vote_edit.htm b/src/dede/templets/vote_edit.htm index 9f19b3d7..ff677d97 100755 --- a/src/dede/templets/vote_edit.htm +++ b/src/dede/templets/vote_edit.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>投票管理</title> diff --git a/src/dede/templets/vote_getcode.htm b/src/dede/templets/vote_getcode.htm index e3255ad1..a7db37d7 100755 --- a/src/dede/templets/vote_getcode.htm +++ b/src/dede/templets/vote_getcode.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>获取代码</title> diff --git a/src/dede/templets/vote_main.htm b/src/dede/templets/vote_main.htm index c7d2a27d..58b81b52 100755 --- a/src/dede/templets/vote_main.htm +++ b/src/dede/templets/vote_main.htm @@ -1,7 +1,6 @@ {dede:config.pagesize value='20'/} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>投票管理</title> diff --git a/src/dede/templets/winmode.htm b/src/dede/templets/winmode.htm index 73aad2dd..4c198b9d 100755 --- a/src/dede/templets/winmode.htm +++ b/src/dede/templets/winmode.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> <title>{dede:wintitle/}</title> diff --git a/src/dede/testenv.php b/src/dede/testenv.php index 02b26e3d..79e9d8f5 100755 --- a/src/dede/testenv.php +++ b/src/dede/testenv.php @@ -15,7 +15,6 @@ $action = isset($action) ? $action : ''; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['cfg_soft_lang']; ?>"> <title>系统运行目录权限检测</title> diff --git a/src/templets/plus/carbuyaction.htm b/src/templets/plus/carbuyaction.htm index e451c6fd..3da61085 100755 --- a/src/templets/plus/carbuyaction.htm +++ b/src/templets/plus/carbuyaction.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <title>购物车 - 下单购买{dede:var.carts.orders_id/}</title> <meta http-equiv="Content-Type" content="text/html; charset={dede:global.cfg_soft_lang/}" /> diff --git a/src/templets/plus/heightsearch.htm b/src/templets/plus/heightsearch.htm index 80d72175..66f9f6de 100755 --- a/src/templets/plus/heightsearch.htm +++ b/src/templets/plus/heightsearch.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" /> <title><?php echo $cfg_webname;?>_高级搜索</title> diff --git a/src/templets/plus/recommend.htm b/src/templets/plus/recommend.htm index 53acc296..76b37684 100755 --- a/src/templets/plus/recommend.htm +++ b/src/templets/plus/recommend.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" /> <title>推荐_<?php echo $title; ?>_{dede:global name='cfg_webname'/}</title> diff --git a/src/templets/plus/view_msg.htm b/src/templets/plus/view_msg.htm index 93e705b3..70c31828 100755 --- a/src/templets/plus/view_msg.htm +++ b/src/templets/plus/view_msg.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" /> <title> diff --git a/src/templets/plus/vote.htm b/src/templets/plus/vote.htm index 089bdd4f..af77d3da 100755 --- a/src/templets/plus/vote.htm +++ b/src/templets/plus/vote.htm @@ -1,6 +1,5 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> - <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" /> <title><?php echo $cfg_webname?>_投票结果</title> From 35dbdfa00f2aa706b86eb5b852279f90b34f518e Mon Sep 17 00:00:00 2001 From: xushubieli <xushubieli@qq.com> Date: Thu, 10 Feb 2022 12:01:27 +0800 Subject: [PATCH 5/8] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E5=AF=B9=E8=AF=9D=E7=AD=89=E6=A1=86=E8=A1=8C=E9=AB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dede/article_template_rand.php | 2 +- src/dede/dialog/select_soft.php | 8 ++++---- src/dede/index_body.php | 2 +- src/dede/mda_main.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/dede/article_template_rand.php b/src/dede/article_template_rand.php index 42c9d929..31f33e7e 100755 --- a/src/dede/article_template_rand.php +++ b/src/dede/article_template_rand.php @@ -96,7 +96,7 @@ function DoRand(jobname) </div> <table width='98%' align='center'> <tr> - <td height='28'> + <td height='26'> 如果您想对旧的文章应用随机模板设置,请点击此对旧文章进行处理(必须设置好模板项) &nbsp; <a href='#' onclick='DoRand(\"makeold\")' class='btn btn-success btn-sm'>设置全部</a> &nbsp; <a href='#' onclick='DoRand(\"clearold\")' class='btn btn-success btn-sm'>取消全部</a> diff --git a/src/dede/dialog/select_soft.php b/src/dede/dialog/select_soft.php index e799ae6d..e2f00d5a 100644 --- a/src/dede/dialog/select_soft.php +++ b/src/dede/dialog/select_soft.php @@ -122,7 +122,7 @@ table{background:#fff} else if ($file == "..") { if ($activepath == "") continue; $tmp = preg_replace("#[\/][^\/]*$#i", "", $activepath); - $line = "\n<tr height='28'> + $line = "\n<tr height='26'> <td class='linerow'><a href='select_soft.php?f=$f&activepath=".urlencode($tmp).$addparm."'><img src='img/dir2.gif'>上级目录</a></td> <td colspan='2' class='linerow'>当前目录:$activepath</td> </tr>\r\n"; @@ -130,7 +130,7 @@ table{background:#fff} } else if (is_dir("$inpath/$file")) { if (preg_match("#^_(.*)$#i", $file)) continue; if (preg_match("#^\.(.*)$#i", $file)) continue; - $line = "\n<tr height='28'> + $line = "\n<tr height='26'> <td class='linerow'><a href=select_soft.php?f=$f&activepath=".urlencode("$activepath/$file").$addparm."><img src='img/dir.gif'>$file</a></td> <td class='linerow'></td> <td class='linerow'></td> @@ -142,7 +142,7 @@ table{background:#fff} $reurl = "$activeurl/$file"; $reurl = preg_replace("#^\.\.#", "", $reurl); $reurl = $reurl; - $line = "\n<tr height='28'> + $line = "\n<tr height='26'> <td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='img/zip.gif'>$file</a></td> <td class='linerow'>$filesize KB</td> <td class='linerow'>$filetime</td> @@ -154,7 +154,7 @@ table{background:#fff} $reurl = "$activeurl/$file"; $reurl = preg_replace("#^\.\.#", "", $reurl); $reurl = $reurl; - $line = "\n<tr height='28'> + $line = "\n<tr height='26'> <td class='linerow'><a href=\"javascript:ReturnValue('$reurl');\" $lstyle><img src='img/exe.gif'>$file</a></td> <td class='linerow'>$filesize KB</td> <td class='linerow'>$filetime</td> diff --git a/src/dede/index_body.php b/src/dede/index_body.php index b5e06b05..a8faf932 100755 --- a/src/dede/index_body.php +++ b/src/dede/index_body.php @@ -92,7 +92,7 @@ else if ($dopost == 'editshow') { <input type='hidden' name='dopost' value='editsave'> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> - <td height='28' background="images/tbg.gif"> + <td height='26' background="images/tbg.gif"> <div style='float:left'><b>修改快捷操作项</b></div> <div style='float:right;padding:3px 10px 0 0;'> <a href="javascript:CloseTab('editTab')"><img src="images/close.gif" width="12" height="12" border="0"></a> diff --git a/src/dede/mda_main.php b/src/dede/mda_main.php index a34ba9ec..0f7e9f56 100755 --- a/src/dede/mda_main.php +++ b/src/dede/mda_main.php @@ -417,7 +417,7 @@ function __index(){ } </tr> <tr> <td colspan='2' bgcolor='#F9FCEF'><table width='270' border='0' cellpadding='0' cellspacing='0'> - <tr align='center' height='28'> + <tr align='center' height='26'> <td width='90'><input name='imageField1' type='image' class='np' src='{$cfg_plus_dir}/img/button_ok.gif' width='60' height='22' border='0' /></td> <td width='90'></td> <td></td> From 6ac0cbb3099871684240442414124a15a2124e24 Mon Sep 17 00:00:00 2001 From: xushubieli <xushubieli@qq.com> Date: Thu, 10 Feb 2022 14:31:08 +0800 Subject: [PATCH 6/8] =?UTF-8?q?=E6=8C=89=E9=92=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dede/css/base.css | 2 +- src/dede/templets/diy_list.htm | 4 ++-- src/static/img/base.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dede/css/base.css b/src/dede/css/base.css index 2894864c..590aa680 100644 --- a/src/dede/css/base.css +++ b/src/dede/css/base.css @@ -1 +1 @@ -*{font-size:12px;letter-spacing:.4px}body{font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;line-height:1.5}form,h1,h2,h3,ul,ol,div{margin:0;padding:0}td{line-height:1.5}td,th,div{word-break:break-all;word-wrap:break-word}b,strong{font-weight:400}li,dd{margin:0;padding:0;list-style-type:none}select{height:calc(1.5em + .75rem + 2px);padding:.25rem .5rem;color:#424b51;background:#fff;border:1px solid #eee;border-radius:.2rem;transition:all .6s}input{padding:.25rem .5rem;height:calc(1.5em + .75rem + 2px);line-height:18px;color:#424b51;background:#fff;border:1px solid #eee;border-radius:.2rem;transition:all .6s;vertical-align:middle}input[type=button],input[type=submit],input[type=reset]{padding:.25rem .5rem;height:auto;line-height:1.5;color:#fff;background:#28a745;border-radius:.2rem;transition:all .6s;border:0}textarea{padding:.25rem .5rem;line-height:18px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;border:1px solid #eee;border-radius:.2rem;transition:all .6s;vertical-align:middle}input:focus,textarea:focus{border-color:#28a745;box-shadow:0 0 2px #28a745;outline:none}input[type=radio],input[type=checkbox]{box-shadow:none;outline:none}label{display:inline-block;margin:10px 0}img{margin-right:6px;border-radius:.2rem;vertical-align:baseline}h1,h2,h3{font-size:18px;color:#424b51}a:link{color:#424b51;text-decoration:none}a:hover{opacity:.8}a:visited{color:#666}.np{border:0}.linerow{border-bottom:1px solid #ACACAC}.coolbg{padding:.25rem .5rem;background:#f2f2f2;border-bottom:1px solid #ccc;border-radius:.2rem;border:0;cursor:pointer}.coolbg2{height:18px;background:#DFDDD2;border:1px solid #000}.ll{border-right:2px solid #ACACAC;border-bottom:2px solid #ACACAC;background:#E6E6E6}.bline{height:36px;background:#fff;border-bottom:1px solid #eee}#uploadfield{float:left}.bline2{border-bottom:1px solid #eee}.coolbt{border-left:1px solid #EFEFEF;border-top:1px solid #EFEFEF;border-bottom:1px solid #ACACAC;background:#E4F7D7;cursor:pointer}.coolbt2{border-left:1px solid #EFEFEF;border-top:1px solid #EFEFEF;border-bottom:1px solid #ACACAC;background:#F7FCDA}.coolbg3{width:140px;height:20px;border:1px solid #BDC5B4;background:#DFDDD2;text-align:right}.coolbg61{width:380px;height:26px;line-height:26px;border-top:1px solid #BDC5B4;border-left:1px solid #BDC5B4;border-right:1px solid #BDC5B4;background:#E7F3B1;text-align:right}.coolbg62{padding:6px;width:380px;height:300px;border:1px solid #BDC5B4;background:#F8FDF0}.coolbg4{width:190px;height:24px;line-height:24px;border-bottom:1px solid #C9CFC1;background:#F9FCDC url(../images/dlgtitle.gif)repeat-x;text-align:right}.coolbg5{width:190px;height:6px;border-top:1px solid #BDC5B4;background:#F9FCDC}.wsselect{height:60px;line-height:24px;background:#FCFEF1;overflow:auto}.dlg{padding:.25rem .5rem;border:2px solid #008E38;background:#F0FAEB;width:360px;line-height:160%}.pubdlg{background:#fff;border:4px solid #008E38;border-radius:.2rem;z-index:8888}.pubdlg .title{height:29px;line-height:29px;border-bottom:1px solid #C9CFC1;background:url(../images/dlgtitle.gif)repeat-x;text-align:left;cursor:move}.pubdlg .titLeft{float:left;padding-left:10px;line-height:29px;font-weight:600;color:#424b51}.pubdlg .titRight{float:right;padding:0}.fullpagediv{position:absolute;top:0;left:0;width:100%;height:120%;background:#cdcdcd;opacity:.5;z-index:1999}.quicksel{margin-left:10px;margin-top:10px;width:680px;height:420px;overflow:auto;z-index:10005}.quickselfoot{padding-top:8px;border-top:1px dashed #C0CC9D}.quickselItem{margin-bottom:8px}.quickselItem .topcat{padding-left:6px;line-height:24px;border-bottom:1px dashed #ccc;background:#FBFEEF;clear:both}.quickselItem .soncat{padding-left:10px}.quickselItem .item{float:left;margin-right:8px}.mysource,.mywriter{padding:.25rem .5rem;width:280px;line-height:160%;border:4px solid #008E38;background:#F0FAEB;z-index:10001}.dlgws div{width:100%}.dlgTesttitle{padding:.25rem .5rem;width:300px;line-height:150%;border:2px solid #008E38;background:#F0FAEB}#_mysource{z-index:10003}#_mywriter{z-index:10004}#uploadwait{z-index:19999}.option1{background:#DCECA6}.option2{background:#F7FBD2}.option3{background:#fff}.ininput{width:96%;height:20px;border:1px solid #fff}.nbt{padding:2px;background:#fff url(../images/allbtbg.gif);border:1px solid #A5AF83}.tdt{padding-left:6px}.waitpage{position:absolute;top:0;left:0;opacity:.7;background:#ababab url(../../images/loading1.gif)center no-repeat;z-index:10000}.divpre img{max-width:150px;max-height:100px}.divpre{overflow:hidden}.autoinput{padding-left:6px;width:90%}.bodytitle{margin:auto;width:98%;height:28px;border:1px dotted #BFD67C;background:url(../images/wbg.gif)}.bodytitle div{float:left}.bodytitletxt{padding-left:6px;line-height:28px}.tbtitle td{padding:6px}.tblist td{padding:6px;background:#fff}.tblist td.tbsname{padding:6px;background:#F9FFE6}.colordlg{padding:.25rem .5rem;width:100px;line-height:160%;border:2px dashed #008E38;background:#F0FAEB;z-index:10005}option.alltype{padding-left:16px;height:18px;line-height:18px;background:url(../images/arr4.gif)3px 4px no-repeat}option.btype{padding-left:16px;height:18px;line-height:18px;background:url(../images/arr4.gif)3px 4px no-repeat}option.stype{padding-left:26px;height:18px;line-height:18px;background:url(../images/arrr.gif)10px 4px no-repeat}.ilist{border-top:1px dashed #eee;border-bottom:1px dashed #eee;border-left:1px dashed #eee}.ilist td{border-right:1px dashed #eee}#typeid2{padding:0;float:left;height:18px;font-size:12px;background:url(../images/typeid2bg.gif)no-repeat;border:0}#litpic{margin-left:-20px;width:85px;height:20px;opacity:0;cursor:pointer}.litpic_span{margin-left:-60px;width:76px;height:22px;overflow:hidden;cursor:pointer}#starttime,#endtime,#pubdate{padding-left:30px;background:url(../images/calendar.gif)10px no-repeat}#title{background:url(../images/ruler.gif)repeat-x 0px 10px}.spec{width:60px}.gtab a{display:block;float:left;width:80px;height:26px;line-height:26px;text-align:center}.albCt img{cursor:pointer}.maintable{width:98%!important;border:1px solid #dee2e6}span.page-link{color:#fff;background:#28a745}a.btn{color:white!important}.btn-success{background:#28a745;border-color:#28a745}.table{color:#424b51}.table td,.table th{padding:.6rem;vertical-align:middle}.table th img,.table td img{vertical-align:text-bottom} \ No newline at end of file +*{font-size:12px;letter-spacing:.4px}body{font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;line-height:1.5}form,h1,h2,h3,ul,ol,div{margin:0;padding:0}td{line-height:1.5}td,th,div{word-break:break-all;word-wrap:break-word}b,strong{font-weight:400}li,dd{margin:0;padding:0;list-style-type:none}select{height:calc(1.5em + .75rem + 2px);padding:.25rem .5rem;color:#424b51;background:#fff;border:1px solid #eee;border-radius:.2rem;transition:all .6s}input{padding:.25rem .5rem;height:calc(1.5em + .75rem + 2px);line-height:18px;color:#424b51;background:#fff;border:1px solid #eee;border-radius:.2rem;transition:all .6s;vertical-align:middle}input[type=radio],input[type=checkbox]{height:auto;box-shadow:none;outline:none}input[type=button],input[type=submit],input[type=reset]{padding:.25rem .5rem;height:auto;line-height:1.5;color:#fff;background:#28a745;border-radius:.2rem;transition:all .6s;border:0}input:focus,textarea:focus{border-color:#28a745;box-shadow:0 0 2px #28a745;outline:none}textarea{padding:.25rem .5rem;line-height:18px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;border:1px solid #eee;border-radius:.2rem;transition:all .6s;vertical-align:middle}label{display:inline-block;margin:10px 0}img{margin-right:6px;border-radius:.2rem;vertical-align:baseline}h1,h2,h3{font-size:18px;color:#424b51}a:link{color:#424b51;text-decoration:none}a:hover{opacity:.8}a:visited{color:#666}.np{border:0}.linerow{border-bottom:1px solid #ACACAC}.coolbg{padding:.25rem .5rem;background:#f2f2f2;border-bottom:1px solid #ccc;border-radius:.2rem;border:0;cursor:pointer}.coolbg2{height:18px;background:#DFDDD2;border:1px solid #000}.ll{border-right:2px solid #ACACAC;border-bottom:2px solid #ACACAC;background:#E6E6E6}.bline{height:36px;background:#fff;border-bottom:1px solid #eee}#uploadfield{float:left}.bline2{border-bottom:1px solid #eee}.coolbt{border-left:1px solid #EFEFEF;border-top:1px solid #EFEFEF;border-bottom:1px solid #ACACAC;background:#E4F7D7;cursor:pointer}.coolbt2{border-left:1px solid #EFEFEF;border-top:1px solid #EFEFEF;border-bottom:1px solid #ACACAC;background:#F7FCDA}.coolbg3{width:140px;height:20px;border:1px solid #BDC5B4;background:#DFDDD2;text-align:right}.coolbg61{width:380px;height:26px;line-height:26px;border-top:1px solid #BDC5B4;border-left:1px solid #BDC5B4;border-right:1px solid #BDC5B4;background:#E7F3B1;text-align:right}.coolbg62{padding:6px;width:380px;height:300px;border:1px solid #BDC5B4;background:#F8FDF0}.coolbg4{width:190px;height:24px;line-height:24px;border-bottom:1px solid #C9CFC1;background:#F9FCDC url(../images/dlgtitle.gif)repeat-x;text-align:right}.coolbg5{width:190px;height:6px;border-top:1px solid #BDC5B4;background:#F9FCDC}.wsselect{height:60px;line-height:24px;background:#FCFEF1;overflow:auto}.dlg{padding:.25rem .5rem;border:2px solid #008E38;background:#F0FAEB;width:360px;line-height:160%}.pubdlg{background:#fff;border:4px solid #008E38;border-radius:.2rem;z-index:8888}.pubdlg .title{height:29px;line-height:29px;border-bottom:1px solid #C9CFC1;background:url(../images/dlgtitle.gif)repeat-x;text-align:left;cursor:move}.pubdlg .titLeft{float:left;padding-left:10px;line-height:29px;font-weight:600;color:#424b51}.pubdlg .titRight{float:right;padding:0}.fullpagediv{position:absolute;top:0;left:0;width:100%;height:120%;background:#cdcdcd;opacity:.5;z-index:1999}.quicksel{margin-left:10px;margin-top:10px;width:680px;height:420px;overflow:auto;z-index:10005}.quickselfoot{padding-top:8px;border-top:1px dashed #C0CC9D}.quickselItem{margin-bottom:8px}.quickselItem .topcat{padding-left:6px;line-height:24px;border-bottom:1px dashed #ccc;background:#FBFEEF;clear:both}.quickselItem .soncat{padding-left:10px}.quickselItem .item{float:left;margin-right:8px}.mysource,.mywriter{padding:.25rem .5rem;width:280px;line-height:160%;border:4px solid #008E38;background:#F0FAEB;z-index:10001}.dlgws div{width:100%}.dlgTesttitle{padding:.25rem .5rem;width:300px;line-height:150%;border:2px solid #008E38;background:#F0FAEB}#_mysource{z-index:10003}#_mywriter{z-index:10004}#uploadwait{z-index:19999}.option1{background:#DCECA6}.option2{background:#F7FBD2}.option3{background:#fff}.ininput{width:96%;height:20px;border:1px solid #fff}.nbt{padding:2px;background:#fff url(../images/allbtbg.gif);border:1px solid #A5AF83}.tdt{padding-left:6px}.waitpage{position:absolute;top:0;left:0;opacity:.7;background:#ababab url(../../images/loading1.gif)center no-repeat;z-index:10000}.divpre img{max-width:150px;max-height:100px}.divpre{overflow:hidden}.autoinput{padding-left:6px;width:90%}.bodytitle{margin:auto;width:98%;height:28px;border:1px dotted #BFD67C;background:url(../images/wbg.gif)}.bodytitle div{float:left}.bodytitletxt{padding-left:6px;line-height:28px}.tbtitle td{padding:6px}.tblist td{padding:6px;background:#fff}.tblist td.tbsname{padding:6px;background:#F9FFE6}.colordlg{padding:.25rem .5rem;width:100px;line-height:160%;border:2px dashed #008E38;background:#F0FAEB;z-index:10005}option.alltype{padding-left:16px;height:18px;line-height:18px;background:url(../images/arr4.gif)3px 4px no-repeat}option.btype{padding-left:16px;height:18px;line-height:18px;background:url(../images/arr4.gif)3px 4px no-repeat}option.stype{padding-left:26px;height:18px;line-height:18px;background:url(../images/arrr.gif)10px 4px no-repeat}.ilist{border-top:1px dashed #eee;border-bottom:1px dashed #eee;border-left:1px dashed #eee}.ilist td{border-right:1px dashed #eee}#typeid2{padding:0;float:left;height:18px;font-size:12px;background:url(../images/typeid2bg.gif)no-repeat;border:0}#litpic{margin-left:-20px;width:85px;height:20px;opacity:0;cursor:pointer}.litpic_span{margin-left:-60px;width:76px;height:22px;overflow:hidden;cursor:pointer}#starttime,#endtime,#pubdate{padding-left:30px;background:url(../images/calendar.gif)10px no-repeat}#title{background:url(../images/ruler.gif)repeat-x 0px 10px}.spec{width:60px}.gtab a{display:block;float:left;width:80px;height:26px;line-height:26px;text-align:center}.albCt img{cursor:pointer}.maintable{width:98%!important;border:1px solid #dee2e6}span.page-link{color:#fff;background:#28a745}a.btn{color:white!important}.btn-success{background:#28a745;border-color:#28a745}.table{color:#424b51}.table td,.table th{padding:.6rem;vertical-align:middle}.table th img,.table td img{vertical-align:text-bottom} \ No newline at end of file diff --git a/src/dede/templets/diy_list.htm b/src/dede/templets/diy_list.htm index 5fa50458..c07e365b 100755 --- a/src/dede/templets/diy_list.htm +++ b/src/dede/templets/diy_list.htm @@ -56,10 +56,10 @@ </tr> <tr> <td colspan="3" height="36" bgcolor="#f8f8f8"> + <input type="button" name="select" onClick="selAll()" class="btn btn-success btn-sm" value="全选"> + <input type="button" name="select" onClick="noSelAll()" class="btn btn-success btn-sm" value="取消">&nbsp; <input type="radio" name="action" value="check">&nbsp;审核 <input type="radio" name="action" value="delete">&nbsp;删除 - <input type="button" name="select" onClick="selAll()" class="btn btn-success btn-sm" value="全选"> - <input type="button" name="select" onClick="noSelAll()" class="btn btn-success btn-sm" value="取消"> <input type="submit" name="submit" class="btn btn-success btn-sm" value="提交"> </td> </tr> diff --git a/src/static/img/base.css b/src/static/img/base.css index 7a96c2e5..01336b19 100755 --- a/src/static/img/base.css +++ b/src/static/img/base.css @@ -1 +1 @@ -*{font-size:12px;letter-spacing:.4px}body{font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;line-height:1.5}form,h1,h2,h3,ul,ol,div{margin:0;padding:0}td{line-height:1.5}td,th,div{word-break:break-all;word-wrap:break-word}b,strong{font-weight:400}li,dd{margin:0;padding:0;list-style-type:none}select{height:calc(1.5em + .75rem + 2px);padding:.25rem .5rem;color:#424b51;background:#fff;border:1px solid #eee;border-radius:.2rem;transition:all .6s}input{padding:.25rem .5rem;height:calc(1.5em + .75rem + 2px);line-height:18px;color:#424b51;background:#fff;border:1px solid #eee;border-radius:.2rem;transition:all .6s;vertical-align:middle}input[type=button],input[type=submit],input[type=reset]{padding:.25rem .5rem;height:auto;line-height:1.5;color:#fff;background:#28a745;border-radius:.2rem;transition:all .6s;border:0}textarea{padding:.25rem .5rem;line-height:18px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;border:1px solid #eee;border-radius:.2rem;transition:all .6s;vertical-align:middle}input:focus,textarea:focus{border-color:#28a745;box-shadow:0 0 2px #28a745;outline:none}input[type=radio],input[type=checkbox]{box-shadow:none;outline:none}label{display:inline-block;margin:10px 0}img{margin-right:6px;border-radius:.2rem;vertical-align:baseline}h1,h2,h3{font-size:18px;color:#424b51}a:link{color:#424b51;text-decoration:none}a:hover{opacity:.8}a:visited{color:#666}.m1{border-left:1px solid #DFDFDB;border-top:1px solid #DFDFDB;border-bottom:1px solid #808080}.m2{border-left:1px solid #DFDFDB;border-bottom:1px solid #808080;border-top:1px solid #DFDFDB;border-right:1px solid #DFDFDB}.m3{border-left:1px solid #DFDFDB;border-top:1px solid #DFDFDB;border-right:1px solid #DFDFDB}.article{FONT-SIZE:10pt;LINE-HEIGHT:160%;table-layout:fixed;word-break:break-all}.bn{color:#fff;line-height:50%}.contents{color:#F7F6F8}.nb{border:1px solid #ccc}.coolbg{border-right:2px solid #ACACAC;border-bottom:2px solid #ACACAC;background-color:#E6E6E6}.ctfield{padding:2px;line-height:150%}.nndiv{width:170px;height:20px;margin:0;padding:0;word-break:break-all;overflow:hidden}.maintable{width:98%!important}a.btn{color:white!important} \ No newline at end of file +*{font-size:12px;letter-spacing:.4px}body{font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;line-height:1.5}form,h1,h2,h3,ul,ol,div{margin:0;padding:0}td{line-height:1.5}td,th,div{word-break:break-all;word-wrap:break-word}b,strong{font-weight:400}li,dd{margin:0;padding:0;list-style-type:none}select{height:calc(1.5em + .75rem + 2px);padding:.25rem .5rem;color:#424b51;background:#fff;border:1px solid #eee;border-radius:.2rem;transition:all .6s}input{padding:.25rem .5rem;height:calc(1.5em + .75rem + 2px);line-height:18px;color:#424b51;background:#fff;border:1px solid #eee;border-radius:.2rem;transition:all .6s;vertical-align:middle}input[type=radio],input[type=checkbox]{height:auto;box-shadow:none;outline:none}input[type=button],input[type=submit],input[type=reset]{padding:.25rem .5rem;height:auto;line-height:1.5;color:#fff;background:#28a745;border-radius:.2rem;transition:all .6s;border:0}input:focus,textarea:focus{border-color:#28a745;box-shadow:0 0 2px #28a745;outline:none}textarea{padding:.25rem .5rem;line-height:18px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;border:1px solid #eee;border-radius:.2rem;transition:all .6s;vertical-align:middle}label{display:inline-block;margin:10px 0}img{margin-right:6px;border-radius:.2rem;vertical-align:baseline}h1,h2,h3{font-size:18px;color:#424b51}a:link{color:#424b51;text-decoration:none}a:hover{opacity:.8}a:visited{color:#666}.m1{border-left:1px solid #DFDFDB;border-top:1px solid #DFDFDB;border-bottom:1px solid #808080}.m2{border-left:1px solid #DFDFDB;border-bottom:1px solid #808080;border-top:1px solid #DFDFDB;border-right:1px solid #DFDFDB}.m3{border-left:1px solid #DFDFDB;border-top:1px solid #DFDFDB;border-right:1px solid #DFDFDB}.article{FONT-SIZE:10pt;LINE-HEIGHT:160%;table-layout:fixed;word-break:break-all}.bn{color:#fff;line-height:50%}.contents{color:#F7F6F8}.nb{border:1px solid #ccc}.coolbg{border-right:2px solid #ACACAC;border-bottom:2px solid #ACACAC;background-color:#E6E6E6}.ctfield{padding:2px;line-height:150%}.nndiv{width:170px;height:20px;margin:0;padding:0;word-break:break-all;overflow:hidden}.maintable{width:98%!important}a.btn{color:white!important} \ No newline at end of file From f2e732aba41d880a665c18ab296082221754a382 Mon Sep 17 00:00:00 2001 From: tianya <tianya@benshar.com> Date: Sat, 12 Feb 2022 10:42:56 +0800 Subject: [PATCH 7/8] fix --- src/dede/article_keywords_main.php | 14 +++++++------- src/dede/article_keywords_make.php | 14 +++++++------- src/dede/member_type.php | 10 +++++----- src/dede/sys_payment.php | 10 +++++----- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/dede/article_keywords_main.php b/src/dede/article_keywords_main.php index 531ab278..7c7268c1 100755 --- a/src/dede/article_keywords_main.php +++ b/src/dede/article_keywords_main.php @@ -20,7 +20,7 @@ if (empty($dopost)) $dopost = ''; if ($dopost == 'saveall') { $ENV_GOBACK_URL = empty($_COOKIE['ENV_GOBACK_URL']) ? "article_keywords_main.php" : $_COOKIE['ENV_GOBACK_URL']; if (!isset($aids)) { - ShowMsg("您没有选择要更改的内容", $ENV_GOBACK_URL); + ShowMsg("您没有选择要更改的内容!", $ENV_GOBACK_URL); exit(); } foreach ($aids as $aid) { @@ -49,7 +49,7 @@ if ($dopost == 'saveall') { $dsql->ExecuteNoneQuery($query1); } } - ShowMsg("完成指定的更改", $ENV_GOBACK_URL); + ShowMsg("完成指定的更改!", $ENV_GOBACK_URL); exit(); } //增加关键字 @@ -58,17 +58,17 @@ else if ($dopost == 'add') { $keyword = trim($keyword); $rank = preg_replace("#[^0-9]#", '', $rank); if ($keyword == '') { - ShowMsg("关键字不能为空", -1); + ShowMsg("关键字不能为空!", -1); exit(); } $row = $dsql->GetOne("SELECT * FROM `#@__keywords` WHERE keyword LIKE '$keyword'"); if (is_array($row)) { - ShowMsg("关键字已存在库中", "-1"); + ShowMsg("关键字已存在库中!", "-1"); exit(); } - $inquery = "INSERT INTO `#@__keywords`(keyword,rank,sta,rpurl) VALUES ('$keyword','$rank','1','$rpurl');"; + $inquery = "INSERT INTO `#@__keywords`(`keyword`,`rank`,`sta`,`rpurl`) VALUES ('$keyword','$rank','1','$rpurl');"; $dsql->ExecuteNoneQuery($inquery); - ShowMsg("成功增加一个关键字", $ENV_GOBACK_URL); + ShowMsg("成功增加一个关键字!", $ENV_GOBACK_URL); exit(); } if (empty($keyword)) { @@ -78,7 +78,7 @@ if (empty($keyword)) { $addquery = " WHERE keyword LIKE '%$keyword%' "; } -$sql = "SELECT * FROM `#@__keywords` $addquery ORDER BY rank DESC"; +$sql = "SELECT * FROM `#@__keywords` $addquery ORDER BY `rank` DESC"; $dlist = new DataListCP(); $dlist->pageSize = 20; $dlist->SetParameter("keyword", $keyword); diff --git a/src/dede/article_keywords_make.php b/src/dede/article_keywords_make.php index 0c4f5ab8..4bdcdc6c 100755 --- a/src/dede/article_keywords_make.php +++ b/src/dede/article_keywords_make.php @@ -26,7 +26,7 @@ if ($dopost == 'analyse') { if ($row->sta == 1) $ws[$row->keyword] = 1; else $wserr[$row->keyword] = 1; } - echo "完成关键字数据库的载入<br/>\r\n"; + echo "完成关键字数据库的载入!<br/>\r\n"; flush(); echo "读取档案数据库,并对禁用的关键字和生字进行处理...<br/>\r\n"; flush(); @@ -56,7 +56,7 @@ if ($dopost == 'analyse') { } } } - echo "完成档案数据库的处理<br/>\r\n"; + echo "完成档案数据库的处理!<br/>\r\n"; flush(); if (is_array($wsnew)) { echo "对关键字进行排序...<br/>\r\n"; @@ -68,18 +68,18 @@ if ($dopost == 'analyse') { if (strlen($k) > 20) { continue; } - $dsql->SetQuery("INSERT INTO `#@__keywords`(keyword,rank,sta,rpurl) VALUES('".addslashes($k)."','$v','1','')"); + $dsql->SetQuery("INSERT INTO `#@__keywords`(keyword,`rank`,sta,rpurl) VALUES('".addslashes($k)."','$v','1','')"); $dsql->Execute(); } - echo "完成关键字的导入<br/>\r\n"; + echo "完成关键字的导入!<br/>\r\n"; flush(); sleep(1); } else { - echo "没发现任何新的关键字<br/>\r\n"; + echo "没发现任何新的关键字!<br/>\r\n"; flush(); sleep(1); } - ShowMsg('完成所有操作,现在转到关键字列表页', 'article_keywords_main.php'); + ShowMsg('完成所有操作,现在转到关键字列表页!', 'article_keywords_main.php'); exit(); } //自动获取关键字(适用于默认的文章模型) @@ -197,7 +197,7 @@ else if ($dopost == 'fetch') { $nurl = "article_keywords_make.php?dopost=fetch&totalnum=$totalnum&startdd=".($startdd + $pagesize)."&pagesize=$pagesize"; ShowMsg($tjsta, $nurl, 0, 500); } else { - ShowMsg("完成所有任务", "javascript:;"); + ShowMsg("完成所有任务!", "javascript:;"); } exit(); } diff --git a/src/dede/member_type.php b/src/dede/member_type.php index 28ee73c7..f5ba2c43 100755 --- a/src/dede/member_type.php +++ b/src/dede/member_type.php @@ -26,10 +26,10 @@ if ($dopost == "save") { $exptime = ${'exptime_'.$startID}; if (isset(${'check_'.$startID})) { if ($pname != '') { - $query = "UPDATE #@__member_type SET pname='$pname',money='$money',rank='$rank',exptime='$exptime' WHERE aid='$aid'"; + $query = "UPDATE `#@__member_type` SET `pname`='$pname',`money`='$money',`rank`='$rank',`exptime`='$exptime' WHERE `aid`='$aid'"; } } else { - $query = "DELETE FROM #@__member_type WHERE aid='$aid' "; + $query = "DELETE FROM `#@__member_type` WHERE `aid`='$aid' "; } if ($query != '') { $dsql->ExecuteNoneQuery($query); @@ -38,14 +38,14 @@ if ($dopost == "save") { //增加新记录 if (isset($check_new) && $pname_new != '') { - $query = "INSERT INTO #@__member_type(rank,pname,money,exptime) VALUES('{$rank_new}','{$pname_new}','{$money_new}','{$exptime_new}');"; + $query = "INSERT INTO `#@__member_type`(`rank`,`pname`,`money`,`exptime`) VALUES('{$rank_new}','{$pname_new}','{$money_new}','{$exptime_new}');"; $dsql->ExecuteNoneQuery($query); } header("Content-Type: text/html; charset={$cfg_soft_lang}"); - echo "<script> alert('成功更新会员产品分类表'); </script>"; + echo "<script> alert('成功更新会员产品分类表!'); </script>"; } $arcranks = array(); -$dsql->SetQuery("SELECT * FROM #@__arcrank WHERE rank>10 "); +$dsql->SetQuery("SELECT * FROM `#@__arcrank` WHERE `rank`>10 "); $dsql->Execute(); while ($row = $dsql->GetArray()) { $arcranks[$row['rank']] = $row['membername']; diff --git a/src/dede/sys_payment.php b/src/dede/sys_payment.php index aedd63e1..1028ec39 100755 --- a/src/dede/sys_payment.php +++ b/src/dede/sys_payment.php @@ -181,7 +181,7 @@ if ($dopost == 'install') { //配置支付接口 else if ($dopost == 'config') { if ($pay_name == "" || $pay_desc == "" || $pay_fee == "") { - ShowMsg("您有未填写的项目", "-1"); + ShowMsg("您有未填写的项目!", "-1"); exit(); } $row = $dsql->GetOne("SELECT * FROM `#@__payment` WHERE id='$pid'"); @@ -200,7 +200,7 @@ else if ($dopost == 'config') { $configstr = "<"."?php\r\n".$payment."\r\n?".">\r\n"; if (!empty($payment)) { $m_file = DEDEDATA."/payment/".$row['code'].".php"; - $fp = fopen($m_file, "w") or die("写入文件 $safeconfigfile 失败,请检查权限"); + $fp = fopen($m_file, "w") or die("写入文件 $safeconfigfile 失败,请检查权限!"); fwrite($fp, $configstr); fclose($fp); } @@ -215,7 +215,7 @@ else if ($dopost == 'config') { $query = "UPDATE `#@__payment` SET name = '$pay_name',fee='$pay_fee',description='$pay_desc',config='$config',enabled='1' WHERE id='$pid'"; $dsql->ExecuteNoneQuery($query); if ($pm == 'edit') $msg = "保存修改成功"; - else $msg = "安装成功"; + else $msg = "安装成功!"; ShowMsg($msg, "sys_payment.php"); exit(); } @@ -241,10 +241,10 @@ else if ($dopost == 'uninstall') { //同时需要删除对应的缓存 $m_file = DEDEDATA."/payment/".$row['code'].".php"; @unlink($m_file); - ShowMsg("删除成功", "sys_payment.php"); + ShowMsg("删除成功!", "sys_payment.php"); exit(); } -$sql = "SELECT * FROM `#@__payment` ORDER BY rank ASC"; +$sql = "SELECT * FROM `#@__payment` ORDER BY `rank` ASC"; $dlist = new DataListCP(); $dlist->SetTemplet(DEDEADMIN."/templets/sys_payment.htm"); $dlist->SetSource($sql); From 0ba39ed7389059b0f2a37f0859a5149ff2093e37 Mon Sep 17 00:00:00 2001 From: tianya <tianya@benshar.com> Date: Sat, 12 Feb 2022 10:58:40 +0800 Subject: [PATCH 8/8] fix --- src/dede/article_keywords_main.php | 4 ++-- src/dede/article_keywords_make.php | 2 +- src/dede/member_type.php | 8 ++++---- src/dede/sys_payment.php | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/dede/article_keywords_main.php b/src/dede/article_keywords_main.php index 7c7268c1..2ebeafd6 100755 --- a/src/dede/article_keywords_main.php +++ b/src/dede/article_keywords_main.php @@ -66,7 +66,7 @@ else if ($dopost == 'add') { ShowMsg("关键字已存在库中!", "-1"); exit(); } - $inquery = "INSERT INTO `#@__keywords`(`keyword`,`rank`,`sta`,`rpurl`) VALUES ('$keyword','$rank','1','$rpurl');"; + $inquery = "INSERT INTO `#@__keywords`(keyword,rank,sta,rpurl) VALUES ('$keyword','$rank','1','$rpurl');"; $dsql->ExecuteNoneQuery($inquery); ShowMsg("成功增加一个关键字!", $ENV_GOBACK_URL); exit(); @@ -78,7 +78,7 @@ if (empty($keyword)) { $addquery = " WHERE keyword LIKE '%$keyword%' "; } -$sql = "SELECT * FROM `#@__keywords` $addquery ORDER BY `rank` DESC"; +$sql = "SELECT * FROM `#@__keywords` $addquery ORDER BY rank DESC"; $dlist = new DataListCP(); $dlist->pageSize = 20; $dlist->SetParameter("keyword", $keyword); diff --git a/src/dede/article_keywords_make.php b/src/dede/article_keywords_make.php index 4bdcdc6c..544a7cb6 100755 --- a/src/dede/article_keywords_make.php +++ b/src/dede/article_keywords_make.php @@ -68,7 +68,7 @@ if ($dopost == 'analyse') { if (strlen($k) > 20) { continue; } - $dsql->SetQuery("INSERT INTO `#@__keywords`(keyword,`rank`,sta,rpurl) VALUES('".addslashes($k)."','$v','1','')"); + $dsql->SetQuery("INSERT INTO `#@__keywords`(keyword,rank,sta,rpurl) VALUES('".addslashes($k)."','$v','1','')"); $dsql->Execute(); } echo "完成关键字的导入!<br/>\r\n"; diff --git a/src/dede/member_type.php b/src/dede/member_type.php index f5ba2c43..7c8fbffc 100755 --- a/src/dede/member_type.php +++ b/src/dede/member_type.php @@ -26,10 +26,10 @@ if ($dopost == "save") { $exptime = ${'exptime_'.$startID}; if (isset(${'check_'.$startID})) { if ($pname != '') { - $query = "UPDATE `#@__member_type` SET `pname`='$pname',`money`='$money',`rank`='$rank',`exptime`='$exptime' WHERE `aid`='$aid'"; + $query = "UPDATE #@__member_type SET pname='$pname',money='$money',rank='$rank',exptime='$exptime' WHERE aid='$aid'"; } } else { - $query = "DELETE FROM `#@__member_type` WHERE `aid`='$aid' "; + $query = "DELETE FROM #@__member_type WHERE aid='$aid' "; } if ($query != '') { $dsql->ExecuteNoneQuery($query); @@ -38,14 +38,14 @@ if ($dopost == "save") { //增加新记录 if (isset($check_new) && $pname_new != '') { - $query = "INSERT INTO `#@__member_type`(`rank`,`pname`,`money`,`exptime`) VALUES('{$rank_new}','{$pname_new}','{$money_new}','{$exptime_new}');"; + $query = "INSERT INTO #@__member_type(rank,pname,money,exptime) VALUES('{$rank_new}','{$pname_new}','{$money_new}','{$exptime_new}');"; $dsql->ExecuteNoneQuery($query); } header("Content-Type: text/html; charset={$cfg_soft_lang}"); echo "<script> alert('成功更新会员产品分类表!'); </script>"; } $arcranks = array(); -$dsql->SetQuery("SELECT * FROM `#@__arcrank` WHERE `rank`>10 "); +$dsql->SetQuery("SELECT * FROM #@__arcrank WHERE rank>10 "); $dsql->Execute(); while ($row = $dsql->GetArray()) { $arcranks[$row['rank']] = $row['membername']; diff --git a/src/dede/sys_payment.php b/src/dede/sys_payment.php index 1028ec39..18b090ce 100755 --- a/src/dede/sys_payment.php +++ b/src/dede/sys_payment.php @@ -244,7 +244,7 @@ else if ($dopost == 'uninstall') { ShowMsg("删除成功!", "sys_payment.php"); exit(); } -$sql = "SELECT * FROM `#@__payment` ORDER BY `rank` ASC"; +$sql = "SELECT * FROM `#@__payment` ORDER BY rank ASC"; $dlist = new DataListCP(); $dlist->SetTemplet(DEDEADMIN."/templets/sys_payment.htm"); $dlist->SetSource($sql);