<%@ Control Language="c#" AutoEventWireup="false" Codebehind="DefaultPermissionListControl.ascx.cs" Inherits="CommunityServer.ControlPanel.Forums.DefaultPermissionListControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CA" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<script type="text/javascript">
  function onCallbackError(excString)
  {
    if (confirm('<%= CommunityServer.ControlPanel.Components.ResourceManager.GetString("CP_CallBackWarning") %>')) alert(excString); 
    <%= Grid1.ClientID %>.Page(1); 
  }
</script>

<div id="GrayGrid">
<CA:Grid id="Grid1" runat="server">
	<Levels>
		<CA:GridLevel DataKeyField="RoleIDString">
			<Columns>
				<CA:GridColumn AllowEditing="False" DataField="Name" HeadingText="ResourceManager.CP_Forums_GridCol_Name" />
				<ca:gridcolumn columntype="CheckBox" datafield="View" headingtext="ResourceManager.CP_PermissionList_View" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="Read" headingtext="ResourceManager.CP_PermissionList_Read" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="Post" headingtext="ResourceManager.CP_PermissionList_Post" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="Reply" headingtext="ResourceManager.CP_PermissionList_Reply" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="Vote" headingtext="ResourceManager.CP_PermissionList_Vote" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="Ink" headingtext="ResourceManager.CP_PermissionList_Ink" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="Video" headingtext="ResourceManager.CP_PermissionList_Video" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="LocalAttachment" headingtext="ResourceManager.CP_PermissionList_LocalAttachment" align="Center" AllowEditing="True" />
				<ca:gridcolumn columntype="CheckBox" datafield="RemoteAttachment" headingtext="ResourceManager.CP_PermissionList_RemoteAttachment" align="Center" AllowEditing="True" />
				<CA:GridColumn DataField="RoleIDString" Visible="False" />
			</Columns>
		</CA:GridLevel>
	</Levels>
</CA:Grid>
</div>
