phpldapadmin: Display displayName whenever possible.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 15 Apr 2009 17:47:16 +0000 (19:47 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 15 Apr 2009 17:47:16 +0000 (19:47 +0200)
etc/phpldapadmin/config.php

index 5056a695d39dd40d4e5693603f49d3c52394c98c..18c8892d74bff38644a7e82a1b71ccf2bb8131a2 100644 (file)
@@ -116,6 +116,9 @@ $config->custom->commands['all'] = array(
 /* Appearance                                */
 /*********************************************/
 
+// Use the displayName in the tree view, when available.
+$config->custom->appearance['tree_display_formats'] = array("%displayName", "%rdnValue");
+
 /* If you want to choose the appearance of the tree, specify a class name which
    inherits from the Tree class. */
 // $config->custom->appearance['tree'] = "AJAXTree";