From 7bd558037fbc80722eec22c25bd855957035eaaa Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 6 Nov 2009 14:29:59 +0000 Subject: [PATCH] Updated application management git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14776 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../applications/application-list-release.xml | 4 ++-- .../class_applicationManagement.inc | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/gosa-plugins/goto/admin/applications/application-list-release.xml b/gosa-plugins/goto/admin/applications/application-list-release.xml index f5992f295..b8273000e 100644 --- a/gosa-plugins/goto/admin/applications/application-list-release.xml +++ b/gosa-plugins/goto/admin/applications/application-list-release.xml @@ -16,7 +16,7 @@ gosaApplication application application - plugins/applications/images/applications.png + plugins/goto/images/select_application.png @@ -75,7 +75,7 @@ new entry - plugins/applications/images/new.png + images/lists/new.png diff --git a/gosa-plugins/goto/admin/applications/class_applicationManagement.inc b/gosa-plugins/goto/admin/applications/class_applicationManagement.inc index d97976194..7cdd8acbc 100644 --- a/gosa-plugins/goto/admin/applications/class_applicationManagement.inc +++ b/gosa-plugins/goto/admin/applications/class_applicationManagement.inc @@ -81,16 +81,16 @@ class applicationManagement extends management function renderList() { - $filter = $this->getFilter(); - $headpage = $this->getHeadpage(); - $filter->setComboBoxOptions("RELEASE",$this->getReleaseList()); - - if(isset($_POST['RELEASE'])){ - $headpage->setBase($_POST['RELEASE']); - }else{ - $headpage->setBase($base = get_ou('applicationRDN').$this->config->current['BASE']); + if($this->IsReleaseManagementActivated()){ + $filter = $this->getFilter(); + $headpage = $this->getHeadpage(); + $filter->setComboBoxOptions("RELEASE",$this->getReleaseList()); + + if(isset($_POST['RELEASE'])){ + $this->app_release = get_post('RELEASE'); + } + $headpage->setBase($this->app_release); } - $this->app_release = $headpage->getBase(); $headpage->update(); $display = $headpage->render(); return($this->getHeader().$display); -- 2.30.2