Show
Ignore:
Timestamp:
17.08.2009 10:10:35 (11 years ago)
Author:
kjdon
Message:

made the authentication link always active. If the service has not been activated in siteConfig, then nothing will show up. If it has, then I don't think the user should have to modify the interface files as well. Activating the service in siteConfig should be enough.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/default/transform/util.xsl

    r20160 r20291  
    157157   
    158158  <xsl:template name="authenticationLink"> 
    159     <xsl:for-each select="serviceList/service[@type='authen']"> 
    160       <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> 
     159    <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']"/> 
    161160  </xsl:template>  
    162161