From e6d6ce01b718f7f1e96b1c6070ef6753f628f527 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 6 Nov 2006 06:34:08 +0000 Subject: [PATCH] some user w3c fixes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5011 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/users/class_divListUsers.inc | 2 +- plugins/admin/users/class_userManagement.inc | 1 - plugins/personal/generic/paste_generic.tpl | 2 +- plugins/personal/posix/paste_generic.tpl | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/admin/users/class_divListUsers.inc b/plugins/admin/users/class_divListUsers.inc index 31d5a5abf..0dec827bd 100644 --- a/plugins/admin/users/class_divListUsers.inc +++ b/plugins/admin/users/class_divListUsers.inc @@ -256,7 +256,7 @@ class divListUsers extends MultiSelectWindow name='user_edit_%KEY%' title='"._("Edit user")."'>"; /* Add Password change icon, if we are able to write users/password */ - if(preg_match("/w/",$ui->get_permissions($val['dn'],"users/password"))) { + if(!in_array_ics("gosaUserTemplate",$val['objectClass']) && preg_match("/w/",$ui->get_permissions($val['dn'],"users/password"))) { $action.= ""; }else{ diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index a5fa9f66c..5cf79f71e 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -832,7 +832,6 @@ class userManagement extends plugin $dn= $this->list[trim($s_entry)]['dn']; $obj= new usertabs($this->config, $this->config->data['TABS']['USERTABS'], $dn); $obj->set_acl_base($dn); - $obj->set_acl_category("users"); $this->CopyPasteHandler->Cut($obj); } } diff --git a/plugins/personal/generic/paste_generic.tpl b/plugins/personal/generic/paste_generic.tpl index 6f80f009a..6f35f708d 100644 --- a/plugins/personal/generic/paste_generic.tpl +++ b/plugins/personal/generic/paste_generic.tpl @@ -46,7 +46,7 @@ diff --git a/plugins/personal/posix/paste_generic.tpl b/plugins/personal/posix/paste_generic.tpl index 0d02fa939..fbb298152 100644 --- a/plugins/personal/posix/paste_generic.tpl +++ b/plugins/personal/posix/paste_generic.tpl @@ -15,7 +15,7 @@
- {t}Personal picture{/t}
- -- 2.30.2