public override void Submit_OnClick(object sender, EventArgs e) { SiteInfo.Additional.IsSeparatedWeb = TranslateUtils.ToBool(RblIsSeparatedWeb.SelectedValue); SiteInfo.Additional.SeparatedWebUrl = TbSeparatedWebUrl.Text; DataProvider.SiteDao.Update(SiteInfo); Body.AddSiteLog(SiteId, "修改Web访问地址"); SuccessMessage("Web访问地址修改成功!"); AddWaitAndRedirectScript(PageSiteUrlWeb.GetRedirectUrl()); }
public override void Submit_OnClick(object sender, EventArgs e) { SiteInfo.Additional.IsSeparatedWeb = TranslateUtils.ToBool(RblIsSeparatedWeb.SelectedValue); SiteInfo.Additional.SeparatedWebUrl = TbSeparatedWebUrl.Text; if (!string.IsNullOrEmpty(SiteInfo.Additional.SeparatedWebUrl) && !SiteInfo.Additional.SeparatedWebUrl.EndsWith("/")) { SiteInfo.Additional.SeparatedWebUrl = SiteInfo.Additional.SeparatedWebUrl + "/"; } DataProvider.SiteDao.Update(SiteInfo); AuthRequest.AddSiteLog(SiteId, "修改Web访问地址"); SuccessMessage("Web访问地址修改成功!"); AddWaitAndRedirectScript(PageSiteUrlWeb.GetRedirectUrl()); }
public void Return_OnClick(object sender, EventArgs e) { PageUtils.Redirect(PageSiteUrlWeb.GetRedirectUrl()); }