This repository has been archived by the owner on Feb 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathTemplates.ascx
88 lines (69 loc) · 4.05 KB
/
Templates.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
<%@ Control Language="vb" AutoEventWireup="false" Inherits="Connect.Modules.MailChimpConnector.Templates" Codebehind="Templates.ascx.vb" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.UI.WebControls" Assembly="DotNetNuke.Web" %>
<div id="MailChimpTemplates" class="dnnForm dnnClear">
<div class="dnnFormItem">
<dnn:label id="plTheme" controlname="drpThemes" runat="server" />
<asp:DropDownList ID="drpThemes" runat="server" AutoPostBack="true"></asp:DropDownList>
<asp:LinkButton ID="cmdCopySelected" runat="server"></asp:LinkButton>
<asp:LinkButton ID="cmdDeleteSelected" runat="server"></asp:LinkButton>
</div>
<div class="dnnFormItem" runat="server" id="pnlLocales" visible="false">
<dnn:label id="plLocale" controlname="drpLocales" runat="server" />
<asp:DropDownList ID="drpLocales" runat="server" AutoPostBack="true"></asp:DropDownList>
</div>
<div class="dnnFormItem">
<dnn:label id="plUseTheme" controlname="txtTemplateName" runat="server" />
<asp:CheckBox ID="chkUseTheme" runat="server" />
</div>
<div class="dnnFormItem" runat="server" id="pnlTemplateName" visible="false">
<dnn:label id="plTemplateName" controlname="txtTemplateName" runat="server" />
<asp:TextBox ID="txtTemplateName" runat="server"></asp:TextBox>
</div>
<ul id="MailChimpTemplatesTabs" runat="Server" class="dnnAdminTabNav dnnClear">
<li><a href="#dvFormSubscribe"><asp:Label id="lblFormSubscribe" runat="server" resourcekey="lblFormSubscribe" /></a></li>
<li><a href="#dvFormSubscribeResult"><asp:Label id="lblFormSubscribeResult" runat="server" resourcekey="lblFormSubscribeResult" /></a></li>
<li><a href="#dvUnSubscribe"><asp:Label id="lblUnSubscribe" runat="server" resourcekey="lblUnSubscribe" /></a></li>
<li><a href="#dvUnSubscribeResult"><asp:Label id="lblUnSubscribeResult" runat="server" resourcekey="lblUnSubscribeResult" /></a></li>
<li><a href="#dvSettings"><asp:Label id="lblSettings" runat="server" resourcekey="lblSettings" /></a></li>
<li><a href="#dvSettingsResult"><asp:Label id="lblSettingsResult" runat="server" resourcekey="lblSettingsResult" /></a></li>
</ul>
<div class="dnnFormItem dnnClear" id="dvFormSubscribe">
<asp:TextBox ID="txtFormSubscribe" runat="server" TextMode="MultiLine" rows="20"></asp:TextBox>
</div>
<div class="dnnFormItem dnnClear" id="dvFormSubscribeResult">
<asp:TextBox ID="txtFormSubscribeResult" runat="server" TextMode="MultiLine" rows="20"></asp:TextBox>
</div>
<div class="dnnFormItem dnnClear" id="dvUnSubscribe">
<asp:TextBox ID="txtUnSubscribe" runat="server" TextMode="MultiLine" rows="20"></asp:TextBox>
</div>
<div class="dnnFormItem dnnClear" id="dvUnSubscribeResult">
<asp:TextBox ID="txtUnSubscribeResult" runat="server" TextMode="MultiLine" rows="20"></asp:TextBox>
</div>
<div class="dnnFormItem dnnClear" id="dvSettings">
<asp:TextBox ID="txtSettings" runat="server" TextMode="MultiLine" rows="20"></asp:TextBox>
</div>
<div class="dnnFormItem dnnClear" id="dvSettingsResult">
<asp:TextBox ID="txtSettingsResult" runat="server" TextMode="MultiLine" rows="20"></asp:TextBox>
</div>
<ul class="dnnActions">
<li><asp:LinkButton ID="cmdUpdateSettings" runat="server" CssClass="dnnPrimaryAction"></asp:LinkButton></li>
<li><asp:LinkButton ID="cmdCancel" runat="server" CssClass="dnnSecondaryAction"></asp:LinkButton></li>
</ul>
</div>
<script language="javascript" type="text/javascript">
/*globals jQuery, window, Sys */
(function ($, Sys) {
function setupFormSettings() {
$('#MailChimpTemplates').dnnTabs();
}
$(document).ready(function () {
setupFormSettings();
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function () {
setupFormSettings();
});
});
} (jQuery, window.Sys));
</script>