Exemple #1
0
 private static string GetContentAddUrl(EContentModelType modelType, int publishmentSystemId, int nodeId, string returnUrl)
 {
     if (modelType == EContentModelType.GovPublic)
     {
         return(PageGovPublicContentAdd.GetRedirectUrlOfAdd(publishmentSystemId, nodeId, returnUrl));
     }
     if (modelType == EContentModelType.Vote)
     {
         return(PageVoteContentAdd.GetRedirectUrlOfAdd(publishmentSystemId, nodeId, returnUrl));
     }
     return(PageContentAdd.GetRedirectUrlOfAdd(publishmentSystemId, nodeId, returnUrl));
 }
Exemple #2
0
 public static string GetContentAddAddUrl(int siteId, ChannelInfo nodeInfo, string returnUrl)
 {
     return(PageContentAdd.GetRedirectUrlOfAdd(siteId, nodeInfo.Id, returnUrl));
 }
Exemple #3
0
 public static string GetContentAddUploadWordUrl(int siteId, ChannelInfo nodeInfo, bool isFirstLineTitle, bool isFirstLineRemove, bool isClearFormat, bool isFirstLineIndent, bool isClearFontSize, bool isClearFontFamily, bool isClearImages, int contentLevel, string fileName, string returnUrl)
 {
     return
         ($"{PageContentAdd.GetRedirectUrlOfAdd(siteId, nodeInfo.Id, returnUrl)}&isUploadWord=True&isFirstLineTitle={isFirstLineTitle}&isFirstLineRemove={isFirstLineRemove}&isClearFormat={isClearFormat}&isFirstLineIndent={isFirstLineIndent}&isClearFontSize={isClearFontSize}&isClearFontFamily={isClearFontFamily}&isClearImages={isClearImages}&contentLevel={contentLevel}&fileName={fileName}");
 }
Exemple #4
0
 public static string GetContentAddAddUrl(int siteId, int channelId, string returnUrl)
 {
     return(PageContentAdd.GetRedirectUrlOfAdd(siteId, channelId, returnUrl));
 }