diff options
Diffstat (limited to 'Resources/log_layout.xsl')
-rw-r--r-- | Resources/log_layout.xsl | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/Resources/log_layout.xsl b/Resources/log_layout.xsl new file mode 100644 index 0000000..0e3196d --- /dev/null +++ b/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>
|