Changeset 17020 for greenstone3/trunk
- Timestamp:
- 2008-08-27T16:31:20+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/web/interfaces/gs2/transform/style.xsl
r16862 r17020 10 10 <xsl:param name="interface_name"/> 11 11 <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>37 12 38 13 <!-- any global style stuff should go in here --> … … 99 74 </xsl:choose> 100 75 </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> 102 79 </xsl:if> 103 80 </div>
Note:
See TracChangeset
for help on using the changeset viewer.