phpldapadmin: Set the custom_templates_only option.
authorMatthijs Kooijman <matthijs@stdin.nl>
Thu, 7 May 2009 15:59:03 +0000 (17:59 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Thu, 7 May 2009 15:59:03 +0000 (17:59 +0200)
This makes phpldapadmin ignore all its shipped templates and only offer
ones we create ourselves (distinguished by the "custom_" filename
prefix).

etc/phpldapadmin/config.php

index 18c8892d74bff38644a7e82a1b71ccf2bb8131a2..6d6a00ee855e22bbe6ab0998d9576400925d84c1 100644 (file)
@@ -119,6 +119,9 @@ $config->custom->commands['all'] = array(
 // Use the displayName in the tree view, when available.
 $config->custom->appearance['tree_display_formats'] = array("%displayName", "%rdnValue");
 
+// Only use custom templates (starting with custom_)
+$config->custom->appearance['custom_templates_only'] = true;
+
 /* 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";