{* $Id: giftcert_static.tpl,v 1.1 2002/12/02 14:09:05 svowl Exp $ *} { include file="location.tpl" last_location=$lng.lbl_gift_certificate }

{capture name=dialog} {if $giftcert.send_via ne "P"} {/if} {if $config.Modules.enablePostMailGC and $giftcert.send_via eq "P"} {/if}
Gift Certificate Details
{$lng.lbl_from}:   {$giftcert.purchaser|escape:"htmlall"}
{$lng.lbl_to}:   {$giftcert.recipient|escape:"htmlall"}
{$lng.lbl_message}:  
{$giftcert.message|escape:"htmlall"|replace:"\n":"
"}
{$lng.lbl_amount}:   {include file="currency.tpl" value=$giftcert.amount}
 
E-mail Address
{$lng.lbl_email}:   {$giftcert.recipient_email}
Postal Address
{$lng.lbl_first_name}:   {$giftcert.recipient_firstname|escape:"htmlall"}
{$lng.lbl_last_name}:   {$giftcert.recipient_lastname|escape:"htmlall"}
{$lng.lbl_address}:   {$giftcert.recipient_address|escape:"htmlall"}
{$lng.lbl_city}:   {$giftcert.recipient_city|escape:"htmlall"}
{$lng.lbl_zip_code}:   {$giftcert.recipient_zipcode|escape:"htmlall"}
{$lng.lbl_state}:   {section name=state_idx loop=$states} {if $giftcert.recipient_state eq $states[state_idx].state_code} {$states[state_idx].state} {/if} {/section}
{$lng.lbl_country}:   {section name=country_idx loop=$countries} {if $giftcert.recipient_country eq $countries[country_idx].country_code} {$countries[country_idx].country} {/if} {/section}
{$lng.lbl_phone}:   {$giftcert.recipient_phone}

{include file="buttons/go_back.tpl"}
{/capture} {include file="dialog.tpl" title="Gift Certificate details" content=$smarty.capture.dialog extra="width=100%"}