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