{* * $Revision: 17951 $ * Read this before changing templates! http://codex.gallery2.org/Gallery2:Editing_Templates *} {* Set defaults *} {if empty($item)} {assign var=item value=$theme.item} {/if} {g->callback type="comment.AddComment" itemId=$item.id} {if !isset($expand)}{assign var="expand" value=true}{/if} {if !empty($block.comment.AddComment)}
{include file="gallery:modules/comment/templates/AddComment.tpl" AddComment=$block.comment.AddComment inBlock=1}
{if $expand}

{g->text text="Add Comment"}

{literal} {/literal} {/if} {/if}