Code

Moved to new base selector
[gosa.git] / gosa-plugins / systems / admin / systems / class_systemManagement.inc
index 894655dde0f16dd5f6ccd26ed9fce7eb9b2b38d2..c2a64aecacf70881dcd53bc0d11301e34d8f3480 100644 (file)
@@ -708,10 +708,10 @@ class systemManagement extends management
     if(!isset($tInfo[$info])){
       trigger_error("Unknown action type '".$action."' cant create a new system!");
     }else{
-      management::newEntry($action,$target,$all, 
+      return(management::newEntry($action,$target,$all, 
           $tInfo[$info]['tabClass'],
           $tInfo[$info]['tabDesc'],
-          $tInfo[$info]['aclCategory']);
+          $tInfo[$info]['aclCategory']));
     }
   }
 
@@ -1332,6 +1332,8 @@ class systemManagement extends management
     $tabs['gotoTerminal__IS_BUSY'] = &$tabs['gotoTerminal'];
     $tabs['gotoTerminal__IS_ERROR'] = &$tabs['gotoTerminal'];
     $tabs['gotoTerminal__IS_LOCKED'] = &$tabs['gotoTerminal'];
+    $tabs['FAKE_OC_TerminalTemplate'] = &$tabs['gotoTerminal'];
+    $tabs['FAKE_OC_WorkstationTemplate'] = &$tabs['gotoTerminal'];
     $tabs['goServer__IS_BUSY'] = &$tabs['goServer'];
     $tabs['goServer__IS_ERROR'] = &$tabs['goServer'];
     $tabs['goServer__IS_LOCKED'] = &$tabs['goServer'];