|
@@ -223,7 +223,7 @@
|
|
|
<div class="readCount"><div><span>阅读 <em>${content.view_count!'0'}</em></span><span> <img src="/jpress/static/jpress/admin/image/hands.png" alt=""><em>${content.vote_up!'0'}</em></span></div><p>${(content.getMetadataByKey("copy_right"))!}</p></div>
|
|
<div class="readCount"><div><span>阅读 <em>${content.view_count!'0'}</em></span><span> <img src="/jpress/static/jpress/admin/image/hands.png" alt=""><em>${content.vote_up!'0'}</em></span></div><p>${(content.getMetadataByKey("copy_right"))!}</p></div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="footer">
|
|
<div class="footer">
|
|
|
- <#if content.isCommentEnable() >
|
|
|
|
|
|
|
+ <#if content.isCommentEnable() && !(content.isUuUserReplied(userid) || (USER?? && content.isUserReplied(USER.id)))>
|
|
|
<form action="${CPATH}/comment/submit" method="post" id="comment">
|
|
<form action="${CPATH}/comment/submit" method="post" id="comment">
|
|
|
<input type="hidden" name="cid" value="${(content.id)!}" >
|
|
<input type="hidden" name="cid" value="${(content.id)!}" >
|
|
|
<input type="hidden" id="parent_id" name="parent_id" >
|
|
<input type="hidden" id="parent_id" name="parent_id" >
|
|
@@ -317,7 +317,7 @@
|
|
|
timers = null;
|
|
timers = null;
|
|
|
//加载数据
|
|
//加载数据
|
|
|
var LoadingDataFn = function() {
|
|
var LoadingDataFn = function() {
|
|
|
- $.get("${CPATH}/admin/comment/lazyLoad?ucode=${ucode}&contId=${(content.id)!}&pagesize=1&pagenumber="+aa, function(result){
|
|
|
|
|
|
|
+ $.get("${CPATH}/admin/comment/lazyLoad?ucode=${ucode!}&contId=${(content.id)!}&pagesize=1&pagenumber="+aa, function(result){
|
|
|
var dom = '';
|
|
var dom = '';
|
|
|
dom += result.message;
|
|
dom += result.message;
|
|
|
$('.footer-section').append(dom);
|
|
$('.footer-section').append(dom);
|