wsp-10323 Convert the VSP provider into one utilizing PowerShell. Step 4 Snapshots
This commit is contained in:
parent
04bb21447e
commit
d61b1613d9
1 changed files with 6 additions and 0 deletions
|
@ -211,18 +211,24 @@ namespace WebsitePanel.Portal.UserControls
|
|||
|
||||
private void ShowActionList()
|
||||
{
|
||||
var checkboxColumn = gvItems.Columns[0];
|
||||
websiteActions.Visible = false;
|
||||
mailActions.Visible = false;
|
||||
checkboxColumn.Visible = false;
|
||||
|
||||
switch (QuotaName)
|
||||
{
|
||||
case "Web.Sites":
|
||||
websiteActions.Visible = true;
|
||||
checkboxColumn.Visible = true;
|
||||
break;
|
||||
case "Mail.Accounts":
|
||||
ProviderInfo provider = ES.Services.Servers.GetPackageServiceProvider(PanelSecurity.PackageId, "Mail");
|
||||
if (provider.EditorControl == "SmarterMail100")
|
||||
{
|
||||
mailActions.Visible = true;
|
||||
checkboxColumn.Visible = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue