{{if ! $comment->isFirst() and $comment->author()->member_id AND $comment->author()->member_id == $item->author()->member_id}}- {lang="author"}
{{endif}}
{{if $comment->author()->hasHighlightedReplies()}}
- {expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->name" raw="true"}
{{endif}}
{{if ( $comment->item()->isSolved() and $comment->item()->mapped('solved_comment_id') == $comment->pid )}}
- {lang="this_is_a_solved_post"}
{{endif}}
{{if $comment->isFeatured()}}
- {lang="this_is_a_featured_post"}
{{endif}}
{{if ( settings.reputation_enabled and settings.reputation_highlight and $comment->reactionCount() >= settings.reputation_highlight ) }}
- {lang="this_is_a_popular_post"}
{{endif}}
{{if $comment->canReportOrRevoke() === TRUE}}- {lang="report"}
{{endif}}
{{if $comment->mapped('first') }}
- {lang="share"}
{{else}}
- 'findComment', 'comment' => $comment->$idField ) )}' rel="nofollow" title='{lang="share_this_post"}' data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-content='#elShareComment_{$comment->$idField}_menu' data-ipsDialog-title="{lang="share_this_post"}" id='elSharePost_{$comment->$idField}' data-role='shareComment'>{lang="share"}
{{endif}}
{{if $comment->canRecognize() === TRUE}}
- 'recognize', 'content_class' => \get_class( $comment ), 'content_id' => $comment->$idField ) )}' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-flashMessage='{lang="recognize_submit_success"}' data-ipsDialog-title="{lang="recognize_author" sprintf="$comment->author()->name"}">{lang="recognize_author" sprintf="$comment->author()->name"}
{{elseif $comment->canRemoveRecognize()}}
- 'unrecognize', 'content_class' => \get_class( $comment ), 'content_id' => $comment->$idField ) )}' data-confirm data-confirmSubMessage='{lang="recognize_author_remove_desc"}'>{lang="recognize_author_remove"}
{{endif}}
{{if $comment->canEdit() || ( !$comment->mapped('first') and ( $comment->canPromoteToSocialMedia() || $comment->item()->canSolve() || $comment->canDelete() || $comment->canHide() || $comment->canUnhide() || $comment->canSplit() || $item->canFeatureComment() || $item->canUnfeatureComment() || ( $comment->hidden() == -2 AND \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content') ) ) )}}
{{endif}}
{{if $comment->canEdit()}}
{{if $comment->mapped('first') and $comment->item()->canEdit()}}
- {lang="edit"}
{{else}}
- {lang="edit"}
{{endif}}
{{endif}}
{{if $comment->hidden() == -2 AND \IPS\Member::loggedIn()->modPermission('can_manage_deleted_content')}}
- csrf()}' data-confirm data-confirmSubMessage='{lang="restore_as_visible_desc"}'>{lang="restore_as_visible"}
- csrf()->setQueryString( 'restoreAsHidden', 1 )}' data-confirm data-confirmSubMessage='{lang="restore_as_hidden_desc"}'>{lang="restore_as_hidden"}
- csrf()->setQueryString( 'immediately', 1 )}' data-confirm data-confirmSubMessage='{lang="delete_immediately_desc"}'>{lang="delete_immediately"}
{{else}}
{{if $comment instanceof \IPS\Content\Hideable}}
{{if !$comment->hidden() and $comment->canHide()}}
- {lang="hide"}
{{elseif $comment->hidden() and $comment->canUnhide()}}
- csrf()}'>{lang="unhide"}
{{endif}}
{{endif}}
{{if $comment->canSplit()}}
- {lang="split"}
{{endif}}
{{if $comment->canDelete()}}
- csrf()->setPage('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount">{lang="delete"}
{{endif}}
{{if $comment->isFeatured() AND $item->canUnfeatureComment()}}
- csrf()->setPage('page',\IPS\Request::i()->page)}' data-action="unrecommendComment">{lang="unrecommend_content"}
{{endif}}
{{if !$comment->isFeatured() AND $item->canFeatureComment()}}
- setPage('page',\IPS\Request::i()->page)}' data-ipsDialog data-ipsDialog-title='{lang="recommend_post"}' data-ipsDialog-remoteSubmit data-ipsDialog-size='medium' data-action="recommendComment" data-ipsDialog-destructOnClose='true'>{lang="recommend_content"}
{{endif}}
{{if ( ! $comment->mapped('first') and $comment->canPromoteToSocialMedia() )}}
- {template="promoteLink" app="core" group="global" params="$comment"}
{{endif}}
{{endif}}
{{if $comment->hidden() === 1 && ( $comment->canUnhide() || $comment->canDelete() )}} {{if $comment->canUnhide()}}- csrf()}' class='ipsButton ipsButton_verySmall ipsButton_positive' data-action='approveComment'> {lang="approve"}
{{endif}}
{{if $comment->canDelete()}}
- csrf()->setPage('page',\IPS\Request::i()->page)}' data-action='deleteComment' data-updateOnDelete="#commentCount" class='ipsButton ipsButton_verySmall ipsButton_negative'> {lang="delete"}
{{endif}}
{{if $comment->canEdit() || $comment->canSplit() || $comment->canHide()}}
-
{lang="moderator_tools"}
{{endif}}
{{else}}
{{if ! $comment->mapped('first') AND $comment->item()->canSolve() AND ! $comment->item()->isSolved() AND $comment->item()->isNotModeratorButCanSolve()}}
- 'solve', 'answer' => $comment->pid ) )}' data-action="solveComment" class="ipsButton ipsButton_verySmall"> {lang="solve_content"}
{{endif}}
{{if $comment->hidden() === 0 and $item->canComment() and $editorName}}
-
-
{lang="quote"}
{{endif}}
{{if ( $comment->item()->isSolved() and $comment->item()->mapped('solved_comment_id') == $comment->pid ) AND $comment->item()->canSolve()}}
- 'unsolve', 'answer' => $comment->pid ) )}' data-action="unsolveComment">{lang="unsolve_content"}
{{endif}}
{{if $comment->item()->canSolve() AND ! $comment->item()->isSolved() AND ! $comment->item()->isNotModeratorButCanSolve()}}
- 'solve', 'answer' => $comment->pid ) )}' data-action="solveComment">{lang="solve_content"}
{{endif}}
{{if \IPS\Application::appIsEnabled('cloud')}}
- {template="spam" app="cloud" group="spam" params="$comment, FALSE"}
{{endif}}
{{endif}}
-
{{if $comment->canEdit()}} {{if $comment->mapped('first') and $comment->item()->canEdit()}}- {lang="edit"}
{{else}}
- {lang="edit"}
{{endif}}
{{endif}}
{{if $comment->canSplit()}}
- {lang="split"}
{{endif}}
{{if $comment instanceof \IPS\Content\Hideable and $comment->canHide()}}
- csrf()}' data-ipsDialog data-ipsDialog-title="{lang="hide"}" data-ipsDialog-destructOnClose='true'>{lang="hide"}
{{endif}}
{lang="ip_address"}
{lang="more_about_ip_address"}