forked from DNN-Connect/UserAccountUpdate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Templates.ascx
74 lines (58 loc) · 3.23 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
<%@ Control Language="vb" AutoEventWireup="false" Inherits="Connect.Modules.UserManagement.AccountUpdate.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="ConnectAccountUpdateTemplates" 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="AccountUpdateTemplatesTabs" 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="#dvEmailAdmin"><asp:Label id="lblEmailAdmin" runat="server" resourcekey="lblEmailAdmin" /></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="dvEmailAdmin">
<asp:TextBox ID="txtEmailAdmin" 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() {
$('#ConnectAccountUpdateTemplates').dnnTabs();
}
$(document).ready(function () {
setupFormSettings();
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function () {
setupFormSettings();
});
});
} (jQuery, window.Sys));
</script>