{* * $Revision: 15949 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *}

{g->text text="Latest Comments"}

{if !empty($status)}

{if isset($status.changed)} {g->text text="Comment changed successfully"} {/if}

{/if} {if empty($ShowAllComments.comments)}

{g->text text="There are no comments for this item"}

{else} {if $ShowAllComments.navigator.pageCount > 1} {g->block type="core.Navigator" class="commentNavigator" navigator=$ShowAllComments.navigator currentPage=$ShowAllComments.navigator.page totalPages=$ShowAllComments.navigator.pageCount} {/if} {foreach from=$ShowAllComments.comments item=comment} {/foreach}
{assign var="item" value=$ShowAllComments.itemData[$comment.parentId]} {if isset($item.thumb)} {g->image item=$item image=$item.thumb maxSize=120} {else} {$item.title|default:$item.pathComponent|markup} {/if}
{include file="gallery:modules/comment/templates/Comment.tpl" comment=$comment can=$ShowAllComments.can[$comment.id] item=$item user=$ShowAllComments.commenters[$comment.commenterId]}
{/if}