📄 hdlab_permission.ascx
字号:
<%@ Control %>
<%@ Register TagPrefix="HDLabBBS" NameSpace="HDLab.BBS.Controls" Assembly="HDLabBBS" %>
<script type="text/javascript">
function ToggleNode(node,img){
nodeObject = document.getElementById(node);
imgObject = document.getElementById(img);
if (nodeObject.style.display == '' || nodeObject.style.display == 'block') {
nodeObject.style.display = 'none';
imgObject.src = 'Images/folder_open.gif';
imgObject.alt = '展开面板';
} else {
nodeObject.style.display = 'block';
imgObject.src = 'Images/folder_close.gif';
imgObject.alt = '关闭面板';
}
}
</script>
<div class="currentpositon">当前位置:用户管理区-->用户权限管理</div>
<br />
<div class="titlebar1">
<div class="titlebar" >
<div class="titlebar_r"><img src="Images/right_pic.gif" alt="帮助" title="帮助" /></div>
<div class="titlebar_l" style="width:180px;"><asp:Literal ID="LitUserGroupName" Runat="server"></asp:Literal><input type="hidden" id="ForumID" name="ForumID" value="<%=Request.Form["ForumID"]%>"><input type="hidden" id="UserGroupID" name="UserGroupID" value="<%=Request.Form["UserGroupID"]%>"></div>
<div style="float:left;"><img src="Images/right_bg_02.gif" alt="" /></div>
</div>
</div>
<table cellspacing="0" cellpadding="1" class="divbody1_b" align="center" border="0">
<tr class="divbody4">
<td height="25" width="50%" valign="bottom">
<HDLabBBS:ListBoxGroup ID="MyListBoxGroup" Runat="server" />
<asp:Label ID="UserReadme" Runat="server" Visible="False"> 请在右边列表框架选择您要自定义用户权限的版面,可以同时选中多个版面,同时请在下面的权限选项中选中您要编辑的权限(注意:选中权限前面的复选框)。</asp:Label>
</td>
<td width="50%" valign="bottom">
<HDLabBBS:ListBoxForum ID="MyListBoxForum" Runat="server" />
<asp:Label ID="GroupReadme" Runat="server" Visible="False"> 请在左边列表框架选择您要编辑的用户组(等级),可以同时选中多个用户组(等级),同时请在下面的权限选项中选中您要编辑的权限(注意:选中权限前面的复选框)。</asp:Label>
</td>
</tr>
<tr class="divbody5">
<td height="25" colspan="2">
<strong>快速定位:</strong><a href="#Setting1">查看权限</a> | <a href="#Setting2">发帖权限</a> | <a href="#Setting3">上传权限</a> | <a href="#Setting4">编辑权限</a> | <a href="#Setting5">其他权限</a> | <a href="#Setting6">管理权限</a> | <a href="#Setting7">短信权限</a>
</td>
</tr>
</table>
<br />
<div class="titlebar1" >
<div class="titlebar" >
<div class="titlebar_r"><img align="top" id="img1" src="Images/folder_close.gif" alt="关闭面板" style='cursor:hand' onclick="javascript:ToggleNode('pinch1', 'img1')" /><a name="setting1"></a><img src="Images/right_pic.gif" alt="帮助" title="帮助" /></div>
<div class="titlebar_l">==查看权限</div>
<div style="float:left;"><img src="Images/right_bg_02.gif" alt="" /></div>
</div>
</div>
<table cellspacing="0" cellpadding="3" class="divbody1_b" align="center" border="0" id="pinch1">
<tr class="divbody4">
<td width="60%"><input type="checkbox" id="SelectedSetting0" name="SelectedSetting0" /><label for="SelectedSetting0">可以浏览论坛</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting0" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody5">
<td width="60%"><input type="checkbox" id="SelectedSetting1" name="SelectedSetting1" /><label for="SelectedSetting1">可以查看会员信息(包括其他会员的资料和会员列表)</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting1" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody4">
<td width="60%"><input type="checkbox" id="SelectedSetting2" name="SelectedSetting2" /><label for="SelectedSetting2">可以查看其他人发布的主题</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting2" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody5">
<td width="60%"><input type="checkbox" id="SelectedSetting3" name="SelectedSetting3" /><label for="SelectedSetting3">可以浏览精华帖子</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting3" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
</table>
<br />
<div class="titlebar1" >
<div class="titlebar" >
<div class="titlebar_r"><img align="top" id="img2" src="Images/folder_close.gif" alt="关闭面板" style='cursor:hand' onclick="javascript:ToggleNode('pinch2', 'img2')" /><a name="setting2"></a><img src="Images/right_pic.gif" alt="帮助" title="帮助" /></div>
<div class="titlebar_l">==发帖权限</div>
<div style="float:left;"><img src="Images/right_bg_02.gif" alt="" /></div>
</div>
</div>
<table cellspacing="0" cellpadding="3" class="divbody1_b" align="center" border="0" id="pinch2">
<tr class="divbody4">
<td width="60%"><input type="checkbox" id="SelectedSetting4" name="SelectedSetting4" /><label for="SelectedSetting4">可以发布新主题</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting4" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody5">
<td width="60%"><input type="checkbox" id="SelectedSetting53" name="SelectedSetting53" /><label for="SelectedSetting53">在审核模式下可直接发贴而不需经过审核</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting53" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody4">
<td width="60%"><input type="checkbox" id="SelectedSetting47" name="SelectedSetting47" /><label for="SelectedSetting47">可以进行标题醒目</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting47" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody5">
<td width="60%"><input type="checkbox" id="SelectedSetting5" name="SelectedSetting5" /><label for="SelectedSetting5">可以回复自己的主题</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting5" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody4">
<td width="60%"><input type="checkbox" id="SelectedSetting6" name="SelectedSetting6" /><label for="SelectedSetting6">可以回复其他人的主题</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting6" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody5">
<td width="60%"><input type="checkbox" id="SelectedSetting7" name="SelectedSetting7" /><label for="SelectedSetting7">可以在论坛对主题进行评分</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting7" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody4">
<td width="60%"><input type="checkbox" id="SelectedSetting8" name="SelectedSetting8" /><label for="SelectedSetting8">参与评分所需金钱</label></td>
<td width="40%"><asp:TextBox ID="UserGroupSetting8" Runat="server" Columns="10"></asp:TextBox></td>
</tr>
<tr class="divbody5">
<td width="60%"><input type="checkbox" id="SelectedSetting13" name="SelectedSetting13" /><label for="SelectedSetting13">可以发布新投票</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting13" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody4">
<td width="60%"><input type="checkbox" id="SelectedSetting14" name="SelectedSetting14" /><label for="SelectedSetting14">可以参与投票</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting14" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
</table>
<br />
<div class="titlebar1" >
<div class="titlebar" >
<div class="titlebar_r"><img align="top" id="img3" src="Images/folder_close.gif" alt="关闭面板" style='cursor:hand' onclick="javascript:ToggleNode('pinch3', 'img3')" /><a name="setting3"></a><img src="Images/right_pic.gif" alt="帮助" title="帮助" /></div>
<div class="titlebar_l">==上传权限</div>
<div style="float:left;"><img src="Images/right_bg_02.gif" alt="" /></div>
</div>
</div>
<table cellspacing="0" cellpadding="3" class="divbody1_b" align="center" border="0" id="pinch3">
<tr class="divbody4">
<td width="60%"><input type="checkbox" id="SelectedSetting9" name="SelectedSetting9" /><label for="SelectedSetting9">可以上传附件</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting9" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody5">
<td width="60%"><input type="checkbox" id="SelectedSetting10" name="SelectedSetting10" /><label for="SelectedSetting10">一次最多上传文件个数</label></td>
<td width="40%"><asp:TextBox ID="UserGroupSetting10" Runat="server" Columns="10"></asp:TextBox></td>
</tr>
<tr class="divbody4">
<td width="60%"><input type="checkbox" id="SelectedSetting11" name="SelectedSetting11" /><label for="SelectedSetting11">一天最多上传文件个数</label></td>
<td width="40%"><asp:TextBox ID="UserGroupSetting11" Runat="server" Columns="10"></asp:TextBox></td>
</tr>
<tr class="divbody5">
<td width="60%"><input type="checkbox" id="SelectedSetting12" name="SelectedSetting12" /><label for="SelectedSetting12">上传文件大小限制</label></td>
<td width="40%"><asp:TextBox ID="UserGroupSetting12" Runat="server" Columns="10"></asp:TextBox>
KB</td>
</tr>
</table>
<br />
<div class="titlebar1" >
<div class="titlebar" >
<div class="titlebar_r"><img align="top" id="img4" src="Images/folder_close.gif" alt="关闭面板" style='cursor:hand' onclick="javascript:ToggleNode('pinch4', 'img4')" /><a name="setting4"></a><img src="Images/right_pic.gif" alt="帮助" title="帮助" /></div>
<div class="titlebar_l" style="width:150px;">==帖子/主题编辑权限</div>
<div style="float:left;"><img src="Images/right_bg_02.gif" alt="" /></div>
</div>
</div>
<table cellspacing="0" cellpadding="3" class="divbody1_b" align="center" border="0" id="pinch4">
<tr class="divbody4">
<td width="60%"><input type="checkbox" id="SelectedSetting15" name="SelectedSetting15" /><label for="SelectedSetting15">可以编辑自己的帖子</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting15" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody5">
<td width="60%"><input type="checkbox" id="SelectedSetting16" name="SelectedSetting16" /><label for="SelectedSetting16">可以删除自己的帖子</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting16" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody4">
<td width="60%"><input type="checkbox" id="SelectedSetting17" name="SelectedSetting17" /><label for="SelectedSetting17">可以移动自己的帖子到其他论坛</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting17" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody5">
<td width="60%"><input type="checkbox" id="SelectedSetting18" name="SelectedSetting18" /><label for="SelectedSetting18">可以打开/关闭自己发布的主题</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting18" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
</table>
<br />
<div class="titlebar1" >
<div class="titlebar" >
<div class="titlebar_r"><img align="top" id="img5" src="Images/folder_close.gif" alt="关闭面板" style='cursor:hand' onclick="javascript:ToggleNode('pinch5', 'img5')" /><a name="setting5"></a><img src="Images/right_pic.gif" alt="帮助" title="帮助" /></div>
<div class="titlebar_l">==其他权限</div>
<div style="float:left;"><img src="Images/right_bg_02.gif" alt="" /></div>
</div>
</div>
<table cellspacing="0" cellpadding="3" class="divbody1_b" align="center" border="0" id="pinch5">
<tr class="divbody4">
<td width="60%"><input type="checkbox" id="SelectedSetting19" name="SelectedSetting19" /><label for="SelectedSetting19">可以搜索论坛</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting19" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody5">
<td width="60%"><input type="checkbox" id="SelectedSetting20" name="SelectedSetting20" /><label for="SelectedSetting20">可以修改个人资料</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting20" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr class="divbody4">
<td width="60%"><input type="checkbox" id="SelectedSetting21" name="SelectedSetting21" /><label for="SelectedSetting21">可以浏览论坛事件</label></td>
<td width="40%">
<asp:RadioButtonList ID="UserGroupSetting21" Runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="1">是</asp:ListItem>
<asp:ListItem Value="0">否</asp:ListItem>
</asp:RadioButtonList>
</td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -