<!-- BEGIN {$smarty.template} -->

<form action="{$SELF}" method="post" name="fadduser">
<input type="hidden" name="action" value="{$smarty.const.ACTION_ADD}">

<table class="stdtable" cellspacing="0">
  <caption><em>{t}Add user{/t}</em></caption>
  <tr>
    <td class="label">{t}Login{/t}: </td>
    <td class="data"> <input type="text" class="tinput" name="usr_login" value="{$user.usr_login|wash}" size="10" maxlength="20"> </td>
  </tr>
  <tr>
    <td class="label">{t}Person{/t}: </td>
    <td class="data">
      <select name="pe_id">
        {html_options options=$persons selected=$user.pe_id}
      </select>
    </td>
  </tr>
  <tr>
    <td class="label">{t}Language{/t}: </td>
    <td class="data">
      <select name="lng_id">
        {html_options options=$languages selected=$user.lng_id}
      </select>
    </td>
  </tr>
  <tr>
    <td class="label">{t}Theme{/t}: </td>
    <td class="data">
      <select name="usr_skin">
        {html_options options=$skins selected=$user.usr_skin}
      </select>
    </td>
  </tr>
  <tr><td colspan="2"> &nbsp; </td></tr>
  <tr>
    <td class="label">{t}Password{/t}: </td>
    <td class="data"> <input type="password" class="tinput" name="usr_pwd_new" value="{$user.usr_pwd_new}" size="10" maxlength="15"> </td>
  </tr>
  <tr>
    <td class="label">{t}Confirm{/t}: </td>
    <td class="data"> <input type="password" class="tinput" name="usr_pwd_confirm" value="{$user.usr_pwd_confirm}" size="10" maxlength="15"> </td>
  </tr>
</table>

<div class="buttons">
  <input type="submit" value="{t}Submit{/t}">
  <input type="button" onclick="location.href='users.php';" value="{t}Cancel{/t}">
</div>

</form>

{literal}
<script type="text/javascript">
document.forms["fadduser"].elements["usr_login"].focus();
</script>
{/literal}

<!-- END {$smarty.template} -->
