/usr/share/pyshared/tracspamfilter/templates/admin_akismet.html is in trac-spamfilter 0.2.1+svn6871-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <!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" />
<head>
<title>Akismet</title>
</head>
<body>
<h2>Spam Filtering: Akismet</h2>
<form class="mod" id="spamconfig" method="post">
<fieldset>
<legend>Akismet</legend>
<p class="hint">
The Akismet filter uses the free
<a class="ext-link" href="http://akismet.com/">Akismet</a>
service to content submissions are potential spam. You need to obtain an
API key to use the service, which is freely available for personal use.
You can enable or disable this filter from the “<em>General →
Plugins</em>” panel of the web administration interface.
</p>
<div class="field">
<label>API key:<br />
<input type="text" id="api_key" name="api_key" size="24"
value="${api_key}" />
</label>
</div>
<div class="field">
<label>URL:<br />
http://<input type="text" id="api_url" name="api_url" size="40"
value="${api_url}" />
</label>
</div>
<div py:if="error" class="system-message">
<strong>Key validation failed:</strong> ${error}
</div>
</fieldset>
<div class="buttons">
<input type="submit" value="Apply changes" />
<input py:if="error" type="submit" name="cancel" value="Revert changes" />
</div>
</form>
</body>
</html>
|