forked from DNN-Connect/UserAccountRegistration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Templates.ascx
86 lines (66 loc) · 3.89 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
<%@ Control Language="vb" AutoEventWireup="false" Inherits="Connect.Modules.UserManagement.AccountRegistration.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="ConnectRegisterTemplates" 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="RegisterTemplatesTabs" runat="Server" class="dnnAdminTabNav dnnClear">
<li><a href="#dvFormTemplate"><asp:Label id="lblFormTemplate" runat="server" resourcekey="lblFormTemplate" /></a></li>
<li><a href="#dvEmailUser"><asp:Label id="lblEmailUser" runat="server" resourcekey="lblEmailUser" /></a></li>
<li><a href="#dvEmailUserPrivate"><asp:Label id="lblEmailUserPrivate" runat="server" resourcekey="lblEmailUserPrivate" /></a></li>
<li><a href="#dvEmailUserVerified"><asp:Label id="lblEmailUserVerified" runat="server" resourcekey="lblEmailUserVerified" /></a></li>
<li><a href="#dvEmailAdminTemplate"><asp:Label id="lblEmailAdminTemplate" runat="server" resourcekey="lblEmailAdminTemplate" /></a></li>
</ul>
<div class="dnnFormItem dnnClear" id="dvFormTemplate">
<asp:TextBox ID="txtFormTemplate" runat="server" TextMode="MultiLine" rows="20"></asp:TextBox>
</div>
<div class="dnnFormItem dnnClear" id="dvEmailUser">
<asp:TextBox ID="txtEmailUser" runat="server" TextMode="MultiLine" rows="20"></asp:TextBox>
</div>
<div class="dnnFormItem dnnClear" id="dvEmailUserPrivate">
<asp:TextBox ID="txtEmailUserPrivate" runat="server" TextMode="MultiLine" rows="20"></asp:TextBox>
</div>
<div class="dnnFormItem dnnClear" id="dvEmailUserVerified">
<asp:TextBox ID="txtEmailUserVerified" runat="server" TextMode="MultiLine" rows="20"></asp:TextBox>
</div>
<div class="dnnFormItem dnnClear" id="dvEmailAdminTemplate">
<asp:TextBox ID="txtEmailAdminTemplate" runat="server" TextMode="MultiLine" rows="20"></asp:TextBox>
</div>
<ul class="dnnActions">
<li><asp:LinkButton ID="cmdUpdate" runat="server" CssClass="dnnPrimaryAction"></asp:LinkButton></li>
<li><asp:LinkButton ID="cmdUpdateExit" 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() {
$('#ConnectRegisterTemplates').dnnTabs();
}
$(document).ready(function () {
setupFormSettings();
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function () {
setupFormSettings();
});
});
} (jQuery, window.Sys));
</script>