Merge remote-tracking branch 'upstream/4.3' into 4.3-master-2013-10-02-11-18-44
[civicrm-core.git] / templates / CRM / Contact / Form / Inline / ContactInfo.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.4 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2013 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25 *}
26 {$form.oplock_ts.html}
27 <div class="crm-inline-edit-form">
28 <div class="crm-inline-button">
29 {include file="CRM/common/formButtons.tpl"}
30 </div>
31
32 <div class="crm-clear">
33 {if $contactType eq 'Individual'}
34 <div class="crm-summary-row">
35 <div class="crm-label">{$form.current_employer.label}&nbsp;{help id="id-current-employer" file="CRM/Contact/Form/Contact.hlp"}</div>
36 <div class="crm-content">
37 {$form.current_employer.html}
38 <div id="employer_address" style="display:none;"></div>
39 </div>
40 </div>
41 <div class="crm-summary-row">
42 <div class="crm-label">{$form.job_title.label}</div>
43 <div class="crm-content">{$form.job_title.html}</div>
44 <div>
45 {/if}
46 <div class="crm-summary-row">
47 <div class="crm-label">{$form.nick_name.label}</div>
48 <div class="crm-content">{$form.nick_name.html}</div>
49 </div>
50 {if $contactType eq 'Organization'}
51 <div class="crm-summary-row">
52 <div class="crm-label">{$form.legal_name.label}</div>
53 <div class="crm-content">{$form.legal_name.html}</div>
54 </div>
55 <div class="crm-summary-row">
56 <div class="crm-label">{$form.sic_code.label}</div>
57 <div class="crm-content">{$form.sic_code.html}</div>
58 </div>
59 {/if}
60 <div class="crm-summary-row">
61 <div class="crm-label">{$form.contact_source.label}</div>
62 <div class="crm-content">{$form.contact_source.html}</div>
63 </div>
64 </div> <!-- end of main -->
65 </div>
66
67 {if $contactType eq 'Individual'}
68 {include file="CRM/Contact/Form/CurrentEmployer.tpl"}
69 {/if}