Code

Readded remove icon, accidental removed.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 2 Jun 2008 11:53:34 +0000 (11:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 2 Jun 2008 11:53:34 +0000 (11:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11143 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_divListSystem.inc

index 4d39098aaa52f52c716d227185b372c8f07fcb7b..6efa595d92f12c97d2d3db7066b67ffd64707453 100644 (file)
@@ -374,6 +374,14 @@ class divListSystem extends MultiSelectWindow
 
       $action.= $this->parent->get_snapshot_action($val['dn'],$acl_type);
 
+      if(preg_match("/d/",$acl)){
+        $action.= "<input class='center' type='image' src='images/lists/trash.png'
+          alt='"._("delete")."'   name='system_del_%KEY%' title='"._("Delete system")."'>";
+      }else{
+        $action.= $empty;
+      }
+
+
       /* Generate picture list, which is currently disabled */
       if(in_array("goCupsServer"    ,$val['objectClass'])) $cups    = $img1;   else $cups  =$empty;
       if(in_array("goLogDBServer"   ,$val['objectClass'])) $logdb   = $img2;   else $logdb =$empty;