{layout:simple} {class:Shop.Admin.config.LanguageTag_Export_window}
<lbbody>
    <form action="javascript:SaveObj();" novalidate>
        <div class="modal-header">
            <h4 class="modal-title"><%=Tag("导出")%></h4>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
        </div>
        <div class="modal-body">
            <div class="form-group">
                <label for="languagecode"><%=Tag("语言")%>：</label>
                <select id="languagecode" class="form-control" shop="true">
                    <%foreach (DB.LebiShop.Lebi_Language_Code code in langs)
                    {%>
                    <option value="<%=code.Code %>"><%=code.Name %></option>
                    <%} %>
                </select>
            </div>
            <div class="form-group">
                <label for="Type"><%=Tag("匹配类型")%>：</label>
                <select id="Type" class="form-control" shop="true">
                    <option value="0"><%=Tag("标签")%></option>
                    <option value="1">ID</option>
                </select>
            </div>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal"><i class="ti-close"></i> <%=Tag("关闭")%></button>
            <button type="submit" class="btn btn-success"><i class="ti-check"></i> <%=Tag("提交")%></button>
        </div>
    </form>
    <script>
        function SaveObj() {
            $("#EditModal").modal("hide");
            var url = "<%=site.AdminPath %>/ajax/export.aspx?__Action=LanguageTag_Export&languagecode="+$('#languagecode').val()+"&Type="+$('#Type').val()+"";
            MsgBox(1, "<%=Tag("操作成功")%>", url);
    }
    </script>
</lbbody>