Changeset 14346


Ignore:
Timestamp:
2007-08-08T19:06:15+12:00 (15 years ago)
Author:
qq6
Message:

added a comment

File:
1 edited

Legend:

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

    r14344 r14346  
    154154          <!-- add a new user-->
    155155          <xsl:if test="$pro_action='AddUser'">
    156             <xsl:if test="$err!='' and $err!='no-permission'">
     156            <xsl:if test="$err!='' and $err!='no-permission' and $err!='un-exist'">
    157157            <p align="left"><font color='red'><xsl:value-of select="$err" /></font></p>
    158158            </xsl:if>
     
    180180            <p align="left"><font color="red"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.unsername_err')"/></font></p>
    181181              </xsl:if>
    182            
     182            <xsl:if test="$err='un-exist'">
     183            <p align="left"><font color='red'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.user_has_existed')"/></font></p>
     184              </xsl:if>
    183185              <xsl:call-template name="edituser" >
    184186            <xsl:with-param name="sub_action" select="$sub_action"/>
     
    265267          <!-- edit the user's info -->
    266268          <xsl:if test="$pro_action='EditUser'">
    267             <xsl:if test="$err!='' and $err!='umpw-err' and $err!='umun-err' and $err!='ini-umpw-err'">
     269            <xsl:if test="$err!='' and $err!='umpw-err' and $err!='umun-err' and $err!='ini-umpw-err' and $err!='un-exist'">
    268270              <p align="left"><font color='red'><xsl:value-of select="$err" /></font></p>
    269271            </xsl:if>
     
    279281              <xsl:if test="$err='ini-umpw-err'">
    280282            <p align="left"><font color="red"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.password_initial')"/></font></p>
     283              </xsl:if>
     284               <xsl:if test="$err='un-exist'">
     285            <p align="left"><font color='red'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.user_has_existed')"/></font></p>
    281286              </xsl:if>
    282287              <xsl:call-template name="edituser" >
Note: See TracChangeset for help on using the changeset viewer.