{* * $Revision: 15342 $ * 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. *} {if !empty($comment.subject)}

{$comment.subject|markup}

{/if} {if $can.edit} {g->text text="edit"} {/if} {if $can.delete} {g->text text="delete"} {/if} {assign var="commentText" value=$comment.comment|markup} {if isset($truncate)} {assign var="truncated" value=$commentText|entitytruncate:$truncate} {/if} {if isset($truncate) && ($truncated != $commentText)} {g->text text="show full"}

{$truncated}

{else}

{$commentText}

{/if}

{capture name="date"}{g->date timestamp=$comment.date style="datetime"}{/capture} {if empty($comment.author)} {if $can.edit} {g->text text="Posted by %s on %s (%s)" arg1=$user.fullName|default:$user.userName arg2=$smarty.capture.date arg3=$comment.host} {else} {g->text text="Posted by %s on %s" arg1=$user.fullName|default:$user.userName arg2=$smarty.capture.date} {/if} {else} {if $can.edit} {g->text text="Posted by %s (guest) on %s (%s)" arg1=$comment.author|default:$user.userName arg2=$smarty.capture.date arg3=$comment.host} {else} {g->text text="Posted by %s (guest) on %s" arg1=$comment.author|default:$user.userName arg2=$smarty.capture.date} {/if} {/if}