Changeset 13381

Show
Ignore:
Timestamp:
30.11.2006 15:49:54 (13 years ago)
Author:
kjdon
Message:

modified page title for when there is no collection

Location:
trunk/gsdl3/web/interfaces/default/transform
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/interfaces/default/transform/help.xsl

    r8526 r13381  
    1313   
    1414  <xsl:template name="pageTitle"> 
    15     <xsl:value-of select="/page/pageResponse/*/displayItem[@name='name']"/>: <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_t')"/> 
     15    <xsl:choose><xsl:when test="/page/pageResponse/*/displayItem[@name='name']"><xsl:value-of select="/page/pageResponse/*/displayItem[@name='name']"/></xsl:when><xsl:otherwise><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl')"/></xsl:otherwise></xsl:choose>: <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_t')"/> 
    1616  </xsl:template> 
    1717 
  • trunk/gsdl3/web/interfaces/default/transform/pref.xsl

    r13267 r13381  
    1313   
    1414  <xsl:template name="pageTitle"> 
    15     <xsl:value-of select="/page/pageResponse/*/displayItem[@name='name']"/>: <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_t')"/> 
     15    <xsl:choose><xsl:when test="/page/pageResponse/*/displayItem[@name='name']"><xsl:value-of select="/page/pageResponse/*/displayItem[@name='name']"/></xsl:when><xsl:otherwise><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl')"/></xsl:otherwise></xsl:choose>: <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'pref_t')"/> 
    1616  </xsl:template> 
    1717