summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a83032a)
raw | patch | inline | side by side (parent: a83032a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 20 Sep 2006 05:19:10 +0000 (05:19 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 20 Sep 2006 05:19:10 +0000 (05:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4736 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_goLogDBServer.inc | patch | blob | history | |
plugins/admin/systems/goLogDBServer.tpl | patch | blob | history |
diff --git a/plugins/admin/systems/class_goLogDBServer.inc b/plugins/admin/systems/class_goLogDBServer.inc
index dd10fa363141defb52755b0c93c491e0c1900bd5..75b31b140766bb8b85bc3cd3e71e8967d7a6b59e 100644 (file)
function execute()
{
$smarty = get_smarty();
+
+ $tmp = $this->plInfo();
+ foreach($tmp['plProvidedAcls'] as $name => $translation){
+ $smarty->assign($name."ACL",$this->getacl($name));
+ }
+
foreach($this->attributes as $attr){
$smarty->assign($attr,$this->$attr);
- $smarty->assign($attr."ACL",chkacl($this->acl,$attr));
}
return($smarty->fetch(get_template_path("goLogDBServer.tpl",TRUE,dirname(__FILE__))));
}
index ea6405053d92ad50c73317223a4282454e196d42..dd286dfc49771bf1484151c83bbb7c18c64c3100 100644 (file)
<table summary="">
<tr>
<td>{t}Logging DB user{/t}{$must}</td>
- <td><input name="goLogAdmin" id="goLogAdmin" size=30 maxlength=60 {$goLogAdminACL} value="{$goLogAdmin}"></td>
+ <td>
+{render acl=$goLogAdminACL}
+ <input name="goLogAdmin" id="goLogAdmin" size=30 maxlength=60 value="{$goLogAdmin}">
+{/render}
+ </td>
</tr>
<tr>
<td>{t}Password{/t}{$must}</td>
- <td><input type=password name="goLogPassword" id="goLogPassword" size=30 maxlength=60 {$goLogPasswordACL} value="{$goLogPassword}"></td>
+ <td>
+{render acl=$goLogPasswordACL}
+ <input type=password name="goLogPassword" id="goLogPassword" size=30 maxlength=60 value="{$goLogPassword}">
+{/render}
+ </td>
</tr>
</table>