".$lang_label["delete_event_ok"]."";} } else { audit_db($id_usuario,$REMOTE_ADDR, "ACL Violation","Trying to delete event ID".$id_evento); } } // Check Event (only incident write access). if (isset($_GET["check"])){ $id_evento = $_GET["check"]; // Look for event_id following parameters: id_group. $id_group = gime_idgroup_from_idevent($id_evento); if (give_acl($id_usuario, $id_group, "IW") ==1){ $sql2="UPDATE tevento SET estado=1, id_usuario = '".$id_usuario."' WHERE id_evento = ".$id_evento; $result2=mysql_query($sql2); if ($result2) { echo "
"; echo ""; echo " | "; echo " | ";
echo " - ".$lang_label["validated_event"];
echo " "; echo " - ".$lang_label["not_validated_event"]; echo " | ";
echo "";
echo " - ".$lang_label["validate_event"];
echo " "; echo " - ".$lang_label["delete_event"]; echo " | ";
echo "
".$lang_label["status"]; echo " | ".$lang_label["event_name"]; echo " | ".$lang_label["agent_name"]; echo " | ".$lang_label["group_name"]; echo " | ".$lang_label["id_user"]; echo " | ".$lang_label["timestamp"]; echo " | ".$lang_label["action"]; echo " | "; echo ""; echo ' | '; echo "
---|