Project

General

Profile

1 2342 sgarg
    [% SWITCH stage %]
2
    [% CASE 'register' %]
3 2411 sgarg
4
5 8086 leinfelder
    <h3>Register for the KNB</h3>
6 2411 sgarg
7 8086 leinfelder
    <table class="intro" cellpadding="3" cellspacing="0">
8
       <tr><td align="left">
9
       <span class="regtext">
10
       Fill out the form below to register for the KNB.
11
       By registering, you will be assigned a user account that allows you to store your
12
       own data as part of the KNB and to collaborate with other research
13
       scientists through the KNB.</td></tr>
14
	<tr><td align="left">
15
		<strong>Note: </strong>To create an account affiliated with an organization such as OBFS, UCNRS, KU, LTER, UVM, NCEAS, OSUSB, SDSC or NAPIER contact tech support.
16
		Emails are: tech_support@lternet.edu for LTER, infomgr@ucnrs.org for UCNRS, judithk@sanparks.org for SANParks and SAEON and knb-help@nceas.ucsb.edu for other organizations.</td></tr>
17 2411 sgarg
       <tr><td align="left"><span class="label">Required fields are denoted by an asterisk (*).</td></tr>
18 2999 tyburczy
19 2411 sgarg
    </table>
20
    <p>&nbsp;</p>
21
22 2342 sgarg
    [% fieldType = 'text' %]
23
    [% CASE 'registerconfirmed' %]
24 2411 sgarg
25
26 8086 leinfelder
      <h3>Confirm registration information</h3>
27
28 2411 sgarg
    <table class="intro" cellpadding="3" cellspacing="0">
29
      <tr><td align="left"><span class="regtext">If you have confirmed that the accounts listed above do not
30 2342 sgarg
    represent you, you can continue with the registration process
31 2411 sgarg
    using the data you provided, summarized below:   </td></tr></table>
32
33 2342 sgarg
    [% fieldType = 'hidden' %]
34
    [% END %]
35 8087 leinfelder
    <p class="label text-error">[% errorMessage %]<p>
36 2342 sgarg
    <p>
37
    <script type="text/javascript" language="JavaScript1.2">
38 2411 sgarg
39 2342 sgarg
    <!--
40
      document.loginForm.givenName.focus();
41
      document.loginForm.givenName.select();
42
43
      if(window.document.captureEvents != null)
44
      {
45
        window.document.captureEvents(Event.KEYPRESS);
46
        window.document.onKeyPress = doSubmit;
47
      }
48
49
      function doSubmit(event)
50
      {
51
        var key;
52
        if(document.all) // IE
53
          key = String.fromCharCode(window.events.keyCode);
54
        else
55
          key = String.fromCharCode(event.which);
56
57
        if(key == "\r" || key == "\n")
58
          document.loginForm.submit();
59
      }
60
    // -->
61
    </script>
62
63 3915 walbridge
    <form name="loginForm" action="[% cgiurl %]" method="post">
64 2342 sgarg
      <input type="hidden" name="stage" value="[% stage %]"/>
65
      <input type="hidden" name="cfg" value="[% cfg %]"/>
66 2411 sgarg
      <table hspace="20" border="0">
67 2342 sgarg
        <tr>
68 2411 sgarg
          <td align="left" class="label">
69
            *First Name:
70 2342 sgarg
          </td>
71
          <td align="right">
72
            [% IF stage == 'registerconfirmed' %]
73
            [% allParams.givenName %]
74
            [% END %]
75
            <input name="givenName" type="[% fieldType %]"
76
                   value="[% allParams.givenName %]"/>
77
          </td>
78
        </tr>
79
        <tr>
80 2411 sgarg
          <td align="left" class="label">
81
            *Last Name:
82 2342 sgarg
          </td>
83
          <td align="right">
84
            [% IF stage == 'registerconfirmed' %]
85
            [% allParams.sn %]
86
            [% END %]
87
            <input name="sn" type="[% fieldType %]" value="[% allParams.sn %]"/>
88
          </td>
89
        </tr>
90
        <tr>
91 2411 sgarg
          <td align="left" class="label">
92
            *Organization:
93 2342 sgarg
          </td>
94
          <td align="right">
95
            [% IF stage == 'registerconfirmed' %]
96
            [% allParams.o %]
97
            <input name="o" type="[% fieldType %]"
98
                   value="[% allParams.o %]"/>
99
            [% ELSE %]
100
            <select name="o">
101 2856 sgarg
                  <option value="unaffiliated">unaffiliated</option>
102 2342 sgarg
            </select>
103
            [% END %]
104
          </td>
105
        </tr>
106
        <tr>
107 2411 sgarg
          <td align="left" class="label">
108 2342 sgarg
            Telephone:
109
          </td>
110
          <td align="right">
111
            [% IF stage == 'registerconfirmed' %]
112
            [% allParams.telephoneNumber %]
113
            [% END %]
114
            <input name="telephoneNumber" type="[% fieldType %]"
115
                   value="[% allParams.telephoneNumber %]"/>
116
          </td>
117
        </tr>
118
        <tr>
119 2411 sgarg
          <td align="left" class="label">
120
            *E-mail:
121 2342 sgarg
          </td>
122
          <td align="right">
123
            [% IF stage == 'registerconfirmed' %]
124
            [% allParams.mail %]
125
            [% END %]
126
            <input name="mail" type="[% fieldType %]"
127
                   value="[% allParams.mail %]"/>
128
          </td>
129
        </tr>
130
        <tr>
131 2411 sgarg
          <td align="left" class="label">
132 2342 sgarg
            Title:
133
          </td>
134
          <td align="right">
135
            [% IF stage == 'registerconfirmed' %]
136
            [% allParams.title %]
137
            [% END %]
138
            <input name="title" type="[% fieldType %]"
139
                   value="[% allParams.title %]"/>
140
          </td>
141
        </tr>
142
        <tr>
143 2411 sgarg
          <td align="left" class="label">
144
            *Username:
145 2342 sgarg
          </td>
146
          <td align="right">
147
            [% IF stage == 'registerconfirmed' %]
148
            [% allParams.uid %]
149
            [% END %]
150
            <input name="uid" type="[% fieldType %]"
151
                   value="[% allParams.uid %]"/>
152
          </td>
153
        </tr>
154
        <tr>
155 2411 sgarg
          <td align="left" class="label">
156
            *Password:
157 2342 sgarg
          </td>
158
          <td align="right">
159
            [% IF stage == 'registerconfirmed' %]
160
            <input name="userPassword" type="[% fieldType %]"
161
                   value="[% allParams.userPassword %]"/>
162
            NOT DISPLAYED
163
            [% ELSE %]
164
            <input name="userPassword" type="password"
165
                   value="[% allParams.userPassword %]"/>
166
            [% END %]
167
          </td>
168
        </tr>
169
        <tr>
170 2411 sgarg
          <td align="left" class="label">
171
            *Confirm Password:
172 2342 sgarg
          </td>
173
          <td align="right">
174
            [% IF stage == 'registerconfirmed' %]
175
            <input name="userPassword2" type="[% fieldType %]"
176
                   value="[% allParams.userPassword2 %]"/>
177
            NOT DISPLAYED
178
            [% ELSE %]
179
            <input name="userPassword2" type="password"
180
                   value="[% allParams.userPassword2 %]"/>
181
            [% END %]
182
          </td>
183
        </tr>
184
        <tr>
185
          <td>
186
          </td>
187
          <td align="right">
188
    [% SWITCH stage %]
189
    [% CASE 'register' %]
190
            <input name="action" type="submit" value="Register"/>
191
    [% CASE 'registerconfirmed' %]
192
            <input name="action" type="submit" value="Continue"/>
193
    [% END %]
194
          </td>
195
        </tr>
196
      </table>
197
    </form>