{* HTML5: Yes *} {* jQuery: No *} {if !empty($errormsg)} {* TODO: Not sure anything emitted here actually IS an error. *} {$errormsg} {/if}

{$CONST.COMMENTS}

{$formtoken}
{$CONST.FILTERS} ({$CONST.FIND_COMMENTS})
{serendipity_hookPlugin hookAll=true hook="backend_comments_top" addData=$sql} {if !is_array($sql)} {$CONST.NO_COMMENTS} Return to default comment list {* l18n *} {else}
{$formtoken}

{$CONST.PAGE_BROWSE_COMMENTS|sprintf:$page:$pages:$totalComments}

{if ($page != 1 && $page <= $pages)||$page != $pages} {/if} {if is_array($comments)} {/if}
{* TODO: Clone pagination using JS *}
{/if}