Project

General

Profile

metacat / lib / style / common / templates / ldapChangePass.tmpl @ 2411

1
  
2
  <table class="intro" cellpadding="3" cellspacing="0">
3
    <tr><td align="left"><span class="emphasis">Change your KNB password</span></td></tr>    
4
    <tr><td align="left"><span class="regtext">Enter the required information below to change your KNB password.  
5
    You will need to know your username and your old password, and choose a new password (which is entered twice for confirmation). 
6
    Required fields are denoted by an asterisk (*).</span></td></tr>
7
    <tr><td align="left"><a href="@cgiurl@?stage=initresetpass&cfg=[% cfg %]">Forgot your old password?</a></td></tr>
8
    <tr><td align="left"> <span class="label">[% errorMessage %]</span></td></tr>
9
  </table>
10
    
11
    
12
    
13
   <table class="intro" cellpadding="3" cellspacing="0"><tr><td>
14
    <form name="passwdForm" action="@cgiurl@" method="post">
15
      <input type="hidden" name="stage" value="[% stage %]"/>
16
      <input type="hidden" name="cfg" value="[% cfg %]"/>
17
      
18
      <table border="0">
19
        <tr>
20
          <td align="left" class="label">
21
            *Username:
22
          </td>
23
          <td align="right">
24
            <input name="uid" type="text"
25
                   [% IF allParams.uid %]
26
                   value="[% allParams.uid %]"
27
                   [% END %]/>
28
          </td>
29
        </tr>
30
        <tr>
31
          <td align="left" class="label">
32
            *Organization:
33
          </td>
34
          <td align="right">
35
            <select name="o">
36
              [% FOREACH org = orgList %]
37
		[% IF allParams.o == org %]
38
                  <option value="[% org %]" selected>[% org %]</option>
39
                [% ELSE %]
40
                  <option value="[% org %]">[% org %]</option>
41
                [% END %]
42
              [% END %]
43
            </select>
44
          </td>
45
        </tr>
46
        <tr>
47
          <td align="left" class="label">
48
            *Old password:
49
          </td>
50
          <td align="right">
51
            <input name="oldpass" type="password" />
52
          </td>
53
        </tr>
54
        <tr>
55
          <td align="left" class="label">
56
            *New password:
57
          </td>
58
          <td align="right">
59
            <input name="userPassword" type="password" />
60
          </td>
61
        </tr>
62
        <tr>
63
          <td align="left" class="label">
64
            *Confirm new password:
65
          </td>
66
          <td align="right">
67
            <input name="userPassword2" type="password" />
68
          </td>
69
        </tr>
70
        <tr>
71
          <td>
72
          </td>
73
          <td align="right">
74
            <input name="action" type="submit" value="Change password"/>
75
          </td>
76
        </tr>
77
      </table>
78
    </form>
79
    </td></tr></table>