forked from ventrian/Simple-Gallery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRandomPhotoOptions.ascx
executable file
·146 lines (146 loc) · 10.8 KB
/
RandomPhotoOptions.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="RandomPhotoOptions.ascx.vb" Inherits="Ventrian.SimpleGallery.RandomPhotoOptions" %>
<%@ Register TagPrefix="dnn" TagName="Skin" Src="~/controls/SkinControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="SectionHead" Src="~/controls/SectionHeadControl.ascx" %>
<dnn:SectionHead id="dshDetails" cssclass="Head" runat="server" text="Basic Settings" section="tblBasic" resourcekey="BasicSettings" />
<table id="tblBasic" cellspacing="2" cellpadding="2" summary="Basic Settings Design Table" border="0" runat="server">
<tr>
<td class="SubHead" ><dnn:label id="plModuleID" runat="server" resourcekey="Module" suffix=":" controlname="drpModuleID"></dnn:label></TD>
<td><asp:dropdownlist id="drpModuleID" Runat="server" datavaluefield="ModuleID" datatextfield="ModuleTitle" CssClass="NormalTextBox" AutoPostBack="True"></asp:dropdownlist></td>
</tr>
<tr>
<td class="SubHead" ><dnn:label id="plAlbums" runat="server" resourcekey="Albums" suffix=":" controlname="drpAlbums"></dnn:label></td>
<td><asp:DropDownList ID="drpAlbums" Runat="server" DataTextField="CaptionIndented" DataValueField="AlbumID" CssClass="NormalTextBox" /></td>
</tr>
<tr>
<td class="SubHead" ><dnn:label id="Label1" runat="server" resourcekey="PublicMode" suffix=":" controlname="rdoPublicMode"></dnn:label></td>
<td><asp:radiobuttonlist id="rdoPublicMode" Runat="server" CssClass="Normal" AutoPostBack="True" RepeatDirection="Horizontal" RepeatLayout="Flow"></asp:radiobuttonlist></td>
</tr>
<tr>
<td class="SubHead" ><dnn:label id="plMode" runat="server" resourcekey="Mode" suffix=":" controlname="rdoMode"></dnn:label></td>
<td><asp:radiobuttonlist id="rdoMode" Runat="server" CssClass="Normal" AutoPostBack="False" RepeatDirection="Horizontal" RepeatLayout="Flow"></asp:radiobuttonlist></td>
</tr>
<tr>
<td class="SubHead" ><dnn:label id="plDisplay" runat="server" resourcekey="Display" suffix=":" controlname="rdoDisplay"></dnn:label></td>
<td><asp:radiobuttonlist id="rdoDisplay" Runat="server" CssClass="Normal" AutoPostBack="true" RepeatDirection="Horizontal" RepeatLayout="Flow"></asp:radiobuttonlist></td>
</tr>
<tr>
<td class="SubHead" ><dnn:label id="plMaxCount" runat="server" resourcekey="MaxCount" suffix=":" controlname="txtMaxCount"></dnn:label></td>
<td>
<asp:textbox id="txtMaxCount" cssclass="NormalTextBox" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valMaxCount" cssclass="NormalRed" runat="server" resourcekey="valMaxCount.ErrorMessage"
controltovalidate="txtMaxCount" errormessage="<br>Max Count is Required" display="Dynamic"></asp:requiredfieldvalidator>
<asp:CompareValidator id="valMaxCountIsNumber" Runat="server" controltovalidate="txtMaxCount"
errormessage="<br>Max Count must be a Number" Type="Integer" Operator="DataTypeCheck" Display="Dynamic"
resourceKey="valMaxCountIsNumber.ErrorMessage" CssClass="NormalRed"></asp:CompareValidator>
</td>
</tr>
<tr>
<td class="SubHead" ><dnn:label id="plTagFilter" runat="server" resourcekey="TagFilter" suffix=":" controlname="txtTagFilter"></dnn:label></td>
<td>
<asp:textbox id="txtTagFilter" cssclass="NormalTextBox" runat="server" maxlength="255"></asp:textbox>
</td>
</tr>
<tr>
<td class="SubHead" ><dnn:label id="plRepeatDirection" runat="server" resourcekey="RepeatDirection" suffix=":" controlname="drpRepeatDirection"></dnn:label></td>
<td><asp:dropdownlist id="drpRepeatDirection" Runat="server" CssClass="NormalTextBox" AutoPostBack="False"></asp:dropdownlist></td>
</tr>
<tr>
<td class="SubHead" ><dnn:label id="plRepeatColumns" runat="server" resourcekey="RepeatColumns" suffix=":" controlname="txtRepeatColumns"></dnn:label></td>
<td>
<asp:textbox id="txtRepeatColumns" cssclass="NormalTextBox" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valRepeatColumns" cssclass="NormalRed" runat="server" resourcekey="valRepeatColumns.ErrorMessage"
controltovalidate="txtRepeatColumns" errormessage="<br>Repeat Columns is Required" display="Dynamic"></asp:requiredfieldvalidator>
<asp:CompareValidator id="valRepeatColumnsIsNumber" Runat="server" controltovalidate="txtRepeatColumns"
errormessage="<br>Repeat Columns must be a Number" Type="Integer" Operator="DataTypeCheck" Display="Dynamic"
resourceKey="valRepeatColumnsIsNumber.ErrorMessage" CssClass="NormalRed"></asp:CompareValidator>
</td>
</tr>
<tr>
<td class="SubHead" ><dnn:label id="plBorderStyle" runat="server" resourcekey="BorderStyle" controlname="drpBorderStyle" suffix=":"></dnn:label></td>
<td><asp:DropDownList id="drpBorderStyle" Runat="server" CssClass="NormalTextBox"></asp:DropDownList></td>
</tr>
</table>
<br />
<dnn:SectionHead id="dshAdvanced" cssclass="Head" runat="server" text="Advanced Settings" section="tblAdvanced" resourcekey="AdvancedSettings" IsExpanded="False" />
<table id="tblAdvanced" cellspacing="2" cellpadding="2" summary="Appearance Design Table" border="0" runat="server">
<tr>
<td class="SubHead" ><dnn:label id="plLaunchSlideshow" runat="server" resourcekey="LaunchSlideshow" suffix=":" controlname="chkLaunchSlideshow"></dnn:label></td>
<td><asp:CheckBox id="chkLaunchSlideshow" Runat="server"></asp:CheckBox></td>
</tr>
<tr>
<td class="SubHead" ><dnn:label id="plAlbumSlideshow" runat="server" resourcekey="AlbumSlideshow" suffix=":" controlname="chkAlbumSlideshow"></dnn:label></td>
<td><asp:CheckBox id="chkAlbumSlideshow" Runat="server"></asp:CheckBox></td>
</tr>
<tr>
<td class="SubHead" ><dnn:label id="plIncludeJQuery" runat="server" suffix=":" controlname="chkIncludeJQuery"></dnn:label></td>
<td><asp:CheckBox id="chkIncludeJQuery" Runat="server"></asp:CheckBox></td>
</tr>
</table>
<br />
<dnn:sectionhead id="dshCompressionSettings" cssclass="Head" runat="server" section="tblCompressionSettings" resourcekey="CompressionSettings" IsExpanded="False" />
<table id="tblCompressionSettings" cellspacing="2" cellpadding="2" summary="Template Settings Design Table" border="0" runat="server">
<tr>
<td class="SubHead" ><dnn:label id="plCompressionType" runat="server" resourcekey="CompressionType" suffix=":" controlname="drpCompressionType"></dnn:label></td>
<td><asp:DropDownList id="drpCompressionType" Runat="server" CssClass="NormalTextBox" ></asp:DropDownList></td>
</tr>
<tr>
<td class="SubHead" ><dnn:label id="plThumbnailType" runat="server" suffix=":" controlname="rdoThumbnailType"></dnn:label></td>
<td><asp:radiobuttonlist id="rdoThumbnailType" Runat="server" CssClass="Normal" AutoPostBack="true" RepeatDirection="Horizontal" RepeatLayout="Flow"></asp:radiobuttonlist></td>
</tr>
<tr runat="server" id="trWidth">
<td class="SubHead" ><dnn:label id="plWidth" runat="server" resourcekey="MaxWidth" suffix=":" controlname="txtWidth"></dnn:label></TD>
<TD>
<asp:textbox id="txtWidth" cssclass="NormalTextBox" runat="server" maxlength="50" ></asp:textbox>
<asp:requiredfieldvalidator id="valWidth" runat="server" cssclass="NormalRed"
resourcekey="valWidth.ErrorMessage" display="Dynamic" errormessage="<br> Width is Required" controltovalidate="txtWidth"></asp:requiredfieldvalidator>
<asp:CompareValidator ID="valWidthIsNumber" Runat="server" CssClass="NormalRed"
resourceKey="valWidthIsNumber.ErrorMessage" Display="Dynamic" errormessage="<br> Width must be a Number" controltovalidate="txtWidth" Operator="DataTypeCheck" Type="Integer"></asp:CompareValidator>
</TD>
</tr>
<tr runat="server" id="trHeight">
<td class="SubHead" ><dnn:label id="plHeight" runat="server" resourcekey="MaxHeight" suffix=":" controlname="txtHeight"></dnn:label></td>
<td>
<asp:textbox id="txtHeight" cssclass="NormalTextBox" runat="server" maxlength="50" ></asp:textbox>
<asp:requiredfieldvalidator id="valHeight" runat="server" cssclass="NormalRed"
resourcekey="valHeight.ErrorMessage" display="Dynamic" errormessage="<br> Height is Required" controltovalidate="txtHeight"></asp:requiredfieldvalidator>
<asp:CompareValidator ID="valHeightIsNumber" Runat="server" CssClass="NormalRed"
resourceKey="valHeightIsNumber.ErrorMessage" Display="Dynamic" errormessage="<br> Height must be a Number" controltovalidate="txtHeight" Operator="DataTypeCheck" Type="Integer"></asp:CompareValidator>
</td>
</tr>
<tr runat="server" id="trSquare">
<td class="SubHead" ><dnn:label id="plSquare" runat="server" suffix=":" controlname="txtSquare"></dnn:label></td>
<td>
<asp:textbox id="txtSquare" cssclass="NormalTextBox" runat="server" maxlength="50" ></asp:textbox>
<asp:requiredfieldvalidator id="valSquare" runat="server" cssclass="NormalRed"
resourcekey="valSquare.ErrorMessage" display="Dynamic" errormessage="<br> Square is Required" controltovalidate="txtSquare"></asp:requiredfieldvalidator>
<asp:CompareValidator ID="valSquareIsNumber" Runat="server" CssClass="NormalRed"
resourceKey="valSquareIsNumber.ErrorMessage" Display="Dynamic" errormessage="<br> Square must be a Number" controltovalidate="txtSquare" Operator="DataTypeCheck" Type="Integer"></asp:CompareValidator>
</td>
</tr>
</table>
<br />
<dnn:sectionhead id="dshTemplateSettings" cssclass="Head" runat="server" section="tblTemplateSettings" resourcekey="TemplateSettings" IsExpanded="False" />
<table id="tblTemplateSettings" cellspacing="2" cellpadding="2" summary="Template Settings Design Table" border="0" runat="server">
<tr>
<td class="SubHead" ><dnn:label id="plTemplateType" runat="server" suffix=":" controlname="rdoTemplateType"></dnn:label></td>
<td><asp:radiobuttonlist id="rdoTemplateType" Runat="server" CssClass="Normal" RepeatDirection="Horizontal" RepeatLayout="Flow"></asp:radiobuttonlist></td>
</tr>
<tr runat="Server" id="trTemplateHeader">
<td class="SubHead" >Header</td>
<td><asp:TextBox ID="txtTemplateHeader" Runat="server" TextMode="MultiLine" CssClass="NormalTextBox" Rows="10" /></td>
</tr>
<tr runat="Server" id="trPhotoTemplate">
<td class="SubHead" ><dnn:label id="plPhotoTemplate" runat="server" resourcekey="PhotoTemplate" suffix=":" controlname="txtPhotoTemplate"></dnn:label></td>
<td><asp:TextBox ID="txtPhotoTemplate" Runat="server" TextMode="MultiLine" CssClass="NormalTextBox" Rows="10" /></td>
</tr>
<tr runat="Server" id="trAlbumTemplate">
<td class="SubHead" ><dnn:label id="plAlbumTemplate" runat="server" resourcekey="AlbumTemplate" suffix=":" controlname="txtAlbumTemplate"></dnn:label></td>
<td><asp:TextBox ID="txtAlbumTemplate" Runat="server" TextMode="MultiLine" CssClass="NormalTextBox" Rows="10" /></td>
</tr>
</tr>
<tr runat="Server" id="trTemplateFooter">
<td class="SubHead" >Footer</td>
<td><asp:TextBox ID="txtTemplateFooter" Runat="server" TextMode="MultiLine" CssClass="NormalTextBox" Rows="10" /></td>
</tr>
</table>