Code

Removed lock message new
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Nov 2005 05:33:39 +0000 (05:33 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Nov 2005 05:33:39 +0000 (05:33 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1961 594d385d-05f5-0310-b6e9-bd551577e9d8

TODO
plugins/admin/fai/class_faiHook.inc
plugins/admin/fai/class_faiPartitionTable.inc
plugins/admin/fai/class_faiScript.inc
plugins/admin/fai/class_faiTemplate.inc
plugins/admin/fai/class_faiVariable.inc
plugins/admin/groups/class_groupApplication.inc

diff --git a/TODO b/TODO
index 8d3be82212d1ce250e4037b7f0463f7ffeafb592..0aae7fc68dd01f3f6e07493763359eb9a5890b50 100644 (file)
--- a/TODO
+++ b/TODO
@@ -6,9 +6,6 @@ Things to fix before 2.4:
 
 * Rework dialog to add aplications (group dialog)
 
-* There are still several "Lock new" hints in FAI plugin
-  headers
-
 * First name/Last name instead of Name/Given name
 
 * Evaluate patches for certificate generation
index 2b506929056ca05d6f88017cd6503b1ac01d1945..0bf06a67cbebb2c6acafeeacb293b8b3f8a1c8f6 100644 (file)
@@ -92,8 +92,10 @@ class faiHook extends plugin
       $this->dialog= new $this->subClassName($this->config,"new");
       $this->is_dialog=true;
     }
-
-    $_SESSION['objectinfo']= $this->dn;
+  
+    if($this->dn != "new"){
+      $_SESSION['objectinfo']= $this->dn;
+    }
     /* Edit selected Sub Object */
     if((isset($_POST['EditSubObject']))&&(isset($_POST['SubObject']))){
       $this->dialog= new $this->subClassName($this->config,$this->dn,$this->SubObjects[$_POST['SubObject']]);
index ca107408b685b35d7e5cc6bc82ca78f1f0588c81..fc35fd188204f1ff3cc2218af40e4c03074100bd 100644 (file)
@@ -100,7 +100,11 @@ class faiPartitionTable extends plugin
     /* Edit disk.
      * Open dialog which allows us to edit the selected entry 
      */    
-    $_SESSION['objectinfo'] = $this->dn;
+
+    if($this->dn != "new"){
+      $_SESSION['objectinfo']= $this->dn;
+    }
+
     if((isset($_POST['EditDisk']))&&(isset($_POST['disks']))){
       $usedDiskNames =array();
       foreach($this->disks  as $key=>$disk){
index 61e3968ca4750c44796617dfb9ea14ff75eeac7e..bd2ebf893b2aef9c60421eac6f799f9d3a808ab1 100644 (file)
@@ -95,7 +95,11 @@ class faiScript extends plugin
       $this->is_dialog=true;
     }
 
-    $_SESSION['objectinfo'] = $this->dn;
+    if($this->dn != "new"){
+      $_SESSION['objectinfo']= $this->dn;
+    }
+
+
     /* Edit selected Sub Object */
     if((isset($_POST['EditSubObject']))&&(isset($_POST['SubObject']))){
       $this->dialog= new $this->subClassName($this->config,$this->dn,$this->SubObjects[$_POST['SubObject']]);
index ed4eb8a8212ffb4f3983c9227d389c744842ff4e..0ead840154085b82a1235201fb1f5479c75ad56c 100644 (file)
@@ -91,7 +91,11 @@ class faiTemplate extends plugin
       $this->is_dialog=true;
     }
 
-    $_SESSION['objectinfo'] = $this->dn;
+    if($this->dn != "new"){
+      $_SESSION['objectinfo']= $this->dn;
+    }
+
+
     /* Edit selected Sub Object */
     if((isset($_POST['EditSubObject']))&&(isset($_POST['SubObject']))){
       $this->dialog= new $this->subClassName($this->config,$this->dn,$this->SubObjects[$_POST['SubObject']]);
index ff1ca9c058b7cc949134e648189a4ca7522a30a8..fdf650198cee305ddb4104f1f881e474eebeafa6 100644 (file)
@@ -89,7 +89,11 @@ class faiVariable extends plugin
       $this->is_dialog=true;
     }
 
-    $_SESSION['objectinfo'] = $this->dn;
+    if($this->dn != "new"){
+      $_SESSION['objectinfo']= $this->dn;
+    }
+
+
     /* Edit selected Sub Object */
     if((isset($_POST['EditSubObject']))&&(isset($_POST['SubObject']))){
       $this->dialog= new $this->subClassName($this->config,$this->dn,$this->SubObjects[$_POST['SubObject']]);
index a73092b23cc91a059a78f6d21eb2886e9c5eb255..5131abcd5b337da0aaedb7dca53a6b8766390333 100644 (file)
@@ -18,10 +18,7 @@ class appgroup extends plugin
   var $option_value= array();
   var $appoption= array();
   var $table= "";
-  
   var $curbase   = "";
-
-
   var $curCatDir;
   var $curCatDepth=0;
   var $Categories=array();
@@ -73,6 +70,18 @@ class appgroup extends plugin
     $this->curbase = $this->config->current['BASE'];
   }
 
+  function getOneUp($prio)
+  {
+    
+    
+  }
+  
+  function getOneDown(){
+
+  
+  }
+  
+
   function execute()
   {
          /* Call parent execute */