Created
March 14, 2011 22:52
-
-
Save ETBlue/870036 to your computer and use it in GitHub Desktop.
preview-comment-step-8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<b:if cond='data:blog.pageType != "item"'> | |
<b:if cond='data:blog.pageType != "static_page"'> | |
<b:if cond='data:post.allowComments'> | |
<b:if cond='data:post.numComments == 0'> | |
<a class='comment-link' expr:href='data:post.addCommentUrl'>留下回應</a> | |
<b:else/> | |
<a class='comment-preview' expr:onclick='"var comments= \"" +data:post.id+ "_comment-preview\"; var url=\"" +data:post.addCommentUrl+ "\"; $(\"#\"+comments).toggle(); $(\".\"+comments).load(url+ \" #Blog1_comments-block-wrapper\");"' href='javascript:void(0)' title='預覽回應 preview comments'> | |
預覽 <b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if></a> | |
</b:if> | |
</b:if> | |
</b:if> | |
</b:if> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment