{if !$commentManager|isset}{assign var='commentManager' value=$commentList->getCommentManager()}{/if} {if !$commentCanModerate|isset}{assign var=commentCanModerate value=$commentManager->canModerate($commentList->objectTypeID, $commentList->objectID)}{/if} {foreach from=$commentList item=comment} {if $comment->isDisabled && !$commentCanModerate}
  • {lang}wcf.comment.moderation.disabledComment{/lang}

  • {else}
  • getReactionHandler()->getDataAttributes('com.woltlab.wcf.comment', $comment->commentID)} data-can-edit="{if $comment->isEditable()}true{else}false{/if}" data-can-delete="{if $comment->isDeletable()}true{else}false{/if}" data-responses="{@$comment->responses}" data-last-response-time="{if $commentLastResponseTime|empty}{@$comment->getLastResponseTime()}{else}{@$commentLastResponseTime}{/if}" data-is-disabled="{@$comment->isDisabled}" >
    {user object=$comment->getUserProfile() type='avatar48' ariaHidden='true' tabindex='-1'}
    {@$comment->getFormattedMessage()}
    {if MODULE_LIKE && $commentManager->supportsLike() && $likeData|isset}{include file="reactionSummaryList" isTiny=true reactionData=$likeData[comment] objectType="com.woltlab.wcf.comment" objectID=$comment->commentID}{else}{/if}
    {if !$commentLastResponseTime|empty || $comment|count}
      {if $commentLastResponseTime|empty}{include file='commentResponseList' responseList=$comment}{/if}
    {/if}
  • {/if} {/foreach}