-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSettings.ascx
executable file
·132 lines (132 loc) · 6.54 KB
/
Settings.ascx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="Settings.ascx.vb" Inherits="Ventrian.FeedbackCenter.Settings" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="SectionHead" Src="~/controls/SectionHeadControl.ascx" %>
<table cellspacing="0" cellpadding="2" border="0" summary="Edit Links Design Table">
<tr>
<td class="SubHead" width="150"><dnn:label id="plEmailNotification" runat="server" controlname="txtEmailNotification" suffix=":"></dnn:label></td>
<td valign="bottom" >
<asp:textbox id="txtEmailNotification" runat="server" maxlength="255" Columns="30" width="300" cssclass="NormalTextBox"></asp:textbox>
</td>
</tr>
<tr>
<td class="SubHead" width="150"><dnn:label id="plEnableCaptcha" runat="server" controlname="chkEnableCaptcha" suffix=":"></dnn:label></td>
<td valign="bottom" >
<asp:CheckBox ID="chkEnableCaptcha" runat="server" />
</td>
</tr>
<tr>
<td class="SubHead" width="150"><dnn:label id="plEnableRSS" runat="server" controlname="chkEnableRSS" suffix=":"></dnn:label></td>
<td valign="bottom" >
<asp:CheckBox ID="chkEnableRSS" runat="server" />
</td>
</tr>
<tr>
<td class="SubHead" width="150"><dnn:label id="plEnableStatistics" runat="server" controlname="chkEnableStatistics" suffix=":"></dnn:label></td>
<td valign="bottom" >
<asp:CheckBox ID="chkEnableStatistics" runat="server" />
</td>
</tr>
<tr>
<td class="SubHead" width="150"><dnn:label id="plCommentAttachments" runat="server" controlname="chkCommentAttachments" suffix=":"></dnn:label></td>
<td valign="bottom" >
<asp:CheckBox ID="chkCommentAttachments" runat="server" />
</td>
</tr>
</table>
<br />
<dnn:SectionHead id="dshActiveSocial" cssclass="Head" runat="server" text="Active Social Settings" section="tblActiveSocial" IsExpanded="False" />
<table id="tblActiveSocial" cellspacing="2" cellpadding="2" summary="Active Social Design Table" border="0" runat="server">
<tr>
<td class="SubHead" width="150"><dnn:label id="plActiveSocialSubmissionKey" runat="server" suffix=":" controlname="grdPermissions"></dnn:label></td>
<td>
<asp:TextBox ID="txtActiveSocialSubmissionKey" runat="server" CssClass="NormalTextBox" Width="300" />
</td>
</tr>
<tr>
<td class="SubHead" width="150"><dnn:label id="plActiveSocialSubscribeKey" runat="server" suffix=":" controlname="grdPermissions"></dnn:label></td>
<td>
<asp:TextBox ID="txtActiveSocialSubscribeKey" runat="server" CssClass="NormalTextBox" Width="300" />
</td>
</tr>
<tr>
<td class="SubHead" width="150"><dnn:label id="plActiveSocialVoteKey" runat="server" suffix=":" controlname="grdPermissions"></dnn:label></td>
<td>
<asp:TextBox ID="txtActiveSocialVoteKey" runat="server" CssClass="NormalTextBox" Width="300" />
</td>
</tr>
<tr>
<td class="SubHead" width="150"><dnn:label id="plActiveSocialCommentKey" runat="server" suffix=":" controlname="grdPermissions"></dnn:label></td>
<td>
<asp:TextBox ID="txtActiveSocialCommentKey" runat="server" CssClass="NormalTextBox" Width="300" />
</td>
</tr>
</table>
<br />
<dnn:SectionHead id="dshSecurity" cssclass="Head" runat="server" text="Security Settings" section="tblSecurity" IsExpanded="False" />
<table id="tblSecurity" cellspacing="2" cellpadding="2" summary="Security Design Table" border="0" runat="server">
<tr>
<td class="SubHead" width="150"><dnn:label id="plPermissions" runat="server" suffix=":" controlname="grdPermissions"></dnn:label></td>
<td>
<asp:DataGrid ID="grdPermissions" Runat="server" AutoGenerateColumns="False" ItemStyle-CssClass="Normal"
ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle" HeaderStyle-HorizontalAlign="Center"
HeaderStyle-CssClass="NormalBold" CellSpacing="0" CellPadding="0" GridLines="None" BorderWidth="1"
BorderStyle="None" DataKeyField="Value">
<Columns>
<asp:TemplateColumn>
<ItemStyle HorizontalAlign="Left" />
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "Text") %>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderTemplate>
<asp:Label ID="lblSubmit" Runat="server" EnableViewState="False" ResourceKey="Submit" />
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="chkSubmit" Runat="server" />
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderTemplate>
<asp:Label ID="lblVote" Runat="server" EnableViewState="False" ResourceKey="Vote" />
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="chkVote" Runat="server" />
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderTemplate>
<asp:Label ID="lblComment" Runat="server" EnableViewState="False" ResourceKey="Comment" />
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="chkComment" Runat="server" />
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderTemplate>
<asp:Label ID="lblAutoApprove" Runat="server" EnableViewState="False" ResourceKey="AutoApprove" />
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="chkAutoApprove" Runat="server" />
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderTemplate>
<asp:Label ID="lblApprove" Runat="server" EnableViewState="False" ResourceKey="Approve" />
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="chkApprove" Runat="server" />
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid>
</td>
</tr>
</table>