summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7e7b7d8)
raw | patch | inline | side by side (parent: 7e7b7d8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 3 Aug 2005 13:32:23 +0000 (13:32 +0000) | ||
committer | hickert <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
diff --git a/plugins/admin/applications/class_applicationManagement.inc b/plugins/admin/applications/class_applicationManagement.inc
index ba24827b6a084ffe6c574bb50ce2839bba111ca3..f5329d888ed366d21f4fc3fae22e065e23d359c4 100644 (file)
$s_action="open";
$s_entry = base64_decode($_GET['dep_id']);
$appfilter['depselect']= "".$this->config->departments[trim($s_entry)];
- $this->reload();
}
/* Test Posts */
/* 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 */
}else{
$appfilter['depselect']= $this->config->departments["/"];
}
- $this->reload();
}
if (isset($_POST['regex'])){
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 1ee8e268c8c28a8d0765851d2cc0c53678ca05e6..3a85875b6252f67d233706d68806ee6cd93d91bc 100644 (file)
$s_action="open";
$s_entry = base64_decode($_GET['dep_id']);
$groupfilter['depselect']= "".$this->config->departments[trim($s_entry)];
- $this->reload();
}
// Edit if
/* 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 */
}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 e7b70cf2a3f2a12ebb1b4f3ba6d89f23c33d4e1a..f9959323b1659e330dfbe76e36f4fef5958086ba 100644 (file)
/* Department changed? */
if(isset($_POST['depselect']) && $_POST['depselect']){
$ogroupfilter['depselect']= $_POST['depselect'];
- $this->reload();
}
/* Start for New List Managment */
$s_action="open";
$s_entry = base64_decode($_GET['dep_id']);
$ogroupfilter['depselect']= "".$this->config->departments[trim($s_entry)];
- $this->reload();
}
/* If Backbutton is Posted */
$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
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()) != ""){