diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/activesync_policy_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/activesync_policy_48.png
new file mode 100644
index 00000000..96533b42
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/activesync_policy_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/crm_storage_settings_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/crm_storage_settings_48.png
new file mode 100644
index 00000000..96533b42
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/crm_storage_settings_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/disclaimers_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/disclaimers_48.png
new file mode 100644
index 00000000..df5b6f8b
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/disclaimers_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/enterprisestorage_drive_maps_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/enterprisestorage_drive_maps_48.png
new file mode 100644
index 00000000..b24089d0
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/enterprisestorage_drive_maps_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/lync_federationdomains_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/lync_federationdomains_48.png
new file mode 100644
index 00000000..3e9ffeaa
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/lync_federationdomains_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/lync_phonenumbers_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/lync_phonenumbers_48.png
new file mode 100644
index 00000000..3e9ffeaa
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/lync_phonenumbers_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/lync_userplans_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/lync_userplans_48.png
new file mode 100644
index 00000000..3e9ffeaa
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/lync_userplans_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/mailboxplans_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/mailboxplans_48.png
new file mode 100644
index 00000000..96533b42
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/mailboxplans_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/public_folders_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/public_folders_48.png
new file mode 100644
index 00000000..b24089d0
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/public_folders_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/retentionpolicy_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/retentionpolicy_48.png
new file mode 100644
index 00000000..96533b42
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/retentionpolicy_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/retentionpolicytag_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/retentionpolicytag_48.png
new file mode 100644
index 00000000..96533b42
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/retentionpolicytag_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/sharepoint_storage_settings_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/sharepoint_storage_settings_48.png
new file mode 100644
index 00000000..3b3ecf68
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/sharepoint_storage_settings_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/sharepoint_storage_usage_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/sharepoint_storage_usage_48.png
new file mode 100644
index 00000000..3b3ecf68
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/sharepoint_storage_usage_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/storage_usages_48.png b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/storage_usages_48.png
new file mode 100644
index 00000000..96533b42
Binary files /dev/null and b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Themes/Default/Icons/storage_usages_48.png differ
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/UserOrganization.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/UserOrganization.ascx.resx
index 9db2a02d..3da7bae5 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/UserOrganization.ascx.resx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/UserOrganization.ascx.resx
@@ -142,7 +142,7 @@
ActiveSync Policy
- BlackBerry
+ Hosted Organization - BlackBerry
BlackBerry Users
@@ -151,10 +151,10 @@
Contacts
- CRM 2013
+ Hosted Organization - CRM 2013
- CRM
+ Hosted Organization - CRM
CRM Organization
@@ -178,19 +178,19 @@
Online Folders
- Enterprise Storage
+ Hosted Organization - Enterprise Storage
Accepted Domains
- Exchange
+ Hosted Organization - Exchange
Lync Federation Domains
- Lync
+ Hosted Organization - Lync
Phone Numbers
@@ -208,13 +208,13 @@
Mailbox Plans
- OCS
+ Hosted Organization - OCS
OCS Users
- Organization
+ Hosted Organization
Organization Statistics
@@ -235,7 +235,7 @@
Setup
- SharePoint
+ Hosted Organization - SharePoint
Sharepoint Sites
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/OrganizationMenuControl.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/OrganizationMenuControl.cs
index 4f537a5f..6aac93ba 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/OrganizationMenuControl.cs
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserControls/OrganizationMenuControl.cs
@@ -72,6 +72,11 @@ namespace WebsitePanel.Portal.UserControls
public bool ShortMenu = false;
public bool ShowImg = false;
+ public MenuItem OrganizationMenuRoot = null;
+ public MenuItem ExchangeMenuRoot = null;
+
+ public bool PutBlackBerryInExchange = false;
+
public void BindMenu(MenuItemCollection items)
{
if ((PackageId <= 0) || (ItemID <= 0))
@@ -132,16 +137,23 @@ namespace WebsitePanel.Portal.UserControls
}
else
{
- MenuItem item = new MenuItem(GetLocalizedString("Text.OrganizationGroup"), "", "", null);
+ MenuItem item;
+
+ if (OrganizationMenuRoot != null)
+ item = OrganizationMenuRoot;
+ else
+ item = new MenuItem(GetLocalizedString("Text.OrganizationGroup"), "", "", null);
item.Selectable = false;
PrepareOrganizationMenu(item.ChildItems);
- if (item.ChildItems.Count > 0)
+ if ((item.ChildItems.Count > 0) && (OrganizationMenuRoot == null))
{
items.Add(item);
}
+
+ OrganizationMenuRoot = item;
}
}
}
@@ -188,6 +200,8 @@ namespace WebsitePanel.Portal.UserControls
{
items.Add(item);
}
+
+ ExchangeMenuRoot = item;
}
}
@@ -202,38 +216,38 @@ namespace WebsitePanel.Portal.UserControls
if (Utils.CheckQouta(Quotas.EXCHANGE2007_DISTRIBUTIONLISTS, Cntx))
exchangeItems.Add(CreateMenuItem("DistributionLists", "dlists", @"Icons/exchange_dlists_48.png"));
- if (ShortMenu) return;
+ //if (ShortMenu) return;
if (Utils.CheckQouta(Quotas.EXCHANGE2007_PUBLICFOLDERS, Cntx))
- exchangeItems.Add(CreateMenuItem("PublicFolders", "public_folders"));
+ exchangeItems.Add(CreateMenuItem("PublicFolders", "public_folders", @"Icons/public_folders_48.png"));
if (!hideItems)
if (Utils.CheckQouta(Quotas.EXCHANGE2007_ACTIVESYNCALLOWED, Cntx))
- exchangeItems.Add(CreateMenuItem("ActiveSyncPolicy", "activesync_policy"));
+ exchangeItems.Add(CreateMenuItem("ActiveSyncPolicy", "activesync_policy", @"Icons/activesync_policy_48.png"));
if (!hideItems)
if (Utils.CheckQouta(Quotas.EXCHANGE2007_MAILBOXES, Cntx))
- exchangeItems.Add(CreateMenuItem("MailboxPlans", "mailboxplans"));
+ exchangeItems.Add(CreateMenuItem("MailboxPlans", "mailboxplans", @"Icons/mailboxplans_48.png"));
if (!hideItems)
if (Utils.CheckQouta(Quotas.EXCHANGE2013_ALLOWRETENTIONPOLICY, Cntx))
- exchangeItems.Add(CreateMenuItem("RetentionPolicy", "retentionpolicy"));
+ exchangeItems.Add(CreateMenuItem("RetentionPolicy", "retentionpolicy", @"Icons/retentionpolicy_48.png"));
if (!hideItems)
if (Utils.CheckQouta(Quotas.EXCHANGE2013_ALLOWRETENTIONPOLICY, Cntx))
- exchangeItems.Add(CreateMenuItem("RetentionPolicyTag", "retentionpolicytag"));
+ exchangeItems.Add(CreateMenuItem("RetentionPolicyTag", "retentionpolicytag", @"Icons/retentionpolicytag_48.png"));
if (!hideItems)
if (Utils.CheckQouta(Quotas.EXCHANGE2007_MAILBOXES, Cntx))
- exchangeItems.Add(CreateMenuItem("ExchangeDomainNames", "domains"));
+ exchangeItems.Add(CreateMenuItem("ExchangeDomainNames", "domains", @"Icons/domains_48.png"));
if (!hideItems)
if (Utils.CheckQouta(Quotas.EXCHANGE2007_MAILBOXES, Cntx))
- exchangeItems.Add(CreateMenuItem("StorageUsage", "storage_usage"));
+ exchangeItems.Add(CreateMenuItem("StorageUsage", "storage_usage", @"Icons/storage_usages_48.png"));
if (!hideItems)
if (Utils.CheckQouta(Quotas.EXCHANGE2007_DISCLAIMERSALLOWED, Cntx))
- exchangeItems.Add(CreateMenuItem("Disclaimers", "disclaimers"));
+ exchangeItems.Add(CreateMenuItem("Disclaimers", "disclaimers", @"Icons/disclaimers_48.png"));
}
@@ -263,9 +277,9 @@ namespace WebsitePanel.Portal.UserControls
crmItems.Add(CreateMenuItem("CRMOrganization", "CRMOrganizationDetails", @"Icons/crm_orgs_48.png"));
crmItems.Add(CreateMenuItem("CRMUsers", "CRMUsers", @"Icons/crm_users_48.png"));
- if (ShortMenu) return;
+ //if (ShortMenu) return;
- crmItems.Add(CreateMenuItem("StorageLimits", "crm_storage_settings"));
+ crmItems.Add(CreateMenuItem("StorageLimits", "crm_storage_settings", @"Icons/crm_storage_settings_48.png"));
}
private void PrepareCRM2013MenuRoot(MenuItemCollection items)
@@ -294,9 +308,9 @@ namespace WebsitePanel.Portal.UserControls
crmItems.Add(CreateMenuItem("CRMOrganization", "CRMOrganizationDetails", @"Icons/crm_orgs_48.png"));
crmItems.Add(CreateMenuItem("CRMUsers", "CRMUsers", @"Icons/crm_users_48.png"));
- if (ShortMenu) return;
+ //if (ShortMenu) return;
- crmItems.Add(CreateMenuItem("StorageLimits", "crm_storage_settings"));
+ crmItems.Add(CreateMenuItem("StorageLimits", "crm_storage_settings", @"Icons/crm_storage_settings_48.png"));
}
private void PrepareBlackBerryMenuRoot(MenuItemCollection items)
@@ -307,13 +321,24 @@ namespace WebsitePanel.Portal.UserControls
}
else
{
- MenuItem item = new MenuItem(GetLocalizedString("Text.BlackBerryGroup"), "", "", null);
+ MenuItem item;
+ bool additem = true;
+
+ if (PutBlackBerryInExchange && (ExchangeMenuRoot != null))
+ {
+ item = ExchangeMenuRoot;
+ additem = false;
+ }
+ else
+ item = new MenuItem(GetLocalizedString("Text.BlackBerryGroup"), "", "", null);
item.Selectable = false;
PrepareBlackBerryMenu(item.ChildItems);
- if (item.ChildItems.Count > 0)
+ additem = additem && (item.ChildItems.Count > 0);
+
+ if (additem)
{
items.Add(item);
}
@@ -351,10 +376,10 @@ namespace WebsitePanel.Portal.UserControls
{
spItems.Add(CreateMenuItem("SiteCollections", "sharepoint_sitecollections", @"Icons/sharepoint_sitecollections_48.png"));
- if (ShortMenu) return;
+ //if (ShortMenu) return;
- spItems.Add(CreateMenuItem("StorageUsage", "sharepoint_storage_usage"));
- spItems.Add(CreateMenuItem("StorageLimits", "sharepoint_storage_settings"));
+ spItems.Add(CreateMenuItem("StorageUsage", "sharepoint_storage_usage", @"Icons/sharepoint_storage_usage_48.png"));
+ spItems.Add(CreateMenuItem("StorageLimits", "sharepoint_storage_settings", @"Icons/sharepoint_storage_settings_48.png"));
}
private void PrepareOCSMenuRoot(MenuItemCollection items)
@@ -408,16 +433,16 @@ namespace WebsitePanel.Portal.UserControls
{
lyncItems.Add(CreateMenuItem("LyncUsers", "lync_users", @"Icons/lync_users_48.png"));
- if (ShortMenu) return;
+ //if (ShortMenu) return;
- lyncItems.Add(CreateMenuItem("LyncUserPlans", "lync_userplans"));
+ lyncItems.Add(CreateMenuItem("LyncUserPlans", "lync_userplans", @"Icons/lync_userplans_48.png"));
if (Utils.CheckQouta(Quotas.LYNC_FEDERATION, Cntx))
- lyncItems.Add(CreateMenuItem("LyncFederationDomains", "lync_federationdomains"));
+ lyncItems.Add(CreateMenuItem("LyncFederationDomains", "lync_federationdomains", @"Icons/lync_federationdomains_48.png"));
if (Utils.CheckQouta(Quotas.LYNC_PHONE, Cntx))
- lyncItems.Add(CreateMenuItem("LyncPhoneNumbers", "lync_phonenumbers"));
+ lyncItems.Add(CreateMenuItem("LyncPhoneNumbers", "lync_phonenumbers", @"Icons/lync_phonenumbers_48.png"));
}
private void PrepareEnterpriseStorageMenuRoot(MenuItemCollection items)
@@ -445,10 +470,10 @@ namespace WebsitePanel.Portal.UserControls
{
enterpriseStorageItems.Add(CreateMenuItem("EnterpriseStorageFolders", "enterprisestorage_folders", @"Icons/enterprisestorage_folders_48.png"));
- if (ShortMenu) return;
+ //if (ShortMenu) return;
if (Utils.CheckQouta(Quotas.ENTERPRICESTORAGE_DRIVEMAPS, Cntx))
- enterpriseStorageItems.Add(CreateMenuItem("EnterpriseStorageDriveMaps", "enterprisestorage_drive_maps"));
+ enterpriseStorageItems.Add(CreateMenuItem("EnterpriseStorageDriveMaps", "enterprisestorage_drive_maps", @"Icons/enterprisestorage_drive_maps_48.png"));
}
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserOrganization.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserOrganization.ascx
index 8ade5af5..9d56cc81 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserOrganization.ascx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserOrganization.ascx
@@ -1,33 +1,41 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UserOrganization.ascx.cs" Inherits="WebsitePanel.Portal.UserOrganization" %>
<%@ Import Namespace="WebsitePanel.Portal" %>
-<%@ Register Src="UserControls/ServerDetails.ascx" TagName="ServerDetails" TagPrefix="uc3" %>
-<%@ Register Src="UserControls/Comments.ascx" TagName="Comments" TagPrefix="uc4" %>
-<%@ Import Namespace="WebsitePanel.Portal" %>
-
-
-
-
-
-
- <%# Eval("Text") %>
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ <%# Eval("Text") %>
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserOrganization.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserOrganization.ascx.cs
index a487dda2..84239131 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserOrganization.ascx.cs
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserOrganization.ascx.cs
@@ -102,29 +102,33 @@ namespace WebsitePanel.Portal
protected void Page_Load(object sender, EventArgs e)
{
- ShortMenu = true;
+ ShortMenu = false;
ShowImg = true;
+ PutBlackBerryInExchange = true;
if ((PackageId > 0) && (Cntx.Groups.ContainsKey(ResourceGroups.HostedOrganizations)))
{
MenuItemCollection items = new MenuItemCollection();
+ OrganizationMenuRoot = new MenuItem(GetLocalizedString("Text.OrganizationGroup"), "", "", null);
+ items.Add(OrganizationMenuRoot);
+
if (ItemID > 0)
{
- items.Add(CreateMenuItem("OrganizationHome", "organization_home", @"Icons/organization_home_48.png"));
+ OrganizationMenuRoot.ChildItems.Add(CreateMenuItem("OrganizationHome", "organization_home", @"Icons/organization_home_48.png"));
BindMenu(items);
}
else
{
- items.Add(CreateMenuItem("CreateOrganization", "create_organization", @"Icons/create_organization_48.png"));
+ OrganizationMenuRoot.ChildItems.Add(CreateMenuItem("CreateOrganization", "create_organization", @"Icons/create_organization_48.png"));
}
UserOrgPanel.Visible = true;
- OrgIcons.DataSource = items;
- OrgIcons.DataBind();
+ OrgList.DataSource = items;
+ OrgList.DataBind();
}
else
UserOrgPanel.Visible = false;
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserOrganization.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserOrganization.ascx.designer.cs
index 26efff9f..0c00eff8 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserOrganization.ascx.designer.cs
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserOrganization.ascx.designer.cs
@@ -22,12 +22,12 @@ namespace WebsitePanel.Portal {
protected global::System.Web.UI.WebControls.Panel UserOrgPanel;
///
- /// OrgIcons control.
+ /// OrgList control.
///
///
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
///
- protected global::System.Web.UI.WebControls.DataList OrgIcons;
+ protected global::System.Web.UI.WebControls.Repeater OrgList;
}
}
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserSpaces.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserSpaces.ascx
index da26021d..97281335 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserSpaces.ascx
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/UserSpaces.ascx
@@ -56,7 +56,6 @@
-
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/WebsitePanel.WebPortal.csproj b/WebsitePanel/Sources/WebsitePanel.WebPortal/WebsitePanel.WebPortal.csproj
index a28a12e2..3c33cdbb 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/WebsitePanel.WebPortal.csproj
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/WebsitePanel.WebPortal.csproj
@@ -104,6 +104,7 @@
+
@@ -111,15 +112,22 @@
+
+
+
+
+
+
+
@@ -128,10 +136,16 @@
+
+
+
+
+
+