Code

updated resolver
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Apr 2010 08:36:48 +0000 (08:36 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 23 Apr 2010 08:36:48 +0000 (08:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17806 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/generic/references/class_aclResolver.inc

index df9846ad96f2736e796099f2fedf799483ce8347..9802d8a1efab07470fba82ee279c0f5f154c1fde 100644 (file)
@@ -272,7 +272,7 @@ class aclResolver
                    
                     // Display the acl block in a special color if its not matching 
                     $class="";
-                    if(!$gfound || !$ufound || !$match){
+                    if(!($gfound || $ufound) || !$match){
                         $class = "acl-viewer-blocked";
                     }                    
 
@@ -297,7 +297,7 @@ class aclResolver
             $str .= "<li>".$name;
             $str .= "<ul>";
             if(preg_match("/s/", $acl)){
-                $str.="<li>"._("Grant permission to owner").'</li>'; 
+                $str.="<li><u>"._("Grant permission to owner").'</u></li>'; 
             }
             if(preg_match("/r/", $acl)) $str.="<li>"._("read").'</li>'; 
             if(preg_match("/w/", $acl)) $str.="<li>"._("write").'</li>';