Ensured the hostname text box is visible within add pointers
This commit is contained in:
parent
cdb3883d9a
commit
79c9279c8a
1 changed files with 5 additions and 5 deletions
|
@ -49,14 +49,14 @@ namespace WebsitePanel.Portal
|
|||
|
||||
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
|
||||
|
||||
if (Utils.CheckQouta(Quotas.WEB_ENABLEHOSTNAMESUPPORT, cntx))
|
||||
{
|
||||
//if (Utils.CheckQouta(Quotas.WEB_ENABLEHOSTNAMESUPPORT, cntx))
|
||||
//{
|
||||
txtHostName.Visible = lblTheDotInTheMiddle.Visible = true;
|
||||
UserSettings settings = ES.Services.Users.GetUserSettings(PanelSecurity.LoggedUserId, UserSettings.WEB_POLICY);
|
||||
txtHostName.Text = String.IsNullOrEmpty(settings["HostName"]) ? "" : settings["HostName"];
|
||||
}
|
||||
else
|
||||
txtHostName.Visible = lblTheDotInTheMiddle.Visible = false;
|
||||
//}
|
||||
//else
|
||||
//txtHostName.Visible = lblTheDotInTheMiddle.Visible = false;
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue