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

This commit is contained in:
小胡
2023-01-16 12:40:42 +08:00
Unverified
parent afc94c2152
commit 0cfb087f02
20 changed files with 20 additions and 14 deletions

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.67');
define('CORE_XHVERSION', '1.68');
define('CORE_XHRELEASE', '20220125');
define('CORE_XHFIXBUG' , '20220125');
}

View File

@@ -109,16 +109,16 @@
<!--{if $url_forward}-->
<!--{if !$param[redirectmsg]}-->
<button class="btn-jump btn btn-primary" onclick="location.href='$url_forward';return false;" >立即跳转(<span class="num">3</span>s</button>
<button class="btn-jump btn btn-primary" onclick="location.href='$_G['siteurl']';return false;" >首页 $_G[setting][sitename]</button>
<button class="btn-jump btn btn-primary" onclick="location.href='$_G['siteurl']';return false;" >首页</button>
<!--{else}-->
<button class="btn-jump btn btn-primary" onclick="location.href='$url_forward';return false;">{lang return_to_the_naxt_level}<span class="num">3</span>s</button>
<!--{/if}-->
<!--{elseif $allowreturn}-->
<script type="text/javascript">
if(history.length > (BROWSER.ie ? 0 : 1)) {
document.write('<a class="btn-jump btn btn-primary" href="javascript:history.back()">{lang message_go_back}</a>');
document.write('<a class="btn-jump btn btn-primary" href="javascript:history.back()">返回</a>');
} else {
document.write('<a class="btn-jump btn btn-primary" href="$_G['siteurl']">[ $_G['setting']['bbname'] {lang homepage} ]</a>');
document.write('<a class="btn-jump btn btn-primary" href="$_G['siteurl']">首页</a>');
}
</script>

View File

@@ -1192,6 +1192,15 @@ CREATE TABLE dzz_user_profile (
PRIMARY KEY (uid,fieldid)
) ENGINE=MyISAM;
DROP TABLE IF EXISTS `dzz_user_qqconnect`;
CREATE TABLE `dzz_user_qqconnect` (
`openid` varchar(255) NOT NULL COMMENT 'Openid',
`uid` int(10) unsigned NOT NULL COMMENT '对应UID',
`dateline` int(10) NOT NULL DEFAULT '0' COMMENT '创建时间',
`unbind` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`openid`(20)),
KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS dzz_user_profile_setting;
CREATE TABLE dzz_user_profile_setting (

View File

@@ -165,7 +165,7 @@ $lang=array (
'unbind'=>'未绑定',
'bind'=>'绑定',
'update_password_success'=>'更改密码成功!',
'bindemail_subject'=>'定邮箱',
'bindemail_subject'=>'定邮箱',
'qq_quick_login'=>'恭喜您{username}QQ快捷登录绑定成功',
'registe_failed'=>'注册失败',
'perform_security_verification'=>'进行安全验证',

View File

@@ -73,7 +73,7 @@
<span class="third-login-header">{lang other_login}</span>
<a class="pull-right" href="admin.php">管理员登录</a>
<!--{if $_G['setting']['qq_login']>0}-->
<a class="qqlogin" style="margin:0 5px" href="user.php?mod=login&op=qqlogin" title="{lang qq_login}">
<a class="qqlogin" style="margin:0 5px" href="user.php?mod=qqlogin" title="{lang qq_login}">
<img src="user/images/qq.png" height="24" />
</a>
<!--{/if}-->

View File

@@ -76,7 +76,7 @@
<span class="third-login-header">{lang other_login}</span>
<a class="pull-right" href="admin.php">管理员登录</a>
<!--{if $_G['setting']['qq_login']>0}-->
<a class="qqlogin" style="margin:0 5px" href="user.php?mod=login&op=qqlogin" title="{lang qq_login}">
<a class="qqlogin" style="margin:0 5px" href="user.php?mod=qqlogin" title="{lang qq_login}">
<img src="user/images/qq.png" height="24" />
</a>
<!--{/if}-->

View File

@@ -62,7 +62,7 @@
<span class="third-login-header">{lang other_login}</span>
<a class="pull-right" href="admin.php">管理员登录</a>
<!--{if $_G['setting']['qq_login']>0}-->
<a class="qqlogin" style="margin:0 5px" href="user.php?mod=login&op=qqlogin" title="{lang qq_login}">
<a class="qqlogin" style="margin:0 5px" href="user.php?mod=qqlogin" title="{lang qq_login}">
<img src="user/images/qq.png" height="24" />
</a>
<!--{/if}-->

View File

@@ -21,7 +21,7 @@ $space = C::t('user_profile')->get_userprofile_by_uid($uid);//用户资料信息
$userstatus = C::t('user_status')->fetch($uid);//用户状态
$scdlsj=dgmdate($userstatus['lastvisit']);
$zcsj=dgmdate($space['regdate']);
//$qqlogin = DB::fetch_first("select openid,unbind from %t where uid=%d", array('user_qqconnect', $uid));
$qqlogin = DB::fetch_first("select openid,unbind from %t where uid=%d", array('user_qqconnect', $uid));
//读取缓存
loadcache('profilesetting');

View File

@@ -140,7 +140,7 @@ elseif ($do == 'bindqq'){//绑定qq
showTips(array('lang'=>lang('qq_login_closed'),'referer'=>$_G['siteurl']),'html');
}
require_once DZZ_ROOT."./user/login/api_qqlogin/qqConnectAPI.php";
require_once DZZ_ROOT."./user/api_qqlogin/qqConnectAPI.php";
$inurl = $_SERVER["HTTP_REFERER"]; //来路

View File

@@ -3,9 +3,6 @@
<script type="text/javascript" src="static/js/jquery.leftDrager.js?{VERHASH}"></script>
<script type="text/javascript" src="static/js/jquery.textareaexplander.js?{VERHASH}"></script>
<style>
.bs-left-container{
width:150px;
}
.bs-main-container{
margin-left:120px;
overflow:auto;

View File

@@ -3,7 +3,7 @@ if (!defined('IN_DZZ')) {
exit('Access Denied');
}
define('NOROBOT', TRUE);
require_once DZZ_ROOT . "./user/login/api_qqlogin/qqConnectAPI.php";
require_once DZZ_ROOT . "./user/api_qqlogin/qqConnectAPI.php";
if (!in_array($_GET['type'], array('login', 'callback', 'newuser', 'olduser'))) {
$_GET['type'] = 'login';
}