Code

Updated system stuff
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Feb 2010 17:43:55 +0000 (17:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Feb 2010 17:43:55 +0000 (17:43 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15639 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index ccaa30722288e23e910543d54b07a9527eca43fc..95e5b3cffaefd72668e14441bbd5563906e7d438 100644 (file)
@@ -1358,14 +1358,13 @@ class systemManagement extends management
 
     $ldap = $config->get_ldap_link();
     $ldap->cd($config->current['BASE']);
-    $ldap->search("(&(objectClass=gosaGroupOfNames)(FAIclass=*)(member=".$b."))",array('FAIclass'));
-    
+    $ldap->search("(&(objectClass=gosaGroupOfNames)(FAIclass=*)(member=".$b."))",array('FAIclass','cn'));
     while($attrs = $ldap->fetch()){
-
       $rel = preg_replace("/^.*:/","",$attrs['FAIclass'][0]);
+      $sys = sprintf(_("Inherited from %s"),$attrs['cn'][0]);
       $str = "&nbsp;<img class='center' src='plugins/ogroups/images/ogroup.png' 
-          title='"._("Object group member")."' 
-          alt='("._("Object group member").")' >&nbsp;".$rel;
+          title='".$sys."' 
+          alt='".$sys."' >&nbsp;".$rel;
       return($str);
     }