Changeset 37549


Ignore:
Timestamp:
2023-03-20T14:47:27+13:00 (13 months ago)
Author:
kjdon
Message:

the base href of the page might come from something other than baseURL - so use the new variable defined in header.xsl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/login.xsl

    r37407 r37549  
    108108                  <td colspan="2">
    109109                    <gsf:variable name="serlvetProtocol"><xsl:value-of select="/page/pageResponse/interfaceOptions/option[@name='servlet_protocol']/@value"/></gsf:variable>
    110                     <gsf:variable name="baseURL"><xsl:value-of select="/page/pageRequest/@baseURL"/></gsf:variable>
     110                    <!--<gsf:variable name="baseURL"><xsl:value-of select="/page/pageRequest/@baseURL"/></gsf:variable>-->
    111111                    <gsf:variable name="redirectURL"><xsl:value-of select="/page/pageRequest/paramList/param[@name = 'redirectURL']/@value"/></gsf:variable>
    112112                    <gsf:div id="g_id_onload"
     
    116116                    <xsl:call-template name="generateGoogleIdentityLoginURL">
    117117                      <xsl:with-param name="servletProtocol" select="$servletProtocol"></xsl:with-param>
    118                       <xsl:with-param name="baseURL"         select="$baseURL"></xsl:with-param>
     118                      <!--<xsl:with-param name="baseURL"         select="$baseURL"></xsl:with-param>-->
     119                                          <xsl:with-param name="baseURL"         select="$base-href"></xsl:with-param>
    119120                      <xsl:with-param name="redirectURL"     select="$redirectURL"></xsl:with-param>
    120121                    </xsl:call-template>
Note: See TracChangeset for help on using the changeset viewer.