Added Lync Phone Numbers Quota

Remove Public IM Connectivity
This commit is contained in:
dev_amdtel 2013-08-30 04:01:59 +04:00
parent 7e8b3cce52
commit 292b813b6f
26 changed files with 521 additions and 239 deletions

View file

@ -1957,6 +1957,144 @@ WHERE
RETURN RETURN
GO GO
-- Lync Phone Numbers Quota
IF NOT EXISTS (SELECT * FROM [dbo].[Quotas] WHERE ([QuotaName] = N'Lync.PhoneNumbers'))
BEGIN
INSERT [dbo].[Quotas] ([QuotaID], [GroupID], [QuotaOrder], [QuotaName], [QuotaDescription], [QuotaTypeID], [ServiceQuota], [ItemTypeID], [HideQuota]) VALUES (381, 41, 12, N'Lync.PhoneNumbers', N'Phone Numbers', 2, 0, NULL, NULL)
END
GO
ALTER FUNCTION [dbo].[CalculateQuotaUsage]
(
@PackageID int,
@QuotaID int
)
RETURNS int
AS
BEGIN
DECLARE @QuotaTypeID int
SELECT @QuotaTypeID = QuotaTypeID FROM Quotas
WHERE QuotaID = @QuotaID
IF @QuotaTypeID <> 2
RETURN 0
DECLARE @Result int
IF @QuotaID = 52 -- diskspace
SET @Result = dbo.CalculatePackageDiskspace(@PackageID)
ELSE IF @QuotaID = 51 -- bandwidth
SET @Result = dbo.CalculatePackageBandwidth(@PackageID)
ELSE IF @QuotaID = 53 -- domains
SET @Result = (SELECT COUNT(D.DomainID) FROM PackagesTreeCache AS PT
INNER JOIN Domains AS D ON D.PackageID = PT.PackageID
WHERE IsSubDomain = 0 AND IsInstantAlias = 0 AND IsDomainPointer = 0 AND PT.ParentPackageID = @PackageID)
ELSE IF @QuotaID = 54 -- sub-domains
SET @Result = (SELECT COUNT(D.DomainID) FROM PackagesTreeCache AS PT
INNER JOIN Domains AS D ON D.PackageID = PT.PackageID
WHERE IsSubDomain = 1 AND IsInstantAlias = 0 AND IsDomainPointer = 0 AND PT.ParentPackageID = @PackageID)
ELSE IF @QuotaID = 220 -- domain pointers
SET @Result = (SELECT COUNT(D.DomainID) FROM PackagesTreeCache AS PT
INNER JOIN Domains AS D ON D.PackageID = PT.PackageID
WHERE IsDomainPointer = 1 AND PT.ParentPackageID = @PackageID)
ELSE IF @QuotaID = 71 -- scheduled tasks
SET @Result = (SELECT COUNT(S.ScheduleID) FROM PackagesTreeCache AS PT
INNER JOIN Schedule AS S ON S.PackageID = PT.PackageID
WHERE PT.ParentPackageID = @PackageID)
ELSE IF @QuotaID = 305 -- RAM of VPS
SET @Result = (SELECT SUM(CAST(SIP.PropertyValue AS int)) FROM ServiceItemProperties AS SIP
INNER JOIN ServiceItems AS SI ON SIP.ItemID = SI.ItemID
INNER JOIN PackagesTreeCache AS PT ON SI.PackageID = PT.PackageID
WHERE SIP.PropertyName = 'RamSize' AND PT.ParentPackageID = @PackageID)
ELSE IF @QuotaID = 306 -- HDD of VPS
SET @Result = (SELECT SUM(CAST(SIP.PropertyValue AS int)) FROM ServiceItemProperties AS SIP
INNER JOIN ServiceItems AS SI ON SIP.ItemID = SI.ItemID
INNER JOIN PackagesTreeCache AS PT ON SI.PackageID = PT.PackageID
WHERE SIP.PropertyName = 'HddSize' AND PT.ParentPackageID = @PackageID)
ELSE IF @QuotaID = 309 -- External IP addresses of VPS
SET @Result = (SELECT COUNT(PIP.PackageAddressID) FROM PackageIPAddresses AS PIP
INNER JOIN IPAddresses AS IP ON PIP.AddressID = IP.AddressID
INNER JOIN PackagesTreeCache AS PT ON PIP.PackageID = PT.PackageID
WHERE PT.ParentPackageID = @PackageID AND IP.PoolID = 3)
ELSE IF @QuotaID = 100 -- Dedicated Web IP addresses
SET @Result = (SELECT COUNT(PIP.PackageAddressID) FROM PackageIPAddresses AS PIP
INNER JOIN IPAddresses AS IP ON PIP.AddressID = IP.AddressID
INNER JOIN PackagesTreeCache AS PT ON PIP.PackageID = PT.PackageID
WHERE PT.ParentPackageID = @PackageID AND IP.PoolID = 2)
ELSE IF @QuotaID = 350 -- RAM of VPSforPc
SET @Result = (SELECT SUM(CAST(SIP.PropertyValue AS int)) FROM ServiceItemProperties AS SIP
INNER JOIN ServiceItems AS SI ON SIP.ItemID = SI.ItemID
INNER JOIN PackagesTreeCache AS PT ON SI.PackageID = PT.PackageID
WHERE SIP.PropertyName = 'Memory' AND PT.ParentPackageID = @PackageID)
ELSE IF @QuotaID = 351 -- HDD of VPSforPc
SET @Result = (SELECT SUM(CAST(SIP.PropertyValue AS int)) FROM ServiceItemProperties AS SIP
INNER JOIN ServiceItems AS SI ON SIP.ItemID = SI.ItemID
INNER JOIN PackagesTreeCache AS PT ON SI.PackageID = PT.PackageID
WHERE SIP.PropertyName = 'HddSize' AND PT.ParentPackageID = @PackageID)
ELSE IF @QuotaID = 354 -- External IP addresses of VPSforPc
SET @Result = (SELECT COUNT(PIP.PackageAddressID) FROM PackageIPAddresses AS PIP
INNER JOIN IPAddresses AS IP ON PIP.AddressID = IP.AddressID
INNER JOIN PackagesTreeCache AS PT ON PIP.PackageID = PT.PackageID
WHERE PT.ParentPackageID = @PackageID AND IP.PoolID = 3)
ELSE IF @QuotaID = 319 -- BB Users
SET @Result = (SELECT COUNT(ea.AccountID) FROM ExchangeAccounts ea
INNER JOIN BlackBerryUsers bu ON ea.AccountID = bu.AccountID
INNER JOIN ServiceItems si ON ea.ItemID = si.ItemID
INNER JOIN PackagesTreeCache pt ON si.PackageID = pt.PackageID
WHERE pt.ParentPackageID = @PackageID)
ELSE IF @QuotaID = 320 -- OCS Users
SET @Result = (SELECT COUNT(ea.AccountID) FROM ExchangeAccounts ea
INNER JOIN OCSUsers ocs ON ea.AccountID = ocs.AccountID
INNER JOIN ServiceItems si ON ea.ItemID = si.ItemID
INNER JOIN PackagesTreeCache pt ON si.PackageID = pt.PackageID
WHERE pt.ParentPackageID = @PackageID)
ELSE IF @QuotaID = 206 -- HostedSolution.Users
SET @Result = (SELECT COUNT(ea.AccountID) FROM ExchangeAccounts AS ea
INNER JOIN ServiceItems si ON ea.ItemID = si.ItemID
INNER JOIN PackagesTreeCache pt ON si.PackageID = pt.PackageID
WHERE pt.ParentPackageID = @PackageID AND ea.AccountType IN (1,5,6,7))
ELSE IF @QuotaID = 78 -- Exchange2007.Mailboxes
SET @Result = (SELECT COUNT(ea.AccountID) FROM ExchangeAccounts AS ea
INNER JOIN ServiceItems si ON ea.ItemID = si.ItemID
INNER JOIN PackagesTreeCache pt ON si.PackageID = pt.PackageID
WHERE pt.ParentPackageID = @PackageID
AND ea.AccountType IN (1)
AND ea.MailboxPlanId IS NOT NULL)
ELSE IF @QuotaID = 77 -- Exchange2007.DiskSpace
SET @Result = (SELECT SUM(B.MailboxSizeMB) FROM ExchangeAccounts AS ea
INNER JOIN ExchangeMailboxPlans AS B ON ea.MailboxPlanId = B.MailboxPlanId
INNER JOIN ServiceItems si ON ea.ItemID = si.ItemID
INNER JOIN PackagesTreeCache pt ON si.PackageID = pt.PackageID
WHERE pt.ParentPackageID = @PackageID)
ELSE IF @QuotaID = 370 -- Lync.Users
SET @Result = (SELECT COUNT(ea.AccountID) FROM ExchangeAccounts AS ea
INNER JOIN LyncUsers lu ON ea.AccountID = lu.AccountID
INNER JOIN ServiceItems si ON ea.ItemID = si.ItemID
INNER JOIN PackagesTreeCache pt ON si.PackageID = pt.PackageID
WHERE pt.ParentPackageID = @PackageID)
ELSE IF @QuotaID = 376 -- Lync.EVUsers
SET @Result = (SELECT COUNT(ea.AccountID) FROM ExchangeAccounts AS ea
INNER JOIN LyncUsers lu ON ea.AccountID = lu.AccountID
INNER JOIN LyncUserPlans lp ON lu.LyncUserPlanId = lp.LyncUserPlanId
INNER JOIN ServiceItems si ON ea.ItemID = si.ItemID
INNER JOIN PackagesTreeCache pt ON si.PackageID = pt.PackageID
WHERE pt.ParentPackageID = @PackageID AND lp.EnterpriseVoice = 1)
ELSE IF @QuotaID = 381 -- Dedicated Lync Phone Numbers
SET @Result = (SELECT COUNT(PIP.PackageAddressID) FROM PackageIPAddresses AS PIP
INNER JOIN IPAddresses AS IP ON PIP.AddressID = IP.AddressID
INNER JOIN PackagesTreeCache AS PT ON PIP.PackageID = PT.PackageID
WHERE PT.ParentPackageID = @PackageID AND IP.PoolID = 5)
ELSE
SET @Result = (SELECT COUNT(SI.ItemID) FROM Quotas AS Q
INNER JOIN ServiceItems AS SI ON SI.ItemTypeID = Q.ItemTypeID
INNER JOIN PackagesTreeCache AS PT ON SI.PackageID = PT.PackageID AND PT.ParentPackageID = @PackageID
WHERE Q.QuotaID = @QuotaID)
RETURN @Result
END

View file

@ -229,6 +229,7 @@ order by rg.groupOrder
public const string LYNC_EVMOBILE = "Lync.EVMobile"; public const string LYNC_EVMOBILE = "Lync.EVMobile";
public const string LYNC_EVINTERNATIONAL = "Lync.EVInternational"; public const string LYNC_EVINTERNATIONAL = "Lync.EVInternational";
public const string LYNC_ENABLEDPLANSEDITING = "Lync.EnablePlansEditing"; public const string LYNC_ENABLEDPLANSEDITING = "Lync.EnablePlansEditing";
public const string LYNC_PHONE = "Lync.PhoneNumbers";
public const string HELICON_ZOO = "HeliconZoo.*"; public const string HELICON_ZOO = "HeliconZoo.*";

View file

@ -1231,7 +1231,7 @@ namespace WebsitePanel.EnterpriseServer
} }
// check quotas // check quotas
string quotaName = GetIPAddressesQuotaByResourceGroup(groupName); string quotaName = GetIPAddressesQuotaByResourceGroup(groupName, pool);
// get maximum server IPs // get maximum server IPs
List<IPAddressInfo> ips = ServerController.GetUnallottedIPAddresses(packageId, groupName, pool); List<IPAddressInfo> ips = ServerController.GetUnallottedIPAddresses(packageId, groupName, pool);
@ -1249,15 +1249,15 @@ namespace WebsitePanel.EnterpriseServer
int quotaUsed = cntx.Quotas[quotaName].QuotaUsedValue; int quotaUsed = cntx.Quotas[quotaName].QuotaUsedValue;
// check the maximum allowed number // check the maximum allowed number
if (quotaAllocated != -1 && if (addressesNumber > (quotaAllocated - quotaUsed))
(addressesNumber > (quotaAllocated - quotaUsed)))
{ {
res.ErrorCodes.Add("IP_ADDRESSES_QUOTA_LIMIT_REACHED"); res.ErrorCodes.Add("IP_ADDRESSES_QUOTA_LIMIT_REACHED");
return res; return res;
} }
// check if requested more than available // check if requested more than available
if (addressesNumber > maxAvailableIPs) if (maxAvailableIPs != -1 &&
(addressesNumber > maxAvailableIPs))
addressesNumber = maxAvailableIPs; addressesNumber = maxAvailableIPs;
res = TaskManager.StartResultTask<ResultObject>("IP_ADDRESS", "ALLOCATE_PACKAGE_IP", packageId); res = TaskManager.StartResultTask<ResultObject>("IP_ADDRESS", "ALLOCATE_PACKAGE_IP", packageId);
@ -1303,7 +1303,7 @@ namespace WebsitePanel.EnterpriseServer
int maxAvailableIPs = GetUnallottedIPAddresses(packageId, groupName, pool).Count; int maxAvailableIPs = GetUnallottedIPAddresses(packageId, groupName, pool).Count;
// get quota name // get quota name
string quotaName = GetIPAddressesQuotaByResourceGroup(groupName); string quotaName = GetIPAddressesQuotaByResourceGroup(groupName, pool);
// get hosting plan IPs // get hosting plan IPs
int number = 0; int number = 0;
@ -1415,8 +1415,11 @@ namespace WebsitePanel.EnterpriseServer
return doc.InnerXml; return doc.InnerXml;
} }
private static string GetIPAddressesQuotaByResourceGroup(string groupName) private static string GetIPAddressesQuotaByResourceGroup(string groupName, IPAddressPool pool)
{ {
if (pool == IPAddressPool.PhoneNumbers)
return Quotas.LYNC_PHONE;
if (String.Compare(groupName, ResourceGroups.VPS, true) == 0) if (String.Compare(groupName, ResourceGroups.VPS, true) == 0)
{ {
return Quotas.VPS_EXTERNAL_IP_ADDRESSES_NUMBER; return Quotas.VPS_EXTERNAL_IP_ADDRESSES_NUMBER;

View file

@ -5323,4 +5323,7 @@
<data name="WarningDescription.PHONE_EDIT_LIST_EMPTY_ERROR" xml:space="preserve"> <data name="WarningDescription.PHONE_EDIT_LIST_EMPTY_ERROR" xml:space="preserve">
<value>At least one Phone number must be selected.</value> <value>At least one Phone number must be selected.</value>
</data> </data>
<data name="Quota.Lync.PhoneNumbers" xml:space="preserve">
<value>Phone Numbers per Organization</value>
</data>
</root> </root>

View file

@ -198,4 +198,7 @@
<data name="lblOrganizations.Text" xml:space="preserve"> <data name="lblOrganizations.Text" xml:space="preserve">
<value>Organizations:</value> <value>Organizations:</value>
</data> </data>
<data name="lblLyncPhone.Text" xml:space="preserve">
<value>Lync Phone Numbers:</value>
</data>
</root> </root>

View file

@ -90,11 +90,6 @@
<asp:CheckBox ID="chkRemoteUserAccess" runat="server" meta:resourcekey="chkRemoteUserAccess" Text="Remote User access"></asp:CheckBox> <asp:CheckBox ID="chkRemoteUserAccess" runat="server" meta:resourcekey="chkRemoteUserAccess" Text="Remote User access"></asp:CheckBox>
</td> </td>
</tr> </tr>
<tr>
<td>
<asp:CheckBox ID="chkPublicIMConnectivity" runat="server" meta:resourcekey="chkPublicIMConnectivity" Text="Public IM Connectivity"></asp:CheckBox>
</td>
</tr>
</table> </table>
<br /> <br />
</asp:Panel> </asp:Panel>

View file

@ -95,9 +95,8 @@ namespace WebsitePanel.Portal.Lync
*/ */
chkRemoteUserAccess.Checked = plan.RemoteUserAccess; chkRemoteUserAccess.Checked = plan.RemoteUserAccess;
chkPublicIMConnectivity.Checked = plan.PublicIMConnectivity;
chkAllowOrganizeMeetingsWithExternalAnonymous.Checked = plan.AllowOrganizeMeetingsWithExternalAnonymous; chkAllowOrganizeMeetingsWithExternalAnonymous.Checked = plan.AllowOrganizeMeetingsWithExternalAnonymous;
ddTelephony.SelectedIndex = plan.Telephony; ddTelephony.SelectedIndex = plan.Telephony;
@ -257,7 +256,6 @@ namespace WebsitePanel.Portal.Lync
*/ */
plan.RemoteUserAccess = chkRemoteUserAccess.Checked; plan.RemoteUserAccess = chkRemoteUserAccess.Checked;
plan.PublicIMConnectivity = chkPublicIMConnectivity.Checked;
plan.AllowOrganizeMeetingsWithExternalAnonymous = chkAllowOrganizeMeetingsWithExternalAnonymous.Checked; plan.AllowOrganizeMeetingsWithExternalAnonymous = chkAllowOrganizeMeetingsWithExternalAnonymous.Checked;

View file

@ -1,11 +1,13 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:2.0.50727.3074
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace WebsitePanel.Portal.Lync { namespace WebsitePanel.Portal.Lync {
@ -15,8 +17,9 @@ namespace WebsitePanel.Portal.Lync {
/// asyncTasks control. /// asyncTasks control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.EnableAsyncTasksSupport asyncTasks; protected global::WebsitePanel.Portal.EnableAsyncTasksSupport asyncTasks;
@ -24,8 +27,9 @@ namespace WebsitePanel.Portal.Lync {
/// breadcrumb control. /// breadcrumb control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.ExchangeServer.UserControls.Breadcrumb breadcrumb; protected global::WebsitePanel.Portal.ExchangeServer.UserControls.Breadcrumb breadcrumb;
@ -33,8 +37,9 @@ namespace WebsitePanel.Portal.Lync {
/// menu control. /// menu control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.ExchangeServer.UserControls.Menu menu; protected global::WebsitePanel.Portal.ExchangeServer.UserControls.Menu menu;
@ -42,8 +47,9 @@ namespace WebsitePanel.Portal.Lync {
/// Image1 control. /// Image1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Image Image1; protected global::System.Web.UI.WebControls.Image Image1;
@ -51,8 +57,9 @@ namespace WebsitePanel.Portal.Lync {
/// locTitle control. /// locTitle control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Localize locTitle; protected global::System.Web.UI.WebControls.Localize locTitle;
@ -60,8 +67,9 @@ namespace WebsitePanel.Portal.Lync {
/// messageBox control. /// messageBox control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.UserControls.SimpleMessageBox messageBox; protected global::WebsitePanel.Portal.UserControls.SimpleMessageBox messageBox;
@ -69,8 +77,9 @@ namespace WebsitePanel.Portal.Lync {
/// secPlan control. /// secPlan control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.CollapsiblePanel secPlan; protected global::WebsitePanel.Portal.CollapsiblePanel secPlan;
@ -78,8 +87,9 @@ namespace WebsitePanel.Portal.Lync {
/// Plan control. /// Plan control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel Plan; protected global::System.Web.UI.WebControls.Panel Plan;
@ -87,8 +97,9 @@ namespace WebsitePanel.Portal.Lync {
/// txtPlan control. /// txtPlan control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtPlan; protected global::System.Web.UI.WebControls.TextBox txtPlan;
@ -96,8 +107,9 @@ namespace WebsitePanel.Portal.Lync {
/// valRequirePlan control. /// valRequirePlan control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.RequiredFieldValidator valRequirePlan; protected global::System.Web.UI.WebControls.RequiredFieldValidator valRequirePlan;
@ -105,8 +117,9 @@ namespace WebsitePanel.Portal.Lync {
/// secPlanFeatures control. /// secPlanFeatures control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeatures; protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeatures;
@ -114,8 +127,9 @@ namespace WebsitePanel.Portal.Lync {
/// PlanFeatures control. /// PlanFeatures control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel PlanFeatures; protected global::System.Web.UI.WebControls.Panel PlanFeatures;
@ -123,8 +137,9 @@ namespace WebsitePanel.Portal.Lync {
/// chkIM control. /// chkIM control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkIM; protected global::System.Web.UI.WebControls.CheckBox chkIM;
@ -132,8 +147,9 @@ namespace WebsitePanel.Portal.Lync {
/// chkMobility control. /// chkMobility control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkMobility; protected global::System.Web.UI.WebControls.CheckBox chkMobility;
@ -141,8 +157,9 @@ namespace WebsitePanel.Portal.Lync {
/// chkConferencing control. /// chkConferencing control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkConferencing; protected global::System.Web.UI.WebControls.CheckBox chkConferencing;
@ -150,8 +167,9 @@ namespace WebsitePanel.Portal.Lync {
/// chkEnterpriseVoice control. /// chkEnterpriseVoice control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkEnterpriseVoice; protected global::System.Web.UI.WebControls.CheckBox chkEnterpriseVoice;
@ -159,8 +177,9 @@ namespace WebsitePanel.Portal.Lync {
/// secPlanFeaturesFederation control. /// secPlanFeaturesFederation control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesFederation; protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesFederation;
@ -168,8 +187,9 @@ namespace WebsitePanel.Portal.Lync {
/// PlanFeaturesFederation control. /// PlanFeaturesFederation control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel PlanFeaturesFederation; protected global::System.Web.UI.WebControls.Panel PlanFeaturesFederation;
@ -177,8 +197,9 @@ namespace WebsitePanel.Portal.Lync {
/// chkFederation control. /// chkFederation control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkFederation; protected global::System.Web.UI.WebControls.CheckBox chkFederation;
@ -186,26 +207,19 @@ namespace WebsitePanel.Portal.Lync {
/// chkRemoteUserAccess control. /// chkRemoteUserAccess control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkRemoteUserAccess; protected global::System.Web.UI.WebControls.CheckBox chkRemoteUserAccess;
/// <summary>
/// chkPublicIMConnectivity 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.CheckBox chkPublicIMConnectivity;
/// <summary> /// <summary>
/// secPlanFeaturesArchiving control. /// secPlanFeaturesArchiving control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesArchiving; protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesArchiving;
@ -213,8 +227,9 @@ namespace WebsitePanel.Portal.Lync {
/// PlanFeaturesArchiving control. /// PlanFeaturesArchiving control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel PlanFeaturesArchiving; protected global::System.Web.UI.WebControls.Panel PlanFeaturesArchiving;
@ -222,8 +237,9 @@ namespace WebsitePanel.Portal.Lync {
/// locArchivingPolicy control. /// locArchivingPolicy control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Localize locArchivingPolicy; protected global::System.Web.UI.WebControls.Localize locArchivingPolicy;
@ -231,8 +247,9 @@ namespace WebsitePanel.Portal.Lync {
/// ddArchivingPolicy control. /// ddArchivingPolicy control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddArchivingPolicy; protected global::System.Web.UI.WebControls.DropDownList ddArchivingPolicy;
@ -240,8 +257,9 @@ namespace WebsitePanel.Portal.Lync {
/// secPlanFeaturesMeeting control. /// secPlanFeaturesMeeting control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesMeeting; protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesMeeting;
@ -249,8 +267,9 @@ namespace WebsitePanel.Portal.Lync {
/// PlanFeaturesMeeting control. /// PlanFeaturesMeeting control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel PlanFeaturesMeeting; protected global::System.Web.UI.WebControls.Panel PlanFeaturesMeeting;
@ -258,8 +277,9 @@ namespace WebsitePanel.Portal.Lync {
/// chkAllowOrganizeMeetingsWithExternalAnonymous control. /// chkAllowOrganizeMeetingsWithExternalAnonymous control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkAllowOrganizeMeetingsWithExternalAnonymous; protected global::System.Web.UI.WebControls.CheckBox chkAllowOrganizeMeetingsWithExternalAnonymous;
@ -267,8 +287,9 @@ namespace WebsitePanel.Portal.Lync {
/// secPlanFeaturesTelephony control. /// secPlanFeaturesTelephony control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesTelephony; protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesTelephony;
@ -276,8 +297,9 @@ namespace WebsitePanel.Portal.Lync {
/// PlanFeaturesTelephony control. /// PlanFeaturesTelephony control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel PlanFeaturesTelephony; protected global::System.Web.UI.WebControls.Panel PlanFeaturesTelephony;
@ -285,8 +307,9 @@ namespace WebsitePanel.Portal.Lync {
/// locTelephony control. /// locTelephony control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Localize locTelephony; protected global::System.Web.UI.WebControls.Localize locTelephony;
@ -294,8 +317,9 @@ namespace WebsitePanel.Portal.Lync {
/// ddTelephony control. /// ddTelephony control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddTelephony; protected global::System.Web.UI.WebControls.DropDownList ddTelephony;
@ -303,8 +327,9 @@ namespace WebsitePanel.Portal.Lync {
/// pnEnterpriseVoice control. /// pnEnterpriseVoice control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel pnEnterpriseVoice; protected global::System.Web.UI.WebControls.Panel pnEnterpriseVoice;
@ -312,8 +337,9 @@ namespace WebsitePanel.Portal.Lync {
/// locTelephonyProvider control. /// locTelephonyProvider control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Localize locTelephonyProvider; protected global::System.Web.UI.WebControls.Localize locTelephonyProvider;
@ -321,8 +347,9 @@ namespace WebsitePanel.Portal.Lync {
/// tbTelephoneProvider control. /// tbTelephoneProvider control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox tbTelephoneProvider; protected global::System.Web.UI.WebControls.TextBox tbTelephoneProvider;
@ -330,8 +357,9 @@ namespace WebsitePanel.Portal.Lync {
/// btnAccept control. /// btnAccept control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Button btnAccept; protected global::System.Web.UI.WebControls.Button btnAccept;
@ -339,8 +367,9 @@ namespace WebsitePanel.Portal.Lync {
/// AcceptRequiredValidator control. /// AcceptRequiredValidator control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.RequiredFieldValidator AcceptRequiredValidator; protected global::System.Web.UI.WebControls.RequiredFieldValidator AcceptRequiredValidator;
@ -348,8 +377,9 @@ namespace WebsitePanel.Portal.Lync {
/// locDialPlan control. /// locDialPlan control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Localize locDialPlan; protected global::System.Web.UI.WebControls.Localize locDialPlan;
@ -357,8 +387,9 @@ namespace WebsitePanel.Portal.Lync {
/// ddTelephonyDialPlanPolicy control. /// ddTelephonyDialPlanPolicy control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddTelephonyDialPlanPolicy; protected global::System.Web.UI.WebControls.DropDownList ddTelephonyDialPlanPolicy;
@ -366,8 +397,9 @@ namespace WebsitePanel.Portal.Lync {
/// locVoicePolicy control. /// locVoicePolicy control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Localize locVoicePolicy; protected global::System.Web.UI.WebControls.Localize locVoicePolicy;
@ -375,8 +407,9 @@ namespace WebsitePanel.Portal.Lync {
/// ddTelephonyVoicePolicy control. /// ddTelephonyVoicePolicy control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddTelephonyVoicePolicy; protected global::System.Web.UI.WebControls.DropDownList ddTelephonyVoicePolicy;
@ -384,8 +417,9 @@ namespace WebsitePanel.Portal.Lync {
/// pnServerURI control. /// pnServerURI control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel pnServerURI; protected global::System.Web.UI.WebControls.Panel pnServerURI;
@ -393,8 +427,9 @@ namespace WebsitePanel.Portal.Lync {
/// locServerURI control. /// locServerURI control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Localize locServerURI; protected global::System.Web.UI.WebControls.Localize locServerURI;
@ -402,8 +437,9 @@ namespace WebsitePanel.Portal.Lync {
/// tbServerURI control. /// tbServerURI control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox tbServerURI; protected global::System.Web.UI.WebControls.TextBox tbServerURI;
@ -411,8 +447,9 @@ namespace WebsitePanel.Portal.Lync {
/// btnAdd control. /// btnAdd control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Button btnAdd; protected global::System.Web.UI.WebControls.Button btnAdd;
@ -420,8 +457,9 @@ namespace WebsitePanel.Portal.Lync {
/// ValidationSummary1 control. /// ValidationSummary1 control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.ValidationSummary ValidationSummary1; protected global::System.Web.UI.WebControls.ValidationSummary ValidationSummary1;
} }

View file

@ -57,13 +57,17 @@ namespace WebsitePanel.Portal.Lync
private void BindPhoneNumbers() private void BindPhoneNumbers()
{ {
ddlPhoneNumber.Items.Add(new ListItem("<Select Phone>", ""));
PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, IPAddressPool.PhoneNumbers); PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, IPAddressPool.PhoneNumbers);
foreach (PackageIPAddress ip in ips)
if (ips.Length > 0)
{ {
string phone = ip.ExternalIP; ddlPhoneNumber.Items.Add(new ListItem("<Select Phone>", ""));
ddlPhoneNumber.Items.Add(new ListItem(phone, ip.PackageAddressID.ToString()));
foreach (PackageIPAddress ip in ips)
{
string phone = ip.ExternalIP;
ddlPhoneNumber.Items.Add(new ListItem(phone, ip.PackageAddressID.ToString()));
}
} }
} }
@ -77,7 +81,7 @@ namespace WebsitePanel.Portal.Lync
if (plan != null) if (plan != null)
EnterpriseVoice = plan.EnterpriseVoice; EnterpriseVoice = plan.EnterpriseVoice;
pnEnterpriseVoice.Visible = EnterpriseVoice; pnEnterpriseVoice.Visible = EnterpriseVoice && (ddlPhoneNumber.Items.Count>0);
if (!EnterpriseVoice) if (!EnterpriseVoice)
{ {

View file

@ -1,6 +1,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:2.0.50727.3074
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View file

@ -52,14 +52,17 @@ namespace WebsitePanel.Portal.Lync
private void BindPhoneNumbers() private void BindPhoneNumbers()
{ {
ddlPhoneNumber.Items.Add(new ListItem("<Select Phone>", ""));
PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, IPAddressPool.PhoneNumbers); PackageIPAddress[] ips = ES.Services.Servers.GetPackageUnassignedIPAddresses(PanelSecurity.PackageId, IPAddressPool.PhoneNumbers);
foreach (PackageIPAddress ip in ips)
if (ips.Length > 0)
{ {
string phone = ip.ExternalIP; ddlPhoneNumber.Items.Add(new ListItem("<Select Phone>", ""));
ddlPhoneNumber.Items.Add(new ListItem(phone, phone));
foreach (PackageIPAddress ip in ips)
{
string phone = ip.ExternalIP;
ddlPhoneNumber.Items.Add(new ListItem(phone, phone));
}
} }
} }
@ -73,7 +76,7 @@ namespace WebsitePanel.Portal.Lync
if (plan != null) if (plan != null)
EnterpriseVoice = plan.EnterpriseVoice; EnterpriseVoice = plan.EnterpriseVoice;
pnEnterpriseVoice.Visible = EnterpriseVoice; pnEnterpriseVoice.Visible = EnterpriseVoice && (ddlPhoneNumber.Items.Count>0);
if (!EnterpriseVoice) if (!EnterpriseVoice)
{ {

View file

@ -1,6 +1,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:2.0.50727.3074
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View file

@ -1,6 +1,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:2.0.50727.3074
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View file

@ -20,7 +20,7 @@
<table cellspacing="6"> <table cellspacing="6">
<tr> <tr>
<td><asp:Localize ID="locIPQuota" runat="server" meta:resourcekey="locIPQuota" Text="Number of Phone Numbes:"></asp:Localize></td> <td><asp:Localize ID="locIPQuota" runat="server" meta:resourcekey="locIPQuota" Text="Number of Phone Numbes:"></asp:Localize></td>
<td><wsp:Quota ID="addressesQuota" runat="server" QuotaName="Web.IPAddresses" /></td> <td><wsp:Quota ID="addressesQuota" runat="server" QuotaName="Lync.PhoneNumbers" /></td>
</tr> </tr>
</table> </table>

View file

@ -1,6 +1,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:2.0.50727.3074
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View file

@ -1,11 +1,11 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:2.0.50727.3074
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace WebsitePanel.Portal { namespace WebsitePanel.Portal {

View file

@ -1,11 +1,11 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:2.0.50727.3074
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace WebsitePanel.Portal { namespace WebsitePanel.Portal {

View file

@ -1,11 +1,11 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:2.0.50727.3074
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace WebsitePanel.Portal { namespace WebsitePanel.Portal {

View file

@ -105,11 +105,6 @@
<asp:CheckBox ID="chkRemoteUserAccess" runat="server" meta:resourcekey="chkRemoteUserAccess" Text="Remote User access"></asp:CheckBox> <asp:CheckBox ID="chkRemoteUserAccess" runat="server" meta:resourcekey="chkRemoteUserAccess" Text="Remote User access"></asp:CheckBox>
</td> </td>
</tr> </tr>
<tr>
<td>
<asp:CheckBox ID="chkPublicIMConnectivity" runat="server" meta:resourcekey="chkPublicIMConnectivity" Text="Public IM Connectivity"></asp:CheckBox>
</td>
</tr>
</table> </table>
<br /> <br />
</asp:Panel> </asp:Panel>

View file

@ -173,7 +173,6 @@ namespace WebsitePanel.Portal
plan.VoicePolicy = LyncVoicePolicyType.None; plan.VoicePolicy = LyncVoicePolicyType.None;
plan.RemoteUserAccess = chkRemoteUserAccess.Checked; plan.RemoteUserAccess = chkRemoteUserAccess.Checked;
plan.PublicIMConnectivity = chkPublicIMConnectivity.Checked;
plan.AllowOrganizeMeetingsWithExternalAnonymous = chkAllowOrganizeMeetingsWithExternalAnonymous.Checked; plan.AllowOrganizeMeetingsWithExternalAnonymous = chkAllowOrganizeMeetingsWithExternalAnonymous.Checked;
@ -314,7 +313,6 @@ namespace WebsitePanel.Portal
chkEnterpriseVoice.Checked = plan.EnterpriseVoice; chkEnterpriseVoice.Checked = plan.EnterpriseVoice;
chkRemoteUserAccess.Checked = plan.RemoteUserAccess; chkRemoteUserAccess.Checked = plan.RemoteUserAccess;
chkPublicIMConnectivity.Checked = plan.PublicIMConnectivity;
chkAllowOrganizeMeetingsWithExternalAnonymous.Checked = plan.AllowOrganizeMeetingsWithExternalAnonymous; chkAllowOrganizeMeetingsWithExternalAnonymous.Checked = plan.AllowOrganizeMeetingsWithExternalAnonymous;
ddTelephony.SelectedIndex = plan.Telephony; ddTelephony.SelectedIndex = plan.Telephony;
@ -437,7 +435,6 @@ namespace WebsitePanel.Portal
plan.VoicePolicy = LyncVoicePolicyType.None; plan.VoicePolicy = LyncVoicePolicyType.None;
plan.RemoteUserAccess = chkRemoteUserAccess.Checked; plan.RemoteUserAccess = chkRemoteUserAccess.Checked;
plan.PublicIMConnectivity = chkPublicIMConnectivity.Checked;
plan.AllowOrganizeMeetingsWithExternalAnonymous = chkAllowOrganizeMeetingsWithExternalAnonymous.Checked; plan.AllowOrganizeMeetingsWithExternalAnonymous = chkAllowOrganizeMeetingsWithExternalAnonymous.Checked;

View file

@ -1,11 +1,13 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:2.0.50727.3074
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace WebsitePanel.Portal { namespace WebsitePanel.Portal {
@ -15,8 +17,9 @@ namespace WebsitePanel.Portal {
/// asyncTasks control. /// asyncTasks control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.EnableAsyncTasksSupport asyncTasks; protected global::WebsitePanel.Portal.EnableAsyncTasksSupport asyncTasks;
@ -24,8 +27,9 @@ namespace WebsitePanel.Portal {
/// messageBox control. /// messageBox control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.UserControls.SimpleMessageBox messageBox; protected global::WebsitePanel.Portal.UserControls.SimpleMessageBox messageBox;
@ -33,8 +37,9 @@ namespace WebsitePanel.Portal {
/// gvPlans control. /// gvPlans control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.GridView gvPlans; protected global::System.Web.UI.WebControls.GridView gvPlans;
@ -42,8 +47,9 @@ namespace WebsitePanel.Portal {
/// secPlan control. /// secPlan control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.CollapsiblePanel secPlan; protected global::WebsitePanel.Portal.CollapsiblePanel secPlan;
@ -51,8 +57,9 @@ namespace WebsitePanel.Portal {
/// Plan control. /// Plan control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel Plan; protected global::System.Web.UI.WebControls.Panel Plan;
@ -60,8 +67,9 @@ namespace WebsitePanel.Portal {
/// txtPlan control. /// txtPlan control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtPlan; protected global::System.Web.UI.WebControls.TextBox txtPlan;
@ -69,8 +77,9 @@ namespace WebsitePanel.Portal {
/// valRequirePlan control. /// valRequirePlan control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.RequiredFieldValidator valRequirePlan; protected global::System.Web.UI.WebControls.RequiredFieldValidator valRequirePlan;
@ -78,8 +87,9 @@ namespace WebsitePanel.Portal {
/// secPlanFeatures control. /// secPlanFeatures control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeatures; protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeatures;
@ -87,8 +97,9 @@ namespace WebsitePanel.Portal {
/// PlanFeatures control. /// PlanFeatures control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel PlanFeatures; protected global::System.Web.UI.WebControls.Panel PlanFeatures;
@ -96,8 +107,9 @@ namespace WebsitePanel.Portal {
/// chkIM control. /// chkIM control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkIM; protected global::System.Web.UI.WebControls.CheckBox chkIM;
@ -105,8 +117,9 @@ namespace WebsitePanel.Portal {
/// chkMobility control. /// chkMobility control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkMobility; protected global::System.Web.UI.WebControls.CheckBox chkMobility;
@ -114,8 +127,9 @@ namespace WebsitePanel.Portal {
/// chkConferencing control. /// chkConferencing control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkConferencing; protected global::System.Web.UI.WebControls.CheckBox chkConferencing;
@ -123,8 +137,9 @@ namespace WebsitePanel.Portal {
/// chkEnterpriseVoice control. /// chkEnterpriseVoice control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkEnterpriseVoice; protected global::System.Web.UI.WebControls.CheckBox chkEnterpriseVoice;
@ -132,8 +147,9 @@ namespace WebsitePanel.Portal {
/// secPlanFeaturesFederation control. /// secPlanFeaturesFederation control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesFederation; protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesFederation;
@ -141,8 +157,9 @@ namespace WebsitePanel.Portal {
/// PlanFeaturesFederation control. /// PlanFeaturesFederation control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel PlanFeaturesFederation; protected global::System.Web.UI.WebControls.Panel PlanFeaturesFederation;
@ -150,8 +167,9 @@ namespace WebsitePanel.Portal {
/// chkFederation control. /// chkFederation control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkFederation; protected global::System.Web.UI.WebControls.CheckBox chkFederation;
@ -159,26 +177,19 @@ namespace WebsitePanel.Portal {
/// chkRemoteUserAccess control. /// chkRemoteUserAccess control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkRemoteUserAccess; protected global::System.Web.UI.WebControls.CheckBox chkRemoteUserAccess;
/// <summary>
/// chkPublicIMConnectivity 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.CheckBox chkPublicIMConnectivity;
/// <summary> /// <summary>
/// secPlanFeaturesArchiving control. /// secPlanFeaturesArchiving control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesArchiving; protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesArchiving;
@ -186,8 +197,9 @@ namespace WebsitePanel.Portal {
/// PlanFeaturesArchiving control. /// PlanFeaturesArchiving control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel PlanFeaturesArchiving; protected global::System.Web.UI.WebControls.Panel PlanFeaturesArchiving;
@ -195,8 +207,9 @@ namespace WebsitePanel.Portal {
/// locArchivingPolicy control. /// locArchivingPolicy control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Localize locArchivingPolicy; protected global::System.Web.UI.WebControls.Localize locArchivingPolicy;
@ -204,8 +217,9 @@ namespace WebsitePanel.Portal {
/// ddArchivingPolicy control. /// ddArchivingPolicy control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddArchivingPolicy; protected global::System.Web.UI.WebControls.DropDownList ddArchivingPolicy;
@ -213,8 +227,9 @@ namespace WebsitePanel.Portal {
/// secPlanFeaturesMeeting control. /// secPlanFeaturesMeeting control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesMeeting; protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesMeeting;
@ -222,8 +237,9 @@ namespace WebsitePanel.Portal {
/// PlanFeaturesMeeting control. /// PlanFeaturesMeeting control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel PlanFeaturesMeeting; protected global::System.Web.UI.WebControls.Panel PlanFeaturesMeeting;
@ -231,8 +247,9 @@ namespace WebsitePanel.Portal {
/// chkAllowOrganizeMeetingsWithExternalAnonymous control. /// chkAllowOrganizeMeetingsWithExternalAnonymous control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.CheckBox chkAllowOrganizeMeetingsWithExternalAnonymous; protected global::System.Web.UI.WebControls.CheckBox chkAllowOrganizeMeetingsWithExternalAnonymous;
@ -240,8 +257,9 @@ namespace WebsitePanel.Portal {
/// secPlanFeaturesTelephony control. /// secPlanFeaturesTelephony control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesTelephony; protected global::WebsitePanel.Portal.CollapsiblePanel secPlanFeaturesTelephony;
@ -249,8 +267,9 @@ namespace WebsitePanel.Portal {
/// PlanFeaturesTelephony control. /// PlanFeaturesTelephony control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel PlanFeaturesTelephony; protected global::System.Web.UI.WebControls.Panel PlanFeaturesTelephony;
@ -258,8 +277,9 @@ namespace WebsitePanel.Portal {
/// locTelephony control. /// locTelephony control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Localize locTelephony; protected global::System.Web.UI.WebControls.Localize locTelephony;
@ -267,8 +287,9 @@ namespace WebsitePanel.Portal {
/// ddTelephony control. /// ddTelephony control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddTelephony; protected global::System.Web.UI.WebControls.DropDownList ddTelephony;
@ -276,8 +297,9 @@ namespace WebsitePanel.Portal {
/// pnEnterpriseVoice control. /// pnEnterpriseVoice control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel pnEnterpriseVoice; protected global::System.Web.UI.WebControls.Panel pnEnterpriseVoice;
@ -285,8 +307,9 @@ namespace WebsitePanel.Portal {
/// locTelephonyProvider control. /// locTelephonyProvider control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Localize locTelephonyProvider; protected global::System.Web.UI.WebControls.Localize locTelephonyProvider;
@ -294,8 +317,9 @@ namespace WebsitePanel.Portal {
/// tbTelephoneProvider control. /// tbTelephoneProvider control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox tbTelephoneProvider; protected global::System.Web.UI.WebControls.TextBox tbTelephoneProvider;
@ -303,8 +327,9 @@ namespace WebsitePanel.Portal {
/// btnAccept control. /// btnAccept control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Button btnAccept; protected global::System.Web.UI.WebControls.Button btnAccept;
@ -312,8 +337,9 @@ namespace WebsitePanel.Portal {
/// AcceptRequiredValidator control. /// AcceptRequiredValidator control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.RequiredFieldValidator AcceptRequiredValidator; protected global::System.Web.UI.WebControls.RequiredFieldValidator AcceptRequiredValidator;
@ -321,8 +347,9 @@ namespace WebsitePanel.Portal {
/// locDialPlan control. /// locDialPlan control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Localize locDialPlan; protected global::System.Web.UI.WebControls.Localize locDialPlan;
@ -330,8 +357,9 @@ namespace WebsitePanel.Portal {
/// ddTelephonyDialPlanPolicy control. /// ddTelephonyDialPlanPolicy control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddTelephonyDialPlanPolicy; protected global::System.Web.UI.WebControls.DropDownList ddTelephonyDialPlanPolicy;
@ -339,8 +367,9 @@ namespace WebsitePanel.Portal {
/// locVoicePolicy control. /// locVoicePolicy control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Localize locVoicePolicy; protected global::System.Web.UI.WebControls.Localize locVoicePolicy;
@ -348,8 +377,9 @@ namespace WebsitePanel.Portal {
/// ddTelephonyVoicePolicy control. /// ddTelephonyVoicePolicy control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddTelephonyVoicePolicy; protected global::System.Web.UI.WebControls.DropDownList ddTelephonyVoicePolicy;
@ -357,8 +387,9 @@ namespace WebsitePanel.Portal {
/// pnServerURI control. /// pnServerURI control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Panel pnServerURI; protected global::System.Web.UI.WebControls.Panel pnServerURI;
@ -366,8 +397,9 @@ namespace WebsitePanel.Portal {
/// locServerURI control. /// locServerURI control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Localize locServerURI; protected global::System.Web.UI.WebControls.Localize locServerURI;
@ -375,8 +407,9 @@ namespace WebsitePanel.Portal {
/// tbServerURI control. /// tbServerURI control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox tbServerURI; protected global::System.Web.UI.WebControls.TextBox tbServerURI;
@ -384,8 +417,9 @@ namespace WebsitePanel.Portal {
/// btnAddPlan control. /// btnAddPlan control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Button btnAddPlan; protected global::System.Web.UI.WebControls.Button btnAddPlan;
@ -393,8 +427,9 @@ namespace WebsitePanel.Portal {
/// btnUpdatePlan control. /// btnUpdatePlan control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Button btnUpdatePlan; protected global::System.Web.UI.WebControls.Button btnUpdatePlan;
@ -402,8 +437,9 @@ namespace WebsitePanel.Portal {
/// txtStatus control. /// txtStatus control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtStatus; protected global::System.Web.UI.WebControls.TextBox txtStatus;
} }

View file

@ -57,6 +57,10 @@
<td class="SubHead" nowrap><asp:Label ID="lblLyncUsers" runat="server" meta:resourcekey="lblLyncUsers" Text="Lync Users:"></asp:Label></td> <td class="SubHead" nowrap><asp:Label ID="lblLyncUsers" runat="server" meta:resourcekey="lblLyncUsers" Text="Lync Users:"></asp:Label></td>
<td class="Normal"><wsp:Quota ID="quotaLyncUsers" runat="server" QuotaName="Lync.Users" DisplayGauge="True" /></td> <td class="Normal"><wsp:Quota ID="quotaLyncUsers" runat="server" QuotaName="Lync.Users" DisplayGauge="True" /></td>
</tr> </tr>
<tr ID="pnlLyncPhone" runat="server">
<td class="SubHead" nowrap><asp:Label ID="Label1" runat="server" meta:resourcekey="lblLyncPhone" Text="Lync Phone Numbers:"></asp:Label></td>
<td class="Normal"><wsp:Quota ID="quotaLyncPhone" runat="server" QuotaName="Lync.PhoneNumbers" DisplayGauge="True" /></td>
</tr>
<tr ID="pnlBlackBerryUsers" runat="server"> <tr ID="pnlBlackBerryUsers" runat="server">
<td class="SubHead" nowrap><asp:Label ID="lblBlackBerryUsers" runat="server" meta:resourcekey="lblBlackBerryUsers" Text="BlackBerry Users:"></asp:Label></td> <td class="SubHead" nowrap><asp:Label ID="lblBlackBerryUsers" runat="server" meta:resourcekey="lblBlackBerryUsers" Text="BlackBerry Users:"></asp:Label></td>

View file

@ -1,34 +1,7 @@
// 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> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:2.0.50727.3074
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
@ -44,8 +17,9 @@ namespace WebsitePanel.Portal {
/// pnlDiskspace control. /// pnlDiskspace control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlDiskspace; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlDiskspace;
@ -53,8 +27,9 @@ namespace WebsitePanel.Portal {
/// quotaDiskspace control. /// quotaDiskspace control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaDiskspace; protected global::WebsitePanel.Portal.Quota quotaDiskspace;
@ -62,8 +37,9 @@ namespace WebsitePanel.Portal {
/// lnkViewDiskspaceDetails control. /// lnkViewDiskspaceDetails control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.HyperLink lnkViewDiskspaceDetails; protected global::System.Web.UI.WebControls.HyperLink lnkViewDiskspaceDetails;
@ -71,8 +47,9 @@ namespace WebsitePanel.Portal {
/// pnlBandwidth control. /// pnlBandwidth control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlBandwidth; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlBandwidth;
@ -80,8 +57,9 @@ namespace WebsitePanel.Portal {
/// quotaBandwidth control. /// quotaBandwidth control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaBandwidth; protected global::WebsitePanel.Portal.Quota quotaBandwidth;
@ -89,8 +67,9 @@ namespace WebsitePanel.Portal {
/// lnkViewBandwidthDetails control. /// lnkViewBandwidthDetails control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.HyperLink lnkViewBandwidthDetails; protected global::System.Web.UI.WebControls.HyperLink lnkViewBandwidthDetails;
@ -98,8 +77,9 @@ namespace WebsitePanel.Portal {
/// pnlDomains control. /// pnlDomains control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlDomains; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlDomains;
@ -107,8 +87,9 @@ namespace WebsitePanel.Portal {
/// lblDomains control. /// lblDomains control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblDomains; protected global::System.Web.UI.WebControls.Label lblDomains;
@ -116,8 +97,9 @@ namespace WebsitePanel.Portal {
/// quotaDomains control. /// quotaDomains control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaDomains; protected global::WebsitePanel.Portal.Quota quotaDomains;
@ -125,8 +107,9 @@ namespace WebsitePanel.Portal {
/// pnlSubDomains control. /// pnlSubDomains control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlSubDomains; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlSubDomains;
@ -134,8 +117,9 @@ namespace WebsitePanel.Portal {
/// lblSubDomains control. /// lblSubDomains control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblSubDomains; protected global::System.Web.UI.WebControls.Label lblSubDomains;
@ -143,8 +127,9 @@ namespace WebsitePanel.Portal {
/// quotaSubDomains control. /// quotaSubDomains control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaSubDomains; protected global::WebsitePanel.Portal.Quota quotaSubDomains;
@ -152,8 +137,9 @@ namespace WebsitePanel.Portal {
/// pnlDomainPointers control. /// pnlDomainPointers control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlDomainPointers; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlDomainPointers;
@ -161,8 +147,9 @@ namespace WebsitePanel.Portal {
/// lblDomainPointers control. /// lblDomainPointers control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblDomainPointers; protected global::System.Web.UI.WebControls.Label lblDomainPointers;
@ -170,8 +157,9 @@ namespace WebsitePanel.Portal {
/// quotaDomainPointers control. /// quotaDomainPointers control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaDomainPointers; protected global::WebsitePanel.Portal.Quota quotaDomainPointers;
@ -179,8 +167,9 @@ namespace WebsitePanel.Portal {
/// pnlOrganizations control. /// pnlOrganizations control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlOrganizations; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlOrganizations;
@ -188,8 +177,9 @@ namespace WebsitePanel.Portal {
/// lblOrganizations control. /// lblOrganizations control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblOrganizations; protected global::System.Web.UI.WebControls.Label lblOrganizations;
@ -197,8 +187,9 @@ namespace WebsitePanel.Portal {
/// quotaOrganizations control. /// quotaOrganizations control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaOrganizations; protected global::WebsitePanel.Portal.Quota quotaOrganizations;
@ -206,8 +197,9 @@ namespace WebsitePanel.Portal {
/// pnlUserAccounts control. /// pnlUserAccounts control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlUserAccounts; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlUserAccounts;
@ -215,8 +207,9 @@ namespace WebsitePanel.Portal {
/// lblUserAccounts control. /// lblUserAccounts control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblUserAccounts; protected global::System.Web.UI.WebControls.Label lblUserAccounts;
@ -224,8 +217,9 @@ namespace WebsitePanel.Portal {
/// quotaUserAccounts control. /// quotaUserAccounts control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaUserAccounts; protected global::WebsitePanel.Portal.Quota quotaUserAccounts;
@ -233,8 +227,9 @@ namespace WebsitePanel.Portal {
/// pnlExchangeAccounts control. /// pnlExchangeAccounts control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlExchangeAccounts; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlExchangeAccounts;
@ -242,8 +237,9 @@ namespace WebsitePanel.Portal {
/// lblExchangeAccounts control. /// lblExchangeAccounts control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblExchangeAccounts; protected global::System.Web.UI.WebControls.Label lblExchangeAccounts;
@ -251,8 +247,9 @@ namespace WebsitePanel.Portal {
/// quotaExchangeAccounts control. /// quotaExchangeAccounts control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaExchangeAccounts; protected global::WebsitePanel.Portal.Quota quotaExchangeAccounts;
@ -260,8 +257,9 @@ namespace WebsitePanel.Portal {
/// pnlExchangeStorage control. /// pnlExchangeStorage control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlExchangeStorage; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlExchangeStorage;
@ -269,8 +267,9 @@ namespace WebsitePanel.Portal {
/// lblExchangeStorage control. /// lblExchangeStorage control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblExchangeStorage; protected global::System.Web.UI.WebControls.Label lblExchangeStorage;
@ -278,8 +277,9 @@ namespace WebsitePanel.Portal {
/// quotaExchangeStorage control. /// quotaExchangeStorage control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaExchangeStorage; protected global::WebsitePanel.Portal.Quota quotaExchangeStorage;
@ -287,8 +287,9 @@ namespace WebsitePanel.Portal {
/// pnlMailAccounts control. /// pnlMailAccounts control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlMailAccounts; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlMailAccounts;
@ -296,8 +297,9 @@ namespace WebsitePanel.Portal {
/// lblMailAccounts control. /// lblMailAccounts control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblMailAccounts; protected global::System.Web.UI.WebControls.Label lblMailAccounts;
@ -305,8 +307,9 @@ namespace WebsitePanel.Portal {
/// quotaMailAccounts control. /// quotaMailAccounts control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaMailAccounts; protected global::WebsitePanel.Portal.Quota quotaMailAccounts;
@ -314,8 +317,9 @@ namespace WebsitePanel.Portal {
/// pnlOCSUsers control. /// pnlOCSUsers control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlOCSUsers; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlOCSUsers;
@ -323,8 +327,9 @@ namespace WebsitePanel.Portal {
/// lblOCSUsers control. /// lblOCSUsers control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblOCSUsers; protected global::System.Web.UI.WebControls.Label lblOCSUsers;
@ -332,8 +337,9 @@ namespace WebsitePanel.Portal {
/// quotaOCSUsers control. /// quotaOCSUsers control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaOCSUsers; protected global::WebsitePanel.Portal.Quota quotaOCSUsers;
@ -341,8 +347,9 @@ namespace WebsitePanel.Portal {
/// pnlLyncUsers control. /// pnlLyncUsers control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlLyncUsers; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlLyncUsers;
@ -350,8 +357,9 @@ namespace WebsitePanel.Portal {
/// lblLyncUsers control. /// lblLyncUsers control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblLyncUsers; protected global::System.Web.UI.WebControls.Label lblLyncUsers;
@ -359,17 +367,49 @@ namespace WebsitePanel.Portal {
/// quotaLyncUsers control. /// quotaLyncUsers control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaLyncUsers; protected global::WebsitePanel.Portal.Quota quotaLyncUsers;
/// <summary>
/// pnlLyncPhone 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 pnlLyncPhone;
/// <summary>
/// Label1 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 Label1;
/// <summary>
/// quotaLyncPhone control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::WebsitePanel.Portal.Quota quotaLyncPhone;
/// <summary> /// <summary>
/// pnlBlackBerryUsers control. /// pnlBlackBerryUsers control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlBlackBerryUsers; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlBlackBerryUsers;
@ -377,8 +417,9 @@ namespace WebsitePanel.Portal {
/// lblBlackBerryUsers control. /// lblBlackBerryUsers control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblBlackBerryUsers; protected global::System.Web.UI.WebControls.Label lblBlackBerryUsers;
@ -386,8 +427,9 @@ namespace WebsitePanel.Portal {
/// quotaBlackBerryUsers control. /// quotaBlackBerryUsers control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaBlackBerryUsers; protected global::WebsitePanel.Portal.Quota quotaBlackBerryUsers;
@ -395,8 +437,9 @@ namespace WebsitePanel.Portal {
/// pnlSharepointSites control. /// pnlSharepointSites control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlSharepointSites; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlSharepointSites;
@ -404,8 +447,9 @@ namespace WebsitePanel.Portal {
/// lblSharepointSites control. /// lblSharepointSites control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblSharepointSites; protected global::System.Web.UI.WebControls.Label lblSharepointSites;
@ -413,8 +457,9 @@ namespace WebsitePanel.Portal {
/// quotaSharepointSites control. /// quotaSharepointSites control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaSharepointSites; protected global::WebsitePanel.Portal.Quota quotaSharepointSites;
@ -422,8 +467,9 @@ namespace WebsitePanel.Portal {
/// pnlWebSites control. /// pnlWebSites control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlWebSites; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlWebSites;
@ -431,8 +477,9 @@ namespace WebsitePanel.Portal {
/// lblWebSites control. /// lblWebSites control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblWebSites; protected global::System.Web.UI.WebControls.Label lblWebSites;
@ -440,8 +487,9 @@ namespace WebsitePanel.Portal {
/// quotaWebSites control. /// quotaWebSites control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaWebSites; protected global::WebsitePanel.Portal.Quota quotaWebSites;
@ -449,8 +497,9 @@ namespace WebsitePanel.Portal {
/// pnlFtpAccounts control. /// pnlFtpAccounts control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlFtpAccounts; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlFtpAccounts;
@ -458,8 +507,9 @@ namespace WebsitePanel.Portal {
/// lblFtpAccounts control. /// lblFtpAccounts control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblFtpAccounts; protected global::System.Web.UI.WebControls.Label lblFtpAccounts;
@ -467,8 +517,9 @@ namespace WebsitePanel.Portal {
/// quotaFtpAccounts control. /// quotaFtpAccounts control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaFtpAccounts; protected global::WebsitePanel.Portal.Quota quotaFtpAccounts;
@ -476,8 +527,9 @@ namespace WebsitePanel.Portal {
/// pnlDatabases control. /// pnlDatabases control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlDatabases; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlDatabases;
@ -485,8 +537,9 @@ namespace WebsitePanel.Portal {
/// lblDatabases control. /// lblDatabases control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblDatabases; protected global::System.Web.UI.WebControls.Label lblDatabases;
@ -494,8 +547,9 @@ namespace WebsitePanel.Portal {
/// quotaDatabases control. /// quotaDatabases control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaDatabases; protected global::WebsitePanel.Portal.Quota quotaDatabases;
@ -503,8 +557,9 @@ namespace WebsitePanel.Portal {
/// pnlHyperVForPC control. /// pnlHyperVForPC control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlHyperVForPC; protected global::System.Web.UI.HtmlControls.HtmlTableRow pnlHyperVForPC;
@ -512,8 +567,9 @@ namespace WebsitePanel.Portal {
/// lblHyperVForPC control. /// lblHyperVForPC control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label lblHyperVForPC; protected global::System.Web.UI.WebControls.Label lblHyperVForPC;
@ -521,8 +577,9 @@ namespace WebsitePanel.Portal {
/// quotaNumberOfVm control. /// quotaNumberOfVm control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::WebsitePanel.Portal.Quota quotaNumberOfVm; protected global::WebsitePanel.Portal.Quota quotaNumberOfVm;
@ -530,8 +587,9 @@ namespace WebsitePanel.Portal {
/// btnViewQuotas control. /// btnViewQuotas control.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Auto-generated field. /// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file. /// To modify move field declaration from designer file to code-behind file.
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Button btnViewQuotas; protected global::System.Web.UI.WebControls.Button btnViewQuotas;
} }

View file

@ -90,7 +90,7 @@ namespace WebsitePanel.Portal.UserControls
} }
int quotaAllowed = -1; int quotaAllowed = -1;
string quotaName = (String.Compare(ResourceGroup, ResourceGroups.VPS, true) == 0) ? Quotas.VPS_EXTERNAL_IP_ADDRESSES_NUMBER : Quotas.WEB_IP_ADDRESSES; string quotaName = Quotas.LYNC_PHONE;
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId); PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
if (cntx.Quotas.ContainsKey(quotaName)) if (cntx.Quotas.ContainsKey(quotaName))
{ {

View file

@ -1,6 +1,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:2.0.50727.3074
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.

View file

@ -1,6 +1,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
// Runtime Version:2.0.50727.3074
// //
// Changes to this file may cause incorrect behavior and will be lost if // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.