From f4d531285b3493a937f1a516d903895786c36853 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 24 Sep 2007 09:32:13 +0000 Subject: [PATCH] Updated enviroment kiosk path detection. Search in <..>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 | 2 +- plugins/personal/environment/class_kioskManagementDialog.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index a4d59a4b3..99e78e08c 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -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"); diff --git a/plugins/personal/environment/class_kioskManagementDialog.inc b/plugins/personal/environment/class_kioskManagementDialog.inc index ba4fa9ffc..b44830098 100644 --- a/plugins/personal/environment/class_kioskManagementDialog.inc +++ b/plugins/personal/environment/class_kioskManagementDialog.inc @@ -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() -- 2.30.2