Commit eb965c4c authored by Vanessa's avatar Vanessa

default-init 样式

parent 67d9c477
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
# #
# Description: B3log Solo language configurations(en_US). # Description: B3log Solo language configurations(en_US).
# Version: 2.1.0.5, Mar 11, 2013 # Version: 2.1.0.6, Apr 1, 2013
# Author: Liang Ding # Author: Liang Ding
# Author: Liyuan Li # Author: Liyuan Li
# Author: Dongxu Wang # Author: Dongxu Wang
...@@ -56,7 +56,7 @@ aboutContentLabel=<p><a href="https://github.com/b3log/b3log-solo" target="_blan ...@@ -56,7 +56,7 @@ aboutContentLabel=<p><a href="https://github.com/b3log/b3log-solo" target="_blan
is an open source (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">Apache License 2.0</a>) blogging program, which can run on <a href="http://code.google.com/appengine" target="_blank">Google App Engine</a> and a standard Servlet container.</p>\ is an open source (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">Apache License 2.0</a>) blogging program, which can run on <a href="http://code.google.com/appengine" target="_blank">Google App Engine</a> and a standard Servlet container.</p>\
<p><a href="http://b3log.org" target="_blank">B3log</a> advocates the rights of equality, freedom and passion, and we are trying to create a bran-new experience about individual blogging + community. Sound interesting? <a href="https://github.com/b3log/b3log-solo/wiki/Join_us" target="_blank">Join us</a>!</p>\ <p><a href="http://b3log.org" target="_blank">B3log</a> advocates the rights of equality, freedom and passion, and we are trying to create a bran-new experience about individual blogging + community. Sound interesting? <a href="https://github.com/b3log/b3log-solo/wiki/Join_us" target="_blank">Join us</a>!</p>\
<a target="blank" href="http://me.alipay.com/b3log">\ <a target="blank" href="http://me.alipay.com/b3log">\
<div class="ico-alipay-me" alt="Alipay B3log" title="\u901A\u8FC7\u652F\u4ED8\u5B9D\u6536\u6B3E\u4E3B\u9875\u8FDB\u884C\u6350\u8D60"></div></a> <div class="ico-alipay-me" alt="Alipay B3log" title="\u901a\u8fc7\u652f\u4ed8\u5b9d\u6536\u6b3e\u4e3b\u9875\u8fdb\u884c\u6350\u8d60"></div></a>
confirmLabel=Confirm confirmLabel=Confirm
adminConsoleLabel=Admin adminConsoleLabel=Admin
adminIndexLabel=Admin Index adminIndexLabel=Admin Index
...@@ -192,6 +192,7 @@ blogArticleImportLabel=Article Import ...@@ -192,6 +192,7 @@ blogArticleImportLabel=Article Import
userName1Label=Username: userName1Label=Username:
userLabel=User userLabel=User
userPassword1Label=Password: userPassword1Label=Password:
userPasswordLabel=Password
categoryLabel=Category categoryLabel=Category
noticeBoard1Label=Notice Board: noticeBoard1Label=Notice Board:
noticeBoardLabel=Notice Board noticeBoardLabel=Notice Board
...@@ -264,9 +265,9 @@ Welcome to the <a href="http://symphony.b3log.org" target="_blank">B3log Symphon ...@@ -264,9 +265,9 @@ Welcome to the <a href="http://symphony.b3log.org" target="_blank">B3log Symphon
<span style="font-size:12px"><span style="color:red">Note</span>: Only to ensure Email is the same and <a href="/article/1353772377257" target="_blank">synchronization configured</a> is correctly,\ <span style="font-size:12px"><span style="color:red">Note</span>: Only to ensure Email is the same and <a href="/article/1353772377257" target="_blank">synchronization configured</a> is correctly,\
Your posts and comments can <i>maintain bisynchronous</i> in the community and the B3log Solo.</p> Your posts and comments can <i>maintain bisynchronous</i> in the community and the B3log Solo.</p>
killBrowserLabel=<h2>Let's kill outdated and insecure browser!</h2><p>Let's kill outdated and insecure browser for browser evolution, human progress and better experience.</p><p>You can download</p><ul><li><a href="http://www.mozilla.com/" target="_blank">Firefox</a></li><li><a href="http://www.google.com/chrome" target="_blank">Chrome</a></li><li><a href="http://windows.microsoft.com/en-US/internet-explorer/downloads/ie" target="_blank">IE8 / IE9</a></li><li><a href="http://www.maxthon.com/" target="_blank">Maxthon</a> and <a href="http://www.google.com" target="_blank">so on</a>.</li></ul><span style="font-size: 10px">Tip: Remove "Util.killIE();" in /js/common.js can support all browser.</span> killBrowserLabel=<h2>Let's kill outdated and insecure browser!</h2><p>Let's kill outdated and insecure browser for browser evolution, human progress and better experience.</p><p>You can download</p><ul><li><a href="http://www.mozilla.com/" target="_blank">Firefox</a></li><li><a href="http://www.google.com/chrome" target="_blank">Chrome</a></li><li><a href="http://windows.microsoft.com/en-US/internet-explorer/downloads/ie" target="_blank">IE8 / IE9</a></li><li><a href="http://www.maxthon.com/" target="_blank">Maxthon</a> and <a href="http://www.google.com" target="_blank">so on</a>.</li></ul><span style="font-size: 10px">Tip: Remove "Util.killIE();" in /js/common.js can support all browser.</span>
readmoreLabel=Read more\u00BB readmoreLabel=Read more\u00bb
readmore2Label=Read more readmore2Label=Read more
replyLabel=Reply\u00BB replyLabel=Reply\u00bb
homeLabel=Home homeLabel=Home
enableArticleUpdateHint1Label=Enable Article Update Hint: enableArticleUpdateHint1Label=Enable Article Update Hint:
allowVisitDraftViaPermalink1Label=Allow Visit Draft Via Link: allowVisitDraftViaPermalink1Label=Allow Visit Draft Via Link:
...@@ -347,8 +348,8 @@ duplicatedPermalinkLabel=Duplicated permalink! ...@@ -347,8 +348,8 @@ duplicatedPermalinkLabel=Duplicated permalink!
invalidPermalinkFormatLabel=Invalid permalink format! invalidPermalinkFormatLabel=Invalid permalink format!
duplicatedEmailLabel=Duplicated email! duplicatedEmailLabel=Duplicated email!
refreshAndRetryLabel=Please refresh and try again! refreshAndRetryLabel=Please refresh and try again!
editorLeaveLabel=Content is not null, Do you leave\uFF1F editorLeaveLabel=Content is not null, Do you leave\uff1f
editorPostLabel=Content is not null, Do you clear\uFF1F editorPostLabel=Content is not null, Do you clear\uff1f
#### ####
confirmRemoveLabel=Are You Remove confirmRemoveLabel=Are You Remove
confirmInitLabel=Are You Sure? confirmInitLabel=Are You Sure?
......
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>${articleViewPwdLabel}</title> <title>${articleViewPwdLabel}</title>
<meta name="keywords" content="GAE 博客,GAE blog,b3log" /> <meta name="keywords" content="GAE 博客,GAE blog,b3log" />
<meta name="description" content="An open source blog based on GAE Java,GAE Java 开源博客" /> <meta name="description" content="An open source blog based on GAE Java,GAE Java 开源博客" />
<meta name="author" content="B3log Team" /> <meta name="owner" content="B3log Team" />
<meta name="generator" content="B3log" /> <meta name="author" content="B3log Team" />
<meta name="copyright" content="B3log" /> <meta name="generator" content="B3log Solo" />
<meta name="revised" content="B3log, ${year}" /> <meta name="copyright" content="B3log" />
<meta name="robots" content="noindex, follow" /> <meta name="revised" content="B3log, ${year}" />
<meta http-equiv="Window-target" content="_top" /> <meta name="robots" content="noindex, follow" />
<link type="text/css" rel="stylesheet" href="${staticServePath}/css/default-init${miniPostfix}.css?${staticResourceVersion}" charset="utf-8" /> <meta http-equiv="Window-target" content="_top" />
<link rel="icon" type="image/png" href="${staticServePath}/favicon.png" /> <link type="text/css" rel="stylesheet" href="${staticServePath}/css/default-init${miniPostfix}.css?${staticResourceVersion}" charset="utf-8" />
<script type="text/javascript" src="${staticServePath}/js/lib/jquery/jquery.min.js" charset="utf-8"></script> <link rel="icon" type="image/png" href="${staticServePath}/favicon.png" />
</head> <script type="text/javascript" src="${staticServePath}/js/lib/jquery/jquery.min.js" charset="utf-8"></script>
<body> </head>
<div class="wrapper"> <body>
<div class="wrap"> <div class="wrapper">
<div class="content"> <div class="wrap">
<div class="logo"> <div class="content">
<a href="http://b3log.org" target="_blank"> <div class="logo">
<img border="0" width="153" height="56" alt="B3log" title="B3log" src="${staticServePath}/images/logo.jpg"/> <a href="http://b3log.org" target="_blank">
</a> <img border="0" width="153" height="56" alt="B3log" title="B3log" src="${staticServePath}/images/logo.jpg"/>
</div> </a>
<div class="main article-pwd"> </div>
<h2> <div class="main article-pwd">
${articleTitle} <h2>
</h2> ${articleTitle}
<div> </h2>
${articleAbstract} <div>
</div> ${articleAbstract}
<#if msg??> </div>
<div>${msg}</div> <#if msg??>
</#if> <div>${msg}</div>
<form method="POST" action="${servePath}/console/article-pwd"> </#if>
<label for="pwdTyped">访问密码:</label> <form method="POST" action="${servePath}/console/article-pwd">
<input type="password" id="pwdTyped" name="pwdTyped" /> <label for="pwdTyped">访问密码:</label>
<input type="hidden" name="articleId" value="${articleId}" /> <input type="password" id="pwdTyped" name="pwdTyped" />
<button id="confirm" type="submit">${confirmLabel}</button> <input type="hidden" name="articleId" value="${articleId}" />
</form> <button id="confirm" type="submit">${confirmLabel}</button>
<a href="http://b3log.org" target="_blank"> </form>
<img border="0" class="icon" alt="B3log" title="B3log" src="${staticServePath}/favicon.png"/> <a href="http://b3log.org" target="_blank">
</a> <img border="0" class="icon" alt="B3log" title="B3log" src="${staticServePath}/favicon.png"/>
</div> </a>
<span class="clear"></span> </div>
</div> <span class="clear"></span>
</div> </div>
</div>
<div class="footerWrapper">
<div class="footer"> <div class="footerWrapper">
&copy; ${year} - <a href="${servePath}">${blogTitle}</a><br/> <div class="footer">
Powered by &copy; ${year} - <a href="${servePath}">${blogTitle}</a><br/>
<a href="http://b3log.org" target="_blank"> Powered by
${b3logLabel}&nbsp; <a href="http://b3log.org" target="_blank">
<span class="solo">Solo</span></a>, ${b3logLabel}&nbsp;
ver ${version} <span class="solo">Solo</span></a>,
</div> ver ${version}
</div> </div>
</div> </div>
</body> </div>
</html> </body>
</html>
This diff is collapsed.
This diff is collapsed.
...@@ -3258,11 +3258,18 @@ admin.userList = { ...@@ -3258,11 +3258,18 @@ admin.userList = {
userData[i].isAdmin = "&nbsp;" + Label.administratorLabel; userData[i].isAdmin = "&nbsp;" + Label.administratorLabel;
userData[i].expendRow = "<a href='javascript:void(0)' onclick=\"admin.userList.get('" + userData[i].expendRow = "<a href='javascript:void(0)' onclick=\"admin.userList.get('" +
users[i].oId + "', '" + users[i].userRole + "')\">" + Label.updateLabel + "</a>"; users[i].oId + "', '" + users[i].userRole + "')\">" + Label.updateLabel + "</a>";
} else { } else if ("defaultRole" === users[i].userRole) {
userData[i].expendRow = "<a href='javascript:void(0)' onclick=\"admin.userList.get('" + userData[i].expendRow = "<a href='javascript:void(0)' onclick=\"admin.userList.get('" +
users[i].oId + "', '" + users[i].userRole + "')\">" + Label.updateLabel + "</a>\ users[i].oId + "', '" + users[i].userRole + "')\">" + Label.updateLabel + "</a>\
<a href='javascript:void(0)' onclick=\"admin.userList.del('" + users[i].oId + "', '" + users[i].userName + "')\">" + Label.removeLabel + "</a>"; <a href='javascript:void(0)' onclick=\"admin.userList.del('" + users[i].oId + "', '" + users[i].userName + "')\">" + Label.removeLabel + "</a>" +
"<a href='javascript:void(0)' onclick=\"admin.userList.changeRole('" + users[i].oId + "')\">" + "ChangeRole" + "</a>";
userData[i].isAdmin = Label.commonUserLabel; userData[i].isAdmin = Label.commonUserLabel;
} else {
userData[i].expendRow = "<a href='javascript:void(0)' onclick=\"admin.userList.get('" +
users[i].oId + "', '" + users[i].userRole + "')\">" + Label.updateLabel + "</a>\
<a href='javascript:void(0)' onclick=\"admin.userList.del('" + users[i].oId + "', '" + users[i].userName + "')\">" + Label.removeLabel + "</a>" +
"<a href='javascript:void(0)' onclick=\"admin.userList.changeRole('" + users[i].oId + "')\">" + "ChangeRole" + "</a>";
userData[i].isAdmin = Label.visitorUserLabel;
} }
} }
...@@ -3434,6 +3441,39 @@ admin.userList = { ...@@ -3434,6 +3441,39 @@ admin.userList = {
}); });
} }
}, },
/**
* 修改角色
* @param id
*/
changeRole : function(id){
$.ajax({
url: latkeConfig.servePath + "/console/changeRole/" + id,
type: "GET",
cache: false,
success: function(result, textStatus){
$("#tipMsg").text(result.msg);
if (!result.sc) {
$("#loadMsg").text("");
return;
}
var pageNum = admin.userList.pageInfo.currentPage;
if (admin.userList.pageInfo.currentCount === 1 && admin.userList.pageInfo.pageCount !== 1 &&
admin.userList.pageInfo.currentPage === admin.userList.pageInfo.pageCount) {
admin.userList.pageInfo.pageCount--;
pageNum = admin.userList.pageInfo.pageCount;
}
var hashList = window.location.hash.split("/");
if (pageNum !== parseInt(hashList[hashList.length - 1])) {
admin.setHashByPage(pageNum);
}
admin.userList.getList(pageNum);
$("#loadMsg").text("");
}
});
},
/* /*
* 验证字段 * 验证字段
......
This source diff could not be displayed because it is too large. You can view the blob instead.
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>${blogTitle}</title> <title>${blogTitle}</title>
<meta name="keywords" content="GAE 博客,blog,b3log,kill IE6" /> <meta name="keywords" content="GAE 博客,blog,b3log,kill IE6" />
<meta name="description" content="An open source blog based on GAE Java,GAE Java 开源博客,Let's kill IE6" /> <meta name="description" content="An open source blog based on GAE Java,GAE Java 开源博客,Let's kill IE6" />
<meta name="author" content="B3log Team" /> <meta name="owner" content="B3log Team" />
<meta name="generator" content="B3log" /> <meta name="author" content="B3log Team" />
<meta name="copyright" content="B3log" /> <meta name="generator" content="B3log Solo" />
<meta name="revised" content="B3log, ${year}" /> <meta name="copyright" content="B3log" />
<meta http-equiv="Window-target" content="_top" /> <meta name="revised" content="B3log, ${year}" />
<link type="text/css" rel="stylesheet" href="${staticServePath}/css/default-init${miniPostfix}.css?${staticResourceVersion}" charset="utf-8" /> <meta http-equiv="Window-target" content="_top" />
<link rel="icon" type="image/png" href="${staticServePath}/favicon.png" /> <link type="text/css" rel="stylesheet" href="${staticServePath}/css/default-init${miniPostfix}.css?${staticResourceVersion}" charset="utf-8" />
</head> <link rel="icon" type="image/png" href="${staticServePath}/favicon.png" />
<body> </head>
<div class="wrapper"> <body>
<div class="wrap"> <div class="wrapper">
<div class="content"> <div class="wrap">
<div class="logo"> <div class="content">
<a href="http://b3log.org" target="_blank"> <div class="logo">
<img border="0" width="153" height="56" alt="B3log" title="B3log" src="${staticServePath}/images/logo.jpg"/> <a href="http://b3log.org" target="_blank">
</a> <img border="0" width="153" height="56" alt="B3log" title="B3log" src="${staticServePath}/images/logo.jpg"/>
</div> </a>
<div class="main"> </div>
${killBrowserLabel} <div class="main kill">
<img class="kill" src='${staticServePath}/images/kill-browser.png' title='Kill IE6' alt='Kill IE6'/> ${killBrowserLabel}
<a href="http://b3log.org" target="_blank"> <img src='${staticServePath}/images/kill-browser.png' title='Kill IE6' alt='Kill IE6'/>
<img border="0" class="icon" alt="B3log" title="B3log" src="${staticServePath}/favicon.png"/> <a href="http://b3log.org" target="_blank">
</a> <img border="0" class="icon" alt="B3log" title="B3log" src="${staticServePath}/favicon.png"/>
</div> </a>
<span class="clear"></span> </div>
</div> <span class="clear"></span>
</div> </div>
</div>
<div class="footerWrapper">
<div class="footer"> <div class="footerWrapper">
&copy; ${year} - <a href="${servePath}">${blogTitle}</a><br/> <div class="footer">
Powered by &copy; ${year} - <a href="${servePath}">${blogTitle}</a><br/>
<a href="http://b3log.org" target="_blank"> Powered by
${b3logLabel}&nbsp; <a href="http://b3log.org" target="_blank">
<span class="solo">Solo</span></a>, ${b3logLabel}&nbsp;
ver ${version} <span class="solo">Solo</span></a>,
</div> ver ${version}
</div> </div>
</div> </div>
</body> </div>
</html> </body>
</html>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment