Merge branch '2014.11-develop' into 2015.07
[tine20] / tine20 / Calendar / Config.php
index 36a7b63..f98b259 100644 (file)
@@ -112,6 +112,13 @@ class Calendar_Config extends Tinebase_Config_Abstract
     const FEATURE_SPLIT_VIEW = 'featureSplitView';
 
     /**
+     * FEATURE_YEAR_VIEW
+     *
+     * @var string
+     */
+    const FEATURE_YEAR_VIEW = 'featureYearView';
+
+    /**
      * FEATURE_EXTENDED_EVENT_CONTEXT_ACTIONS
      *
      * @var string
@@ -295,13 +302,18 @@ class Calendar_Config extends Tinebase_Config_Abstract
                     'label'         => 'Calendar Split View', //_('Calendar Split View')
                     'description'   => 'Split day and week views by attendee', //_('Split day and week views by attendee')
                 ),
+                self::FEATURE_YEAR_VIEW => array(
+                    'label'         => 'Calendar Year View', //_('Calendar Year View')
+                    'description'   => 'Adds year view to Calendar', //_('Adds year view to Calendar')
+                ),
                 self::FEATURE_EXTENDED_EVENT_CONTEXT_ACTIONS => array(
                     'label'         => 'Calendar Extended Context Menu Actions', //_('Calendar Extended Context Menu Actions')
                     'description'   => 'Adds extended actions to event context menus', //_('Adds extended actions to event context menus')
                 ),
             ),
             'default'               => array(
-                self::FEATURE_SPLIT_VIEW                        => true,
+                self::FEATURE_SPLIT_VIEW           => true,
+                self::FEATURE_YEAR_VIEW            => true,
                 self::FEATURE_EXTENDED_EVENT_CONTEXT_ACTIONS    => false,
             ),
         ),