<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TagSelector.aspx.cs" Inherits="Include_TagSelector" %>

<!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>
    <style>
body, html
{
	margin: 0px;
	padding: 0px;
	color: #000000;
	font-family:宋体, Tahoma, Arial, Helvetica;
    font-size:12px;
}
.CommonContentArea
{
	background-color: #ffffff;
	margin: 4px;
	padding: 0px 2px 2px 2px;
	border: solid;
	border-width: 1px;
	border-color: #ffffff;
	text-align: left;
}
.CommonContent
{
	padding: 0px 2px 2px 2px;
	font-family: Tahoma, Arial, Helvetica;
	font-size: 100%;
}

.CommonContentSelectorButtonArea
{
	text-align: right;
	margin: 5px;
	margin-top: 0px;
	font-family: Tahoma, Arial, Helvetica;
	font-weight: bold;
	font-size: 120%;
}
.tabs{padding:7px;padding-bottom:0px;border-bottom:1px solid #e8e8e8}
.tab{margin:3px; padding:3px; padding-bottom:0px; background:white;border:1px solid #698AAA; border-bottom:none; cursor:pointer; }
.tab_selected{margin:3px; padding:3px; padding-bottom:0px; background:#FF9933;  border:1px solid #698AAA; border-bottom:none; cursor:pointer;}
.pages{padding:3px;}
.input{height:21px;border:1px solid #698AAA;background:white;}
.box{overflow: auto; overflow-x: hidden; overflow-y: auto;
   width:100%; height:250px; border: solid 1px #698AAA;}
</style>
</head>
<body>

<script type="text/javascript" src="<%=Spaces.Globals.ApplicationPath %>/include/js/Tab.js"></script>
        <script type="text/javascript" src="<%=Spaces.Globals.ApplicationPath %>/include/TagSelector.js"></script>



<div class="CommonContentArea">
<div class="CommonContent">
    <dl id="foo">
        <dt>我的标签</dt>
        <dd><div class="box"><div id="divChkList"></div></div></dd>
        <dt>热门标签</dt>
        <dd><div class="box"><div id="divPublicTags"></div></div></dd>
    </dl> 
<p />

<div class="CommonContentSelectorButtonArea"  >
<input  value="选择" type="button" class="input"  onclick="tagSel.SaveTags();tagSel2.SaveTags();" />
	<input value="取消" type="button"  class="input"  onclick="tagSel.close();tagSel2.close();" />
</div>
    
</div>
</div>
<script language="javascript">
var publicTags=new Array();
function AddSiteTag(v)
{
 publicTags[publicTags.length]=v;
}
<asp:Literal ID="SiteTags" runat="server"></asp:Literal>
var tagSel = new TagSelector('tagSel','divChkList', '<%=Request.QueryString["TagEditor"] %>', 2);
var tagSel2 = new TagSelector('tagSel','divPublicTags', '<%=Request.QueryString["TagEditor"] %>', 2,true);

tab.create(document.getElementById("foo"));
    </script>
</body>
</html>
