From: <dc...@us...> - 2012-01-14 18:46:51
|
Revision: 9191 http://docbook.svn.sourceforge.net/docbook/?rev=9191&view=rev Author: dcramer Date: 2012-01-14 18:46:45 +0000 (Sat, 14 Jan 2012) Log Message: ----------- Webhelp: Left align titles in nav header. Display for all but the topmost page Modified Paths: -------------- trunk/xsl/webhelp/xsl/webhelp.xsl Modified: trunk/xsl/webhelp/xsl/webhelp.xsl =================================================================== --- trunk/xsl/webhelp/xsl/webhelp.xsl 2012-01-14 17:33:26 UTC (rev 9190) +++ trunk/xsl/webhelp/xsl/webhelp.xsl 2012-01-14 18:46:45 UTC (rev 9191) @@ -595,19 +595,20 @@ src='{$webhelp.common.dir}images/logo.png' alt="{$brandname} Documentation"/> </a> <!-- Display the page title and the main heading(parent) of it--> - <h1 align="center"> - <xsl:call-template name="get.doc.title"/> - <br/> + <h1> + <xsl:call-template name="get.doc.title"/> + <br/> <xsl:choose> <xsl:when - test="count($up) > 0 and generate-id($up) != generate-id($home)"> - <xsl:apply-templates select="$up" mode="object.title.markup"/> - </xsl:when> + test="count($up) > 0 and generate-id($up) != generate-id($home)"> + <xsl:apply-templates select="$up" mode="object.title.markup"/> + </xsl:when> + <xsl:when test="not(generate-id(.) = generate-id(/*))"> + <xsl:apply-templates select="." mode="object.title.markup"/> + </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> - - </h1> - + </h1> <!-- Prev and Next links generation--> <div id="navheader"> <xsl:call-template name="user.webhelp.navheader.content"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |