forked from ventrian/News-Articles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathucTemplateEditor.ascx
executable file
·120 lines (119 loc) · 6.87 KB
/
ucTemplateEditor.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
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="ucTemplateEditor.ascx.vb" Inherits="Ventrian.NewsArticles.ucTemplateEditor" %>
<%@ Register TagPrefix="article" TagName="Header" Src="ucHeader.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"%>
<%@ Register TagPrefix="dnn" TagName="SectionHead" Src="~/controls/SectionHeadControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<article:header id="ucHeader1" runat="server" SelectedMenu="AdminOptions" MenuPosition="Top"></article:header>
<asp:Label ID="lblUpdated" runat="server" CssClass="Normal" ResourceKey="Updated" EnableViewState="false" Visible="false" />
<table class="Settings" cellSpacing="2" cellPadding="2" summary="Edit Page Design Table"
border="0" width="100%">
<tr>
<td vAlign="top"><asp:panel id="pnlSettings" runat="server" cssclass="WorkPanel" visible="True">
<dnn:sectionhead id="dshSiteTemplates" runat="server" cssclass="Head" includerule="True" section="tblSiteTemplates"
text="Site Templates" resourcekey="SiteTemplates"></dnn:sectionhead>
<TABLE id="tblSiteTemplates" cellSpacing="0" cellPadding="2" summary="Page Settings Design Table"
border="0" runat="server">
<TR>
<TD colSpan="3">
<asp:label id="lblSiteTemplatesHelp" runat="server" cssclass="Normal" resourcekey="SiteTemplatesDescription"
enableviewstate="False"></asp:label></TD>
</TR>
<TR vAlign="top">
<TD width="25"></TD>
<TD class="SubHead" width="150">
<dnn:label id="plTemplate" runat="server" resourcekey="Template" controlname="drpTemplate"
suffix=":"></dnn:label></TD>
<TD align="left">
<asp:DropDownList id="drpTemplate" Runat="server" CssClass="NormalTextBox" AutoPostBack="True"></asp:DropDownList></TD>
</TR>
<TR vAlign="top">
<TD width="25"></TD>
<TD class="SubHead" width="150">
<dnn:label id="plFile" runat="server" resourcekey="File" controlname="drpFile" suffix=":"></dnn:label></TD>
<TD align="left">
<asp:DropDownList id="drpFile" Runat="server" CssClass="NormalTextBox" AutoPostBack="True">
<asp:ListItem>Category.Child.Html</asp:ListItem>
<asp:ListItem>Category.Html</asp:ListItem>
<asp:ListItem>Comment.Item.Html</asp:ListItem>
<asp:ListItem>File.Header.Html</asp:ListItem>
<asp:ListItem>File.Item.Html</asp:ListItem>
<asp:ListItem>File.Footer.Html</asp:ListItem>
<asp:ListItem>Handout.Cover.Html</asp:ListItem>
<asp:ListItem>Handout.Header.Html</asp:ListItem>
<asp:ListItem>Handout.Item.Html</asp:ListItem>
<asp:ListItem>Handout.Footer.Html</asp:ListItem>
<asp:ListItem>Handout.End.Html</asp:ListItem>
<asp:ListItem>Image.Header.Html</asp:ListItem>
<asp:ListItem>Image.Item.Html</asp:ListItem>
<asp:ListItem>Image.Footer.Html</asp:ListItem>
<asp:ListItem>Listing.Header.Html</asp:ListItem>
<asp:ListItem>Listing.Item.Html</asp:ListItem>
<asp:ListItem>Listing.Featured.Html</asp:ListItem>
<asp:ListItem>Listing.Footer.Html</asp:ListItem>
<asp:ListItem>Listing.Empty.Html</asp:ListItem>
<asp:ListItem>Menu.Item.Html</asp:ListItem>
<asp:ListItem>Print.Item.Html</asp:ListItem>
<asp:ListItem>Related.Header.Html</asp:ListItem>
<asp:ListItem>Related.Item.Html</asp:ListItem>
<asp:ListItem>Related.Footer.Html</asp:ListItem>
<asp:ListItem>Rss.Header.Html</asp:ListItem>
<asp:ListItem>Rss.Item.Html</asp:ListItem>
<asp:ListItem>Rss.Footer.Html</asp:ListItem>
<asp:ListItem>Rss.Comment.Header.Html</asp:ListItem>
<asp:ListItem>Rss.Comment.Item.Html</asp:ListItem>
<asp:ListItem>Rss.Comment.Footer.Html</asp:ListItem>
<asp:ListItem>View.Item.Html</asp:ListItem>
<asp:ListItem>View.Title.Html</asp:ListItem>
<asp:ListItem>View.Description.Html</asp:ListItem>
<asp:ListItem>View.Keyword.Html</asp:ListItem>
<asp:ListItem>View.PageHeader.Html</asp:ListItem>
<asp:ListItem>Template.css</asp:ListItem>
</asp:DropDownList></TD>
</TR>
<TR>
<TD width="25"></TD>
<TD class="SubHead" width="150">
<dnn:label id="plTemplateText" runat="server" resourcekey="TemplateText" controlname="txtTemplate"
suffix=":" helpkey="TemplateTextHelp"></dnn:label></TD>
<TD class="NormalTextBox">
<asp:textbox id="txtTemplate" runat="server" cssclass="NormalTextBox" width="450px" rows="20"
textmode="MultiLine"></asp:textbox></TD>
</TR>
</TABLE>
<BR>
<dnn:sectionhead id="dshTemplateHelp" runat="server" cssclass="Head" includerule="True" section="tblSiteTemplateHelp"
text="Site Template Help" resourcekey="SiteTemplateHelp" isExpanded="false"></dnn:sectionhead>
<TABLE id="tblSiteTemplateHelp" cellSpacing="0" cellPadding="2" width="525" summary="Site Template Help Design Table"
border="0" runat="server">
<TR>
<TD colSpan="3">
<asp:label id="lblTemplateHelp" runat="server" cssclass="Normal" resourcekey="SiteTemplateHelpDescription"
enableviewstate="False"></asp:label></TD>
</TR>
</TABLE>
<BR>
<dnn:sectionhead id="dshTemplateNew" runat="server" cssclass="Head" includerule="True" section="tblTemplateNew"
text="Create New Template" resourcekey="NewTemplate" isExpanded="false"></dnn:sectionhead>
<TABLE id="tblTemplateNew" cellSpacing="0" cellPadding="2" width="525" summary="New Template Help Design Table"
border="0" runat="server">
<TR>
<TD width="25"></TD>
<TD class="SubHead" width="150">
<dnn:label id="plNewTemplateName" runat="server" resourcekey="NewTemplateName" controlname="txtNewTemplate"
suffix=":" helpkey="NewTemplateNameHelp"></dnn:label></TD>
<TD class="NormalTextBox" width="325">
<asp:textbox id="txtNewTemplate" runat="server" cssclass="NormalTextBox" MaxLength="100" Width="200px"></asp:textbox>
<asp:linkbutton id="cmdCreate" runat="server" cssclass="CommandButton" text="Create" resourcekey="cmdCreate"
borderstyle="none"></asp:linkbutton>
<asp:Label ID="lblTemplateCreated" runat="Server" EnableViewState="False" ResourceKey="TemplateCreated" Visible="False" CssClass="NormalBold" />
</TD>
</TR>
</TABLE>
</asp:panel></td>
</tr>
</table>
<p><asp:linkbutton id="cmdUpdate" runat="server" cssclass="CommandButton" resourcekey="cmdUpdate" text="Update"
borderstyle="none"></asp:linkbutton>
<asp:linkbutton id="cmdCancel" runat="server" cssclass="CommandButton" resourcekey="cmdCancel" text="Cancel"
borderstyle="none" causesvalidation="False"></asp:linkbutton></p>
<article:header id="ucHeader2" runat="server" SelectedMenu="AdminOptions" MenuPosition="Bottom"></article:header>