summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 83edb7f)
raw | patch | inline | side by side (parent: 83edb7f)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 May 2007 12:36:01 +0000 (12:36 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 May 2007 12:36:01 +0000 (12:36 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6434 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_config.inc | patch | blob | history |
index 6a8e23b64e2d01d839b954354ed694e3ecf836ab..8e9fb9fabedc754e7f4d94d632a6e890075e8e3b 100644 (file)
--- a/include/class_config.inc
+++ b/include/class_config.inc
$ret = array();
$depth ++;
- /* Walk through array */
+ /* Walk through array */
+ ksort($arr);
foreach($arr as $name => $entries){
/* If this department is the last in the current tree position
if(isset($entries['ENTRY'])){
$a = "";
for($i = 0 ; $i < $depth ; $i ++){
- $a.=" ";
+ $a.=".";
}
$ret[$entries['ENTRY']]=$a." ".$name;
}