summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: efb91e6)
raw | patch | inline | side by side (parent: efb91e6)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 May 2007 12:29:02 +0000 (12:29 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 May 2007 12:29:02 +0000 (12:29 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6423 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_config.inc | patch | blob | history | |
plugins/admin/users/class_divListUsers.inc | patch | blob | history |
index e3d3635e07c3fc76f14fe482b70db4a3edb79948..e9b17448b95f22696c644820efc4fe22b78463d1 100644 (file)
--- a/include/class_config.inc
+++ b/include/class_config.inc
$depth ++;
/* 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;
}
diff --git a/plugins/admin/users/class_divListUsers.inc b/plugins/admin/users/class_divListUsers.inc
index 4aa5b410c44b5f22963c637f081727edfeef14ff..cca776319ca553a5d948737d5c0690adbebce6a5 100644 (file)
$ui= get_userinfo();
$tdeps= $ui->get_module_departments("users");
$ids = $this->config->idepartments;
+print_a($ids);
$first = "";
$found = FALSE;
foreach($deps as $dep){