diff --git a/src/admin/album_edit.php b/src/admin/album_edit.php index da156b73..8745150a 100644 --- a/src/admin/album_edit.php +++ b/src/admin/album_edit.php @@ -161,7 +161,7 @@ if ($dopost != 'save') { } $imgurls .= "{dede:img ddimg='$litpicname' text='$iinfo' width='".$imginfos[0]."' height='".$imginfos[1]."'} $iurl {/dede:img}\r\n"; } - //没上传图片(只修改msg信息) + //没上传图片,只修改msg信息 else { $iinfo = str_replace("'", "`", stripslashes(${'imgmsg'.$i})); $iurl = stripslashes(${'imgurl'.$i}); diff --git a/src/admin/inc/inc_action_info.php b/src/admin/inc/inc_action_info.php index 0d04ee36..8935f1f3 100644 --- a/src/admin/inc/inc_action_info.php +++ b/src/admin/inc/inc_action_info.php @@ -12,8 +12,8 @@ require_once(dirname(__FILE__)."/../config.php"); $cuserLogin = new userLogin(); //后台功能操作配置项 $actionSearch[0] = array( - 'title' => '常规操作', - 'description' => '常规功能操作', + 'title' => '常用操作', + 'description' => '后台常用操作', 'soniterm' => array( 0 => array( 'title' => '网站栏目管理', @@ -34,10 +34,10 @@ $actionSearch[0] = array( 'linkurl' => 'content_list.php?mid=$cuserLogin->userID' ), 3 => array( - 'title' => '自定义文档属性', - 'description' => '网站自定义文档属性', - 'purview' => 'sys_Att', - 'linkurl' => 'content_att.php' + 'title' => '标签管理', + 'description' => '网站所有标签管理', + 'purview' => 'sys_Keyword', + 'linkurl' => 'tags_main.php' ), 4 => array( 'title' => '评论管理', @@ -46,29 +46,17 @@ $actionSearch[0] = array( 'linkurl' => 'feedback_main.php' ), 5 => array( - 'title' => '文档回收站', - 'description' => '系统配置变量的核心设置中开启了文档回收站是否开启功能,后台删除的文档会存放在此处', - 'purview' => 'a_List,a_AccList,a_MyList', - 'linkurl' => 'recycling.php' - ) - ) -); -$actionSearch[1] = array( - 'title' => '文档管理', - 'description' => '网站文档管理', - 'soniterm' => array( - 0 => array( 'title' => '专题管理', 'description' => '网站所有专题管理', 'purview' => 'spec_New', 'linkurl' => 'content_s_list.php' ), - 1 => array( - 'title' => '标签管理', - 'description' => '网站所有标签管理', - 'purview' => 'sys_Keyword', - 'linkurl' => 'tags_main.php' - ), + 6 => array( + 'title' => '文档回收站', + 'description' => '系统配置变量的核心设置中开启了文档回收站是否开启功能,后台删除的文档会存放在此处', + 'purview' => 'a_List,a_AccList,a_MyList', + 'linkurl' => 'recycling.php' + ) ) ); $actionSearch[2] = array( @@ -82,13 +70,13 @@ $actionSearch[2] = array( 'linkurl' => 'media_add.php' ), 1 => array( - 'title' => '附件数据管理', + 'title' => '附件管理', 'description' => '列出所有上传的附件', 'purview' => 'sys_Upload,sys_MyUpload', 'linkurl' => 'media_main.php' ), 2 => array( - 'title' => '文件式管理器', + 'title' => '文件理器', 'description' => '应用文件浏览的模式进行附件的管理', 'purview' => 'plus_文件管理器', 'linkurl' => 'media_main.php?dopost=filemanager' @@ -123,8 +111,14 @@ $actionSearch[3] = array( 'purview' => 'c_List', 'linkurl' => 'freelist_main.php' ), + 3 => array( + 'title' => '自定义文档属性', + 'description' => '网站自定义文档属性', + 'purview' => 'sys_Att', + 'linkurl' => 'content_att.php' + ), 4 => array( - 'title' => '自定义表单', + 'title' => '自定义表单管理', 'description' => '创建和管理自定义表单', 'purview' => 'c_List', 'linkurl' => 'diy_main.php' @@ -142,30 +136,30 @@ $actionSearch[4] = array( 'linkurl' => 'content_batch_up.php' ), 1 => array( - 'title' => '搜索关键词维护', - 'description' => '所有搜索关键词管理', - 'purview' => 'sys_Keyword', - 'linkurl' => 'search_keywords_main.php?dopost=filemanager' + 'title' => '文档重复检测', + 'description' => '网站重复标题文档处理', + 'purview' => 'sys_ArcBatch', + 'linkurl' => 'article_test_same.php' ), - 2 => array( + 3 => array( 'title' => '文档关键词维护', 'description' => '所有文档关键词批量维护', 'purview' => 'sys_Keyword', 'linkurl' => 'article_keywords_main.php' ), - 3 => array( - 'title' => '文档重复检测', - 'description' => '网站重复标题文档处理', - 'purview' => 'sys_ArcBatch', - 'linkurl' => 'article_test_same.php' - ), 4 => array( + 'title' => '搜索关键词维护', + 'description' => '所有搜索关键词管理', + 'purview' => 'sys_Keyword', + 'linkurl' => 'search_keywords_main.php?dopost=filemanager' + ), + 5 => array( 'title' => '自动摘要分页', 'description' => '更新没有填写描述的文档或更新没分页的文档的自动分页标识', 'purview' => 'sys_Keyword', 'linkurl' => 'article_description_main.php' ), - 5 => array( + 6 => array( 'title' => '数据库字段替换', 'description' => '网站数据库字段批量替换', 'purview' => 'sys_ArcBatch', @@ -184,23 +178,23 @@ $actionSearch[5] = array( 'linkurl' => 'member_main.php' ), 1 => array( + 'title' => '会员短信管理', + 'description' => '会员之间发送的短消息管理,其中包含群发短消息和对单个会员发送短消息两种', + 'purview' => 'member_Type', + 'linkurl' => 'member_pm.php' + ), + 2 => array( 'title' => '会员级别设置', 'description' => '会员级别设置,通过不同会员的浏览权限来对会员级别进行一个扩展', 'purview' => 'member_Type', 'linkurl' => 'member_rank.php' ), - 2 => array( + 3 => array( 'title' => '积分头衔设置', 'description' => '会员积分等级设置,根据活动积分对会员进行头衔划分', 'purview' => 'member_Type', 'linkurl' => 'member_scores.php' ), - 4 => array( - 'title' => '会员短信管理', - 'description' => '会员之间发送的短消息管理,其中包含群发短消息和对单个会员发送短消息两种', - 'purview' => 'member_Type', - 'linkurl' => 'member_pm.php' - ), ) ); $actionSearch[6] = array( @@ -220,18 +214,18 @@ $actionSearch[6] = array( 'linkurl' => 'cards_type.php' ), 2 => array( - 'title' => '会员产品分类', - 'description' => '会员类产品型划分,对会员产品进行定义', - 'purview' => 'sys_Data', - 'linkurl' => 'member_type.php' - ), - 3 => array( 'title' => '会员消费记录', 'description' => '会员消费记录,同时可以查看消费充值订单的付款情况', 'purview' => 'sys_Data', 'linkurl' => 'member_operations.php' ), - 5 => array( + 3 => array( + 'title' => '会员产品分类', + 'description' => '会员类产品型划分,对会员产品进行定义', + 'purview' => 'sys_Data', + 'linkurl' => 'member_type.php' + ), + 4 => array( 'title' => '支付接口设置', 'description' => '网站支付接口设置', 'purview' => 'sys_Data', @@ -351,12 +345,12 @@ $actionSearch[9] = array( 'purview' => 'sys_Edit', 'linkurl' => 'sys_info_mark.php' ), - // 5 => array( - // 'title' => '云服务设置', - // 'description' => '主流云服务平台支持', - // 'purview' => 'sys_Edit', - // 'linkurl' => 'sys_cloud.php' - // ), + /*5 => array( + 'title' => '云服务设置', + 'description' => '主流云服务平台支持', + 'purview' => 'sys_Edit', + 'linkurl' => 'sys_cloud.php' + ),*/ 6 => array( 'title' => '软件下载设置', 'description' => '软件下载连接显示方式,下载方式,镜像服务器等等进行配置', diff --git a/src/admin/inc/inc_menu.php b/src/admin/inc/inc_menu.php index aa1ad8a3..fb099ef1 100644 --- a/src/admin/inc/inc_menu.php +++ b/src/admin/inc/inc_menu.php @@ -86,8 +86,8 @@ $menusMain = " - - + + $adminMenu1 diff --git a/src/admin/media_main.php b/src/admin/media_main.php index 7b03df76..dfa7238e 100644 --- a/src/admin/media_main.php +++ b/src/admin/media_main.php @@ -13,7 +13,7 @@ require_once(DEDEINC."/datalistcp.class.php"); require_once(DEDEINC."/common.func.php"); setcookie("ENV_GOBACK_URL", $dedeNowurl, time() + 3600, "/"); if (empty($dopost)) $dopost = ''; -//文件式管理器 +//文件理器 if ($dopost == 'filemanager') { if (file_exists('./file_manage_main.php')) { header("location:file_manage_main.php?activepath=$cfg_medias_dir"); diff --git a/src/admin/member_toadmin.php b/src/admin/member_toadmin.php index 3dbfe64e..4a4f4244 100644 --- a/src/admin/member_toadmin.php +++ b/src/admin/member_toadmin.php @@ -18,7 +18,7 @@ $row = array(); 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); diff --git a/src/admin/sys_admin_user_add.php b/src/admin/sys_admin_user_add.php index 4e2fd8ec..c5ac0520 100644 --- a/src/admin/sys_admin_user_add.php +++ b/src/admin/sys_admin_user_add.php @@ -15,7 +15,7 @@ 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); @@ -37,7 +37,6 @@ if ($dopost == 'add') { $mpwd = md5($pwd); $pwd = substr(md5($pwd), 5, 20); } - $typeid = join(',', $typeids); if ($typeid == '0') $typeid = ''; //关连前台会员帐号 diff --git a/src/admin/sys_admin_user_edit.php b/src/admin/sys_admin_user_edit.php index 218d081f..c2dbf4f6 100644 --- a/src/admin/sys_admin_user_edit.php +++ b/src/admin/sys_admin_user_edit.php @@ -17,7 +17,7 @@ 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); diff --git a/src/admin/templets/media_main.htm b/src/admin/templets/media_main.htm index 5ff5bf83..27048e4f 100644 --- a/src/admin/templets/media_main.htm +++ b/src/admin/templets/media_main.htm @@ -3,7 +3,7 @@ - 附件数据管理 + 附件管理 @@ -73,7 +73,7 @@ - + diff --git a/src/static/web/css/style.css b/src/static/web/css/style.css index b795ddd1..bd344002 100644 --- a/src/static/web/css/style.css +++ b/src/static/web/css/style.css @@ -102,7 +102,7 @@ input[type=file] { .ddcard > .card-header { padding:0; background:#fff; - border-bottom:solid 4px #1eb867 + border-bottom:solid 3px #1eb867 } .ddcard-normal > .card-header { padding:10px; @@ -135,9 +135,6 @@ input[type=file] { background:#1eb867; border-radius:.2rem .2rem 0 0 } -.ddcard-normal > .list-group > li i { - color:#1eb867 -} .ddcard-normal { padding:0; box-shadow:0 .125rem .25rem rgba(0,0,0,.075) @@ -181,12 +178,12 @@ input[type=file] { line-height:30px } .items > li .title,.items > li .caption a { - display:inline; - line-height:18px; - color:#212529 + display:inline +} +.items > li .source span,.items > li .source a { + color:#c0c0c0 } .items > li .description,.items > li .description a,.items > li .addinfo { - color:#868686; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; @@ -329,24 +326,24 @@ input[type=file] { line-height:40px; text-align:right } -.user-admin img { +.user-admin-img { + max-width:60px; + min-height:60px; + border-radius:50%; + border:1px solid #eee +} +.user-admin-img-xs { margin-right:10px; width:30px; height:30px; border-radius:50%; - border-bottom:1px solid #eee -} -.user-logo { - max-width:60px; - min-height:60px; - border-radius:50%; - border-bottom:1px solid #eee + border:1px solid #eee } -.user-img { +.user-edit-img { width:36px; height:36px; border-radius:50%; - border:1px solid #dee2e6 + border:1px solid #eee } .user-meter i { font-size:24px!important; @@ -358,17 +355,14 @@ input[type=file] { .list-group-flush>.list-group-item { cursor:pointer } -.nav-link.active { - color:#ec982c -} .dropdown { display:inline-block; margin-left:.25rem; content:""; - border-top:.3em solid; - border-right:.3em solid transparent; + border-top:.3rem solid; + border-right:.3rem solid transparent; border-bottom:0; - border-left:.3em solid transparent; + border-left:.3rem solid transparent; vertical-align:.25rem } .pannel-main-container { diff --git a/src/system/common.func.php b/src/system/common.func.php index 319c003b..0956c1fa 100755 --- a/src/system/common.func.php +++ b/src/system/common.func.php @@ -508,6 +508,21 @@ function GetUpdateSQL() fclose($fp); return $result; } +//会员头像标签{dede:field.mid function='face(@me)'/}和[field:mid function='face(@me)'/] +function face($mid) +{ + global $dsql; + if ($mid <> 0) { + $row = $dsql->GetOne("SELECT * FROM `#@__member` WHERE mid='$mid'"); + if ($row['face'] == "") { + $face = "/static/web/img/admin.png"; + } else { + $face = $row['face']; + $face = "$face"; + } + } + return $face; +} //会员昵称标签{dede:field.mid function="GetMemberInfos('uname',@me)"/}和[field:mid function="GetMemberInfos('uname',@me)"/] function GetMemberInfos($fields, $mid) { @@ -524,21 +539,6 @@ function GetMemberInfos($fields, $mid) } return $revalue; } -//会员头像标签{dede:field.mid function='face(@me)'/}和[field:mid function='face(@me)'/] -function face($mid) -{ - global $dsql; - if ($mid <> 0) { - $row = $dsql->GetOne("SELECT * FROM `#@__member` WHERE mid='$mid'"); - if ($row['face'] == "") { - $face = "/static/web/img/admin.png"; - } else { - $face = $row['face']; - $face = "$face"; - } - } - return $face; -} //标签调用标签[field:id function='GetMyTags(@me,2)'/]2表示输出2个文档 if (!function_exists('GetMyTags')) { function GetMyTags($aid, $num=3) diff --git a/src/theme/dedebiz/foot.htm b/src/theme/dedebiz/foot.htm index d397e677..573aedcb 100644 --- a/src/theme/dedebiz/foot.htm +++ b/src/theme/dedebiz/foot.htm @@ -15,7 +15,7 @@ function CheckLogin() { $.get("{dede:global.cfg_cmsurl/}/user/api.php?format=json",function(result) { if (result.code === 200) { - $("#_login").html(`${result.data.username}${result.data.username}`); + $("#_login").html(`${result.data.username}${result.data.username}`); $("#iptUsername").val(result.data.username); $("#iptUsername").attr("disabled", "disabled"); $(".areaValidate").hide(); diff --git a/src/theme/dedebiz/index.htm b/src/theme/dedebiz/index.htm index e536e86b..77f024ce 100644 --- a/src/theme/dedebiz/index.htm +++ b/src/theme/dedebiz/index.htm @@ -56,7 +56,7 @@ @@ -100,8 +100,17 @@ diff --git a/src/theme/dedebiz/index_article.htm b/src/theme/dedebiz/index_article.htm index 6883680f..f0748acb 100644 --- a/src/theme/dedebiz/index_article.htm +++ b/src/theme/dedebiz/index_article.htm @@ -47,8 +47,17 @@ diff --git a/src/theme/dedebiz/index_default.htm b/src/theme/dedebiz/index_default.htm index 6883680f..f0748acb 100644 --- a/src/theme/dedebiz/index_default.htm +++ b/src/theme/dedebiz/index_default.htm @@ -47,8 +47,17 @@ diff --git a/src/theme/dedebiz/index_default_sg.htm b/src/theme/dedebiz/index_default_sg.htm index ee24b45b..cb75e674 100644 --- a/src/theme/dedebiz/index_default_sg.htm +++ b/src/theme/dedebiz/index_default_sg.htm @@ -47,8 +47,17 @@ diff --git a/src/theme/dedebiz/index_infos.htm b/src/theme/dedebiz/index_infos.htm index ee24b45b..cb75e674 100644 --- a/src/theme/dedebiz/index_infos.htm +++ b/src/theme/dedebiz/index_infos.htm @@ -47,8 +47,17 @@ diff --git a/src/theme/dedebiz/index_soft.htm b/src/theme/dedebiz/index_soft.htm index 6883680f..f0748acb 100644 --- a/src/theme/dedebiz/index_soft.htm +++ b/src/theme/dedebiz/index_soft.htm @@ -47,8 +47,17 @@ diff --git a/src/theme/dedebiz/list_article.htm b/src/theme/dedebiz/list_article.htm index ab60c84f..40e8afe2 100644 --- a/src/theme/dedebiz/list_article.htm +++ b/src/theme/dedebiz/list_article.htm @@ -42,7 +42,10 @@
[field:description/]...
-
发布时间:[field:pubdate function="MyDate('y-m-d',@me)"/]
+
+ [field:mid function="GetMemberInfos('uname',@me)"/] + [field:pubdate function="MyDate('Y-m-d',@me)"/] +
{/dede:list} diff --git a/src/theme/dedebiz/list_default.htm b/src/theme/dedebiz/list_default.htm index efee0f2a..24a62f0c 100644 --- a/src/theme/dedebiz/list_default.htm +++ b/src/theme/dedebiz/list_default.htm @@ -42,7 +42,10 @@
[field:description/]...
-
发布时间:[field:pubdate function="MyDate('y-m-d',@me)"/]
+
+ [field:mid function="GetMemberInfos('uname',@me)"/] + [field:pubdate function="MyDate('Y-m-d',@me)"/] +
{/dede:list} diff --git a/src/theme/dedebiz/list_default_sg.htm b/src/theme/dedebiz/list_default_sg.htm index 40d3f35f..51847ea5 100644 --- a/src/theme/dedebiz/list_default_sg.htm +++ b/src/theme/dedebiz/list_default_sg.htm @@ -42,7 +42,10 @@
[field:description/]...
-
发布时间:[field:pubdate function="MyDate('y-m-d',@me)"/]
+
+ [field:mid function="GetMemberInfos('uname',@me)"/] + [field:pubdate function="MyDate('Y-m-d',@me)"/] +
{/dede:list} diff --git a/src/theme/dedebiz/list_infos.htm b/src/theme/dedebiz/list_infos.htm index 8c2bb815..5ad192df 100644 --- a/src/theme/dedebiz/list_infos.htm +++ b/src/theme/dedebiz/list_infos.htm @@ -61,7 +61,10 @@

[field:code/] [field:title/]

-
发布时间:[field:pubdate function="MyDate('y-m-d',@me)"/]
+
+ [field:mid function="GetMemberInfos('uname',@me)"/] + [field:pubdate function="MyDate('Y-m-d',@me)"/] +
{/dede:list} diff --git a/src/theme/dedebiz/list_soft.htm b/src/theme/dedebiz/list_soft.htm index 9a34b28e..47f5825a 100644 --- a/src/theme/dedebiz/list_soft.htm +++ b/src/theme/dedebiz/list_soft.htm @@ -43,7 +43,10 @@
[field:description/]...
-
上传日期:[field:pubdate function="MyDate('Y-m-d', @me)"/] 推荐级别:[field:softrank function='GetRankStar(@me)'/] 软件语言:[field:language/]
+
+ [field:mid function="GetMemberInfos('uname',@me)"/] + [field:pubdate function="MyDate('Y-m-d',@me)"/] +
{/dede:list} diff --git a/src/theme/dedebiz/list_spec.htm b/src/theme/dedebiz/list_spec.htm index 85319410..f9ff315f 100644 --- a/src/theme/dedebiz/list_spec.htm +++ b/src/theme/dedebiz/list_spec.htm @@ -43,7 +43,10 @@
[field:description/]...
-
上传日期:[field:pubdate function="MyDate('Y-m-d', @me)"/]
+
+ [field:mid function="GetMemberInfos('uname',@me)"/] + [field:pubdate function="MyDate('Y-m-d',@me)"/] +
{/dede:list} diff --git a/src/user/templets/edit_baseinfo.htm b/src/user/templets/edit_baseinfo.htm index 862c573b..0acf58b9 100755 --- a/src/user/templets/edit_baseinfo.htm +++ b/src/user/templets/edit_baseinfo.htm @@ -60,7 +60,7 @@
- + 修改头像
diff --git a/src/user/templets/index.htm b/src/user/templets/index.htm index d7b91eb5..75604c43 100755 --- a/src/user/templets/index.htm +++ b/src/user/templets/index.htm @@ -22,7 +22,7 @@
- +

M_UserName;?>

GetMemberTypeName();?>
附件数据管理附件管理
选择