From: kurund Date: Tue, 26 Nov 2013 06:41:48 +0000 (+0530) Subject: Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2013-11-26-11-46-28 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=444cd89f6b16c08f4312eec9739548c18b8a65b2;p=civicrm-core.git Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2013-11-26-11-46-28 Conflicts: CRM/Contact/Form/Search/Custom/Group.php sql/civicrm_generated.mysql templates/CRM/Contact/Page/View/Summary.tpl xml/version.xml --- 444cd89f6b16c08f4312eec9739548c18b8a65b2 diff --cc templates/CRM/Contact/Page/View/Summary.tpl index cd9acaa303,c29488aac1..8a2d877d12 --- a/templates/CRM/Contact/Page/View/Summary.tpl +++ b/templates/CRM/Contact/Page/View/Summary.tpl @@@ -132,192 -131,191 +131,200 @@@ {/if}
-
- +
+ -
- {if (isset($hookContentPlacement) and ($hookContentPlacement neq 3)) or empty($hookContentPlacement)} +
+ {if (isset($hookContentPlacement) and ($hookContentPlacement neq 3)) or empty($hookContentPlacement)} - {if !empty($hookContent) and isset($hookContentPlacement) and $hookContentPlacement eq 2} - {include file="CRM/Contact/Page/View/SummaryHook.tpl"} - {/if} + {if !empty($hookContent) and isset($hookContentPlacement) and $hookContentPlacement eq 2} + {include file="CRM/Contact/Page/View/SummaryHook.tpl"} + {/if} -
-
-
-
- {include file="CRM/Contact/Page/Inline/ContactInfo.tpl"} -
+
+
+ {crmRegion name="contact-basic-info-left"} +
+
+ {include file="CRM/Contact/Page/Inline/ContactInfo.tpl"} +
+
+ {/crmRegion} +
+
+ {crmRegion name="contact-basic-info-right"} - {if !empty($imageURL)} -
- {include file="CRM/Contact/Page/ContactImage.tpl"} -
- {/if} ++ {if !empty($imageURL)} ++
++ {include file="CRM/Contact/Page/ContactImage.tpl"} ++
++ {/if} +
+
+ -
- {if !empty($imageURL)} -
- {include file="CRM/Contact/Page/ContactImage.tpl"} +
{$contactTag}
+
+
+
{ts}Contact Type{/ts}
+
+ {if isset($contact_type_label)}{$contact_type_label}{/if}
- {/if} -
-
-
- -
{$contactTag}
-
-
-
{ts}Contact Type{/ts}
-
- {if isset($contact_type_label)}{$contact_type_label}{/if} -
-
- -
-
- {ts}CiviCRM ID{/ts}{if !empty($userRecordUrl)} / {ts}User ID{/ts}{/if} -
-
- {$contactId} - {if !empty($userRecordUrl)} - -  / {$userRecordId} - - {/if} -
-
-
-
-
{ts}External ID{/ts}
-
- {if isset($external_identifier)}{$external_identifier}{/if} -
-
+
+
-
- {ts}CiviCRM ID{/ts}{if !empty($userRecordUrl)} / {ts}User ID{/ts}{/if} ++
++ {ts}CiviCRM ID{/ts}{if !empty($userRecordUrl)} / {ts}User ID{/ts}{/if} +
- -
-
-
-
-
-
- {if $showEmail} -
- {include file="CRM/Contact/Page/Inline/Email.tpl"} -
- {/if} - {if $showWebsite} -
- {include file="CRM/Contact/Page/Inline/Website.tpl"} -
- {/if} -
-
- -
-
- {if $showPhone} -
- {include file="CRM/Contact/Page/Inline/Phone.tpl"} -
- {/if} - {if $showIM} -
- {include file="CRM/Contact/Page/Inline/IM.tpl"} -
- {/if} - {if $showOpenID} -
- {include file="CRM/Contact/Page/Inline/OpenID.tpl"} -
- {/if} -
-
- -
-
- {if $showAddress} -
- {assign var='locationIndex' value=1} - {if $address} - {foreach from=$address item=add key=locationIndex} -
- {include file="CRM/Contact/Page/Inline/Address.tpl"} -
- {/foreach} - {assign var='locationIndex' value=$locationIndex+1} ++
++ {$contactId} ++ {if !empty($userRecordUrl)} ++ ++  / {$userRecordId} ++ + {/if} - {* add new link *} - {if $permission EQ 'edit'} - {assign var='add' value=0} -
- {include file="CRM/Contact/Page/Inline/Address.tpl"} -
- {/if} - -
- {/if} -
- {if $showCommunicationPreferences} -
-
-
- {include file="CRM/Contact/Page/Inline/CommunicationPreferences.tpl"} -
-
-
- {/if} - {if $contact_type eq 'Individual' AND $showDemographics} -
-
-
- {include file="CRM/Contact/Page/Inline/Demographics.tpl"} -
-
-
- {/if} -
-
-
-
++
+
-
- {$contactId} - {if !empty($userRecordUrl)} - -  / {$userRecordId} - - {/if} ++
++
{ts}External ID{/ts}
++
++ {if isset($external_identifier)}{$external_identifier}{/if} ++
+
+
+
+ {/crmRegion} +
-
++ +
+
+
+
+ {crmRegion name="contact-details-left"} +
+ {if $showEmail} +
+ {include file="CRM/Contact/Page/Inline/Email.tpl"} +
+ {/if} + {if $showWebsite} +
+ {include file="CRM/Contact/Page/Inline/Website.tpl"} +
+ {/if} +
+ {/crmRegion} +
- {if $showCustomData} -
-
-
- {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='1'} -
+
+ {crmRegion name="contact-details-right"} +
+ {if $showPhone} +
+ {include file="CRM/Contact/Page/Inline/Phone.tpl"} +
+ {/if} + {if $showIM} +
+ {include file="CRM/Contact/Page/Inline/IM.tpl"} +
+ {/if} + {if $showOpenID} +
+ {include file="CRM/Contact/Page/Inline/OpenID.tpl"} +
+ {/if} +
+ {/crmRegion} +
-
- {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='0'} -
+
+
+ {if $showAddress} +
+ {assign var='locationIndex' value=1} + {if $address} + {foreach from=$address item=add key=locationIndex} +
+ {include file="CRM/Contact/Page/Inline/Address.tpl"} +
+ {/foreach} + {assign var='locationIndex' value=$locationIndex+1} + {/if} + {* add new link *} + {if $permission EQ 'edit'} + {assign var='add' value=0} +
+ {include file="CRM/Contact/Page/Inline/Address.tpl"} +
+ {/if} -
+
+ {/if} +
+ {if $showCommunicationPreferences} +
+
+
+ {include file="CRM/Contact/Page/Inline/CommunicationPreferences.tpl"}
- {/if} +
+ {/if} + {if $contact_type eq 'Individual' AND $showDemographics} +
+
+
+ {include file="CRM/Contact/Page/Inline/Demographics.tpl"} +
+
+
+ {/if} +
+
+
+
- {if !empty($hookContent) and isset($hookContentPlacement) and $hookContentPlacement eq 1} - {include file="CRM/Contact/Page/View/SummaryHook.tpl"} - {/if} - {else} - {include file="CRM/Contact/Page/View/SummaryHook.tpl"} - {/if} + {if $showCustomData} +
+
+
+ {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='1'} +
+
+ {include file="CRM/Contact/Page/View/CustomDataView.tpl" side='0'} +
+ +
+
+
+ {/if} + + {if !empty($hookContent) and isset($hookContentPlacement) and $hookContentPlacement eq 1} + {include file="CRM/Contact/Page/View/SummaryHook.tpl"} + {/if} + {else} + {include file="CRM/Contact/Page/View/SummaryHook.tpl"} + {/if}
-
+