diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc
index eff161899b0b1e94d1072b7a4a76e9811f61dff2..237de00d999dc04883004984baf6ce0ed6ba3fde 100644 (file)
"1280x768" => "1280x768",
"1280x1024" => "1280x1024");
- if($this->config->get_cfg_value("resolutions") != ""){
- $file = $this->config->get_cfg_value("resolutions");
+ if($this->config->get_cfg_value("core","resolutions") != ""){
+ $file = $this->config->get_cfg_value("core","resolutions");
if(is_readable($file)){
$str = file_get_contents($file);
}
}
- if($cnt && $this->config->search("environment","kioskpath",array('menu','tabs'))){
+ $tmp = $this->config->get_cfg_value("environment","kioskPath");
+ if($cnt && !empty($tmp)){
$this->kiosk_enabled = TRUE;
}
}
/* Group Dialog with enabled environment options */
if ($this->is_account){
- $display= $this->show_enable_header(msgPool::removeFeaturesButton(_("Desktop")),
+ $display= $this->show_disable_header(msgPool::removeFeaturesButton(_("Desktop")),
msgPool::featuresEnabled(_("Desktop")));
} else {
// 3. Account enabled . Editing from adminmenu
if ($this->is_account){
- $display= $this->show_enable_header(msgPool::removeFeaturesButton(_("Desktop")),
+ $display= $this->show_disable_header(msgPool::removeFeaturesButton(_("Desktop")),
msgPool::featuresEnabled(_("Desktop")));
} else {