Beispiel #1
0
 public static string GetOpenWindowStringWithTextBoxValue(int siteId, string textBoxId)
 {
     return(LayerUtils.GetOpenScriptWithTextBoxValue("查看文件属性", PageUtils.GetCmsUrl(siteId, nameof(ModalFileView), new NameValueCollection
     {
         { "TextBoxID", textBoxId }
     }), textBoxId, 680, 660));
 }
 public static string GetOpenWindowString(int siteId, int channelId, bool isChannel, string textBoxclientId)
 {
     return(LayerUtils.GetOpenScriptWithTextBoxValue(isChannel ? "栏目页文件名规则" : "内容页文件名规则", PageUtils.GetCmsUrl(siteId, nameof(ModalFilePathRule), new NameValueCollection
     {
         { "channelId", channelId.ToString() },
         { "IsChannel", isChannel.ToString() },
         { "TextBoxClientID", textBoxclientId }
     }), textBoxclientId));
 }