summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f21f165)
raw | patch | inline | side by side (parent: f21f165)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Jul 2008 06:53:08 +0000 (06:53 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Jul 2008 06:53:08 +0000 (06:53 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11639 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/generic/main.inc | patch | blob | history | |
gosa-core/plugins/personal/posix/main.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/generic/main.inc b/gosa-core/plugins/personal/generic/main.inc
index 4f5b33c249250eb13b036ef4125cb8b3ad9f8423..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/lists/on.png')."\"> ".
msgPool::clickEditToChange();
index a4d0e12af1875201f5ce3998d8f41f0947e3caed..d04c3db170181c9548b231fc79dcd06575fd9760 100644 (file)
"\"> ".$ui->dn." ";
/* Only display edit button if there is at least one attribute editable */
- if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/posixAccount"))){
+ if(preg_match("/r/",$ui->get_permissions($ui->dn,"users/posixAccount"))){
$info.= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/on.png')."\"> ".
msgPool::clickEditToChange();