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));
}