-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMiniCartSettings.ascx
44 lines (44 loc) · 4.42 KB
/
MiniCartSettings.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
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MiniCartSettings.ascx.cs" Inherits="DotNetNuke.Modules.Store.WebControls.MiniCartSettings" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<div class="dnnForm">
<fieldset>
<div class="dnnFormItem">
<dnn:Label id="lblShowThumbnail" runat="server" controlname="chkShowThumbnail"></dnn:Label>
<asp:CheckBox id="chkShowThumbnail" runat="server" AutoPostBack="True" OnCheckedChanged="chkShowThumbnail_CheckedChanged" />
</div>
<div class="dnnFormItem" id="trThumbnailWidth" runat="server">
<dnn:Label id="lblThumbnailWidth" runat="server" controlname="txtThumbnailWidth"></dnn:Label>
<asp:TextBox id="txtThumbnailWidth" runat="server" MaxLength="3" Width="30"></asp:TextBox>
<asp:RequiredFieldValidator ID="valReqThumbnailWidth" runat="server" ErrorMessage="Thumbnail Width is required!" resourcekey="valReqThumbnailWidth" ControlToValidate="txtThumbnailWidth" Display="Dynamic" SetFocusOnError="True" CssClass="dnnFormMessage dnnFormError"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="valCompThumbnailWidth" runat="server" ErrorMessage="A numeric value is required!" resourcekey="valCompThumbnailWidth" ControlToValidate="txtThumbnailWidth" Display="Dynamic" Operator="DataTypeCheck" Type="Integer" CssClass="dnnFormMessage dnnFormError"></asp:CompareValidator>
</div>
<div class="dnnFormItem" id="trGIFBgColor" runat="server">
<dnn:Label ID="lblGIFBgColor" runat="server" ResourceKey="lblGIFBgColor" ControlName="txtGIFBgColor"></dnn:Label>
<asp:textbox id="txtGIFBgColor" runat="server" width="80" MaxLength="7"></asp:textbox>
<asp:RequiredFieldValidator ID="valReqGIFBgColor" runat="server" ErrorMessage="Background color for GIF images is required!" resourcekey="valReqGIFBgColor" ControlToValidate="txtGIFBgColor" Display="Dynamic" SetFocusOnError="True" CssClass="dnnFormMessage dnnFormError"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="valRegExGIFBgColor" runat="server" ErrorMessage="A valid HTML Color is required!" resourcekey="valRegExGIFBgColor" ControlToValidate="txtGIFBgColor" Display="Dynamic" SetFocusOnError="True" ValidationExpression="^#?([a-f]|[A-F]|[0-9]){3}(([a-f]|[A-F]|[0-9]){3})?$" CssClass="dnnFormMessage dnnFormError"></asp:RegularExpressionValidator>
</div>
<div class="dnnFormItem" id="trEnableImageCaching" runat="server">
<dnn:Label ID="lblEnableImageCaching" runat="server" ResourceKey="lblEnableImageCaching" ControlName="chkEnableImageCaching"></dnn:Label>
<asp:checkbox id="chkEnableImageCaching" runat="server" AutoPostBack="True" OnCheckedChanged="chkEnableImageCaching_CheckedChanged"></asp:checkbox>
</div>
<div class="dnnFormItem" id="trCacheDuration" runat="server">
<dnn:Label ID="lblCacheDuration" runat="server" ResourceKey="lblCacheDuration" ControlName="txtCacheDuration"></dnn:Label>
<asp:textbox id="txtCacheDuration" runat="server" width="80"></asp:textbox>
<asp:RequiredFieldValidator ID="valReqCacheDuration" runat="server" ErrorMessage="Cache Duration is required!" resourcekey="valReqCacheDuration" ControlToValidate="txtCacheDuration" Display="Dynamic" SetFocusOnError="True" CssClass="dnnFormMessage dnnFormError"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="valCompCacheDuration" runat="server" ErrorMessage="A numeric value is required!" resourcekey="valCompCacheDuration" ControlToValidate="txtCacheDuration" Display="Dynamic" Operator="DataTypeCheck" Type="Integer" CssClass="dnnFormMessage dnnFormError"></asp:CompareValidator>
</div>
<div class="dnnFormItem">
<dnn:Label id="lblProductColumn" runat="server" controlname="lstProductColumn"></dnn:Label>
<asp:DropDownList id="lstProductColumn" runat="server" AutoPostBack="false"></asp:DropDownList>
</div>
<div class="dnnFormItem">
<dnn:Label id="lblLinkToDetail" runat="server" controlname="chkLinkToDetail"></dnn:Label>
<asp:CheckBox id="chkLinkToDetail" runat="server" />
</div>
<div class="dnnFormItem">
<dnn:Label id="lblIncludeVAT" runat="server" controlname="chkIncludeVAT"></dnn:Label>
<asp:CheckBox id="chkIncludeVAT" runat="server" />
</div>
</fieldset>
</div>