X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FProfile%2FForm%2FDynamic.tpl;h=0d9784f35611911c04130d8141c32b80626005cc;hb=9d0857e01495c77accb2c7a2ee34ec4573261b24;hp=8ed3c3b7b77b02720604359b7613ac5e74292934;hpb=389d11ec7b65de1b7c1b88ed030394c707439118;p=civicrm-core.git diff --git a/templates/CRM/Profile/Form/Dynamic.tpl b/templates/CRM/Profile/Form/Dynamic.tpl index 8ed3c3b7b7..0d9784f356 100644 --- a/templates/CRM/Profile/Form/Dynamic.tpl +++ b/templates/CRM/Profile/Form/Dynamic.tpl @@ -1,8 +1,8 @@ {* +--------------------------------------------------------------------+ - | CiviCRM version 4.4 | + | CiviCRM version 4.5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2013 | + | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,31 +28,6 @@ {* Profile forms when embedded in CMS account create (mode=1) or cms account edit (mode=8) or civicrm/profile (mode=4) pages *} -{if ($context eq 'multiProfileDialog')} -{literal} - -{/literal} -{include file="CRM/Form/validate.tpl"} -{/if} {if $deleteRecord}
  @@ -159,9 +134,6 @@ function checkResponse(responseText, statusText, xhr, $form) { {/foreach} - {if $field.html_type eq 'Radio' and $form.formName eq 'Edit' and $field.is_view neq 1 } -  ({ts}clear{/ts}) - {/if} {/strip}
@@ -205,14 +177,9 @@ function checkResponse(responseText, statusText, xhr, $form) { {else} {$form.$n.html} {/if} - {if (($n eq 'gender') or ($field.html_type eq 'Radio' and $form.formName eq 'Edit' and $field.is_required neq 1)) and - ($field.is_view neq 1)} -  ({ts}clear{/ts}) - {elseif $field.html_type eq 'Autocomplete-Select'} + {if $field.html_type eq 'Autocomplete-Select'} {if $field.data_type eq 'ContactReference'} {include file="CRM/Custom/Form/ContactReference.tpl" element_name = $n} - {else} - {include file="CRM/Custom/Form/AutoComplete.tpl" element_name = $n} {/if} {/if} {/if} @@ -298,63 +265,12 @@ invert = 0 {literal} -{/literal} {/crmRegion} {* end crm-profile-NAME *}