diff --git a/src/admin/file_manage_control.php b/src/admin/file_manage_control.php index 9024f035..572d2877 100644 --- a/src/admin/file_manage_control.php +++ b/src/admin/file_manage_control.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require(dirname(__FILE__)."/config.php"); -CheckPurview('plus_文件管理器'); +CheckPurview('plus_file'); require(DEDEINC."/libraries/oxwindow.class.php"); require_once(DEDEADMIN.'/file_class.php'); $activepath = str_replace("..", "", $activepath); diff --git a/src/admin/file_manage_main.php b/src/admin/file_manage_main.php index c514d331..61f055d6 100644 --- a/src/admin/file_manage_main.php +++ b/src/admin/file_manage_main.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require(dirname(__FILE__)."/config.php"); -CheckPurview('plus_文件管理器'); +CheckPurview('plus_file'); if (!isset($activepath)) $activepath = DEDEBIZ_SAFE_MODE? $cfg_medias_dir : $cfg_cmspath; $inpath = ""; $activepath = str_replace("..", "", $activepath); diff --git a/src/admin/file_manage_view.php b/src/admin/file_manage_view.php index 8f0fb59c..66e4b1e1 100644 --- a/src/admin/file_manage_view.php +++ b/src/admin/file_manage_view.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckPurview('plus_文件管理器'); +CheckPurview('plus_file'); require_once(DEDEINC."/libraries/oxwindow.class.php"); $activepath = str_replace("..", "", $activepath); $activepath = preg_replace("#^\/{1,}#", "/", $activepath); diff --git a/src/admin/inc/inc_action_info.php b/src/admin/inc/inc_action_info.php index 9fde9fa3..7f293592 100644 --- a/src/admin/inc/inc_action_info.php +++ b/src/admin/inc/inc_action_info.php @@ -13,35 +13,41 @@ $cuserLogin = new userLogin(); //后台功能操作配置项 $actionSearch[0] = array( 'title' => '常规操作', - 'description' => '站点文档常规功能操作', + 'description' => '常规功能操作', 'soniterm' => array( 0 => array( 'title' => '网站栏目管理', - 'description' => '站点所有栏目管理', + 'description' => '网站所有栏目管理', 'purview' => 't_List,t_AccList', 'linkurl' => 'catalog_main.php' ), 1 => array( - 'title' => '等审核的文档', - 'description' => '所有文档模型发表的未经审核文档列表', + 'title' => '待审核的文档', + 'description' => '所有文档模型发表待审核文档列表', 'purview' => 'a_Check,a_AccCheck', 'linkurl' => 'content_list.php?arcrank=-1' ), 2 => array( 'title' => '我发布的文档', - 'description' => '现在登录的管理员所发表的所有文档模型中的文档', + 'description' => '当前后台登录所发表的文档', 'purview' => 'a_List,a_AccList,a_MyList', 'linkurl' => 'content_list.php?mid=$cuserLogin->userID' ), 3 => array( + 'title' => '自定义文档属性', + 'description' => '网站自定义文档属性', + 'purview' => 'sys_Att', + 'linkurl' => 'content_att.php' + ), + 4 => array( 'title' => '评论管理', 'description' => '网站所有评论管理', 'purview' => 'sys_Feedback', 'linkurl' => 'feedback_main.php' ), - 4 => array( + 5 => array( 'title' => '文档回收站', - 'description' => '如果在"系统配置变量"的"核心设置"中开启了"文档回收站是否开启功能",后台删除的文档会存放在此处', + 'description' => '系统配置变量的核心设置中开启了文档回收站是否开启功能,后台删除的文档会存放在此处', 'purview' => 'a_List,a_AccList,a_MyList', 'linkurl' => 'recycling.php' ) @@ -49,23 +55,29 @@ $actionSearch[0] = array( ); $actionSearch[1] = array( 'title' => '文档管理', - 'description' => '网站对应文档模型的文档管理', + 'description' => '网站文档管理', 'soniterm' => array( 0 => array( 'title' => '专题管理', - 'description' => '所有专题文档的管理', + 'description' => '网站所有专题管理', 'purview' => 'spec_New', 'linkurl' => 'content_s_list.php' ), + 1 => array( + 'title' => '标签管理', + 'description' => '网站所有标签管理', + 'purview' => 'sys_Keyword', + 'linkurl' => 'tags_main.php' + ), ) ); $actionSearch[2] = array( 'title' => '附件管理', - 'description' => '所有上传的附件管理', + 'description' => '网站附件管理', 'soniterm' => array( 0 => array( 'title' => '上传新文件', - 'description' => '通过这可以上传图片、FLASH、视频音频、附件其它等附件', + 'description' => '通过这可以上传图片、FLASH、视频音频、附件等其它附件', 'purview' => '', 'linkurl' => 'media_add.php' ), @@ -78,18 +90,18 @@ $actionSearch[2] = array( 2 => array( 'title' => '文件式管理器', 'description' => '应用文件浏览的模式进行附件的管理', - 'purview' => 'plus_文件管理器', + 'purview' => 'plus_file', 'linkurl' => 'media_main.php?dopost=filemanager' ), ) ); $actionSearch[3] = array( 'title' => '文档模型', - 'description' => '所有上传的附件管理', + 'description' => '所有文档模型管理', 'soniterm' => array( 0 => array( 'title' => '文档模型管理', - 'description' => '可以对现有商品、软件、图片集、普通文档、专题、分类信息等模型就行管理,也可以创建新的文档模型', + 'description' => '网站文档、图片、软件、专题、分类等模型就行管理,也可以创建新模型', 'purview' => 'c_List', 'linkurl' => 'mychannel_main.php' ), @@ -121,53 +133,41 @@ $actionSearch[3] = array( ); $actionSearch[4] = array( 'title' => '批量维护', - 'description' => '对一些东西进行批量的删除,添加等等', + 'description' => '网站数据维护', 'soniterm' => array( 0 => array( - 'title' => '更新缓存', - 'description' => '更新栏目缓存、更新枚举缓存、清理arclist调用缓存、清理过期会员浏览历史、删除过期短信', - 'purview' => 'sys_ArcBatch', - 'linkurl' => 'sys_cache_up.php' - ), - 1 => array( 'title' => '文档批量维护', - 'description' => '批量的对某个栏目或者全部栏目的文档进行审核文档、更新网页、移动文档、删除文档', + 'description' => '某个栏目或者全部栏目的文档进行批量审核文档、更新网页、移动文档、删除文档', 'purview' => 'sys_ArcBatch', 'linkurl' => 'content_batch_up.php' ), - 2 => array( + 1 => array( 'title' => '搜索关键词维护', - 'description' => '对已经进行的所有所搜的关键词进行管理', + 'description' => '所有搜索关键词管理', 'purview' => 'sys_Keyword', 'linkurl' => 'search_keywords_main.php?dopost=filemanager' ), - 3 => array( + 2 => array( 'title' => '文档关键词维护', - 'description' => '对文档中的关键词进行批量的维护', + 'description' => '所有文档关键词批量维护', 'purview' => 'sys_Keyword', 'linkurl' => 'article_keywords_main.php' ), - 4 => array( + 3 => array( 'title' => '重复文档检测', - 'description' => '可以对网站中出现的重复标题的文档进行处理', + 'description' => '网站重复标题文档处理', 'purview' => 'sys_ArcBatch', 'linkurl' => 'article_test_same.php' ), - 5 => array( - 'title' => '自动摘要|分页', - 'description' => '用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识', + 4 => array( + 'title' => '自动摘要分页', + 'description' => '更新没有填写描述的文档或更新没分页的文档的自动分页标识', 'purview' => 'sys_Keyword', 'linkurl' => 'article_description_main.php' ), - 6 => array( - 'title' => '标签管理', - 'description' => '对整个网站的tag进行批量的维护', - 'purview' => 'sys_Keyword', - 'linkurl' => 'tags_main.php' - ), - 7 => array( - 'title' => '数据库文档替换', - 'description' => '可以对数据库中的某张表中的字段进行文档的批量替换', + 5 => array( + 'title' => '数据库字段替换', + 'description' => '网站数据库字段批量替换', 'purview' => 'sys_ArcBatch', 'linkurl' => 'sys_data_replace.php' ), @@ -175,23 +175,23 @@ $actionSearch[4] = array( ); $actionSearch[5] = array( 'title' => '会员管理', - 'description' => '注册会员及积分等配置管理', + 'description' => '网站所有会员管理', 'soniterm' => array( 0 => array( - 'title' => '注册会员列表', - 'description' => '所有注册会员的管理项,其中包含修改删除,查看会员文档以及提升管理员等操作', + 'title' => '所有会员列表', + 'description' => '所有会员修改删除,查看会员文档以及提升管理员等操作', 'purview' => 'member_List', 'linkurl' => 'member_main.php' ), 1 => array( 'title' => '会员级别设置', - 'description' => '设置会员的级别,可以通过设计不同会员的浏览权限来对会员级别进行一个扩展', + 'description' => '会员级别设置,通过不同会员的浏览权限来对会员级别进行一个扩展', 'purview' => 'member_Type', 'linkurl' => 'member_rank.php' ), 2 => array( 'title' => '积分头衔设置', - 'description' => '会员积分等级设置,根据会员活动积分对会员进行头衔划分', + 'description' => '会员积分等级设置,根据活动积分对会员进行头衔划分', 'purview' => 'member_Type', 'linkurl' => 'member_scores.php' ), @@ -205,35 +205,35 @@ $actionSearch[5] = array( ); $actionSearch[6] = array( 'title' => '支付工具', - 'description' => '站点财务相关设置,包含点卡,商店订单等操作', + 'description' => '财务相关设置,包含点卡,商店订单等操作', 'soniterm' => array( 0 => array( - 'title' => '点卡产品分类', - 'description' => '网站点卡产品分类,可以添加不同点数的点卡产品类型', + 'title' => '点卡产品管理', + 'description' => '网站点卡产品管理,可以在这里生成点卡以及查看点卡的当前状态', 'purview' => 'sys_Data', - 'linkurl' => 'cards_type.php' + 'linkurl' => 'cards_manage.php' ), 1 => array( - 'title' => '点卡产品管理', - 'description' => '管理网站点卡,可以在这里生成点卡以及查看点卡的当前状态', + 'title' => '点卡产品分类', + 'description' => '网站点卡产品分类,可以添加不同点数的点卡产品类型', 'purview' => 'sys_Data', - 'linkurl' => 'cards_manage.php' + 'linkurl' => 'cards_type.php' ), 2 => array( 'title' => '会员产品分类', - 'description' => '可以将会员类型进行产品划分,比如出售高级会员1年这种,在这里可以对会员产品进行定义', + 'description' => '会员类产品型划分,对会员产品进行定义', 'purview' => 'sys_Data', 'linkurl' => 'member_type.php' ), 3 => array( 'title' => '会员消费记录', - 'description' => '会员在前台进行操作、消费积分的消费记录,同时可以查看消费充值订单的付款情况', + 'description' => '会员消费记录,同时可以查看消费充值订单的付款情况', 'purview' => 'sys_Data', 'linkurl' => 'member_operations.php' ), 5 => array( 'title' => '支付接口设置', - 'description' => '商店以及会员产品付款用到的在线付款方式需要设置的支付接口,这里含有常用的接口', + 'description' => '网站支付接口设置', 'purview' => 'sys_Data', 'linkurl' => 'sys_payment.php' ), @@ -245,7 +245,7 @@ $actionSearch[7] = array( 'soniterm' => array( 0 => array( 'title' => '更新网站', - 'description' => '可以一键生成所有静态页面', + 'description' => '生成所有静态页面', 'purview' => 'sys_MakeHtml', 'linkurl' => 'makehtml_all.php' ), @@ -257,25 +257,25 @@ $actionSearch[7] = array( ), 2 => array( 'title' => '更新栏目', - 'description' => '对每个栏目进行静态页面的生成', + 'description' => '生成栏目页面', 'purview' => 'sys_MakeHtml', 'linkurl' => 'makehtml_list.php' ), 3 => array( 'title' => '更新文档', - 'description' => '对每个栏目下的文档进行静态页面的生成', + 'description' => '生成文档页面', 'purview' => 'sys_MakeHtml', 'linkurl' => 'makehtml_archives.php' ), 4 => array( 'title' => '更新专题', - 'description' => '对专题进行静态页面的生成', + 'description' => '生成专题页面', 'purview' => 'sys_MakeHtml', 'linkurl' => 'makehtml_spec.php' ), 5 => array( 'title' => '更新缓存', - 'description' => '更新栏目缓存、更新枚举缓存、清理arclist调用缓存、清理过期会员浏览历史、删除过期短信 ', + 'description' => '更新栏目缓存、更新枚举缓存、清理文档调用缓存、清理过期会员浏览历史、删除过期会员短信、删除过期流量统计', 'purview' => 'sys_ArcBatch', 'linkurl' => 'sys_cache_up.php' ), @@ -283,35 +283,35 @@ $actionSearch[7] = array( ); $actionSearch[8] = DEDEBIZ_SAFE_MODE? null : array( 'title' => '模板管理', - 'description' => '针对主页、栏目、文档、专题等等进行更新', + 'description' => '网站主题模板管理', 'soniterm' => array( 0 => array( 'title' => '默认模板管理', - 'description' => '对网站正在采用的模板文件进行管理', + 'description' => '网站正在采用的模板文件管理', 'purview' => 'temp_All', 'linkurl' => 'templets_main.php' ), 1 => array( 'title' => '标签源码管理', - 'description' => '对现有的标签文件进行修改添加', + 'description' => '系统标签文件编辑修改', 'purview' => 'temp_All', 'linkurl' => 'templets_tagsource.php' ), 2 => array( 'title' => '自定义宏标记', - 'description' => '管理自定义标记', + 'description' => '所有自定义标记管理', 'purview' => 'temp_MyTag', 'linkurl' => 'mytag_main.php' ), 3 => array( 'title' => '智能标记向导', - 'description' => '可以根据需要生成相应的调用标签', + 'description' => '根据需要生成相应的调用标签', 'purview' => 'temp_Other', 'linkurl' => 'mytag_tag_guide.php' ), 4 => array( 'title' => '全局标记测试', - 'description' => '可以对全局的标签调用进行测试', + 'description' => '全局标签调用测试', 'purview' => 'temp_Test', 'linkurl' => 'tag_test.php' ), @@ -319,77 +319,71 @@ $actionSearch[8] = DEDEBIZ_SAFE_MODE? null : array( ); $actionSearch[9] = array( 'title' => '系统设置', - 'description' => '对网站的一些基本信息和配置进行管理', + 'description' => '后台系统设置', 'soniterm' => array( 0 => array( 'title' => '系统配置变量', - 'description' => '包含站点设置、核心设置、附件设置、会员设置、互动设置、性能选项、其它选项、添加新变量等分类,其中有网站基本信息和网站的基本设置选项', + 'description' => '包括站点设置、核心设置、附件设置、会员设置、互动设置、性能选项、其它选项、添加新变量等分类设置', 'purview' => 'sys_Edit', 'linkurl' => 'sys_info.php' ), 1 => array( 'title' => '系统用户管理', - 'description' => '对现有的网站管理员进行管理', + 'description' => '网站管理员管理', 'purview' => 'sys_User', 'linkurl' => 'sys_admin_user.php' ), 2 => array( 'title' => '用户组设定', - 'description' => '对网站管理员进行用户组别的划分', + 'description' => '网站管理员组别的划分', 'purview' => 'sys_Group', 'linkurl' => 'sys_group.php' ), 3 => array( 'title' => '系统日志管理', - 'description' => '对每个登录后台的管理员进行的操作进行记录', + 'description' => '登录后台的管理员操作进行记录', 'purview' => 'sys_Log', 'linkurl' => 'log_list.php' ), 5 => array( 'title' => '图片水印设置', - 'description' => '对于上传的图片添加的水印进行配置', + 'description' => '上传图片添加的水印配置', 'purview' => 'sys_Edit', 'linkurl' => 'sys_info_mark.php' ), 6 => array( - 'title' => '自定义文档属性', - 'description' => '在以往的版本中,网站主页、封面栏目的设计,都只能单调的用arclist标记把某栏目最新或按特定排序方式的文档无选择的读出来,这样做法存在很大的不足,在发布的时候对适合的文档选择专门的属性,那么使用arclist的地方就会按您的意愿显示指定的文档', - 'purview' => 'sys_Att', - 'linkurl' => 'content_att.php' - ), - 7 => array( - 'title' => '软件栏目设置', - 'description' => '可以对软件下载时的连接显示方式,下载方式,镜像服务器等等进行配置', + 'title' => '软件下载设置', + 'description' => '软件下载连接显示方式,下载方式,镜像服务器等等进行配置', 'purview' => 'sys_SoftConfig', 'linkurl' => 'soft_config.php' ), - 8 => array( + 7 => array( 'title' => '防采集串混淆', - 'description' => '防采集串混淆', + 'description' => '网站防采集串混淆', 'purview' => 'sys_StringMix', 'linkurl' => 'article_string_mix.php' ), - 11 => array( + 8 => array( 'title' => '数据库备份还原', - 'description' => '对数据库进行备份和还原', + 'description' => '数据库备份和还原', 'purview' => 'sys_data', 'linkurl' => 'sys_data.php' ), - 12 => DEDEBIZ_SAFE_MODE? null : array( + 9 => DEDEBIZ_SAFE_MODE? null : array( 'title' => 'SQL命令行工具', - 'description' => '可以在针对每张数据表执行单行或者多行的SQL语句', + 'description' => '数据表执行单行或者多行的SQL语句', 'purview' => 'sys_data', 'linkurl' => 'sys_sql_query.php' ), - 14 => array( - 'title' => '病毒扫描', - 'description' => '以DedeBIZ开发模式为标准对现有的文件进行扫描并进行判断', + 10 => array( + 'title' => '后台文件扫描', + 'description' => '以DedeBIZ开发模式为标准对现有的文件进行扫描判断', 'purview' => 'sys_verifies', 'linkurl' => 'sys_safetest.php' ), - 15 => array( + 11 => array( 'title' => '系统错误修复', - 'description' => '由于手动升级时用户没运行指定的SQL语句,或自动升级的遗漏处理或处理出错,可能会导致一些错误,使用本工具会自动检测并处理', + 'description' => '手动和自动升级错误处理', 'purview' => 'sys_verifies', 'linkurl' => 'sys_repair.php' ), diff --git a/src/admin/inc/inc_menu.php b/src/admin/inc/inc_menu.php index b715cbaa..e1fcc8b3 100644 --- a/src/admin/inc/inc_menu.php +++ b/src/admin/inc/inc_menu.php @@ -47,56 +47,56 @@ if ($cuserLogin->getUserType() >= 10) { - + "; $adminMenu2 = " - - + + + - - - + ".(DEDEBIZ_SAFE_MODE? "" : "")." ".(DEDEBIZ_SAFE_MODE? "" : "")." - + "; } $menusMain = " - + + $addset + - + - + $adminMenu1 - + - - ".(DEDEBIZ_SAFE_MODE? "" : "")." + ".(DEDEBIZ_SAFE_MODE? "" : "")." {$GLOBALS['menusMoudle']} @@ -109,10 +109,10 @@ $adminMenu1 - + + - $adminMenu2 diff --git a/src/admin/js/indexbody.js b/src/admin/js/indexbody.js index e283c6be..a322d9cf 100644 --- a/src/admin/js/indexbody.js +++ b/src/admin/js/indexbody.js @@ -82,7 +82,6 @@ function LoadServer() { } else { dedebizInfo = false; } - let infoStr = ``; if (typeof rsp.result.domain !== "undefined") { infoStr += ` @@ -158,7 +157,7 @@ function LoadStat() { }); } } catch (error) { - console.log("加载统计信息失败") + console.log("加载流量统计数据失败") } }); var d = new Date(); @@ -175,7 +174,7 @@ function LoadStat() { $("#yestoday_vv").html(rsp.result.vv); } } catch (error) { - console.log("加载统计信息失败") + console.log("加载流量统计数据失败") } }); } @@ -236,8 +235,7 @@ async function LoadStatChart() { borderColor: 'rgba(255, 99, 132, 1)', backgroundColor: 'rgba(255, 99, 132, 0.2)', borderWidth: 1 - } - , { + }, { label: 'VV', data: vvs, borderColor: 'rgba(75, 192, 192, 1)', diff --git a/src/admin/js/main.js b/src/admin/js/main.js index 6c1fccdc..415b1a98 100644 --- a/src/admin/js/main.js +++ b/src/admin/js/main.js @@ -281,7 +281,7 @@ function ShowUrlTrEdit() { function CkRemote() { document.getElementById('picname').value = ''; } -//载入指定宽高的AJAX窗体 +//载入指定宽高的Ajax窗体 function LoadQuickDiv(e, surl, oname, w, h) { if ($Nav() == 'IE') { if (window.event) { @@ -413,7 +413,7 @@ function copyToClipboard(txt) { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); } catch (e) { - alert("被浏览器拒绝,请在浏览器地址栏输入about:config并回车\n然后把signed.applets.codebase_principal_support设置为true"); + alert("浏览器已拒绝,请在浏览器地址栏输入about:config并回车\n然后把signed.applets.codebase_principal_support项设置为true"); } var clip = Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard); if (!clip) return; @@ -501,9 +501,6 @@ function getElementTop(element) { } return actualTop; } -//Copyright 2020 The MuEMS Authors. All rights reserved. -//license that can be found in the LICENSE file. -//-----msgbox------------------------------------- //生成一个随机id function guid() { function S4() { @@ -530,8 +527,7 @@ function DedeConfirm(content="",title="确认提示") { reject("cancel"); CloseModal(`DedeModal${modalID}`); } - - let footer = ``; + let footer = ``; let modal = `
- + diff --git a/src/admin/templets/soft_add.htm b/src/admin/templets/soft_add.htm index 027cbb49..d38a3e51 100644 --- a/src/admin/templets/soft_add.htm +++ b/src/admin/templets/soft_add.htm @@ -330,7 +330,7 @@ } ?> - 软件栏目设置 + 软件下载设置
注册会员列表所有会员列表
选择
diff --git a/src/admin/templets/soft_config.htm b/src/admin/templets/soft_config.htm index b4858d1c..b0783e61 100644 --- a/src/admin/templets/soft_config.htm +++ b/src/admin/templets/soft_config.htm @@ -3,7 +3,7 @@ - 软件栏目设置 + 软件下载设置 @@ -24,7 +24,7 @@ - 软件栏目设置 + 软件下载设置 链接显示方式: diff --git a/src/admin/templets/soft_edit.htm b/src/admin/templets/soft_edit.htm index bf427ab5..482450fc 100644 --- a/src/admin/templets/soft_edit.htm +++ b/src/admin/templets/soft_edit.htm @@ -325,7 +325,7 @@ } ?> - 软件栏目设置 + 软件下载设置 diff --git a/src/admin/templets/sys_cache_up.htm b/src/admin/templets/sys_cache_up.htm index 62f0b5e1..30c7c2a0 100644 --- a/src/admin/templets/sys_cache_up.htm +++ b/src/admin/templets/sys_cache_up.htm @@ -17,11 +17,11 @@ -
本程序作默认会执行下面的操作:1、更新栏目缓存 2、更新枚举缓存 3、清理arclist调用缓存 4、清理过期会员浏览历史 5、删除过期短信
+
默认执行下面的操作:1、更新栏目缓存 2、更新枚举缓存 3、清理文档调用缓存 4、清理过期会员浏览历史 5、删除过期会员短信 6、删除过期流量统计
- + diff --git a/src/admin/templets/sys_data_replace.htm b/src/admin/templets/sys_data_replace.htm index 0c000472..82269c74 100644 --- a/src/admin/templets/sys_data_replace.htm +++ b/src/admin/templets/sys_data_replace.htm @@ -47,7 +47,7 @@ - 数据库文档替换 + 数据库字段替换 diff --git a/src/admin/templets/sys_safetest.htm b/src/admin/templets/sys_safetest.htm index 1406c322..ccfbaaac 100644 --- a/src/admin/templets/sys_safetest.htm +++ b/src/admin/templets/sys_safetest.htm @@ -3,7 +3,7 @@ - 病毒文件扫描 + 后台文件扫描 @@ -47,7 +47,7 @@ - + diff --git a/src/admin/templets_main.php b/src/admin/templets_main.php index ce46acbe..4d6b53ca 100644 --- a/src/admin/templets_main.php +++ b/src/admin/templets_main.php @@ -12,7 +12,7 @@ require_once(dirname(__FILE__).'/config.php'); if (DEDEBIZ_SAFE_MODE) { die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER)); } -CheckPurview('plus_文件管理器'); +CheckPurview('plus_file'); if (empty($acdir)) $acdir = $cfg_df_style; $templetdir = $cfg_basedir.$cfg_templets_dir; $templetdird = $templetdir.'/'.$acdir; diff --git a/src/admin/templets_tagsource.php b/src/admin/templets_tagsource.php index bb45e63b..bc5242a9 100644 --- a/src/admin/templets_tagsource.php +++ b/src/admin/templets_tagsource.php @@ -12,7 +12,7 @@ require_once(dirname(__FILE__).'/config.php'); if (DEDEBIZ_SAFE_MODE) { die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER)); } -CheckPurview('plus_文件管理器'); +CheckPurview('plus_file'); $libdir = DEDEINC.'/taglib'; $helpdir = DEDEINC.'/taglib/help'; //获取默认文件说明信息 diff --git a/src/admin/tpl.php b/src/admin/tpl.php index fe8c660b..020f1325 100644 --- a/src/admin/tpl.php +++ b/src/admin/tpl.php @@ -12,7 +12,7 @@ require_once(dirname(__FILE__)."/config.php"); if (DEDEBIZ_SAFE_MODE) { die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER)); } -CheckPurview('plus_文件管理器'); +CheckPurview('plus_file'); $action = isset($action) ? trim($action) : ''; if (empty($acdir)) $acdir = $cfg_df_style; $templetdir = $cfg_basedir.$cfg_templets_dir; diff --git a/src/install/sql-dfdata.txt b/src/install/sql-dfdata.txt index c2c47a1f..ca24cf63 100755 --- a/src/install/sql-dfdata.txt +++ b/src/install/sql-dfdata.txt @@ -4090,7 +4090,7 @@ INSERT INTO `#@__sys_module` VALUES(1, '1f35620fb42d452fa2bdc1dee1690f92', '文 (4, 'acb8b88eb4a6d4bfc375c18534f9439e', '投票模块', '', '', 0, ''), (5, '572606600345b1a4bb8c810bbae434cc', '挑错管理', '', '', 0, ''); -INSERT INTO `#@__plus` VALUES(1, '文件管理器', '', '', 'DedeBIZ', 1, ''), +INSERT INTO `#@__plus` VALUES(1, '文件管理器', '', '', 'DedeBIZ', 1, ''), (2, '友情链接模块', '', '', 'DedeBIZ', 1, ''), (3, '广告管理', '', '', 'DedeBIZ', 1, ''), (4, '投票模块', '', '', 'DedeBIZ', 1, ''), diff --git a/src/user/inc/inc_pwd_functions.php b/src/user/inc/inc_pwd_functions.php index 9628ee34..23698d90 100755 --- a/src/user/inc/inc_pwd_functions.php +++ b/src/user/inc/inc_pwd_functions.php @@ -63,7 +63,7 @@ function sendmail($email, $mailtitle, $mailbody, $headers) } } /** - * 发送邮件;type为INSERT新建验证码,UPDATE修改验证码; + * 发送邮件;type为INSERT新建验证码,UPDATE修改验证码 * * @param int $mid 会员id * @param int $userid 用户id @@ -80,14 +80,14 @@ 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.",临时登录密码:".$randval."\r\n请三天内修改登录密码:".$cfg_basehost."/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');"; if ($db->ExecuteNoneQuery($sql)) { if ($send == 'Y') { sendmail($mailto, $mailtitle, $mailbody, $headers); - return ShowMsg('EMAIL修改验证码已经发送到原来的邮箱请查收', 'login.php', '', '5000'); + return ShowMsg('修改验证码已经发送到原来的邮箱请查收', 'login.php', '', '5000'); } else if ($send == 'N') { return ShowMsg('稍后跳转修改页', $cfg_basehost.$cfg_memberurl."/resetpassword.php?dopost=getpasswd&id=".$mid."&key=".$randval); } @@ -100,7 +100,7 @@ function newmail($mid, $userid, $mailto, $type, $send) if ($db->ExecuteNoneQuery($sql)) { if ($send === 'Y') { sendmail($mailto, $mailtitle, $mailbody, $headers); - ShowMsg('EMAIL修改验证码已经发送到原来的邮箱请查收', 'login.php'); + ShowMsg('修改验证码已经发送到原来的邮箱请查收', 'login.php'); } elseif ($send === 'N') { return ShowMsg('稍后跳转修改页', $cfg_basehost.$cfg_memberurl."/resetpassword.php?dopost=getpasswd&id=".$mid."&key=".$randval); } @@ -110,7 +110,7 @@ function newmail($mid, $userid, $mailto, $type, $send) } } /** - * 查询会员信息mail用户输入邮箱地址;userid用户名 + * 查询会员信息mail用户输入邮箱地址userid用户名 * * @param string $mail 邮件 * @param string $userid 用户id @@ -141,14 +141,14 @@ function sn($mid, $userid, $mailto, $send = 'Y') $sql = "SELECT * FROM `#@__pwd_tmp` WHERE mid = '$mid'"; $row = $db->GetOne($sql); if (!is_array($row)) { - //发送新邮件; + //发送新邮件 newmail($mid, $userid, $mailto, 'INSERT', $send); } - //10分钟后可以再次发送新验证码; + //10分钟后可以再次发送新验证码 elseif ($dtime - $tptim > $row['mailtime']) { newmail($mid, $userid, $mailto, 'UPDATE', $send); } - //重新发送新的验证码确认邮件; + //重新发送新的验证码确认邮件 else { return ShowMsg('请10分钟后再重新申请', 'login.php'); } diff --git a/src/user/templets/index.htm b/src/user/templets/index.htm index 5766e27d..f88a981c 100755 --- a/src/user/templets/index.htm +++ b/src/user/templets/index.htm @@ -73,7 +73,7 @@
-
+

最新文档

病毒文件扫描后台文件扫描