validate Mailer Settings admin form
[civicrm-core.git] / settings / Localization.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.3 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2013 |
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-2013
32 * $Id$
33 *
34 */
35 /*
36 * Settings metadata file
37 */
38
39 return array(
40 'monetaryThousandSeparator' => array(
41 'group_name' => 'Localization Preferences',
42 'group' => 'localization',
43 'name' => 'monetaryThousandSeparator',
44 'prefetch' => 1,
45 'config_only' => 1,
46 'type' => 'String',
47 'quick_form_type' => 'Element',
48 'html_type' => 'text',
49 'html_attributes' => array(
50 'size' => 2,
51 ),
52 'default' => ',',
53 'add' => '4.3',
54 'title' => 'Thousands Separator',
55 'is_domain' => 1,
56 'is_contact' => 0,
57 'description' => null,
58 'help_text' => null,
59 ),
60 'monetaryDecimalPoint' => array(
61 'group_name' => 'Localization Preferences',
62 'group' => 'localization',
63 'name' => 'monetaryDecimalPoint',
64 'prefetch' => 1,
65 'config_only' => 1,
66 'type' => 'String',
67 'quick_form_type' => 'Element',
68 'html_type' => 'text',
69 'html_attributes' => array(
70 'size' => 2,
71 ),
72 'default' => '.',
73 'add' => '4.3',
74 'title' => 'Decimal Delimiter',
75 'is_domain' => 1,
76 'is_contact' => 0,
77 'description' => null,
78 'help_text' => null,
79 ),
80 'moneyformat' => array(
81 'group_name' => 'Localization Preferences',
82 'group' => 'localization',
83 'name' => 'moneyformat',
84 'prefetch' => 1,
85 'config_only' => 1,
86 'type' => 'String',
87 'quick_form_type' => 'Element',
88 'html_type' => 'text',
89 'default' => '%c %a',
90 'add' => '4.3',
91 'title' => 'Monetary Amount Display',
92 'is_domain' => 1,
93 'is_contact' => 0,
94 'description' => null,
95 'help_text' => null,
96 ),
97 'moneyvalueformat' => array(
98 'group_name' => 'Localization Preferences',
99 'group' => 'localization',
100 'name' => 'moneyvalueformat',
101 'prefetch' => 1,
102 'config_only' => 1,
103 'type' => 'String',
104 'quick_form_type' => 'Element',
105 'html_type' => 'text',
106 'default' => '%!i',
107 'add' => '4.3',
108 'title' => 'Monetary Amount Display',
109 'is_domain' => 1,
110 'is_contact' => 0,
111 'description' => null,
112 'help_text' => null,
113 ),
114 'defaultCurrency' => array(
115 'group_name' => 'Localization Preferences',
116 'group' => 'localization',
117 'name' => 'defaultCurrency',
118 'prefetch' => 1,
119 'config_only' => 1,
120 'type' => 'String',
121 'quick_form_type' => 'Element',
122 'html_type' => 'text',
123 'html_attributes' => array(
124 'size' => 2,
125 ),
126 'default' => 'USD',
127 'add' => '4.3',
128 'title' => 'Default Currency',
129 'is_domain' => 1,
130 'is_contact' => 0,
131 'description' => 'Default currency assigned to contributions and other monetary transactions.',
132 'help_text' => null,
133 ),
134 'countryLimit' => array(
135 'group_name' => 'Localization Preferences',
136 'group' => 'localization',
137 'name' => 'countryLimit',
138 'prefetch' => 1,
139 'config_only' => 1,
140 'type' => 'Array',
141 'quick_form_type' => 'Element',
142 'html_type' => 'advmultiselect',
143 'html_attributes' => array(
144 'size' => 5,
145 'style' => 'width:150px',
146 'class' => 'advmultiselect',
147 ),
148 'default' => 'null',
149 'add' => '4.3',
150 'title' => 'Available Countries',
151 'is_domain' => 1,
152 'is_contact' => 0,
153 'description' => '',
154 'help_text' => null,
155 ),
156 'provinceLimit' => array(
157 'group_name' => 'Localization Preferences',
158 'group' => 'localization',
159 'name' => 'provinceLimit',
160 'prefetch' => 1,
161 'config_only' => 1,
162 'type' => 'Array',
163 'quick_form_type' => 'Element',
164 'html_type' => 'advmultiselect',
165 'html_attributes' => array(
166 'size' => 5,
167 'style' => 'width:150px',
168 'class' => 'advmultiselect',
169 ),
170 'default' => 'null',
171 'add' => '4.3',
172 'title' => 'Available States and Provinces',
173 'is_domain' => 1,
174 'is_contact' => 0,
175 'description' => '',
176 'help_text' => null,
177 ),
178 'inheritLocale' => array(
179 'group_name' => 'Localization Preferences',
180 'group' => 'localization',
181 'name' => 'inheritLocale',
182 'prefetch' => 1,
183 'config_only' => 1,
184 'type' => 'Boolean',
185 'quick_form_type' => 'YesNo',
186 'default' => '0',
187 'add' => '4.3',
188 'title' => 'Inherit CMS Language',
189 'is_domain' => 1,
190 'is_contact' => 0,
191 'description' => '',
192 'help_text' => null,
193 ),
194 'dateformatDatetime' => array(
195 'group_name' => 'Localization Preferences',
196 'group' => 'localization',
197 'name' => 'dateformatDatetime',
198 'prefetch' => 1,
199 'config_only' => 1,
200 'type' => 'String',
201 'default' => '%B %E%f, %Y %l:%M %P',
202 'add' => '4.3',
203 'title' => 'Complete Date and Time',
204 'is_domain' => 1,
205 'is_contact' => 0,
206 'description' => '',
207 'help_text' => null,
208 ),
209 'dateformatFull' => array(
210 'group_name' => 'Localization Preferences',
211 'group' => 'localization',
212 'name' => 'dateformatFull',
213 'prefetch' => 1,
214 'config_only' => 1,
215 'type' => 'String',
216 'default' => '%B %E%f, %Y',
217 'add' => '4.3',
218 'title' => 'Complete Date',
219 'is_domain' => 1,
220 'is_contact' => 0,
221 'description' => '',
222 'help_text' => null,
223 ),
224 'dateformatPartial' => array(
225 'group_name' => 'Localization Preferences',
226 'group' => 'localization',
227 'name' => 'dateformatPartial',
228 'prefetch' => 1,
229 'config_only' => 1,
230 'type' => 'String',
231 'default' => '%B %Y',
232 'add' => '4.3',
233 'title' => 'Month and Year',
234 'is_domain' => 1,
235 'is_contact' => 0,
236 'description' => '',
237 'help_text' => null,
238 ),
239 'lcMessages' => array(
240 'group_name' => 'Localization Preferences',
241 'group' => 'localization',
242 'name' => 'lcMessages',
243 'prefetch' => 1,
244 'config_only' => 1,
245 'type' => 'String',
246 'default' => 'en_US',
247 'add' => '4.3',
248 'title' => 'Default Language',
249 'is_domain' => 1,
250 'is_contact' => 0,
251 'description' => '',
252 'help_text' => null,
253 ),
254 );