Changeset 19947


Ignore:
Timestamp:
2009-06-29T15:23:57+12:00 (15 years ago)
Author:
kjdon
Message:

we had two serviceRack targets, one in home.xsl, one in library.xsl. it only appears that its used from home.xsl and library one is being used instead. have deleted the one in library and updated the one in home.xsl so its not so confusing

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

Legend:

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

    r18392 r19947  
    8989
    9090  <xsl:template match="serviceList">
    91     <!--<xsl:call-template name="dividerBar"/>-->
    9291    <ul id="servicelist">
     92      <xsl:for-each select="service[@type='query']">
     93    <li><a href="{$library_name}?a=q&amp;amp;rt=d&amp;amp;s={@name}"><xsl:value-of select="displayItem[@name='name']"/></a><xsl:value-of select="displayItem[@name='description']"/>
     94      </li>
     95      </xsl:for-each>
    9396      <!--uncomment to display an authentication link-->
    9497      <!--<xsl:for-each select="service[@type='authen']">
    95       <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>-->
     98      <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>      </xsl:for-each>-->
    9699      <!--uncomment to display a library interface link-->
    97100      <!--<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>-->
  • greenstone3/trunk/web/interfaces/gs2/transform/library.xsl

    r19916 r19947  
    9494  </xsl:template>
    9595 
    96     <xsl:template name="test" match="pageResponse/serviceList">
    97       <xsl:for-each select="service[@type='query']">
    98       <li><a href="{$library_name}?a=q&amp;amp;rt=d&amp;amp;s={@name}"><xsl:value-of select="displayItem[@name='name']"/></a><xsl:value-of select="displayItem[@name='description']"/>
    99       </li>
    100       </xsl:for-each>
    101       <!--uncomment to display an authentication link-->
    102        <!--<xsl:for-each select="service[@type='authen']">
    103       <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>      </xsl:for-each>-->
    104       <!--uncomment to display a library interface link-->
    105       <!--<li><a href="{$library_name}?a=p&amp;sa=gli4gs3">The Librarian Interface</a></li>-->
    106        </xsl:template>
    10796 
    10897 
Note: See TracChangeset for help on using the changeset viewer.