From: hickert Date: Wed, 3 Aug 2005 13:32:23 +0000 (+0000) Subject: removed reload calls X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9a5b0d54efa015b592079d70cbd476917f04b42f;p=gosa.git removed reload calls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1059 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/applications/class_applicationManagement.inc b/plugins/admin/applications/class_applicationManagement.inc index ba24827b6..f5329d888 100644 --- a/plugins/admin/applications/class_applicationManagement.inc +++ b/plugins/admin/applications/class_applicationManagement.inc @@ -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 */ diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc index 1ee8e268c..3a85875b6 100644 --- a/plugins/admin/groups/class_groupManagement.inc +++ b/plugins/admin/groups/class_groupManagement.inc @@ -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()) != ""){ diff --git a/plugins/admin/ogroups/class_ogroupManagement.inc b/plugins/admin/ogroups/class_ogroupManagement.inc index e7b70cf2a..f9959323b 100644 --- a/plugins/admin/ogroups/class_ogroupManagement.inc +++ b/plugins/admin/ogroups/class_ogroupManagement.inc @@ -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()) != ""){