summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fdf0e92)
raw | patch | inline | side by side (parent: fdf0e92)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Dec 2006 06:58:22 +0000 (06:58 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Dec 2006 06:58:22 +0000 (06:58 +0000) |
Do not reload after selection on another base.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5310 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5310 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/generic/class_user.inc | patch | blob | history | |
plugins/personal/generic/generic.tpl | patch | blob | history |
index d2d8e9c25f47a3644192c448accd79c3708c005d..9c7caddc218fcbcf9e4a3611fd92d005737c73d2 100644 (file)
$ui =get_userinfo();
foreach($this->attributes as $val){
$smarty->assign("$val", $this->$val);
+ }
+
+ /* Set acls */
+ $tmp = $this->plinfo();
+ foreach($tmp['plProvidedAcls'] as $val => $translation){
$smarty->assign("$val"."ACL", $this->getacl($val,(!is_object($this->parent) && !isset($_SESSION['edit']))));
}
$smarty->assign("userPicture_is_readable", $this->acl_is_readable("userPicture",(!is_object($this->parent) && !isset($_SESSION['edit']))));
/* Create base acls */
- $smarty->assign("baseACL",$this->getacl("base",(!is_object($this->parent) && !isset($_SESSION['edit']))));
@$smarty->assign("bases", $this->allowedBasesToMoveTo());
/* Save government mode attributes */
index 8c3e256e6281f59da11ab607d99581963db034be..5d136051b1a1fe0f74dcf886c4b961cfc8a04dcb 100644 (file)
<td>
<div style="height:10px;"></div>
{render acl=$baseACL}
- <select id="base" size="1" name="base" title="{t}Choose subtree to place user in{/t}" onchange="document.mainform.submit()">
+ <select id="base" size="1" name="base" title="{t}Choose subtree to place user in{/t}">
{html_options options=$bases selected=$base_select}
</select>
{/render}