Indentation fix, cleanup.
[AROS.git] / scripts / nightly / cl2html.xslt
blob2a4404c2943a3bde65104fb9b99973a3b455905d
1 <?xml version='1.0' encoding="iso-8859-1"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
3 <xsl:output encoding="iso-8859-15" method="html" indent="yes" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" />
4 <xsl:template match="/changelog">
5 <html>
6 <head>
7 <title>CVS-ChangeLog for the <xsl:value-of select="$module"/> module on <xsl:value-of select="$date"/></title>
8 <style type="text/css">
9 h3 { background-color: #E6E6FA; color: #000000; padding: 2px; }
10 .rev { color: #808080 }
11 </style>
12 </head>
13 <body>
14 <table>
15 <xsl:for-each select="entry">
16 <tr>
17 <td colspan="3">
18 <h3>
19 <xsl:text>Files modified by </xsl:text>
20 <xsl:value-of select="concat(author, ': ', date, ' (', time, ')')" />
21 </h3>
22 </td>
23 </tr>
24 <tr>
25 <td colspan="3">
26 <xsl:value-of select="msg"/>
27 </td>
28 </tr>
29 <tr height="25px"></tr>
30 <tr>
31 <td><strong><xsl:text>File name</xsl:text></strong></td>
32 <td><strong><xsl:text>Revision</xsl:text></strong></td>
33 <td><strong><xsl:text>Status</xsl:text></strong></td>
34 </tr>
35 <xsl:for-each select="file">
36 <tr>
37 <td><xsl:value-of select="name"/></td>
38 <td><xsl:value-of select="revision"/></td>
39 <td>
40 <xsl:choose>
41 <xsl:when test="cvsstate='dead'">
42 <font color="#990000">
43 <xsl:text>DELETED</xsl:text>
44 </font>
45 </xsl:when>
46 <xsl:otherwise>
47 <xsl:value-of select="cvsstate"/>
48 </xsl:otherwise>
49 </xsl:choose>
50 </td>
51 </tr>
52 </xsl:for-each>
53 <tr height="50px"></tr>
54 </xsl:for-each>
55 </table>
56 <?php
57 define("_BBCLONE_DIR", "../../../mybbclone/");
58 define("COUNTER", _BBCLONE_DIR."index.php");
59 if (file_exists(COUNTER)) include_once(COUNTER);
61 </body>
62 </html>
63 </xsl:template>
64 </xsl:stylesheet>