Code

Updated enviroment kiosk path detection.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Sep 2007 09:32:13 +0000 (09:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Sep 2007 09:32:13 +0000 (09:32 +0000)
Search in <menu><..><plugins ... >for "kioskpath" too.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7386 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc
plugins/personal/environment/class_kioskManagementDialog.inc

index a4d59a4b301413d167601a9feb0592a1b2f2455d..99e78e08c767caa191974b105fc577325002fb67 100644 (file)
@@ -239,7 +239,7 @@ class environment extends plugin
     $this->gotoAvailableShares= $config->getShareList(false);  
 
 
-    if($this->config->search('environment', 'kioskpath',array('tabs')) != ""){
+    if($this->config->search('environment', 'kioskpath',array('menu','tabs')) != ""){
       $tmp = new kioskManagementDialog($this->config,$this->dn);
       $list = $tmp->getKioskProfiles($this->newKioskProfiles);
       $list['none']=_("None");
index ba4fa9ffc64c9e38a601ff6abaeae26c25e55322..b44830098656d3933cf01ddce0ce4815bfcf5be9 100644 (file)
@@ -24,7 +24,7 @@ class kioskManagementDialog extends plugin
     if($attach){
       $this->filesToAttach = $attach;
     }
-    $this->baseDir = $this->config->search('environment', 'kioskpath',array('tabs'));
+    $this->baseDir = $this->config->search('environment', 'kioskpath',array('menu','tabs'));
   }
 
   function execute()