예제 #1
0
 public static string GetOpenWindowString(int siteId, int channelId)
 {
     return(LayerUtils.GetOpenScriptWithCheckBoxValue("跨站转发", PageUtils.GetCmsUrl(siteId, nameof(ModalContentCrossSiteTrans), new NameValueCollection
     {
         { "channelId", channelId.ToString() }
     }), "contentIdCollection", "请选择需要转发的内容!", 400, 410));
 }
예제 #2
0
 public static string GetOpenWindowStringForMultiChannels(int siteId, string returnUrl)
 {
     return(LayerUtils.GetOpenScriptWithCheckBoxValue("审核内容", PageUtils.GetCmsUrl(siteId, nameof(ModalContentCheck), new NameValueCollection
     {
         { "ReturnUrl", StringUtils.ValueToUrl(returnUrl) }
     }), "IDsCollection", "请选择需要审核的内容!", 560, 550));
 }
예제 #3
0
 public static string GetOpenWindowStringWithCheckBoxValue(int siteId, int channelId)
 {
     return(LayerUtils.GetOpenScriptWithCheckBoxValue("设置内容属性", PageUtils.GetCmsUrl(siteId, nameof(ModalContentAttributes), new NameValueCollection
     {
         { "channelId", channelId.ToString() }
     }), "contentIdCollection", "请选择需要设置属性的内容!", 450, 350));
 }
예제 #4
0
 public static string GetOpenWindowString(int siteId, int channelId, string returnUrl)
 {
     return(LayerUtils.GetOpenScriptWithCheckBoxValue("内容排序", PageUtils.GetCmsUrl(siteId, nameof(ModalContentTaxis), new NameValueCollection
     {
         { "channelId", channelId.ToString() },
         { "ReturnUrl", StringUtils.ValueToUrl(returnUrl) }
     }), "contentIdCollection", "请选择需要排序的内容!", 400, 280));
 }
예제 #5
0
 public static string GetOpenWindowStringToChannel(int siteId, string checkBoxId, string alertString)
 {
     return(LayerUtils.GetOpenScriptWithCheckBoxValue("导出数据",
                                                      PageUtils.GetCmsUrl(siteId, nameof(ModalExportMessage), new NameValueCollection
     {
         { "ExportType", ExportTypeChannel }
     }), checkBoxId, alertString, Width, Height));
 }
예제 #6
0
 public static string GetOpenWindowString(int siteId, int channelId)
 {
     return(LayerUtils.GetOpenScriptWithCheckBoxValue("导出内容",
                                                      PageUtils.GetCmsUrl(siteId, nameof(ModalContentExport), new NameValueCollection
     {
         { "channelId", channelId.ToString() }
     }), "contentIdCollection", string.Empty));
 }
예제 #7
0
 public static string GetOpenWindowStringToChannel(int siteId)
 {
     return(LayerUtils.GetOpenScriptWithCheckBoxValue("添加到栏目组",
                                                      PageUtils.GetCmsUrl(siteId, nameof(ModalAddToGroup), new NameValueCollection
     {
         { "isContent", "False" }
     }), "ChannelIDCollection", "请选择需要设置组别的栏目!", 650, 550));
 }
예제 #8
0
 public static string GetOpenWindowStringToContentForMultiChannels(int siteId)
 {
     return(LayerUtils.GetOpenScriptWithCheckBoxValue("添加到内容组",
                                                      PageUtils.GetCmsUrl(siteId, nameof(ModalAddToGroup), new NameValueCollection
     {
         { "isContent", "True" }
     }), "IDsCollection", "请选择需要设置组别的内容!", 650, 550));
 }
예제 #9
0
 public static string GetOpenWindowStringWithCreateContentsOneByOne(int siteId, int channelId)
 {
     return(LayerUtils.GetOpenScriptWithCheckBoxValue("生成内容页",
                                                      PageUtils.GetCmsUrl(siteId, nameof(ModalProgressBar), new NameValueCollection
     {
         { "channelId", channelId.ToString() },
         { "CreateContentsOneByOne", true.ToString() }
     }), "contentIdCollection", "请选择需要生成的内容!", 500, 360));
 }
예제 #10
0
 public static string GetOpenWindowString(int siteId)
 {
     return(LayerUtils.GetOpenScriptWithCheckBoxValue("生成栏目页", PageUtils.GetCmsUrl(siteId, nameof(ModalCreateChannels), null), "ChannelIDCollection", "请选择需要生成页面的栏目!", 550, 300));
 }
예제 #11
0
 public static string GetOpenWindowString(int siteId)
 {
     return(LayerUtils.GetOpenScriptWithCheckBoxValue("栏目排序", PageUtils.GetCmsUrl(siteId, nameof(ModalChannelTaxis), null), "ChannelIDCollection", "请选择需要排序的栏目!", 400, 280));
 }