Code

Added Sorting
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Oct 2005 11:51:06 +0000 (11:51 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Oct 2005 11:51:06 +0000 (11:51 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1703 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiHook.inc
plugins/admin/fai/class_faiTemplate.inc
plugins/admin/fai/class_faiVariable.inc

index 0cc84fbeb619af9ee609c3f173665037a3a77705..ca376017c2e0d9a4f9c408ec048c36c8a40a4d88 100644 (file)
@@ -74,6 +74,7 @@ class faiHook extends plugin
         }
         $this->SubObjects[$object['cn'][0]]['FAIscript']   = addslashes($this->readBinary("FAIscript",$object['dn']));
       }
+      ksort($this->SubObjects);
     }
   }
 
@@ -141,6 +142,7 @@ class faiHook extends plugin
         $this->is_dialog=false;
         unset($this->dialog);
         $this->dialog=NULL;
+        ksort($this->SubObjects);
       }
     }
 
index 19273b569f8d60e8884b325e59cc4cc571bf3253..79f08a61c15d2766b032ec5216387dffa0d195f0 100644 (file)
@@ -72,6 +72,7 @@ class faiTemplate extends plugin
         $this->SubObjects[$object['cn'][0]]['status']      = "edited";
         $this->SubObjects[$object['cn'][0]]['dn']          = $object['dn'];
       }
+      ksort($this->SubObjects);
     }
   }
 
@@ -129,6 +130,7 @@ class faiTemplate extends plugin
         $this->is_dialog=false;
         unset($this->dialog);
         $this->dialog=NULL;
+        ksort($this->SubObjects);
       }
     }
 
index 8e12554b877314665805a283d7a2a99fa6f59419..2e17bb2d02d87937839665b1a7c0b9df9ee006d2 100644 (file)
@@ -70,6 +70,7 @@ class faiVariable extends plugin
         $this->SubObjects[$object['cn'][0]]['status']      = "edited";
         $this->SubObjects[$object['cn'][0]]['dn']          = $object['dn'];
       }
+      ksort($this->SubObjects);
     }
   }
 
@@ -127,6 +128,7 @@ class faiVariable extends plugin
         $this->is_dialog=false;
         unset($this->dialog);
         $this->dialog=NULL;
+        ksort($this->SubObjects);
       }
     }