- Timestamp:
- 2009-01-06T14:52:16+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/web/interfaces/gs2/transform/about.xsl
r17019 r18318 14 14 <xsl:output method="html"/> 15 15 16 16 <!-- the main page layout template is here --> 17 17 <xsl:template match="page"> 18 18 <html> 19 <head>20 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 24 25 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> 27 27 <body class="bgimage"> 28 28 <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute> 29 29 <div id="page"> 30 31 30 <xsl:apply-templates select="pageResponse"/> 31 <xsl:call-template name="greenstoneFooter"/> 32 32 </div> 33 33 </body> … … 45 45 <xsl:template match="pageResponse"> 46 46 <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/> 47 47 <xsl:apply-templates select="collection"><xsl:with-param name="collName" select="$collName"/></xsl:apply-templates> 48 48 49 49 </xsl:template> … … 59 59 </xsl:call-template> 60 60 <div class="document"> 61 <xsl:if test="/page/pageRequest/paramList/param[@name='ct']/@value = 0">62 63 64 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> 66 66 </div> 67 67 <div> 68 <xsl:if test="displayItem[@name='description']">69 70 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"/> 73 73 </div> 74 74 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.