将所有.comments样式替换表情
This commit is contained in:
parent
a90b430886
commit
849e4dd410
@ -11,8 +11,15 @@ var bootstyle = {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
setCommentEmotions:function(){
|
||||||
|
// comments emotions
|
||||||
|
$(".comments").each(function(){
|
||||||
|
$(this).html(Util.replaceEmString($(this).html()));
|
||||||
|
});
|
||||||
|
},
|
||||||
init:function(){
|
init:function(){
|
||||||
this.setNavCurrent();
|
this.setNavCurrent();
|
||||||
|
this.setCommentEmotions();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
$(function(){
|
$(function(){
|
||||||
|
@ -8,12 +8,12 @@
|
|||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if 0 != recentComments?size>
|
<#if 0 != recentComments?size>
|
||||||
<section class="widget-2 widget">
|
<section id="widget_recent_comments" class="widget-2 widget comments">
|
||||||
<div class="widget-inner"><h4>${recentCommentsLabel}</h4>
|
<div class="widget-inner"><h4>${recentCommentsLabel}</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<#list recentComments as comment>
|
<#list recentComments as comment>
|
||||||
<li class="recentcomments">
|
<li class="recentcomments">
|
||||||
<a target="_blank" rel="external nofollow" href="${comment.commentURL}" class="url">${comment.commentName}</a>
|
<a target="_blank" rel="external nofollow" href="${comment.commentURL}" class="url">${comment.commentName}:</a>
|
||||||
<a rel="external nofollow" class=" breakline url" href="${comment.commentSharpURL}">
|
<a rel="external nofollow" class=" breakline url" href="${comment.commentSharpURL}">
|
||||||
${comment.commentContent}
|
${comment.commentContent}
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user