Added Google+ link
[exim-website.git] / templates / wrapper.xsl
index c816ca2fa81c27c08d014f8a9e8a67af4dfd02fe..22052f97a9e0e0f5a973fcc310922fa278490ec6 100644 (file)
                <link rel="stylesheet" type="text/css" href="{$docroot}/common.css"/>
 
                <meta name="author"      content="The Exim Project. &lt;http://www.exim.org/&gt;"/>
                <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 ©2010The 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}"/>
 
                <meta name="description" content="{$html.head.description}"/>
                <meta name="keywords"    content="{$html.head.keywords}"/>
                <meta name="robots"      content="{$html.head.robots}"/>
 
+               <!-- Mobile Safari (iPhone) - Reduce viewport to physical size of device -->
+                  <meta name="viewport" content="width=device-width"/>
+
                <title>
                   <xsl:value-of select="$html.head.title"/>
                </title>
             
                <xsl:copy-of select="$html.head.append"/>
             </head>
                <title>
                   <xsl:value-of select="$html.head.title"/>
                </title>
             
                <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 -->
 
 
                 <!-- Header -->
 
@@ -51,7 +57,8 @@
 
                       <!-- Navigation -->
 
 
                       <!-- Navigation -->
 
-                         <ul class="navigation">
+                         <ul id="nav_flow" class="nav">
+                            <li> <a href="{$docroot}/index.html">Home</a> </li>
                             <li> <a href="{$docroot}/mirrors.html">Download</a> </li>
                             <li> <a href="{$docroot}/docs.html">Documentation</a> </li>
                             <li> <a href="{$docroot}/maillist.html">Mailing Lists</a> </li>
                             <li> <a href="{$docroot}/mirrors.html">Download</a> </li>
                             <li> <a href="{$docroot}/docs.html">Documentation</a> </li>
                             <li> <a href="{$docroot}/maillist.html">Mailing Lists</a> </li>
                             <li> <a href="http://www.exim.org/bugzilla/">Bugs</a> </li>
                             <li> <a href="{$docroot}/credits.html">Credits</a> </li>
 
                             <li> <a href="http://www.exim.org/bugzilla/">Bugs</a> </li>
                             <li> <a href="{$docroot}/credits.html">Credits</a> </li>
 
+                            <li class="img">
+                               <a href="https://plus.google.com/101257968735428844827/?prsrc=3" title="Google+">
+                                      <img src="{$docroot}/i/gplus-32.png" width="16" height="16" alt="G+"/>
+                               </a>
+                            </li>
+
                             <!-- Search Field -->
 
                                <li class="search">
                             <!-- 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>
                                      <span class="search_field_container">
                                         <input type="search" name="q" placeholder="Search Docs" class="search_field"/>
                                      </span>
@@ -77,7 +90,9 @@
 
                       <!-- MAIN CONTENT. This is the div that wraps around the other stylesheets -->
                          <div id="inner">
 
                       <!-- MAIN CONTENT. This is the div that wraps around the other stylesheets -->
                          <div id="inner">
-                            <xsl:call-template name="content"/>
+                            <div id="content">
+                              <xsl:call-template name="content"/>
+                           </div>
                          </div>
 
                       <!-- Branding -->
                          </div>
 
                       <!-- Branding -->
 
                          <div id="footer">
                             <xsl:text>Website design by </xsl:text>
 
                          <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:text>, of </xsl:text>
                             <a href="http://cardwellit.com/">Cardwell IT Ltd.</a>
                          </div>
                          <xsl:copy-of select="$html.body.outer.append"/>
                    </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>
 
                 <!-- Local JavaScript -->
                    <script type="text/javascript" src="{$docroot}/common.js"></script>
                <xsl:when test="@section_id">
                   <xsl:choose>
                      <xsl:when test="@longref">
                <xsl:when test="@section_id">
                   <xsl:choose>
                      <xsl:when test="@longref">
-                        <xsl:value-of select="concat(@chapter_id,'. ',@chapter_title,'[',@section_title,']')"/>
+                        <xsl:value-of select="@chapter_title"/>
+                        <small>
+                           <xsl:value-of select="concat(' [',@section_title,']')"/>
+                        </small>
                      </xsl:when>
                      <xsl:otherwise>
                         <xsl:value-of select="concat(@chapter_id,'.',@section_id)"/>
                      </xsl:when>
                      <xsl:otherwise>
                         <xsl:value-of select="concat(@chapter_id,'.',@section_id)"/>
                <xsl:otherwise>
                   <xsl:choose>
                      <xsl:when test="@longref">
                <xsl:otherwise>
                   <xsl:choose>
                      <xsl:when test="@longref">
-                        <xsl:value-of select="concat(@chapter_id,'. ',@chapter_title)"/>
+                        <xsl:value-of select="@chapter_title"/>
                      </xsl:when>
                      <xsl:otherwise>
                         <xsl:value-of select="@chapter_id"/>
                      </xsl:when>
                      <xsl:otherwise>
                         <xsl:value-of select="@chapter_id"/>
       </xsl:template>
 
    <!-- Para -->
       </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 -->
 
    <!-- Lists -->
-      <xsl:template match="itemizedlist">          <ul> <xsl:apply-templates/> </ul> </xsl:template>
-      <xsl:template match="itemizedlist/listitem"> <li> <xsl:apply-templates/> </li> </xsl:template>
-      <xsl:template match="orderedlist">           <ol> <xsl:apply-templates/> </ol> </xsl:template>
-      <xsl:template match="orderedlist/listitem">  <li> <xsl:apply-templates/> </li> </xsl:template>
+      <xsl:template match="itemizedlist">                        <ul> <xsl:apply-templates/> </ul> </xsl:template>
+      <xsl:template match="itemizedlist/listitem">               <li> <xsl:apply-templates/> </li> </xsl:template>
+      <xsl:template match="orderedlist">                         <ol> <xsl:apply-templates/> </ol> </xsl:template>
+      <xsl:template match="orderedlist/listitem">                <li> <xsl:apply-templates/> </li> </xsl:template>
+      <xsl:template match="variablelist">                        <dl> <xsl:apply-templates/> </dl> </xsl:template>
+      <xsl:template match="variablelist/varlistentry/term">      <dt> <xsl:apply-templates/> </dt> </xsl:template>
+      <xsl:template match="variablelist/varlistentry/listitem">  <dd> <xsl:apply-templates/> </dd> </xsl:template>
 
    <!-- Table -->
       <xsl:template match="informaltable"> <table> <xsl:apply-templates/> </table> </xsl:template>
 
    <!-- Table -->
       <xsl:template match="informaltable"> <table> <xsl:apply-templates/> </table> </xsl:template>