-- CRM-13793, removed cruft for website type id for profiles
authorPradeep Nayak <pradpnayak@gmail.com>
Tue, 31 Mar 2015 20:32:31 +0000 (02:02 +0530)
committerPradeep Nayak <pradpnayak@gmail.com>
Tue, 31 Mar 2015 20:32:31 +0000 (02:02 +0530)
----------------------------------------
* CRM-13793: Miscellaneous code cleanups
  https://issues.civicrm.org/jira/browse/CRM-13793

templates/CRM/Profile/Form/Dynamic.tpl
templates/CRM/UF/Form/Block.tpl
templates/CRM/UF/Form/Preview.tpl

index de015fd40d77d3d55ceae7f2183f9fbe5553436b..6a04f5191c386ddc1c6b5b495a5cafcb16e81426 100644 (file)
               {if $n|substr:0:3 eq 'im-'}
                 {assign var="provider" value=$n|cat:"-provider_id"}
                 {$form.$provider.html}&nbsp;
-                {elseif $n|substr:0:4 eq 'url-'}
-                {assign var="websiteType" value=$n|cat:"-website_type_id"}
-                {$form.$websiteType.html}&nbsp;
               {/if}
               {if $n eq 'email_greeting' or  $n eq 'postal_greeting' or $n eq 'addressee'}
                 {include file="CRM/Profile/Form/GreetingType.tpl"}
index 1b6ea523d0de0cb3beacb903ae95824b1123d52b..b18c2d5f33b81892140239547d3d2c1026c74f46 100644 (file)
               {if $n|substr:0:3 eq 'im-'}
                 {assign var="provider" value=$n|cat:"-provider_id"}
                 {$form.$provider.html}&nbsp;
-              {elseif $n|substr:0:4 eq 'url-'}
-                {assign var="websiteType" value=$n|cat:"-website_type_id"}
-                {$form.$websiteType.html}&nbsp;
               {/if}
 
               {if $n eq 'email_greeting' or  $n eq 'postal_greeting' or $n eq 'addressee'}
index 1c14d31e02bb3247f6601ed856589d4d9d8ba8f5..c5816b1e54fd41589d8ac72f6fc9cb18ded3de20 100644 (file)
                   &nbsp;{$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}&nbsp;
-                  {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}&nbsp;
                 {/if}