Ignore:
Timestamp:
2008-08-27T16:31:20+12:00 (16 years ago)
Author:
max
Message:

Delete the HTML skeleton because it has been copied to other XSL files.

File:
1 edited

Legend:

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

    r16862 r17020  
    1010  <xsl:param name="interface_name"/>
    1111  <xsl:param name="library_name"/>
    12 
    13   <!-- the main page layout template is here -->
    14   <xsl:template match="page">
    15     <html>
    16       <xsl:call-template name="pageHead"/>
    17       <body class="bgimage">
    18     <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
    19     <div id="page">
    20        <xsl:apply-templates select="pageResponse"/>
    21        <xsl:call-template name="greenstoneFooter"/>                   
    22     </div>
    23       </body>
    24     </html>
    25   </xsl:template>
    26  
    27   <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
    28   <xsl:template name="pageHead">
    29     <head>
    30       <title>
    31     <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
    32       </title>
    33       <xsl:call-template name="globalStyle"/>
    34       <xsl:call-template name="pageStyle"/>
    35     </head>
    36   </xsl:template>
    3712
    3813  <!-- any global style stuff should go in here -->
     
    9974      </xsl:choose>
    10075    </xsl:variable>
    101         <p class="bannertitle"><xsl:value-of select="$text"/></p>   
     76            <xsl:if test="$text != '__t_'">
     77        <p class="bannertitle"><xsl:value-of select="$text"/></p>
     78            </xsl:if>
    10279      </xsl:if>
    10380     </div>
Note: See TracChangeset for help on using the changeset viewer.