更新至V1.72,更新内容在笔记中查看

This commit is contained in:
小胡
2023-01-31 16:43:25 +08:00
Unverified
parent d05598c2bd
commit 6bfb17dbfd
14 changed files with 30 additions and 24 deletions

View File

@@ -305,8 +305,7 @@ span.num {
/*margin:0 5px;*/
}
.checkbox-custom{
margin-bottom:0;
margin-top:0;
margin-bottom:0;
}

View File

@@ -118,11 +118,11 @@
<div class="bs-main-container">
<div class="all-center-top clearfix">
<div class="pull-left">
<div class="checkbox-custom checkbox-primary" style="margin-top: .6em;">
<input type="checkbox" name="chkall" id="chkall" >
<label></label>
</div>
</div>
<div class="checkbox-custom checkbox-primary">
<input type="checkbox" name="chkall" id="chkall" >
<label></label>
</div>
</div>
<div class="app-info pull-left">
<a href="{BASESCRIPT}?mod=appmarket">{lang total}<span class="num">$count</span>{lang ge}{lang app}</a>

View File

@@ -30,6 +30,7 @@ $lang = array
'Forbidden time'=>'Forbidden time',
'How many login failures are allowed before you can log in again'=>'How many login failures are allowed before you can log in again',
'sec'=>'sec',
'Visitor login display'=>'Visitor login display',
'If the mail server is not configured, do not enable it. Otherwise, the system stalls'=>'If the mail server is not configured, do not enable it. Otherwise, the system stalls',
'Notification Whether to notify by email'=>'Notification Whether to notify by email',
'Independent login page login template; Parameters will be synchronized to login (including administrator login), registration, password retrieval, and home application.'=>'Independent login page login template; Parameters will be synchronized to login (including administrator login), registration, password retrieval, and home application.',

View File

@@ -30,6 +30,7 @@ $lang = array
'Forbidden time'=>'禁止时间',
'How many login failures are allowed before you can log in again'=>'允许登录失败多少后才可再次登录',
'sec'=>'秒',
'Visitor login display'=>'游客登录',
'If the mail server is not configured, do not enable it. Otherwise, the system stalls'=>'sec',
'Notification Whether to notify by email'=>'如果未配置邮件服务器,请不要启用,以免造成系统卡顿。',
'Independent login page login template; Parameters will be synchronized to login (including administrator login), registration, password retrieval, and home application.'=>'独立登录页登录模板;参数会同步到登录(含管理员登录)、注册、找回密码、首页应用。',

View File

@@ -514,7 +514,7 @@
<dd class="clearfix"><span class="help-inline">{lang for_color_set}设置图片和颜色会同步到首页背景设置</span></dd>
</dl>
<dl>
<dt>{lang Visitor login option}</dt>
<dt>{lang Visitor login display}</dt>
<dd class="clearfix">
<label class="radio-inline"><input type="radio" name="settingnew[loginset][youkedenlu]" <!--{if $setting[loginset][youkedenlu]=='1'}-->checked="checked"<!--{/if}--> value="1">{lang show}</label>
<label class="radio-inline"> <input type="radio" name="settingnew[loginset][youkedenlu]" <!--{if $setting[loginset][youkedenlu]=='0'}-->checked="checked"<!--{/if}--> value="0">{lang no_show}</label>

View File

@@ -588,22 +588,22 @@ class dzz_app extends dzz_base{
}
}
if($appidxu=C::t('app_market')->fetch_by_identifier(CURMODULE)){
if(!$this->var['member']['adminid']){
if($appidxu['available']==0){
if($this->var['member']['adminid']){
}elseif($appidxu['available']==0){
showmessage(lang('您无权使用该应用,请联系管理员。'));
}elseif($this->var['member']['uid']){
$appuid= C::t('user_field')->fetch($this->var['member']['uid']);
}elseif ($appidxu['group']==0){
}elseif ($appidxu['group']==-1){
if ($this->var['member']['uid']){
showmessage(lang('您无权使用该应用,请联系管理员。'));
}
}else{
$appuid= C::t('user_field')->fetch($this->var['member']['uid']);
$appuidz=explode(',',$appuid['applist']);
if (in_array($appidxu['appid'],$appuidz)){
}else{
showmessage(lang('您无权使用该应用,请联系管理员。'));
}
}elseif ($appidxu['group']==-1){
if ($this->var['member']['uid']){
showmessage(lang('您无权使用该应用,请联系管理员。'));
}
}
}
}
}
if(isset($this->var['setting']['nocacheheaders']) && $this->var['setting']['nocacheheaders']) {
@header("Expires: -1");

View File

@@ -20,7 +20,6 @@ class perm_check{
}
return $perm;
}
function getPerm($fid, $bz='',$i=0){
global $_G;
if(isset($_G['gperm'])) return intval($_G['gperm']);//可以通过这个参数直接使用此权限值不去查询权限

View File

@@ -519,6 +519,7 @@ class table_folder extends dzz_table
$where1 = array();
if (!$this->noperm && $folder['gid'] > 0) {
$folder['perm'] = perm_check::getPerm($folder['fid']);
if ($folder['perm'] > 0) {
if (perm_binPerm::havePower('read2', $folder['perm'])) {
$where1[] = "1";

View File

@@ -126,7 +126,7 @@ class table_resources_statis extends dzz_table
$uid = getglobal('uid');
$data = array();
$param = array($this->_table,$uid);
$wheresql = " where uid = %d and fid = 0 and rid != '' ";
$wheresql = " where uid = $uid and fid = 0 and rid != '' ";
$orderby = ' order by edits desc,views desc,editdateline desc,opendateline desc';
$limitsql = ' limit '.$limit;

View File

@@ -14,7 +14,7 @@ if(!defined('CORE_VERSION')) {
define('CORE_VERSION', '2.02');
define('CORE_RELEASE', '20180909');
define('CORE_FIXBUG' , '20000000');
define('CORE_XHVERSION', '1.71');
define('CORE_XHRELEASE', '20230124');
define('CORE_XHFIXBUG' , '20230124');
define('CORE_XHVERSION', '1.72');
define('CORE_XHRELEASE', '20230131');
define('CORE_XHFIXBUG' , '20230131');
}

BIN
dzz/images/extimg/docxf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

View File

@@ -84,6 +84,7 @@
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
align-items: center;
}
.resNav .resNav-left{

View File

@@ -2,11 +2,15 @@
/*滚动条美化*/
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar
{
width:6px;
height: 5px;
}
::-webkit-scrollbar:hover
{
width:10px;
height: 5px;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track
{