Commit | Line | Data |
---|---|---|
0eb5249a | 1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
fee14197 | 4 | | CiviCRM version 5 | |
0eb5249a | 5 | +--------------------------------------------------------------------+ |
6b83d5bd | 6 | | Copyright CiviCRM LLC (c) 2004-2019 | |
0eb5249a | 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 | +--------------------------------------------------------------------+ | |
518fa0ee | 26 | */ |
0eb5249a | 27 | |
28 | /** | |
29 | * | |
30 | * @package CRM | |
6b83d5bd | 31 | * @copyright CiviCRM LLC (c) 2004-2019 |
0eb5249a | 32 | * |
33 | * Generated from schema_structure.tpl | |
34 | * DO NOT EDIT. Generated by CRM_Core_CodeGen | |
35 | */ | |
36 | class CRM_Core_I18n_SchemaStructure { | |
37 | ||
38 | /** | |
39 | * Get translatable columns. | |
40 | * | |
41 | * @return array | |
42 | * A table-indexed array of translatable columns. | |
43 | */ | |
44 | public static function &columns() { | |
518fa0ee | 45 | static $result = NULL; |
0eb5249a | 46 | if (!$result) { |
47 | $result = [ | |
48 | 'civicrm_location_type' => [ | |
b2f1ab29 | 49 | 'display_name' => "varchar(64) COMMENT 'Location Type Display Name.'", |
0eb5249a | 50 | ], |
51 | 'civicrm_option_group' => [ | |
b2f1ab29 SL |
52 | 'title' => "varchar(255) COMMENT 'Option Group title.'", |
53 | 'description' => "varchar(255) COMMENT 'Option group description.'", | |
0eb5249a | 54 | ], |
55 | 'civicrm_relationship_type' => [ | |
b2f1ab29 SL |
56 | 'label_a_b' => "varchar(64) COMMENT 'label for relationship of contact_a to contact_b.'", |
57 | 'label_b_a' => "varchar(64) COMMENT 'Optional label for relationship of contact_b to contact_a.'", | |
58 | 'description' => "varchar(255) COMMENT 'Optional verbose description of the relationship type.'", | |
0eb5249a | 59 | ], |
60 | 'civicrm_contact_type' => [ | |
b2f1ab29 SL |
61 | 'label' => "varchar(64) COMMENT 'localized Name of Contact Type.'", |
62 | 'description' => "text COMMENT 'localized Optional verbose description of the type.'", | |
0eb5249a | 63 | ], |
64 | 'civicrm_batch' => [ | |
b2f1ab29 SL |
65 | 'title' => "varchar(255) COMMENT 'Friendly Name.'", |
66 | 'description' => "text COMMENT 'Description of this batch set.'", | |
0eb5249a | 67 | ], |
68 | 'civicrm_premiums' => [ | |
b2f1ab29 SL |
69 | 'premiums_intro_title' => "varchar(255) COMMENT 'Title for Premiums section.'", |
70 | 'premiums_intro_text' => "text COMMENT 'Displayed in <div> at top of Premiums section of page. Text and HTML allowed.'", | |
71 | 'premiums_nothankyou_label' => "varchar(255) COMMENT 'Label displayed for No Thank-you option in premiums block (e.g. No thank you)'", | |
0eb5249a | 72 | ], |
73 | 'civicrm_membership_status' => [ | |
b2f1ab29 | 74 | 'label' => "varchar(128) COMMENT 'Label for Membership Status'", |
0eb5249a | 75 | ], |
76 | 'civicrm_survey' => [ | |
b2f1ab29 SL |
77 | 'title' => "varchar(255) NOT NULL COMMENT 'Title of the Survey.'", |
78 | 'instructions' => "text COMMENT 'Script instructions for volunteers to use for the survey.'", | |
79 | 'thankyou_title' => "varchar(255) COMMENT 'Title for Thank-you page (header title tag, and display at the top of the page).'", | |
80 | 'thankyou_text' => "text COMMENT 'text and html allowed. displayed above result on success page'", | |
0eb5249a | 81 | ], |
82 | 'civicrm_participant_status_type' => [ | |
b2f1ab29 | 83 | 'label' => "varchar(255) COMMENT 'localized label for display of this status type'", |
0eb5249a | 84 | ], |
85 | 'civicrm_case_type' => [ | |
b2f1ab29 SL |
86 | 'title' => "varchar(64) NOT NULL COMMENT 'Natural language name for Case Type'", |
87 | 'description' => "varchar(255) COMMENT 'Description of the Case Type'", | |
0eb5249a | 88 | ], |
89 | 'civicrm_tell_friend' => [ | |
90 | 'title' => "varchar(255)", | |
b2f1ab29 SL |
91 | 'intro' => "text COMMENT 'Introductory message to contributor or participant displayed on the Tell a Friend form.'", |
92 | 'suggested_message' => "text COMMENT 'Suggested message to friends, provided as default on the Tell A Friend form.'", | |
93 | 'thankyou_title' => "varchar(255) COMMENT 'Text for Tell a Friend thank you page header and HTML title.'", | |
94 | 'thankyou_text' => "text COMMENT 'Thank you message displayed on success page.'", | |
0eb5249a | 95 | ], |
96 | 'civicrm_custom_group' => [ | |
b2f1ab29 SL |
97 | 'title' => "varchar(64) NOT NULL COMMENT 'Friendly Name.'", |
98 | 'help_pre' => "text COMMENT 'Description and/or help text to display before fields in form.'", | |
99 | 'help_post' => "text COMMENT 'Description and/or help text to display after fields in form.'", | |
0eb5249a | 100 | ], |
101 | 'civicrm_custom_field' => [ | |
b2f1ab29 SL |
102 | 'label' => "varchar(255) NOT NULL COMMENT 'Text for form field label (also friendly name for administering this custom property).'", |
103 | 'help_pre' => "text COMMENT 'Description and/or help text to display before this field.'", | |
104 | 'help_post' => "text COMMENT 'Description and/or help text to display after this field.'", | |
0eb5249a | 105 | ], |
106 | 'civicrm_option_value' => [ | |
b2f1ab29 SL |
107 | 'label' => "varchar(512) NOT NULL COMMENT 'Option string as displayed to users - e.g. the label in an HTML OPTION tag.'", |
108 | 'description' => "text COMMENT 'Optional description.'", | |
0eb5249a | 109 | ], |
110 | 'civicrm_group' => [ | |
b2f1ab29 | 111 | 'title' => "varchar(64) COMMENT 'Name of Group.'", |
0eb5249a | 112 | ], |
113 | 'civicrm_contribution_page' => [ | |
b2f1ab29 SL |
114 | 'title' => "varchar(255) COMMENT 'Contribution Page title. For top of page display'", |
115 | 'intro_text' => "text COMMENT 'Text and html allowed. Displayed below title.'", | |
116 | 'pay_later_text' => "text COMMENT 'The text displayed to the user in the main form'", | |
117 | 'pay_later_receipt' => "text COMMENT 'The receipt sent to the user instead of the normal receipt text'", | |
118 | 'initial_amount_label' => "varchar(255) COMMENT 'Initial amount label for partial payment'", | |
119 | 'initial_amount_help_text' => "text COMMENT 'Initial amount help text for partial payment'", | |
120 | 'thankyou_title' => "varchar(255) COMMENT 'Title for Thank-you page (header title tag, and display at the top of the page).'", | |
121 | 'thankyou_text' => "text COMMENT 'text and html allowed. displayed above result on success page'", | |
122 | 'thankyou_footer' => "text COMMENT 'Text and html allowed. displayed at the bottom of the success page. Common usage is to include link(s) to other pages such as tell-a-friend, etc.'", | |
123 | 'receipt_from_name' => "varchar(255) COMMENT 'FROM email name used for receipts generated by contributions to this contribution page.'", | |
124 | 'receipt_text' => "text COMMENT 'text to include above standard receipt info on receipt email. emails are text-only, so do not allow html for now'", | |
125 | 'footer_text' => "text COMMENT 'Text and html allowed. Displayed at the bottom of the first page of the contribution wizard.'", | |
6489e3de | 126 | 'frontend_title' => "varchar(255) DEFAULT NULL COMMENT 'Contribution Page Public title'", |
0eb5249a | 127 | ], |
128 | 'civicrm_product' => [ | |
b2f1ab29 SL |
129 | 'name' => "varchar(255) NOT NULL COMMENT 'Required product/premium name'", |
130 | 'description' => "text COMMENT 'Optional description of the product/premium.'", | |
131 | 'options' => "text COMMENT 'Store comma-delimited list of color, size, etc. options for the product.'", | |
0eb5249a | 132 | ], |
4c257e17 | 133 | 'civicrm_payment_processor' => [ |
b2f1ab29 | 134 | 'title' => "varchar(127) COMMENT 'Payment Processor Descriptive Name.'", |
4c257e17 | 135 | ], |
0eb5249a | 136 | 'civicrm_membership_type' => [ |
b2f1ab29 SL |
137 | 'name' => "varchar(128) COMMENT 'Name of Membership Type'", |
138 | 'description' => "varchar(255) COMMENT 'Description of Membership Type'", | |
0eb5249a | 139 | ], |
140 | 'civicrm_membership_block' => [ | |
b2f1ab29 SL |
141 | 'new_title' => "varchar(255) COMMENT 'Title to display at top of block'", |
142 | 'new_text' => "text COMMENT 'Text to display below title'", | |
143 | 'renewal_title' => "varchar(255) COMMENT 'Title for renewal'", | |
144 | 'renewal_text' => "text COMMENT 'Text to display for member renewal'", | |
0eb5249a | 145 | ], |
146 | 'civicrm_price_set' => [ | |
b2f1ab29 SL |
147 | 'title' => "varchar(255) NOT NULL COMMENT 'Displayed title for the Price Set.'", |
148 | 'help_pre' => "text COMMENT 'Description and/or help text to display before fields in form.'", | |
149 | 'help_post' => "text COMMENT 'Description and/or help text to display after fields in form.'", | |
0eb5249a | 150 | ], |
151 | 'civicrm_dashboard' => [ | |
b2f1ab29 | 152 | 'label' => "varchar(255) COMMENT 'dashlet title'", |
0eb5249a | 153 | ], |
154 | 'civicrm_uf_group' => [ | |
b2f1ab29 SL |
155 | 'title' => "varchar(64) NOT NULL COMMENT 'Form title.'", |
156 | 'frontend_title' => "varchar(64) COMMENT 'Profile Form Public title'", | |
157 | 'help_pre' => "text COMMENT 'Description and/or help text to display before fields in form.'", | |
158 | 'help_post' => "text COMMENT 'Description and/or help text to display after fields in form.'", | |
159 | 'cancel_button_text' => "varchar(64) DEFAULT NULL COMMENT 'Custom Text to display on the Cancel button when used in create or edit mode'", | |
160 | 'submit_button_text' => "varchar(64) DEFAULT NULL COMMENT 'Custom Text to display on the submit button on profile edit/create screens'", | |
0eb5249a | 161 | ], |
162 | 'civicrm_uf_field' => [ | |
b2f1ab29 SL |
163 | 'help_post' => "text COMMENT 'Description and/or help text to display after this field.'", |
164 | 'help_pre' => "text COMMENT 'Description and/or help text to display before this field.'", | |
165 | 'label' => "varchar(255) NOT NULL COMMENT 'To save label for fields.'", | |
0eb5249a | 166 | ], |
167 | 'civicrm_price_field' => [ | |
b2f1ab29 SL |
168 | 'label' => "varchar(255) NOT NULL COMMENT 'Text for form field label (also friendly name for administering this field).'", |
169 | 'help_pre' => "text COMMENT 'Description and/or help text to display before this field.'", | |
170 | 'help_post' => "text COMMENT 'Description and/or help text to display after this field.'", | |
0eb5249a | 171 | ], |
172 | 'civicrm_price_field_value' => [ | |
b2f1ab29 SL |
173 | 'label' => "varchar(255) COMMENT 'Price field option label'", |
174 | 'description' => "text DEFAULT NULL COMMENT 'Price field option description.'", | |
175 | 'help_pre' => "text DEFAULT NULL COMMENT 'Price field option pre help text.'", | |
176 | 'help_post' => "text DEFAULT NULL COMMENT 'Price field option post field help.'", | |
0eb5249a | 177 | ], |
178 | 'civicrm_pcp_block' => [ | |
b2f1ab29 | 179 | 'link_text' => "varchar(255) DEFAULT NULL COMMENT 'Link text for PCP.'", |
0eb5249a | 180 | ], |
181 | 'civicrm_event' => [ | |
b2f1ab29 SL |
182 | 'title' => "varchar(255) COMMENT 'Event Title (e.g. Fall Fundraiser Dinner)'", |
183 | 'summary' => "text COMMENT 'Brief summary of event. Text and html allowed. Displayed on Event Registration form and can be used on other CMS pages which need an event summary.'", | |
184 | 'description' => "text COMMENT 'Full description of event. Text and html allowed. Displayed on built-in Event Information screens.'", | |
185 | 'registration_link_text' => "varchar(255) COMMENT 'Text for link to Event Registration form which is displayed on Event Information screen when is_online_registration is true.'", | |
186 | 'event_full_text' => "text COMMENT 'Message to display on Event Information page and INSTEAD OF Event Registration form if maximum participants are signed up. Can include email address/info about getting on a waiting list, etc. Text and html allowed.'", | |
0eb5249a | 187 | 'fee_label' => "varchar(255)", |
b2f1ab29 SL |
188 | 'intro_text' => "text COMMENT 'Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.'", |
189 | 'footer_text' => "text COMMENT 'Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.'", | |
190 | 'confirm_title' => "varchar(255) DEFAULT NULL COMMENT 'Title for Confirmation page.'", | |
191 | 'confirm_text' => "text COMMENT 'Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.'", | |
192 | 'confirm_footer_text' => "text COMMENT 'Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.'", | |
193 | 'confirm_email_text' => "text COMMENT 'text to include above standard event info on confirmation email. emails are text-only, so do not allow html for now'", | |
194 | 'confirm_from_name' => "varchar(255) COMMENT 'FROM email name used for confirmation emails.'", | |
195 | 'thankyou_title' => "varchar(255) DEFAULT NULL COMMENT 'Title for ThankYou page.'", | |
196 | 'thankyou_text' => "text COMMENT 'ThankYou Text.'", | |
197 | 'thankyou_footer_text' => "text COMMENT 'Footer message.'", | |
198 | 'pay_later_text' => "text COMMENT 'The text displayed to the user in the main form'", | |
199 | 'pay_later_receipt' => "text COMMENT 'The receipt sent to the user instead of the normal receipt text'", | |
200 | 'initial_amount_label' => "varchar(255) COMMENT 'Initial amount label for partial payment'", | |
201 | 'initial_amount_help_text' => "text COMMENT 'Initial amount help text for partial payment'", | |
202 | 'waitlist_text' => "text COMMENT 'Text to display when the event is full, but participants can signup for a waitlist.'", | |
203 | 'approval_req_text' => "text COMMENT 'Text to display when the approval is required to complete registration for an event.'", | |
204 | 'template_title' => "varchar(255) COMMENT 'Event Template Title'", | |
0eb5249a | 205 | ], |
206 | ]; | |
207 | } | |
208 | return $result; | |
209 | } | |
210 | ||
211 | /** | |
212 | * Get a table indexed array of the indices for translatable fields. | |
213 | * | |
214 | * @return array | |
215 | * Indices for translatable fields. | |
216 | */ | |
217 | public static function &indices() { | |
518fa0ee | 218 | static $result = NULL; |
0eb5249a | 219 | if (!$result) { |
220 | $result = [ | |
221 | 'civicrm_custom_group' => [ | |
222 | 'UI_title_extends' => [ | |
223 | 'name' => 'UI_title_extends', | |
224 | 'field' => [ | |
225 | 'title', | |
226 | 'extends', | |
227 | ], | |
228 | 'unique' => 1, | |
229 | ], | |
230 | ], | |
231 | 'civicrm_custom_field' => [ | |
232 | 'UI_label_custom_group_id' => [ | |
233 | 'name' => 'UI_label_custom_group_id', | |
234 | 'field' => [ | |
235 | 'label', | |
236 | 'custom_group_id', | |
237 | ], | |
238 | 'unique' => 1, | |
239 | ], | |
240 | ], | |
241 | 'civicrm_group' => [ | |
242 | 'UI_title' => [ | |
243 | 'name' => 'UI_title', | |
244 | 'field' => [ | |
245 | 'title', | |
246 | ], | |
247 | 'unique' => 1, | |
248 | ], | |
249 | ], | |
250 | ]; | |
251 | } | |
252 | return $result; | |
253 | } | |
254 | ||
255 | /** | |
256 | * Get tables with translatable fields. | |
257 | * | |
258 | * @return array | |
259 | * Array of names of tables with fields that can be translated. | |
260 | */ | |
518fa0ee SL |
261 | public static function &tables() { |
262 | static $result = NULL; | |
0eb5249a | 263 | if (!$result) { |
264 | $result = array_keys(self::columns()); | |
265 | } | |
266 | return $result; | |
267 | } | |
268 | ||
269 | /** | |
270 | * Get a list of widgets for editing translatable fields. | |
271 | * | |
272 | * @return array | |
273 | * Array of the widgets for editing translatable fields. | |
274 | */ | |
518fa0ee SL |
275 | public static function &widgets() { |
276 | static $result = NULL; | |
0eb5249a | 277 | if (!$result) { |
278 | $result = [ | |
279 | 'civicrm_location_type' => [ | |
280 | 'display_name' => [ | |
281 | 'type' => "Text", | |
282 | ], | |
283 | ], | |
284 | 'civicrm_option_group' => [ | |
285 | 'title' => [ | |
286 | 'type' => "Text", | |
287 | ], | |
288 | 'description' => [ | |
289 | 'type' => "Text", | |
290 | ], | |
291 | ], | |
292 | 'civicrm_relationship_type' => [ | |
293 | 'label_a_b' => [ | |
294 | 'type' => "Text", | |
295 | ], | |
296 | 'label_b_a' => [ | |
297 | 'type' => "Text", | |
298 | ], | |
299 | 'description' => [ | |
300 | 'type' => "Text", | |
301 | ], | |
302 | ], | |
303 | 'civicrm_contact_type' => [ | |
304 | 'label' => [ | |
305 | 'type' => "Text", | |
306 | ], | |
307 | 'description' => [ | |
308 | 'type' => "TextArea", | |
309 | 'rows' => "2", | |
310 | 'cols' => "60", | |
311 | ], | |
312 | ], | |
313 | 'civicrm_batch' => [ | |
314 | 'title' => [ | |
315 | 'type' => "Text", | |
316 | ], | |
317 | 'description' => [ | |
318 | 'type' => "TextArea", | |
319 | 'rows' => "4", | |
320 | 'cols' => "80", | |
321 | ], | |
322 | ], | |
323 | 'civicrm_premiums' => [ | |
324 | 'premiums_intro_title' => [ | |
325 | 'type' => "Text", | |
326 | ], | |
327 | 'premiums_intro_text' => [ | |
328 | 'type' => "Text", | |
329 | ], | |
330 | 'premiums_nothankyou_label' => [ | |
331 | 'type' => "Text", | |
332 | ], | |
333 | ], | |
334 | 'civicrm_membership_status' => [ | |
335 | 'label' => [ | |
336 | 'type' => "Text", | |
337 | ], | |
338 | ], | |
339 | 'civicrm_survey' => [ | |
340 | 'title' => [ | |
341 | 'type' => "Text", | |
342 | 'required' => "true", | |
343 | ], | |
344 | 'instructions' => [ | |
345 | 'type' => "TextArea", | |
346 | 'rows' => "20", | |
347 | 'cols' => "80", | |
348 | ], | |
349 | 'thankyou_title' => [ | |
350 | 'type' => "Text", | |
351 | ], | |
352 | 'thankyou_text' => [ | |
353 | 'type' => "TextArea", | |
354 | 'rows' => "8", | |
355 | 'cols' => "60", | |
356 | ], | |
357 | ], | |
358 | 'civicrm_participant_status_type' => [ | |
359 | 'label' => [ | |
360 | 'type' => "Text", | |
361 | ], | |
362 | ], | |
363 | 'civicrm_case_type' => [ | |
364 | 'title' => [ | |
365 | 'type' => "Text", | |
366 | 'required' => "true", | |
367 | ], | |
368 | 'description' => [ | |
369 | 'type' => "Text", | |
370 | ], | |
371 | ], | |
372 | 'civicrm_tell_friend' => [ | |
373 | 'title' => [ | |
374 | 'type' => "Text", | |
375 | ], | |
376 | 'intro' => [ | |
377 | 'type' => "Text", | |
378 | ], | |
379 | 'suggested_message' => [ | |
380 | 'type' => "Text", | |
381 | ], | |
382 | 'thankyou_title' => [ | |
383 | 'type' => "Text", | |
384 | ], | |
385 | 'thankyou_text' => [ | |
386 | 'type' => "Text", | |
387 | ], | |
388 | ], | |
389 | 'civicrm_custom_group' => [ | |
390 | 'title' => [ | |
391 | 'type' => "Text", | |
392 | 'required' => "true", | |
393 | ], | |
394 | 'help_pre' => [ | |
395 | 'type' => "TextArea", | |
396 | 'rows' => "4", | |
397 | 'cols' => "80", | |
398 | ], | |
399 | 'help_post' => [ | |
400 | 'type' => "TextArea", | |
401 | 'rows' => "4", | |
402 | 'cols' => "80", | |
403 | ], | |
404 | ], | |
405 | 'civicrm_custom_field' => [ | |
406 | 'label' => [ | |
407 | 'type' => "Text", | |
408 | 'required' => "true", | |
409 | ], | |
410 | 'help_pre' => [ | |
411 | 'type' => "Text", | |
412 | ], | |
413 | 'help_post' => [ | |
414 | 'type' => "Text", | |
415 | ], | |
416 | ], | |
417 | 'civicrm_option_value' => [ | |
418 | 'label' => [ | |
419 | 'type' => "Text", | |
420 | 'required' => "true", | |
421 | ], | |
422 | 'description' => [ | |
423 | 'type' => "TextArea", | |
424 | 'rows' => "8", | |
425 | 'cols' => "60", | |
426 | ], | |
427 | ], | |
428 | 'civicrm_group' => [ | |
429 | 'title' => [ | |
430 | 'type' => "Text", | |
431 | ], | |
432 | ], | |
433 | 'civicrm_contribution_page' => [ | |
434 | 'title' => [ | |
435 | 'type' => "Text", | |
436 | ], | |
437 | 'intro_text' => [ | |
438 | 'type' => "RichTextEditor", | |
439 | 'rows' => "6", | |
440 | 'cols' => "50", | |
441 | ], | |
442 | 'pay_later_text' => [ | |
443 | 'type' => "Text", | |
444 | ], | |
445 | 'pay_later_receipt' => [ | |
446 | 'type' => "Text", | |
447 | ], | |
448 | 'initial_amount_label' => [ | |
449 | 'type' => "Text", | |
450 | ], | |
451 | 'initial_amount_help_text' => [ | |
452 | 'type' => "Text", | |
453 | ], | |
454 | 'thankyou_title' => [ | |
455 | 'type' => "Text", | |
456 | ], | |
457 | 'thankyou_text' => [ | |
458 | 'type' => "RichTextEditor", | |
459 | 'rows' => "8", | |
460 | 'cols' => "60", | |
461 | ], | |
462 | 'thankyou_footer' => [ | |
463 | 'type' => "RichTextEditor", | |
464 | 'rows' => "8", | |
465 | 'cols' => "60", | |
466 | ], | |
467 | 'receipt_from_name' => [ | |
468 | 'type' => "Text", | |
469 | ], | |
470 | 'receipt_text' => [ | |
471 | 'type' => "TextArea", | |
472 | 'rows' => "6", | |
473 | 'cols' => "50", | |
474 | ], | |
475 | 'footer_text' => [ | |
476 | 'type' => "RichTextEditor", | |
477 | 'rows' => "6", | |
478 | 'cols' => "50", | |
479 | ], | |
6489e3de SL |
480 | 'frontend_title' => [ |
481 | 'type' => "Text", | |
482 | ], | |
0eb5249a | 483 | ], |
484 | 'civicrm_product' => [ | |
485 | 'name' => [ | |
486 | 'type' => "Text", | |
487 | 'required' => "true", | |
488 | ], | |
489 | 'description' => [ | |
490 | 'type' => "Text", | |
491 | ], | |
492 | 'options' => [ | |
493 | 'type' => "Text", | |
494 | ], | |
495 | ], | |
4c257e17 | 496 | 'civicrm_payment_processor' => [ |
497 | 'title' => [ | |
498 | 'type' => "Text", | |
499 | ], | |
500 | ], | |
0eb5249a | 501 | 'civicrm_membership_type' => [ |
502 | 'name' => [ | |
503 | 'type' => "Text", | |
80a96508 | 504 | 'label' => "Name", |
0eb5249a | 505 | ], |
506 | 'description' => [ | |
507 | 'type' => "TextArea", | |
508 | 'rows' => "6", | |
509 | 'cols' => "50", | |
80a96508 | 510 | 'label' => "Description", |
0eb5249a | 511 | ], |
512 | ], | |
513 | 'civicrm_membership_block' => [ | |
514 | 'new_title' => [ | |
515 | 'type' => "Text", | |
516 | ], | |
517 | 'new_text' => [ | |
518 | 'type' => "Text", | |
519 | ], | |
520 | 'renewal_title' => [ | |
521 | 'type' => "Text", | |
522 | ], | |
523 | 'renewal_text' => [ | |
524 | 'type' => "Text", | |
525 | ], | |
526 | ], | |
527 | 'civicrm_price_set' => [ | |
528 | 'title' => [ | |
529 | 'type' => "Text", | |
530 | 'required' => "true", | |
531 | ], | |
532 | 'help_pre' => [ | |
533 | 'type' => "TextArea", | |
534 | 'rows' => "4", | |
535 | 'cols' => "80", | |
536 | ], | |
537 | 'help_post' => [ | |
538 | 'type' => "TextArea", | |
539 | 'rows' => "4", | |
540 | 'cols' => "80", | |
541 | ], | |
542 | ], | |
543 | 'civicrm_dashboard' => [ | |
544 | 'label' => [ | |
545 | 'type' => "Text", | |
546 | ], | |
547 | ], | |
548 | 'civicrm_uf_group' => [ | |
549 | 'title' => [ | |
550 | 'type' => "Text", | |
551 | 'required' => "true", | |
552 | ], | |
553 | 'frontend_title' => [ | |
554 | 'type' => "Text", | |
555 | ], | |
556 | 'help_pre' => [ | |
557 | 'type' => "TextArea", | |
558 | 'rows' => "4", | |
559 | 'cols' => "80", | |
560 | ], | |
561 | 'help_post' => [ | |
562 | 'type' => "TextArea", | |
563 | 'rows' => "4", | |
564 | 'cols' => "80", | |
565 | ], | |
566 | 'cancel_button_text' => [ | |
567 | 'type' => "Text", | |
568 | ], | |
569 | 'submit_button_text' => [ | |
570 | 'type' => "Text", | |
571 | ], | |
572 | ], | |
573 | 'civicrm_uf_field' => [ | |
574 | 'help_post' => [ | |
575 | 'type' => "Text", | |
576 | ], | |
577 | 'help_pre' => [ | |
578 | 'type' => "Text", | |
579 | ], | |
580 | 'label' => [ | |
581 | 'type' => "Text", | |
582 | 'required' => "true", | |
583 | ], | |
584 | ], | |
585 | 'civicrm_price_field' => [ | |
586 | 'label' => [ | |
587 | 'type' => "Text", | |
588 | 'required' => "true", | |
589 | ], | |
590 | 'help_pre' => [ | |
591 | 'type' => "TextArea", | |
592 | 'rows' => "4", | |
593 | 'cols' => "80", | |
594 | ], | |
595 | 'help_post' => [ | |
596 | 'type' => "TextArea", | |
597 | 'rows' => "4", | |
598 | 'cols' => "80", | |
599 | ], | |
600 | ], | |
601 | 'civicrm_price_field_value' => [ | |
602 | 'label' => [ | |
603 | 'type' => "Text", | |
604 | ], | |
605 | 'description' => [ | |
606 | 'type' => "TextArea", | |
607 | 'rows' => "2", | |
608 | 'cols' => "60", | |
609 | ], | |
610 | 'help_pre' => [ | |
611 | 'type' => "TextArea", | |
612 | 'rows' => "2", | |
613 | 'cols' => "60", | |
614 | ], | |
615 | 'help_post' => [ | |
616 | 'type' => "TextArea", | |
617 | 'rows' => "2", | |
618 | 'cols' => "60", | |
619 | ], | |
620 | ], | |
621 | 'civicrm_pcp_block' => [ | |
622 | 'link_text' => [ | |
623 | 'type' => "Text", | |
624 | ], | |
625 | ], | |
626 | 'civicrm_event' => [ | |
627 | 'title' => [ | |
628 | 'type' => "Text", | |
629 | ], | |
630 | 'summary' => [ | |
631 | 'type' => "TextArea", | |
632 | 'rows' => "4", | |
633 | 'cols' => "60", | |
634 | ], | |
635 | 'description' => [ | |
efb34c99 | 636 | 'type' => "RichTextEditor", |
0eb5249a | 637 | 'rows' => "8", |
638 | 'cols' => "60", | |
639 | ], | |
640 | 'registration_link_text' => [ | |
641 | 'type' => "Text", | |
642 | ], | |
643 | 'event_full_text' => [ | |
644 | 'type' => "TextArea", | |
645 | 'rows' => "4", | |
646 | 'cols' => "60", | |
647 | ], | |
648 | 'fee_label' => [ | |
649 | 'type' => "Text", | |
650 | ], | |
651 | 'intro_text' => [ | |
efb34c99 | 652 | 'type' => "RichTextEditor", |
0eb5249a | 653 | 'rows' => "6", |
654 | 'cols' => "50", | |
655 | ], | |
656 | 'footer_text' => [ | |
efb34c99 | 657 | 'type' => "RichTextEditor", |
0eb5249a | 658 | 'rows' => "6", |
659 | 'cols' => "50", | |
660 | ], | |
661 | 'confirm_title' => [ | |
662 | 'type' => "Text", | |
663 | ], | |
664 | 'confirm_text' => [ | |
efb34c99 | 665 | 'type' => "RichTextEditor", |
0eb5249a | 666 | 'rows' => "6", |
667 | 'cols' => "50", | |
668 | ], | |
669 | 'confirm_footer_text' => [ | |
efb34c99 | 670 | 'type' => "RichTextEditor", |
0eb5249a | 671 | 'rows' => "6", |
672 | 'cols' => "50", | |
673 | ], | |
674 | 'confirm_email_text' => [ | |
675 | 'type' => "TextArea", | |
676 | 'rows' => "4", | |
677 | 'cols' => "50", | |
678 | ], | |
679 | 'confirm_from_name' => [ | |
680 | 'type' => "Text", | |
681 | ], | |
682 | 'thankyou_title' => [ | |
683 | 'type' => "Text", | |
684 | ], | |
685 | 'thankyou_text' => [ | |
efb34c99 | 686 | 'type' => "RichTextEditor", |
0eb5249a | 687 | 'rows' => "6", |
688 | 'cols' => "50", | |
689 | ], | |
690 | 'thankyou_footer_text' => [ | |
efb34c99 | 691 | 'type' => "RichTextEditor", |
0eb5249a | 692 | 'rows' => "6", |
693 | 'cols' => "50", | |
694 | ], | |
695 | 'pay_later_text' => [ | |
efb34c99 | 696 | 'type' => "RichTextEditor", |
0eb5249a | 697 | ], |
698 | 'pay_later_receipt' => [ | |
699 | 'type' => "Text", | |
700 | ], | |
701 | 'initial_amount_label' => [ | |
702 | 'type' => "Text", | |
703 | ], | |
704 | 'initial_amount_help_text' => [ | |
705 | 'type' => "Text", | |
706 | ], | |
707 | 'waitlist_text' => [ | |
708 | 'type' => "TextArea", | |
709 | 'rows' => "4", | |
710 | 'cols' => "60", | |
711 | ], | |
712 | 'approval_req_text' => [ | |
713 | 'type' => "TextArea", | |
714 | 'rows' => "4", | |
715 | 'cols' => "60", | |
716 | ], | |
717 | 'template_title' => [ | |
718 | 'type' => "Text", | |
719 | ], | |
720 | ], | |
721 | ]; | |
722 | } | |
723 | return $result; | |
724 | } | |
725 | ||
726 | } |