示例#1
0
 public static string GetOpenWindowString(int siteId, string jsMethod)
 {
     return(LayerUtils.GetOpenScript("选择内容", PageUtils.GetCmsUrl(siteId, nameof(ModalContentMultipleSelect), new NameValueCollection
     {
         { "jsMethod", jsMethod }
     })));
 }
示例#2
0
 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));
 }
示例#3
0
 public static string GetOpenWindowString(int siteId, int specialId)
 {
     return(LayerUtils.GetOpenScript("编辑专题", PageUtils.GetCmsUrl(siteId, nameof(ModalSpecialAdd), new NameValueCollection
     {
         { "specialId", specialId.ToString() }
     }), 500, 400));
 }
示例#4
0
 public static string GetOpenWindowString(int siteId, string textBoxClientId)
 {
     return(LayerUtils.GetOpenScript("上传图片", PageUtils.GetCmsUrl(siteId, nameof(ModalUploadImage), new NameValueCollection
     {
         { "textBoxClientID", textBoxClientId }
     }), 600, 560));
 }
示例#5
0
 public static string GetOpenWindowString(string tableName)
 {
     return(LayerUtils.GetOpenScript("编辑内容表", PageUtils.GetSettingsUrl(nameof(ModalAuxiliaryTableAdd), new NameValueCollection
     {
         { "tableName", tableName }
     }), 580, 450));
 }
示例#6
0
 public static string GetOpenWindowString(string userName)
 {
     return(LayerUtils.GetOpenScript("重设密码", PageUtils.GetSettingsUrl(nameof(ModalAdminPassword), new NameValueCollection
     {
         { "userName", userName }
     }), 520, 300));
 }
示例#7
0
 public static string GetOpenWindowStringToEdit(int siteId, string tagName)
 {
     return(LayerUtils.GetOpenScript("修改标签", PageUtils.GetCmsUrl(siteId, nameof(ModalContentTagAdd), new NameValueCollection
     {
         { "TagName", tagName }
     }), 600, 360));
 }
示例#8
0
 public static string GetOpenWindowStringToTextBox(int siteId, string textBoxClientId)
 {
     return(LayerUtils.GetOpenScript("上传视频", PageUtils.GetCmsUrl(siteId, nameof(ModalUploadVideo), new NameValueCollection
     {
         { "TextBoxClientID", textBoxClientId }
     }), 520, 220));
 }
示例#9
0
 public static string GetOpenWindowStringToList(int siteId, string currentRootPath)
 {
     return(LayerUtils.GetOpenScript("上传视频", PageUtils.GetCmsUrl(siteId, nameof(ModalUploadVideo), new NameValueCollection
     {
         { "CurrentRootPath", currentRootPath }
     }), 520, 220));
 }
示例#10
0
 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() }
     })));
 }
示例#12
0
 public static string GetOpenWindowString(string userName)
 {
     return(LayerUtils.GetOpenScript("查看用户信息", PageUtils.GetSettingsUrl(nameof(ModalUserView), new NameValueCollection
     {
         { "UserName", userName }
     }), 700, 560));
 }
示例#13
0
 public static string GetOpenWindowString(int siteId, int templateLogId)
 {
     return(LayerUtils.GetOpenScript("查看修订内容", PageUtils.GetCmsUrl(siteId, nameof(ModalTemplateView), new NameValueCollection
     {
         { "templateLogID", templateLogId.ToString() }
     })));
 }
示例#14
0
 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));
 }
示例#16
0
 public static string GetOpenWindowStringToAdd(string returnUrl)
 {
     return(LayerUtils.GetOpenScript("添加区域", PageUtils.GetSettingsUrl(nameof(ModalAreaAdd), new NameValueCollection
     {
         { "ReturnUrl", StringUtils.ValueToUrl(returnUrl) }
     }), 460, 360));
 }
示例#17
0
 public static string GetOpenWindowString(int siteId, string groupName)
 {
     return(LayerUtils.GetOpenScript("修改内容组", PageUtils.GetCmsUrl(siteId, nameof(ModalContentGroupAdd), new NameValueCollection
     {
         { "GroupName", groupName }
     }), 600, 300));
 }
示例#18
0
 public static string GetOpenWindowStringToImageUrl(int siteId, string imageUrl)
 {
     return(LayerUtils.GetOpenScript("裁切图片", PageUtils.GetCmsUrl(siteId, nameof(ModalCuttingImage), new NameValueCollection
     {
         { "imageUrl", imageUrl }
     })));
 }
示例#19
0
 public static string GetOpenScript(int siteId, int formId)
 {
     return(LayerUtils.GetOpenScript("选择需要显示的项",
                                     Main.Instance.PluginApi.GetPluginUrl(
                                         $"{nameof(ModalSelectColumns)}.aspx?siteId={siteId}&formId={formId}"), 520,
                                     550));
 }
示例#20
0
 public static string GetOpenWindowStringToAdd(string tableName)
 {
     return(LayerUtils.GetOpenScript("添加辅助表字段", PageUtils.GetSettingsUrl(nameof(ModalTableMetadataAdd), new NameValueCollection
     {
         { "TableName", tableName }
     }), 600, 320));
 }
示例#21
0
 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));
 }
示例#23
0
 public static string GetOpenWindowString(int siteId, string currentRootPath)
 {
     return(LayerUtils.GetOpenScript("创建文件夹", PageUtils.GetCmsUrl(siteId, nameof(ModalCreateDirectory), new NameValueCollection
     {
         { "CurrentRootPath", currentRootPath }
     }), 400, 250));
 }
示例#24
0
 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));
 }
示例#27
0
 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));
 }
示例#28
0
 public static string GetOpenWindowStringToEdit(string tableName, int tableMetadataId)
 {
     return(LayerUtils.GetOpenScript("修改辅助表字段", PageUtils.GetSettingsUrl(nameof(ModalTableMetadataAdd), new NameValueCollection
     {
         { "TableName", tableName },
         { "TableMetadataID", tableMetadataId.ToString() }
     }), 600, 320));
 }
示例#29
0
 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) }
     })));
 }
示例#30
0
 public static string GetOpenWindowString(int siteId, int channelId)
 {
     return(LayerUtils.GetOpenScript("导入栏目",
                                     PageUtils.GetCmsUrl(siteId, nameof(ModalChannelImport), new NameValueCollection
     {
         { "channelId", channelId.ToString() }
     }), 600, 300));
 }