summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: af22c32)
raw | patch | inline | side by side (parent: af22c32)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Oct 2010 07:21:59 +0000 (07:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Oct 2010 07:21:59 +0000 (07:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20147 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_ItemSelector.inc | patch | blob | history |
index 55b808691704c07235a9537095596efcd666be91..75ea6db837930b64b3024058e4193f5c8e1c941b 100644 (file)
$first= true;
$last_indent= 2;
- foreach ($bases as $base => $dummy) {
+ foreach ($bases as $path => $data) {
// Build path style display
- $this->pathMapping[$base]= $base == $this->releaseBase? '/' : $dummy;
- $this->releaseInfo[$base]['name'] = preg_replace("/^.*\//","",$base);
- $this->releaseInfo[$base]['description'] = $dummy;
+ $this->pathMapping[$path]= $path == $this->releaseBase? '/' : $data['name'];
+ $this->releaseInfo[$path]['name'] = $data['name'];
+ $this->releaseInfo[$path]['description'] = $data['desc'];
}
// Save bases to session for autocompletion