📄 settings.aspx
字号:
<%@ Page language="c#" Codebehind="Settings.aspx.cs" AutoEventWireup="false" Inherits="Wrox.WebModules.MailingLists.Web.Settings" %>
<%@ Register TagPrefix="MailingLists" TagName="AdminHeader" src="AdminHeader.ascx" %>
<%@ Register TagPrefix="MailingLists" TagName="AdminFooter" src="AdminFooter.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>MailingLists: Settings</title>
<link rel="stylesheet" HREF="/ThePhile/Styles/ThePhile.css" TYPE="text/css" />
<link href="/ThePhile/Styles/Navigator.css" rel="stylesheet" />
<meta content="C#" name="CODE_LANGUAGE">
</head>
<body>
<form method="post" runat="server" ID="Settings">
<!-- Insert the menu user control -->
<MailingLists:AdminHeader id="Menu" runat="server" />
<asp:table ID="TableSettings" runat="server" CssClass="Grid_General" Width="100%">
<asp:TableRow>
<asp:TableCell Width="200px" Text="Connection string:" />
<asp:TableCell>
<asp:TextBox runat="server" Width="100%" ID="ConnectionString" CssClass="TextBox" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="ConnectionString" Display="dynamic" ID="Requiredfieldvalidator6"><br>* This field is required
</asp:RequiredFieldValidator>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="Subscribe.aspx URL:" />
<asp:TableCell>
<asp:TextBox runat="server" Width="100%" ID="SubscribeURL" CssClass="TextBox" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="SubscribeURL" Display="dynamic" ID="Requiredfieldvalidator1"><br>* This field is required
</asp:RequiredFieldValidator>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="News Sender Name:" />
<asp:TableCell>
<asp:TextBox runat="server" Width="100%" ID="SenderName" CssClass="TextBox" />
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="News Sender Email:" />
<asp:TableCell>
<asp:TextBox runat="server" Width="100%" ID="SenderEmail" CssClass="TextBox" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="SenderEmail" Display="dynamic" ID="Requiredfieldvalidator2"><br>* This field is required
</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator runat="server" validationExpression=".*@.*\..*" ControlToValidate="SenderEmail" Display="dynamic" ID="Regularexpressionvalidator1"><br>* This Email address is not valid
</asp:RegularExpressionValidator>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="News Subject:" />
<asp:TableCell>
<asp:TextBox runat="server" Width="100%" ID="NewsSubject" CssClass="TextBox" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="NewsSubject" Display="dynamic" ID="Requiredfieldvalidator3"><br>* This field is required
</asp:RequiredFieldValidator>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="Subscription Subject:" />
<asp:TableCell>
<asp:TextBox runat="server" Width="100%" ID="SubscrSubject" CssClass="TextBox" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="SubscrSubject" Display="dynamic" ID="Requiredfieldvalidator4"><br>* This field is required
</asp:RequiredFieldValidator>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="Subscription Message:" VerticalAlign="Top" />
<asp:TableCell>
<asp:TextBox runat="server" Rows="5" TextMode="MultiLine" Width="100%" ID="SubscrMessage" CssClass="TextBox" />
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="Unsubscription Subject:" />
<asp:TableCell>
<asp:TextBox runat="server" Width="100%" ID="UnsubscrSubject" CssClass="TextBox" />
<asp:RequiredFieldValidator runat="server" ControlToValidate="UnSubscrSubject" Display="dynamic" ID="Requiredfieldvalidator5"><br>* This field is required
</asp:RequiredFieldValidator>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="Unsubscription Message:" VerticalAlign="Top" />
<asp:TableCell>
<asp:TextBox runat="server" Rows="5" TextMode="MultiLine" Width="100%" ID="UnsubscrMessage" CssClass="TextBox" />
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="Signature:" VerticalAlign="Top" />
<asp:TableCell>
<asp:TextBox runat="server" Rows="5" TextMode="MultiLine" Width="100%" ID="Signature" CssClass="TextBox" />
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="Unsubscription Action:" />
<asp:TableCell>
<asp:RadioButton runat="server" ID="UnsubscrActionRemove" GroupName="UnsubscrAction" Text="Remove"></asp:RadioButton>
<asp:RadioButton runat="server" ID="UnsubscrActionInactive" GroupName="UnsubscrAction" Text="Set inactive"></asp:RadioButton>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="Send Subscription Email:" />
<asp:TableCell>
<asp:CheckBox runat="server" ID="SendSubscrEmail"></asp:CheckBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell Text="Send Unsubscription Email:" />
<asp:TableCell>
<asp:CheckBox runat="server" ID="SendUnsubscrEmail"></asp:CheckBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow VerticalAlign="Bottom" Height="50px">
<asp:TableCell />
<asp:TableCell>
<asp:Button runat="server" Text="Update" ID="Update" CssClass="Button" OnClick="Update_Click"></asp:Button>
</asp:TableCell>
</asp:TableRow>
</asp:table>
<!-- Insert the footer pagelet -->
<MailingLists:AdminFooter id="Footer" runat="server" />
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -