Code

Fixed handling of workstations
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Sep 2005 15:01:01 +0000 (15:01 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Sep 2005 15:01:01 +0000 (15:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1406 594d385d-05f5-0310-b6e9-bd551577e9d8

TODO
plugins/admin/systems/class_systemManagement.inc

diff --git a/TODO b/TODO
index b1b54923d42923b364ac0f65dc93771a089157b4..6b6c105516814ef66801d17ddc0240a18e9a047f 100644 (file)
--- 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:
 ===============
index d1afe0d43a847a4b36a04bcdffbb4f6b7346691f..e9e5e7dfaa2819e0fbcbbeb9db00824620a3ed21 100644 (file)
@@ -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";