1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:py="http://genshi.edgewall.org/">
<xi:include href="admin.html" />
<xi:include href="macros.html" />
<head>
<title>Spam Monitoring</title>
</head>
<body>
<div class="nav">
${prevnext_nav('Log Entry', 'Back to List')}
</div>
<h2>Spam Filtering: Monitoring</h2>
<form class="mod" id="spamentry" method="post">
<fieldset>
<legend>Log Entry:</legend>
<h3>Information</h3>
<table class="meta"><tr>
<th>Time:</th>
<td>${format_datetime(entry.time)} (${pretty_timedelta(fromtimestamp(entry.time))} ago)</td>
</tr><tr>
<th>Path:</th>
<td><a href="${href(entry.path)}">${abs_href(entry.path)}</a></td>
</tr><tr>
<th>Author:</th>
<td>${entry.author}</td>
</tr><tr>
<th>Authenticated:</th>
<td>${entry.authenticated and 'yes' or 'no'}</td>
</tr><tr>
<th>IP address:</th>
<td>${entry.ipnr}</td>
</tr><tr>
<th>Karma:</th>
<td>
<strong>${entry.karma}</strong>
(marked as ${entry.rejected and 'spam' or 'ham'})
<ul>
<li py:for="reason in entry.reasons">$reason</li>
</ul>
</td>
</tr></table>
<div class="content">
<h3>Submitted content</h3>
<pre>${entry.content}</pre>
</div>
<div class="headers">
<h3>HTTP headers</h3>
<pre>${entry.headers}</pre>
</div>
<div class="buttons">
<input type="hidden" name="sel" value="${entry.id}" />
<input type="submit" name="markspam" value="Mark as Spam" />
<input type="submit" name="markham" value="Mark as Ham" />
<input type="submit" name="delete" value="Delete" />
</div>
</fieldset>
</form>
</body>
</html>
|