summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1680f9e)
raw | patch | inline | side by side (parent: 1680f9e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Mar 2006 05:47:01 +0000 (05:47 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Mar 2006 05:47:01 +0000 (05:47 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2883 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/applications/class_applicationManagement.inc | patch | blob | history |
diff --git a/plugins/admin/applications/class_applicationManagement.inc b/plugins/admin/applications/class_applicationManagement.inc
index b02c25be47e37737f7865354dcfda49ad9d8442f..b2981fa917904d73ab694c9c60bd8df6515afb0e 100644 (file)
$s_action = ""; // Contains the action to proceed
$s_entry = ""; // The value for s_action
$base_back = ""; // The Link for Backbutton
-
+
/* Start for New List Managment */
if(isset($_GET['act'])&&($_GET['act']=="dep_open")){
$s_action="open";
}
$appfilter['regex']= $s;
}
+
+ $this->Releases = $this->getReleases($appfilter['depselect']);
+ if(!isset($this->Releases[$this->Release])){
+ $this->Release = key($this->Releases);
+ $appfilter['release'] = $this->Release;
+ register_global("appfilter",$appfilter);
+ }
+
register_global("appfilter", $appfilter);
/* Check sorting variable */
*/
$peopleOU = get_people_ou();
- if(empty($peopleOU)){
- $base2 = $base;
- }else{
- $base2 = preg_replace("/".$peopleOU."/i","",$base);
- }
+ $base2 = $appfilter['depselect'];
$res3 = get_list2($this->ui->subtreeACL, "(&(|(ou=$regex)(description=$regex))(objectClass=gosaDepartment))",
TRUE, $base2, array("ou", "description"), TRUE);