-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSettings.ascx
115 lines (112 loc) · 6.63 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
<%@ Control Language="C#" AutoEventWireup="false" Inherits="Bitboxx.DNNModules.BBNews.Settings" Codebehind="Settings.ascx.cs" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="bb" TagName="TabSelectControl" Src="Controls/TabSelectControl.ascx" %>
<%@ Register TagPrefix="bb" TagName="TemplateControl" Src="Controls/TemplateControl.ascx" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.UI.WebControls" Assembly="DotNetNuke.Web" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.UI.WebControls" Assembly="DotNetNuke.Web.Deprecated" %>
<div class="dnnForm dnnBBNewsSettings dnnClear">
<div class="dnnFormItem">
<dnn:label id="lblView" runat="server" controlname="rblView" suffix=":" />
<asp:RadioButtonList ID="rblView" runat="server" CssClass="dnnFormRadioButtons" RepeatDirection="Horizontal" onselectedindexchanged="rblView_SelectedIndexChanged" AutoPostBack="True">
<asp:ListItem resourcekey="rblView0" Value="0" />
<asp:ListItem resourcekey="rblView1" Value="1" />
<asp:ListItem resourcekey="rblView2" Value="2" />
<asp:ListItem resourcekey="rblView3" Value="3" />
</asp:RadioButtonList>
</div>
<asp:Panel ID="pnlCategory" runat="server">
<div class="dnnFormItem">
<dnn:label id="lblCategory" runat="server" controlname="cboCategory" suffix=":" />
<asp:DropDownList ID="cboCategory" runat="server" CssClass="dnnFormInput"/>
</div>
</asp:Panel>
<asp:Panel ID="pnlMulti" runat="server">
<div class="dnnFormItem">
<dnn:label id="lblTopN" runat="server" controlname="txtTopN" suffix=":" />
<asp:textbox id="txtTopN" runat="server" Columns="3" CssClass="dnnFormInput dnnNumberInput" />
<asp:RangeValidator ID="RangeValidatorTopN" CssClass="dnnFormMessage dnnFormError" runat="server" Type="Integer"
ErrorMessage="0..99" MinimumValue="0" MaximumValue="99" ControlToValidate="txtTopN" />
</div>
<div class="dnnFormItem">
<dnn:label id="lblStartDate" runat="server" controlname="dtpStartDate" suffix=":" />
<dnn:DnnDatePicker ID="dtpStartDate" runat="server" CssClass="dnnFormInput" />
</div>
<div class="dnnFormItem">
<dnn:label id="lblEndDate" runat="server" controlname="dtpEndDate" suffix=":" />
<dnn:DnnDatePicker ID="dtpEndDate" runat="server" CssClass="dnnFormInput"/>
</div>
<div class="dnnFormItem">
<dnn:label id="lblShowRss" runat="server" controlname="rblRss" suffix=":" />
<asp:RadioButtonList ID="rblRss" runat="server" CssClass="dnnFormRadioButtons" RepeatDirection="Horizontal">
<asp:ListItem resourcekey="rblRss0" Value="0" />
<asp:ListItem resourcekey="rblRss1" Value="1" />
<asp:ListItem resourcekey="rblRss2" Value="2" />
</asp:RadioButtonList>
</div>
</asp:Panel>
<asp:Panel ID="pnlShowTitle" runat="server">
<div class="dnnFormItem">
<dnn:Label id="lblShowTitle" runat="server" controlname="chkShowTitle" suffix=":" />
<asp:CheckBox ID="chkShowTitle" CssClass="dnnFormInput" runat="server" />
</div>
</asp:Panel>
<asp:Panel ID="pnlSelectPage" runat="server">
<div class="dnnFormItem">
<dnn:Label id="lblNewsPage" runat="server" controlname="urlSelectNewsPage" suffix=":" />
<bb:TabSelectControl ID="urlSelectNewsPage" runat="server" Width="200" CssClass="dnnFormInput"/>
</div>
</asp:Panel>
<asp:Panel ID="pnlNewsRows" runat="server">
<div class="dnnFormItem">
<dnn:Label id="lblNewsInRow" runat="server" controlname="txtNewsInRow" suffix=":" />
<asp:Textbox id="txtNewsInRow" CssClass="dnnFormInput dnnNumberInput" columns="2" runat="server" />
<asp:RangeValidator ID="RangeValidatorNewsInRow" CssClass="dnnFormMessage dnnFormError" runat="server" Type="Integer"
ErrorMessage="1..10" MinimumValue="1" MaximumValue="10" ControlToValidate="txtNewsInRow" />
</div>
<div class="dnnFormItem">
<dnn:Label id="lblRowsPerPage" runat="server" controlname="txtRowsPerPage" suffix=":" />
<asp:Textbox id="txtRowsPerPage" CssClass="dnnFormInput dnnNumberInput" columns="2" runat="server" />
<asp:RangeValidator ID="RangeValidatorRowsPerPage" CssClass="dnnFormMessage dnnFormError" runat="server" Type="Integer"
ErrorMessage="1..99" MinimumValue="1" MaximumValue="99" ControlToValidate="txtRowsPerPage" />
</div>
<div class="dnnFormItem">
<dnn:Label id="lblSearchEnabled" runat="server" controlname="chkSearchEnabled" suffix=":" />
<asp:CheckBox id="chkSearchEnabled" CssClass="dnnFormInput" runat="server" />
</div>
</asp:Panel>
<div class="dnnFormItem">
<dnn:label id="lblSelectTemplate" runat="server" controlname="selTemplate" suffix=":" />
<bb:TemplateControl runat="server" ID="selTemplate" Key="News" CssClass="dnnFormInput" Width="250"/>
</div>
<div class="dnnFormItem">
<dnn:label id="lblSelectTemplateSingle" runat="server" controlname="selTemplateSingle" suffix=":" />
<bb:TemplateControl runat="server" ID="selTemplateSingle" Key="News" CssClass="dnnFormInput" Width="250"/>
</div>
<asp:Panel ID="pnlMarquee" runat="server">
<div class="dnnFormItem">
<dnn:label id="lblMarqueeDirection" runat="server" controlname="cboMarqueeDirection" suffix=":" />
<asp:DropDownList ID="cboMarqueeDirection" CssClass="dnnFormInput" runat="server">
<asp:ListItem resourcekey="cboMarqueeDirection0" Value="0" />
<asp:ListItem resourcekey="cboMarqueeDirection1" Value="1" />
<asp:ListItem resourcekey="cboMarqueeDirection2" Value="2" />
<asp:ListItem resourcekey="cboMarqueeDirection3" Value="3" />
</asp:DropDownList>
</div>
<div class="dnnFormItem">
<dnn:label id="lblMarqueeScrollAmount" runat="server" controlname="txtMarqueeScrollAmount" suffix=":" />
<asp:textbox ID="txtMarqueeScrollAmount" CssClass="dnnFormInput dnnNumberInput" Columns="4" runat="server" />
<asp:RangeValidator ID="RangeValidatorMarqueeScrollAmount" CssClass="dnnFormMessage dnnFormError" runat="server" Type="Integer"
ErrorMessage="1..100" MinimumValue="1" MaximumValue="100" ControlToValidate="txtMarqueeScrollAmount" />
</div>
<div class="dnnFormItem">
<dnn:label id="lblMarqueeScrollDelay" runat="server" controlname="txtMarqueeScrollDelay" suffix=":" />
<asp:textbox ID="txtMarqueeScrollDelay" CssClass="dnnFormInput dnnNumberInput" Columns="4" runat="server" />
<asp:RangeValidator ID="RangeValidatorMarqueeScrollDelay" CssClass="dnnFormMessage dnnFormError" runat="server" Type="Integer"
ErrorMessage="1..10000" MinimumValue="1" MaximumValue="10000" ControlToValidate="txtMarqueeScrollDelay" />
</div>
<div class="dnnFormItem">
<dnn:label id="lblMarqueeAlternate" runat="server" controlname="chkMarqueeAlternate" suffix=":" />
<asp:checkbox ID="chkMarqueeAlternate" CssClass="dnnFormInput" runat="server" />
</div>
</asp:Panel>
</div>