Code

Commit LHM-local patch
authorpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Feb 2010 09:45:11 +0000 (09:45 +0000)
committerpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Feb 2010 09:45:11 +0000 (09:45 +0000)
Don't show 'Set UserPassword' action in system management.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@15671 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-plugins/systems/admin/systems/class_divListSystem.inc

index f03f1744bd3afa0d68134938ea21e36243888c13..e2178ec8c35420471e55b21e2ac0ece615118650 100644 (file)
@@ -353,7 +353,11 @@ class divListSystem extends MultiSelectWindow
       $display_key_for = array("terminal","workstation","server","component");
       $pwd_acl = $ui->get_permissions($val['dn'],$tabs[$type]['ACL'],"userPassword");
       if(preg_match("/w/",$pwd_acl) && in_array($type,$display_key_for)){
-        $action2 = "<input class='center' type='image' src='images/lists/key.png' alt='"._("Password")."'   name='system_setpwd_%KEY%' title='"._("Set password")."'>";
+        /* MAF
+        removed by patch, don't display key
+        */
+        //$action2 = "<input class='center' type='image' src='images/lists/key.png' alt='"._("Password")."'   name='system_setpwd_%KEY%' title='"._("Set password")."'>";
+        $action2 = $empty;
       }else{
         $action2 = $empty;
       }