Code

ce9fee3953bcee937a30a2619b1f79d8ddc02037
[gosa.git] / gosa-core / 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 <hr>
11 <br>
13 <table summary="{t}User template selection dialog{/t}" 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       <select size="1" name="uid">
36         {html_options output=$uids values=$uids selected=$uid}
37       </select>
38       {else}
39       <input type='text' name="uid" size="30" maxlength="40" value="{$uid}">
40       {/if}
41     </td>
42   </tr>
43   {/if}
44 </table>
47 <hr>
48 <div class="plugin-actions">
49  <button type='submit' name='template_continue'>{t}Continue{/t}</button>
50  <button type='submit' name='edit_cancel'>{msgPool type=cancelButton}</button>
51 </div>
55 <!-- Place cursor -->
56 <script language="JavaScript" type="text/javascript">
57   <!-- // First input field on page
58         focus_field('sn');
59   -->
60 </script>