git://git.exim.org
/
exim-website.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename mirrors.xsl -> download.xsl
[exim-website.git]
/
templates
/
wrapper.xsl
diff --git
a/templates/wrapper.xsl
b/templates/wrapper.xsl
index 4acf48ec4623445262d67b15fdcfbea3bec6c598..af8a2ef0dc76e29083bb4276e45b04bf45775579 100644
(file)
--- a/
templates/wrapper.xsl
+++ b/
templates/wrapper.xsl
@@
-23,10
+23,10
@@
<xsl:template match="/">
<html lang="en-GB">
<head>
<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. <http://www.exim.org/>"/>
- <meta name="copyright" content="Copyright ©
2010
The Exim Project. All rights reserved"/>
+ <meta name="author" content="The Exim Project. <http
s
://www.exim.org/>"/>
+ <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}"/>
<meta name="description" content="{$html.head.description}"/>
<meta name="keywords" content="{$html.head.keywords}"/>
<meta name="robots" content="{$html.head.robots}"/>
@@
-37,10
+37,13
@@
<title>
<xsl:value-of select="$html.head.title"/>
</title>
<title>
<xsl:value-of select="$html.head.title"/>
</title>
-
+
<xsl:copy-of select="$html.head.append"/>
</head>
<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 -->
@@
-54,18
+57,21
@@
<!-- Navigation -->
<!-- Navigation -->
- <ul class="navigation">
- <li> <a href="{$docroot}/mirrors.html">Download</a> </li>
+ <ul id="nav_flow" class="nav">
+ <li> <a href="{$docroot}/index.html">Home</a> </li>
+ <li> <a href="{$docroot}/download.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://wiki.exim.org/">Wiki</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://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>
<li> <a href="{$docroot}/credits.html">Credits</a> </li>
+ <li> <a href="{$docroot}/legal.html">Legal</a> </li>
<!-- Search Field -->
<li class="search">
<!-- Search Field -->
<li class="search">
- <form action="http
://www
.google.com/search" method="get">
+ <form action="http
s://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>
@@
-80,7
+86,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 -->
@@
-90,9
+98,8
@@
<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>
- <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 -->
</div>
<!-- Side Bars -->
@@
-103,12
+110,12
@@
<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 -->
<!-- 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"/>
</body>
<xsl:copy-of select="$html.body.append"/>
</body>
@@
-171,7
+178,12
@@
</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 -->
<xsl:template match="itemizedlist"> <ul> <xsl:apply-templates/> </ul> </xsl:template>
<!-- Lists -->
<xsl:template match="itemizedlist"> <ul> <xsl:apply-templates/> </ul> </xsl:template>