Upgrade from jQuery 1.4 to 1.6 for performance improvements. Also,
[exim-website.git] / templates / wrapper.xsl
index 2185f1ccc1df6ff80e9b02297eb920bde332cd63..39c892e0bb0c0483f1116241cd437cf4f8d7d94c 100644 (file)
@@ -26,7 +26,7 @@
                <link rel="stylesheet" type="text/css" href="{$docroot}/common.css"/>
 
                <meta name="author"      content="The Exim Project. &lt;http://www.exim.org/&gt;"/>
-               <meta name="copyright"   content="Copyright ©2010 The Exim Project. All rights reserved"/>
+               <meta name="copyright"   content="Copyright ©1995-2011 The Exim Project. All rights reserved"/>
                <meta name="description" content="{$html.head.description}"/>
                <meta name="keywords"    content="{$html.head.keywords}"/>
                <meta name="robots"      content="{$html.head.robots}"/>
             
                <xsl:copy-of select="$html.head.append"/>
             </head>
-            <body>
+           <body class="no-js">
+                <!-- Changed body classname from "no-js" to "with-js" for styling purposes -->
+
+                   <script type="text/javascript"><![CDATA[document.body.className=(' '+document.body.className+' ').replace('no-js','with-js');]]></script>
 
                 <!-- Header -->
 
@@ -93,7 +96,7 @@
 
                          <div id="footer">
                             <xsl:text>Website design by </xsl:text>
-                            <a href="https://secure.grepular.com/">Mike Cardwell</a>
+                            <a href="https://grepular.com/">Mike Cardwell</a>
                             <xsl:text>, of </xsl:text>
                             <a href="http://cardwellit.com/">Cardwell IT Ltd.</a>
                          </div>
                          <xsl:copy-of select="$html.body.outer.append"/>
                    </div>
 
-                <!-- Load latest version of jQuery 1.4 from the Google CDN -->
-                   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
+                <!-- Load latest version of jQuery 1.6 from the Google CDN -->
+                   <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
 
                 <!-- Local JavaScript -->
                    <script type="text/javascript" src="{$docroot}/common.js"></script>
       </xsl:template>
 
    <!-- Para -->
-      <xsl:template match="para"> <p> <xsl:apply-templates/> </p> </xsl:template>
+      <xsl:template match="para">
+         <p>
+            <xsl:if test="@revisionflag!=''"><xsl:attribute name="class">changed</xsl:attribute></xsl:if>
+            <xsl:apply-templates/>
+         </p>
+      </xsl:template>
 
    <!-- Lists -->
       <xsl:template match="itemizedlist">                        <ul> <xsl:apply-templates/> </ul> </xsl:template>