Ignore:
Timestamp:
2009-01-06T14:52:16+13:00 (15 years ago)
Author:
kjdon
Message:

made the indentation nice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/gs2/transform/about.xsl

    r17019 r18318  
    1414  <xsl:output method="html"/> 
    1515 
    16     <!-- the main page layout template is here -->
     16  <!-- the main page layout template is here -->
    1717  <xsl:template match="page">
    1818    <html>
    19     <head>
    20       <title>
    21     <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
    22     <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
    23       </title>
    24       <xsl:call-template name="globalStyle"/>
    25       <xsl:call-template name="pageStyle"/>
    26     </head>
     19      <head>
     20    <title>
     21      <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
     22      <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
     23    </title>
     24    <xsl:call-template name="globalStyle"/>
     25    <xsl:call-template name="pageStyle"/>
     26      </head>
    2727      <body class="bgimage">
    2828    <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
    2929    <div id="page">
    30        <xsl:apply-templates select="pageResponse"/>
    31        <xsl:call-template name="greenstoneFooter"/>                   
     30      <xsl:apply-templates select="pageResponse"/>
     31      <xsl:call-template name="greenstoneFooter"/>                     
    3232    </div>
    3333      </body>
     
    4545  <xsl:template match="pageResponse">
    4646    <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/>
    47       <xsl:apply-templates select="collection"><xsl:with-param name="collName" select="$collName"/></xsl:apply-templates>
     47    <xsl:apply-templates select="collection"><xsl:with-param name="collName" select="$collName"/></xsl:apply-templates>
    4848
    4949  </xsl:template>
     
    5959    </xsl:call-template>
    6060    <div class="document">
    61     <xsl:if test="/page/pageRequest/paramList/param[@name='ct']/@value = 0">
    62     <xsl:apply-templates select="serviceList/service[@name='TextQuery']">
    63       <xsl:with-param name="collName" select="$collName"/></xsl:apply-templates>
    64     <xsl:call-template name="dividerBar"/>
    65     </xsl:if>
     61      <xsl:if test="/page/pageRequest/paramList/param[@name='ct']/@value = 0">
     62    <xsl:apply-templates select="serviceList/service[@name='TextQuery']">
     63      <xsl:with-param name="collName" select="$collName"/></xsl:apply-templates>
     64    <xsl:call-template name="dividerBar"/>
     65      </xsl:if>
    6666    </div>
    6767    <div>
    68     <xsl:if test="displayItem[@name='description']">
    69     <h3><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'about.aboutcoll')"/></h3>
    70     <p><xsl:value-of select="displayItem[@name='description']" disable-output-escaping='yes'/></p>
    71     </xsl:if>
    72     <xsl:apply-templates select="." mode="simplehelp"/>
     68      <xsl:if test="displayItem[@name='description']">
     69    <h3><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'about.aboutcoll')"/></h3>
     70    <p><xsl:value-of select="displayItem[@name='description']" disable-output-escaping='yes'/></p>
     71      </xsl:if>
     72      <xsl:apply-templates select="." mode="simplehelp"/>
    7373    </div> 
    7474  </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.