This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

How to export / print alerts
How to export or print all alerts given in the alerts tab?
Via .lp file:
<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
  <link rel="stylesheet" href="/apps/css/bootstrap.css">
<table class="table">
    <th>Script name</th>
items = db:getall('SELECT * FROM alerts ORDER BY id DESC')
for _, item in ipairs(items) do
  datetime ='%c', item.alerttime)
<? end ?>

Forum Jump: