{if $sent} {include file="$template/includes/alert.tpl" type="success" msg=$LANG.contactsent textcenter=true} {/if} {if $errormessage} {include file="$template/includes/alert.tpl" type="error" errorshtml=$errormessage} {/if} {if !$sent}
{include file="$template/includes/captcha.tpl"}
{/if}