{if $tpl_error} {$tpl_error|escape:"htmlall"} {elseif $tpl_message} {$tpl_message|escape:"htmlall"} {/if}