summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5c58851)
raw | patch | inline | side by side (parent: 5c58851)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Oct 2005 08:13:50 +0000 (08:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Oct 2005 08:13:50 +0000 (08:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1501 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/environment/class_environment.inc | patch | blob | history | |
plugins/personal/environment/environment.tpl | patch | blob | history |
diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc
index 6ec5f58fce0dafe4dca5246c2ea4080180bf1aef..6869de447f01a282a26801728fa5e68c51feccfd 100644 (file)
$a_res = $ldap->search("(objectClass=goShareServer)",array("goExportEntry","cn"));
$return= array();
while($entry = $ldap->fetch($a_res)){
- $return[$entry['cn'][0]] = $entry['cn'][0];
+ unset($entry['goExportEntry']['count']);
+ foreach($entry['goExportEntry'] as $share){
+ $a_share = split("\|",$share);
+ $sharename = $a_share[0];
+ $return[$entry['cn'][0]."|".$sharename] = $entry['cn'][0]." [".$sharename."]";
+ }
}
return($return);
}
diff --git a/plugins/personal/environment/environment.tpl b/plugins/personal/environment/environment.tpl
index 6591037efdcd854a3218b15963a00c4b6a02a93e..0c458576bc6abd98f814880c4203059a1045b99d 100644 (file)
<table summary="{t}Profile server managment{/t}">
<tr>
<td>
- <LABEL for="gotoProfileServer">{t}Profil server{/t}</LABEL>
+ <LABEL for="gotoProfileServer">{t}Profil path{/t}</LABEL>
</td>
<td>
<select style="width:350px;" id="gotoProfileServer"