Fix fix. Finally.
[exim-website.git] / templates / wrapper.xsl
index 45fb8e8b1f659496e32f322dfc32097a70cf48a9..39fb18b1db3e7f8d66a3b8a8d0c64b524c801526 100644 (file)
       <xsl:template match="/">
          <html lang="en-GB">
             <head>
-               <link rel="stylesheet" type="text/css" href="{$docroot}/common.css"/>
+               <link rel="stylesheet" type="text/css" href="{$staticroot}/css/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="author"      content="The Exim Project. &lt;https://www.exim.org/&gt;"/>
+               <meta name="copyright"   content="Copyright ©1995-2012 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 -->
 
                             <li> <a href="{$docroot}/docs.html">Documentation</a> </li>
                             <li> <a href="{$docroot}/maillist.html">Mailing Lists</a> </li>
                             <li> <a href="http://wiki.exim.org/">Wiki</a> </li>
-                            <li> <a href="http://www.exim.org/bugzilla/">Bugs</a> </li>
+                            <li> <a href="https://bugs.exim.org/">Bugs</a> </li>
+                            <li> <a href="{$docroot}/static/doc/security">Security</a> </li>
                             <li> <a href="{$docroot}/credits.html">Credits</a> </li>
 
                             <!-- Search Field -->
 
                                <li class="search">
-                                  <form action="http://www.google.com/search" method="get">
+                                  <form action="https://encrypted.google.com/search" method="get">
                                      <span class="search_field_container">
                                         <input type="search" name="q" placeholder="Search Docs" class="search_field"/>
                                      </span>
@@ -93,9 +97,8 @@
 
                          <div id="footer">
                             <xsl:text>Website design by </xsl:text>
-                            <a href="https://grepular.com/">Mike Cardwell</a>
-                            <xsl:text>, of </xsl:text>
-                            <a href="http://cardwellit.com/">Cardwell IT Ltd.</a>
+                            <a href="https://www.grepular.com/">Mike Cardwell</a>
+                            <xsl:text>.</xsl:text>
                          </div>
 
                       <!-- Side Bars -->
                          <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>
+                   <script type="text/javascript" src="{$staticroot}/js/common.js"></script>
                    
                    <xsl:copy-of select="$html.body.append"/>