summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 16533ce)
raw | patch | inline | side by side (parent: 16533ce)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 May 2006 08:01:27 +0000 (08:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 May 2006 08:01:27 +0000 (08:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3485 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/departments/class_departmentGeneric.inc | patch | blob | history | |
plugins/admin/departments/generic.tpl | patch | blob | history |
diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc
index 2b99b312ff93ba572d3fdf45d0a027a970f7f2e8..df8c51e78fba7c40606b8c74a0adce06897cbea5 100644 (file)
$smarty->assign("$val", $this->$val);
$smarty->assign("$val"."ACL", chkacl($this->acl, "$val"));
}
+ $smarty->assign("baseACL", chkacl($this->acl,"base"));
$smarty->assign("base_select", $this->base);
/* Set admin unit flag */
index 4bb2a07ac292cdcb2aa351d11085bf7d93cc3c77..44677a56718b12c060a30346c0d8c445524f3ba2 100644 (file)
<select id="base" size="1" name="base" title="{t}Choose subtree to place department in{/t}">
{html_options options=$bases selected=$base_select}
</select>
- <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+ {if $baseACL == ""}
+ <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+ {else}
+ <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
+ {/if}
</td>
</tr>
</table>