#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
Post a Comment
Post a Comment