From 6a6abe1847ac9f0786c7396409d39d78c51a70ee Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 May 2010 09:11:37 +0000 Subject: [PATCH] Updated properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18355 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/environment/class_environment.inc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc index c9cf730de..88f1781be 100644 --- a/gosa-plugins/goto/personal/environment/class_environment.inc +++ b/gosa-plugins/goto/personal/environment/class_environment.inc @@ -219,8 +219,8 @@ class environment extends plugin "1280x768" => "1280x768", "1280x1024" => "1280x1024"); - if($this->config->get_cfg_value("core","resolutions") != ""){ - $file = $this->config->get_cfg_value("core","resolutions"); + if($this->config->get_cfg_value("environment","resolutions") != ""){ + $file = $this->config->get_cfg_value("environment","resolutions"); if(is_readable($file)){ $str = file_get_contents($file); @@ -1776,6 +1776,16 @@ class environment extends plugin "plProperties" => array( + array( + "name" => "resolutions", + "type" => "file", + "default" => "", + "description" => _("The 'resolutions' variable defines a plain text file which contains additional resolutions to be shown in the environment and system plugins."), + "check" => "gosaProperty::isReadableFile", + "migrate" => "", + "group" => "environment", + "mandatory" => FALSE + ), array( "name" => "kioskPath", "type" => "path", -- 2.30.2