- Timestamp:
- 2018-08-30T14:22:51+12:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/pages/authen.xsl
r32388 r32389 40 40 <!-- set page breadcrumbs --> 41 41 <xsl:template name="breadcrumbs"> 42 <gslib:siteLink/><xsl:if test="/page/pageResponse/authenticationNode/service/@operation != 'AccountSettings' and /page/pageResponse/authenticationNode/service/@operation != 'Register' "><gslib:rightArrow/><a href="{$library_name}/admin/ListUsers"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.authentication')"/></a></xsl:if>42 <gslib:siteLink/><xsl:if test="/page/pageResponse/authenticationNode/service/@operation != 'AccountSettings' and /page/pageResponse/authenticationNode/service/@operation != 'Register' and /page/pageResponse/authenticationNode/service/@operation != 'PerformRegister'"><gslib:rightArrow/><a href="{$library_name}/admin/ListUsers"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.authentication')"/></a></xsl:if> 43 43 </xsl:template> 44 44 … … 390 390 <!-- ********************** --> 391 391 <xsl:when test="/page/pageResponse/authenticationNode/service/@operation = 'PerformRegister'"> 392 <xsl:choose> 393 <xsl:when test="/page/pageResponse/error"> 394 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.error_failed_to_add')"/> 395 </xsl:when> 396 <xsl:otherwise> 397 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.user_added_success')"/> 398 <meta http-equiv="refresh" content="2; url={/page/pageRequest/@baseURL}{$library_name}"/> 399 </xsl:otherwise> 400 </xsl:choose> 392 <xsl:choose> 393 <!-- don't think we ever get here, as we revert back to Register if there was an error with PerformRegister --> 394 <xsl:when test="/page/pageResponse/error"> 395 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.error_failed_to_add')"/> 396 </xsl:when> 397 398 <xsl:otherwise> 399 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.user_added_success')"/> 400 <meta http-equiv="refresh" content="2; url={/page/pageRequest/@baseURL}{$library_name}"/> 401 </xsl:otherwise> 402 </xsl:choose> 401 403 </xsl:when> 402 404 403 405 <xsl:when test="/page/pageResponse/authenticationNode/service/@operation = 'Info'"> 404 406 <!-- do nothing -->
Note:
See TracChangeset
for help on using the changeset viewer.