".__('Event successfully deleted')."";} } else { audit_db ($config['id_user'], $REMOTE_ADDR, "ACL Violation", "Trying to delete event ID".$id_trap); } } // Check Event (only incident write access). if (isset($_GET["check"])){ $id_trap = $_GET["check"]; if (give_acl ($config['id_user'], 0, "IW")) { $sql2="UPDATE ttrap set status=1, id_usuario = '".$config['id_user']."' WHERE id_trap = ".$id_trap; $result2=mysql_query($sql2); if ($result2) { echo "
";
echo " - ".__('Validated event');
echo " "; echo " - ".__('Not validated event'); //echo " "; //echo " - ".__('Alert'); echo " | ";
echo "";
echo " - ".__('Validate event');
echo " "; echo " - ".__('Delete event'); echo " | ";
echo "
".__('Status')." | "; echo "".__('SNMP Agent')." | "; echo "".__('OID')." | "; echo "".__('Value')." | "; echo "".__('Custom')." | "; echo "".__('User ID')." | "; echo "".__('Timestamp')." | "; echo "".__('Alert')." | "; echo "".__('Action')." | "; echo ""; echo ""; echo ' | '; echo "
---|
"; echo " "; if (give_acl ($config['id_user'], 0, "IM")) { echo ""; } echo " |