<h3>{$mod->Lang('import_users')}</h3>

{if isset($errors)}
<div class="warning" style="width: 95%; margin-bottom: 0; padding-bottom: 0;">
  <h5 style="padding: 0; margin: 0;">{$mod->Lang('msg_importerrors',count($errors))}:</h5>
  <div style="overflow: auto; min-height: 3em; max-height: 10em;">
    <ul>
    {foreach $errors as $line => $message}
      <li>{$mod->Lang('line',$line)}:&nbsp;{$message}</li>
    {/foreach}
    </ul>
  </div>
</div>
{/if}

{$startform}
<div class="pageoverflow">
  <p class="pagetext">{$mod->Lang('filename')}:</p>
  <p class="pageinput">
    <input type="file" name="{$actionid}input_filename"/>
  </p>
</div>
<div class="pageoverflow">
  <p class="pagetext">{$mod->Lang('import_createfields')}:</p>
  <p class="pageinput">
    <select name="{$actionid}createfields">
    {cge_yesno_options selected=$create_fields}
    </select>
    <br/>{$mod->Lang('info_createfields')}
  </p>
</div>
<div class="pageoverflow">
  <p class="pagetext">{$mod->Lang('import_createlists')}:</p>
  <p class="pageinput">
    <select name="{$actionid}createlists">
    {cge_yesno_options selected=$create_lists}
    </select>
    <br/>{$mod->Lang('info_createlists')}
  </p>
</div>
<div class="pageoverflow">
  <p class="pagetext">{$mod->Lang('import_deletefromlists')}:</p>
  <p class="pageinput">
    <select name="{$actionid}delete_from_lists">
    {cge_yesno_options selected=$delete_from_lists}
    </select>
    <br/>{$mod->Lang('info_deletefromlists')}
  </p>
</div>
<div class="pageoverflow">
  <p class="pagetext"></p>
  <p class="pageinput">
    <input type="submit" name="{$actionid}submit" value="{$mod->Lang('submit')}"/>
    <input type="submit" name="{$actionid}cancel" value="{$mod->Lang('cancel')}"/>
  </p>
</div>
{$endform}