commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / templates / CRM / Report / Form / Register.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
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 {if $action eq 8}
27 <h3>{ts}Delete Report Template{/ts}</h3>
28 {elseif $action eq 2}
29 <h3>{ts}Edit Report Template{/ts}</h3>
30 {else}
31 <h3>{ts}New Report Template{/ts}</h3>
32 {/if}
33 <div class="crm-block crm-form-block crm-report-register-form-block">
34 {if $action eq 8}
35 <table class="form-layout">
36 <tr class="buttons">
37 <td><div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
38 </td>
39 <td></td>
40 </tr>
41 <tr>
42 <td colspan=2>
43 <div class="messages status no-popup">
44 <div class="icon inform-icon"></div> &nbsp;
45 {ts}WARNING: Deleting this option will result in the loss of all Report related records which use the option. This may mean the loss of a substantial amount of data, and the action cannot be undone. Do you want to continue?{/ts}
46 </div>
47 </td>
48 </tr>
49 {else}
50
51 <table class="form-layout">
52 <tr class="buttons crm-report-register-form-block-buttons">
53 <td><div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
54 </td>
55 <td></td>
56 </tr>
57 <tr class="crm-report-register-form-block-label">
58 <td class="label">{$form.label.label}</td>
59 <td class="view-value">{$form.label.html} <br /><span class="description">{ts}Report title appear in the display screen.{/ts}</span>
60 </td>
61 </tr>
62 <tr class="crm-report-register-form-block-description">
63 <td class="label">{$form.description.label}</td>
64 <td class="view-value">{$form.description.html} <br /><span class="description">{ts}Report description appear in the display screen.{/ts}</span>
65 </td>
66 </tr>
67 <tr class="crm-report-register-form-block-url">
68 <td class="label">{$form.value.label}</td>
69 <td class="view-value">{$form.value.html} <br /><span class="description">{ts}Report Url must be like "contribute/summary"{/ts}</span>
70 </td>
71 </tr>
72 <tr class="crm-report-register-form-block-class">
73 <td class="label">{$form.name.label}</td>
74 <td class="view-value">{$form.name.html} <br /><span class="description">{ts}Report Class must be present before adding the report here, e.g. 'CRM_Report_Form_Contribute_Summary'{/ts}</span>
75 </td>
76 </tr>
77 <tr class="crm-report-register-form-block-weight">
78 <td class="label">{$form.weight.label}</td>
79 <td class="view-value">{$form.weight.html}</td>
80 </tr>
81 <tr class="crm-report-register-form-block-component">
82 <td class="label">{$form.component_id.label}</td>
83 <td class="view-value">{$form.component_id.html} <br /><span class="description">{ts}Specify the Report if it is belongs to any component like "CiviContribute"{/ts}</span>
84 </td>
85 </tr>
86 <tr class="crm-report-register-form-block-is_active">
87 <td class="label">{$form.is_active.label}</td>
88 <td class="view-value">{$form.is_active.html}</td>
89 </tr>
90 {/if}
91 <tr class="buttons crm-report-register-form-block-buttons">
92 <td><div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
93 </td>
94 <td></td>
95 </tr>
96 </table>
97 </div>