Merge
This commit is contained in:
commit
0a404d49c1
10 changed files with 197 additions and 21 deletions
|
@ -192,4 +192,10 @@
|
|||
<data name="locMailboxDAG.Text" xml:space="preserve">
|
||||
<value>Database Availability Group:</value>
|
||||
</data>
|
||||
<data name="lblPowerShellUrl.Text" xml:space="preserve">
|
||||
<value>e.g. http://server.domain.com/PowerShell</value>
|
||||
</data>
|
||||
<data name="locPowerShellUrl.Text" xml:space="preserve">
|
||||
<value>Powershell URL:</value>
|
||||
</data>
|
||||
</root>
|
|
@ -1,6 +1,25 @@
|
|||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Exchange_Settings.ascx.cs"
|
||||
Inherits="WebsitePanel.Portal.ProviderControls.Exchange2010_Settings" %>
|
||||
<table cellpadding="3" cellspacing="0" width="100%">
|
||||
|
||||
<tr runat="server" id="powershellUrl1" width="200" nowrap>
|
||||
<td class="SubHead">
|
||||
</td>
|
||||
<td>
|
||||
<asp:Label runat="server" ID="lblFileServiceInfo" meta:resourcekey="lblPowerShellUrl" Text="e.g. http://server.domain.com/PowerShell" Font-Italic="true"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr runat="server" id="powershellUrl2" width="200" nowrap>
|
||||
<td class="SubHead">
|
||||
<asp:Localize ID="loclocPowerShellUrl" runat="server" meta:resourcekey="locPowerShellUrl"
|
||||
Text="Powershell URL:"></asp:Localize>
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="txtPowerShellUrl" runat="server" Width="400px"></asp:TextBox>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr runat="server" id="storageGroup">
|
||||
<td class="SubHead" width="200" nowrap>
|
||||
<asp:Localize ID="locStorageGroup" runat="server" meta:resourcekey="locStorageGroup" Text="Storage Group Name:"></asp:Localize>
|
||||
|
|
|
@ -91,6 +91,8 @@ namespace WebsitePanel.Portal.ProviderControls
|
|||
txtStorageGroup.Text = "";
|
||||
|
||||
locMailboxDAG.Visible = false;
|
||||
|
||||
powershellUrl1.Visible = powershellUrl2.Visible = false;
|
||||
break;
|
||||
|
||||
case EXCHANGE2010SP2_PROVIDER_ID:
|
||||
|
@ -101,6 +103,7 @@ namespace WebsitePanel.Portal.ProviderControls
|
|||
txtStorageGroup.Text = "";
|
||||
|
||||
locMailboxDatabase.Visible = false;
|
||||
powershellUrl1.Visible = powershellUrl2.Visible = false;
|
||||
break;
|
||||
|
||||
case EXCHANGE2013_PROVIDER_ID:
|
||||
|
@ -111,6 +114,7 @@ namespace WebsitePanel.Portal.ProviderControls
|
|||
txtStorageGroup.Text = "";
|
||||
|
||||
locMailboxDatabase.Visible = false;
|
||||
powershellUrl1.Visible = powershellUrl2.Visible = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -147,6 +151,7 @@ namespace WebsitePanel.Portal.ProviderControls
|
|||
txtActiveSyncServer.Text = settings["ActiveSyncServer"];
|
||||
txtOABServer.Text = settings["OABServer"];
|
||||
txtPublicFolderServer.Text = settings["PublicFolderServer"];
|
||||
txtPowerShellUrl.Text = settings["PowerShellUrl"];
|
||||
|
||||
UpdateHubTransportsGrid();
|
||||
UpdateClientAccessGrid();
|
||||
|
@ -173,6 +178,7 @@ namespace WebsitePanel.Portal.ProviderControls
|
|||
settings["PublicFolderServer"] = txtPublicFolderServer.Text;
|
||||
|
||||
settings["StorageGroup"] = txtStorageGroup.Text;
|
||||
settings["PowerShellUrl"] = txtPowerShellUrl.Text;
|
||||
}
|
||||
|
||||
public void BindExchangeServices(DropDownList ddl, bool isHubservice)
|
||||
|
|
|
@ -1,3 +1,31 @@
|
|||
// Copyright (c) 2012, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
|
@ -12,6 +40,51 @@ namespace WebsitePanel.Portal.ProviderControls {
|
|||
|
||||
public partial class Exchange2010_Settings {
|
||||
|
||||
/// <summary>
|
||||
/// powershellUrl1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlTableRow powershellUrl1;
|
||||
|
||||
/// <summary>
|
||||
/// lblFileServiceInfo control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblFileServiceInfo;
|
||||
|
||||
/// <summary>
|
||||
/// powershellUrl2 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlTableRow powershellUrl2;
|
||||
|
||||
/// <summary>
|
||||
/// loclocPowerShellUrl control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize loclocPowerShellUrl;
|
||||
|
||||
/// <summary>
|
||||
/// txtPowerShellUrl control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtPowerShellUrl;
|
||||
|
||||
/// <summary>
|
||||
/// storageGroup control.
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue