Updates of version info
[exim-website.git] / templates / web / index.xsl
index 64f36943e7581aa565623e424bdf552460e2290c..fa50b9d66a2e5d2c0efa0f6a6f674b754836392f 100644 (file)
                        <link rel="stylesheet" type="text/css" href="{$docroot}/index.css"/>
 
                <!-- Canonical -->
-                        <link rel="canonical" href="http://www.exim.org/credits.html"/>
+                        <link rel="canonical" href="http://www.exim.org/"/>
 
        </xsl:variable>
  
-       <!-- JavaScript -->
-               <xsl:variable name="html.body.append">
-                       <script type="text/javascript" src="{$docroot}/index.js"/>
-               </xsl:variable>
-               
        <!-- CONTENT -->
                <xsl:template name="content">
 
@@ -34,7 +29,7 @@
                 <!-- Summary -->
                        <p id="summary">
                                <a href="http://www.exim.org/">
-                                       <img src="/i/exim-blue-ld-87x65.png" alt="Exim Logo" width="87" height="65"/>
+                                       <img src="i/exim-blue-ld-87x65.png" alt="Exim Logo" width="87" height="65"/>
                                </a>
                                <xsl:text>Exim is a message transfer agent (MTA) developed at the </xsl:text>
                                <a href="http://www.cam.ac.uk/" title="University of Cambridge Home page">University of Cambridge</a>
                                <xsl:text>, although the configuration of Exim is quite different.</xsl:text>
                        </p>
 
-               <!-- Version Information -->
-                       <p id="version_info">
-                               <xsl:text>All versions of Exim previous to version 4.x are now obsolete and everyone is very strongly recommended to upgrade to a current release. The last 3.x release was 3.36. It is obsolete and should not be used. 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>
-                       </p>
+      <!-- Version Information -->
+         <p id="obsolete_version_info">
+            <xsl:text>All versions of Exim previous to version 4.x are now obsolete and everyone is very strongly recommended to upgrade to a current release. The last 3.x release was 3.36. It is obsolete and should not be used.</xsl:text>
+         </p>
+
+         <p id="version_info">
+            <xsl:text>The current version is </xsl:text>
+            <xsl:value-of select="/content/current_version"/>
+         </p>
+
+         <p id="beta_version_info">
+            <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>
+         </p>
 
                 <!-- Book Information -->
                    
                        <p id="book_info">
                                <a href="http://www.uit.co.uk/exim-book">
-                                       <img src="/i/exim-book.png" width="74" height="100"/>
+                                       <img src="i/exim-book.png" width="74" height="100"/>
                                </a>
                                <xsl:text>You may wish to purchase </xsl:text>
                                <a href="http://www.uit.co.uk/exim-book">The Exim SMTP Mail Server</a>