<div style="font-size:18px;">
  {t}Creating a new user using templates{/t}
</div>

<p>
 {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}
</p>

<p class="seperator">&nbsp;</p>

<br>

<table summary="" style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
  <tr>
    <td><b><LABEL for="template">{t}Template{/t}</LABEL></b></td>
    <td>
      <select size="1" name="template" id="template">
       {html_options options=$templates selected=$template}
      </select>
    </td>
  </tr>
  <tr>
    <td><b><LABEL for="sn">{t}Last name{/t}</LABEL></b></td>
    <td><input name="sn" id="sn" size="30" maxlength="40" value="{$sn}"></td>
  </tr>
  <tr>
    <td><b><LABEL for="givenName">{t}First name{/t}</LABEL></b></td>
    <td><input name="givenName" id="givenName" size="30" maxlength="40" value="{$givenName}"></td>
  </tr>
  {if $got_uid eq "true"}
  <tr>
    <td><b>{t}Login{/t}</b></td>
    <td>
      {if $edit_uid eq "false"}
      <select size="1" name="uid">
        {html_options output=$uids values=$uids selected=$uid}
      </select>
      {else}
      <input name="uid" size="30" maxlength="40" value="{$uid}">
      {/if}
    </td>
  </tr>
  {/if}
</table>

<br>
<p class="plugbottom">
  <input type=submit name="template_continue" value="{t}Continue{/t}">
  &nbsp;
  <input type=submit name="edit_cancel" value="{msgPool type=cancelButton}">
</p>



<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
  <!-- // First input field on page
	focus_field('sn');
  -->
</script>
