Code

Updated ItemSelector
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 25 Oct 2010 07:11:25 +0000 (07:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 25 Oct 2010 07:11:25 +0000 (07:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20133 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_ItemSelector.inc

index 266ddc42d626bf2cc6f18b7552a0984b2670c29f..f8e5fad9a44c11be2f2e25557f580bbc8633f27c 100644 (file)
@@ -216,19 +216,19 @@ class ItemSelector {
 
     <ul class='treeList'>\n";
         $first= true;
-        $last_indent= 2;
+        $last_indent= 1;
 
         foreach ($this->pathMapping as $base => $dummy) {
 
             // Skip root for tree
             if ($base == $this->releaseBase) {
-                continue;
+#                continue;
             }
 
             // Build path style display
             $elements= explode('/', substr($base, strlen($this->releaseBase), strlen($base)));
             $indent= count($elements) ;
-        
+       
             if (!$first && ($indent == $last_indent)) {
                 $this->tree.= "</li>\n";
             }