Project

General

Profile

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