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
Changed URL in credits
[exim-website.git]
/
templates
/
wrapper.xsl
diff --git
a/templates/wrapper.xsl
b/templates/wrapper.xsl
index 64d08c5d59e93f7a024c6bac23e388436fd4ad48..45fb8e8b1f659496e32f322dfc32097a70cf48a9 100644
(file)
--- a/
templates/wrapper.xsl
+++ b/
templates/wrapper.xsl
@@
-26,11
+26,14
@@
<link rel="stylesheet" type="text/css" href="{$docroot}/common.css"/>
<meta name="author" content="The Exim Project. <http://www.exim.org/>"/>
<link rel="stylesheet" type="text/css" href="{$docroot}/common.css"/>
<meta name="author" content="The Exim Project. <http://www.exim.org/>"/>
- <meta name="copyright" content="Copyright ©2010The Exim Project. All rights reserved"/>
+ <meta name="copyright" content="Copyright ©2010
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>
<title>
<xsl:value-of select="$html.head.title"/>
</title>
@@
-51,7
+54,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>
@@
-77,7
+81,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 -->
@@
-87,7
+93,7
@@
<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>
@@
-143,7
+149,10
@@
<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)"/>
@@
-153,7
+162,7
@@
<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"/>
@@
-165,7
+174,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>