diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2009-10-13 05:04:06 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2009-10-13 05:04:06 +0300 |
commit | 227022d9ed977c75196725502847e0b371e4e879 (patch) | |
tree | 6fe79f5ae836fe4a974db459553eb6b46a1bf8eb /spamfilter/Resources | |
parent | 23d6d3e482927c13294f204b34ce23c6f445e8ac (diff) |
Diffstat (limited to 'spamfilter/Resources')
-rw-r--r-- | spamfilter/Resources/add_button_16x16_256.ico | bin | 0 -> 1406 bytes | |||
-rw-r--r-- | spamfilter/Resources/delete_button_16x16_256.ico | bin | 0 -> 1406 bytes | |||
-rw-r--r-- | spamfilter/Resources/log_item.xml | 11 | ||||
-rw-r--r-- | spamfilter/Resources/log_layout.xsl | 60 | ||||
-rw-r--r-- | spamfilter/Resources/log_main.xml | 23 | ||||
-rw-r--r-- | spamfilter/Resources/spam_16x16_256.ico | bin | 0 -> 1406 bytes | |||
-rw-r--r-- | spamfilter/Resources/spam_32x32_256.ico | bin | 0 -> 2238 bytes | |||
-rw-r--r-- | spamfilter/Resources/spam_definitions_16x16_256.ico | bin | 0 -> 1406 bytes | |||
-rw-r--r-- | spamfilter/Resources/spam_layer_16x16_256.ico | bin | 0 -> 1406 bytes |
9 files changed, 94 insertions, 0 deletions
diff --git a/spamfilter/Resources/add_button_16x16_256.ico b/spamfilter/Resources/add_button_16x16_256.ico Binary files differnew file mode 100644 index 0000000..530923d --- /dev/null +++ b/spamfilter/Resources/add_button_16x16_256.ico diff --git a/spamfilter/Resources/delete_button_16x16_256.ico b/spamfilter/Resources/delete_button_16x16_256.ico Binary files differnew file mode 100644 index 0000000..6259321 --- /dev/null +++ b/spamfilter/Resources/delete_button_16x16_256.ico diff --git a/spamfilter/Resources/log_item.xml b/spamfilter/Resources/log_item.xml new file mode 100644 index 0000000..22aac67 --- /dev/null +++ b/spamfilter/Resources/log_item.xml @@ -0,0 +1,11 @@ + <item>
+ <date>%log_date%</date>
+ <time>%log_time%</time>
+ <user>%log_user%</user>
+ <type>%log_type%</type>
+ <recognition>%log_recognition%</recognition>
+ <result>%log_result%</result>
+ <message>%log_message%</message>
+ </item>
+
+</spamlog>
diff --git a/spamfilter/Resources/log_layout.xsl b/spamfilter/Resources/log_layout.xsl new file mode 100644 index 0000000..0e3196d --- /dev/null +++ b/spamfilter/Resources/log_layout.xsl @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:template match="/">
+
+<html>
+<head>
+<title>Received Spam</title>
+</head>
+
+<body bgcolor="#FFFFCC">
+
+<h3><u><font face="Arial" size="6" color="#484480">Received Spam</font></u></h3>
+<p align="right"><font face="Arial" color="#484480">Logged since <xsl:value-of select="spamlog/since"/></font></p>
+
+<xsl:for-each select="spamlog/item">
+<table border="1" cellspacing="1" gbcolor="#000000" bordercolor="#000000" style="width: 100%">
+ <tr>
+ <td bgcolor="#484480" width="97" bordercolor="#FFFFCC" height="7">
+ <font face="Arial" color="#FFFFCC"><b>Date/Time:</b></font></td>
+ <td bgcolor="#484480" width="880" bordercolor="#FFFFCC" height="7">
+ <font color="#FFFFCC" face="Arial"><xsl:value-of select="date"/></font> <font color="#FFFFCC" face="Arial"><xsl:value-of select="time"/></font></td>
+ </tr>
+ <tr>
+ <td bgcolor="#484480" width="97" bordercolor="#FFFFCC" height="7">
+ <font face="Arial" color="#FFFFCC"><b>User:</b></font></td>
+ <td bgcolor="#484480" width="880" bordercolor="#FFFFCC" height="7">
+ <font color="#FFFFCC" face="Arial"><xsl:value-of select="user"/></font></td>
+ </tr>
+ <tr>
+ <td bgcolor="#484480" width="97" bordercolor="#FFFFCC" height="7">
+ <font face="Arial" color="#FFFFCC"><b>Type:</b></font></td>
+ <td bgcolor="#484480" width="880" bordercolor="#FFFFCC" height="7">
+ <font color="#FFFFCC" face="Arial"><xsl:value-of select="type"/></font></td>
+ </tr>
+ <tr>
+ <td bgcolor="#484480" width="97" bordercolor="#FFFFCC" height="7">
+ <font face="Arial" color="#FFFFCC"><b>Recognition:</b></font></td>
+ <td bgcolor="#484480" width="880" bordercolor="#FFFFCC" height="7">
+ <font color="#FFFFCC" face="Arial"><xsl:value-of select="recognition"/></font></td>
+ </tr>
+ <tr>
+ <td bgcolor="#484480" width="97" bordercolor="#FFFFCC" height="7">
+ <font face="Arial" color="#FFFFCC"><b>Result:</b></font></td>
+ <td bgcolor="#484480" width="880" bordercolor="#FFFFCC" height="7">
+ <font color="#FFFFCC" face="Arial"><xsl:value-of select="result"/></font></td>
+ </tr>
+ <tr>
+ <td bgcolor="#000000" colspan="2" height="50" bordercolor="#FFFFCC">
+ <textarea readonly="1" style="width: 100%; height: 100%; color: #FFFFCC; font-family: Arial; border: 1px solid #000000; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1; background-color: #000000" cols="20" rows="3" name="message"><xsl:value-of select="message"/></textarea></td>
+ </tr>
+</table>
+<p></p>
+</xsl:for-each>
+
+</body>
+
+</html>
+
+</xsl:template>
+</xsl:stylesheet>
diff --git a/spamfilter/Resources/log_main.xml b/spamfilter/Resources/log_main.xml new file mode 100644 index 0000000..fda04c5 --- /dev/null +++ b/spamfilter/Resources/log_main.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<?xml-stylesheet href="%log_xslfile%" type="text/xsl"?>
+
+<!DOCTYPE spamlog [
+ <!ELEMENT spamlog (since, item*)>
+ <!ELEMENT since (#PCDATA)>
+ <!ELEMENT item (date,time,user,type,recognition,result,message)>
+ <!ELEMENT date (#PCDATA)>
+ <!ELEMENT time (#PCDATA)>
+ <!ELEMENT user (#PCDATA)>
+ <!ELEMENT type (#PCDATA)>
+ <!ELEMENT recognition (#PCDATA)>
+ <!ELEMENT result (#PCDATA)>
+ <!ELEMENT message (#PCDATA)>
+ <!ENTITY nbsp " ">
+]>
+<!-- Generated by Spam Filter plugin -->
+
+<spamlog>
+
+ <since>%log_date%</since>
+
+</spamlog>
\ No newline at end of file diff --git a/spamfilter/Resources/spam_16x16_256.ico b/spamfilter/Resources/spam_16x16_256.ico Binary files differnew file mode 100644 index 0000000..46f6bd3 --- /dev/null +++ b/spamfilter/Resources/spam_16x16_256.ico diff --git a/spamfilter/Resources/spam_32x32_256.ico b/spamfilter/Resources/spam_32x32_256.ico Binary files differnew file mode 100644 index 0000000..b727965 --- /dev/null +++ b/spamfilter/Resources/spam_32x32_256.ico diff --git a/spamfilter/Resources/spam_definitions_16x16_256.ico b/spamfilter/Resources/spam_definitions_16x16_256.ico Binary files differnew file mode 100644 index 0000000..1e99a38 --- /dev/null +++ b/spamfilter/Resources/spam_definitions_16x16_256.ico diff --git a/spamfilter/Resources/spam_layer_16x16_256.ico b/spamfilter/Resources/spam_layer_16x16_256.ico Binary files differnew file mode 100644 index 0000000..fce8bcc --- /dev/null +++ b/spamfilter/Resources/spam_layer_16x16_256.ico |