z-blog默認(rèn)主題的模板b_article_comment.html中
<ul class="msg"> <li class="msgname"><span class="comment-quote-icon"><a onclick="InsertQuote(this.parentNode.parentNode.parentNode.getElementsByTagName('a')[2].innerHTML,this.parentNode.parentNode.parentNode.getElementsByTagName('li')[2].innerHTML);return false;" href=""><img src="<#ZC_BLOG_HOST#>image/common/quote.gif" height="9" width="9" alt="quote" title="quote" /></a></span> <a name="cmt<#article/comment/id#>"><#article/comment/count#></a>.<a><#article/comment/name#></a></li> <li class="msgurl"><a href="<#article/comment/urlencoder#>" rel="nofollow" target="_blank"><#article/comment/url#></a></li> <li class="msgarticle"><#article/comment/content#></li> <li class="msgtime"><#article/comment/posttime#> <a href="#comment" onclick="RevertComment('<#article/comment/id#>')"><#ZC_MSG265#></a></li></ul>
要把其格式改成如下結(jié)構(gòu),z-blog引用評論的按鈕要如何寫呢?:
<div class="msg"><cite>評論者</cite><blockquote>評論內(nèi)容</blockquote><p>網(wǎng)站</p><p>時(shí)間</p></div>
修改后的代碼
<div class="msg"><a onclick="InsertQuote(this.parentNode.getElementsByTagName('CITE')[0].innerHTML,this.parentNode.getElementsByTagName('BLOCKQUOTE')[0].innerHTML);return false;" href="#comment">引用</a><cite>評論者</cite><blockquote>評論內(nèi)容</blockquote><p>網(wǎng)站</p><p>時(shí)間</p></div>
新聞熱點(diǎn)
疑難解答
圖片精選