public static string GetOpenWindowStringToComment(int publishmentSystemId, int nodeId, int contentId) { return(PageUtils.GetOpenWindowString("导出数据", PageUtils.GetCmsUrl(nameof(ModalExportMessage), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "NodeID", nodeId.ToString() }, { "ContentID", contentId.ToString() }, { "ExportType", ExportTypeComment } }), Width, Height, true)); }
public static string GetRedirectClickString(int siteId, int channelId, string returnUrl) { var redirectUrl = PageUtils.GetCmsUrl(siteId, nameof(PageContentTranslate), new NameValueCollection { { "channelId", channelId.ToString() }, { "ReturnUrl", StringUtils.ValueToUrl(returnUrl) } }); return(PageUtils.GetRedirectStringWithCheckBoxValue(redirectUrl, "contentIdCollection", "contentIdCollection", "请选择需要转移的内容!")); }
public void NodeIDDropDownList_SelectedIndexChanged(object sender, EventArgs e) { PageUtils.Redirect(PageUtils.GetCmsUrl(nameof(PageTrackerContentAnalysis), new NameValueCollection { { "PublishmentSystemID", PublishmentSystemId.ToString() }, { "NodeID", NodeIDDropDownList.SelectedValue }, { "StartDateString", startDateString }, { "EndDateString", endDateString } })); }
public static string GetOpenWindowStringWithCreateByTemplate(int publishmentSystemId, int templateId) { return(PageUtils.GetOpenLayerString("生成页面", PageUtils.GetCmsUrl(nameof(ModalProgressBar), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "templateID", templateId.ToString() }, { "CreateByTemplate", true.ToString() } }), 500, 360)); }
public static string GetRedirectUrlOfEdit(int publishmentSystemId, int nodeId, int id, string returnUrl) { return(PageUtils.GetCmsUrl(nameof(PageContentAdd), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "NodeID", nodeId.ToString() }, { "ID", id.ToString() }, { "ReturnUrl", StringUtils.ValueToUrl(returnUrl) } })); }
public static string GetOpenWindowString(int publishmentSystemId, int nodeId, string returnUrl) { return(PageUtils.GetOpenWindowString("添加栏目", PageUtils.GetCmsUrl(nameof(ModalChannelAdd), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "NodeID", nodeId.ToString() }, { "ReturnUrl", StringUtils.ValueToUrl(returnUrl) } }))); }
public static string GetOpenWindowStringWithSiteTemplateDownload(string downloadUrl, string directoryName) { return(PageUtils.GetOpenLayerString("下载在线模板", PageUtils.GetCmsUrl(nameof(ModalProgressBar), new NameValueCollection { { "SiteTemplateDownload", "True" }, { "DownloadUrl", downloadUrl }, { "DirectoryName", directoryName } }), 460, 360)); }
public static string GetContentViewUrl(int publishmentSystemId, int nodeId, int contentId, string returnUrl) { return(PageUtils.GetCmsUrl(nameof(PageContentView), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "NodeID", nodeId.ToString() }, { "ID", contentId.ToString() }, { "ReturnUrl", StringUtils.ValueToUrl(returnUrl) } })); }
public string GetNoAutoCreateClickString() { return(PageUtils.GetRedirectStringWithCheckBoxValueAndAlert( PageUtils.GetCmsUrl(nameof(PageGatherFileRule), new NameValueCollection { { "PublishmentSystemID", PublishmentSystemId.ToString() }, { "NoAuto", true.ToString() } }), "GatherFileRuleNameCollection", "GatherFileRuleNameCollection", "请选择需要打开自动生成的规则!", "确认要设置所选规则为自动生成吗?")); }
public static string GetOpenWindowString(PublishmentSystemInfo publishmentSystemInfo, string textBoxClientId) { return(PageUtils.GetOpenWindowString("选择图片", PageUtils.GetCmsUrl(nameof(ModalSelectImage), new NameValueCollection { { "PublishmentSystemID", publishmentSystemInfo.PublishmentSystemId.ToString() }, { "RootPath", "@" }, { "CurrentRootPath", publishmentSystemInfo.Additional.ImageUploadDirectoryName }, { "TextBoxClientID", textBoxClientId } }), 550, 480, true)); }
public static string GetOpenWindowString(int publishmentSystemId, string hiddenClientId, string relatedPath, string fileName) { return(PageUtils.GetOpenLayerString("查看文件属性", PageUtils.GetCmsUrl(nameof(ModalFileView), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "HiddenClientID", hiddenClientId }, { "RelatedPath", relatedPath }, { "FileName", fileName } }), 680, 660)); }
private string GetRedirectUrl(string path) { return(PageUtils.GetCmsUrl(nameof(ModalSelectImage), new NameValueCollection { { "PublishmentSystemID", PublishmentSystemId.ToString() }, { "RootPath", _rootPath }, { "CurrentRootPath", path }, { "TextBoxClientID", _textBoxClientId } })); }
public static string GetOpenWindowStringToEdit(int publishmentSystemId, int inputId, int contentId, string returnUrl) { return(PageUtils.GetOpenWindowString("修改信息", PageUtils.GetCmsUrl(nameof(ModalInputContentAdd), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "InputID", inputId.ToString() }, { "ContentID", contentId.ToString() }, { "ReturnUrl", StringUtils.ValueToUrl(returnUrl) } }))); }
public static string GetOpenWindowStringToInputContent(int publishmentSystemId, int relatedIdentity, bool isList) { return(PageUtils.GetOpenWindowString("选择需要显示的项", PageUtils.GetCmsUrl(nameof(ModalSelectColumns), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "IsList", isList.ToString() }, { "TableStyle", ETableStyleUtils.GetValue(ETableStyle.InputContent) }, { "RelatedIdentity", relatedIdentity.ToString() } }), 520, 550)); }
public void DdlLogId_SelectedIndexChanged(object sender, EventArgs e) { PageUtils.Redirect(PageUtils.GetCmsUrl(nameof(ModalTemplateRestore), new NameValueCollection { { "PublishmentSystemID", PublishmentSystemId.ToString() }, { "templateID", _templateId.ToString() }, { "includeUrl", _includeUrl }, { "logID", DdlLogId.SelectedValue } })); }
public static string GetRedirectUrlStringWithCreateContentsOneByOne(int siteId, int channelId, string contentIdCollection) { return(PageUtils.GetCmsUrl(siteId, nameof(ModalProgressBar), new NameValueCollection { { "channelId", channelId.ToString() }, { "CreateContentsOneByOne", true.ToString() }, { "contentIdCollection", contentIdCollection } })); }
public static string GetOpenWindowStringToSingleTableStyle(string tableName, int siteId, int relatedIdentity) { return(LayerUtils.GetOpenScript("导出数据", PageUtils.GetCmsUrl(siteId, nameof(ModalExportMessage), new NameValueCollection { { "TableName", tableName }, { "ExportType", ExportTypeSingleTableStyle }, { "RelatedIdentity", relatedIdentity.ToString() } }), Width, Height)); }
public static string GetRedirectClickStringForMultiChannels(int publishmentSystemId, string returnUrl) { var redirectUrl = PageUtils.GetCmsUrl(nameof(PageContentTranslate), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "ReturnUrl", StringUtils.ValueToUrl(returnUrl) } }); return(PageUtils.GetRedirectStringWithCheckBoxValue(redirectUrl, "IDsCollection", "IDsCollection", "请选择需要转移的内容!")); }
public static string GetRedirectClickStringForMultiChannels(int siteId, bool isDeleteFromTrash, string returnUrl) { return(PageUtils.GetRedirectStringWithCheckBoxValue(PageUtils.GetCmsUrl(siteId, nameof(PageContentDelete), new NameValueCollection { { "IsDeleteFromTrash", isDeleteFromTrash.ToString() }, { "ReturnUrl", StringUtils.ValueToUrl(returnUrl) } }), "IDsCollection", "IDsCollection", "请选择需要删除的内容!")); }
public static string GetOpenWindowString(PublishmentSystemInfo publishmentSystemInfo, string textBoxClientId) { return(PageUtils.GetOpenWindowString("选择视频", PageUtils.GetCmsUrl(nameof(ModalSelectVideo), new NameValueCollection { { "PublishmentSystemID", publishmentSystemInfo.PublishmentSystemId.ToString() }, { "RootPath", "@" }, { "CurrentRootPath", string.Empty }, { "TextBoxClientID", textBoxClientId } }), 550, 480, true)); }
public static string GetOpenWindowStringWithCreateContentsOneByOne(int publishmentSystemId, int nodeId) { return(PageUtils.GetOpenLayerStringWithCheckBoxValue("生成内容页", PageUtils.GetCmsUrl(nameof(ModalProgressBar), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "NodeID", nodeId.ToString() }, { "CreateContentsOneByOne", true.ToString() } }), "ContentIDCollection", "请选择需要生成的内容!", 500, 360)); }
public static string GetOpenWindowStringToContent(int publishmentSystemId, int nodeId) { return(PageUtils.GetOpenWindowStringWithCheckBoxValue("添加到内容组", PageUtils.GetCmsUrl(nameof(ModalAddToGroup), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "NodeID", nodeId.ToString() }, { "IsContent", "True" } }), "ContentIDCollection", "请选择需要设置组别的内容!", 450, 420)); }
public static string GetRedirectUrlStringWithGatherDatabase(int publishmentSystemId, string gatherRuleNameCollection) { return(PageUtils.GetCmsUrl(nameof(ModalProgressBar), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "GatherDatabase", true.ToString() }, { "GatherRuleNameCollection", gatherRuleNameCollection } })); }
public static string GetRedirectUrl(int publishmentSystemId, int nodeId, int contentId, string returnUrl) { return(PageUtils.GetCmsUrl(nameof(PageContentPhotoUpload), new NameValueCollection { { "publishmentSystemID", publishmentSystemId.ToString() }, { "nodeID", nodeId.ToString() }, { "contentID", contentId.ToString() }, { "returnUrl", StringUtils.ValueToUrl(returnUrl) } })); }
public static string GetOpenWindowString(int siteId, ContentInfo contentInfo, string returnUrl) { return(LayerUtils.GetOpenScript("审核状态", PageUtils.GetCmsUrl(siteId, nameof(ModalCheckState), new NameValueCollection { { "channelId", contentInfo.ChannelId.ToString() }, { "contentID", contentInfo.Id.ToString() }, { "returnUrl", StringUtils.ValueToUrl(returnUrl) } }), 560, 500)); }
public static string GetRedirectUrl(int publishmentSystemId, int channelId, int contentId) { return(PageUtils.GetCmsUrl(nameof(PageActions), new NameValueCollection { { "type", TypeRedirect }, { "publishmentSystemID", publishmentSystemId.ToString() }, { "channelID", channelId.ToString() }, { "contentID", contentId.ToString() } })); }
public void Analysis_OnClick(object sender, EventArgs e) { PageUtils.Redirect(PageUtils.GetCmsUrl(nameof(PageTrackerContentAnalysis), new NameValueCollection { { "PublishmentSystemID", PublishmentSystemId.ToString() }, { "NodeID", nodeID.ToString() }, { "StartDateString", StartDate.Text }, { "EndDateString", EndDate.Text } })); }
public static string GetOpenWindowString(SiteInfo siteInfo, string textBoxClientId) { return(LayerUtils.GetOpenScript("选择视频", PageUtils.GetCmsUrl(siteInfo.Id, nameof(ModalSelectVideo), new NameValueCollection { { "RootPath", "@" }, { "CurrentRootPath", string.Empty }, { "TextBoxClientID", textBoxClientId } }))); }
public static string GetRedirectUrl(int publishmentSystemId, int styleId, ETableStyle tableStyle, int relatedIdentity) { return(PageUtils.GetCmsUrl(nameof(PageTagStyleMailSMS), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "StyleID", styleId.ToString() }, { "TableStyle", ETableStyleUtils.GetValue(tableStyle) }, { "RelatedIdentity", relatedIdentity.ToString() } })); }
public static string GetBackupUrl(int publishmentSystemId, string backupType, string userKeyPrefix) { return(PageUtils.GetCmsUrl(nameof(PageProgressBar), new NameValueCollection { { "PublishmentSystemID", publishmentSystemId.ToString() }, { "Backup", true.ToString() }, { "BackupType", backupType }, { "UserKeyPrefix", userKeyPrefix } })); }