Ignore:
Timestamp:
2012-07-10T14:10:36+12:00 (12 years ago)
Author:
sjm84
Message:

Some minor formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/config_format.xsl

    r25881 r25919  
    8989                </a>
    9090            </xsl:when>
    91            
    9291            <xsl:otherwise> <!-- a document link -->
    9392                <xslt:variable name="bookswitch">
     
    101100                        <xsl:text>/document/</xsl:text>
    102101                        <xslt:value-of select='@nodeID'/>
    103         <xslt:choose>
    104                         <xslt:when test="$bookswitch = 'on' or $bookswitch = 'flashxml'">
    105                             <xsl:text>?book=on</xsl:text>
    106                         </xslt:when>
    107           <xslt:otherwise>
    108 <xslt:if test="$opt-doc-link-args">?<xslt:value-of select="$opt-doc-link-args"/></xslt:if></xslt:otherwise>
    109 </xslt:choose>
     102                        <xslt:choose>
     103                            <xslt:when test="$bookswitch = 'on' or $bookswitch = 'flashxml'">
     104                                <xsl:text>?book=on</xsl:text>
     105                            </xslt:when>
     106                            <xslt:otherwise>
     107                                <xslt:if test="$opt-doc-link-args">?<xslt:value-of select="$opt-doc-link-args"/></xslt:if>
     108                            </xslt:otherwise>
     109                        </xslt:choose>
    110110                    </xslt:attribute>
    111111                    <xsl:apply-templates/>
Note: See TracChangeset for help on using the changeset viewer.