<!-- BEGIN manageheader -->
{detected}
  <tr class="th">
    <th colspan="2">{lang_settings}</th>
  </tr>
   <form action="manageheader.php" method="post">
    <input type="hidden" name="setting[write_config]" value="true">
  <tr>
    <td colspan="2"><b>{lang_serverroot}</b>
      <br /><input type="text" name="setting[server_root]" size="80" value="{server_root}">
    </td>
  </tr>
  <tr>
    <td colspan="2"><b>{lang_includeroot}</b><br /><input type="text" name="setting[include_root]" size="80" value="{include_root}"></td>
  </tr>
  <tr>
    <td colspan="2"><b>{lang_adminpass}</b><br /><input type="text" name="setting[HEADER_ADMIN_PASSWORD]" size="80" value="{header_admin_password}"></td>
  </tr>
  <br /><br />
  <tr>
    <td><b>{lang_persist}</b><br />
      <select type="checkbox" name="setting[db_persistent]">
        <option value="True"{db_persistent_yes}>True</option>
        <option value="False"{db_persistent_no}>False</option>
      </select>
    </td>
    <td>{lang_persistdescr}</td>
  </tr>
  <tr>
    <td><b>{lang_sesstype}</b><br />
      <select name="setting[sessions_type]">
{session_options}
      </select>
    </td>
    <td>{lang_sesstypedescr}</td>
  </tr>
  <tr>
    <td colspan=2><b>{lang_enablemcrypt}</b><br />
      <select name="setting[enable_mcrypt]">
        <option value="True"{mcrypt_enabled_yes}>True
        <option value="False"{mcrypt_enabled_no}>False
      </select>
    </td>
  </tr>
  <tr>
    <td><b>{lang_mcryptversion}</b><br /><input type="text" name="setting[mcrypt_version]" value="{mcrypt}"></td>
    <td>{lang_mcryptversiondescr}</td>
  </tr>
  <tr>
    <td><b>{lang_mcryptiv}</b><br /><input type="text" name="setting[mcrypt_iv]" value="{mcrypt_iv}" size="30"></td>
    <td>{lang_mcryptivdescr}</td>
  </tr>
  <tr>
    <td><b>{lang_domselect}</b><br />
      <select name="setting[domain_selectbox]">
        <option value="True"{domain_selectbox_yes}>True</option>
        <option value="False"{domain_selectbox_no}>False</option>
      </select></td><td>&nbsp;
    </td>
  </tr>
  <tr>
    <td><b>{lang_domain_from_host}</b><br />
      <select name="setting[domain_from_host]">
        <option value="True"{domain_from_host_yes}>True</option>
        <option value="False"{domain_from_host_no}>False</option>
      </select></td>
    <td>
    	{lang_note_domain_from_host}
    </td>
  </tr>
{domains}{comment_l}
  <tr class="th">
    <td colspan="2"><input type="submit" name="adddomain" value="{lang_adddomain}"></td>
  </tr>{comment_r}
  <tr>
    <td colspan="2">{errors}</td>
  </tr>
{formend}
  <tr>
    <td colspan="3">
 <form action="index.php" method="post">
  <br />{lang_finaldescr}<br />
  <input type="hidden" name="FormLogout"  value="header">
  <input type="submit" name="junk" value="{lang_continue}">
 </form>
    </td>
  </tr>
  <tr class="banner">
    <td colspan="3">&nbsp;</td>
  </tr>
</table>
</body>
</html>
<!-- END manageheader -->

<!-- BEGIN domain -->
  <tr class="th">
    <td>{lang_domain}:</td>&nbsp;<td><input name="domains[{db_domain}]" value="{db_domain}">&nbsp;&nbsp;<input type="checkbox" name="deletedomain[{db_domain}]">&nbsp;<font color="fefefe">{lang_delete}</font></td>
  </tr>
  <tr>
    <td><b>{lang_dbhost}</b><br /><input type="text" name="settings[{db_domain}][db_host]" value="{db_host}"></td><td>{lang_dbhostdescr}</td>
  </tr>
  <tr>
    <td><b>{lang_dbname}</b><br /><input type="text" name="settings[{db_domain}][db_name]" value="{db_name}"></td><td>{lang_dbnamedescr}</td>
  </tr>
  <tr>
    <td><b>{lang_dbuser}</b><br /><input type="text" name="settings[{db_domain}][db_user]" value="{db_user}"></td><td>{lang_dbuserdescr}</td>
  </tr>
  <tr>
    <td><b>{lang_dbpass}</b><br /><input type="text" name="settings[{db_domain}][db_pass]" value="{db_pass}"></td><td>{lang_dbpassdescr}</td>
  </tr>
  <tr>
    <td><b>{lang_dbtype}</b><br />
      <select name="settings[{db_domain}][db_type]">
{dbtype_options}
      </select>
    </td>
    <td>{lang_whichdb}</td>
  </tr>
  <tr>
    <td><b>{lang_configpass}</b><br /><input type="text" name="settings[{db_domain}][config_pass]" value="{config_pass}"></td>
    <td>{lang_passforconfig}</td>
  </tr>
<!-- END domain -->
