Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
39de6fd5 | 4 | | CiviCRM version 4.6 | |
6a488035 | 5 | +--------------------------------------------------------------------+ |
e7112fa7 | 6 | | Copyright CiviCRM LLC (c) 2004-2015 | |
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 | +--------------------------------------------------------------------+ | |
d25dd0ee | 26 | */ |
6a488035 TO |
27 | |
28 | /** | |
29 | * | |
30 | * @package CRM | |
e7112fa7 | 31 | * @copyright CiviCRM LLC (c) 2004-2015 |
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, | |
56fdfc52 | 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.', |
08e57c58 | 52 | 'help_text' => NULL, |
6a488035 TO |
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', | |
fe4df6d3 | 62 | 'title' => 'Track replies using VERP in Reply-To header', |
6a488035 TO |
63 | 'is_domain' => 1, |
64 | 'is_contact' => 0, | |
fe4df6d3 | 65 | 'description' => 'If checked, mailings will default to tracking replies using VERP-ed Reply-To. ', |
08e57c58 | 66 | 'help_text' => NULL, |
6a488035 TO |
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', | |
66f90900 | 77 | 'title' => 'Use CiviMail Workflow', |
6a488035 TO |
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.', | |
08e57c58 | 81 | 'help_text' => NULL, |
6a488035 TO |
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', | |
66f90900 | 91 | 'title' => 'Lock Mails Server-Wide for Mail Sending', |
6a488035 TO |
92 | 'is_domain' => 1, |
93 | 'is_contact' => 0, | |
08e57c58 TO |
94 | 'description' => NULL, |
95 | 'help_text' => NULL, | |
6a488035 | 96 | ), |
6098a966 TO |
97 | 'replyTo' => array( |
98 | 'group_name' => 'Mailing Preferences', | |
99 | 'group' => 'mailing', | |
100 | 'name' => 'replyTo', | |
101 | 'type' => 'Boolean', | |
102 | 'quick_form_type' => 'YesNo', | |
103 | 'default' => 0, | |
104 | 'add' => '4.6', | |
105 | 'title' => 'Enable Custom Reply-To', | |
106 | 'is_domain' => 1, | |
107 | 'is_contact' => 0, | |
108 | 'description' => 'Allow CiviMail users to send mailings with a custom Reply-To header', | |
109 | 'help_text' => NULL, | |
110 | ), | |
6a488035 TO |
111 | 'mailing_backend' => array( |
112 | 'group_name' => 'Mailing Preferences', | |
113 | 'group' => 'mailing', | |
114 | 'name' => 'mailing_backend', | |
115 | 'type' => 'Array', | |
116 | 'html_type' => 'checkbox', | |
117 | 'default' => 0, | |
118 | 'add' => '4.1', | |
66f90900 | 119 | 'title' => 'Mailing Backend', |
6a488035 TO |
120 | 'is_domain' => 1, |
121 | 'is_contact' => 0, | |
08e57c58 TO |
122 | 'description' => NULL, |
123 | 'help_text' => NULL, | |
6a488035 | 124 | ), |
6a488035 TO |
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.', | |
08e57c58 | 137 | 'help_text' => NULL, |
6a488035 | 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.', | |
08e57c58 | 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.', | |
08e57c58 | 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', | |
08e57c58 | 179 | 'help_text' => NULL, |
c57f36a1 | 180 | ), |
66f90900 | 181 | ); |