summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 46ccf08)
raw | patch | inline | side by side (parent: 46ccf08)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Jul 2006 05:02:10 +0000 (05:02 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Jul 2006 05:02:10 +0000 (05:02 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4109 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/acl/class_divListACL.inc | patch | blob | history |
index d320d2e29f29907eb3c9e503a1506060285cf3c3..446fd3e0be73caf4c3e80d465e7bc435a3f198b6 100644 (file)
function setEntries($list)
{
$list_left_icon = "<img src='images/select_acl.png' alt='"._("Acl")."'>";
+ $editlink = "<a href='?plug=".$_GET['plug']."&id=%s&act=edit_entry'>%s</a>";
foreach($list as $key => $acl_entry){
name='acl_del_%KEY%' title='"._("Delete system")."'>";
$field1 = array("string" => $list_left_icon, "attach"=> "style='text-align:center;width:20px;'");
- $field2 = array("string" => htmlentities(utf8_decode($acl_entry['dn']))." ","attach" => "");
+ $field2 = array("string" => sprintf($editlink,$key,htmlentities(utf8_decode($acl_entry['dn'])))." ","attach" => "");
$field3 = array("string" => preg_replace("/%KEY%/",$key,$action), "attach"=> "style='text-align:center;width:80px;border-right:0px;'");
$this->AddElement(array($field1,$field2,$field3));
}