Merge branch '2015.11' into 2015.11-develop
[tine20] / tine20 / Addressbook / Config.php
index 4d9a990..dc24ad4 100644 (file)
@@ -38,6 +38,13 @@ class Addressbook_Config extends Tinebase_Config_Abstract
     const CONTACT_SALUTATION = 'contactSalutation';
     
     /**
+     * fields for list type
+     *
+     * @var string
+     */
+    const LIST_TYPE = 'listType';
+    
+    /**
      * config for address parsing rules file
      * 
      * @var string
@@ -115,6 +122,21 @@ class Addressbook_Config extends Tinebase_Config_Abstract
             'setByAdminModule'      => FALSE,
             'setBySetupModule'      => FALSE,
         ),
+        self::LIST_TYPE => array(
+                //_('List types available')
+                'label'                 => 'List types available',
+                //_('List types available.')
+                'description'           => 'List types available.',
+                'type'                  => 'keyFieldConfig',
+                'clientRegistryInclude' => TRUE,
+                'setByAdminModule'      => true,
+                'default'               => array(
+                    'records' => array(
+                        array('id' => 'DEPARTMENT',    'value' => 'Department'), //_('Department')
+                        array('id' => 'MAILINGLIST',    'value' => 'Mailing list'), //_('Mailing list')
+                    ),
+            )
+        ),
         self::CONTACT_IMPORT_NOMINATIM => array(
             //_('Use Nominatim during contact import')
             'label'                 => 'Use Nominatim during contact import',