<div class="formArea">
    <fieldset>
        <legend>{VIRTUALDIR_LEGEND}</legend>
        <table class="formFields" cellspacing="0" width="100%">
            <!-- BEGIN DYNAMIC BLOCK: vdir_root -->
            <tr>
                <td class="name">{PATH_TEXT}</td>
                <td>{PATH_VALUE}<input type="hidden" name="name" value="{NAME_VALUE}"><input type="hidden" name="path" value="{PATH_VALUE}"></td>
            </tr>
            <!-- END DYNAMIC BLOCK: vdir_root -->
            <!-- BEGIN DYNAMIC BLOCK: vdir_no_root -->
            <tr {NAME_ERROR}>
                <td class="name"><label for="fid-name">{NAME_TEXT}</label>&nbsp;{REQ}</td>
                <td><input type="text" name="name" id="fid-name" value="{NAME_VALUE}" size="64" maxlength="255"> <br/><span class="hint">{NAME_ERRORTEXT}</span></td>
            </tr>
            <tr {PATH_ERROR}>
                <td class="name"><label for="fid-path">{PATH_TEXT}</label>&nbsp;{REQ}</td>
                <td>{PATH_SELECT} <br/><span class="hint">{PATH_ERRORTEXT}</span></td>
            </tr>
            <!-- END DYNAMIC BLOCK: vdir_no_root -->
            <!-- BEGIN DYNAMIC BLOCK: vdir_no_root_create -->
            <tr {NAME_ERROR}>
                <td class="name"><label for="fid-name">{NAME_TEXT}</label>&nbsp;{REQ}</td>
                <td><input type="text" name="name" id="fid-name" value="{NAME_VALUE}" size="64" maxlength="255"> <br/><span class="hint">{NAME_ERRORTEXT}</span></td>
            </tr>
            <tr {PATH_ERROR}>
                <td class="name"><label for="fid-path">{PATH_TEXT}</label>&nbsp;{REQ}</td>
                <td><input type="hidden" id="autopath_value" name="autopath_value" value="true">
                    <input type="checkbox" class="checkbox" id="fid-autopath" name="autopath" value="1" {CREATEDIR_CHECKED}
                           onClick="autoCreateDir_oC(document.forms[0])"> {CREATE_DIR_HELPER_TEXT} <br/>
                    <span id="showpath" class="displayNone">{PATH_SELECT} <br/> <span class="hint">{PATH_ERRORTEXT}</span></span></td>
            </tr>
            <!-- END DYNAMIC BLOCK: vdir_no_root_create -->
            <tr>
                <td class="name"><label for="fid-source">{SOURCE_TEXT}</label></td>
                <td><input type="checkbox" class="checkbox" name="accessSource" id="fid-source" value="true" {SOURCE_CHECKED}></td>
            </tr>
            <tr>
                <td class="name"><label for="fid-read">{READ_TEXT}</label></td>
                <td><input type="checkbox" class="checkbox" name="accessRead" id="fid-read" value="true" {READ_CHECKED}></td>
            </tr>
            <tr>
                <td class="name"><label for="fid-write">{WRITE_TEXT}</label></td>
                <td><input type="checkbox" class="checkbox" name="accessWrite" id="fid-write" value="true" {WRITE_CHECKED}></td>
            </tr>
            <tr>
                <td class="name"><label for="fid-browse">{BROWSE_TEXT}</label></td>
                <td><input type="checkbox" class="checkbox" name="enableDirBrowsing" id="fid-browse" value="true" {BROWSE_CHECKED}></td>
            </tr>
            <tr>
                <td class="name"><label for="fid-dontlog">{DONTLOG_TEXT}</label></td>
                <td><input type="checkbox" class="checkbox" name="dontLog" id="fid-dontlog" value="true" {DONTLOG_CHECKED}></td>
            </tr>
        </table>
    </fieldset>
</div>

<div class="formArea">
    <fieldset>
        <legend>{VIRTUALDIR_APPLICATION_LEGEND}</legend>
        <table class="formFields" cellspacing="0" width="100%">
            <!-- BEGIN DYNAMIC BLOCK: vdir_no_root_app -->
            <tr>
                <td class="name"><label for="fid-appcreate">{APPCREATE_TEXT}</label></td>
                <td><input type="checkbox" class="checkbox" name="appCreate" id="fid-appcreate" value="true" {APPCREATE_ON_CLICK} {APPCREATE_CHECKED}></td>
            </tr>
            <!-- END DYNAMIC BLOCK: vdir_no_root_app -->
            <!-- BEGIN DYNAMIC BLOCK: vdir_root_app -->
            <tr>
                <td class="name">{APPCREATE_TEXT}</td>
                <td>{APPCREATE_VALUE}<input type="hidden" name="appCreate" value="{APPCREATE_HIDDEN_VALUE}"></td>
            </tr>
            <!-- END DYNAMIC BLOCK: vdir_root_app -->
            <tr>
                <td class="name"><label for="fid-script_execute">{SCRIPT_EXECUTE_TEXT}</label></td>
                <td>{SCRIPT_EXECUTE_SELECT}</td>
            </tr>
            <!-- BEGIN DYNAMIC BLOCK: vdir_app_advanced -->
            <tr>
                <td class="name"><label for="fid-parentpaths">{PARENTPATHS_TEXT}</label></td>
                <td><input type="checkbox" class="checkbox" name="aspEnableParentPaths" id="fid-parentpaths" value="true" {PARENTPATHS_CHECKED} {PARENTPATHS_DISABLED}></td>
            </tr>
            <tr>
                <td class="name"><label for="fid-execinmta">{EXECUTEINMTA_TEXT}</label></td>
                <td><input type="checkbox" class="checkbox" name="aspExecuteInMTA" id="fid-execinmta" value="true" {EXECUTEINMTA_CHECKED} {EXECUTEINMTA_DISABLED}></td>
            </tr>
            <!-- END DYNAMIC BLOCK: vdir_app_advanced -->
        </table>
    </fieldset>
</div>

<!-- BEGIN DYNAMIC BLOCK: vdir_advanced -->
<div class="formArea">
    <fieldset>
        <legend>{VIRTUALDIR_DOCUMENTS_LEGEND}</legend>
        <table class="formFields" cellspacing="0" width="100%">
            <tr>
                <td class="name"><label for="fid-enabledoc">{ENABLEDOC_TEXT}</label></td>
                <td><input type="checkbox" class="checkbox" name="enableDefaultDoc" id="fid-enabledoc" value="true"
                           onClick="enableDefaultDoc_oC(document.forms[0])" {ENABLEDOC_CHECKED}></td>
            </tr>
            <tr {DEFAULTDOC_ERROR}>
                <td class="name">
                    <label for="fid-extensions">{DEFAULTDOC_TEXT}</label>
                </td>
                <td style="width: 200px;">
                    <input type="text" name="defaultDoc_new" id="fid-friend_domain" value="" style="width: 200px" {DEFAULTDOC_DISABLED}>
                </td>
                <td>
                    {DEFAULTDOC_ADD_BUTTON}<span class="hint">{DEFAULTDOC_ERRORTEXT}</span>
                </td>
            </tr>
            <tr {DEFAULTDOC_ERROR}>
                <td class="name">
                    <label for="fid-friend_domain_list"></label>
                </td>
                <td style="width: 200px;">
                    <select multiple name="defaultDoc_list" id="fid-friend_domain_list" size="10" style="width: 204px" {DEFAULTDOC_DISABLED}>
                        {DEFAULTDOC_LIST}
                    </select>
                    <input type="hidden" name="defaultDoc" value={DEFAULTDOC_VALUE}>
                </td>
                <td>
                    {DEFAULTDOC_REMOVE_BUTTON}
                    <div style="margin-top: 6px;">
                        {DEFAULTDOC_UP_BUTTON}
                    </div>
                    <div style="margin-top: 6px;">
                        {DEFAULTDOC_DOWN_BUTTON}
                    </div>
                </td>
            </tr>
        </table>
    </fieldset>
</div>

<div class="formArea">
    <fieldset>
        <legend>{VIRTUALDIR_SECURITY_LEGEND}</legend>
        <table class="formFields" cellspacing="0" width="100%">
            <tr {AUTHANON_ERROR}>
                <td class="name"><label for="fid-authanon">{AUTHANON_TEXT}</label></td>
                <td><input type="checkbox" class="checkbox" name="authAnonymous" id="fid-authanon" value="true" {AUTHANON_CHECKED}><br/><span
                            class="hint">{AUTHANON_ERRORTEXT}</span></td>
            </tr>
            <tr {AUTHNTLM_ERROR}>
                <td class="name"><label for="fid-authntlm">{AUTHNTLM_TEXT}</label></td>
                <td><input type="checkbox" class="checkbox" name="authNTLM" id="fid-authntlm" value="true" {AUTHNTLM_CHECKED}><br/><span class="hint">{AUTHNTLM_ERRORTEXT}</span>
                </td>
            </tr>
            <tr>
                <td class="name"><label for="fid-requiressl">{REQUIRESSL_TEXT}</label></td>
                <td><input type="checkbox" class="checkbox" name="requireSSL" id="fid-requiressl" value="true" {REQUIRESSL_CHECKED}></td>
            </tr>
        </table>
    </fieldset>
</div>
<!-- END DYNAMIC BLOCK: vdir_advanced -->

<!-- BEGIN DYNAMIC BLOCK: asp_settings -->
<div class="formArea">
    <fieldset>
        <legend>{ASP_BUFFERS_LEGEND}</legend>
        <table class="formFields" cellspacing="0" width="100%">
            <tr>
                <td class="name"><label for="fid-aspmaxbuffer">{ASP_MAX_BUFFER_TEXT}</label>&nbsp;{REQ}</td>
                <td style="width: 210px;"><input type="text" name="aspBufferingLimit" id="fid-aspmaxbuffer" {ASP_MAX_BUFFER_DISABLED} value="{ASP_MAX_BUFFER_VALUE}">
                    &nbsp; {KB_TEXT}</td>
                <td><input type="checkbox" class="checkbox" name="aspBufferingLimitInherited" id="fid-aspmaxbuffer_default" value="true"
                           onClick="aspBufferClick_oC(document.forms[0])" {ASP_MAX_BUFFER_DEFAULT_CHECKED}>&nbsp; {ASP_MAX_BUFFER_DEFAULT_TEXT}</td>
            </tr>
            <tr>
                <td class="name"><label for="fid-aspmaxbody">{ASP_MAX_BODY_TEXT}</label>&nbsp;{REQ}</td>
                <td style="width: 210px;"><input type="text" name="aspMaxRequestEntityAllowed" id="fid-aspmaxbody" {ASP_MAX_BODY_DISABLED} value="{ASP_MAX_BODY_VALUE}">
                    &nbsp; {KB_TEXT}</td>
                <td><input type="checkbox" class="checkbox" name="aspMaxRequestEntityAllowedInherited" id="fid-aspmaxbody_default" value="true"
                           onClick="aspBodyClick_oC(document.forms[0])" {ASP_MAX_BODY_DEFAULT_CHECKED}>&nbsp; {ASP_MAX_BODY_DEFAULT_TEXT}</td>
            </tr>
        </table>

        <table class="formFields" cellspacing="0" width="100%">
            <tr>
                <td class="name"><label for="fid-aspserverdebug">{ASP_SERVER_DEBUG_TEXT}</label></td>
                <td style="width: 210px;"><input type="checkbox" name="aspEnableServerDebug" id="fid-aspserverdebug" {ASP_SERVER_DEBUG_DISABLED}
                                                 value="true" {ASP_SERVER_DEBUG_CHECKED}></td>
                <td><input type="checkbox" class="checkbox" name="aspEnableServerDebugInherited" id="fid-aspserverdebug_default" value="true"
                           onClick="aspServerDebugClick_oC(document.forms[0])" {ASP_SERVER_DEBUG_DEFAULT_CHECKED}>&nbsp; {ASP_DEBUG_DEFAULT_TEXT}</td>
            </tr>
            <tr>
                <td class="name"><label for="fid-aspclientdebug">{ASP_CLIENT_DEBUG_TEXT}</label></td>
                <td style="width: 210px;"><input type="checkbox" name="aspEnableClientDebug" id="fid-aspclientdebug" {ASP_CLIENT_DEBUG_DISABLED}
                                                 value="true" {ASP_CLIENT_DEBUG_CHECKED}></td>
                <td><input type="checkbox" class="checkbox" name="aspEnableClientDebugInherited" id="fid-aspclientdebug_default" value="true"
                           onClick="aspClientDebugClick_oC(document.forms[0])" {ASP_CLIENT_DEBUG_DEFAULT_CHECKED}>&nbsp; {ASP_DEBUG_DEFAULT_TEXT}</td>
            </tr>
        </table>
    </fieldset>
</div>
<!-- END DYNAMIC BLOCK: asp_settings -->

<input type="hidden" name="aspBufferingLimitDefaultHidden" value="{ASP_MAX_BUFFER_VALUE_DEFAULT}">
<input type="hidden" name="aspMaxRequestEntityAllowedDefaultHidden" value="{ASP_MAX_BODY_VALUE_DEFAULT}">
<input type="hidden" name="aspBufferingLimitHidden" value="{ASP_MAX_BUFFER_VALUE}">
<input type="hidden" name="aspMaxRequestEntityAllowedHidden" value="{ASP_MAX_BODY_VALUE}">

<input type="hidden" name="aspEnableServerDebugDefaultHidden" {ASP_SERVER_DEBUG_DEFAULT_VALUE}>
<input type="hidden" name="aspEnableServerDebugHidden" {ASP_SERVER_DEBUG_CHECKED}>
<input type="hidden" name="aspEnableClientDebugDefaultHidden" {ASP_CLIENT_DEBUG_DEFAULT_VALUE}>
<input type="hidden" name="aspEnableClientDebugHidden" {ASP_CLIENT_DEBUG_CHECKED}>
