Add Exim 4.96
[exim-website.git] / templates / web / docs.xsl
index b703dd5c6803331a6827422bfc128d665edf98d1..21e3fb3ef9e570c7505d6f95df2f7065fd63cc8e 100644 (file)
        <!-- Title -->
                <xsl:variable name="html.head.title" select="'Documentation for Exim'"/>
 
-        <!-- Canonical -->
-                <xsl:variable name="html.head.append">
-                        <link rel="canonical" href="http://www.exim.org/docs.html"/>
-                </xsl:variable>
+                
+       <xsl:variable name="html.head.append">
+
+               <!-- Canonical -->
+                       <link rel="canonical" href="https://www.exim.org/docs.html"/>
+
+               <!-- CSS -->
+                       <link rel="stylesheet" type="text/css" href="docs.css"/>
+       </xsl:variable>
+
+       <!-- JavaScript -->
+               <xsl:variable name="html.body.append">
+                       <script type="text/javascript" src="docs.js"/>
+               </xsl:variable>
 
        <!-- CONTENT -->
                <xsl:template name="content">
                                </h2>
 
                        <!-- General Doc Info -->
-                               <p>Exim has a set of documentation released with it. A text file of the main documentation is released as part of the Exim tar archive. Additionally, postscript and texinfo forms of the documentation are available in separate tar archives on the ftp sites. There is also a <a href="http://www.uit.co.uk/exim-book/">book</a>.</p>
-
-                               <p>New user documentation can be found at the <a href="http://www.exim-new-users.co.uk/">Exim New Users site</a></p>
+                               <p>Exim has a set of documentation released with it. A text file of the main documentation is released as part of the Exim tar archive. Additionally, postscript and texinfo forms of the documentation are available in separate tar archives on the ftp sites. There is also a <a href="https://www.uit.co.uk/the-exim-smtp-mail-server">book</a>.</p>
 
-                               <p>User supported documentation, FAQs and hints can be found in the <a href="http://wiki.exim.org/">wiki</a>.</p>
+                               <p>User supported documentation, FAQs and hints can be found in the <a href="https://wiki.exim.org/">wiki</a>.</p>
 
                                <p>There are 3 main sets of documentation for Exim, all of which are also available below in html form.</p>
 
                                        <a href="{$docroot}/exim-html-current/doc/html/spec_html/index.html">
                                                <xsl:text>The Exim Specification - Version </xsl:text>
                                                <xsl:value-of select="/content/current_version"/>
+                                               <xsl:text> (HTML)</xsl:text>
                                        </a>
                                        <xsl:text> </xsl:text>
                                        <a href="{$docroot}/exim-pdf-current/doc/spec.pdf">(PDF)</a>
 
                                        <xsl:text> - The master documentation for Exim containing all required detail to install, configure and use Exim. </xsl:text>
                                        <span class="changed">Changes to the documentation (normally reflecting changes to the functionality of Exim) are shown on a green background like this segment.</span>
+                                       <br/><select name="spec_old_version">
+                                               <option value="">View Older Versions</option>
+                                               <xsl:for-each select="/content/old_versions">
+                                                       <option value="{text()}"><xsl:value-of select="text()"/></option>
+                                               </xsl:for-each>
+                                       </select>
                                </p>
 
                                <p class="manual_info">
                                        <a href="{$docroot}/exim-html-current/doc/html/spec_html/filter.html">
                                                <xsl:text>The Exim Filter Specification - Version </xsl:text>
                                                <xsl:value-of select="/content/current_version"/>
+                                               <xsl:text> (HTML)</xsl:text>
                                        </a>
                                        <xsl:text> </xsl:text>
                                        <a href="{$docroot}/exim-pdf-current/doc/filter.pdf">(PDF)</a>
                                        <xsl:text> - Additional information on the Exim filter language.</xsl:text>
+                                       <br/><select name="filter_old_version">
+                                               <option value="">View Older Versions</option>
+                                               <xsl:for-each select="/content/old_versions">
+                                                       <option value="{text()}"><xsl:value-of select="text()"/></option>
+                                               </xsl:for-each>
+                                       </select>
                                </p>
 
                        <!-- HOWTOs -->