{* $Id: image_verification.tpl 7910 2009-08-27 10:14:40Z angel $ *}

{if ""|fn_needs_image_verification == true}
	{assign var="is" value="Image_verification"|fn_get_settings}
	
	<p{if $align} class="{$align}"{/if}>{$lang.image_verification_body}</p>
	
	{if $sidebox}
		<p><img id="verification_image_{$id}" class="image-captcha valign" src="{$config.current_location}/{$index_script}?dispatch=image.captcha&amp;verification_id={$SESS_ID}:{$id}&amp;{$id|uniqid}&amp;" alt="" onclick="this.src += 'reload' ;" width="{$is.width}" height="{$is.height}" /></p>
	{/if}

	<p><input class="captcha-input-text valign" type="text" name="verification_answer" value= "" />
	{if !$sidebox}
		<img id="verification_image_{$id}" class="image-captcha valign" src="{$config.current_location}/{$index_script}?dispatch=image.captcha&amp;verification_id={$SESS_ID}:{$id}&amp;{$id|uniqid}&amp;" alt="" onclick="this.src += 'reload' ;"  width="{$is.width}" height="{$is.height}" />
	{/if}</p>
{/if}
