2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2014 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
26 <div class="crm-block crm-form-block crm-campaign-form-block">
28 {* load the custom data *}
30 {include file="CRM/Custom/Form/CustomData.tpl"}
34 <table class="form-layout">
37 <div class="status"><div class="icon inform-icon"></div> {ts}Are you sure you want to delete this Campaign?{/ts}</div>
42 <div class="crm-submit-buttons">
43 {include file="CRM/common/formButtons.tpl" location="top"}
46 <table class="form-layout-compressed">
47 <tr class="crm-campaign-form-block-title">
48 <td class="label">{$form.title.label}</td>
49 <td class="view-value">{$form.title.html}</td>
51 <tr class="crm-campaign-form-block-campaign_type_id">
52 <td class="label">{$form.campaign_type_id.label}</td>
53 <td class="view-value">{$form.campaign_type_id.html}</td>
55 <tr class="crm-campaign-form-block-description">
56 <td class="label">{$form.description.label}</td>
57 <td class="view-value">{$form.description.html}</td>
59 <tr class="crm-campaign-form-block-includeGroups">
60 <td class="label">{$form.includeGroups.label}</td>
61 <td>{$form.includeGroups.html}</td>
63 <tr class="crm-campaign-form-block-start_date">
64 <td class="label">{$form.start_date.label}</td>
65 <td class="view-value">{include file="CRM/common/jcalendar.tpl" elementName=start_date}
68 <tr class="crm-campaign-form-block-end_date">
69 <td class="label">{$form.end_date.label}</td>
70 <td class="view-value">{include file="CRM/common/jcalendar.tpl" elementName=end_date}</td>
72 <tr class="crm-campaign-form-block-status_id">
73 <td class="label">{$form.status_id.label}</td>
74 <td class="view-value">{$form.status_id.html}</td>
76 <tr class="crm-campaign-form-block-goal_general">
77 <td class="label">{$form.goal_general.label}</td>
78 <td class="view-value">{$form.goal_general.html}</td>
80 <tr class="crm-campaign-form-block-goal_revenue">
81 <td class="label">{$form.goal_revenue.label}</td>
82 <td class="view-value">{$form.goal_revenue.html}</td>
84 <tr class="crm-campaign-form-block-external_identifier">
85 <td class="label">{$form.external_identifier.label}</td>
86 <td class="view-value">{$form.external_identifier.html}</td>
89 {* Suppress parent-child feature for now. dgg *}
91 <tr class="crm-campaign-form-block-parent_id">
92 <td class="label">{$form.parent_id.label}</td>
93 <td class="view-value">{$form.parent_id.html}</td>
96 <tr class="crm-campaign-form-block-is_active">
97 <td class="label">{$form.is_active.label}</td>
98 <td class="view-value">{$form.is_active.html}</td>
102 <div id="customData"></div>
105 <div class="crm-submit-buttons">
106 {include file="CRM/common/formButtons.tpl" location="bottom"}
110 {* include custom data js *}
111 {include file="CRM/common/customData.tpl"}
114 <script type="text/javascript">
115 cj( document ).ready( function( ) {
116 {/literal}{if $customDataSubType}
117 CRM.buildCustomData( '{$customDataType}', {$customDataSubType} );
119 CRM.buildCustomData( '{$customDataType}' );
127 {/if} {* load custom data *}