Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo
Commits
d96ecc2f
Commit
d96ecc2f
authored
Aug 30, 2012
by
Liang Ding
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0.5.5' of
https://github.com/b3log/b3log-solo
into 0.5.5
parents
5190acce
85f237c9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
20 deletions
+10
-20
war/src/main/webapp/admin-label.ftl
war/src/main/webapp/admin-label.ftl
+2
-2
war/src/main/webapp/js/admin/admin.js
war/src/main/webapp/js/admin/admin.js
+2
-10
war/src/main/webapp/js/admin/userList.js
war/src/main/webapp/js/admin/userList.js
+4
-4
war/src/main/webapp/skins/mobile/lang/lang_en_US.properties
war/src/main/webapp/skins/mobile/lang/lang_en_US.properties
+1
-2
war/src/main/webapp/skins/mobile/lang/lang_zh_CN.properties
war/src/main/webapp/skins/mobile/lang/lang_zh_CN.properties
+1
-2
No files found.
war/src/main/webapp/admin-label.ftl
View file @
d96ecc2f
...
@@ -56,7 +56,6 @@
...
@@ -56,7 +56,6 @@
"commentEmailLabel": "${commentEmailLabel}",
"commentEmailLabel": "${commentEmailLabel}",
"administratorLabel": "${administratorLabel}",
"administratorLabel": "${administratorLabel}",
"duplicatedEmailLabel": "${duplicatedEmailLabel}",
"duplicatedEmailLabel": "${duplicatedEmailLabel}",
"nameEmptyLabel": "${nameEmptyLabel}",
"mailInvalidLabel": "${mailInvalidLabel}",
"mailInvalidLabel": "${mailInvalidLabel}",
"mailCannotEmptyLabel": "${mailCannotEmptyLabel}",
"mailCannotEmptyLabel": "${mailCannotEmptyLabel}",
"noSettingLabel": "${noSettingLabel}",
"noSettingLabel": "${noSettingLabel}",
...
@@ -109,7 +108,8 @@
...
@@ -109,7 +108,8 @@
"windowSizeLabel": "${windowSizeLabel}",
"windowSizeLabel": "${windowSizeLabel}",
"randomArticlesDisplayCntLabel": "${randomArticlesDisplayCntLabel}",
"randomArticlesDisplayCntLabel": "${randomArticlesDisplayCntLabel}",
"relevantArticlesDisplayCntLabel": "${relevantArticlesDisplayCntLabel}",
"relevantArticlesDisplayCntLabel": "${relevantArticlesDisplayCntLabel}",
"externalRelevantArticlesDisplayCntLabel": "${externalRelevantArticlesDisplayCntLabel}"
"externalRelevantArticlesDisplayCntLabel": "${externalRelevantArticlesDisplayCntLabel}",
"nameTooLongLabel": "${nameTooLongLabel}"
};
};
admin.init();
admin.init();
...
...
war/src/main/webapp/js/admin/admin.js
View file @
d96ecc2f
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
* index for admin
* index for admin
*
*
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @version 1.0.
1.9, Jun 19
, 2012
* @version 1.0.
2.0, Aug 30
, 2012
*/
*/
var
Admin
=
function
()
{
var
Admin
=
function
()
{
...
@@ -27,7 +27,7 @@ var Admin = function () {
...
@@ -27,7 +27,7 @@ var Admin = function () {
'
#user-list
'
,
'
#plugin-list
'
,
'
#others
'
];
'
#user-list
'
,
'
#plugin-list
'
,
'
#others
'
];
// 多用户时,一般用户不能使用的功能
// 多用户时,一般用户不能使用的功能
this
.
adTools
=
[
'
link-list
'
,
'
preference
'
,
'
file-list
'
,
'
page-list
'
,
this
.
adTools
=
[
'
link-list
'
,
'
preference
'
,
'
file-list
'
,
'
page-list
'
,
'
user-list
'
,
'
plugin-list
'
];
'
user-list
'
,
'
plugin-list
'
,
'
others
'
];
};
};
$
.
extend
(
Admin
.
prototype
,
{
$
.
extend
(
Admin
.
prototype
,
{
...
@@ -221,13 +221,6 @@ $.extend(Admin.prototype, {
...
@@ -221,13 +221,6 @@ $.extend(Admin.prototype, {
$
(
it
).
find
(
"
.ico-arrow-up
"
)[
0
].
className
=
"
ico-arrow-down
"
;
$
(
it
).
find
(
"
.ico-arrow-up
"
)[
0
].
className
=
"
ico-arrow-down
"
;
}
}
});
});
/*if (subNav.className === "none") {
$(it).find(".ico-arrow-down")[0].className = "ico-arrow-up";
subNav.className = "collapsed";
} else {
$(it).find(".ico-arrow-up")[0].className = "ico-arrow-down";
subNav.className = "none";
}*/
},
},
/*
/*
...
@@ -239,7 +232,6 @@ $.extend(Admin.prototype, {
...
@@ -239,7 +232,6 @@ $.extend(Admin.prototype, {
for
(
var
i
=
0
;
i
<
this
.
adTools
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
this
.
adTools
.
length
;
i
++
)
{
$
(
"
#tabs
"
).
tabs
(
"
remove
"
,
this
.
adTools
[
i
]);
$
(
"
#tabs
"
).
tabs
(
"
remove
"
,
this
.
adTools
[
i
]);
}
}
$
(
"
#tabs>ul>li
"
).
last
().
remove
();
}
else
{
}
else
{
// 当前 tab 属于 Tools 时,设其展开
// 当前 tab 属于 Tools 时,设其展开
for
(
var
j
=
0
;
j
<
this
.
tools
.
length
;
j
++
)
{
for
(
var
j
=
0
;
j
<
this
.
tools
.
length
;
j
++
)
{
...
...
war/src/main/webapp/js/admin/userList.js
View file @
d96ecc2f
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
*
*
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @version 1.0.1.
2, May 3
, 2012
* @version 1.0.1.
3, Aug 30
, 2012
*/
*/
/* user-list 相关操作 */
/* user-list 相关操作 */
...
@@ -289,9 +289,9 @@ admin.userList = {
...
@@ -289,9 +289,9 @@ admin.userList = {
if
(
!
status
)
{
if
(
!
status
)
{
status
=
""
;
status
=
""
;
}
}
var
userName
=
$
(
"
#userName
"
+
status
).
val
().
replace
(
/
(
^
\s
*
)
|
(\s
*$
)
/g
,
""
);
if
(
$
(
"
#userName
"
+
status
).
val
().
replace
(
/
\s
/g
,
""
)
===
""
)
{
if
(
2
>
userName
.
length
||
userName
.
length
>
20
)
{
$
(
"
#tipMsg
"
).
text
(
Label
.
name
Empty
Label
);
$
(
"
#tipMsg
"
).
text
(
Label
.
name
TooLong
Label
);
$
(
"
#userName
"
+
status
).
focus
();
$
(
"
#userName
"
+
status
).
focus
();
}
else
if
(
$
(
"
#userEmail
"
+
status
).
val
().
replace
(
/
\s
/g
,
""
)
===
""
)
{
}
else
if
(
$
(
"
#userEmail
"
+
status
).
val
().
replace
(
/
\s
/g
,
""
)
===
""
)
{
$
(
"
#tipMsg
"
).
text
(
Label
.
mailCannotEmptyLabel
);
$
(
"
#tipMsg
"
).
text
(
Label
.
mailCannotEmptyLabel
);
...
...
war/src/main/webapp/skins/mobile/lang/lang_en_US.properties
View file @
d96ecc2f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#
#
# Description: Mobile skin language configurations(en_US).
# Description: Mobile skin language configurations(en_US).
# Version: 1.0.0.
2, Feb 25
, 2012
# Version: 1.0.0.
3, Aug 30
, 2012
# Author: Liang Ding
# Author: Liang Ding
# Author: Liyuan Li
# Author: Liyuan Li
#
#
...
@@ -246,7 +246,6 @@ noCommentLabel=No Comment
...
@@ -246,7 +246,6 @@ noCommentLabel=No Comment
captchaErrorLabel
=
Captcha Error
captchaErrorLabel
=
Captcha Error
inputErrorLabel
=
Input Error!
inputErrorLabel
=
Input Error!
gotoLabel
=
Go
gotoLabel
=
Go
nameEmptyLabel
=
Username is empty
passwordEmptyLabel
=
Password is empty
passwordEmptyLabel
=
Password is empty
blogEmptyLabel
=
Blogging service is empty
blogEmptyLabel
=
Blogging service is empty
blogArticleEmptyLabel
=
Please select articles
blogArticleEmptyLabel
=
Please select articles
...
...
war/src/main/webapp/skins/mobile/lang/lang_zh_CN.properties
View file @
d96ecc2f
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#
#
# Description: Mobile skin language configurations(zh_CN).
# Description: Mobile skin language configurations(zh_CN).
# Version: 1.0.0.
2, Feb 25
, 2012
# Version: 1.0.0.
3, Aug 30
, 2012
# Author: Liang Ding
# Author: Liang Ding
# Author: Liyuan Li
# Author: Liyuan Li
#
#
...
@@ -252,7 +252,6 @@ noCommentLabel=\u6682\u65e0\u8bc4\u8bba
...
@@ -252,7 +252,6 @@ noCommentLabel=\u6682\u65e0\u8bc4\u8bba
captchaErrorLabel
=
\u
9a8c
\u
8bc1
\u7801\u9519\u
8bef
captchaErrorLabel
=
\u
9a8c
\u
8bc1
\u7801\u9519\u
8bef
inputErrorLabel
=
\u
8f93
\u5165\u9519\u
8bef
\u
ff01
inputErrorLabel
=
\u
8f93
\u5165\u9519\u
8bef
\u
ff01
gotoLabel
=
\u
8df3
\u
8f6c
gotoLabel
=
\u
8df3
\u
8f6c
nameEmptyLabel
=
\u
59d3
\u
540d
\u
4e0d
\u
80fd
\u
4e3a
\u
7a7a
\u
ff01
passwordEmptyLabel
=
\u
5bc6
\u7801\u
4e0d
\u
80fd
\u
4e3a
\u
7a7a
\u
ff01
passwordEmptyLabel
=
\u
5bc6
\u7801\u
4e0d
\u
80fd
\u
4e3a
\u
7a7a
\u
ff01
blogEmptyLabel
=
\u
8bf7
\u9009\u
62e9
\u
535a
\u
5ba2
\u
670d
\u
52a1
\u
ff01
blogEmptyLabel
=
\u
8bf7
\u9009\u
62e9
\u
535a
\u
5ba2
\u
670d
\u
52a1
\u
ff01
blogArticleEmptyLabel
=
\u
8bf7
\u9009\u
62e9
\u9700\u8981\u
5bfc
\u5165\u7684\u6587\u
7ae0
blogArticleEmptyLabel
=
\u
8bf7
\u9009\u
62e9
\u9700\u8981\u
5bfc
\u5165\u7684\u6587\u
7ae0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment