-
Notifications
You must be signed in to change notification settings - Fork 2
/
Settings.ascx
108 lines (97 loc) · 3.72 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
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Settings.ascx.cs" Inherits="Connect.Modules.SiteNews.Settings" %>
<%@ Register TagName="label" TagPrefix="dnn" Src="~/controls/labelcontrol.ascx" %>
<div class="dnnFormItem">
<dnn:Label ID="NumberOfDaysLabel" runat="server"
ControlName="NumberOfDaysRadioButtons"
ResourceKey="NumberOfDays"
Suffix=":" />
<asp:RadioButtonList ID="NumberOfDaysRadioButtons" runat="server"
RepeatColumns="5"
RepeatDirection="Horizontal">
<asp:ListItem Value="1" Text="1" />
<asp:ListItem Value="5" Text="5" />
<asp:ListItem Value="10" Text="10" />
<asp:ListItem Value="25" Text="25" />
<asp:ListItem Value="50" Text="50" />
</asp:RadioButtonList>
</div>
<div class="dnnFormItem">
<dnn:Label ID="SearchTypesLabel" runat="server"
ControlName="SearchTypeCheckBoxes"
ResourceKey="SearchTypes"
Suffix=":" />
<asp:CheckBoxList ID="SearchTypeCheckBoxes" runat="server"
OnLoad="SearchTypeCheckBoxes_Load" />
</div>
<div class="dnnFormItem">
<dnn:Label ID="NumberOfResultsLabel" runat="server"
ControlName="NumberOfResultsRadioButtons"
ResourceKey="NumberOfResults"
Suffix=":" />
<asp:RadioButtonList ID="NumberOfResultsRadioButtons" runat="server"
RepeatColumns="4"
RepeatDirection="Horizontal">
<asp:ListItem Value="10" Text="10" />
<asp:ListItem Value="25" Text="25" />
<asp:ListItem Value="50" Text="50" />
<asp:ListItem Value="100" Text="100" />
</asp:RadioButtonList>
</div>
<div class="dnnFormItem">
<dnn:Label ID="PageSizeLabel" runat="server"
ControlName="PageSizeRadioButtons"
ResourceKey="PageSize"
Suffix=":" />
<asp:RadioButtonList ID="PageSizeRadioButtons" runat="server"
RepeatColumns="55"
RepeatDirection="Horizontal">
<asp:ListItem Value="1" Text="1" />
<asp:ListItem Value="5" Text="5" />
<asp:ListItem Value="10" Text="10" />
<asp:ListItem Value="25" Text="25" />
<asp:ListItem Value="50" Text="50" />
</asp:RadioButtonList>
</div>
<h2><asp:Label ID="RenderingLabel" runat="server" ResourceKey="Rendering" /></h2>
<div class="dnnFormItem">
<dnn:Label ID="IncludeSearchTypeLabel" runat="server"
ControlName="IncludeSearchTypeCheckBox"
ResourceKey="IncludeSearchType"
Suffix="?" />
<asp:CheckBox ID="IncludeSearchTypeCheckBox" runat="server" />
</div>
<div class="dnnFormItem">
<dnn:Label ID="IncludeInfoLabel" runat="server"
ControlName="IncludeInfoCheckBox"
ResourceKey="IncludeInfo"
Suffix="?" />
<asp:CheckBox ID="IncludeInfoCheckBox" runat="server" />
</div>
<div class="dnnFormItem">
<dnn:Label ID="IncludeDescriptionLabel" runat="server"
ControlName="IncludeDescriptionCheckBox"
ResourceKey="IncludeDescription"
Suffix="?" />
<asp:CheckBox ID="IncludeDescriptionCheckBox" runat="server" />
</div>
<div class="dnnFormItem">
<dnn:Label ID="IncludeBodyLabel" runat="server"
ControlName="IncludeBodyCheckBox"
ResourceKey="IncludeBody"
Suffix="?" />
<asp:CheckBox ID="IncludeBodyCheckBox" runat="server" />
</div>
<div class="dnnFormItem">
<dnn:Label ID="IncludeAuthorLabel" runat="server"
ControlName="IncludeAuthorCheckBox"
ResourceKey="IncludeAuthor"
Suffix="?" />
<asp:CheckBox ID="IncludeAuthorCheckBox" runat="server" />
</div>
<div class="dnnFormItem">
<dnn:Label ID="IncludeSnippetLabel" runat="server"
ControlName="IncludeSnippetCheckBox"
ResourceKey="IncludeSnippet"
Suffix="?" />
<asp:CheckBox ID="IncludeSnippetCheckBox" runat="server" />
</div>