diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc
index 072e40d7eea78907da56ac78bce6fe83bd7c5995..e3bdb3b148187b95c6bfc72166573963fac2961e 100644 (file)
var $is_group = false;
var $view_logged = FALSE;
- vn
+
/* Attribute definition
*/
"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);
/* Create pwd reset images */
if($this->gotoShares[$key]['PwdHash'] != ""){
- $img.= "<input type='image' name='gotoShareResetPwd_".base64_encode($key)." 'src='images/list_reset_password.png' alt='"._("Reset password hash")."'
+ $img.= "<input type='image' name='gotoShareResetPwd_".base64_encode($key)."
+ 'src='plugins/goto/images/list_reset_password.png' alt='"._("Reset password hash")."'
title='"._("Reset password hash")."'>";
}
$field1 = array("string" => "<font style=\"color:#C0C0C0\">".$value."</font>" , "attach" => "style='".$color."'");
/* Create pwd reset img && delete image */
if($this->gotoShares[$key]['PwdHash'] != ""){
- $img.= "<input type='image' name='gotoShareResetPwd_".base64_encode($key)." 'src='images/list_reset_password.png' alt='"._("Reset password hash")."'
+ $img.= "<input type='image' name='gotoShareResetPwd_".base64_encode($key)."
+ 'src='plugins/goto/images/list_reset_password.png' alt='"._("Reset password hash")."'
title='"._("Reset password hash")."'>";
$img.= " ";
}