diff --git a/gosa-core/plugins/personal/generic/main.inc b/gosa-core/plugins/personal/generic/main.inc
index 0b6dcdcc270521f95389725a2db94ce0f2371ff5..0ab96b0debdec1d25068019169992f21b7f8eb0a 100644 (file)
}
/* Only display edit button if there is at least one attribute editable */
- if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/user"))){
+ if(preg_match("/r/",$ui->get_permissions($ui->dn,"users/user"))){
if ($fn == "edit"){
- $info.= "<img class=\"center\" alt=\"\" align=\"middle\" src=\"".get_template_path('images/lamp.png')."\"> ".
+ $info.= "<img class=\"center\" alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/on.png')."\"> ".
msgPool::clickEditToChange();
$display.= "<input type=submit name=\"$fn\" value=\"$str\">\n";
}
}
/* Page header*/
- $display= print_header(get_template_path('images/personal.png'),
+ $display= print_header(get_template_path('plugins/generic/images/plugin.png'),
_("Generic user information"), $info).$display;
}