Merge
This commit is contained in:
commit
c07c84a750
47 changed files with 1216 additions and 1134 deletions
|
@ -121,7 +121,7 @@
|
|||
<value><p>When you grant <b>Full Access</b> permission to a user, that user can open this mailbox and access all of its content.</p> <br><p>When you grant <b>Send As</b> permission to a user, that user can send messages as this mailbox. </p><br><p>We do not recommend to use this setting together “Send on behalf” (“Send as”) – it may work unpredictable.</p></value>
|
||||
</data>
|
||||
<data name="lblGrandPermissions.Text" xml:space="preserve">
|
||||
<value>Grand this permission to:</value>
|
||||
<value>Grant this permission to:</value>
|
||||
</data>
|
||||
<data name="secSendAs.Text" xml:space="preserve">
|
||||
<value>Send As</value>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
function HighlightRow(chkB)
|
||||
{
|
||||
var xState=chkB.checked;
|
||||
var row = chkB.parentElement.parentElement;
|
||||
var row = chkB.parentNode.parentNode;
|
||||
if(xState)
|
||||
{
|
||||
row.setAttribute("temp_class", row.className);
|
||||
|
|
|
@ -68,7 +68,7 @@ namespace WebsitePanel.Portal.ProviderControls
|
|||
hosts = ES.Services.VPSPC.GetClusters(PanelRequest.ServiceId);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
hosts = null;
|
||||
}
|
||||
|
|
|
@ -130,7 +130,7 @@ namespace WebsitePanel.Portal.VPSForPC
|
|||
btn.Enabled = false;
|
||||
}
|
||||
|
||||
messageBox.ShowErrorMessage("VPS_ERROR_CREATE", new Exception("no templates"));
|
||||
messageBox.ShowErrorMessage("VPS_ERROR_CREATE", new Exception("no templates", ex));
|
||||
}
|
||||
// summary letter e-mail
|
||||
PackageInfo package = ES.Services.Packages.GetPackage(PanelSecurity.PackageId);
|
||||
|
|
|
@ -85,7 +85,7 @@ namespace WebsitePanel.Portal.VPSForPC
|
|||
listOperatingSystems.Enabled = false;
|
||||
txtVmName.Enabled = false;
|
||||
btnCreate.Enabled = false;
|
||||
messageBox.ShowErrorMessage("VPS_ERROR_CREATE", new Exception("no VM"));
|
||||
messageBox.ShowErrorMessage("VPS_ERROR_CREATE", new Exception("no VM", ex));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -67,12 +67,7 @@ namespace WebsitePanel.Portal.VPSForPC
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
vm = null;
|
||||
}
|
||||
|
||||
if (vm == null)
|
||||
{
|
||||
messageBox.ShowErrorMessage("VPS_LOAD_VM_META_ITEM");
|
||||
messageBox.ShowErrorMessage("VPS_LOAD_VM_META_ITEM", ex);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -107,15 +107,23 @@ namespace WebsitePanel.Portal
|
|||
}
|
||||
}
|
||||
|
||||
private void BindListOfAvailableSslDomains(ServerBinding[] siteBindings, SSLCertificate[] siteCertificates)
|
||||
private void BindListOfAvailableSslDomains(ServerBinding[] siteBindings, SSLCertificate[] siteCertificates, string websiteName = "")
|
||||
{
|
||||
lstDomains.Items.Clear();
|
||||
//
|
||||
foreach (ServerBinding binding in siteBindings)
|
||||
{
|
||||
//
|
||||
lstDomains.Items.Add(new ListItem(binding.Host, binding.Host));
|
||||
}
|
||||
lstDomains.Items.Clear();
|
||||
//
|
||||
foreach (ServerBinding binding in siteBindings)
|
||||
{
|
||||
//
|
||||
if (binding.IP.ToString().Length > 0 && binding.Host.Length == 0)
|
||||
{
|
||||
lstDomains.Items.Add(new ListItem(websiteName, websiteName));
|
||||
lstDomains.Items.Add(new ListItem(String.Format("www.{0}", websiteName), String.Format("www.{0}", websiteName)));
|
||||
}
|
||||
else
|
||||
{
|
||||
lstDomains.Items.Add(new ListItem(binding.Host, binding.Host));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void BindWebItem(WebVirtualDirectory item)
|
||||
|
@ -137,7 +145,7 @@ namespace WebsitePanel.Portal
|
|||
|
||||
SSLNotInstalled.Visible = true;
|
||||
//
|
||||
BindListOfAvailableSslDomains(webSite.Bindings, certificates);
|
||||
BindListOfAvailableSslDomains(webSite.Bindings, certificates, webSite.Name);
|
||||
|
||||
if (certificates.Length > 0)
|
||||
{
|
||||
|
@ -560,7 +568,7 @@ namespace WebsitePanel.Portal
|
|||
|
||||
SSLNotInstalled.Visible = true;
|
||||
//
|
||||
BindListOfAvailableSslDomains(item.Bindings, certificates);
|
||||
BindListOfAvailableSslDomains(item.Bindings, certificates, item.Name);
|
||||
|
||||
if (certificates.Length > 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue