Code

removed reload calls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Aug 2005 13:32:23 +0000 (13:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Aug 2005 13:32:23 +0000 (13:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1059 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/applications/class_applicationManagement.inc
plugins/admin/groups/class_groupManagement.inc
plugins/admin/ogroups/class_ogroupManagement.inc

index ba24827b6a084ffe6c574bb50ce2839bba111ca3..f5329d888ed366d21f4fc3fae22e065e23d359c4 100644 (file)
@@ -60,7 +60,6 @@ class applicationManagement extends plugin
             $s_action="open";
             $s_entry = base64_decode($_GET['dep_id']);
             $appfilter['depselect']= "".$this->config->departments[trim($s_entry)];
-            $this->reload();
     }
 
     /* Test Posts */
@@ -95,19 +94,16 @@ class applicationManagement extends plugin
     /* Department changed? */
     if(isset($_POST['depselect']) && $_POST['depselect']){
       $appfilter['depselect']= $_POST['depselect'];
-      $this->reload();
     }
 
     /* Homebutton is posted */
     if($s_action=="home"){
       $appfilter['depselect']=(preg_replace("/^[^,]+,/","",$this->ui->dn));
       $appfilter['depselect']=(preg_replace("/^[^,]+,/","",$appfilter['depselect']));
-      $this->reload();
     }
 
     if($s_action=="root"){
       $appfilter['depselect']=($this->config->current['BASE']);
-      $this->reload();
     }
 
     /* If Backbutton is Posted */
@@ -120,7 +116,6 @@ class applicationManagement extends plugin
       }else{
         $appfilter['depselect']= $this->config->departments["/"];
       }
-      $this->reload();
     }
 
     if (isset($_POST['regex'])){
@@ -136,12 +131,7 @@ class applicationManagement extends plugin
     register_global("appfilter", $appfilter);
 
     /* Check sorting variable */
-    if (!isset($this->apptabs) &&
-        !isset($_POST['new_app']) &&
-        !isset($_POST['delete_app']) &&
-        !isset($_POST['select_app'])){
-      $this->reload();
-    }
+    $this->reload();
     $smarty= get_smarty();
 
     /* Check for exeeded sizelimit */
index 1ee8e268c8c28a8d0765851d2cc0c53678ca05e6..3a85875b6252f67d233706d68806ee6cd93d91bc 100644 (file)
@@ -123,7 +123,6 @@ class groupManagement extends plugin
       $s_action="open";
       $s_entry = base64_decode($_GET['dep_id']);
       $groupfilter['depselect']= "".$this->config->departments[trim($s_entry)];
-      $this->reload();
     }
 
     // Edit if
@@ -135,19 +134,16 @@ class groupManagement extends plugin
     /* Department changed? */
     if(isset($_POST['depselect']) && $_POST['depselect']){
       $groupfilter['depselect']= $_POST['depselect'];
-      $this->reload();
     }
 
     /* Homebutton is posted */
     if($s_action=="home"){
       $groupfilter['depselect']= (preg_replace("/^[^,]+,/","",$this->ui->dn));
       $groupfilter['depselect']= (preg_replace("/^[^,]+,/","",$groupfilter['depselect']));
-      $this->reload();
     }
 
     if($s_action=="root"){
       $groupfilter['depselect']=($this->config->current['BASE']);
-      $this->reload();
     }
 
     /* If Backbutton is Posted */
@@ -160,19 +156,13 @@ class groupManagement extends plugin
       }else{
         $groupfilter['depselect']= $this->config->departments["/"];
       }
-      $this->reload();
     }
     register_global("groupfilter", $groupfilter);
 
     $smarty= get_smarty();
 
     /* Prepare formular */
-    if (!isset($this->grouptab) &&
-        !isset($_POST['new_group']) &&
-        !isset($_POST['delete_group']) &&
-        !isset($_POST['select_group'])){
-      $this->reload();
-    }
+    $this->reload();
 
     /* Check for exeeded sizelimit */
     if (($message= check_sizelimit()) != ""){
index e7b70cf2a3f2a12ebb1b4f3ba6d89f23c33d4e1a..f9959323b1659e330dfbe76e36f4fef5958086ba 100644 (file)
@@ -132,7 +132,6 @@ class ogroupManagement extends plugin
     /* Department changed? */
     if(isset($_POST['depselect']) && $_POST['depselect']){
       $ogroupfilter['depselect']= $_POST['depselect'];
-      $this->reload();
     }
 
     /* Start for New List Managment */
@@ -140,7 +139,6 @@ class ogroupManagement extends plugin
       $s_action="open";
       $s_entry = base64_decode($_GET['dep_id']);
       $ogroupfilter['depselect']= "".$this->config->departments[trim($s_entry)];
-      $this->reload();
     }
 
     /* If Backbutton is Posted */
@@ -154,20 +152,17 @@ class ogroupManagement extends plugin
         $ogroupfilter['depselect']= $this->config->departments["/"];
       }
       register_global("ogroupfilter", $ogroupfilter);
-      $this->reload();
     }
 
     /* Homebutton is posted */
     if($s_action=="home"){
       $ogroupfilter['depselect']=(preg_replace("/^[^,]+,/","",$this->ui->dn));
       $ogroupfilter['depselect']=(preg_replace("/^[^,]+,/","",$ogroupfilter['depselect']));
-      $this->reload();
     }
 
     /* root posted */ 
     if($s_action=="root"){
       $ogroupfilter['depselect']=($this->config->current['BASE']);
-      $this->reload();
     }
 
     // Edit if
@@ -178,13 +173,7 @@ class ogroupManagement extends plugin
 
     register_global("ogroupfilter", $ogroupfilter);
 
-    /* Prepare formular */
-    if (!isset($this->ogroup) &&
-        !isset($_POST['new_group']) &&
-        !isset($_POST['delete_group']) &&
-        !isset($_POST['select_group'])){
-      $this->reload();
-    }
+    $this->reload();
 
     /* Check for exeeded sizelimit */
     if (($message= check_sizelimit()) != ""){