-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEditBlogRollBox.ascx
71 lines (71 loc) · 5.15 KB
/
EditBlogRollBox.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
<%@ Register TagPrefix="uc1" TagName="EditBlogRollItem" Src="EditBlogRollItem.ascx" %>
<%@ Register TagPrefix="uc1" TagName="EditBlogRollEditItem" Src="EditBlogRollEditItem.ascx" %>
<%@ Register TagPrefix="cc1" Namespace="newtelligence.DasBlog.Web.Core.WebControls" Assembly="newtelligence.DasBlog.Web.Core" %>
<%@ Control Language="c#" AutoEventWireup="True" Codebehind="EditBlogRollBox.ascx.cs" Inherits="newtelligence.DasBlog.Web.EditBlogRollBox" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<div class="bodyContentStyle">
<div class="pageTopic">
<asp:Label id="Label1" runat="server" Text='<%# resmgr.GetString("text_blogrolls_title")%>'>
</asp:Label>
</div>
<div class="configSectionStyle">
<table id="Table2" cellspacing="0" cellpadding="2" width="100%" border="0">
<tr>
<td nowrap="nowrap"><asp:label id="labelOpmlList" runat="server" Text='<%# resmgr.GetString("text_opml_files") %>'></asp:label></td>
<td width="98%"><asp:dropdownlist id="listFiles" runat="server" Width="100%"></asp:dropdownlist></td>
<td><asp:button id="buttonSelect" runat="server" Width="60px" Font-Size="8pt" Text='<%# resmgr.GetString("text_select") %>' onclick="buttonSelect_Click"></asp:button></td>
</tr>
<tr>
<td nowrap="nowrap"></td>
<td width="98%"><asp:textbox id="textNewFileName" runat="server" Width="99%"></asp:textbox></td>
<td><asp:button id="buttonCreate" runat="server" Width="60px" Font-Size="8pt" Text='<%# resmgr.GetString("text_create") %>' onclick="buttonCreate_Click"></asp:button></td>
</tr>
</table>
<cc1:ShadowBox id="shadowBox" style="MARGIN-TOP:10px" Width="100%" runat="server" ShadowDepth="6">
<asp:datagrid id=blogRollGrid runat="server" Width="100%" AutoGenerateColumns="False" AllowPaging="True" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1" CellPadding="4">
<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#000099"></SelectedItemStyle>
<AlternatingItemStyle BackColor="WhiteSmoke"></AlternatingItemStyle>
<HeaderStyle Font-Bold="True" CssClass="sidetitle"></HeaderStyle>
<Columns>
<asp:TemplateColumn HeaderText="Blogroll Feeds">
<HeaderStyle Width="98%"></HeaderStyle>
<HeaderTemplate>
<span class="configLabelStyle">OPML</span>
</HeaderTemplate>
<ItemTemplate>
<uc1:EditBlogRollItem id=editBlogRollItem title='<%# DataBinder.Eval(Container,"DataItem.title")%>' runat="server" Description='<%# DataBinder.Eval(Container,"DataItem.description")%>' XmlUrl='<%# DataBinder.Eval(Container,"DataItem.xmlUrl")%>' HtmlUrl='<%# DataBinder.Eval(Container,"DataItem.htmlUrl")%>' Outline='<%# DataBinder.Eval(Container,"DataItem.outline")%>'>
</uc1:EditBlogRollItem>
</ItemTemplate>
<EditItemTemplate>
<uc1:EditBlogRollEditItem id=editBlogRollEditItem title='<%# DataBinder.Eval(Container,"DataItem.title")%>' runat="server" Description='<%# DataBinder.Eval(Container,"DataItem.description")%>' XmlUrl='<%# DataBinder.Eval(Container,"DataItem.xmlUrl")%>' HtmlUrl='<%# DataBinder.Eval(Container,"DataItem.htmlUrl")%>' Outline='<%# DataBinder.Eval(Container,"DataItem.outline")%>'>
</uc1:EditBlogRollEditItem>
</EditItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<HeaderStyle Width="55px"></HeaderStyle>
<ItemStyle VerticalAlign="Top"></ItemStyle>
<HeaderTemplate>
<div style="white-space: nowrap;">
<asp:ImageButton id=buttonAddItem runat="server" ImageUrl='<%# ((newtelligence.DasBlog.Web.Core.SharedBasePage)Page).GetThemedImageUrl("addbutton-list") %>' CommandName="AddItem" ToolTip='<%# resmgr.GetString("tooltip_item_add") %>'>
</asp:ImageButton></div>
</HeaderTemplate>
<ItemTemplate>
<div style="white-space: nowrap;">
<asp:ImageButton id=ImageButton1 runat="server" ImageUrl='<%# ((newtelligence.DasBlog.Web.Core.SharedBasePage)Page).GetThemedImageUrl("editbutton-list") %>' CommandName="Edit" ToolTip='<%# resmgr.GetString("tooltip_item_edit") %>' AlternateText="Edit" CausesValidation="False">
</asp:ImageButton>
<asp:ImageButton id=ImageButton2 runat="server" ImageUrl='<%# ((newtelligence.DasBlog.Web.Core.SharedBasePage)Page).GetThemedImageUrl("deletebutton-list") %>' CommandName="Delete" ToolTip='<%# resmgr.GetString("tooltip_item_delete") %>' AlternateText="Delete" CausesValidation="False">
</asp:ImageButton></div>
</ItemTemplate>
<EditItemTemplate>
<div style="white-space: nowrap;">
<asp:ImageButton id=ImageButton3 runat="server" ImageUrl='<%# ((newtelligence.DasBlog.Web.Core.SharedBasePage)Page).GetThemedImageUrl("okbutton-list") %>' CommandName="Update" ToolTip='<%# resmgr.GetString("tooltip_item_ok") %>' AlternateText="Ok" CausesValidation="False">
</asp:ImageButton>
<asp:ImageButton id=ImageButton4 runat="server" ImageUrl='<%# ((newtelligence.DasBlog.Web.Core.SharedBasePage)Page).GetThemedImageUrl("undobutton-list") %>' CommandName="Cancel" ToolTip='<%# resmgr.GetString("tooltip_item_cancel") %>' AlternateText="Cancel" CausesValidation="False">
</asp:ImageButton></div>
</EditItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle HorizontalAlign="Center" Mode="NumericPages"></PagerStyle>
</asp:datagrid>
</cc1:ShadowBox>
</div>
</div>