Changeset 16502

Show
Ignore:
Timestamp:
22.07.2008 10:30:30 (12 years ago)
Author:
max
Message:

Fixed space problem in URLs during browsing & opening documents.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/ui/xslt/library.xsl

    r16448 r16502  
    44xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  
    55xmlns:gslib="http://www.greenstone.org/XSL/Library" 
    6 exclude-result-prefixes="xalan gslib" 
    7 > 
     6exclude-result-prefixes="xalan gslib"> 
    87 
    98<!-- exclude-result-prefixes="xalan gslib" --> 
     
    222221 
    223222 
    224  
    225  
    226  
    227  
    228  
    229  
    230  
    231223<!-- browsing ............................................................................. --> 
    232224 
     
    241233</xsl:template> 
    242234 
     235 
    243236<xsl:template name="classifierNode_url"> 
    244     <xsl:value-of select="$librarian"/> 
    245     ?a=b&amp;rt=r&amp;s= 
    246     <xsl:value-of select="/page/pageResponse/service/@name"/> 
    247     &amp;c= 
    248     <xsl:value-of select="$collection"/> 
    249     &amp;cl= 
    250     <xsl:value-of select="@nodeID" /> 
    251 </xsl:template> 
     237 
     238<xsl:value-of select="$librarian"/> 
     239?a=b&amp;rt=r&amp;s= 
     240<xsl:value-of select="/page/pageResponse/service/@name"/> 
     241&amp;c= 
     242<xsl:value-of select="$collection"/> 
     243&amp;cl= 
     244<xsl:value-of select="@nodeID" /><xsl:if test="classifierNode|documentNode">.pr</xsl:if> 
     245 
     246</xsl:template> 
     247 
    252248 
    253249<xsl:template name="documentNode_title"> 
    254     <xsl:value-of select="./metadataList/metadata[@name='Title']"/> 
    255 </xsl:template> 
     250 
     251<xsl:value-of select="./metadataList/metadata[@name='Title']"/> 
     252     
     253</xsl:template> 
     254 
    256255 
    257256<xsl:template name="documentNode_url"> 
    258     <xsl:value-of select="$librarian"/>?a=d&amp; 
    259     c=<xsl:value-of select="$collection"/>&amp; 
    260     d=<xsl:value-of select="@nodeID"/>&amp;sib=1 
    261     &amp;p.a=b&amp;p.s=ClassifierBrowse 
     257 
     258<xsl:value-of select="$librarian"/> 
     259?a=d&amp;c= 
     260<xsl:value-of select="$collection"/> 
     261&amp;d= 
     262<xsl:value-of select="@nodeID"/> 
     263&amp;sib=1&amp;p.a=b&amp;p.s=ClassifierBrowse 
     264 
    262265</xsl:template> 
    263266