Merge pull request #13517 from alifrumin/contribsearchsoftcredit
[civicrm-core.git] / templates / CRM / UF / Form / AdvanceSetting.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2019 |
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 <div class="crm-accordion-wrapper collapsed">
27 <div class="crm-accordion-header">
28 Advanced Settings
29 </div><!-- /.crm-accordion-header -->
30 <div class="crm-accordion-body">
31 <div class="crm-block crm-form-block crm-uf-advancesetting-form-block">
32 <table class="form-layout">
33 <tr class="crm-uf-advancesetting-form-block-group">
34 <td class="label">{$form.group.label}</td>
35 <td>{$form.group.html} {help id='id-limit_group' file="CRM/UF/Form/Group.hlp"}</td>
36 </tr>
37
38 <tr class="crm-uf-advancesetting-form-block-add_contact_to_group">
39 <td class="label">{$form.add_contact_to_group.label}</td>
40 <td>{$form.add_contact_to_group.html} {help id='id-add_group' file="CRM/UF/Form/Group.hlp"}</td>
41 </tr>
42
43 <tr class="crm-uf-advancesetting-form-block-notify">
44 <td class="label">{$form.notify.label}</td>
45 <td>{$form.notify.html} {help id='id-notify_email' file="CRM/UF/Form/Group.hlp"}</td>
46 </tr>
47
48 <tr class="crm-uf-advancesetting-form-block-post_URL">
49 <td class="label">{$form.post_URL.label}</td>
50 <td>{$form.post_URL.html} {help id='id-post_URL' file="CRM/UF/Form/Group.hlp"}</td>
51 </tr>
52
53 <tr class="crm-uf-advancesetting-form-block-add_cancel_button">
54 <td class="label"></td>
55 <td>{$form.add_cancel_button.html} {$form.add_cancel_button.label} {help id='id-add_cancel_button' file="CRM/UF/Form/Group.hlp"}</td>
56 </tr>
57
58 <tr class="cancel_button_section crm-uf-advancesetting-form-block-cancel_URL">
59 <td class="label">{$form.cancel_URL.label}</td>
60 <td>{$form.cancel_URL.html} {help id='id-cancel_URL' file="CRM/UF/Form/Group.hlp"}</td>
61 </tr>
62
63 {foreach from=$advancedFieldsConverted item=fieldName}
64 {assign var=fieldSpec value=$entityFields.$fieldName}
65 <tr class="crm-{$entityInClassFormat}-form-block-{$fieldName} {$fieldSpec.class}">
66 {include file="CRM/Core/Form/Field.tpl"}
67 </tr>
68 {/foreach}
69
70 <tr class="crm-uf-advancesetting-form-block-add_captcha">
71 <td class="label"></td>
72 <td>{$form.add_captcha.html} {$form.add_captcha.label} {help id='id-add_captcha' file="CRM/UF/Form/Group.hlp"}</td>
73 </tr>
74
75 <tr class="crm-uf-advancesetting-form-block-is_cms_user">
76 <td class="label">{$form.is_cms_user.label}</td>
77 <td>{$form.is_cms_user.html} {help id='id-is_cms_user' file="CRM/UF/Form/Group.hlp"}</td>
78 </tr>
79
80 <tr class="crm-uf-advancesetting-form-block-is_update_dupe">
81 <td class="label">{$form.is_update_dupe.label}</td>
82 <td>{$form.is_update_dupe.html} {help id='id-is_update_dupe' file="CRM/UF/Form/Group.hlp"}</td>
83 </tr>
84
85 <tr class="crm-uf-advancesetting-form-block-is_proximity_search">
86 <td class="label">{$form.is_proximity_search.label}</td>
87 <td>{$form.is_proximity_search.html} {help id='id-is_proximity_search' file="CRM/UF/Form/Group.hlp"}</td></tr>
88
89 <tr class="crm-uf-advancesetting-form-block-is_map">
90 <td class="label"></td>
91 <td>{$form.is_map.html} {$form.is_map.label} {help id='id-is_map' file="CRM/UF/Form/Group.hlp"}</td>
92 </tr>
93
94 <tr class="crm-uf-advancesetting-form-block-is_edit_link">
95 <td class="label"></td>
96 <td>{$form.is_edit_link.html} {$form.is_edit_link.label} {help id='id-is_edit_link' file="CRM/UF/Form/Group.hlp"}</td>
97 </tr>
98
99 <tr class="crm-uf-advancesetting-form-block-is_uf_link">
100 <td class="label"></td>
101 <td>{$form.is_uf_link.html} {$form.is_uf_link.label} {help id='id-is_uf_link' file="CRM/UF/Form/Group.hlp"}</td>
102 </tr>
103 </table>
104 </div><!-- / .crm-block -->
105 </div><!-- /.crm-accordion-body -->
106 </div><!-- /.crm-accordion-wrapper -->
107 {literal}
108 <script type="text/javascript">
109 CRM.$(function($) {
110 $('.cancel_button_section').toggle($('#add_cancel_button').is(":checked"));
111 $('#add_cancel_button').click(function() {
112 $('.cancel_button_section').toggle($(this).is(":checked"));
113 });
114 });
115 </script>
116 {/literal}