Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
81621fee | 4 | | CiviCRM version 4.7 | |
6a488035 | 5 | +--------------------------------------------------------------------+ |
fa938177 | 6 | | Copyright CiviCRM LLC (c) 2004-2016 | |
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 | |
fa938177 | 31 | * @copyright CiviCRM LLC (c) 2004-2016 |
6a488035 TO |
32 | * $Id$ |
33 | * | |
34 | */ | |
35 | /* | |
36 | * Settings metadata file | |
37 | */ | |
08e57c58 | 38 | return array( |
6a488035 | 39 | 'userFrameworkResourceURL' => array( |
ac47f7ca | 40 | 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', |
14f20d22 CW |
41 | 'group' => 'url', |
42 | 'group_name' => 'URL Preferences', | |
6a488035 | 43 | 'name' => 'userFrameworkResourceURL', |
2937fb4a | 44 | 'title' => 'CiviCRM Resource URL', |
6a488035 | 45 | 'type' => 'String', |
2937fb4a TO |
46 | 'html_type' => 'Text', |
47 | 'quick_form_type' => 'Element', | |
08e57c58 | 48 | 'default' => NULL, |
6a488035 | 49 | 'add' => '4.1', |
6a488035 TO |
50 | 'is_domain' => 1, |
51 | 'is_contact' => 0, | |
2937fb4a | 52 | 'description' => 'Absolute URL of the location where the civicrm module or component has been installed.', |
08e57c58 | 53 | 'help_text' => NULL, |
d9d7e7dd | 54 | 'validate_callback' => 'CRM_Utils_Rule::urlish', |
6a488035 TO |
55 | ), |
56 | 'imageUploadURL' => array( | |
ac47f7ca | 57 | 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', |
14f20d22 CW |
58 | 'group' => 'url', |
59 | 'group_name' => 'URL Preferences', | |
2937fb4a | 60 | 'title' => 'Image Upload URL', |
6a488035 TO |
61 | 'name' => 'imageUploadURL', |
62 | 'type' => 'String', | |
2937fb4a TO |
63 | 'html_type' => 'Text', |
64 | 'quick_form_type' => 'Element', | |
08e57c58 | 65 | 'default' => NULL, |
6a488035 | 66 | 'add' => '4.1', |
6a488035 TO |
67 | 'is_domain' => 1, |
68 | 'is_contact' => 0, | |
2937fb4a | 69 | 'description' => 'URL of the location for uploaded image files.', |
08e57c58 | 70 | 'help_text' => NULL, |
d9d7e7dd | 71 | 'validate_callback' => 'CRM_Utils_Rule::urlish', |
6a488035 TO |
72 | ), |
73 | 'customCSSURL' => array( | |
ac47f7ca | 74 | 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', |
14f20d22 CW |
75 | 'group' => 'url', |
76 | 'group_name' => 'URL Preferences', | |
6a488035 | 77 | 'name' => 'customCSSURL', |
2937fb4a | 78 | 'title' => 'Custom CSS URL', |
6a488035 | 79 | 'type' => 'String', |
2937fb4a TO |
80 | 'html_type' => 'Text', |
81 | 'quick_form_type' => 'Element', | |
08e57c58 | 82 | 'default' => NULL, |
6a488035 | 83 | 'add' => '4.1', |
6a488035 TO |
84 | 'is_domain' => 1, |
85 | 'is_contact' => 0, | |
2937fb4a TO |
86 | 'description' => 'You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.', |
87 | 'help_text' => NULL, | |
d9d7e7dd | 88 | 'validate_callback' => 'CRM_Utils_Rule::urlish', |
2937fb4a TO |
89 | ), |
90 | 'extensionsURL' => array( | |
ac47f7ca | 91 | 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', |
2937fb4a TO |
92 | 'group' => 'url', |
93 | 'group_name' => 'URL Preferences', | |
94 | 'title' => 'Extension Resource URL', | |
95 | 'name' => 'extensionsURL', | |
96 | 'type' => 'String', | |
97 | 'html_type' => 'Text', | |
98 | 'quick_form_type' => 'Element', | |
99 | 'default' => NULL, | |
100 | 'add' => '4.1', | |
101 | 'is_domain' => 1, | |
102 | 'is_contact' => 0, | |
103 | 'description' => 'Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.', | |
08e57c58 | 104 | 'help_text' => NULL, |
d9d7e7dd | 105 | 'validate_callback' => 'CRM_Utils_Rule::urlish', |
6a488035 | 106 | ), |
94f35fe9 | 107 | ); |