Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yujianwangzivayy
MaxKey
提交
139e8f9a
MaxKey
项目概览
yujianwangzivayy
/
MaxKey
与 Fork 源项目一致
Fork自
MaxKey单点登录官方(MaxKeyTop) / MaxKey
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
MaxKey
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
139e8f9a
编写于
5月 11, 2021
作者:
M
MaxKey
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
registration fix
上级
9a29f958
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
13 addition
and
72 deletion
+13
-72
maxkey-web-manage/src/main/resources/messages/message.properties
...web-manage/src/main/resources/messages/message.properties
+1
-1
maxkey-web-manage/src/main/resources/messages/message_en.properties
...-manage/src/main/resources/messages/message_en.properties
+1
-1
maxkey-web-manage/src/main/resources/messages/message_zh_CN.properties
...nage/src/main/resources/messages/message_zh_CN.properties
+1
-1
maxkey-web-manage/src/main/resources/templates/views/layout/footer.ftl
...nage/src/main/resources/templates/views/layout/footer.ftl
+1
-1
maxkey-web-maxkey/src/main/resources/messages/message.properties
...web-maxkey/src/main/resources/messages/message.properties
+1
-1
maxkey-web-maxkey/src/main/resources/messages/message_en.properties
...-maxkey/src/main/resources/messages/message_en.properties
+1
-1
maxkey-web-maxkey/src/main/resources/messages/message_zh_CN.properties
...xkey/src/main/resources/messages/message_zh_CN.properties
+1
-1
maxkey-web-maxkey/src/main/resources/templates/views/layout/footer.ftl
...xkey/src/main/resources/templates/views/layout/footer.ftl
+1
-1
maxkey-web-maxkey/src/main/resources/templates/views/registration/register.ftl
.../main/resources/templates/views/registration/register.ftl
+5
-64
未找到文件。
maxkey-web-manage/src/main/resources/messages/message.properties
浏览文件 @
139e8f9a
...
...
@@ -6,7 +6,7 @@ global.change.language.zh=\u4e2d\u6587
global.text.welcome
=
\u
6b22
\u
8fce
\u
60a8
global.text.manage
=
\u
7ba1
\u7406
global.text.copyright
=
\u7248\u6743\u6240\u6709
global.text.copyright.content
=
Copyright
2021
global.text.copyright.content
=
Copyright
global.text.copyright.license
=
Licensed under the Apache License, Version 2.0
global.text.logout
=
\u9000\u
51fa
global.logout.tip
=
\u
6ce8
\u9500\u6210\u
529f
...
...
maxkey-web-manage/src/main/resources/messages/message_en.properties
浏览文件 @
139e8f9a
...
...
@@ -6,7 +6,7 @@ global.change.language.zh=\u4e2d\u6587
global.text.welcome
=
Welcome
global.text.manage
=
Manage
global.text.copyright
=
CopyRight
global.text.copyright.content
=
Copyright
2021
global.text.copyright.content
=
Copyright
global.text.copyright.license
=
Licensed under the Apache License, Version 2.0
global.text.logout
=
Logout
global.logout.tip
=
Logout Tip
...
...
maxkey-web-manage/src/main/resources/messages/message_zh_CN.properties
浏览文件 @
139e8f9a
...
...
@@ -6,7 +6,7 @@ global.change.language.zh=\u4e2d\u6587
global.text.welcome
=
\u
6b22
\u
8fce
\u
60a8
global.text.manage
=
\u
7ba1
\u7406
global.text.copyright
=
\u7248\u6743\u6240\u6709
global.text.copyright.content
=
Copyright
2021
global.text.copyright.content
=
Copyright
global.text.copyright.license
=
Licensed under the Apache License, Version 2.0
global.text.logout
=
\u9000\u
51fa
global.logout.tip
=
\u
6ce8
\u9500\u6210\u
529f
...
...
maxkey-web-manage/src/main/resources/templates/views/layout/footer.ftl
浏览文件 @
139e8f9a
...
...
@@ -5,7 +5,7 @@
<TR>
<TD align="center" valign="middle" class="footer ">
MaxKey <@locale code="global.application.version"/><br>
© <@locale code="global.text.copyright.content"/> <a href="https://www.maxkey.top/" target="_blank">https://www.maxkey.top/</a><br>
© <@locale code="global.text.copyright.content"/>
${.now?string["yyyy"]}
<a href="https://www.maxkey.top/" target="_blank">https://www.maxkey.top/</a><br>
<@locale code="global.text.copyright.license"/><br>
</TD>
</TR>
...
...
maxkey-web-maxkey/src/main/resources/messages/message.properties
浏览文件 @
139e8f9a
...
...
@@ -6,7 +6,7 @@ global.change.language.zh=\u4e2d\u6587
global.text.welcome
=
\u
6b22
\u
8fce
\u
60a8
global.text.manage
=
\u
7ba1
\u7406
global.text.copyright
=
\u7248\u6743\u6240\u6709
global.text.copyright.content
=
Copyright
2021
global.text.copyright.content
=
Copyright
global.text.copyright.license
=
Licensed under the Apache License, Version 2.0
global.text.logout
=
\u9000\u
51fa
global.logout.tip
=
\u
6ce8
\u9500\u6210\u
529f
...
...
maxkey-web-maxkey/src/main/resources/messages/message_en.properties
浏览文件 @
139e8f9a
...
...
@@ -6,7 +6,7 @@ global.change.language.zh=\u4e2d\u6587
global.text.welcome
=
Welcome
global.text.manage
=
Manage
global.text.copyright
=
CopyRight
global.text.copyright.content
=
Copyright
2021
global.text.copyright.content
=
Copyright
global.text.copyright.license
=
Licensed under the Apache License, Version 2.0
global.text.logout
=
Logout
global.logout.tip
=
Tip
...
...
maxkey-web-maxkey/src/main/resources/messages/message_zh_CN.properties
浏览文件 @
139e8f9a
...
...
@@ -6,7 +6,7 @@ global.change.language.zh=\u4e2d\u6587
global.text.welcome
=
\u
6b22
\u
8fce
\u
60a8
global.text.manage
=
\u
7ba1
\u7406
global.text.copyright
=
\u7248\u6743\u6240\u6709
global.text.copyright.content
=
Copyright
2021
global.text.copyright.content
=
Copyright
global.text.copyright.license
=
Licensed under the Apache License, Version 2.0
global.text.logout
=
\u9000\u
51fa
global.logout.tip
=
\u
6ce8
\u9500\u6210\u
529f
...
...
maxkey-web-maxkey/src/main/resources/templates/views/layout/footer.ftl
浏览文件 @
139e8f9a
...
...
@@ -7,7 +7,7 @@
<TR>
<TD align="center" valign="middle" class="footer ">
MaxKey <@locale code="global.application.version"/><br>
© <@locale code="global.text.copyright.content"/> <a href="https://www.maxkey.top/" target="_blank">https://www.maxkey.top/</a>
© <@locale code="global.text.copyright.content"/>
${.now?string["yyyy"]}
<a href="https://www.maxkey.top/" target="_blank">https://www.maxkey.top/</a>
<br>
<@locale code="global.text.copyright.license"/><br>
</TD>
...
...
maxkey-web-maxkey/src/main/resources/templates/views/registration/register.ftl
浏览文件 @
139e8f9a
...
...
@@ -6,71 +6,9 @@
<
#include
"../
layout
/
common.cssjs.ftl
"
>
<script
type=
"text/javascript"
>
$
(
function
(){
$
(
'
#j_captchaimg
'
).
click
(
function
()
{
//
$
(
this
).
attr
(
"
src
"
,
"
<@base />/captcha
"
);
});
$
(
'
#btn_save
'
).
on
(
'
click
'
,
function
(){
if
(
$
(
'
#emailMobile
'
).
val
()
==
''
){
alert
(
'
<@locale code="forgotpassword.emailmobile"/>
'
+
'
: empty
'
);
return
false
;
}
if
(
$
(
'
#username
'
).
val
()
==
''
){
alert
(
'
<@locale code="userinfo.username"/>
'
+
'
: empty
'
);
return
false
;
}
if
(
$
(
'
#displayName
'
).
val
()
==
''
){
alert
(
'
<@locale code="userinfo.displayName"/>
'
+
'
: empty
'
);
return
false
;
}
if
(
$
(
'
#password
'
).
val
()
==
''
){
alert
(
'
<@locale code="login.text.password"/>
'
+
'
: empty
'
);
return
false
;
}
if
(
$
(
'
#confirmpassword
'
).
val
()
==
''
){
alert
(
'
<@locale code="login.password.confirmPassword"/>
'
+
'
: empty
'
);
return
false
;
}
if
(
$
(
'
#password
'
).
val
()
!=
$
(
'
#confirmpassword
'
).
val
()){
alert
(
'
<@locale code="login.password.confirmPassword"/>
'
+
'
、
'
+
'
<@locale code="login.text.password"/>
'
+
'
: error
'
);
return
false
;
}
formSubmit
();
})
function
formSubmit
(){
var
uname
=
$
(
'
#username
'
).
val
();
var
pwd
=
$
(
'
#password
'
).
val
();
var
eMobile
=
$
(
'
#emailMobile
'
).
val
();
var
dName
=
$
(
'
#displayName
'
).
val
();
$
.
ajax
({
type
:
"
POST
"
,
url
:
"
<@base/>/registeron
"
,
data
:{
username
:
uname
,
password
:
pwd
,
emailMobile
:
eMobile
,
displayName
:
dName
},
success
:
function
(
data
){
if
(
data
.
code
==
'
0
'
){
alert
(
data
.
message
);
window
.
location
.
href
=
"
<@base/>/login
"
;
}
else
{
alert
(
data
.
message
);
}
},
error
:
function
(
jqXHR
){
alert
(
"
error:
"
+
jqXHR
.
status
);
}
});
}
});
</script>
</head>
...
...
@@ -82,7 +20,10 @@ $(function(){
<div
class=
"row"
>
<div
class=
"col-md-2"
></div>
<div
class=
"col-md-8"
>
<form
action=
"<@base/>/registration/registeron"
method=
"post"
class=
"needs-validation"
novalidate
>
<form
id=
"actionForm"
action=
"<@base/>/registration/registeron"
forward=
"<@base/>/login"
method=
"post"
class=
"needs-validation"
novalidate
>
<table
class=
"table table-bordered"
>
<tr>
<td><
@
locale
code=
"forgotpassword.emailmobile"
/></td>
...
...
@@ -110,7 +51,7 @@ $(function(){
<td><input
required=
""
class=
"form-control"
type=
'password'
id=
"confirmpassword"
name=
"confirmpassword"
tabindex=
"2"
value=
""
/></td>
</tr>
<tr>
<td
colspan=
"2"
><input
id=
"btn_save"
class=
"button btn btn-lg btn-primary btn-block"
type=
"button
"
value=
"<@locale code="
login.text.register
"
/>
"/>
</td>
<td
colspan=
"2"
><input
class=
"button btn btn-lg btn-primary btn-block"
type=
"submit
"
value=
"<@locale code="
login.text.register
"
/>
"/>
</td>
</tr>
</table>
</form>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录