From: cajus Date: Wed, 21 Sep 2005 15:01:01 +0000 (+0000) Subject: Fixed handling of workstations X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=12c09bfb4958ba3884228382326dd7a758d3bb73;p=gosa.git Fixed handling of workstations git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1406 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/TODO b/TODO index b1b54923d..6b6c10551 100644 --- a/TODO +++ b/TODO @@ -32,6 +32,8 @@ Things to fix before 2.4: - Re-implement profile management, divlists look pretty ugly here - Re-implement "new" functionality +* Password changing for workstations doesn't work anymore + Target for 2.5: =============== diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc index d1afe0d43..e9e5e7dfa 100644 --- a/plugins/admin/systems/class_systemManagement.inc +++ b/plugins/admin/systems/class_systemManagement.inc @@ -921,10 +921,10 @@ class systems extends plugin } if (preg_match ("/,ou=incoming,/i", $tmp)){ if (in_array('gotoTerminal', $value['objectClass'])){ - $add= "+ "._("New terminal"); + $add= "- "._("New terminal"); } if (in_array('gotoWorkstation', $value['objectClass'])){ - $add= "+ "._("New workstation"); + $add= "- "._("New workstation"); } } else { $add= ""; @@ -948,6 +948,7 @@ class systems extends plugin if (isset($value["macAddress"][0]) && $value["macAddress"][0] != "-"){ $terminal = $value; $terminal['type'] = "L"; + $terminal['is_new'] = $add; } else { $terminal = $value; $terminal['type'] = "D";