summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2744b43)
raw | patch | inline | side by side (parent: 2744b43)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 14 Jun 2006 06:03:49 +0000 (06:03 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 14 Jun 2006 06:03:49 +0000 (06:03 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3806 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/applications/class_applicationManagement.inc | patch | blob | history | |
plugins/admin/applications/class_divListApplication.inc | patch | blob | history |
diff --git a/plugins/admin/applications/class_applicationManagement.inc b/plugins/admin/applications/class_applicationManagement.inc
index 117ef50df85bbf5e43f94ada3eb6a90854f0910d..5a3cecedea1eb7e1cd27033fe9a2762531217ff1 100644 (file)
$ldap = $this->config->get_ldap_link();
$dn = "ou=apps,".$base;
$ret = array();
- $ret [$base] = "/";
+ $ret ["ou=apps,".$base] = "/";
$ldap->cd($dn);
$ldap->search("objectClass=organizationalUnit",array("ou"));
Dialog display
****************/
+ $useBase = $this->DivListApplication->selectedRelease;
/* Check if there is a snapshot dialog open */
- if($str = $this->showSnapshotDialog($this->DivListApplication->selectedBase,"ou=apps,")){
+ if($str = $this->showSnapshotDialog($this->DivListApplication->selectedBase,$useBase)){
return($str);
}
diff --git a/plugins/admin/applications/class_divListApplication.inc b/plugins/admin/applications/class_divListApplication.inc
index 32ea35acdec173c8d8a48f14802f24fe12730c4e..525840bbfd0f156923f308b5243a601d6c3f93cf 100755 (executable)
function divListApplication ($config,$parent)
{
MultiSelectWindow::MultiSelectWindow($config,"Application");
-
+
+ $this->selectedRelease = "ou=apps,".$_SESSION['CurrentMainBase'];
+
$this->parent = $parent;
$this->ui = get_userinfo();