📄 systemcontrol.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SystemControl.ascx.cs" Inherits="Admin_SystemControl" %>
<br />
系统设置<br />
<table border="1" cellpadding="3" cellspacing="0" style="text-align: left" width="500">
<tr>
<td>
论坛名称</td>
<td colspan="2">
<asp:TextBox ID="tbxBBSName" runat="server" MaxLength="500" ValidationGroup="SystemSetting"
Width="155px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbxBBSName"
Display="Dynamic" ErrorMessage="请输入论坛名称!" ValidationGroup="SystemSetting"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td>
SMTP服务器</td>
<td colspan="2">
<asp:TextBox ID="tbxSMTP" runat="server" MaxLength="500" ValidationGroup="SystemSetting" Width="155px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Display="Dynamic"
ErrorMessage="请输入SMTP服务器!" ValidationGroup="SystemSetting" ControlToValidate="tbxSMTP"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td>
SMTP账户</td>
<td colspan="2">
<asp:TextBox ID="tbxSMTPUser" runat="server" MaxLength="500" ValidationGroup="SystemSetting"
Width="155px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="tbxSMTPUser"
Display="Dynamic" ErrorMessage="请输入STMP账户!" ValidationGroup="SystemSetting"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td>
SMTP密码</td>
<td colspan="2">
<asp:TextBox ID="tbxSMTPPassword" runat="server" MaxLength="500" TextMode="Password"
ValidationGroup="SystemSetting" Width="155px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="tbxSMTPPassword"
Display="Dynamic" ErrorMessage="请输入SMTP密码!" ValidationGroup="SystemSetting"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td>
发件人地址:</td>
<td colspan="2">
<asp:TextBox ID="tbxSendAS" runat="server" MaxLength="500" ValidationGroup="SystemSetting"
Width="155px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="tbxSendAS"
Display="Dynamic" ErrorMessage="请输入发件人地址!" ValidationGroup="SystemSetting"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td>
系统Logo</td>
<td colspan="2">
<asp:HyperLink ID="hlLogo" runat="server" Target="_blank">查看</asp:HyperLink>
</td>
</tr>
<tr>
<td>
上传新Logo</td>
<td colspan="2">
<asp:FileUpload ID="FileUpload1" runat="server" /></td>
</tr>
<tr>
<td>
顶部广告图片URL</td>
<td colspan="2">
<asp:TextBox ID="tbxTopBanner" runat="server" MaxLength="500" ValidationGroup="SystemSetting"
Width="155px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="tbxTopBanner"
Display="Dynamic" ErrorMessage="请输入导航图片URL!" ValidationGroup="SystemSetting"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td>
顶部广告导航URL</td>
<td colspan="2">
<asp:TextBox ID="tbxTopBannerNavigateURL" runat="server" MaxLength="500" ValidationGroup="SystemSetting"
Width="155px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="tbxTopBannerNavigateURL"
Display="Dynamic" ErrorMessage="请输入导航URL!" ValidationGroup="SystemSetting"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td>
顶部广告替代文字</td>
<td colspan="2">
<asp:TextBox ID="tbxTopBannerAlter" runat="server" MaxLength="500" ValidationGroup="SystemSetting"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="tbxTopBannerAlter"
ErrorMessage="请输入替代文字!" ValidationGroup="SystemSetting"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td colspan="3">
<asp:Button ID="btnConfirm" runat="server" OnClick="btnConfirm_Click" Text="修改"
ValidationGroup="SystemSetting" />
<asp:Button ID="btnCancle" runat="server" CausesValidation="False" OnClick="btnCancle_Click"
Text="取消" /></td>
</tr>
</table>
<br />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -