{if $n|substr:0:3 eq 'im-'}
{assign var="provider" value=$n|cat:"-provider_id"}
{$form.$provider.html}
- {elseif $n|substr:0:4 eq 'url-'}
- {assign var="websiteType" value=$n|cat:"-website_type_id"}
- {$form.$websiteType.html}
{/if}
{if $n eq 'email_greeting' or $n eq 'postal_greeting' or $n eq 'addressee'}
{include file="CRM/Profile/Form/GreetingType.tpl"}
{if $n|substr:0:3 eq 'im-'}
{assign var="provider" value=$n|cat:"-provider_id"}
{$form.$provider.html}
- {elseif $n|substr:0:4 eq 'url-'}
- {assign var="websiteType" value=$n|cat:"-website_type_id"}
- {$form.$websiteType.html}
{/if}
{if $n eq 'email_greeting' or $n eq 'postal_greeting' or $n eq 'addressee'}
{$form.$phone_ext_field.html}
{/if}
{else}
- {if $n|substr:0:4 eq 'url-'}
- {assign var="websiteType" value=$n|cat:"-website_type_id"}
- {$form.$websiteType.html}
- {elseif $n|substr:0:3 eq 'im-'}
+ {if $n|substr:0:3 eq 'im-'}
{assign var="provider" value=$n|cat:"-provider_id"}
{$form.$provider.html}
{/if}