public static string GetOpenWindowString(int siteId, string jsMethod) { return(LayerUtils.GetOpenScript("选择内容", PageUtils.GetCmsUrl(siteId, nameof(ModalContentMultipleSelect), new NameValueCollection { { "jsMethod", jsMethod } }))); }
public static string GetOpenWindowString(int siteId, string title, string html, int width, int height) { return(LayerUtils.GetOpenScript(title, PageUtils.GetCmsUrl(siteId, nameof(ModalMessage), new NameValueCollection { { "html", TranslateUtils.EncryptStringBySecretKey(html) } }), width, height)); }
public static string GetOpenWindowString(int siteId, int specialId) { return(LayerUtils.GetOpenScript("编辑专题", PageUtils.GetCmsUrl(siteId, nameof(ModalSpecialAdd), new NameValueCollection { { "specialId", specialId.ToString() } }), 500, 400)); }
public static string GetOpenWindowString(int siteId, string textBoxClientId) { return(LayerUtils.GetOpenScript("上传图片", PageUtils.GetCmsUrl(siteId, nameof(ModalUploadImage), new NameValueCollection { { "textBoxClientID", textBoxClientId } }), 600, 560)); }
public static string GetOpenWindowString(string tableName) { return(LayerUtils.GetOpenScript("编辑内容表", PageUtils.GetSettingsUrl(nameof(ModalAuxiliaryTableAdd), new NameValueCollection { { "tableName", tableName } }), 580, 450)); }
public static string GetOpenWindowString(string userName) { return(LayerUtils.GetOpenScript("重设密码", PageUtils.GetSettingsUrl(nameof(ModalAdminPassword), new NameValueCollection { { "userName", userName } }), 520, 300)); }
public static string GetOpenWindowStringToEdit(int siteId, string tagName) { return(LayerUtils.GetOpenScript("修改标签", PageUtils.GetCmsUrl(siteId, nameof(ModalContentTagAdd), new NameValueCollection { { "TagName", tagName } }), 600, 360)); }
public static string GetOpenWindowStringToTextBox(int siteId, string textBoxClientId) { return(LayerUtils.GetOpenScript("上传视频", PageUtils.GetCmsUrl(siteId, nameof(ModalUploadVideo), new NameValueCollection { { "TextBoxClientID", textBoxClientId } }), 520, 220)); }
public static string GetOpenWindowStringToList(int siteId, string currentRootPath) { return(LayerUtils.GetOpenScript("上传视频", PageUtils.GetCmsUrl(siteId, nameof(ModalUploadVideo), new NameValueCollection { { "CurrentRootPath", currentRootPath } }), 520, 220)); }
public static string GetOpenWindowString(int siteId, int channelId) { return(LayerUtils.GetOpenScript("设置显示项", PageUtils.GetCmsUrl(siteId, nameof(ModalSelectColumns), new NameValueCollection { { "channelId", channelId.ToString() } }))); }
public static string GetOpenWindowString(int siteId, int channelId) { return(LayerUtils.GetOpenScript("跨站转发设置", PageUtils.GetCmsUrl(siteId, nameof(ModalCrossSiteTransEdit), new NameValueCollection { { "channelId", channelId.ToString() } }))); }
public static string GetOpenWindowString(string userName) { return(LayerUtils.GetOpenScript("查看用户信息", PageUtils.GetSettingsUrl(nameof(ModalUserView), new NameValueCollection { { "UserName", userName } }), 700, 560)); }
public static string GetOpenWindowString(int siteId, int templateLogId) { return(LayerUtils.GetOpenScript("查看修订内容", PageUtils.GetCmsUrl(siteId, nameof(ModalTemplateView), new NameValueCollection { { "templateLogID", templateLogId.ToString() } }))); }
public static string GetOpenWindowString(int siteId, int relatedFieldId) { return(LayerUtils.GetOpenScript("修改联动字段", PageUtils.GetCmsUrl(siteId, nameof(ModalRelatedFieldAdd), new NameValueCollection { { "RelatedFieldID", relatedFieldId.ToString() } }), 550, 550)); }
public static string GetOpenWindowString(int id) { return(LayerUtils.GetOpenScript("获取密钥", PageUtils.GetSettingsUrl(nameof(ModalAdminAccessToken), new NameValueCollection { { "id", id.ToString() } }), 0, 420)); }
public static string GetOpenWindowStringToAdd(string returnUrl) { return(LayerUtils.GetOpenScript("添加区域", PageUtils.GetSettingsUrl(nameof(ModalAreaAdd), new NameValueCollection { { "ReturnUrl", StringUtils.ValueToUrl(returnUrl) } }), 460, 360)); }
public static string GetOpenWindowString(int siteId, string groupName) { return(LayerUtils.GetOpenScript("修改内容组", PageUtils.GetCmsUrl(siteId, nameof(ModalContentGroupAdd), new NameValueCollection { { "GroupName", groupName } }), 600, 300)); }
public static string GetOpenWindowStringToImageUrl(int siteId, string imageUrl) { return(LayerUtils.GetOpenScript("裁切图片", PageUtils.GetCmsUrl(siteId, nameof(ModalCuttingImage), new NameValueCollection { { "imageUrl", imageUrl } }))); }
public static string GetOpenScript(int siteId, int formId) { return(LayerUtils.GetOpenScript("选择需要显示的项", Main.Instance.PluginApi.GetPluginUrl( $"{nameof(ModalSelectColumns)}.aspx?siteId={siteId}&formId={formId}"), 520, 550)); }
public static string GetOpenWindowStringToAdd(string tableName) { return(LayerUtils.GetOpenScript("添加辅助表字段", PageUtils.GetSettingsUrl(nameof(ModalTableMetadataAdd), new NameValueCollection { { "TableName", tableName } }), 600, 320)); }
public static string GetOpenWindowStringWithTextBox(int siteId, string textBoxClientId) { return(LayerUtils.GetOpenScript("裁切图片", PageUtils.GetCmsUrl(siteId, nameof(ModalCuttingImage), new NameValueCollection { { "textBoxClientID", textBoxClientId } }))); }
public static string GetOpenWindowString(int siteId, string attributeName) { return(LayerUtils.GetOpenScript("插入视频", PageUtils.GetCmsUrl(siteId, nameof(ModalTextEditorInsertVideo), new NameValueCollection { { "AttributeName", attributeName } }), 600, 460)); }
public static string GetOpenWindowString(int siteId, string currentRootPath) { return(LayerUtils.GetOpenScript("创建文件夹", PageUtils.GetCmsUrl(siteId, nameof(ModalCreateDirectory), new NameValueCollection { { "CurrentRootPath", currentRootPath } }), 400, 250)); }
public static string GetOpenWindowString(int siteId, int templateId, string includeUrl) { return(LayerUtils.GetOpenScript("还原历史版本", PageUtils.GetCmsUrl(siteId, nameof(ModalTemplateRestore), new NameValueCollection { { "templateID", templateId.ToString() }, { "includeUrl", includeUrl } }))); }
public static string GetOpenWindowString(int siteId, int channelId) { return(LayerUtils.GetOpenScript("页面命名规则", PageUtils.GetCmsUrl(siteId, nameof(ModalTemplateFilePathRule), new NameValueCollection { { "channelId", channelId.ToString() } }))); }
public static string GetOpenWindowString(int siteId, int channelId) { return(LayerUtils.GetOpenScript("栏目生成设置", PageUtils.GetCmsUrl(siteId, nameof(ModalConfigurationCreateChannel), new NameValueCollection { { "channelId", channelId.ToString() } }), 550, 500)); }
public static string GetOpenWindowString(int siteId, string relatedPath, string fileName) { return(LayerUtils.GetOpenScript("查看文件属性", PageUtils.GetCmsUrl(siteId, nameof(ModalFileView), new NameValueCollection { { "RelatedPath", relatedPath }, { "FileName", fileName } }), 680, 660)); }
public static string GetOpenWindowStringToEdit(string tableName, int tableMetadataId) { return(LayerUtils.GetOpenScript("修改辅助表字段", PageUtils.GetSettingsUrl(nameof(ModalTableMetadataAdd), new NameValueCollection { { "TableName", tableName }, { "TableMetadataID", tableMetadataId.ToString() } }), 600, 320)); }
public static string GetOpenWindowString(int siteId, int channelId, string returnUrl) { return(LayerUtils.GetOpenScript("快速修改栏目", PageUtils.GetCmsUrl(siteId, nameof(ModalChannelEdit), new NameValueCollection { { "channelId", channelId.ToString() }, { "ReturnUrl", StringUtils.ValueToUrl(returnUrl) } }))); }
public static string GetOpenWindowString(int siteId, int channelId) { return(LayerUtils.GetOpenScript("导入栏目", PageUtils.GetCmsUrl(siteId, nameof(ModalChannelImport), new NameValueCollection { { "channelId", channelId.ToString() } }), 600, 300)); }