Code

Updated table summary
[gosa.git] / gosa-plugins / goto / admin / applications / class_applicationManagement.inc
index 7cdd8acbc08cf8da185b959a7ce1bd408df23949..43ec0c5bbd1921be09c5bf4030b47bd07970fc18 100644 (file)
@@ -23,7 +23,7 @@
 class applicationManagement extends management
 {
   var $plHeadline     = "Applications";
-  var $plDescription  = "Application administration";
+  var $plDescription  = "Application management";
   var $plIcon  = "plugins/goto/images/application.png";
 
   var $app_release = ""; // The currently selected release while in release management mode!
@@ -44,7 +44,7 @@ class applicationManagement extends management
       $this->app_release = get_ou('applicationRDN').$this->config->current['BASE'];
       $filter_xml = "application-filter-release.xml";
       $list_xml = "application-list-release.xml";
-      $this->storagePoints= array();
+      $this->storagePoints= array("");
     }else{
       $filter_xml = "application-filter.xml";
       $list_xml = "application-list.xml";
@@ -81,9 +81,9 @@ class applicationManagement extends management
 
   function renderList()
   {
+    $filter = $this->getFilter();
+    $headpage = $this->getHeadpage();
     if($this->IsReleaseManagementActivated()){    
-      $filter = $this->getFilter();
-      $headpage = $this->getHeadpage();
       $filter->setComboBoxOptions("RELEASE",$this->getReleaseList());
 
       if(isset($_POST['RELEASE'])){
@@ -91,10 +91,10 @@ class applicationManagement extends management
       }
       $headpage->setBase($this->app_release);
     }
+
     $headpage->update();
     $display = $headpage->render();
     return($this->getHeader().$display);
-
   }
 
   function getReleaseList($base = "", $prefix ="")