summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6eb8f6b)
raw | patch | inline | side by side (parent: 6eb8f6b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Apr 2011 08:26:50 +0000 (08:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Apr 2011 08:26:50 +0000 (08:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20638 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_ItemSelector.inc | patch | blob | history |
index 75ea6db837930b64b3024058e4193f5c8e1c941b..fba6bb191260f3cbe8697669c656869e44b700cc 100644 (file)
foreach ($bases as $path => $data) {
// Build path style display
- $this->pathMapping[$path]= $path == $this->releaseBase? '/' : $data['name'];
+ $this->pathMapping[$path]= preg_replace("/^".preg_quote($this->releaseBase,'/')."/i", "", $path);
$this->releaseInfo[$path]['name'] = $data['name'];
$this->releaseInfo[$path]['description'] = $data['desc'];
}