CRM-16761 - Schema changes, DB upgrade, new copy of civicrm_generated.mysql.
[civicrm-core.git] / settings / Url.setting.php
index eb8b33b25f972ffcc8f6ac78a96f8c02cee46013..886e218beb7337fb0c12ea4cc299492fc3725194 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
  * $Id$
  *
  */
  */
 return array(
   'userFrameworkResourceURL' => array(
+    'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
     'group' => 'url',
     'group_name' => 'URL Preferences',
     'name' => 'userFrameworkResourceURL',
-    'title' => 'Script and CSS Resources URL',
+    'title' => 'CiviCRM Resource URL',
     'type' => 'String',
+    'html_type' => 'Text',
+    'quick_form_type' => 'Element',
     'default' => NULL,
     'add' => '4.1',
-    'prefetch' => 1,
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'CiviCRM Resource URL',
+    'description' => 'Absolute URL of the location where the civicrm module or component has been installed.',
     'help_text' => NULL,
-    'validate_callback' => 'CRM_Utils_Rule::url',
+    'validate_callback' => 'CRM_Utils_Rule::urlish',
   ),
   'imageUploadURL' => array(
+    'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
     'group' => 'url',
     'group_name' => 'URL Preferences',
-    'title' => 'Image URL Prefix',
+    'title' => 'Image Upload URL',
     'name' => 'imageUploadURL',
     'type' => 'String',
+    'html_type' => 'Text',
+    'quick_form_type' => 'Element',
     'default' => NULL,
     'add' => '4.1',
-    'prefetch' => 1,
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Image Upload URL',
+    'description' => 'URL of the location for uploaded image files.',
     'help_text' => NULL,
-    'validate_callback' => 'CRM_Utils_Rule::url',
+    'validate_callback' => 'CRM_Utils_Rule::urlish',
   ),
   'customCSSURL' => array(
+    'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
     'group' => 'url',
     'group_name' => 'URL Preferences',
     'name' => 'customCSSURL',
-    'title' => 'Custom CSS',
+    'title' => 'Custom CSS URL',
     'type' => 'String',
+    'html_type' => 'Text',
+    'quick_form_type' => 'Element',
     'default' => NULL,
     'add' => '4.1',
-    'prefetch' => 1,
     'is_domain' => 1,
     'is_contact' => 0,
-    'description' => 'Custom CiviCRM CSS URL',
+    '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.',
     'help_text' => NULL,
-    'validate_callback' => 'CRM_Utils_Rule::url',
+    'validate_callback' => 'CRM_Utils_Rule::urlish',
+  ),
+  'extensionsURL' => array(
+    'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
+    'group' => 'url',
+    'group_name' => 'URL Preferences',
+    'title' => 'Extension Resource URL',
+    'name' => 'extensionsURL',
+    'type' => 'String',
+    'html_type' => 'Text',
+    'quick_form_type' => 'Element',
+    'default' => NULL,
+    'add' => '4.1',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => 'Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.',
+    'help_text' => NULL,
+    'validate_callback' => 'CRM_Utils_Rule::urlish',
   ),
-
 );