Changeset 18314

Show
Ignore:
Timestamp:
06.01.2009 13:27:50 (10 years ago)
Author:
kjdon
Message:

moved greenstonePageBanner template to home.xsl from style.xsl cos thats where its used. moved some hard coded text into property files

Location:
greenstone3/trunk/web/interfaces/gs2/transform
Files:
2 modified

Legend:

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

    r17019 r18314  
    4141 
    4242  <xsl:template match="pageResponse"> 
    43     <xsl:call-template name="greenstonePageBanner"/>  
     43    <xsl:call-template name="pageBanner"/>  
    4444    <xsl:apply-templates select="collectionList"/>    
    4545    <xsl:apply-templates select="serviceList"/> 
    4646  </xsl:template> 
     47 
     48  <xsl:template name="pageBanner"> 
     49     <div id="banner"> 
     50        <div class="collectimage"> 
     51            <img src="interfaces/default/images/gsdlhead.gif"><xsl:attribute name="alt"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl')"/></xsl:attribute> 
     52            </img> 
     53      </div> 
     54      </div> 
     55      <div class="bannerextra"></div> 
     56      <div id="content"> 
     57        <xsl:call-template name="dividerBar"> 
     58            <xsl:with-param name="text" select="util:getInterfaceText($interface_name, /page/@lang, 'home.select_a_collection')"/>  
     59        </xsl:call-template> 
     60      </div>             
     61   </xsl:template> 
    4762 
    4863  <xsl:template match="collectionList"> 
     
    8095      <li><a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s={@name}&amp;s1.aup=Login&amp;s1.un=&amp;s1.asn="><xsl:value-of select="displayItem[@name='name']"/></a><xsl:value-of select="displayItem[@name='description']"/></li> <br/>     </xsl:for-each>--> 
    8196      <!--uncomment to display a library interface link--> 
    82      <!--<li><a href="{$library_name}?a=p&amp;sa=gli4gs3">The Librarian Interface</a></li>--> 
     97     <!--<li><a href="{$library_name}?a=p&amp;sa=gli4gs3"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home.librarian_interface')"/></a></li>--> 
    8398    </ul> 
    8499    </xsl:template> 
  • greenstone3/trunk/web/interfaces/gs2/transform/style.xsl

    r17020 r18314  
    1717  </xsl:template> 
    1818   
    19   <xsl:template name="greenstonePageBanner"> 
    20      <div id="banner"> 
    21         <div class="collectimage"> 
    22             <img src="interfaces/default/images/gsdlhead.gif"><xsl:attribute name="alt"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl')"/></xsl:attribute> 
    23             </img> 
    24       </div> 
    25       </div> 
    26       <div class="bannerextra"></div> 
    27       <div id="content"> 
    28         <xsl:call-template name="dividerBar"> 
    29             <xsl:with-param name="text" select="'select a collection'"/>  
    30         </xsl:call-template> 
    31       </div>             
    32    </xsl:template> 
    33  
    3419  <xsl:template name="genericPageBanner"> 
    3520    <xsl:param name='text'/>