{* * $Revision: 17477 $ * Read this before changing templates! http://codex.gallery2.org/Gallery2:Editing_Templates *}

{g->text text="Comments"}

{if !empty($status)}

{if !empty($status.saved)} {g->text text="Settings saved successfully"} {else if !empty($status.checked)} {g->text one="Checked %d comment." many="Checked %d comments." count=$status.checked.total arg1=$status.checked.total} {g->text one="Found %d spam comment." many="Found %d spam comments." count=$status.checked.spamCount arg1=$status.checked.spamCount} {/if}

{/if}

{g->text text="General Settings"}

{g->text text="Number of comments on Latest Comments page:"} {if isset($form.error.show)}
{g->text text="Invalid value"}
{/if}

{g->text text="Moderation Settings"}

{g->text text="Require administrator approval prior to publishing comments."}

{g->text text="Anti-Spam Settings"}

{g->text text="You can reduce the amount of spam comments that you receive by using a service called %sAkismet%s. This service is free for personal use. In order to use it, you will need to %sregister for an API key%s and enter that key in the box below." arg1="" arg2="" arg3="" arg4=""}

{if $CommentSiteAdmin.akismetActive}
{g->text text="Akismet is active."}
{else}
{g->text text="Akismet is not active."}
{/if}
{g->text text="API key:"} {if isset($form.error.apiKey.invalid)}
{g->text text="Invalid API key."}
{/if}
{if $CommentSiteAdmin.akismetActive} {/if}