allow the docs to have a little more structure. Used for the
"back" link and for the breadcrumb links.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97476
13f79535-47bb-0310-9956-
ffa450edef68
</div> <!-- /page-header -->
<div class="up">
- <a href="./"><img src="{$path}/images/left.gif" alt="<-" title="<-" /></a>
+ <xsl:choose>
+ <xsl:when test="parentdocument">
+ <a href="{parentdocument/@href}"><img src="{$path}/images/left.gif" alt="<-" title="<-" /></a>
+ </xsl:when>
+ <xsl:otherwise>
+ <a href="./"><img src="{$path}/images/left.gif" alt="<-" title="<-" /></a>
+ </xsl:otherwise>
+ </xsl:choose>
</div>
<div id="path">
<xsl:value-of select="$messages/message[@name='modules']"/>
</a>
</xsl:if>
-
+ <xsl:if test="parentdocument">
+ <xsl:text> > </xsl:text>
+ <a href="{parentdocument/@href}">
+ <xsl:value-of select="parentdocument"/>
+ </a>
+ </xsl:if>
</div> <!-- /path -->
</xsl:template>
<!-- /top -->