<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GetTree.aspx.cs" Inherits="TotCms.Web.Office.Files.GetTree" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../style/Global.css" />
    <script src="../../js/jquery-1.5.1.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/tree_view.js"></script>
    <script type="text/javascript">
    function addChild(pdiv, classid, classtitle) {
        CreateTreeItem(pdiv, "../images/tree/folder_closed.gif", "../images/tree/folder_open.gif", classid, classtitle, "javascript:SelectFile('" + classid + "','" + classtitle + "');", "_self", 0);
    }
</script>
</head>
<body onload="CreateProjectExplorer()">
    <form id="form1" runat="server">
    <table cellpadding="0" cellspacing="1" border="0" width="100%">
      <tr>
        <td class="topic">文件夹列表</td>
      </tr>   
      <tr>
        <td>
          <div id="DivJs" runat="server"></div>
        </td>
      </tr>
    </table>
    </form>
<script type="text/javascript">
    function SelectFile(classid, classtitle) {
        var opener = window.parent;
        //var cateobj=opener.document.addCategory.parentid;
        var cateobj = opener.document.getElementById('CategoryId');
        cateobj.value = classid;
        opener.document.getElementById('CategoryTitle').value = classtitle;
        opener.CloseFrame();
    }
</script>
</body>
</html>
