#if($commentDateDescending == 'true' || $commentDateDescending == true) #set($commentDateDescending = true) #else #set($commentDateDescending = false) #end ##This macro is only used inside the Comments macro to display the comments threading #macro(showRecursiveComments $tempCommentContentInode $currentDepth) #set ($tempRelatedMatches = $commentsapi.getComments($tempCommentContentInode)) #foreach($match in $tempRelatedMatches) #set($marginLeft= $math.mul($currentDepth,10)) #getContentDetail("$match.inode")

$author | Posted $UtilMethods.dateToHTMLDate($datePublished,'MMM dd, yyyy hh:mm a')
$xsstool.strip($comment) #if($currentDepth < $maxDepth) Reply to this comment

#end

#if($currentDepth < $maxDepth) #showRecursiveComments($match.inode, $math.add($currentDepth,1)) #end #end #end #set($superParentInode = $_commentContentInode) #set($user = $session.getAttribute("CMS_USER")) #set($commentForm = $session.getAttribute("commentsForm")) $session.removeAttribute("commentsForm") #set ($relatedMatches = $commentsapi.getComments($_commentContentInode, $commentDateDescending)) #if(!$webapi.isSet($emailTemplate)) #set($emailTemplate = 'static/comments/comments_email_template.html') #end #if(!$UtilMethods.isSet($commentReferer)) #if($URLMapContent) #set($commentReferer = $contents.getUrlMapForContentlet($URLMapContent.identifier)) #else #set($commentReferer = "${VTLSERVLET_URI}?$!{request.getQueryString()}") #end #end #if($pdfExport == false) #if($commentUseCaptcha == 'true' || $commentUseCaptcha == true) #set($commentUseCaptcha = true) #else #set($commentUseCaptcha = false) #end #if($commentUseAudioCaptcha == 'true' || $commentUseAudioCaptcha == true) #set($commentUseAudioCaptcha = true) #else #set($commentUseAudioCaptcha = false) #end #end
#if($commentTitle)
$commentTitle
#end #set($actualDepth = 1) #foreach($match in $relatedMatches)
$match.author $dateviewapi.friendly($match.datePublished)
 
$xsstool.strip($match.comment) #if($actualDepth < $maxDepth) $glossary.get("reply")
#end
#if($actualDepth < $maxDepth) #showRecursiveComments($match.inode $math.add($actualDepth,1)) #end
 
 
#end #if(!($commentForceLogin == 'true' && !($UtilMethods.isSet($user))))
#parse('static/messages.html')
 

Post a Comment

 
#else
 
 
#end