Changeset 14355

Show
Ignore:
Timestamp:
09.08.2007 10:17:10 (12 years ago)
Author:
qq6
Message:

Added some strings

Files:
1 modified

Legend:

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

    r14350 r14355  
    4747        <td><xsl:if test="$un_s!=''"> 
    4848            <xsl:if test="$asn!='' and $asn!='0'"> 
    49             User :  <xsl:value-of select="$un_s"/> 
     49            <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.username')"/> :  <xsl:value-of select="$un_s"/> 
    5050            </xsl:if> 
    5151          </xsl:if></td> 
     
    5656      <div id="navbar"> 
    5757        <ul id="navbarlist"> 
    58           <li><a href="{$library_name}">Greenstone home</a></li> 
     58          <li><a href="{$library_name}"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.greenstone_home')"/></a></li> 
    5959          <li> 
    6060        <xsl:choose> 
    6161          <xsl:when test="$asn!='' and $asn!='0' and $un_s!=''"> 
    62             <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.aup=ListUsers&amp;s1.asn={$asn}&amp;s1.uan=1&amp;s1.un={$un_s}&amp;s1.pw=">list users</a> 
     62            <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.aup=ListUsers&amp;s1.asn={$asn}&amp;s1.uan=1&amp;s1.un={$un_s}&amp;s1.pw="><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.list_users')"/></a> 
    6363        </xsl:when> 
    6464          <xsl:otherwise> 
    65         <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.asn=&amp;s1.aup=Login">list users</a> 
     65        <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.asn=&amp;s1.aup=Login"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.list_users')"/></a> 
    6666          </xsl:otherwise> 
    6767        </xsl:choose></li> 
     
    7070        <xsl:choose> 
    7171          <xsl:when test="$asn!='' and $asn!='0' and $un_s!=''"> 
    72             <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.aup=AddUser&amp;s1.asn={$asn}&amp;s1.uan=1&amp;s1.un={$un_s}&amp;s1.pw=&amp;s1.umun=&amp;s1.umpw=&amp;s1.umgp=&amp;s1.umas=&amp;s1.umc=">add a new user</a>  
     72            <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.aup=AddUser&amp;s1.asn={$asn}&amp;s1.uan=1&amp;s1.un={$un_s}&amp;s1.pw=&amp;s1.umun=&amp;s1.umpw=&amp;s1.umgp=&amp;s1.umas=&amp;s1.umc="><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.add_a_new_user')"/></a>  
    7373          </xsl:when> 
    7474          <xsl:otherwise> 
    75             <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.asn=&amp;s1.aup=Login">add a new user</a> 
     75            <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.asn=&amp;s1.aup=Login"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.add_a_new_user')"/></a> 
    7676          </xsl:otherwise> 
    7777        </xsl:choose> 
     
    8181        <xsl:choose> 
    8282          <xsl:when test="$asn!='' and $asn!='0' and $un_s!=''"> 
    83             <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.aup=ModifyPassword&amp;s1.asn={$asn}&amp;s1.uan=1&amp;s1.un={$un_s}&amp;s1.pw=&amp;s1.umpw1=&amp;s1.umpw2=">change password</a> 
     83            <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.aup=ModifyPassword&amp;s1.asn={$asn}&amp;s1.uan=1&amp;s1.un={$un_s}&amp;s1.pw=&amp;s1.umpw1=&amp;s1.umpw2="><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.change_password')"/></a> 
    8484          </xsl:when> 
    8585          <xsl:otherwise> 
    86             <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.asn=&amp;s1.aup=Login">change password</a> 
     86            <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.asn=&amp;s1.aup=Login"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.change_password')"/></a> 
    8787          </xsl:otherwise> 
    8888        </xsl:choose> 
     
    9292        <xsl:choose> 
    9393          <xsl:when test="$un_s!='' and $asn!='' and $asn!='0'"> 
    94             <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.asn=&amp;s1.aup=Login&amp;s1.un=&amp;s1.pw=">logout</a> 
     94            <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.asn=&amp;s1.aup=Login&amp;s1.un=&amp;s1.pw="><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.logout')"/></a> 
    9595          </xsl:when> 
    9696          <xsl:otherwise> 
    97             <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.asn=&amp;s1.aup=Login">login</a> 
     97            <a href="{$library_name}?a=g&amp;rt=r&amp;sa=authen&amp;s=Authentication&amp;s1.asn=&amp;s1.aup=Login"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.login')"/></a> 
    9898          </xsl:otherwise> 
    9999        </xsl:choose> 
     
    106106          <td> 
    107107        <div id="content" align="center"> 
    108           <xsl:if test="$pro_action=''"> 
    109             <h2 align="left">User management</h2> 
    110           </xsl:if> 
    111108          <!-- login --> 
    112109          <xsl:if test="$pro_action='Login'"> 
    113110            <xsl:choose> 
    114111              <xsl:when test="$asn!='' and $asn!='0'"> 
    115             <p align="left">Login successfully</p> 
     112            <p align="left"> <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'authen.login_successfully')"/></p> 
    116113              </xsl:when> 
    117114              <xsl:otherwise>