Code

Udpated JS focus,
[gosa.git] / plugins / admin / users / template.tpl
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">&nbsp;</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 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 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       <select size="1" name="uid">
36         {html_options output=$uids values=$uids selected=$uid}
37       </select>
38       {else}
39       <input name="uid" size="30" maxlength="40" value="{$uid}">
40       {/if}
41     </td>
42   </tr>
43   {/if}
44 </table>
46 <br>
47 <p class="plugbottom">
48   <input type=submit name="template_continue" value="{t}Continue{/t}">
49   &nbsp;
50   <input type=submit name="edit_cancel" value="{t}Cancel{/t}">
51 </p>
55 <!-- Place cursor -->
56 <script language="JavaScript" type="text/javascript">
57   <!-- // First input field on page
58         focus_field('sn');
59   -->
60 </script>