Project

General

Profile

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

1
    <h3>Change your password</h3>    
2

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