summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5759e27)
raw | patch | inline | side by side (parent: 5759e27)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 May 2005 08:24:55 +0000 (08:24 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 May 2005 08:24:55 +0000 (08:24 +0000) |
plugins/personal/posix/class_posixAccount.inc | patch | blob | history |
diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc
index cd18775a664aa23a6bb3b789fba100710f998baf..f7ce3a5cac2e9c059672549a75ad95e2ade97442 100644 (file)
$smarty->assign("trustmodeACL", chkacl($this->acl, "trustmode"));
if ($this->trustModel == "fullaccess"){
$trustmode= 1;
- $smarty->assign("trusthide", "disabled");
+ // pervent double disable tag in html code, this will disturb our clean w3c html
+
+ if(chkacl($this->acl, "trustmode")!="disabled"){
+ $smarty->assign("trusthide", "disabled");
+ }else{
+ $smarty->assign("trusthide", "");
+ }
+
} elseif ($this->trustModel == "byhost"){
$trustmode= 2;
$smarty->assign("trusthide", "");
} else {
- $smarty->assign("trusthide", "disabled");
+ // pervent double disable tag in html code, this will disturb our clean w3c html
+ if(chkacl($this->acl, "trustmode")==""){
+ $smarty->assign("trusthide", "disabled");
+ }else{
+ $smarty->assign("trusthide", "");
+ }
$trustmode= 0;
}
$smarty->assign("trustmode", $trustmode);