summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: debae57)
raw | patch | inline | side by side (parent: debae57)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Sep 2006 03:08:11 +0000 (03:08 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Sep 2006 03:08:11 +0000 (03:08 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4801 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/departments/class_departmentGeneric.inc | patch | blob | history | |
plugins/admin/departments/class_divListDepartment.inc | patch | blob | history |
diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc
index 3b6daee52d8093460ba9b38e69918c1bd64a7a11..c4631f77122ede52adad6555fec71f42f7cbdfbc 100644 (file)
/* Permissions for that base? */
// $this->dn= "ou=$this->ou,".$this->base;
- if ($this->acl_is_createable() && $this->dn == "new"){
+ if (!$this->acl_is_createable() && $this->dn == "new"){
$message[]= _("You have no permissions to create a department on this 'Base'.");
}
diff --git a/plugins/admin/departments/class_divListDepartment.inc b/plugins/admin/departments/class_divListDepartment.inc
index 5bb5c9d6e3f0c3ecfd1207f65d9220dc7324e6c0..714570fd6978c769b7925ddd2951870ab18f5f31 100755 (executable)
/* Generate list head */
$ui = get_userinfo();
- $acl = $ui->get_permissions("ou=dummy,",$this->selectedBase ,"department/department");
+ $acl = $ui->get_permissions("ou=dummy,".$this->selectedBase ,"department/department");
$listhead = "<div style='background:#F0F0F9;padding:5px;'>".
" <input type='image' class='center' src='images/list_root.png' align='middle' ".
}
- $listhead .= " <img class='center' src='images/list_seperator.png' align='middle' ".
+ $listhead .= $acl." <img class='center' src='images/list_seperator.png' align='middle' ".
" alt='' height='16' width='1'> ".
" "._("Base")." <select name='CurrentMainBase' onChange='mainform.submit()' class='center'>$options</select>".
" <input class='center' type='image' src='images/list_submit.png' align='middle' ".