- Timestamp:
- 2009-07-14T09:09:40+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/web/interfaces/oran/transform/pages/document.xsl
r19856 r19988 12 12 <xsl:include href=".old/berrytools.xsl"/> 13 13 14 <!-- make this pageuse the 'main' layout -->14 <!-- use the 'main' layout --> 15 15 <xsl:include href="layouts/main.xsl"/> 16 16 17 <!-- set page title and subtitle--> 18 <xsl:template name="title"><gslib:collectionName/></xsl:template> 19 <xsl:template name="linked-title"><a><xsl:attribute name="href">/<xsl:value-of select="collection/@name"/></xsl:attribute><gslib:collectionName/></a></xsl:template> 17 <!-- set page title --> 18 <xsl:template name="pageTitle"><gslib:documentTitle/></xsl:template> 20 19 20 <!-- set page breadcrumbs --> 21 <xsl:template name="breadcrumbs"><gslib:siteLink/><gslib:rightArrow/></xsl:template> 22 23 <!-- the page content --> 21 24 <xsl:template match="/page/pageResponse/document"> 22 25 … … 59 62 <xsl:variable name="p.c"><xsl:choose><xsl:when test="/page/pageRequest/paramList/param[@name='p.c']"><xsl:value-of select="/page/pageRequest/paramList/param[@name='p.c']/@value"/></xsl:when><xsl:otherwise><xsl:value-of select="$collName"/></xsl:otherwise></xsl:choose></xsl:variable> 60 63 64 <!-- 61 65 <div id="documentheading"> 62 66 63 <!- -<a href="{$library_name}?a={$p.a}&sa={$p.sa}&s={$p.s}&c={$p.c}&rt=rd"><xsl:call-template name="openbookimg"><xsl:with-param name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'close_book')"/></xsl:with-param></xsl:call-template></a>-->67 <!- -<a href="{$library_name}?a={$p.a}&sa={$p.sa}&s={$p.s}&c={$p.c}&rt=rd"><xsl:call-template name="openbookimg"><xsl:with-param name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'close_book')"/></xsl:with-param></xsl:call-template></a>- -> 64 68 65 69 <xsl:choose> … … 69 73 70 74 </div> 75 --> 71 76 72 77 <div class="documenttext"> … … 102 107 <!-- formulate the link --> 103 108 <xsl:variable name="contentsLink"> 104 <xsl:value-of select='$library_name'/>? 105 a=d& 106 c=<gslib:collectionShortName/>& 107 d=<xsl:value-of select='@nodeID'/><xsl:if test="documentNode">.pr</xsl:if>& 108 sib=1& 109 <!--<xsl:if test="string($ec) = '1'">ec=1&</xsl:if> 109 <xsl:value-of select='$library_name'/>?a=d&c=<gslib:collectionNameShort/>&d=<xsl:value-of select='@nodeID'/><xsl:if test="documentNode">.pr</xsl:if>&sib=1<!--&<xsl:if test="string($ec) = '1'">ec=1&</xsl:if> 110 110 p.a=<xsl:value-of select="$p.a"/>& 111 111 p.sa=<xsl:value-of select="$p.sa"/>&
Note:
See TracChangeset
for help on using the changeset viewer.