Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
f5721b07 | 4 | | CiviCRM version 4.5 | |
6a488035 | 5 | +--------------------------------------------------------------------+ |
f5721b07 | 6 | | Copyright CiviCRM LLC (c) 2004-2014 | |
6a488035 TO |
7 | +--------------------------------------------------------------------+ |
8 | | This file is a part of CiviCRM. | | |
9 | | | | |
10 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
11 | | under the terms of the GNU Affero General Public License | | |
12 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
13 | | | | |
14 | | CiviCRM is distributed in the hope that it will be useful, but | | |
15 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
16 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
17 | | See the GNU Affero General Public License for more details. | | |
18 | | | | |
19 | | You should have received a copy of the GNU Affero General Public | | |
20 | | License and the CiviCRM Licensing Exception along | | |
21 | | with this program; if not, contact CiviCRM LLC | | |
22 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
23 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
24 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
25 | +--------------------------------------------------------------------+ | |
26 | */ | |
27 | ||
28 | /** | |
29 | * | |
30 | * @package CRM | |
f5721b07 | 31 | * @copyright CiviCRM LLC (c) 2004-2014 |
6a488035 TO |
32 | * $Id$ |
33 | * | |
34 | */ | |
35 | /* | |
36 | * Settings metadata file | |
37 | */ | |
38 | ||
39 | return array( | |
40 | 'profile_double_optin' => array( | |
41 | 'group_name' => 'Mailing Preferences', | |
42 | 'group' => 'mailing', | |
43 | 'name' => 'profile_double_optin', | |
44 | 'type' => 'Integer', | |
45 | 'html_type' => 'checkbox', | |
46 | 'default' => 0, | |
47 | 'add' => '4.1', | |
48 | 'title' => 'Enable Double Opt-in for Profile Group(s) field', | |
49 | 'is_domain' => 1, | |
50 | 'is_contact' => 0, | |
51 | 'description' => 'When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.', | |
52 | 'help_text' => null, | |
53 | ), | |
54 | 'track_civimail_replies' => array( | |
55 | 'group_name' => 'Mailing Preferences', | |
56 | 'group' => 'mailing', | |
57 | 'name' => 'track_civimail_replies', | |
58 | 'type' => 'Integer', | |
59 | 'html_type' => 'checkbox', | |
60 | 'default' => 0, | |
61 | 'add' => '4.1', | |
62 | 'title' => 'Enable Double Opt-in for Profile Group(s) field', | |
63 | 'is_domain' => 1, | |
64 | 'is_contact' => 0, | |
65 | 'description' => 'When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.', | |
66 | 'help_text' => null, | |
67 | 'validate_callback' => 'CRM_Core_BAO_Setting::validateBoolSetting', | |
68 | ), | |
69 | 'civimail_workflow' => array( | |
70 | 'group_name' => 'Mailing Preferences', | |
71 | 'group' => 'mailing', | |
72 | 'name' => 'civimail_workflow', | |
73 | 'type' => 'Integer', | |
74 | 'html_type' => 'checkbox', | |
75 | 'default' => 0, | |
76 | 'add' => '4.1', | |
77 | 'title' => null, | |
78 | 'is_domain' => 1, | |
79 | 'is_contact' => 0, | |
80 | 'description' => 'When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.', | |
81 | 'help_text' => null, | |
82 | ), | |
83 | 'civimail_server_wide_lock' => array( | |
84 | 'group_name' => 'Mailing Preferences', | |
85 | 'group' => 'mailing', | |
86 | 'name' => 'civimail_server_wide_lock', | |
87 | 'type' => 'Integer', | |
88 | 'html_type' => 'checkbox', | |
89 | 'default' => 0, | |
90 | 'add' => '4.1', | |
91 | 'title' => null, | |
92 | 'is_domain' => 1, | |
93 | 'is_contact' => 0, | |
94 | 'description' => null, | |
95 | 'help_text' => null, | |
96 | ), | |
97 | 'mailing_backend' => array( | |
98 | 'group_name' => 'Mailing Preferences', | |
99 | 'group' => 'mailing', | |
100 | 'name' => 'mailing_backend', | |
101 | 'type' => 'Array', | |
102 | 'html_type' => 'checkbox', | |
103 | 'default' => 0, | |
104 | 'add' => '4.1', | |
105 | 'title' => null, | |
106 | 'is_domain' => 1, | |
107 | 'is_contact' => 0, | |
108 | 'description' => null, | |
109 | 'help_text' => null, | |
110 | ), | |
111 | 'profile_double_optin' => array( | |
112 | 'group_name' => 'Mailing Preferences', | |
113 | 'group' => 'mailing', | |
114 | 'name' => 'profile_double_optin', | |
115 | 'type' => 'Integer', | |
116 | 'html_type' => 'checkbox', | |
117 | 'default' => 0, | |
118 | 'add' => '4.1', | |
119 | 'title' => 'Enable Double Opt-in for Profile Group(s) field', | |
120 | 'is_domain' => 1, | |
121 | 'is_contact' => 0, | |
122 | 'description' => 'When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.', | |
123 | 'help_text' => null, | |
124 | ), | |
125 | 'profile_add_to_group_double_optin' => array( | |
126 | 'group_name' => 'Mailing Preferences', | |
127 | 'group' => 'mailing', | |
128 | 'name' => 'profile_add_to_group_double_optin', | |
129 | 'type' => 'Integer', | |
130 | 'html_type' => 'checkbox', | |
131 | 'default' => 0, | |
132 | 'add' => '4.1', | |
133 | 'title' => 'Enable Double Opt-in for Profile Group(s) field', | |
134 | 'is_domain' => 1, | |
135 | 'is_contact' => 0, | |
136 | 'description' => 'When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.', | |
137 | 'help_text' => null, | |
138 | ), | |
9babb598 OB |
139 | 'disable_mandatory_tokens_check' => array( |
140 | 'group_name' => 'Mailing Preferences', | |
141 | 'group' => 'mailing', | |
142 | 'name' => 'disable_mandatory_tokens_check', | |
143 | 'type' => 'Integer', | |
144 | 'html_type' => 'checkbox', | |
145 | 'default' => 0, | |
146 | 'add' => '4.4', | |
147 | 'title' => 'Disable check for mandatory tokens', | |
148 | 'is_domain' => 1, | |
149 | 'is_contact' => 0, | |
150 | 'description' => 'Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.', | |
151 | 'help_text' => null, | |
c57f36a1 | 152 | ), |
9d76357a DG |
153 | 'dedupe_email_default' => array( |
154 | 'group_name' => 'Mailing Preferences', | |
155 | 'group' => 'mailing', | |
156 | 'name' => 'dedupe_email_default', | |
157 | 'type' => 'Integer', | |
158 | 'html_type' => 'checkbox', | |
159 | 'default' => 1, | |
160 | 'add' => '4.5', | |
161 | 'title' => 'CiviMail dedupes e-mail addresses by default', | |
162 | 'is_domain' => 1, | |
163 | 'is_contact' => 0, | |
164 | 'description' => 'Set the "dedupe e-mail" option when sending a new mailing to "true" by default.', | |
165 | 'help_text' => null, | |
9babb598 | 166 | ), |
c57f36a1 PJ |
167 | 'hash_mailing_url' => array( |
168 | 'group_name' => 'Mailing Preferences', | |
169 | 'group' => 'mailing', | |
170 | 'name' => 'hash_mailing_url', | |
171 | 'type' => 'Integer', | |
172 | 'html_type' => 'checkbox', | |
173 | 'default' => 0, | |
174 | 'add' => '4.5', | |
175 | 'title' => 'Hashed Mailing URL\'s', | |
176 | 'is_domain' => 1, | |
177 | 'is_contact' => 0, | |
178 | 'description' => 'If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID', | |
179 | 'help_text' => null, | |
180 | ), | |
181 | ); |