<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="forum_option.aspx.cs" Inherits="Discuz.ForumPage.Admin.forum_option" %>
<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<!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>
    <script type="text/javascript" src="../js/common.js"></script>		
	<link href="../styles/dntmanager.css" type="text/css" rel="stylesheet">        
    <link href="../styles/modelpopup.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="../js/modalpopup.js"></script>
	
<script language="javascript">
function ratevalveimg(ratelevel)
{
    var imgelement =  '<img src="../images/agree.gif" border="0" alt="" style="vertical-align:middle;"/>';
    var valveimg = '';
    if(isie())
    {
        imgelement = '<img src="../images/agree.gif" border="0" alt="" />';
    }
	for(i = 0; i < ratelevel; i++) {
		valveimg += imgelement;  
	}
	
	return valveimg;
}
</script>
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="ManagerForm">
    <fieldset>
		<legend style="background:url(../images/icons/legendimg.jpg) no-repeat 6px 50%;">论坛选项</legend>
			<table class="table1" cellspacing="0" cellpadding="4" width="100%" align="center">
			<tr>			
				<td class="td1" width="17%">主题浏览统计队列:</td>
				<td class="td1" width="30%">
					    <input id="Topicqueuestats_1" runat="server" HintTitle="提示" HintInfo="建议访问量大时开启,访问积累一定数量统一更新,减少服务器压力. 如开启,建议队列长度为20-50" type="radio" name="Topicqueuestats" value="1" checked="true" onclick="document.getElementById('topicqueuestatscount').style.visibility='visible';" language="javascript" />开启
					    <input id="Topicqueuestats_0" runat="server" type="radio" name="Topicqueuestats" value="0" onclick="document.getElementById('topicqueuestatscount').style.visibility='hidden';" language="javascript" />关闭
						&nbsp;&nbsp;<cc1:TextBox id="topicqueuestatscount" runat="server" RequiredFieldType="数据校验" CanBeNull="必填" Text="10" Size="5" MaxLength="4" MaximumValue="1000" MinimumValue="0"></cc1:TextBox>
				</td>
				<td class="td1" width="17%">我的话题全文搜索:</td>
				<td class="td1" width="36%">
						<cc1:RadioButtonList id="fullmytopics" runat="server"  RepeatColumns="1" HintShowType="down" HintTitle="提示" HintTopOffSet="35" HintInfo="选择&amp;quot;是&amp;quot;, 用户点击首页&amp;quot;我的话题&amp;quot;链接将返回用户参与过的所有主题, 反之则返回用户发起的所有主题. 注意: 当使用本功能的用户很多时, 本功能会明显加重服务器负担">
							<asp:ListItem Value="1">搜索用户是主题发表者或回复者的主题</asp:ListItem>
							<asp:ListItem Value="0">只搜索用户是主题发表者的主题</asp:ListItem>
						</cc1:RadioButtonList>
				</td>
			</tr>
			<tr>
			    <td class="td1">以 ... 衡量并显<br />示用户头衔:</td>
					<td class="td1">
						<cc1:RadioButtonList id="userstatusby" runat="server"  RepeatLayout="flow" HintTitle="提示" HintInfo="浏览帖子时用户头衔/级别的衡量尺度. 注意: 本功能仅作浏览帖子时的显示用, 不影响用户实际权限. 如果选择&amp;quot;用户级别&amp;quot;, 将只对会员用户组的用户使用级别头衔来区分, 而管理组和特殊组的用户仍显示其组头衔">
							<asp:ListItem Value="0">不显示</asp:ListItem>
							<asp:ListItem Value="1" Selected>用户组</asp:ListItem>						
						</cc1:RadioButtonList>
			    </td>
			    <td class="td1">启用论坛管<br />理工作日志:</td>
					<td class="td1">
							<cc1:RadioButtonList id="modworkstatus" runat="server"  RepeatLayout="flow" HintTitle="提示" HintInfo="论坛管理工作统计可以使管理员了解版主等管理人员的工作状况. 注意: 本功能会轻微加重系统负担">
								<asp:ListItem Value="1">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</cc1:RadioButtonList>
				</td>
			</tr>
			<tr>
				<td class="td1">缓存游客页面<br />的失效时间:</td>
				<td class="td1">
				    <cc1:TextBox id="guestcachepagetimeout" runat="server"  HintTitle="提示" HintInfo="论坛在线人数大时建议开启, 为0不缓存, 大于0则缓存该值的时间,单位为分钟, 建议值为10." RequiredFieldType="数据校验" CanBeNull="必填" Size="4" Text="10" MaxLength="3" MaximumValue="100" MinimumValue="0"></cc1:TextBox>
				</td>
				<td class="td1">缓存游客查看主<br />题页面的权重:</td>
				<td class="td1">
						<cc1:TextBox id="topiccachemark" runat="server" HintTitle="提示" HintInfo="为0则不缓存, 范围0 - 100  (数字越大, 缓存数据越多)" RequiredFieldType="数据校验" CanBeNull="必填" Text="10"  Size="4" MaxLength="3" MaximumValue="100" MinimumValue="0"></cc1:TextBox></P>
				</td>
			</tr>
			<tr>
			    <td class="td1">管理操作理由<br />是否通知作者:</td>
                <td class="td1">
					<cc1:RadioButtonList id="reasonpm" runat="server" HintInfo="是否将管理操作的理由短消息通知作者" HintTitle="提示" RepeatLayout="flow">
						<asp:ListItem Value="1">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</cc1:RadioButtonList>
				</td>
				<td class="td1">删帖不减积<br />分时间期限:</td>
                <td class="td1">
						<cc1:TextBox id="losslessdel" runat="server"  HintInfo="设置版主或管理员从前台删除发表于多少天以前的帖子时, 不更新用户积分, 可用于清理老帖子而不对作者积分造成损失. 0 为不使用此功能, 始终更新用户积分" HintTitle="提示" Text="5" RequiredFieldType="数据校验"  CanBeNull="必填" Size="5" MaxLength="4"></cc1:TextBox>(单位:天)
				</td>
			</tr>
			<tr>
				<td class="td1">编辑帖子<br />时间限制:</td>
				<td class="td1">
					<cc1:TextBox id="edittimelimit" runat="server" HintInfo="帖子作者发帖后超过此时间限制将不能再编辑帖, 版主和管理员不受此限制, 0 为不限制" HintTitle="提示" Text="5" RequiredFieldType="数据校验"  CanBeNull="必填" Size="5" MaxLength="4"></cc1:TextBox>(单位:分钟)
				</td>
				<td class="td1">编辑帖子附<br />加编辑记录:</td>
                <td class="td1">
					<cc1:RadioButtonList id="editedby" runat="server" RepeatLayout="flow" HintInfo="在 60 秒后编辑帖子添加“本帖由 xxx 于 xxxx-xx-xx 编辑”字样. 管理员编辑不受此限制" HintTitle="提示">
						<asp:ListItem Value="1">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</cc1:RadioButtonList>
				</td>
			</tr>
			<tr>
			    <td class="td1">每页主题数:</td>
				<td class="td1">
                    <cc1:TextBox id=tpp runat="server" RequiredFieldType="数据校验" CanBeNull="必填" Size="6" MaxLength="4" HintTitle="提示" HintInfo="每页主题数"></cc1:TextBox>
                </td>
                <td class="td2">每页帖子数:</td>
					<td class="td2">
                    <cc1:TextBox id=ppp runat="server" RequiredFieldType="数据校验" CanBeNull="必填" Size="6" MaxLength="4" HintTitle="提示" HintInfo="每页帖子数"></cc1:TextBox>
                 </td>
			</tr>
			<tr>
			     <td class="td2">热门话题最低帖数:</td>
					<td class="td2">
						<cc1:TextBox id="hottopic" runat="server" CanBeNull="必填" RequiredFieldType="数据校验" Size="6" MaxLength="4" HintTitle="提示" HintInfo="超过一定帖子数的话题将显示为热门话题"></cc1:TextBox>
				</td>
				<td class="td1">星星升级阀值:</td>
					<td class="td1">
				    <cc1:TextBox id="starthreshold" runat="server" CanBeNull="必填" RequiredFieldType="数据校验"  Size="6" MaxLength="4" HintTitle="提示" HintInfo="N 个星星显示为 1 个月亮、N 个月亮显示为 1 个太阳. 默认值为 2, 如设为 0 则取消此项功能, 始终以星星显示"></cc1:TextBox>
			    </td>
			</tr>
			<tr>
			    <td class="td1">默认的编辑器模式:</td>
                <td class="td1">
					<cc1:RadioButtonList ID="defaulteditormode" runat="server" HintInfo="默认的编辑器模式" HintTitle="提示" RepeatColumns="1">
						<asp:ListItem Value="0">Discuz!NT代码编辑器</asp:ListItem>
						<asp:ListItem Value="1">可视化编辑器</asp:ListItem>
					</cc1:RadioButtonList>
				</td>
				<td class="td2">是否允许切换<br />编辑器模式:</td>
                <td class="td1">
					<cc1:RadioButtonList id="allowswitcheditor" runat="server" HintInfo="选择否将禁止用户在 Discuz!NT 代码模式和所见即所得模式之间切换." HintTitle="提示" RepeatLayout="flow">
						<asp:ListItem Value="1">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</cc1:RadioButtonList>
				</td>
			</tr>
			<tr>			    
			    <td class="td1">快速发帖:</td>
			    <td class="td1">
			        <cc1:radiobuttonlist id="fastpost" runat="server" RepeatColumns="1" HintTitle="提示" HintInfo="浏览论坛和帖子页面底部显示快速发帖表单">
					    <asp:ListItem Value="0">不显示</asp:ListItem>
					    <asp:ListItem Value="1">只显示快速发表主题</asp:ListItem>
					    <asp:ListItem Value="2">只显示快速发表回复</asp:ListItem>
					    <asp:ListItem Value="3">同时显示快速发表主题和回复</asp:ListItem>
				    </cc1:radiobuttonlist>
			    </td>
			    <td class="td1">评分等级:</td>
			    <td class="td1" >
			        <cc1:TextBox id="ratevalveset1" runat="server" CanBeNull="必填" Size="3" MaxLength="3"></cc1:TextBox> <script>document.write(ratevalveimg(1));</script><br />
			        <cc1:TextBox id="ratevalveset2" runat="server" CanBeNull="必填" Size="3" MaxLength="3"></cc1:TextBox> <script>document.write(ratevalveimg(2));</script><br />
			        <cc1:TextBox id="ratevalveset3" runat="server" CanBeNull="必填" Size="3" MaxLength="3"></cc1:TextBox> <script>document.write(ratevalveimg(3));</script><br />
			        <cc1:TextBox id="ratevalveset4" runat="server" CanBeNull="必填" Size="3" MaxLength="3"></cc1:TextBox> <script>document.write(ratevalveimg(4));</script><br />
			        <cc1:TextBox id="ratevalveset5" runat="server" CanBeNull="必填" Size="3" MaxLength="3"></cc1:TextBox> <script>document.write(ratevalveimg(5));</script>
			    </td>
			</tr>
	        </table>
	</fieldset>
		<cc1:Hint id="Hint1" runat="server" HintImageUrl="../images"></cc1:Hint>	
	    <div class="Navbutton">
		    <cc1:Button id="SaveInfo" runat="server" Text=" 提 交 "></cc1:Button>
		</div>
    </div>
    </form>
    <%=footer%>
</body>
</html>

