1 <div style="font-size:18px;">
2 {t}Creating a new user using templates{/t}
3 </div>
5 <p>
6 {t}Creating a new user can be assisted by using templates. Many database records will be filled automatically. Choose 'none' to skip the usage of templates.{/t}
7 </p>
9 <p class="seperator"> </p>
11 <br>
13 <table summary="" style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
14 <tr>
15 <td><b><LABEL for="template">{t}Template{/t}</LABEL></b></td>
16 <td>
17 <select size="1" name="template" id="template">
18 {html_options options=$templates selected=$template}
19 </select>
20 </td>
21 </tr>
22 <tr>
23 <td><b><LABEL for="sn">{t}Last name{/t}</LABEL></b></td>
24 <td><input type='text' name="sn" id="sn" size="30" maxlength="40" value="{$sn}"></td>
25 </tr>
26 <tr>
27 <td><b><LABEL for="givenName">{t}First name{/t}</LABEL></b></td>
28 <td><input type='text' name="givenName" id="givenName" size="30" maxlength="40" value="{$givenName}"></td>
29 </tr>
30 {if $got_uid eq "true"}
31 <tr>
32 <td><b>{t}Login{/t}</b></td>
33 <td>
34 {if $edit_uid eq "false"}
35 {if $allowUidProposalModification == "true"}
36 <select size="1" name="uidSelect" id='uidSelect' onChange="
37 document.getElementById('uid').value = document.getElementById('uidSelect').value;">
38 {html_options output=$uids values=$uids selected=$uid}
39 </select>
40 <input type='text' id="uid" name="uid" size="30" maxlength="40" value="{$uid}"
41 style="display: none;">
42 <img src="images/lists/edit.png" onClick="$('uid').toggle();"
43 title="{t}Modify the uid proposal{/t}">
44 {else}
45 <select size="1" name="uid">
46 {html_options output=$uids values=$uids selected=$uid}
47 </select>
48 {/if}
49 {else}
50 <input type='text' id="uid" name="uid" size="30" maxlength="40" value="{$uid}">
51 {/if}
52 </td>
53 </tr>
54 {/if}
55 </table>
57 <br>
58 <p class="plugbottom">
59 <input type=submit name="template_continue" value="{t}Continue{/t}">
60
61 <input type=submit name="edit_cancel" value="{msgPool type=cancelButton}">
62 </p>
66 <!-- Place cursor -->
67 <script language="JavaScript" type="text/javascript">
68 <!-- // First input field on page
69 focus_field('sn');
70 -->
71 </script>