summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e6d2676)
raw | patch | inline | side by side (parent: e6d2676)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Oct 2010 12:17:59 +0000 (12:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Oct 2010 12:17:59 +0000 (12:17 +0000) |
-fixed permission problems, thanks to 'bcooksley'.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20161 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20161 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_sortableListing.inc | patch | blob | history |
diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc
index 7556c8c1802e6e914fc4fa8a68c759e67d7c100a..8269c9da95f048181c903be7de7c11d2e3d73a60 100644 (file)
} else {
$edit_image= $this->editable?"<input class='center' type='image' src='images/lists/edit.png' alt='"._("Edit")."' name='%ID' id='%ID' title='"._("Edit this entry")."'>":"";
}
- if (strpos($this->acl, 'd') === false) {
+ if (strpos($this->acl, 'w') === false) {
$delete_image= $this->deleteable?"<img class='center' src='images/lists/trash-grey.png' alt='"._("Delete")."'>":"";
} else {
$delete_image= $this->deleteable?"<input class='center' type='image' src='images/lists/trash.png' alt='"._("Delete")."' name='%ID' title='"._("Delete this entry")."'>":"";