' +
Util.replaceEmString($("#comment" + state).val().replace(//g, ">").replace(/\n/g," "))
diff --git a/community/macro-comments.ftl b/community/macro-comments.ftl
index 360def9..f4a421f 100644
--- a/community/macro-comments.ftl
+++ b/community/macro-comments.ftl
@@ -155,7 +155,7 @@
var addComment = function (result, state) {
var commentHTML = '
'
- + '
' + result.replyNameHTML;
if (state !== "") {
diff --git a/ease/css/ease.min.css b/ease/css/ease.min.css
index ba1b26f..2d5fee9 100644
--- a/ease/css/ease.min.css
+++ b/ease/css/ease.min.css
@@ -1,3 +1,18 @@
+/**
+ * Copyright (c) 2009, 2010, 2011, 2012, 2013, 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.
+ */
html,body,div,ul,li{margin:0;padding:0}
body{font-family:Verdana,arial,'\5fae\8f6f\96c5\9ed1';font-size:12px;background-color:#fcfcfc}
::selection{background-color:#d5d5d5;color:#fcfcfc}
diff --git a/ease/js/ease.min.js b/ease/js/ease.min.js
index f66545c..3d10e04 100644
--- a/ease/js/ease.min.js
+++ b/ease/js/ease.min.js
@@ -1 +1,16 @@
+/*
+ * Copyright (c) 2009, 2010, 2011, 2012, 2013, 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.
+ */
var goTranslate=function(){window.open("http://translate.google.com/translate?sl=auto&tl=auto&u="+location.href)};var getNextPage=function(){var $more=$(".article-next");currentPage+=1;var path="/articles/";if($("#tag").length===1){var pathnames=location.pathname.split("/");path="/articles/tags/"+pathnames[pathnames.length-1]+"/"}else if($("#archive").length===1){var pathnames=location.pathname.split("/");path="/articles/archives/"+pathnames[pathnames.length-2]+"/"+pathnames[pathnames.length-1]+"/"}else if($("#author").length===1){var pathnames=location.pathname.split("/");path="/articles/authors/"+pathnames[pathnames.length-1]+"/"}$.ajax({url:latkeConfig.servePath+path+currentPage,type:"GET",beforeSend:function(){$more.css("background","url("+latkeConfig.staticServePath+"/skins/ease/images/ajax-loader.gif) no-repeat scroll center center #fefefe")},success:function(result,textStatus){if(!result.sc){return}var articlesHTML="",pagination=result.rslts.pagination;for(var i=0;i'+'
")) diff --git a/community/macro-comments.ftl b/community/macro-comments.ftl index 360def9..f4a421f 100644 --- a/community/macro-comments.ftl +++ b/community/macro-comments.ftl @@ -155,7 +155,7 @@ var addComment = function (result, state) { var commentHTML = '
"+''+article.articleTitle+"";if(article.hasUpdated){articlesHTML+=""+Label.updatedLabel+""}if(article.articlePutTop){articlesHTML+=""+Label.topArticleLabel+""}articlesHTML+="
"+'"+years[j]+"
"+monthsHTML+"${commentLabel}
"); var commentHTML = '-
Admin
+
Admin
<#list pageNavigations as page>
${page.pageTitle}
#list>
diff --git a/mobile/macro-comments.ftl b/mobile/macro-comments.ftl
index e9441cf..314fd84 100644
--- a/mobile/macro-comments.ftl
+++ b/mobile/macro-comments.ftl
@@ -90,94 +90,97 @@
<#macro comment_script oId>
diff --git a/neoease/macro-comments.ftl b/neoease/macro-comments.ftl
index 507196c..b894185 100644
--- a/neoease/macro-comments.ftl
+++ b/neoease/macro-comments.ftl
@@ -132,7 +132,7 @@
oddEven = "comment-even";
}
var commentHTML = '
' + result.replyNameHTML;
if (state !== "") {
diff --git a/owmx-3.0/macro-comments.ftl b/owmx-3.0/macro-comments.ftl
index b4791e9..82e44a6 100644
--- a/owmx-3.0/macro-comments.ftl
+++ b/owmx-3.0/macro-comments.ftl
@@ -136,7 +136,7 @@
var addComment = function (result, state) {
var commentHTML = ''
- + '![' + $(]()

' + result.replyNameHTML;
commentHTML += ' ' + result.commentDate;
diff --git a/timeline/macro-comments.ftl b/timeline/macro-comments.ftl
index 4a63513..d2a2710 100644
--- a/timeline/macro-comments.ftl
+++ b/timeline/macro-comments.ftl
@@ -118,7 +118,7 @@
var addComment = function(result, state) {
var commentHTML = '
' + result.replyNameHTML;
if (state !== "") {
diff --git a/tree-house/macro-comments.ftl b/tree-house/macro-comments.ftl
index 9c9c684..cc459fd 100644
--- a/tree-house/macro-comments.ftl
+++ b/tree-house/macro-comments.ftl
@@ -159,7 +159,7 @@
commentHTML += '' + result.commentDate
+ ' ${replyLabel}'
- + ' ![' + $(]()
'
+ ''
+ Util.replaceEmString($("#comment" + state).val().replace(//g, ">").replace(/\n/g,"
"))