Ignore:
Timestamp:
2009-01-06T13:27:50+13:00 (15 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

File:
1 edited

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>
Note: See TracChangeset for help on using the changeset viewer.