{if isset($bIsViewingComments) && $bIsViewingComments}
{phrase var='comment.viewing_a_single_comment'} {phrase var='comment.view_all_comments'}
{/if} {if isset($sFeedType)}
{/if}
{plugin call='feed.template_block_comment_border'} {plugin call='core.template_block_comment_border_new'} {if !isset($aFeed.feed_mini)} {/if}
0)}{else}{if ((isset($aFeed.comments) && !count($aFeed.comments)) || !isset($aFeed.comments))} style="display:none;"{/if}{/if}{/if}>
{if isset($aFeed.likes) && is_array($aFeed.likes)} {template file='like.block.display'} {/if}
{if Phpfox::isModule('comment') && Phpfox::getParam('feed.allow_comments_on_feeds')}
{if isset($sFeedType) && $sFeedType == 'view'} {else} {if isset($aFeed.comment_type_id) && isset($aFeed.total_comment) && (isset($sFeedType) && $sFeedType == 'mini' ? $aFeed.total_comment > 0 : $aFeed.total_comment > Phpfox::getParam('comment.total_comments_in_activity_feed'))} {/if} {if isset($aFeed.total_comment) && !isset($aFeed.comment_type_id) && $aFeed.total_comment > 0} {/if} {/if} {if isset($aFeed.comments) && count($aFeed.comments)} {if isset($sFeedType) && $sFeedType == 'view' && $aFeed.total_comment > Phpfox::getParam('comment.comment_page_limit')}
{pager}
{/if}
{parse_image width=200 height=200} {foreach from=$aFeed.comments name=comments item=aComment} {template file='comment.block.mini'} {/foreach} {parse_image clear=true}
{else}
{/if}
{/if} {if isset($sFeedType) && $sFeedType == 'mini'} {else} {if Phpfox::isModule('comment') && isset($aFeed.comment_type_id) && Phpfox::getParam('feed.allow_comments_on_feeds') && Phpfox::isUser() && $aFeed.can_post_comment && Phpfox::getUserParam('feed.can_post_comment_on_feed') }
{if defined('PHPFOX_IS_THEATER_MODE')}
{/if} {if Phpfox::isUser()}
{img user=$aGlobalUser suffix='_50_square' max_width='32' max_height='32'}
{/if}
{phrase var='feed.write_a_comment'}
{phrase var='feed.adding_your_comment'}{img theme='ajax/add.gif'}
{if !PHPFOX_IS_AJAX && !Phpfox::isMobile() && isset($sFeedType) && $sFeedType == 'view' && Phpfox::getUserParam('comment.wysiwyg_on_comments') && Phpfox::getParam('core.wysiwyg') == 'tiny_mce'}
{/if}
{/if} {/if}
{if Phpfox::isModule('report') && isset($aFeed.report_module) && (isset($sFeedType) && $sFeedType != 'mini')}
{$aFeed.report_phrase}
{if Phpfox::isModule('captcha') && Phpfox::getUserParam('captcha.captcha_on_comment')} {module name='captcha.form' sType='comment' captcha_popup=true} {/if} {/if} {if isset($sFeedType)}
{/if}