summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0542f31)
raw | patch | inline | side by side (parent: 0542f31)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Mar 2010 06:57:32 +0000 (06:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Mar 2010 06:57:32 +0000 (06:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17373 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_releaseSelector.inc | patch | blob | history |
diff --git a/gosa-core/include/class_releaseSelector.inc b/gosa-core/include/class_releaseSelector.inc
index f652c88cafba47a3109c902828792a28288a0fcd..ee84de6216d9ad84336fd3581998503a55bdf6e4 100644 (file)
$elements= array_reverse($elements, true);
$this->pathMapping[$base]= $base == $this->releaseBase? '/' : ldap::fix(preg_replace('/(^|,)[a-z0-9]+=/i', '/', implode(',', $elements)));
- $this->releaseInfo[$base]['name'] = $this->pathMapping[$base];
- $this->releaseInfo[$base]['description'] = "";
+ $this->releaseInfo[$base]['name'] = ldap::fix(preg_replace('/(^|,)[a-z0-9]+=/i', '', $elements[0]));
+ $this->releaseInfo[$base]['description'] = $dummy;
}
// Save bases to session for autocompletion
}
$selected= $this->base == $base?" class='treeListSelected'":"";
$link= "onclick=\"\$('bs_rebase_".$this->pid."').value='".base64_encode($base)."';$('submit_tree_base_".$this->pid."').click();\"";
+
$this->tree.= "<li>".
"<a$selected $link>".
$this->gennonbreaks($this->releaseInfo[$base]['name']).
+ ($this->releaseInfo[$base]['description']==''?'':' <span class="informal">['.$this->gennonbreaks($this->releaseInfo[$base]['description']).']</span>').
"</a>";
$last_indent= $indent;