summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2a6f7e7)
raw | patch | inline | side by side (parent: 2a6f7e7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Nov 2006 10:42:37 +0000 (10:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Nov 2006 10:42:37 +0000 (10:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5061 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/samba/class_sambaAccount.inc | patch | blob | history |
diff --git a/plugins/personal/samba/class_sambaAccount.inc b/plugins/personal/samba/class_sambaAccount.inc
index c6de16a518f5ae9a2dc307f5dc9f0ca1015815ea..a03d61c23e85844a6aa97acc6036f9ac7be0c8cb 100644 (file)
}
/* 'normal' Checkboxes */
- if ($this->pwdCanChange=="1"){
- $smarty->assign("flagsP", "checked");
- } else {
- $smarty->assign("flagsP", "");
+ if($this->samba3){
+ if ($this->sambaPwdCanChange=="1"){
+ $smarty->assign("flagsP", "checked");
+ } else {
+ $smarty->assign("flagsP", "");
+ }
+ }else{
+ if ($this->pwdCanChange=="1"){
+ $smarty->assign("flagsP", "checked");
+ } else {
+ $smarty->assign("flagsP", "");
+ }
}
if ($this->password_expires=="1"){
$smarty->assign("flagsC", "checked");