CRM-18699 Fixed Wake Island spelling
[civicrm-core.git] / settings / Event.setting.php
index 1e969b83b73edcb3392d2e250c9e7a01296d43b2..82467ebfd2a78f0f6d2ef019e3bc982c7d1b4839 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2016                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2016
  * $Id$
  *
  */
 /*
  * Settings metadata file
  */
-return array (
-  'event_enable_cart' =>
-    array (
-      'name' => 'enable_cart',
-      'group_name' => 'Event Preferences',
-      'group' => 'event',
-      'type' => 'String',
-      'quick_form_type' => 'Element',
-      'default' => 0,
-      'add' => 4.1,
-      'title' => 'Enable Event Cart',
-      'is_domain' => 1,
-      'is_contact' => 1,
-      'description' => "WRITE ME",
-      'help_text' => 'WRITE ME'
+return array(
+  'enable_cart' => array(
+    'name' => 'enable_cart',
+    'group_name' => 'Event Preferences',
+    'group' => 'event',
+    'type' => 'Boolean',
+    'quick_form_type' => 'Element',
+    'default' => '0',
+    'add' => '4.1',
+    'title' => 'Enable Event Cart',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => "WRITE ME",
+    'help_text' => 'WRITE ME',
+  ),
+  'show_events' => array(
+    'name' => 'show_events',
+    'group_name' => 'Event Preferences',
+    'group' => 'event',
+    'type' => 'Integer',
+    'quick_form_type' => 'Element',
+    'default' => 10,
+    'add' => '4.5',
+    'title' => 'Dashboard entries',
+    'html_type' => 'select',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => "Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.",
+    'help_text' => NULL,
   ),
 );