Added: Support for "@" and "*" records for enabled/disable dns and ip mode
switch. Only when only one site exists. Fixed: Smartermail domain retrieval to handle records with same domain name Fixed: Added not-domain dependendent services globaldnssupport upon space or domain creation
This commit is contained in:
parent
f067884ec4
commit
aafb82015b
14 changed files with 839 additions and 313 deletions
|
@ -121,9 +121,18 @@ namespace WebsitePanel.Portal
|
|||
|
||||
// load instant alias
|
||||
DomainInfo instantAlias = ES.Services.Servers.GetDomain(domain.InstantAliasId);
|
||||
WebSiteAliasPanel.Visible = false;
|
||||
if (instantAlias != null)
|
||||
{
|
||||
WebSiteAliasPanel.Visible = (instantAlias.WebSiteId > 0);
|
||||
DomainInfo[] Domains = ES.Services.Servers.GetDomainsByDomainId(domain.InstantAliasId);
|
||||
foreach (DomainInfo d in Domains)
|
||||
{
|
||||
if (d.WebSiteId > 0)
|
||||
{
|
||||
WebSiteAliasPanel.Visible = true;
|
||||
}
|
||||
}
|
||||
|
||||
MailDomainAliasPanel.Visible = (instantAlias.MailDomainId > 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue