add skins

add skins
This commit is contained in:
Ansen
2012-12-26 17:46:04 +08:00
parent e0e240d2b5
commit c0253332b0
171 changed files with 7682 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<#include "macro-head.ftl">
<!DOCTYPE html>
<html>
<head>
<@head title="${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount}) - ${blogTitle}">
<meta name="keywords" content="${metaKeywords},${archiveDate.archiveDateYear}${archiveDate.archiveDateMonth}"/>
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
</@head>
</head>
<body>
${topBarReplacement}
<div id="loading" style="display: none; "></div>
<div id="page">
<#include "header.ftl">
<div id="content">
<h2 class="pagetitle">${archive1Label}
<#if "en" == localeString?substring(0, 2)>
${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount})
<#else>
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel} (${archiveDate.archiveDatePublishedArticleCount})
</#if>
</h2>
<#include "article-list.ftl">
</div>
<#include "side.ftl">
<#include "footer.ftl">
</div>
</body>
</html>

61
Shawn/article-list.ftl Normal file
View File

@@ -0,0 +1,61 @@
<#list articles as article>
<div class="post">
<div class="index">
<h3>
<a <#if article.hasUpdated || article_index==0>
style="background: url('${staticServePath}/skins/Shawn/images/starnew.png') no-repeat scroll 0% 0% transparent;" <#else>
style="background: url('${staticServePath}/skins/Shawn/images/star.png') no-repeat scroll 0% 0% transparent;"
</#if>
href="${article.articlePermalink}"
rel="bookmark"
title="${article.articleTitle}">
${article.articleTitle}
</a>
<#if article.articlePutTop>
<sup class="tip">
${topArticleLabel}
</sup>
</#if>
</h3>
<div class="entry">
${article.articleAbstract}
</div>
<div class="timeta" style="opacity: 0.7;height:22px;">
<a href="${article.articlePermalink}#comments">${article.articleCommentCount}&nbsp;&nbsp;comments</a>/${article.articleViewCount}&nbsp;&nbsp;Hits
/<br />
<#if article.hasUpdated>
${article.articleUpdateDate?string("yyyy/MM/dd HH:mm:ss")}
<#else>
${article.articleCreateDate?string("yyyy/MM/dd HH:mm:ss")}
</#if>
</div>
</div>
</div>
</#list>
<#if 0 != paginationPageCount>
<div class="navigation">
<div class="index">
<div class="wp-pagenavi">
<span class="pages">${paginationCurrentPageNum}/${paginationPageCount}</span>
<#if 1 != paginationPageNums?first>
<a href="${staticServePath}${path}/1">1st</a>
<a href="${staticServePath}${path}/${paginationPreviousPageNum}">${TitelNO1}</a>
</#if>
<#list paginationPageNums as paginationPageNum>
<#if paginationPageNum == paginationCurrentPageNum>
<span class="current">${paginationPageNum}</span>
<#else>
<a title="${paginationPageNum}" href="${staticServePath}${path}/${paginationPageNum}">${paginationPageNum}</a>
</#if>
</#list>
<#if paginationPageNums?last != paginationPageCount>
<a href="${staticServePath}${path}/${paginationNextPageNum}">${TitelNO}</a>
<a title="Last ${TitelNO}" href="${staticServePath}${path}/${paginationPageCount}">Last ${TitelNO}</a>
</#if>
</div>
</div>
</div>
<#else>
<h3>Page not found</h3>
<p>Sorry, but you are looking for something that isn\'t here.</p>
</#if>

117
Shawn/article.ftl Normal file
View File

@@ -0,0 +1,117 @@
<#include "macro-head.ftl">
<#include "macro-comments.ftl">
<!DOCTYPE html>
<html>
<head>
<@head title="${article.articleTitle} - ${blogTitle}">
<meta name="keywords" content="${article.articleTags}" />
<meta name="description" content="${article.articleAbstract?html}" />
</@head>
<script type="text/javascript" src="${staticServePath}/skins/${skinDirName}${staticServePath}/js/ed.js?${staticResourceVersion}"></script>
</head>
<body>
<div id="loading" style="display: none; "></div>
<div id="page">
<#include "header.ftl">
<div id="content">
<div class="post" id="post">
<h1>
<a class="article-title" href="${article.articlePermalink}">
${article.articleTitle}
</a>
<#if article.hasUpdated>
<sup class="tip">
${updatedLabel}
</sup>
</#if>
<#if article.articlePutTop>
<sup class="tip">
${topArticleLabel}
</sup>
</#if>
</h1>
<div class="timeta" style="opacity: 0.7; ">${article.authorName} Published@
<#if article.hasUpdated>
${article.articleUpdateDate?string("yyyy-MM-dd HH:mm:ss")}
<#else>
${article.articleCreateDate?string("yyyy-MM-dd HH:mm:ss")}
</#if>
/<a class="say" href="#comments" title="Skip to Commentlist">Skip</a>
</div>
<div class="clear"></div>
<div class="entry">
<div class="article-body">
${article.articleContent}
</div>
<#if "" != article.articleSign.signHTML?trim>
<div>
${article.articleSign.signHTML}
</div>
</#if>
<div class="clear"></div>
<div>
<#if nextArticlePermalink??>
<div class="left commentsli" style="float:left;width:250px;">
<a href="${nextArticlePermalink}" title="${nextArticleTitle}">${nextArticle1Label}${nextArticleTitle}</a>
</div>
</#if>
<#if previousArticlePermalink??>
<div class="right commentsli" style="width:250px;">
<a href="${previousArticlePermalink}" title="${previousArticleTitle}">${previousArticle1Label}${previousArticleTitle}</a>
</div>
</#if></div>
<div class="clear"></div>
<div id="postail" style="border-top-left-radius: 7px 7px; border-top-right-radius: 7px 7px; border-bottom-right-radius: 7px 7px; border-bottom-left-radius: 7px 7px; position: relative; zoom: 1; ">
Tag(s):
<#list article.articleTags?split(",") as articleTag>
<a href="${staticServePath}/tags/${articleTag?url('UTF-8')}">${articleTag}</a>
</#list>
<div style="display: inherit">
<canvas width="7px" height="7px" style="position:absolute;top:-2px;left:-2px;"></canvas>
<canvas width="7px" height="7px" style="position:absolute;top:-2px;right:-2px;"></canvas>
<canvas width="7px" height="7px" style="position:absolute;bottom:-2px;left:-2px;"></canvas>
<canvas width="7px" height="7px" style="position:absolute;bottom:-2px;right:-2px;"></canvas>
</div>
</div>
<div id="share">
<ul style="display: none; top: -225px; opacity: 0; ">
<li onclick="window.open('http://shuqian.qq.com/post?title=${article.articleTitle}%26url=${blogHost}${article.articlePermalink}');return false">${QQBookmarks}</li>
<li onclick="window.open('http://del.icio.us/post?url%3D${blogHost}${article.articlePermalink}%26title=${article.articleTitle}');return false">Del.icio.us</li>
<li onclick="window.open('http://cang.baidu.com/do/add?it%3D${article.articleTitle}%26iu=${blogHost}${article.articlePermalink}%26dc%3D%26fr%3Dien#nw%3D1');return false">${BaiduFavorites}</li>
<li onclick="window.open('http://www.google.com/bookmarks/mark?op%3Dedit%26bkmk%3D${blogHost}${article.articlePermalink}%26title%3D${article.articleTitle}');return false">Google</li>
<li onclick="window.open('http://fanfou.com/sharer?u%3D${blogHost}${article.articlePermalink}%26t%3D${article.articleTitle}');return false">${FanFou}</li>
<li onclick="window.open('http://friendfeed.com/share?url=${blogHost}${article.articlePermalink}%26title%3D${article.articleTitle}');return false">FriendFeed</li>
</ul>
</div>
</div>
<div class="related">
<div id="relatedclick">
<span style="color:red;font-weight:bold;padding-left:95px">&hearts;&hearts;&hearts;</span>
<a href="javascript:showRelatedul('${article.oId}', '${relevantArticles1Label}', '${article.articleTags}')">
<span style="font-weight:bold">${AmbiguousArticle}
</a>
<span style="color:red;font-weight:bold">&hearts;&hearts;&hearts;</span>
</div>
<div id="relatedul" style="display: none;" class="hidden">
<#if 0 != randomArticlesDisplayCount>
page.loadRandomArticles();
</#if>
<#if 0 != relevantArticlesDisplayCount>
page.loadRelevantArticles('${article.oId}', '<h4>${relevantArticles1Label}</h4>');
</#if>
<#if 0 != externalRelevantArticlesDisplayCount>
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>");
</#if>
</div>
</div>
</div>
<@comments commentList=articleComments article=article></@comments>
</div>
<#include "side.ftl">
<#include "footer.ftl">
</div>
<@comment_script oId=article.oId>
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
</@comment_script>
</body>
</html>

23
Shawn/author-articles.ftl Normal file
View File

@@ -0,0 +1,23 @@
<#include "macro-head.ftl">
<!DOCTYPE html>
<html>
<head>
<@head title="${authorName} - ${blogTitle}">
<meta name="keywords" content="${metaKeywords},${authorName}"/>
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
</@head>
</head>
<body>
${topBarReplacement}
<div id="loading" style="display: none; "></div>
<div id="page">
<#include "header.ftl">
<div id="content">
<h2>${author1Label}${authorName}</h2>
<#include "article-list.ftl">
</div>
<#include "side.ftl">
<#include "footer.ftl">
</div>
</body>
</html>

60
Shawn/css/ie6.css Normal file
View File

@@ -0,0 +1,60 @@
#loading
{
position:absolute;
top:13px;
}
#header p#title a {margin:23px 0 20px 27px;}
#header form {margin-right:10px;}
#sidebar ul li
{
margin-left:5px;
padding:0 5px;
}
#sidebar ul li ul li {width:180px;}
div#trackpings {padding-left:40px;}
ul.trackpings {margin-right:80px;}
.trackpings li {padding-left:40px;}
.commentlist .alt
{
border:1px solid #ccc;
border-right:1px solid #fff;
border-bottom:1px solid #fff;
}
.commentlist .altline
{
border:1px solid #ccc;
border-left:1px solid #fff;
border-bottom:1px solid #fff;
}
.reply p.smilies
{
margin-right:30px;
padding:3px 3px 0;
}
.cmntcnt {left:-70px;}
.post #postail a {border:1px solid #f8f8f8;}
.linkpage ul li ul li {border:none;}
.nav
{
position:absolute;
right:-2px;
}
#footer .b2t,
#footer div.g2b {display:none;}
#share {height:40px;}

14
Shawn/css/iestyle.css Normal file
View File

@@ -0,0 +1,14 @@
#sidebar a {color:#888;}
#sidebar a:hover {color:#333;}
.nav {margin:-118px 0 0 220px;}
#sidebar ul li ul li img
{
float:none;
padding:0;
vertical-align:middle;
}
#share ul{background-color:#fff;}

1039
Shawn/css/style.css Normal file

File diff suppressed because it is too large Load Diff

1
Shawn/css/style.min.css vendored Normal file

File diff suppressed because one or more lines are too long

24
Shawn/error.ftl Normal file
View File

@@ -0,0 +1,24 @@
<#include "macro-head.ftl">
<!DOCTYPE html>
<html>
<head>
<@head title="${notFoundLabel} - ${blogTitle}">
<meta name="keywords" content="${notFoundLabel},${metaKeywords}"/>
<meta name="description" content="${sorryLabel},${notFoundLabel},${metaDescription}"/>
<meta name="robots" content="noindex, follow"/>
</@head>
</head>
<body>
${topBarReplacement}
<div id="loading" style="display: none; "></div>
<div id="page">
<#include "header.ftl">
<div id="content">
<h2 >${sorryLabel} ${notFoundLabel}</h2>
<a href="http://${blogHost}">${returnTo1Label}${blogTitle}</a>
</div>
<#include "side.ftl">
<#include "footer.ftl">
</div>
</body>
</html>

30
Shawn/footer.ftl Normal file
View File

@@ -0,0 +1,30 @@
<div id="footer">
<div id="footertext">
<span style="color: gray;">&copy; ${year}</span> - <a href="http://${blogHost}">${blogTitle}</a><br/>
Powered by
<a href="http://b3log-solo.googlecode.com" target="_blank" class="logo">
${b3logLabel}&nbsp;
<span style="color: orangered; font-weight: bold;">Solo</span></a>,
ver ${version}&nbsp;&nbsp;
Theme by <a href="http://www.ansen.org" target="_blank">Ansen</a>
& <a href="http://vanessa.b3log.org" target="_blank">Vanessa</a>
& <a href="http://www.q86.net" target="_blank">Angel</a>.
</div>
<div class="b2t" style="opacity: 0.2; "></div>
<div class="g2b" style="opacity: 0.2; "></div>
<form action="http://www.google.com/cse" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="partner-pub-6776264782593260:2266952709" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" name="q" size="25" />
</div>
</form>
</div>
<div class="advise">${Repeatedlyrefresh1}
<a href="${staticServePath}/blog-articles-feed.do" rel="external">RSS</a> ${Repeatedlyrefresh2}
<a href="javascript:void(0)">${Repeatedlyrefresh3}</a>
</div>
<script type="text/javascript" src="${staticServePath}/js/common${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
<script type="text/javascript" src="${staticServePath}/skins/${skinDirName}/js/core${miniPostfix}.js?${staticResourceVersion}"></script>
<script type="text/javascript" src="${staticServePath}/skins/${skinDirName}/js/javascription${miniPostfix}.js?${staticResourceVersion}"></script>
${plugins}

21
Shawn/header.ftl Normal file
View File

@@ -0,0 +1,21 @@
<div id="header">
<h1 id="title">
<a href="${staticServePath}">${blogTitle}</a>
</h1>
<h2 id="discription">${blogSubtitle}</h2>
<ul class="nav" id="header-navi">
<li>
<a href="${staticServePath}" title="${indexLabel}">${indexLabel}</a>
</li>
<li>
<a href="${staticServePath}/tags.html">${allTagsLabel}</a>
</li>
<#list pageNavigations as page>
<li>
<a href="${page.pagePermalink}" target="${page.pageOpenTarget}">${page.pageTitle}</a>
</li>
</#list>
</ul>
<div class="twitter" style="opacity: 0.7; "></div>
</div>
<hr />

BIN
Shawn/images/ad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

BIN
Shawn/images/b2t.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B

BIN
Shawn/images/background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

BIN
Shawn/images/bstar.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

BIN
Shawn/images/dotb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

BIN
Shawn/images/g2b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

BIN
Shawn/images/graback.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

BIN
Shawn/images/loading.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
Shawn/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
Shawn/images/menu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

BIN
Shawn/images/misc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
Shawn/images/nav.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 724 B

BIN
Shawn/images/pathnext.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

BIN
Shawn/images/posttitle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

BIN
Shawn/images/quote.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 B

BIN
Shawn/images/reply.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 719 B

BIN
Shawn/images/rss.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
Shawn/images/share.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
Shawn/images/sidelines.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

BIN
Shawn/images/star.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

BIN
Shawn/images/starnew.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B

BIN
Shawn/images/twitterbg.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
Shawn/images/underline.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 B

22
Shawn/index.ftl Normal file
View File

@@ -0,0 +1,22 @@
<#include "macro-head.ftl">
<!DOCTYPE html>
<html>
<head>
<@head title="${blogTitle}">
<meta name="keywords" content="${metaKeywords}"/>
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
</@head>
</head>
<body>
${topBarReplacement}
<div id="loading" style="display: none; "></div>
<div id="page">
<#include "header.ftl">
<div id="content">
<#include "article-list.ftl">
</div>
<#include "side.ftl">
<#include "footer.ftl">
</div>
</body>
</html>

79
Shawn/js/core.js Normal file
View File

@@ -0,0 +1,79 @@
$("#share ul").css({
"display": "none",
"top": "-225px",
"opacity": "0"
});
$(".commentlist li cite a,.outter a").attr("href",
function() {
var domain_const = "{{blog.domain}}".substring(0, 7) + "";
return this.href.replace(domain_const, "")//your domain#####################
});
$(".commentlist li cite a[href='http://']").each(function() {
$(this).replaceWith("<span style='color:#444;border-bottom:1px dotted #aaa'>" + $(this).text() + "</span>")
});
$(document).ready(function() {
//$("#header").html($("#headerf").html());
//$(".timeta").html($(".meta").html());
// set selected navi
$("#header-navi li").each(function (i) {
if (i < $("#header-navi li").length) {
var $it = $(this),
locationURL = window.location.pathname + window.location.search;
if (i === 0 && (locationURL === "/")) {
$it.addClass("current_page_item");
return;
}
if (locationURL.indexOf($it.find("a").attr("href")) > -1 && i !== 0) {
$it.addClass("current_page_item");
}
}
});
if ($("input#author:has[value]").length > 0) {
$("div.friendly").css("display", "none");
$(".authorgra").css("display", "block");
var A = '<span style="padding:0 5px;font:bold 10px verdana;color:#888;cursor:pointer;letter-spacing:0" class="infoeditor">(Edit)</span>';
$("div#respond").append(A);
$(".infoeditor").toggle(function() {
$(".friendly").fadeIn();
$(".authorgra").css("display", "none")
},
function() {
$(".friendly").css("display", "none");
$(".authorgra").fadeIn()
})
}
$(".twitter").click(function() {
window.open("http://twitter.com/ansenorg");
return false
})
Util.setTopBar();
})
function hidetoolbar(){
$("#wgToolBar").slideUp(600,function(){
$("#showtoolbar").slideDown(600)
})
}
function showtoolbar(){
$("#showtoolbar").slideUp(600,function(){
$("#wgToolBar").slideDown(600)
})
}
// 点击暧昧文章
var showRelatedul = function (id, label, tags) {
var $relatedul = $("#relatedul");
if ($relatedul.hasClass("hidden")) {
if ($("#randomArticles").html() === "") {
page.loadRandomArticles();
page.loadRelevantArticles(id, label);
if (page.tips.externalRelevantArticlesDisplayCount !== 0) {
page.loadExternalRelevantArticles(tags);
}
}
$relatedul.slideDown().removeClass("hidden");
} else {
$relatedul.slideUp().addClass("hidden");
}
}
var common = new Common();

1
Shawn/js/core.min.js vendored Normal file
View File

@@ -0,0 +1 @@
$("#share ul").css({display:"none",top:"-225px",opacity:"0"});$(".commentlist li cite a,.outter a").attr("href",function(){var a="{{blog.domain}}".substring(0,7)+"";return this.href.replace(a,"")});$(".commentlist li cite a[href='http://']").each(function(){$(this).replaceWith("<span style='color:#444;border-bottom:1px dotted #aaa'>"+$(this).text()+"</span>")});$(document).ready(function(){$("#header-navi li").each(function(c){if(c<$("#header-navi li").length){var b=$(this),d=window.location.pathname+window.location.search;if(c===0&&(d==="/")){b.addClass("current_page_item");return}if(d.indexOf(b.find("a").attr("href"))>-1&&c!==0){b.addClass("current_page_item")}}});if($("input#author:has[value]").length>0){$("div.friendly").css("display","none");$(".authorgra").css("display","block");var a='<span style="padding:0 5px;font:bold 10px verdana;color:#888;cursor:pointer;letter-spacing:0" class="infoeditor">(Edit)</span>';$("div#respond").append(a);$(".infoeditor").toggle(function(){$(".friendly").fadeIn();$(".authorgra").css("display","none")},function(){$(".friendly").css("display","none");$(".authorgra").fadeIn()})}$(".twitter").click(function(){window.open("http://twitter.com/ansenorg");return false});Util.setTopBar()});function hidetoolbar(){$("#wgToolBar").slideUp(600,function(){$("#showtoolbar").slideDown(600)})}function showtoolbar(){$("#showtoolbar").slideUp(600,function(){$("#wgToolBar").slideDown(600)})}var showRelatedul=function(d,b,a){var c=$("#relatedul");if(c.hasClass("hidden")){if($("#randomArticles").html()===""){page.loadRandomArticles();page.loadRelevantArticles(d,b);if(page.tips.externalRelevantArticlesDisplayCount!==0){page.loadExternalRelevantArticles(a)}}c.slideDown().removeClass("hidden")}else{c.slideUp().addClass("hidden")}};var common=new Common();

185
Shawn/js/ed.js Normal file
View File

@@ -0,0 +1,185 @@
jQuery(document).ready(function()
{
$(".commentlist li:even").addClass("alt");
$(".commentlist li:odd").addClass("altline");
loadjs = false;
/*commentuser = $.cookie("comment_user");
if (commentuser)
{
//[user, email, url] = commentuser.split("#@#");
data = commentuser.split("#@#");
$("#author").val(data[0]);
$("#email").val(data[1]);
$("#url").val(data[2]);
};
$("#commentform").ajaxForm(
{
type : "post",
dataType : "json",
beforeSubmit : function(formData, jqForm, options)
{
var form = jqForm[0];
if (form.author)
{
if (!form.author.value)
{
showinfo("Please input your name!");
$("#authors")[0].innerHTML = "Name<font color='#FF0000' size='1px'>\u03C7</font>";
form.author.focus();
return false;
}
else
{
$("#authors")[0].innerHTML = "Name<font color='#00CC00' size='1px'><strong>\u221a</strong></font>"
}
if (!form.email.value)
{
showinfo("Please input your email address!");
$("#emails")[0].innerHTML = "Mail<font color='#FF0000' size='1px'>\u03C7</font>";
form.email.focus();
return false;
}
if (form.email.value.search(/^\w+((-\w+)|(\.\w+))*\@{1}\w+\.{1}\w{2,4}(\.{0,1}\w{2}){0,1}/ig) == -1)
{
showinfo("Please input a correct email address!");
form.email.value = "";
form.email.focus();
return false;
}
else
{
$("#emails")[0].innerHTML = "Mail<font color='#00CC00' size='1px'><strong>\u221a</strong></font>"
}
}
if ($("#checkarea").css("display") == "block")
{
if (!form.checkret.value)
{
showinfo("Please input validate code, 3Q!");
$("#checkcodes")[0].innerHTML = "Code:<font color='#FF0000' size='1px'><strong>\u03C7</strong></font>"
form.checkret.focus();
return false;
}
if (isNaN(form.checkret.value))
{
showinfo("This validate code must be filled with all-numbers, 3Q!");
$("#checkcodes")[0].innerHTML = "Code:<font color='#FF0000' size='1px'><strong>\u03C7</strong></font>"
form.checkret.value = "";
form.checkret.focus();
return false;
}
else
{
$("#checkcodes")[0].innerHTML = "Code:"
}
}
if (!form.comment.value)
{
showinfo("Please enter a message!");
form.comment.focus();
return false;
}
$("#submit").attr("disabled", true);
return true;
}, success : function(data)
{
$("#submit").attr("disabled", false);
if (data[0])
{
//document.cookie = data[2];
showinfo("Submitted successfully!");
add_comment(data[1]);
$("#s_msg").text("Submitted successfully!");
$("#comment").val("");
reloadCheckImage();
if ($("#checkarea").css("display") == "block")
{
if ($("#check_type").val() > 0)
{
get_check_area($("#check_type").val());
reloadCheckImage();
}
}
$("#checkret").val("");
location = "#comments";
//refresh
if (data)
{
$("#commentlist").animate({opacity: 0.4}, 500, function()
{
$(this).html(data);//;
}).animate({opacity : 1}, "slow");
}
//#refresh
}
else
{
if (data[1] == -102)
{
showinfo("Validate code error, please retry it, 3Q!");
reloadCheckImage();
$("#checkret").focus();
}
}
}
});*/
});
/*
function keyDown()
{
if (event.ctrlKey && event.keyCode == 13)
{
document.getElementById("submitCommentButton").click();
return false;
}
}
*/
function get_check_area(type)
{
if (type == 1)
{
$("#check").load("/checkcode/");
$("#checkarea").show();
}
else if (type == 2)
{
$("#check").html("<img id='checkimg' src='/checkimg/' style='border:0px;padding:0;float:left;margin-right:8px' title='Click here to change Code' onclick='reloadCheckImage();' />");
$("#checkarea").show();
}
}
function reloadCheckImage()
{
var img = document.getElementById("checkimg");
img.src += "?";
}
//alert
function showinfo(msg)
{
window.alert(msg);
}
//fixed ajax comments.
function add_comment(msg)
{
comment = $(msg);
if (!loadjs) {
$("#comments").prepend(comment).show();
$.getScript("http://dev.jquery.com/view/trunk/plugins/color/jquery.color.js", function()
{
comment.animate({backgroundColor: "#fbc7c7"}, "slow").animate({backgroundColor: "white"}, "slow");
loadjs = true;
});
}
else
{
$("#comments").prepend(comment);
comment.animate({backgroundColor: "#fbc7c7"}, "slow").animate({backgroundColor: "white"}, "slow");
}
}

1
Shawn/js/ed.min.js vendored Normal file
View File

@@ -0,0 +1 @@
jQuery(document).ready(function(){$(".commentlist li:even").addClass("alt");$(".commentlist li:odd").addClass("altline");loadjs=false});function get_check_area(a){if(a==1){$("#check").load("/checkcode/");$("#checkarea").show()}else{if(a==2){$("#check").html("<img id='checkimg' src='/checkimg/' style='border:0px;padding:0;float:left;margin-right:8px' title='Click here to change Code' onclick='reloadCheckImage();' />");$("#checkarea").show()}}}function reloadCheckImage(){var a=document.getElementById("checkimg");a.src+="?"}function showinfo(a){window.alert(a)}function add_comment(a){comment=$(a);if(!loadjs){$("#comments").prepend(comment).show();$.getScript("http://dev.jquery.com/view/trunk/plugins/color/jquery.color.js",function(){comment.animate({backgroundColor:"#fbc7c7"},"slow").animate({backgroundColor:"white"},"slow");loadjs=true})}else{$("#comments").prepend(comment);comment.animate({backgroundColor:"#fbc7c7"},"slow").animate({backgroundColor:"white"},"slow")}};

1248
Shawn/js/javascription.js Normal file

File diff suppressed because it is too large Load Diff

1
Shawn/js/javascription.min.js vendored Normal file

File diff suppressed because one or more lines are too long

19
Shawn/js/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long

48
Shawn/js/pagenavi.js Normal file
View File

@@ -0,0 +1,48 @@
function showPageLink(sUrl, iPage, iCount, sAnchor)
{
var i = 0;
i = Math.max(1, iPage - 1);
if (iPage == 1)
{
document.write("<span class='pages' style='color:#7D7D7D'>1st</span> ");
document.write("<span class='pages' style='color:#7D7D7D'>&laquo;</span> ");
}
else
{
document.write("<a href=\"" + sUrl + sAnchor + "1\" title='The 1 page'>1st</a> ");
document.write("<a href=\"" + sUrl + i + sAnchor + "\" title='Prev page(The " + i + " page)'>&laquo;</a> ");
}
if (iPage > 6)
{
document.write("<span>...</span> ");
}
for (i = Math.max(1, iPage - 5); i < iPage; i++)
{
document.write("<a href=\"" + sUrl + i + sAnchor + "\" title='The " + i + " page'>" + i + "</a> ");
}
document.write("<font color='red'>" + iPage + "</font> ");
for (i = iPage + 1; i <= Math.min(iCount, iPage + 5); i++)
{
document.write("<a href=\""+sUrl + i + sAnchor + "\" title='The " + i + " page'>" + i + "</a> ");
}
i = Math.min(iCount, iPage + 1);
if (iCount > iPage + 5)
{
document.write("<span>...</span> ");
}
if (iPage == iCount)
{
document.write("<span class='pages' style='color:#7D7D7D'>&raquo;</span> ");
document.write("<span class='pages' style='color:#7D7D7D'>Last</span> ");
}
else
{
document.write(" <a href=\"" + sUrl + i + sAnchor + "\" title='Next page(The " + i + " page)'>&raquo;</a>");
document.write("<a href=\"" + sUrl + iCount + sAnchor + "\" title='Last page(The " + iCount + " page)'>Last</a> ");
}
}

1
Shawn/js/pagenavi.min.js vendored Normal file
View File

@@ -0,0 +1 @@
function showPageLink(b,d,e,c){var a=0;a=Math.max(1,d-1);if(d==1){document.write("<span class='pages' style='color:#7D7D7D'>1st</span> ");document.write("<span class='pages' style='color:#7D7D7D'>&laquo;</span> ")}else{document.write('<a href="'+b+c+"1\" title='The 1 page'>1st</a> ");document.write('<a href="'+b+a+c+"\" title='Prev page(The "+a+" page)'>&laquo;</a> ")}if(d>6){document.write("<span>...</span> ")}for(a=Math.max(1,d-5);a<d;a++){document.write('<a href="'+b+a+c+"\" title='The "+a+" page'>"+a+"</a> ")}document.write("<font color='red'>"+d+"</font> ");for(a=d+1;a<=Math.min(e,d+5);a++){document.write('<a href="'+b+a+c+"\" title='The "+a+" page'>"+a+"</a> ")}a=Math.min(e,d+1);if(e>d+5){document.write("<span>...</span> ")}if(d==e){document.write("<span class='pages' style='color:#7D7D7D'>&raquo;</span> ");document.write("<span class='pages' style='color:#7D7D7D'>Last</span> ")}else{document.write(' <a href="'+b+a+c+"\" title='Next page(The "+a+" page)'>&raquo;</a>");document.write('<a href="'+b+e+c+"\" title='Last page(The "+e+" page)'>Last</a> ")}};

View File

View File

@@ -0,0 +1,292 @@
#
# Copyright (c) 2009, 2010, 2011, B3log Team
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# Description: B3log Solo language configurations(en_US).
# Version: 2.0.5.7, Sep 5, 2011
# Author: Liang Ding
#
adminConsoleLabel=Admin
adminIndexLabel=Admin Index
postArticleLabel=Post
articleListLabel=Articles
commentListLabel=Comments
draftListLabel=Drafts
userManageLabel=Users
commonUserLabel=Common User
addUserLabel=Add User
updateUserLabel=Update User
linkManagementLabel=Links
pluginMgmtLabel=Plugins
pluginNameLabel=Name
versionLabel=Version
statusLabel=Status
enabledLabel=Enabled
disabledLabel=Disabled
enableLabel=Enable
disableLabel=Disable
preferenceLabel=Preference
localeString1Label=Language:
timeZoneId1Label=Time Zone:
adminLabel=Admin
administratorLabel=Administrator
loginLabel=Login
logoutLabel=Logout
initLabel=Initial
popTagsLabel=Popular Tags
tag1Label=Tag:
tags1Label=Tags:
recentArticlesLabel=Recent Articles
recentCommentsLabel=Recent Comments
postCommentsLabel=Post Comment
mostCommentArticlesLabel=Most Comment Articles
mostViewCountArticlesLabel=Most View Articles
em00Label=Cheeky
em01Label=Daze
em02Label=Shy
em03Label=Cute
em04Label=Bared teeth
em05Label=Dizzy
em06Label=No Comments
em07Label=Grin
em08Label=Contempt
em09Label=Pull the nose
em10Label=Lucky
em11Label=Sad
em12Label=Surprise
em13Label=Cry
em14Label=Scare
linkLabel=Friend Links
sumLabel=
pageLabel=Page
commentLabel=Comment
linkTitleLabel=Link Title
linkTitle1Label=Title:
updateLabel=Update
removeLabel=Remove
putTopLabel=Put Top
cancelPutTopLabel=Cancel Put Top
downloadCountLabel=Count
sizeLabel=Size
uploadDateLabel=Upload Date
downloadURLLabel=Download URL
downloadLabel=Download
createDateLabel=Create Date
updateDateLabel=Update Date
titleLabel=Title
title1Label=Title:
content1Label=Content:
abstract1Label=Summary:
publishLabel=Publish
unPublishLabel=Un Publish
urlLabel=URL
url1Label=URL (start protocol, e.g.: http://):
addLinkLabel=Add Link
updateLinkLabel=Update Link
archiveLabel=Archive
archive1Label=archive:
yearLabel=
monthLabel=
blogSyncLabel=Blog Sync
pageLabel=Page
pageMgmtLabel=Pages
othersLabel=Others
fileListLabel=Files
submitUploadLabel=Upload
fileNameLabel=File Name
paramSettingsLabel=Parameters
skinLabel=Skins
signLabel=Signs
sign1Label=Signs:
noSignLabel=No Signs
signIsNullLabel=This Sign is Null
statisticLabel=Blog Statistic
viewLabel=View
countLabel=Posts
viewCount1Label=View Count:
articleCount1Label=Article Count:
commentCountLabel=Comment Count
commentCount1Label=Comment Count:
commentEmotions1Label=Emotions:
commentEmotionsLabel=Emotions
commentName1Label=Name:
commentNameLabel=Name
commentEmail1Label=Email:
commentEmailLabel=Email
commentURL1Label=URL:
commentURLLabel=URL
commentContent1Label=Content:
commentContentLabel=Content
getDateLabel=Get Date
getArticleLabel=Get Article
selectDateLabel=Select Date
selectDate1Label=Select Date:
importLabel=Import
chooseBlog1Label=Choose Blog:
blogArticleImportLabel=Article Import
blogSyncMgmtLabel=Blog Sync Management
syncMgmtLabel=Sync manage Blog
userName1Label=Username:
userPassword1Label=Password:
syncPostLabel=Sync Post
syncUpdateLabel=Sync Update
syncRemoveLabel=Sync Remove
categoryLabel=Category
noticeBoard1Label=Notice Board:
noticeBoardLabel=Notice Board
htmlhead1Label=HTML head:
indexTagDisplayCnt1Label=Index Tag Display Count:
indexRecentArticleDisplayCnt1Label=Recent Article Display Count:
indexRecentCommentDisplayCnt1Label=Recent Comment Display Count:
indexMostCommentArticleDisplayCnt1Label=Most Comment Article Display Count:
indexMostViewArticleDisplayCnt1Label=Most View Article Display Count:
relevantArticlesDisplayCnt1Label=Relevant Article Display Count:
randomArticlesDisplayCnt1Label=Random Article Display Count:
externalRelevantArticlesDisplayCnt1Label=External Relevant Article Display Count:
windowSize1Label=Pagination Window Size:
pageSize1Label=Pagination Page Size:
blogTitle1Label=Blog Title:
blogSubtitle1Label=Blog Subtitle:
blogHost1Label=Blog Host:
submmitCommentLabel=Commit Comment
saveLabel=Save
tagLabel=Tag
tagsLabel=Tags
importedLabel=Imported
captcha1Label=Captcha:
captchaLabel=Captcha
clearAllCacheLabel=Clear all cache
clearCacheLabel=Clear cache
indexLabel=Index
nextArticle1Label=Next:
previousArticle1Label=Previous:
updatedLabel=Updated!
topArticleLabel=Top!
CSDNBlogLabel=CSDN Blog
BlogJavaLabel=BlogJava
CnBlogsLabel=CnBlogs
previousPageLabel=Previous Page
nextPagePabel=Next Page
firstPageLabel=First Page
lastPageLabel=Last Page
returnTo1Label=Return to:
tencentLabel=Tencent
appKey1Label=App Key:
appSecret1Label=App Secret:
postToTencentMicroblogWhilePublishArticleLabel=Post to Tencent microblog while publish an article:
postToCommunityLabel=Post to Community:
authorizeTencentMicroblog1Label=Click to authorize:
googleLabel=Google
OAuthConsumerSecret1Label=OAuth Consumer Secret:
atomLabel=Atom
relevantArticles1Label=Relevant Articles:
randomArticles1Label=Random Articles:
externalRelevantArticles1Label=External Relevant Articles:
metaKeywords1Label=Meta Keywords:
metaDescription1Label=Meta Description:
removeUnusedTagsLabel=Remove Unused Tags
goTopLabel=Top
permalink1Label=Permalink:
permalinkLabel=Permalink
welcomeToSoloLabel=Welcome to B3log Solo!
b3logLabel=<span style="color: orange;">B</span><span style="color: blue;"><sup>3</sup></span><span style="color: green;">L</span><span style="color: red;">O</span><span style="color: blue;">G</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>
readmoreLabel=Read more\u00bb
readmore2Label=Read more
replyLabel=Reply\u00bb
homeLabel=Home
enableArticleUpdateHint1Label=Enable Article Update Hint:
allowVisitDraftViaPermalink1Label=Allow Visit Draft Via Link:
author1Label=Author:
authorLabel=Author
keyOfSolo1Label=Solo Key:
articleLabel=Article
tagArticlesLabel=Tag Articles
dateArticlesLabel=Archive Date Articles
authorArticlesLabel=Author Articles
indexArticleLabel=Index Articles
allTagsLabel=Tag Cloud
customizedPageLabel=Customized Page
killBrowserPageLabel=Kill Browser Page
pageNumLabel=Page Number
####
forbiddenLabel=Forbidden Access!
sorryLabel=Sorry!
notFoundLabel=Not Found!
unPulbishSuccLabel=Un Publish Successfully
unPulbishFailLabel=Un Publish Fail
removeSuccLabel=Remove Successfully
removeFailLabel=Remove Fail
removeUserFailSkinNeedMulUsersLabel=Remove Fail, the current skin need multiple users!
putTopSuccLabel=Put Top Successfully
putTopFailLabel=Put Top Fail
cancelTopSuccLabel=Cancel Top Successfully
cancelTopFailLabel=Cancel Top Fail
addSuccLabel=Add Successfully
addFailLabel=Add Fail
updateSuccLabel=Update Successfully
updateFailLabel=Update Fail
updatePreferenceFailLabel=Update Fail, please check <b>Blog Host</b> configuration!
updatePreferenceFailNeedMulUsersLabel=Update Fail, the selected skin need multiple users!
setFailLabel=Set Fail
setSuccLabel=Set Successfully
getFailLabel=Get Fail
noSettingLabel=No Setting
getSuccLabel=Get Successfully
importSuccLabel=Import Successfully :-)
importFailLabel=Some Import Fail %>_<%
noCommentLabel=No Comment
captchaErrorLabel=Captcha Error
inputErrorLabel=Input Error!
gotoLabel=Go
nameEmptyLabel=Username is empty
passwordEmptyLabel=Password is empty
blogEmptyLabel=Blogging service is empty
blogArticleEmptyLabel=Please select articles
nameTooLongLabel=Sorry, your username must be between 2 and 20 characters long.
mailCannotEmptyLabel=Mail is empty
mailInvalidLabel=Mail is invalid
commentContentCannotEmptyLabel=Sorry, your content must be between 2 and 500 characters long.
captchaCannotEmptyLabel=Captcha is empty
loadingLabel=Loading....
titleEmptyLabel=Title is empty
contentEmptyLabel=Content is empty
orderEmptyLabel=Order is empty
abstractEmptyLabel=Abstract is empty
tagsEmptyLabel=Tags is empty
addressEmptyLabel=Address is empty
noAuthorizationURLLabel=Can not retrieve authorization URL from Google, please \
make sure the <em>Consumer Secret</em> you typed in and then try again.
exceedMaxUploadSizeLabel=Size exceed 1M :-(
uploadFailLabel=Upload Fail!
fileEmptyLabel=File is empty
duplicatedPermalinkLabel=Duplicated permalink!
invalidPermalinkFormatLabel=Invalid permalink format!
duplicatedEmailLabel=Duplicated email!
canntBeLocalhostOnProductionLabel=Can not set host as localhost on production!
refreshAndRetryLabel=Please refresh and try again!
noDataLable=NO Data
editorLeaveLabel=Content is not null, Do you leave\uff1f
editorPostLabel=Content is not null, Do you clear\uff1f
####
confirmRemoveLabel=Are You Sure?
confirmInitLabel=Are You Sure?
###by noday.net
breadcrumbNaviLabel=Location:
homeLabel=Home
noArticleTitleLabel=No articles!
noArticleContentLabel=No articles!Please contact the administrator!

View File

@@ -0,0 +1,299 @@
adminConsoleLabel=\u540e\u53f0\u7ba1\u7406
adminIndexLabel=\u540e\u53f0\u9996\u9875
postArticleLabel=\u53d1\u5e03\u6587\u7ae0
articleListLabel=\u6587\u7ae0\u7ba1\u7406
commentListLabel=\u8bc4\u8bba\u7ba1\u7406
draftListLabel=\u8349\u7a3f\u5939
userManageLabel=\u7528\u6237\u7ba1\u7406
commonUserLabel=\u4e00\u822c\u7528\u6237
addUserLabel=\u6dfb\u52a0\u7528\u6237
updateUserLabel=\u66f4\u65b0\u7528\u6237
linkManagementLabel=\u94fe\u63a5\u7ba1\u7406
pluginMgmtLabel=\u63d2\u4ef6\u7ba1\u7406
pluginNameLabel=\u63d2\u4ef6\u540d
versionLabel=\u7248\u672c
statusLabel=\u72b6\u6001
enabledLabel=\u5df2\u542f\u7528
disabledLabel=\u5df2\u7981\u7528
enableLabel=\u542f\u7528
disableLabel=\u7981\u7528
preferenceLabel=\u504f\u597d\u8bbe\u5b9a
localeString1Label=\u8bed\u8a00\uff1a
timeZoneId1Label=\u65f6\u533a\uff1a
adminLabel=\u7ba1\u7406
administratorLabel=\u7ba1\u7406\u5458
loginLabel=\u767b\u5f55
logoutLabel=\u9000\u51fa
initLabel=\u521d\u59cb\u5316
popTagsLabel=\u5206\u7c7b\u6807\u7b7e
tag1Label=\u6807\u7b7e\uff1a
tags1Label=\u6807\u7b7e\uff1a
recentArticlesLabel=\u6700\u65b0\u6587\u7ae0
recentCommentsLabel=\u6700\u65b0\u8bc4\u8bba
postCommentsLabel=\u53d1\u8868\u8bc4\u8bba
mostCommentArticlesLabel=\u8bc4\u8bba\u6700\u591a\u7684\u6587\u7ae0
mostViewCountArticlesLabel=\u8bbf\u95ee\u6700\u591a\u7684\u6587\u7ae0
em00Label=\u987d\u76ae
em01Label=\u53d1\u5446
em02Label=\u5bb3\u7f9e
em03Label=\u53ef\u7231
em04Label=\u5472\u7259
em05Label=\u6655
em06Label=\u65e0\u8bed
em07Label=\u574f\u7b11
em08Label=\u9119\u89c6
em09Label=\u62a0\u9f3b
em10Label=\u5077\u7b11
em11Label=\u96be\u8fc7
em12Label=\u60ca\u8bb6
em13Label=\u6d41\u6cea
em14Label=\u5413
linkLabel=\u53cb\u60c5\u94fe\u63a5
sumLabel=\u5171
pageLabel=\u9875
commentLabel=\u8bc4\u8bba
linkTitleLabel=\u94fe\u63a5\u6807\u9898
linkTitle1Label=\u6807\u9898\uff1a
updateLabel=\u66f4\u65b0
removeLabel=\u5220\u9664
putTopLabel=\u7f6e\u9876
cancelPutTopLabel=\u53d6\u6d88\u7f6e\u9876
downloadCountLabel=\u4e0b\u8f7d\u6b21\u6570
sizeLabel=\u5927\u5c0f
uploadDateLabel=\u4e0a\u4f20\u65e5\u671f
downloadURLLabel=\u4e0b\u8f7d\u5730\u5740
downloadLabel=\u4e0b\u8f7d
createDateLabel=\u521b\u5efa\u65e5\u671f
updateDateLabel=\u66f4\u65b0\u65e5\u671f
titleLabel=\u6807\u9898
title1Label=\u6807\u9898\uff1a
content1Label=\u6b63\u6587\uff1a
abstract1Label=\u6458\u8981\uff1a
publishLabel=\u53d1\u5e03
unPublishLabel=\u53d6\u6d88\u53d1\u5e03
urlLabel=URL
url1Label=URL (\u8bf7\u4ee5\u534f\u8bae\u5f00\u5934\uff0c\u5982: http://)\uff1a
addLinkLabel=\u6dfb\u52a0\u94fe\u63a5
updateLinkLabel=\u66f4\u65b0\u94fe\u63a5
archiveLabel=\u5b58\u6863
archive1Label=\u5b58\u6863\uff1a
yearLabel=\u5e74
monthLabel=\u6708
blogSyncLabel=\u535a\u5ba2\u540c\u6b65
pageLabel=\u9875\u9762
pageMgmtLabel=\u9875\u9762\u7ba1\u7406
othersLabel=\u5176\u4ed6
fileListLabel=\u6587\u4ef6\u7ba1\u7406
submitUploadLabel=\u4e0a\u4f20
fileNameLabel=\u6587\u4ef6\u540d
paramSettingsLabel=\u53c2\u6570\u8bbe\u7f6e
skinLabel=\u76ae\u80a4
signLabel=\u7b7e\u540d\u6863
sign1Label=\u7b7e\u540d\u6863\uff1a
noSignLabel=\u4e0d\u4f7f\u7528\u7b7e\u540d\u6863
signIsNullLabel=\u8be5\u7b7e\u540d\u6863\u4e3a\u7a7a
statisticLabel=\u535a\u5ba2\u7edf\u8ba1
viewLabel=\u6d4f\u89c8
countLabel=\u7bc7
viewCount1Label=\u6d4f\u89c8\u6b21\u6570\uff1a
articleCount1Label=\u6587\u7ae0\u603b\u6570\uff1a
commentCountLabel=\u8bc4\u8bba\u6570
commentCount1Label=\u8bc4\u8bba\u603b\u6570\uff1a
commentEmotions1Label=\u8868\u60c5\uff1a
commentEmotionsLabel=\u8868\u60c5
commentName1Label=\u59d3\u540d\uff1a
commentNameLabel=\u59d3\u540d
commentEmail1Label=\u90ae\u7bb1\uff1a
commentEmailLabel=\u90ae\u7bb1
commentURL1Label=URL\uff1a
commentURLLabel=URL
commentContent1Label=\u8bc4\u8bba\u5185\u5bb9\uff1a
commentContentLabel=\u8bc4\u8bba\u5185\u5bb9
getDateLabel=\u83b7\u53d6\u65e5\u671f
getArticleLabel=\u83b7\u53d6\u6587\u7ae0
selectDateLabel=\u9009\u62e9\u65e5\u671f
selectDate1Label=\u9009\u62e9\u65e5\u671f\uff1a
importLabel=\u5bfc\u5165
chooseBlog1Label=\u8bf7\u9009\u62e9\u9700\u8981\u7ba1\u7406\u7684\u535a\u5ba2\uff1a
blogArticleImportLabel=\u6587\u7ae0\u5bfc\u5165
blogSyncMgmtLabel=\u535a\u5ba2\u540c\u6b65\u7ba1\u7406
syncMgmtLabel=\u540c\u6b65\u7ba1\u7406\u535a\u5ba2
userName1Label=\u7528\u6237\u540d\uff1a
userPassword1Label=\u5bc6\u7801\uff1a
syncPostLabel=\u540c\u6b65\u53d1\u5e03
syncUpdateLabel=\u540c\u6b65\u66f4\u65b0
syncRemoveLabel=\u540c\u6b65\u5220\u9664
categoryLabel=\u5206\u7c7b
noticeBoard1Label=\u516c\u544a\uff1a
noticeBoardLabel=\u516c\u544a
htmlhead1Label=HTML head\uff1a
indexTagDisplayCnt1Label= \u9996\u9875\u6807\u7b7e\u663e\u793a\u6570\uff1a
indexRecentArticleDisplayCnt1Label=\u6700\u65b0\u6587\u7ae0\u663e\u793a\u6570\u76ee\uff1a
indexRecentCommentDisplayCnt1Label=\u6700\u65b0\u8bc4\u8bba\u663e\u793a\u6570\u76ee\uff1a
indexMostCommentArticleDisplayCnt1Label=\u8bc4\u8bba\u6700\u591a\u6587\u7ae0\u663e\u793a\u6570\u76ee\uff1a
indexMostViewArticleDisplayCnt1Label=\u8bbf\u95ee\u6700\u591a\u6700\u591a\u6587\u7ae0\u663e\u793a\u6570\u76ee\uff1a
relevantArticlesDisplayCnt1Label=\u76f8\u5173\u9605\u8bfb\u663e\u793a\u6570\u76ee\uff1a
randomArticlesDisplayCnt1Label=\u968f\u673a\u9605\u8bfb\u663e\u793a\u6570\u76ee\uff1a
externalRelevantArticlesDisplayCnt1Label=\u7ad9\u5916\u76f8\u5173\u9605\u8bfb\u663e\u793a\u6570\u76ee\uff1a
windowSize1Label=\u5206\u9875\u9875\u7801\u6700\u5927\u5bbd\u5ea6\uff1a
pageSize1Label=\u5206\u9875\u6bcf\u9875\u663e\u793a\u6587\u7ae0\u6570\uff1a
blogTitle1Label=\u535a\u5ba2\u6807\u9898\uff1a
blogSubtitle1Label=\u535a\u5ba2\u5b50\u6807\u9898\uff1a
blogHost1Label=\u535a\u5ba2\u5730\u5740\uff1a
submmitCommentLabel=\u63d0\u4ea4\u8bc4\u8bba
saveLabel=\u4fdd\u5b58
tagLabel=\u6807\u7b7e
tagsLabel=\u6807\u7b7e
importedLabel=\u5df2\u5bfc\u5165
captcha1Label=\u9a8c\u8bc1\u7801\uff1a
captchaLabel=\u9a8c\u8bc1\u7801
clearAllCacheLabel=\u6e05\u9664\u6240\u6709\u9875\u9762\u7f13\u5b58
clearCacheLabel=\u6e05\u9664\u672c\u9875\u7f13\u5b58
indexLabel=\u9996\u9875
nextArticle1Label=\u65b0\u4e00\u7bc7\uff1a
previousArticle1Label=\u65e7\u4e00\u7bc7\uff1a
updatedLabel=\u6709\u66f4\u65b0\uff01
topArticleLabel=\u7f6e\u9876\uff01
CSDNBlogLabel=CSDN \u535a\u5ba2
BlogJavaLabel=BlogJava
CnBlogsLabel=\u535a\u5ba2\u56ed
previousPageLabel=\u4e0a\u4e00\u9875
nextPagePabel=\u4e0b\u4e00\u9875
firstPageLabel=\u7b2c\u4e00\u9875
lastPageLabel=\u6700\u540e\u4e00\u9875
returnTo1Label=\u8fd4\u56de\uff1a
tencentLabel=\u817e\u8baf
appKey1Label=App Key:
appSecret1Label=App Secret:
postToTencentMicroblogWhilePublishArticleLabel=\u53d1\u6587\u7ae0\u65f6\u540c\u6b65\u5230\u817e\u8baf\u5fae\u535a\uff1a
postToCommunityLabel=\u53d1\u5e03\u5230\u793e\u533a\uff1a
authorizeTencentMicroblog1Label=\u70b9\u51fb\u56fe\u6807\u8fdb\u884c\u6388\u6743:
googleLabel=Google
OAuthConsumerSecret1Label=OAuth Consumer Secret\uff1a
atomLabel=Atom
relevantArticles1Label=\u76f8\u5173\u9605\u8bfb\uff1a
randomArticles1Label=\u968f\u673a\u9605\u8bfb\uff1a
externalRelevantArticles1Label=\u7ad9\u5916\u76f8\u5173\u9605\u8bfb\uff1a
metaKeywords1Label=Meta Keywords:
metaDescription1Label=Meta Description:
removeUnusedTagsLabel=\u79fb\u9664\u672a\u4f7f\u7528\u6807\u7b7e
goTopLabel=\u9876\u90e8
permalink1Label=\u94fe\u63a5\uff1a
permalinkLabel=\u94fe\u63a5
welcomeToSoloLabel=\u6b22\u8fce\u4f7f\u7528 B3log Solo\uff01
b3logLabel=<span style="color: orange;">B</span><span style="color: blue;"><sup>3</sup></span><span style="color: green;">L</span><span style="color: red;">O</span><span style="color: blue;">G</span>
killBrowserLabel=<h2>\u8ba9\u6211\u4eec\u653e\u5f03\u4f7f\u7528\u90a3\u4e9b\u8fc7\u65f6\u3001\u4e0d\u5b89\u5168\u7684\u6d4f\u89c8\u5668\u5427\uff01</h2><p>\u4e3a\u4e86\u8ba9\u6d4f\u89c8\u5668\u66f4\u597d\u7684\u53d1\u5c55\uff0c\u4eba\u7c7b\u66f4\u52a0\u7684\u8fdb\u6b65\uff0c\u62e5\u6709\u66f4\u597d\u7684\u4f53\u9a8c\uff0c\u8ba9\u6211\u4eec\u653e\u5f03\u4f7f\u7528\u90a3\u4e9b\u8fc7\u65f6\u3001\u4e0d\u5b89\u5168\u7684\u6d4f\u89c8\u5668\u3002</p>\u60a8\u53ef\u4ee5\u4e0b\u8f7d<ul><li><a href="http://www.mozilla.com/" target="_blank">\u706b\u72d0</a></li><li><a href="http://www.google.com/chrome" target="_blank">\u8c37\u6b4c\u6d4f\u89c8\u5668</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">\u9068\u6e38</a>\u6216\u8005<a href="http://www.google.com" target="_blank">\u5176\u5b83\u6d4f\u89c8\u5668</a>.</li></ul>
readmoreLabel=\u9605\u8bfb\u66f4\u591a\u00bb
readmore2Label=\u9605\u8bfb\u66f4\u591a
replyLabel=\u56de\u590d\u00bb
homeLabel=\u9996\u9875
enableArticleUpdateHint1Label=\u542f\u7528\u6587\u7ae0\u66f4\u65b0\u63d0\u793a\uff1a
allowVisitDraftViaPermalink1Label=\u5141\u8bb8\u901a\u8fc7\u94fe\u63a5\u8bbf\u95ee\u8349\u7a3f\uff1a
author1Label=\u4f5c\u8005\uff1a
authorLabel=\u4f5c\u8005
keyOfSolo1Label=Solo Key\uff1a
articleLabel=\u6587\u7ae0
tagArticlesLabel=\u6807\u7b7e\u6587\u7ae0\u5217\u8868
dateArticlesLabel=\u5b58\u6863\u6587\u7ae0\u5217\u8868
authorArticlesLabel=\u4f5c\u8005\u6587\u7ae0\u5217\u8868
indexArticleLabel=\u9996\u9875\u6587\u7ae0\u5217\u8868
allTagsLabel=\u6807\u7b7e\u5899
customizedPageLabel=\u81ea\u5b9a\u4e49\u9875\u9762
killBrowserPageLabel=Kill Browser Page
pageNumLabel=\u9875\u53f7
####
forbiddenLabel=\u64cd\u4f5c\u88ab\u7981\u6b62\uff01
sorryLabel=\u5bf9\u4e0d\u8d77\uff01
notFoundLabel=\u627e\u4e0d\u5230\uff01
unPulbishSuccLabel=\u53d6\u6d88\u53d1\u5e03\u6210\u529f
unPulbishFailLabel=\u53d6\u6d88\u53d1\u5e03\u5931\u8d25
removeSuccLabel=\u5220\u9664\u6210\u529f
removeFailLabel=\u5220\u9664\u5931\u8d25
removeUserFailSkinNeedMulUsersLabel=\u5220\u9664\u5931\u8d25\uff0c\u5f53\u524d\u4f7f\u7528\u7684\u76ae\u80a4\u9700\u8981\u591a\u7528\u6237\u652f\u6301
putTopSuccLabel=\u7f6e\u9876\u6210\u529f
putTopFailLabel=\u7f6e\u9876\u5931\u8d25
cancelTopSuccLabel=\u53d6\u6d88\u7f6e\u9876\u6210\u529f
cancelTopFailLabel=\u53d6\u6d88\u7f6e\u9876\u5931\u8d25
addSuccLabel=\u6dfb\u52a0\u6210\u529f
addFailLabel=\u6dfb\u52a0\u5931\u8d25
updateSuccLabel=\u66f4\u65b0\u6210\u529f
updateFailLabel=\u66f4\u65b0\u5931\u8d25
updatePreferenceFailLabel=\u66f4\u65b0\u5931\u8d25\uff0c\u8bf7\u4ed4\u7ec6\u68c0\u67e5\u201c\u535a\u5ba2\u5730\u5740\u201d\u7684\u914d\u7f6e\u662f\u5426\u6b63\u786e
updatePreferenceFailNeedMulUsersLabel=\u66f4\u65b0\u5931\u8d25\uff0c\u9700\u8981\u591a\u7528\u6237\u624d\u80fd\u4f7f\u7528\u9009\u62e9\u7684\u76ae\u80a4
setFailLabel=\u8bbe\u7f6e\u5931\u8d25
setSuccLabel=\u8bbe\u7f6e\u6210\u529f
getFailLabel=\u83b7\u53d6\u5931\u8d25
noSettingLabel=\u8be5\u535a\u5ba2\u65e0\u8d26\u53f7\uff0c\u8bf7\u6dfb\u52a0
getSuccLabel=\u83b7\u53d6\u6210\u529f
importSuccLabel=\u5bfc\u5165\u6210\u529f :-)
importFailLabel=\u90e8\u5206\u5bfc\u5165\u5931\u8d25 %>_<%
noCommentLabel=\u6682\u65e0\u8bc4\u8bba
captchaErrorLabel=\u9a8c\u8bc1\u7801\u9519\u8bef
inputErrorLabel=\u8f93\u5165\u9519\u8bef\uff01
gotoLabel=\u8df3\u8f6c
nameEmptyLabel=\u59d3\u540d\u4e0d\u80fd\u4e3a\u7a7a\uff01
passwordEmptyLabel=\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a\uff01
blogEmptyLabel=\u8bf7\u9009\u62e9\u535a\u5ba2\u670d\u52a1\uff01
blogArticleEmptyLabel=\u8bf7\u9009\u62e9\u9700\u8981\u5bfc\u5165\u7684\u6587\u7ae0
nameTooLongLabel=\u59d3\u540d\u53ea\u80fd\u4e3a 2 \u5230 20 \u4e2a\u5b57\u7b26\uff01
mailCannotEmptyLabel=\u90ae\u7bb1\u4e0d\u80fd\u4e3a\u7a7a\uff01
mailInvalidLabel=\u90ae\u7bb1\u683c\u5f0f\u4e0d\u6b63\u786e\uff01
commentContentCannotEmptyLabel=\u8bc4\u8bba\u5185\u5bb9\u53ea\u80fd\u4e3a 2 \u5230 500 \u4e2a\u5b57\u7b26\uff01
captchaCannotEmptyLabel=\u9a8c\u8bc1\u7801\u4e0d\u80fd\u4e3a\u7a7a\uff01
loadingLabel=\u8f7d\u5165\u4e2d....
titleEmptyLabel=\u6807\u9898\u4e0d\u80fd\u4e3a\u7a7a\uff01
contentEmptyLabel=\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a\uff01
orderEmptyLabel=\u5e8f\u53f7\u4e0d\u80fd\u4e3a\u7a7a\uff01
abstractEmptyLabel=\u6458\u8981\u4e0d\u80fd\u4e3a\u7a7a\uff01
tagsEmptyLabel=\u6807\u7b7e\u4e0d\u80fd\u4e3a\u7a7a\uff01
addressEmptyLabel=\u5730\u5740\u4e0d\u80fd\u4e3a\u7a7a\uff01
noAuthorizationURLLabel=\u4ece Google \u83b7\u53d6\u6388\u6743\u5730\u5740\u5931\u8d25\uff0c\u8bf7\u786e\u8ba4\u60a8\u8f93\u5165\u7684 \
<em>Consumer Secret</em> \u662f\u6b63\u786e\u7684\uff0c\u7136\u540e\u8fdb\u884c\u91cd\u8bd5\u3002
exceedMaxUploadSizeLabel=\u76ee\u524d\u53ea\u80fd\u4e0a\u4f20\u5c0f\u4e8e 1M \u7684\u6587\u4ef6 :-(
uploadFailLabel=\u4e0a\u4f20\u5931\u8d25\uff01
fileEmptyLabel=\u6587\u4ef6\u4e3a\u7a7a\uff01
duplicatedPermalinkLabel=\u94fe\u63a5\u91cd\u590d\uff01
invalidPermalinkFormatLabel=\u975e\u6cd5\u7684\u94fe\u63a5\u683c\u5f0f\uff01
duplicatedEmailLabel=\u90ae\u4ef6\u5730\u5740\u91cd\u590d\uff01
canntBeLocalhostOnProductionLabel=GAE \u73af\u5883\u4e0a\u8bf7\u52ff\u6307\u5b9a\u535a\u5ba2\u5730\u5740\u4e3a localhost\uff01
refreshAndRetryLabel=\u8bf7\u5237\u65b0\u91cd\u8bd5\uff01
noDataLable=\u65e0\u6570\u636e
editorLeaveLabel=\u7f16\u8f91\u5668\u4e2d\u8fd8\u6709\u5185\u5bb9\uff0c\u662f\u5426\u79bb\u5f00\uff1f
editorPostLabel=\u7f16\u8f91\u5668\u4e2d\u8fd8\u6709\u5185\u5bb9\uff0c\u662f\u5426\u6e05\u7a7a\uff1f
####
confirmRemoveLabel=\u786e\u5b9a\u5220\u9664\uff1f
confirmInitLabel=\u786e\u5b9a\u8fdb\u884c\u521d\u59cb\u5316\u5417\uff1f
###by noday.net
breadcrumbNaviLabel=\u60a8\u7684\u4f4d\u7f6e\uff1a
homeLabel=\u9996\u9875
noArticleTitleLabel=\u8fd9\u91cc\u8fd8\u6ca1\u6709\u6587\u7ae0
noArticleContentLabel=\u8fd9\u91cc\u8fd8\u6ca1\u6709\u6587\u7ae0\uff0c\u60a8\u53ef\u4ee5\u8054\u7cfb\u7ba1\u7406\u5458\u6dfb\u52a0\u3002
###by ansen.org
Repeatedlyrefresh1=\u4f60\u6765\u4e86\u597d\u591a\u6b21\u3002\u65b0\u670b\u53cb\uff1f\u8001\u670b\u53cb\uff1f\u5f88\u5e0c\u671b\u4f60\u80fd\u7559\u4e0b\u81ea\u5df1\u7684\u770b\u6cd5\uff0c\u5982\u679c\u4f60\u613f\u610f\u8ba2\u9605\u6211\u7684
Repeatedlyrefresh2=\u5c31\u66f4\u597d\u4e86\uff01
Repeatedlyrefresh3=\u5173\u95ed\u63d0\u793a
FeedaDDress=\u5730\u5740
XianGuo=\u9c9c\u679c
XianGuoReader=\u9c9c\u679c\u9605\u8bfb\u5668
Collection=\u52a0\u5165\u6536\u85cf\u5931\u8d25\uff0c\u8bf7\u4f7f\u7528 Ctrl+D \u8fdb\u884c\u6dfb\u52a0
ClickToDisplay=\u70b9\u51fb\u663e\u793a
AmbiguousArticle=\u66a7\u6627\u6587\u7ae0
QQBookmarks=QQ\u4e66\u7b7e
BaiduFavorites=\u767e\u5ea6\u6536\u85cf
FanFou=\u996d\u5426
ClickToReply=\u70b9\u51fb\u56de\u590d
Required=\u5fc5\u586b
Secrecy=\u4fdd\u5bc6
WithYou=\u968f\u60a8
QuickSubmission=\u652f\u6301Ctrl+Enter\u5feb\u6377\u63d0\u4ea4
Endnotes1=\u5df2\u90e8\u7f72"\u767d\u5fd9\u6d3b" Anti-Spam \u7cfb\u7edf\uff0c\u732a\u8089 Spammer \u8bf7\u6ce8\u610f\u67e5\u770b\u6e90\u4ee3\u7801\u94fe\u63a5\u5904\u3002
Endnotes2=\u672c\u7ad9\u4e0d\u4f1a\u6cc4\u9732\u60a8\u7684\u90ae\u4ef6\u5730\u5740\uff0c\u656c\u8bf7\u653e\u5fc3\u3002
Endnotes3=\u8bf7\u6ce8\u610f: \u5e26\u6709 \u5e7f\u544a(\u94fe)\u3001\u4e0d\u5065\u5eb7\u3001\u6216\u8005 \u4ea7\u54c1\u540d\u5b57 \u7684\u8bc4\u8bba\u4e00\u5f8b\u89c6\u4e3aspam.
Endnotes4=\u652f\u6301\u5e38\u7528 HTML \u4ee3\u7801\u8c03\u7528\uff0c\u63d2\u5165 HTML \u4ee3\u7801\u9700\u6ce8\u610f\uff1a
Endnotes5=\u4ec5\u5f53\u67d0\u4eba\u9488\u5bf9\u60a8\u7684\u8bc4\u8bba\u505a\u51fa\u56de\u5e94\u65f6\uff0c\u60a8\u624d\u4f1a\u6536\u5230\u7531\u672c\u7ad9\u53d1\u51fa\u7684\u901a\u77e5\u4fe1\u4ef6\u3002
Endnotes6=\u5982\u60a8\u5e0c\u671b\u4ee5\u76f8\u540c\u65b9\u5f0f\u901a\u77e5\u67d0\u4f4d\u7f51\u53cb\uff0c\u8bf7\u70b9\u51fb
Endnotes7=\u6309\u94ae\uff0c\u6216\u81ea\u884c\u8f93\u5165
Endnotes8=@\u5bf9\u65b9\u540d\u5b57:
Endnotes9=\u9f20\u6807\u79fb\u81f3\u8bc4\u8bba\u5217\u8868\u4e2d\u7684 @someone: \u533a\u57df\u5373\u53ef\u81ea\u52a8\u663e\u793a someone \u7684\u8bc4\u8bba\u5185\u5bb9\u3002
TitelNO=\u00bb
TitelNO1=\u00ab

168
Shawn/macro-comments.ftl Normal file
View File

@@ -0,0 +1,168 @@
<#macro comments commentList article>
<div id="ajax_comments_wrapper">
<div class="comstyle">
${commentList?size}&nbsp;Comments<span>&nbsp;Contributed by Visitors</span>
</div>
<div id="comments">
<div>
<ol class="commentlist">
<#list commentList as comment>
<li id="${comment.oId}">
<cite>
<img data-id="${comment.oId}" onclick="replyTo('${comment.oId}')"
class="atreply"
title="${ClickToReply} ${comment.commentName}"
src="${staticServePath}/skins/${skinDirName}/images/reply.png"
alt="rebutton"
width="20"
height="16"
style="display: none;" />
<#if "http://" == comment.commentURL>
${comment.commentName}
<#else>
<a class="url" rel="external nofollow" href="${comment.commentURL}">${comment.commentName}</a>
</#if> /
<small>${comment.commentDate?string("HH:mm:ss")}&nbsp;@&nbsp;${comment.commentDate?string("yyyy-MM-dd")}</small>
</cite>
<span class="cmntcnt ${comment.commentName}">
<a href="#${comment.oId}">${commentList?size - comment_index}#</a>
</span>
<div class="lovatar">
<img src="${comment.commentThumbnailURL}" alt="leehow" class="gravatar" width="48" height="48" />
</div>
<div class="list">
<p>
<#if comment.isReply>
<a class="replybox" href="#${comment.commentOriginalCommentId}">
@${comment.commentOriginalCommentName}</a>
<br>
</#if>
${comment.commentContent}
</p>
</div>
</li>
</#list>
</ol>
</div>
</div>
<#if article.commentable>
<div id="respond" class="comstyle">Leave <span>Comments</span> Here...</div>
<div id="commentForm" class="reply">
<div class="friendly">
<p>
<label>
${commentNameLabel}
</label>
<input type="text" id="commentName" class="text" size="22" tabindex="1" />
<span class="tips">${Required}</span>
</p>
<p>
<label>
${commentEmailLabel}
</label>
<input type="text" id="commentEmail" class="text" size="22" tabindex="1" />
<span class="tips">${Required}&amp;${Secrecy}</span>
</p>
<p>
<label>
${commentURLLabel}
</label>
<input type="text" id="commentURL" class="text" size="22" tabindex="1" />
<span class="tips">${WithYou}</span>
</p>
<p id="checkarea">
<label>
Code
</label>
<input type="text" id="commentValidate" class="text" />
<span class="tips" style="background: none;border: none;">
<img id="captcha" alt="validate" src="${staticServePath}/captcha.do" />
</span>
</p>
</div>
<p>
<textarea rows="10" id="comment" name="comment" cols="100%" tabindex="4" onkeyup="javascript:return ctrlEnter(event);"></textarea>
<span class="tips" style="white-space: nowrap; top: 93px; left: 506px;">${QuickSubmission}</span>
</p>
<p>
<button id="submitCommentButton" onclick="page.submitComment();"
style="border-radius: 7px; margin-top: 12px;">
${submmitCommentLabel}
</button>
<span id="commentErrorTip"></span>
</p>
</div>
<#else>
<div id="respond" class="comstyle">The <span>Comments</span> Closed...</div>
</#if>
<ul class="endnotes">
<li>${Endnotes1}</li>
<li>${Endnotes2}</li>
<li>${Endnotes3}</li>
<li>${Endnotes4}<code style="padding:2px 5px">&lt; = &amp;lt;</code>,<code style="padding:2px 5px">&gt; = &amp;gt;</code> .</li>
<li>${Endnotes5}</li>
<li>${Endnotes6} <img src="${staticServePath}/skins/${skinDirName}/images/reply.png" width="20" height="16" alt="Reply" style="vertical-align:middle"> ${Endnotes7} <code style="padding:2px 5px">${Endnotes8}</code>.</li>
<li>${Endnotes9}</li>
</ul>
</div>
</#macro>
<#macro comment_script oId>
<script type="text/javascript" src="${staticServePath}/js/page${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
<script type="text/javascript">
var page = new Page({
"nameTooLongLabel": "${nameTooLongLabel}",
"mailCannotEmptyLabel": "${mailCannotEmptyLabel}",
"mailInvalidLabel": "${mailInvalidLabel}",
"commentContentCannotEmptyLabel": "${commentContentCannotEmptyLabel}",
"captchaCannotEmptyLabel": "${captchaCannotEmptyLabel}",
"captchaErrorLabel": "${captchaErrorLabel}",
"loadingLabel": "${loadingLabel}",
"oId": "${oId}",
"skinDirName": "${skinDirName}",
"blogHost": "${blogHost}",
"randomArticles1Label": "${randomArticles1Label}",
"externalRelevantArticles1Label": "${externalRelevantArticles1Label}"
});
var addComment = function (result, state) {
var name = result.replyNameHTML;
if ($("#commentURL" + state).val().replace(/\s/g, "") === "") {
name = $("#commentName" + state).val();
}
var commentHTML = '<ol class="commentlist">'
+ '<li class="alt altline">'
+ '<cite>' + name +
'&nbsp;/&nbsp;<small>' + result.commentDate.substr(11, 8) + '&nbsp;@&nbsp;' + result.commentDate.substring(0, 10) + '</small></cite>'
+ '<div class="lovatar">'
+ '<img src="' + result.commentThumbnailURL
+ '" alt="leehow" class="gravatar" width="48" height="48">'
+ '</div>'
+ '<div class="list">'
+ '<p>'
+ Util.replaceEmString($("#comment" + state).val().replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/\n/g,"<br/>"))
+ '</p>'
+ '</div></li></ol>';
return commentHTML;
}
var replyTo = function (id) {
var commentFormHTML = "<div class='reply' id='replyForm'>";
page.addReplyForm(id, commentFormHTML, "</div>");
$("#replyForm span").fadeOut("fast");
$("#commentErrorTipReply").fadeIn("fast");
$("#replyForm input,#replyForm textarea").focus(function() {
$(this).next("span").fadeIn("fast")
}),
$("#replyForm input,#replyForm textarea").blur(function() {
$(this).next("span").fadeOut("fast")
});
};
(function () {
page.load();
<#nested>
})();
</script>
</#macro>

24
Shawn/macro-head.ftl Normal file
View File

@@ -0,0 +1,24 @@
<#macro head title>
<meta charset="utf-8" />
<title>${title}</title>
<#nested>
<meta name="author" content="B3log Team" />
<meta name="generator" content="B3log" />
<meta name="copyright" content="B3log" />
<meta name="revised" content="B3log, ${year}" />
<meta http-equiv="Window-target" content="_top" />
<link href="blog-articles-feed.do" title="ATOM" type="application/atom+xml" rel="alternate" />
<link rel="icon" type="image/png" href="${staticServePath}/favicon.png" />
<meta name="author" content="Shawn" />
<link rel="canonical" href="${blogHost}" />
<link rel="stylesheet" type="text/css" href="${staticServePath}/skins/${skinDirName}/css/style${miniPostfix}.css?${staticResourceVersion}" media="all" />
<script type="text/javascript" src="${staticServePath}/js/lib/jquery/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript">
jQuery(document).ready(function($){
$('#wgNotice').css('width',$(window).width() - $('#wgSNS').outerWidth() -40);
$("#wgNotice li:gt(0)").css("display","none");var B=$("#wgNotice li:last");var C=$("#wgNotice li:first");setInterval(function(){if(B.is(":visible")){C.fadeIn(500).addClass("in");B.hide()}else{$("#wgNotice li:visible").addClass("in");$("#wgNotice li.in").next().fadeIn(500);$("#wgNotice li.in").hide().removeClass("in")}},5000);
});
function addFavorite(){if(document.all){try{window.external.addFavorite(window.location.href,document.title)}catch(e){alert("${Collection}")}}else if(window.sidebar){window.sidebar.addPanel(document.title,window.location.href,"")}else{alert("${Collection}")}}
</script>
${htmlHead}
</#macro>

49
Shawn/page.ftl Normal file
View File

@@ -0,0 +1,49 @@
<#include "macro-head.ftl">
<#include "macro-comments.ftl">
<!DOCTYPE html>
<html>
<head>
<@head title="${page.pageTitle} - ${blogTitle}">
<meta name="keywords" content="${metaKeywords},${page.pageTitle}" />
<meta name="description" content="${metaDescription}" />
</@head>
</head>
<body>
${topBarReplacement}
<div id="loading" style="display: none; "></div>
<div id="page">
<#include "header.ftl">
<div id="content">
<div class="post">
<div class="entry">
<div class="article-body">
${page.pageContent}
</div>
<div id="postail" style="border-top-left-radius: 7px 7px; border-top-right-radius: 7px 7px; border-bottom-right-radius: 7px 7px; border-bottom-left-radius: 7px 7px; position: relative; zoom: 1; ">
<div style="display: inherit">
<canvas width="7px" height="7px" style="position:absolute;top:-2px;left:-2px;"></canvas>
<canvas width="7px" height="7px" style="position:absolute;top:-2px;right:-2px;"></canvas>
<canvas width="7px" height="7px" style="position:absolute;bottom:-2px;left:-2px;"></canvas>
<canvas width="7px" height="7px" style="position:absolute;bottom:-2px;right:-2px;"></canvas>
</div>
</div>
<div id="share">
<ul style="display: none; top: -225px; opacity: 0; ">
<li onclick="window.open('http://shuqian.qq.com/post?title=${page.pageTitle}%26uri=${blogHost}${page.pagePermalink}');return false">${QQBookmarks}</li>
<li onclick="window.open('http://del.icio.us/post?url%3D${blogHost}${page.pagePermalink}%26title=${page.pageTitle}');return false">Del.icio.us</li>
<li onclick="window.open('http://cang.baidu.com/do/add?it%3D${page.pageTitle}%26iu=${blogHost}${page.pagePermalink}%26dc%3D%26fr%3Dien#nw%3D1');return false">${BaiduFavorites}</li>
<li onclick="window.open('http://www.google.com/bookmarks/mark?op%3Dedit%26bkmk%3D${blogHost}${page.pagePermalink}%26title%3D${page.pageTitle}');return false">Google</li>
<li onclick="window.open('http://fanfou.com/sharer?u%3D${blogHost}${page.pagePermalink}%26t%3D${page.pageTitle}');return false">${FanFou}</li>
<li onclick="window.open('http://friendfeed.com/share?url=${blogHost}${page.pagePermalink}%26title%3D${page.pageTitle}');return false">FriendFeed</li>
</ul>
</div>
</div>
</div>
<@comments commentList=pageComments article=page></@comments>
</div>
<#include "side.ftl">
<#include "footer.ftl">
</div>
<@comment_script oId=page.oId></@comment_script>
</body>
</html>

BIN
Shawn/preview.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

132
Shawn/side.ftl Normal file
View File

@@ -0,0 +1,132 @@
<div id="sidebar">
<ul>
<li class="rssfeed">
<a rel="external nofollow" href="${staticServePath}/blog-articles-feed.do" title="Feed ${FeedaDDress}${blogHost}${staticServePath}/blog-articles-feed.do">
<img src="${staticServePath}/skins/${skinDirName}/images/rss.png" width="64" height="64" alt="Subscribe" style="opacity: 0.7; " />
</a>
<a rel="external nofollow" href="http://fusion.google.com/add?feedurl=${blogHost}${staticServePath}/blog-articles-feed.do" title="Google Reader">
<span style="color:#1B4EBE">G</span><span style="color:#D42609">o</span><span style="color:#E8B801">o</span><span style="color:#1B4EBE">g</span><span style="color:#1DA224;font-size:13px">l</span><span style="color:#D42609">e</span>
</a> |
<a rel="external nofollow" href="http://xianguo.com/subscribe?url=http%3A%2F%2F${blogHost}%2Fblog-articles-feed.do" title="${XianGuoReader}">
<span style="color:#ff6600">${XianGuo}</span>
</a>
</li>
</ul>
<#if "" != noticeBoard>
<ul>
<li>
<span class="side">~Notice</span>
<ul>
<span>${noticeBoard}</span>
</ul>
</li>
</ul>
</#if>
<#if 0 != recentComments?size>
<ul>
<li>
<span class="side">~Comments</span>
<ul>
<#list recentComments as comment>
<li class="commentsli">
${comment.commentName}&nbsp:&nbsp;<a href="${comment.commentSharpURL}" title="${comment.commentContent}">${comment.commentContent}</a>
</li>
</#list>
</ul>
</li>
</ul>
</#if>
<#if 0 != mostViewCountArticles?size>
<ul>
<li>
<span class="side">~Hot</span>
<ul>
<#list mostViewCountArticles as article>
<li>
<a href="${article.articlePermalink}" title="${article.articleTitle}">${article.articleTitle} - ${article.articleViewCount}</a>
</li>
</#list>
</ul>
</li>
</ul>
</#if>
<#if 0 != mostUsedTags?size>
<ul>
<li>
<span class="side">~Tags</span>
<ul id="widget_tag_cloud">
<#list mostUsedTags as tag>
<a data-count="${tag.tagPublishedRefCount}" title="${tag.tagTitle}(${tag.tagPublishedRefCount})"
href="${staticServePath}/tags/${tag.tagTitle?url('UTF-8')}">${tag.tagTitle}</a>
</#list>
</ul>
<!-- color tag -->
<script type="text/javascript">
$("#widget_tag_cloud a").each(function (i) {
this.style.color = randomColor()
});
function randomColor() {
var arrHex = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"];
var strHex = "#";
var index;
for (var i = 0; i < 6; i++) {
index = Math.round(Math.random() * 15);
strHex += arrHex[index];
}
return strHex;
}
</script>
</li>
</ul>
</#if>
<#if 0 != mostCommentArticles?size>
<ul>
<li>
<span class="side">~Most</span>
<ul>
<#list mostCommentArticles as article>
<li>
<a href="${article.articlePermalink}" title = "${article.articleTitle}">${article.articleTitle} - ${article.articleCommentCount}</a>
</li>
</#list>
</ul>
</li>
</ul>
</#if>
<#if 0 != links?size>
<ul>
<li>
<span class="side">~Links</span>
<ul class="outter">
<#list links as link>
<li style="opacity: 0.7;">
<a href="${link.linkAddress}" title ="${link.linkTitle}" style="background:url(http://www.google.com/s2/favicons?domain_url=${link.linkAddress}) no-repeat 0 center;padding:2px 0 2px 20px" target="_blank">${link.linkTitle}</a>
</li>
</#list>
</ul>
</li>
</ul>
</#if>
<#if 0 != archiveDates?size>
<ul>
<li>
<span class="side">~Archives</span>
<ul>
<#list archiveDates as archiveDate>
<li>
<#if "en" == localeString?substring(0, 2)>
<a href="${staticServePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}" title="${archiveDate.monthName} ${archiveDate.archiveDateYear}(${archiveDate.archiveDatePublishedArticleCount})">${archiveDate.monthName} ${archiveDate.archiveDateYear}</a>(${archiveDate.archiveDatePublishedArticleCount})
<#else>
<a href="${staticServePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}" title="${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}(${archiveDate.archiveDatePublishedArticleCount})">${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}</a>(${archiveDate.archiveDatePublishedArticleCount})
</#if>
</li>
</#list>
</ul>
</li>
</ul>
</#if>
</div>
<div class="clear"></div>

26
Shawn/skin.properties Normal file
View File

@@ -0,0 +1,26 @@
#
# Copyright (C) 2009, 2010, 2011, B3log Team
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# Description: NeoEase skin.
# Version: 1.0.0.1, Sep 3, 2011
# Author: Liyuan Li
#
name=Shawn
version=1.0.0
forSolo=0.3.1
memo=http://shawnster.org/

29
Shawn/tag-articles.ftl Normal file
View File

@@ -0,0 +1,29 @@
<#include "macro-head.ftl">
<!DOCTYPE html>
<html>
<head>
<@head title="${tag.tagTitle} - ${blogTitle}">
<meta name="keywords" content="${metaKeywords},${tag.tagTitle}"/>
<meta name="description" content="<#list articles as article>${article.articleTitle}<#if article_has_next>,</#if></#list>"/>
</@head>
</head>
<body>
${topBarReplacement}
<div id="loading" style="display: none; "></div>
<div id="page">
<#include "header.ftl">
<div id="content">
<h2 class="pagetitle">
<a href="${staticServePath}/tag-articles-feed.do?oId=${tag.oId}" class="feed-ico">
${tag1Label}
${tag.tagTitle}
(${tag.tagPublishedRefCount})
</a>
</h2>
<#include "article-list.ftl">
</div>
<#include "side.ftl">
<#include "footer.ftl">
</div>
</body>
</html>

35
Shawn/tags.ftl Normal file
View File

@@ -0,0 +1,35 @@
<#include "macro-head.ftl">
<!DOCTYPE html>
<html>
<head>
<@head title="${allTagsLabel} - ${blogTitle}">
<meta name="keywords" content="${metaKeywords},${allTagsLabel}"/>
<meta name="description" content="<#list tags as tag>${tag.tagTitle}<#if tag_has_next>,</#if></#list>"/>
</@head>
</head>
<body>
${topBarReplacement}
<div id="loading" style="display: none; "></div>
<div id="page">
<#include "header.ftl">
<div id="content">
<ul id="tags" class="tags">
<#list tags as tag>
<li>
<a data-count="${tag.tagPublishedRefCount}"
href="${staticServePath}/tags/${tag.tagTitle?url('UTF-8')}" title="${tag.tagTitle}">
<span>${tag.tagTitle}</span>
(<b>${tag.tagPublishedRefCount}</b>)
</a>
</li>
</#list>
</ul>
</div>
<#include "side.ftl">
<#include "footer.ftl">
</div>
<script type="text/javascript">
Util.buildTags()
</script>
</body>
</html>