Accept 4 part version number
[exim-website.git] / templates / web / index.xsl
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4
5         <!-- WRAPPER -->
6                 <xsl:import href="../wrapper.xsl"/>
7                 <xsl:template match="/"> <xsl:apply-imports/> </xsl:template>
8
9                 <xsl:variable name="docroot" select="'.'"/>
10
11         <!-- Title -->
12                 <xsl:variable name="html.head.title" select="'Exim Internet Mailer'"/>
13
14         <xsl:variable name="html.head.append">
15
16                 <!-- CSS -->
17                         <link rel="stylesheet" type="text/css" href="{$staticroot}/css/index.css"/>
18
19                 <!-- Canonical -->
20                         <link rel="canonical" href="https://www.exim.org/"/>
21
22         </xsl:variable>
23
24         <!-- CONTENT -->
25                 <xsl:template name="content">
26
27                         <h2>Latest Version: <xsl:value-of select="/content/current_version"/></h2>
28
29                 <!-- Summary -->
30                         <p id="summary">
31                                 <a href="https://www.exim.org/">
32                                         <img src="i/exim-blue-ld-87x65.png" alt="Exim Logo" width="87" height="65"/>
33                                 </a>
34                                 <xsl:text>Exim is a message transfer agent (MTA) developed at the </xsl:text>
35                                 <a href="https://www.cam.ac.uk/" title="University of Cambridge Home page">University of Cambridge</a>
36                                 <xsl:text> for use on Unix systems connected to the Internet. It is freely available under the terms of the </xsl:text>
37                                 <a href="https://www.gnu.org/licenses/gpl.html" title="GPL Information">GNU General Public Licence</a>
38                                 <xsl:text>. In style it is similar to </xsl:text>
39                                 <a href="http://freecode.com/projects/smail/" rel="nofollow">Smail 3</a>
40                                 <xsl:text>, but its facilities are more general. There is a great deal of flexibility in the way mail can be routed, and there are extensive facilities for checking incoming mail. Exim can be installed in place of </xsl:text>
41                                 <a href="https://www.proofpoint.com/us/sendmail-open-source" title="Sendmail home page" rel="nofollow">Sendmail</a>
42                                 <xsl:text>, although the configuration of Exim is quite different.</xsl:text>
43                         </p>
44
45       <!-- Version Information -->
46          <p id="obsolete_version_info"><xsl:text>All versions of Exim previous to version </xsl:text><xsl:value-of select="/content/current_version"/><xsl:text> are now obsolete. The last 3.x release was 3.36. It is obsolete and should not be used.</xsl:text>
47          </p>
48
49          <p id="version_info">
50             <xsl:text>The current version is </xsl:text> <xsl:value-of select="/content/current_version"/><xsl:text>.</xsl:text>
51             <xsl:text>If necessary, we publish maintenance releases. These releases are mainly intended for package maintainers.</xsl:text>
52             <!--This is a security release.  See <a href="{$staticroot}/doc/security/CVE-2019-16928.txt">CVE-2019-16928</a>.-->
53          </p>
54
55          <p id="beta_version_info">
56             <xsl:text>There may be beta versions available from the ftp sites in the Testing directory. Many people are using these without problems, but they are not recommended unless you are willing to work with beta software.</xsl:text>
57          </p>
58
59                 <!-- Book Information -->
60
61                         <p id="book_info">
62                                 <a href="https://www.uit.co.uk/the-exim-smtp-mail-server">
63                                         <img src="i/exim-book.png" width="74" height="100"/>
64                                 </a>
65                                 <xsl:text>You may wish to purchase </xsl:text>
66                                 <a href="https://www.uit.co.uk/the-exim-smtp-mail-server">The Exim SMTP Mail Server</a>
67                                 <xsl:text> book, written by the original author of Exim, </xsl:text>
68                                 <a href="https://en.wikipedia.org/wiki/Philip_Hazel">Philip Hazel</a>
69                                 <xsl:text>.</xsl:text>
70                         </p>
71
72          <!-- sponsor information -->
73          <div id="sponsors">
74             <xsl:text>The following organizations provide services which help the Exim project:</xsl:text>
75             <ul id="sponsor_list">
76                <li class="sponsor">
77                   <a href="https://www.cam.ac.uk/">
78                      <img src="i/cambridge-150x39.png" width="150" height="39" alt="University of Cambridge" class="sponsor_logo"/>
79                      <xsl:text>The University of Cambridge</xsl:text>
80                   </a>
81                   <xsl:text> hosts the central Exim website and domain.</xsl:text>
82                </li>
83                <li class="sponsor">
84                   <a href="https://www.bytemark.co.uk/">
85                      <xsl:text>Bytemark</xsl:text>
86                   </a>
87                   <xsl:text> provide us with a VM for running the buildfarm, for the testsuite.</xsl:text>
88                </li>
89                <li class="sponsor">
90                   <a href="https://www.macstadium.com/">
91                      <img src="i/macstadium-150x61.png" width="150" height="61" alt="MacStadium" class="sponsor_logo"/>
92                      <xsl:text>MacStadium</xsl:text>
93                   </a>
94                   <xsl:text> provide us a Mac Mini for our buildfarm, keeping macOS supported.</xsl:text>
95                </li>
96             </ul>
97          </div>
98
99                 </xsl:template>
100
101 </xsl:stylesheet>