diff --git a/src/admin/archives_do.php b/src/admin/archives_do.php index 8fa8bedb..587f0e7a 100644 --- a/src/admin/archives_do.php +++ b/src/admin/archives_do.php @@ -535,9 +535,12 @@ else if ($dopost == 'quickEdit') { } ?> - + + 金币 + " class="admin-input-sm"> + 关键词 diff --git a/src/admin/dialog/select_images.php b/src/admin/dialog/select_images.php index 2633ebe7..f99e3bdc 100644 --- a/src/admin/dialog/select_images.php +++ b/src/admin/dialog/select_images.php @@ -62,7 +62,7 @@ if (!empty($iseditor)) { -
+
选择图片
diff --git a/src/admin/dialog/select_media.php b/src/admin/dialog/select_media.php index 70797578..81abbf72 100644 --- a/src/admin/dialog/select_media.php +++ b/src/admin/dialog/select_media.php @@ -51,7 +51,7 @@ if (!empty($noeditor)) { -
+
选择多媒体
diff --git a/src/admin/dialog/select_soft.php b/src/admin/dialog/select_soft.php index 677139f2..8543e3b6 100644 --- a/src/admin/dialog/select_soft.php +++ b/src/admin/dialog/select_soft.php @@ -51,7 +51,7 @@ if (!empty($noeditor)) { -
+
选择软件
diff --git a/src/admin/dialog/select_templets.php b/src/admin/dialog/select_templets.php index 70eb2735..e73f00f1 100644 --- a/src/admin/dialog/select_templets.php +++ b/src/admin/dialog/select_templets.php @@ -42,7 +42,7 @@ if (empty($comeback)) { -
+
选择模板
diff --git a/src/admin/templets/album_add.htm b/src/admin/templets/album_add.htm index d299f559..54a2a3fc 100644 --- a/src/admin/templets/album_add.htm +++ b/src/admin/templets/album_add.htm @@ -108,7 +108,7 @@ 选择 副栏目";}?> - 需要金币 + 金币 diff --git a/src/admin/templets/album_edit.htm b/src/admin/templets/album_edit.htm index 516ed0a4..17d3551c 100644 --- a/src/admin/templets/album_edit.htm +++ b/src/admin/templets/album_edit.htm @@ -106,7 +106,7 @@ ?> 选择 - 需要金币 + 金币 diff --git a/src/admin/templets/archives_add.htm b/src/admin/templets/archives_add.htm index 7a9519bf..73bdca0e 100644 --- a/src/admin/templets/archives_add.htm +++ b/src/admin/templets/archives_add.htm @@ -110,7 +110,7 @@ 选择 副栏目";}?> - 需要金币 + 金币 diff --git a/src/admin/templets/archives_edit.htm b/src/admin/templets/archives_edit.htm index 81b0ae85..489fbe27 100644 --- a/src/admin/templets/archives_edit.htm +++ b/src/admin/templets/archives_edit.htm @@ -108,7 +108,7 @@ ?> 选择 - 需要金币 + 金币 diff --git a/src/admin/templets/article_add.htm b/src/admin/templets/article_add.htm index c977daa5..05529d5e 100644 --- a/src/admin/templets/article_add.htm +++ b/src/admin/templets/article_add.htm @@ -103,7 +103,7 @@ 选择 副栏目";}?> - 需要金币 + 金币 @@ -140,7 +140,7 @@ - + diff --git a/src/admin/templets/article_edit.htm b/src/admin/templets/article_edit.htm index 7c200095..e9f4ee6a 100644 --- a/src/admin/templets/article_edit.htm +++ b/src/admin/templets/article_edit.htm @@ -107,7 +107,7 @@ ?> 选择 - 需要金币 + 金币 diff --git a/src/admin/templets/catalog_add_quick.htm b/src/admin/templets/catalog_add_quick.htm index 87052d8b..e7afa2b0 100644 --- a/src/admin/templets/catalog_add_quick.htm +++ b/src/admin/templets/catalog_add_quick.htm @@ -123,7 +123,7 @@ - + @@ -133,7 +133,7 @@ - + @@ -150,7 +150,7 @@ - + @@ -159,7 +159,7 @@ - + diff --git a/src/admin/templets/diy_field_add.htm b/src/admin/templets/diy_field_add.htm index a9208792..8d557330 100644 --- a/src/admin/templets/diy_field_add.htm +++ b/src/admin/templets/diy_field_add.htm @@ -78,7 +78,7 @@ 最大长度 - (文本数据必须填写,大于255为text类型) + (文本数据必须填写,大于255为text类型) diff --git a/src/admin/templets/diy_field_edit.htm b/src/admin/templets/diy_field_edit.htm index 5e12a9a5..350efcf0 100644 --- a/src/admin/templets/diy_field_edit.htm +++ b/src/admin/templets/diy_field_edit.htm @@ -91,7 +91,7 @@ 最大长度 - (文本数据必须填写,大于255为text类型) + (文本数据必须填写,大于255为text类型) diff --git a/src/admin/templets/friendlink_add.htm b/src/admin/templets/friendlink_add.htm index 35422e21..2f662dcb 100644 --- a/src/admin/templets/friendlink_add.htm +++ b/src/admin/templets/friendlink_add.htm @@ -35,7 +35,7 @@ 排列位置 - (由小到大排列) + (由小到大排列) 网站Logo diff --git a/src/admin/templets/member_pmone.htm b/src/admin/templets/member_pmone.htm index 76e8f0ce..ae417cb3 100644 --- a/src/admin/templets/member_pmone.htm +++ b/src/admin/templets/member_pmone.htm @@ -39,7 +39,7 @@ 会员登录id - (网址uid=后面跟的id) + (网址uid=后面跟的id) 标题 diff --git a/src/admin/templets/mychannel_add.htm b/src/admin/templets/mychannel_add.htm index f0fbc14c..1d7c14a9 100644 --- a/src/admin/templets/mychannel_add.htm +++ b/src/admin/templets/mychannel_add.htm @@ -33,7 +33,7 @@ 模型id - (创建后不可修改,具有唯一性) + (创建后不可修改,具有唯一性) 模型标识 @@ -118,7 +118,7 @@ 默认栏目id - (与投稿唯一性结合可以用自定义模型) + (与投稿唯一性结合可以用自定义模型) 投稿具有唯一性 diff --git a/src/admin/templets/mychannel_edit.htm b/src/admin/templets/mychannel_edit.htm index d1bfd119..324050c4 100644 --- a/src/admin/templets/mychannel_edit.htm +++ b/src/admin/templets/mychannel_edit.htm @@ -123,7 +123,7 @@ 默认栏目id - (与投稿唯一性结合可以用自定义模型) + (与投稿唯一性结合可以用自定义模型) 投稿具有唯一性 diff --git a/src/admin/templets/mychannel_field_add.htm b/src/admin/templets/mychannel_field_add.htm index 8360381b..52be9a12 100644 --- a/src/admin/templets/mychannel_field_add.htm +++ b/src/admin/templets/mychannel_field_add.htm @@ -120,7 +120,7 @@ 最大长度 - (文本数据必须填写,大于255为text类型) + (文本数据必须填写,大于255为text类型) diff --git a/src/admin/templets/mychannel_field_edit.htm b/src/admin/templets/mychannel_field_edit.htm index a5c61d3a..74372639 100644 --- a/src/admin/templets/mychannel_field_edit.htm +++ b/src/admin/templets/mychannel_field_edit.htm @@ -132,7 +132,7 @@ 最大长度 - (文本数据必须填写,大于255为text类型) + (文本数据必须填写,大于255为text类型) diff --git a/src/admin/templets/soft_add.htm b/src/admin/templets/soft_add.htm index f46582bf..7456c9f6 100644 --- a/src/admin/templets/soft_add.htm +++ b/src/admin/templets/soft_add.htm @@ -120,7 +120,7 @@ 选择 副栏目";}?> - 需要金币 + 金币 diff --git a/src/admin/templets/soft_config.htm b/src/admin/templets/soft_config.htm index 64d0daab..458095a4 100644 --- a/src/admin/templets/soft_config.htm +++ b/src/admin/templets/soft_config.htm @@ -79,8 +79,7 @@ 下载默认金币 - - + 参数限制方式 @@ -92,9 +91,9 @@ 镜像服务器列表 - - - + + + diff --git a/src/admin/templets/soft_edit.htm b/src/admin/templets/soft_edit.htm index ce7f64dd..e624552b 100644 --- a/src/admin/templets/soft_edit.htm +++ b/src/admin/templets/soft_edit.htm @@ -118,7 +118,7 @@ ?> 选择 - 需要金币 + 金币 diff --git a/src/apps/download.php b/src/apps/download.php index e8eb7d2f..5f7282cf 100755 --- a/src/apps/download.php +++ b/src/apps/download.php @@ -169,7 +169,7 @@ else if ($open == 2) { include_once(DEDETEMPLATE.'/apps/view_msg.htm'); exit(); } - //以下为正常情况,自动扣点数,如果文档需要金币,检查会员是否浏览过本文档 + //以下为正常情况,自动扣点数,如果文档金币,检查会员是否浏览过本文档 if ($needMoney > 0 && $mid != $cfg_ml->M_ID) { $sql = "SELECT aid,money FROM `#@__member_operation` WHERE buyid='ARCHIVE".$id."' AND mid='".$cfg_ml->M_ID."'"; $row = $dsql->GetOne($sql); diff --git a/src/apps/view.php b/src/apps/view.php index 8ddcad03..025aec97 100755 --- a/src/apps/view.php +++ b/src/apps/view.php @@ -47,7 +47,7 @@ if ($needMoney > 0 || $needRank > 1) { include_once(DEDETEMPLATE.'/apps/view_msg.htm'); exit(); } - //需要金币的情况 + //金币处理 if ($needMoney > 0 && $arc->Fields['mid'] != $cfg_ml->M_ID) { $sql = "SELECT aid,money FROM `#@__member_operation` WHERE buyid='ARCHIVE".$aid."' AND mid='".$cfg_ml->M_ID."'"; $row = $dsql->GetOne($sql); @@ -82,7 +82,7 @@ if ($needMoney > 0 || $needRank > 1) { exit(); } } - } //金币处理付处理 + } } $arc->Display(); if (DEBUG_LEVEL === TRUE) { diff --git a/src/static/web/css/admin.css b/src/static/web/css/admin.css index 41a788a0..8feacb85 100644 --- a/src/static/web/css/admin.css +++ b/src/static/web/css/admin.css @@ -5,7 +5,7 @@ --blue-300:#80bdff; --success-800:#009688; --b-radius:0.5rem; - --b-radius-300:0.35rem + --b-radius-300:0.25rem } ::-webkit-scrollbar { display:none @@ -71,7 +71,7 @@ input[type=file] { input[type=button],input[type=submit],input[type=reset] { padding:0.375rem 0.75rem; height:30px; - line-height:1.5; + line-height:1.6; font-size:12px; color:var(--white); background:var(--green); @@ -188,7 +188,7 @@ input:focus,select:focus,textarea:focus { position:absolute; top:16px; left:16px; - z-index:998 + z-index:1998 } .login-from .form-icon i { font-size:18px!important; @@ -393,41 +393,20 @@ body.menu-show .body-right { top:0; right:0 } -.coolbg { - padding:0.5rem; - background:var(--white); - border-bottom:1px solid var(--gray-300); - text-align:right -} -.coolbg-box { - padding:0.5rem; - background:var(--white); - overflow-y:auto -} .colordlg { padding:0.5rem; background:var(--white); border:1px solid var(--gray-300); - z-index:10005 + z-index:19991 } .pubdlg { - z-index:8888 -} -.fullpagediv { - position:absolute; - top:0; - left:0; - width:100%; - height:100%; - background:var(--bg); - opacity:0.6; - z-index:1999 + z-index:19992 } .quicksel { padding:0.5rem; height:350px; overflow-y:auto; - z-index:10005 + z-index:19993 } .quickselitem .topcat { margin-bottom:1rem; @@ -444,7 +423,17 @@ body.menu-show .body-right { } .mysource,.mywriter { width:500px; - z-index:10001 + z-index:19994 +} +.fullpagediv { + position:absolute; + top:0; + left:0; + width:100%; + height:100%; + background:var(--bg); + opacity:0.6; + z-index:19995 } .atlas { float:left; @@ -600,14 +589,14 @@ body.menu-show .body-right { font-size:18px; color:var(--green); content:'\f058'; - z-index:9 + z-index:1991 } #file_list li .tools { display:none; position:absolute; bottom:12px; right:10px; - z-index:99 + z-index:1992 } #file_list li:hover .tools { display:block @@ -633,25 +622,25 @@ body.menu-show .body-right { width:500px; height:auto } +.browsehappy { + padding:1rem 30px; + color:var(--orange); + background:var(--yellow) +} .body-row { display:flex; flex-wrap:wrap } +.upload-bg { + margin:1rem; + background:var(--white) +} .w-65 { width:65% } .w-35 { width:35% } -.browsehappy { - padding:1rem 30px; - color:var(--orange); - background:var(--yellow) -} -.upload-box { - margin:1rem; - background:var(--white) -} .breadcrumb { padding:0; background:none @@ -681,10 +670,6 @@ body.menu-show .body-right { padding:0.5rem; vertical-align:middle } -.icon img { - width:20px; - height:20px -} .form-control { display:inline-block } @@ -692,6 +677,10 @@ body.menu-show .body-right { font-size:14px!important; color:inherit } +.icon img { + width:20px; + height:20px +} .fileinput-button { display:inline-block; position:relative; @@ -754,21 +743,39 @@ body.menu-show .body-right { height:90px } .admin-textarea-sm { - width:360px; + width:350px; height:60px } .admin-input-lg { - width:360px + width:350px } .admin-input-md { - width:260px + width:230px } .admin-input-sm { - width:160px + width:180px } .admin-input-xs { width:70px } +.btn-sm { + padding:0.375rem 0.6rem; + height:30px; + font-size:12px +} +.btn-xs { + padding:0.22rem; + height:20px; + line-height:1; + font-size:12px; + border-radius:var(--b-radius-300)!important +} +.btn+.btn { + margin-left:0.5rem +} +.shadow-sm { + box-shadow:0 .125rem 0.25rem rgba(0,0,0,.025)!important +} a:hover,body.menu-hide .body-right,body.menu-show .body-right,.sidemenu .submenu li:hover,.table-hover tbody tr:hover { transition:all 0.5s } @@ -776,13 +783,13 @@ span.page-link { color:var(--white); background:var(--green) } -input,select,textarea,.web-info,.upload-box,.colordlg,.pubdlg,.quickselitem .topcat,.mysource,.mywriter,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn,.alert,.rounded,#edsta { +input,select,textarea,.web-info,.upload-bg,.colordlg,.pubdlg,.quickselitem .topcat,.mysource,.mywriter,#edsta,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn,.alert,.rounded { border-radius:var(--b-radius)!important } -.coolbg,.cke_top { +.cke_top { border-radius:var(--b-radius) var(--b-radius) 0 0!important } -.submenu,.coolbg-box,.cke_bottom { +.submenu,.cke_bottom { border-radius:0 0 var(--b-radius) var(--b-radius)!important } .page-item:first-child .page-link { @@ -801,45 +808,27 @@ input,select,textarea,.web-info,.upload-box,.colordlg,.pubdlg,.quickselitem .top border-top-right-radius:0!important; border-bottom-right-radius:0!important } -.btn-sm { - padding:0.375rem 0.6rem; - height:30px; - font-size:12px -} -.btn-xs { - padding:0.22rem; - height:20px; - line-height:1; - font-size:12px; - border-radius:var(--b-radius-300)!important -} -.btn+.btn { - margin-left:0.5rem -} -.shadow-sm { - box-shadow:0 .125rem 0.25rem rgba(0,0,0,.025)!important -} @media (min-width:1199px) { .modal-dialog { - max-width:500px -} + max-width:500px + } } @media screen and (max-width:1199px) and (min-width:992px) { .login-box { - padding:30px -} + padding:30px + } } @media (max-width:768px) { td { - white-space:nowrap -} -.install-box,.tips-box,.w-65,.w-35,.admin-textarea-sm,.admin-input-lg,.admin-input-md,.admin-input-sm,.admin-input-xs { - width:100% -} -.tips { - padding:0 1rem -} -.login-box { - padding:30px -} + white-space:nowrap + } + .install-box,.tips-box,.w-65,.w-35,.admin-textarea-sm,.admin-input-lg,.admin-input-md,.admin-input-sm { + width:100% + } + .tips { + padding:0 1rem + } + .login-box { + padding:30px + } } \ No newline at end of file diff --git a/src/static/web/css/style.css b/src/static/web/css/style.css index 269c79f3..82c005bd 100644 --- a/src/static/web/css/style.css +++ b/src/static/web/css/style.css @@ -390,13 +390,16 @@ input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkb width:100% } .admin-input-lg { - width:60% + width:350px +} +.admin-input-md { + width:230px } .admin-input-sm { - width:160px + width:180px } .admin-input-xs { - width:60px + width:70px } a:hover,.item-theme:hover,.item-news:hover { transition:all 0.5s @@ -451,18 +454,18 @@ a:hover,.item-theme:hover,.item-news:hover { } @media (max-width:768px) { .pb-m-3 { - padding-bottom:1rem -} -.login-from { - width:100% -} -.bannr-img,.item-theme-img img,.list-article-img img { - height:250px -} -.item-news-img img { - height:210px -} -.feedbacks .feedback-action { - float:none -} + padding-bottom:1rem + } + .login-from { + width:100% + } + .bannr-img,.item-theme-img img,.list-article-img img { + height:250px + } + .item-news-img img { + height:210px + } + .feedbacks .feedback-action { + float:none + } } \ No newline at end of file diff --git a/src/system/archive/freelist.class.php b/src/system/archive/freelist.class.php index a9aa0106..a9479ad3 100755 --- a/src/system/archive/freelist.class.php +++ b/src/system/archive/freelist.class.php @@ -800,7 +800,7 @@ class FreeList * @param int $rank 阅读权限 * @param string $namerule 名称规则 * @param string $typedir 栏目dir - * @param string $money 需要金币 + * @param string $money 金币 * @param string $filename 文件名称 * @param string $moresite 多站点 * @param string $siteurl 站点地址 diff --git a/src/system/archive/taglist.class.php b/src/system/archive/taglist.class.php index 975f8bc0..044dc01b 100755 --- a/src/system/archive/taglist.class.php +++ b/src/system/archive/taglist.class.php @@ -639,7 +639,7 @@ class TagList * @param int $rank 浏览权限 * @param string $namerule 命名规则 * @param string $artdir 文档路径 - * @param int $money 需要金币 + * @param int $money 金币 * @param string $filename 文件名称 * @return string */ diff --git a/src/system/common.inc.php b/src/system/common.inc.php index 62932136..89799b7a 100755 --- a/src/system/common.inc.php +++ b/src/system/common.inc.php @@ -7,7 +7,7 @@ * @link https://www.dedebiz.com */ //系统默认运行模式为安全模式,模板管理、标签管理、数据库管理、模块管理等功能已暂停,如果您需要这些功能,DEDEBIZ_SAFE_MODE后面值`TRUE`改为`FALSE`恢复使用 -define('DEDEBIZ_SAFE_MODE', FALSE); +define('DEDEBIZ_SAFE_MODE', TRUE); //生产环境使用`production`,如果采用`dev`模式,会有一些php的报错信息提示,用于开发调试 if (!defined('DEDE_ENVIRONMENT')) { define('DEDE_ENVIRONMENT', 'production'); diff --git a/src/system/customfields.func.php b/src/system/customfields.func.php index ce0bbc2c..e0e80e81 100755 --- a/src/system/customfields.func.php +++ b/src/system/customfields.func.php @@ -113,7 +113,7 @@ function GetFormItem($ctag, $admintype = 'admin') $innertext = " "; } else if ($fieldType == 'int' || $fieldType == 'float') { $dfvalue = ($ctag->GetAtt('default') != '' ? $ctag->GetAtt('default') : '0'); - $innertext = ""; + $innertext = ""; } else if ($fieldType == 'relation') { $dfvalue = ($ctag->GetAtt('default') != '' ? $ctag->GetAtt('default') : ''); $channel = ($ctag->GetAtt('channel') == "") ? "1" : $ctag->GetAtt('channel'); @@ -380,7 +380,7 @@ function GetFormItemValue($ctag, $fvalue, $admintype = 'admin', $fieldname = '') $selectStr = ""; $innertext = " $selectStr"; } else if ($ftype == "int" || $ftype == "float") { - $innertext = ""; + $innertext = ""; } else if ($ftype == "relation") { $fname = defined('DEDEADMIN')? 'form1' : 'addcontent'; $channel = ($ctag->GetAtt('channel') == "") ? "1" : $ctag->GetAtt('channel');