X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-plugins%2Fgoto%2Fpersonal%2Fenvironment%2Fclass_environment.inc;h=e3bdb3b148187b95c6bfc72166573963fac2961e;hb=e1b170490c61df9cdc32629e6dfcd2c59946337a;hp=072e40d7eea78907da56ac78bce6fe83bd7c5995;hpb=67e8ef7bfe5c033c4e078ece19a4c635d0d8e319;p=gosa.git diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc index 072e40d7e..e3bdb3b14 100644 --- a/gosa-plugins/goto/personal/environment/class_environment.inc +++ b/gosa-plugins/goto/personal/environment/class_environment.inc @@ -15,7 +15,7 @@ class environment extends plugin var $is_group = false; var $view_logged = FALSE; - vn + /* Attribute definition */ @@ -217,8 +217,8 @@ class environment extends plugin "1280x768" => "1280x768", "1280x1024" => "1280x1024"); - if(isset($this->config->data['MAIN']['RESOLUTION_HOOK'])){ - $file = $this->config->data['MAIN']['RESOLUTION_HOOK']; + if($this->config->get_cfg_value("resolutions") != ""){ + $file = $this->config->get_cfg_value("resolutions"); if(is_readable($file)){ $str = file_get_contents($file); @@ -775,7 +775,8 @@ class environment extends plugin /* Create pwd reset images */ if($this->gotoShares[$key]['PwdHash'] != ""){ - $img.= ""; } $field1 = array("string" => "".$value."" , "attach" => "style='".$color."'"); @@ -784,7 +785,8 @@ class environment extends plugin /* Create pwd reset img && delete image */ if($this->gotoShares[$key]['PwdHash'] != ""){ - $img.= ""; $img.= " "; }