Ignore:
Timestamp:
2009-07-14T09:09:40+12:00 (15 years ago)
Author:
oranfry
Message:

checking in a batch of changes to the oran skin. more work yet to do.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/oran/transform/pages/document.xsl

    r19856 r19988  
    1212    <xsl:include href=".old/berrytools.xsl"/>
    1313
    14     <!-- make this page use the 'main' layout -->
     14    <!-- use the 'main' layout -->
    1515    <xsl:include href="layouts/main.xsl"/>
    1616
    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>
    2019
     20    <!-- set page breadcrumbs -->
     21    <xsl:template name="breadcrumbs"><gslib:siteLink/><gslib:rightArrow/></xsl:template>
     22
     23    <!-- the page content -->
    2124    <xsl:template match="/page/pageResponse/document">
    2225
     
    5962                <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>
    6063
     64                <!--
    6165                <div id="documentheading">
    6266
    63                     <!--<a href="{$library_name}?a={$p.a}&amp;sa={$p.sa}&amp;s={$p.s}&amp;c={$p.c}&amp;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}&amp;sa={$p.sa}&amp;s={$p.s}&amp;c={$p.c}&amp;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>- ->
    6468
    6569                    <xsl:choose>
     
    6973
    7074                </div>
     75                -->
    7176
    7277                <div class="documenttext">
     
    102107        <!-- formulate the link -->
    103108        <xsl:variable name="contentsLink">
    104             <xsl:value-of select='$library_name'/>?
    105             a=d&amp;
    106             c=<gslib:collectionShortName/>&amp;
    107             d=<xsl:value-of select='@nodeID'/><xsl:if test="documentNode">.pr</xsl:if>&amp;
    108             sib=1&amp;
    109             <!--<xsl:if test="string($ec) = '1'">ec=1&amp;</xsl:if>
     109            <xsl:value-of select='$library_name'/>?a=d&amp;c=<gslib:collectionNameShort/>&amp;d=<xsl:value-of select='@nodeID'/><xsl:if test="documentNode">.pr</xsl:if>&amp;sib=1<!--&amp;<xsl:if test="string($ec) = '1'">ec=1&amp;</xsl:if>
    110110            p.a=<xsl:value-of select="$p.a"/>&amp;
    111111            p.sa=<xsl:value-of select="$p.sa"/>&amp;
Note: See TracChangeset for help on using the changeset viewer.