<table border="0" cellpadding="8" cellspacing="0" width="100%"><tr><td>
<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="content" colspan="2">{$explain}</td>
  </tr>
  <tr><td colspan="2"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="10"></td></tr>
  <tr>
    <td>&nbsp;</td>
    <td>
      {if $authtype eq 'ldap'}
      <table border="0" cellpadding="0" cellspacing="0">
	<tr>
	  <td class="content" colspan="2"><strong>{$hashmap.ldaptitle}</strong></td>
	</tr>
	<tr colspan="2"><td><img src="{$imgpathmaster}/space.gif" alt="" width="240" height="1"></td></tr>
	<tr>
	  <td class="content" valign="middle">{$hashmap.ldaptypetxt}:</td>
	  <td class="content" valign="middle">
	    <select name="auth_ldaptype">
	      <option value="0"{$oldap}>OpenLDAP</option>
	      <option value="1"{$adir}>Active Directory</option>
	    </select>
	  </td>
	</tr>
	<tr>
	  <td class="content" valign="middle">{$hashmap.ldaphosttxt}:</td>
	  <td class="content" valign="middle"><input type="text" name="auth_ldaphost" value="{$auth_ldaphost}" size="30" class="input" {$disabled}></td>
	</tr>
	<tr>
	  <td class="content" valign="middle">{$hashmap.ldapbasetxt}:</td>
	  <td class="content" valign="middle"><input type="text" name="auth_ldapbase" value="{$auth_ldapbase}" size="30" class="input" {$disabled}></td>
	</tr>
	<tr>
	  <td class="content" valign="middle">{$hashmap.ldapuidtxt}:</td>
	  <td class="content" valign="middle"><input type="text" name="auth_ldapuid" value="{$auth_ldapuid}" size="25" class="input" {$disabled}></td>
	</tr>
	<tr>
	  <td class="content" valign="middle">{$hashmap.ldappasswdtxt}:</td>
	  <td class="content" valign="middle"><input type="password" name="auth_ldappasswd" value="" size="25" class="input" {$disabled}></td>
	</tr>
	<tr>
	  <td class="content" valign="middle">{$hashmap.ldapsuffixetxt}:</td>
	  <td class="content" valign="middle"><input type="text" name="auth_ldapsuffixe" value="{$auth_ldapsuffixe}" size="25" class="input" {$disabled}></td>
	</tr>
	<tr>
	  <td class="content" valign="middle">{$hashmap.create_accounts}:</td>
	  <td class="content" valign="middle">
	    <select name="create_accounts_on_login">
	      <option value="1"{$cay}>{$hashmap.yes}</option>
	      <option value="0"{$can}>{$hashmap.no}</option>
	    </select>
	    </td>
	</tr>
      </table>
      {elseif $authtype eq 'sql'}
      <br /><br /><br /><br /><br />
      {else $authtype eq 'ntlm'}
      <br /><br /><br /><br /><br />
      {/if}
    </td>
  </tr>
</table>
</td></tr></table>
