Code

Moved to trunk/branches/tags structure
[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 <b>none</b> to skip the usage of templates.{/t}
7 </p>
9 <table style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
10   <tr>
11     <td><b>{t}Template{/t}</b></td>
12     <td>
13       <select size="1" name="template">
14        {html_options options=$templates selected=$template}
15       </select>
16     </td>
17   </tr>
18   <tr>
19     <td><b>{t}Name{/t}</b></td>
20     <td><input name="sn" size="30" maxlength="40" value="{$sn}"></td>
21   </tr>
22   <tr>
23     <td><b>{t}Given name{/t}</b></td>
24     <td><input name="givenName" size="30" maxlength="40" value="{$givenName}"></td>
25   </tr>
27   {if $got_uid eq "true"}
28   <tr>
29     <td><b>{t}Login{/t}</b></td>
30     <td>
31       {if $edit_uid eq "false"}
32       <select size="1" name="uid">
33         {html_options output=$uids values=$uids selected=$uid}
34       </select>
35       {else}
36       <input name="uid" size="30" maxlength="40" value="{$uid}">
37       {/if}
38     </td>
39   </tr>
40   {/if}
41   
42 </table>
44 <br>
45 <p class="plugbottom">
46   <input type=submit name="template_continue" value="{t}Continue{/t}">
47   &nbsp;
48   <input type=submit name="edit_cancel" value="{t}Cancel{/t}">
49 </p>
51 </form>
53 <!-- Place cursor -->
54 <script language="JavaScript" type="text/javascript">
55   <!-- // First input field on page
56   document.mainform.sn.focus();
57   -->
58 </script>