<%@ page language="C#" autoeventwireup="true" inherits="manage_AddOn_SelectSource, App_Web_0sth0hzm" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!DOCTYPE HTML>
<html>
<head runat="server">
<title>来源名显示</title>
<link href="../../App_Themes/AdminDefaultTheme/Guide.css" type="text/css" rel="stylesheet" />
<link href="../../App_Themes/AdminDefaultTheme/index.css" type="text/css" rel="stylesheet" />
<link href="../../App_Themes/AdminDefaultTheme/main.css" type="text/css" rel="stylesheet" />
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="100%">
    <tr>
		<td align="left">
			当前目录：<asp:Label ID="lblDir" runat="server" Text="Label"></asp:Label>
		</td>
		<td align="right">
            <asp:Literal ID="LitParentDirLink" runat="server"></asp:Literal>
        </td>
	</tr>
</table>
<div style="width: 100%; height: 100%;">
        <asp:Repeater ID="RepFiles" runat="server" OnItemDataBound="RepFiles_ItemDataBound">
            <ItemTemplate>
<img src="../Images/Node/singlepage.gif" style="border-right: 0px; border-top: 0px;border-left: 0px; border-bottom: 0px"/>
                <a href="#" onclick="<%# "add('" + Eval("ID") + "/"+  Eval("Name") +"')"%>">
                    <%# Eval("Name")%>
                </a>
                <br />
            </ItemTemplate>
        </asp:Repeater>
        
          <asp:Repeater ID="RepKeyword" runat="server">
            <ItemTemplate>
<img src="../Images/Node/singlepage.gif" style="border-right: 0px; border-top: 0px;border-left: 0px; border-bottom: 0px"/>
                <a href="#" onclick="<%# "add('" + Eval("KeywordID") + "/"+  Eval("KeywordText") +"')"%>">
                    <%# Eval("KeywordText")%>
                </a>
                <br />
            </ItemTemplate>
        </asp:Repeater>                       
        <asp:HiddenField ID="HdnFileText" runat="server" />
 </div>
</div>
</form>
 <script language="javascript" type="text/javascript">
function add(obj)
{
    if(obj==""){return false;}
    parent.document.getElementById('FileName').value =obj;
}
</script>
</body>
</html>