websitepanel/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SystemSettings.ascx

65 lines
No EOL
3.2 KiB
Text

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SystemSettings.ascx.cs" Inherits="WebsitePanel.Portal.SystemSettings" %>
<%@ Register TagPrefix="wsp" TagName="CollapsiblePanel" Src="UserControls/CollapsiblePanel.ascx" %>
<%@ Register src="UserControls/EditFeedsList.ascx" tagname="EditFeedsList" tagprefix="uc1" %>
<div class="FormBody">
<wsp:CollapsiblePanel id="lclSmtpSettings" runat="server"
TargetControlID="SmtpPanel" meta:resourcekey="lclSmtpSettings" Text="SMTP Server"/>
<asp:Panel ID="SmtpPanel" runat="server" Height="0" style="overflow:hidden;">
<table>
<tr>
<td class="SubHead" style="width:200px;"><asp:Localize runat="server" meta:resourcekey="lclSmtpServer" /></td>
<td><asp:TextBox runat="server" ID="txtSmtpServer" Width="250px" /></td>
</tr>
<tr>
<td class="SubHead"><asp:Localize runat="server" meta:resourcekey="lclSmtpPort" /></td>
<td><asp:TextBox runat="server" ID="txtSmtpPort" Width="80px" /></td>
</tr>
<tr>
<td class="SubHead"><asp:Localize runat="server" meta:resourcekey="lclSmtpUser" /></td>
<td><asp:TextBox runat="server" ID="txtSmtpUser" Width="250px" /></td>
</tr>
<tr>
<td class="SubHead"><asp:Localize runat="server" meta:resourcekey="lclSmtpPassword" /></td>
<td><asp:TextBox runat="server" ID="txtSmtpPassword" TextMode="Password" Width="250px" /></td>
</tr>
<tr>
<td class="SubHead"><asp:Localize ID="locEnableSsl" runat="server" meta:resourcekey="locEnableSsl" /></td>
<td class="Normal">
<asp:CheckBox ID="chkEnableSsl" runat="server" Text="Yes" meta:resourcekey="chkEnableSsl" />
</td>
</tr>
</table>
</asp:Panel>
<wsp:CollapsiblePanel id="lclBackupSettings" runat="server"
TargetControlID="BackupPanel" meta:resourcekey="lclBackupSettings" Text="Backup Settings"/>
<asp:Panel ID="BackupPanel" runat="server" Height="0" style="overflow:hidden;">
<table>
<tr>
<td class="SubHead" style="width:200px;"><asp:Localize runat="server" meta:resourcekey="lclBackupFolderPath" /></td>
<td><asp:TextBox runat="server" ID="txtBackupsPath" Width="450px" /></td>
</tr>
</table>
</asp:Panel>
<wsp:CollapsiblePanel id="lclWpiSettings" runat="server"
TargetControlID="WpiPanel" meta:resourcekey="lclWpiSettings" Text="Web Platform Installer Settings"/>
<asp:Panel ID="WpiPanel" runat="server" Height="0" style="overflow:hidden;">
<table>
<tr>
<td class="SubHead" style="width:200px;"><asp:Localize runat="server" meta:resourcekey="lclWpiMainFeedUrl" Text="Main feed URL:" /></td>
<td><asp:TextBox runat="server" ID="txtMainFeedUrl" Width="450px" /></td>
</tr>
<tr>
<td class="SubHead" style="width:200px; vertical-align: top;"><asp:Localize runat="server" meta:resourcekey="lclWpiCustomFeeds" Text="Custom feeds:" /></td>
<td>
<uc1:EditFeedsList ID="wpiEditFeedsList" runat="server" DisplayNames="false" />
</td>
</tr>
</table>
</asp:Panel>
</div>
<div class="FormFooter">
<asp:Button runat="server" ID="btnSaveSettings" meta:resourcekey="btnSaveSettings"
CssClass="Button1" OnClick="btnSaveSettings_Click" />
</div>