tidy-up - remove duplicate array keys
[civicrm-core.git] / settings / Mailing.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.6 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2014 |
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
31 * @copyright CiviCRM LLC (c) 2004-2014
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' => 'Use CiviMail Workflow',
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' => 'Lock Mails Server-Wide for Mail Sending',
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' => 'Mailing Backend',
106 'is_domain' => 1,
107 'is_contact' => 0,
108 'description' => NULL,
109 'help_text' => NULL,
110 ),
111 'profile_add_to_group_double_optin' => array(
112 'group_name' => 'Mailing Preferences',
113 'group' => 'mailing',
114 'name' => 'profile_add_to_group_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 'disable_mandatory_tokens_check' => array(
126 'group_name' => 'Mailing Preferences',
127 'group' => 'mailing',
128 'name' => 'disable_mandatory_tokens_check',
129 'type' => 'Integer',
130 'html_type' => 'checkbox',
131 'default' => 0,
132 'add' => '4.4',
133 'title' => 'Disable check for mandatory tokens',
134 'is_domain' => 1,
135 'is_contact' => 0,
136 '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.',
137 'help_text' => NULL,
138 ),
139 'dedupe_email_default' => array(
140 'group_name' => 'Mailing Preferences',
141 'group' => 'mailing',
142 'name' => 'dedupe_email_default',
143 'type' => 'Integer',
144 'html_type' => 'checkbox',
145 'default' => 1,
146 'add' => '4.5',
147 'title' => 'CiviMail dedupes e-mail addresses by default',
148 'is_domain' => 1,
149 'is_contact' => 0,
150 'description' => 'Set the "dedupe e-mail" option when sending a new mailing to "true" by default.',
151 'help_text' => NULL,
152 ),
153 'hash_mailing_url' => array(
154 'group_name' => 'Mailing Preferences',
155 'group' => 'mailing',
156 'name' => 'hash_mailing_url',
157 'type' => 'Integer',
158 'html_type' => 'checkbox',
159 'default' => 0,
160 'add' => '4.5',
161 'title' => 'Hashed Mailing URL\'s',
162 'is_domain' => 1,
163 'is_contact' => 0,
164 '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',
165 'help_text' => NULL,
166 ),
167 );