<form action="cmsWebFile/unzip?callbackType=closeCurrent" method="post" autocomplete="off" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
    <input type="hidden" name="path" value="${path!}"/>
    <input type="hidden" name="_csrf" value="<@tools.csrfToken admin=true/>"/>
    <div class="pageFormContent" layoutH>
        <dl class="nowrap">
            <dt><@t.page 'decompress.position'/>:</dt>
            <dd>
                <label><input type="radio" name="here" value="false" checked="checked"/><@t.page 'decompress.position.new'/>: ${path?keep_before_last('.')}/</label>
                <label><input type="radio" name="here" value="true"/><@t.page 'decompress.position.here'/>: ${path?contains('/')?then(path?keep_before_last('/'),'')}/</label>
                <label><input type="checkbox" name="overwrite" class="form-check-input" checked="checked"><@t.page 'upload.overwrite'/></label>
            </dd>
        </dl>
        <dl class="nowrap">
            <dt><@t.page 'file.encoding'/>:</dt>
            <dd>
                <label><input type="radio" name="encoding" value="utf-8" checked="checked"/><@t.page 'file.encoding.utf8'/></label>
                <label><input type="radio" name="encoding" value="gbk"/><@t.page 'file.encoding.gbk'/></label>
            </dd>
        </dl>
    </div>
    <div class="formBar">
        <ul>
            <li><button type="submit" class="buttonActive" title="ctrl+s"><@t.page 'button.decompress'/></button></li>
            <li><button type="button" class="button close"><@t.page 'button.close'/></button></li>
        </ul>
    </div>
</form>