Example #1
0
        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());
        }
Example #2
0
        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());
        }
Example #3
0
 public void Return_OnClick(object sender, EventArgs e)
 {
     PageUtils.Redirect(PageSiteUrlWeb.GetRedirectUrl());
 }