Code

Fixed Profile Server settings, each share from a servers is shown now
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 6 Oct 2005 08:13:50 +0000 (08:13 +0000)
committerhickert <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
plugins/personal/environment/environment.tpl

index 6ec5f58fce0dafe4dca5246c2ea4080180bf1aef..6869de447f01a282a26801728fa5e68c51feccfd 100644 (file)
@@ -931,7 +931,12 @@ class environment extends plugin
     $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);
   }
index 6591037efdcd854a3218b15963a00c4b6a02a93e..0c458576bc6abd98f814880c4203059a1045b99d 100644 (file)
@@ -24,7 +24,7 @@
                                                <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"