adduser.smarty 931 Bytes
<h2>{i18n}Add a user{/i18n}</h2>

<p class="descriptiveText">{i18n}Please complete the form below to add
a new user. Fields marked with a red square are required. By default,
users are created using KnowledgeTree's builtin authentication
provider. Should you wish to use an external authentication provider
such as LDAP, please ensure that the provider's plugin is registered
and use the form on the User Management page.{/i18n}</p>

   <form action="{$smarty.server.PHP_SELF}" method="POST">
   <input type="hidden" name="action" value="createUser" />
   <fieldset>
      <legend>{i18n}Create a new user{/i18n}</legend>
      {foreach item=oWidget from=$add_fields}
        {$oWidget->render()}
      {/foreach}
      <div class="form_actions">
         <input type="submit" value="{i18n}create user{/i18n}" />
         <input type="submit" name="kt_cancel[]" value="{i18n}Cancel{/i18n}" />
      </div>
   </fieldset>
   </form>