Allow lookups by fields other than nickname; LDAP backend needs to have this implemen...
[squirrelmail.git] / include / constants.php
index 0cf49dee7549724dba3ca44cb9635b22faa6d38d..c9ac84312e948a2e4fac65c04ed25dc738c1db49 100644 (file)
@@ -182,6 +182,16 @@ define('SQM_COL_TO', 9);
 define('SQM_COL_CC', 10);
 define('SQM_COL_BCC', 11);
 
+/**
+ * Address book field list
+ * @since 1.4.16 and 1.5.2
+ */
+define('SM_ABOOK_FIELD_NICKNAME', 0);
+define('SM_ABOOK_FIELD_FIRSTNAME', 1);
+define('SM_ABOOK_FIELD_LASTNAME', 2);
+define('SM_ABOOK_FIELD_EMAIL', 3);
+define('SM_ABOOK_FIELD_LABEL', 4);
+
 /**
  * Generic variable type constants
  * @since 1.5.2