From d609bd960fc450b5e9b97fda068dc572acb3df5e Mon Sep 17 00:00:00 2001 From: Eric Wagner Date: Fri, 5 Feb 2021 12:04:09 -0600 Subject: [PATCH 01/10] Replace tags TextBox with ListBox and source tags list from TagController --- ucSubmitNews.ascx | 5 ++-- ucSubmitNews.ascx.designer.vb | 13 ++------- ucSubmitNews.ascx.vb | 52 +++++++++++++++++++++++------------ 3 files changed, 39 insertions(+), 31 deletions(-) diff --git a/ucSubmitNews.ascx b/ucSubmitNews.ascx index 148802b..b55d51b 100755 --- a/ucSubmitNews.ascx +++ b/ucSubmitNews.ascx @@ -226,9 +226,8 @@ - -
- + + diff --git a/ucSubmitNews.ascx.designer.vb b/ucSubmitNews.ascx.designer.vb index bee8470..31aec3f 100755 --- a/ucSubmitNews.ascx.designer.vb +++ b/ucSubmitNews.ascx.designer.vb @@ -672,22 +672,13 @@ Namespace Ventrian.NewsArticles Protected WithEvents plTags As Global.System.Web.UI.UserControl ''' - '''txtTags control. + '''lstTags control. ''' ''' '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. ''' - Protected WithEvents txtTags As Global.System.Web.UI.WebControls.TextBox - - ''' - '''lblTags control. - ''' - ''' - '''Auto-generated field. - '''To modify move field declaration from designer file to code-behind file. - ''' - Protected WithEvents lblTags As Global.System.Web.UI.WebControls.Label + Protected WithEvents lstTags As Global.System.Web.UI.WebControls.ListBox ''' '''phPublish control. diff --git a/ucSubmitNews.ascx.vb b/ucSubmitNews.ascx.vb index 48f9f88..5ce4ca5 100755 --- a/ucSubmitNews.ascx.vb +++ b/ucSubmitNews.ascx.vb @@ -191,7 +191,8 @@ Namespace Ventrian.NewsArticles li.Selected = True End If Next - txtTags.Text = objArticle.Tags + + SelectTags(objArticle.Tags) Dim objPageController As New PageController Dim pages As ArrayList = objPageController.GetPageList(_articleID) @@ -336,6 +337,31 @@ Namespace Ventrian.NewsArticles End Sub + Private Sub BindTags() + Dim objTagController As New TagController + Dim objTags As ArrayList = objTagController.List(ModuleId, Null.NullInteger) + + objTags.Sort() + lstTags.DataSource = objTags + lstTags.DataBind() + End Sub + + Private Sub SelectTags(ByVal tagList As String) + Dim objTagController As New TagController + For Each tag As String In tagList.Split(","c) + If (tag <> "") Then + Dim objTag As TagInfo = objTagController.Get(ModuleId, tag) + + If Not (objTag Is Nothing) Then + Dim li As ListItem = lstTags.Items.FindByValue(objTag.Name) + If Not (li Is Nothing) Then + li.Selected = True + End If + End If + End If + Next + End Sub + Private Sub BindCustomFields() Dim objCustomFieldController As New CustomFieldController() @@ -1145,31 +1171,22 @@ Namespace Ventrian.NewsArticles Dim objLinkedArticle As ArticleInfo = objArticleController.GetArticle(Convert.ToInt32(drpMirrorArticle.SelectedValue)) If (objLinkedArticle IsNot Nothing) Then - txtTags.Text = objLinkedArticle.Tags + SelectTags(objLinkedArticle.Tags) End If End If Dim objTagController As New TagController objTagController.DeleteArticleTag(articleID) - If (txtTags.Text <> "") Then - Dim tags As String() = txtTags.Text.Split(","c) - For Each tag As String In tags - If (tag <> "") Then - Dim objTag As TagInfo = objTagController.Get(ModuleId, tag) - - If (objTag Is Nothing) Then - objTag = New TagInfo - objTag.Name = tag - objTag.NameLowered = tag.ToLower() - objTag.ModuleID = ModuleId - objTag.TagID = objTagController.Add(objTag) - End If + For Each li As ListItem In lstTags.Items + If (li.Selected) Then + Dim objTag As TagInfo = objTagController.Get(ModuleId, li.Value) + If Not (objTag Is Nothing) Then objTagController.Add(articleID, objTag.TagID) End If - Next - End If + End If + Next End Sub @@ -1517,6 +1534,7 @@ Namespace Ventrian.NewsArticles BindStatus() BindCategories() + BindTags() SetVisibility() BindArticle() SetValidationGroup() From b3ce07006a5ee60bb2b0424347279599fc39008d Mon Sep 17 00:00:00 2001 From: Eric Wagner Date: Fri, 5 Feb 2021 12:05:15 -0600 Subject: [PATCH 02/10] Sort tags list in EditTags view --- ucEditTags.ascx.vb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ucEditTags.ascx.vb b/ucEditTags.ascx.vb index 5f67871..f33ba90 100755 --- a/ucEditTags.ascx.vb +++ b/ucEditTags.ascx.vb @@ -17,7 +17,10 @@ Namespace Ventrian.NewsArticles Localization.LocalizeDataGrid(grdTags, Me.LocalResourceFile) - grdTags.DataSource = objTagController.List(Me.ModuleId, Null.NullInteger) + Dim objTags As ArrayList = objTagController.List(Me.ModuleId, Null.NullInteger) + + objTags.Sort() + grdTags.DataSource = objTags grdTags.DataBind() If (grdTags.Items.Count > 0) Then From e6b572cf40faa48d1635223e8818fb8a5185c20d Mon Sep 17 00:00:00 2001 From: Eric Wagner Date: Fri, 5 Feb 2021 12:08:38 -0600 Subject: [PATCH 03/10] Add height to tags ListBox --- ucSubmitNews.ascx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucSubmitNews.ascx b/ucSubmitNews.ascx index b55d51b..27a055e 100755 --- a/ucSubmitNews.ascx +++ b/ucSubmitNews.ascx @@ -227,7 +227,7 @@ - + From 0a740ae23f330fc4140bd3b3fb6c3b8d2fd609c3 Mon Sep 17 00:00:00 2001 From: Eric Wagner Date: Fri, 5 Feb 2021 14:46:14 -0600 Subject: [PATCH 04/10] Create UseStaticTagsList ArticleSetting and enable SubmitNews view to toggle between TextBox and ListBox for tags --- App_LocalResources/ucViewOptions.ascx.resx | 6 + Components/ArticleSettings.vb | 10 + Components/Common/ArticleConstants.vb | 3 + ucSubmitNews.ascx | 2 + ucSubmitNews.ascx.designer.vb | 18 + ucSubmitNews.ascx.vb | 63 +- ucViewOptions.ascx | 10 + ucViewOptions.ascx.designer.vb | 666 +++++++++++---------- ucViewOptions.ascx.vb | 2 + 9 files changed, 452 insertions(+), 328 deletions(-) diff --git a/App_LocalResources/ucViewOptions.ascx.resx b/App_LocalResources/ucViewOptions.ascx.resx index 5873c8c..7cad39a 100755 --- a/App_LocalResources/ucViewOptions.ascx.resx +++ b/App_LocalResources/ucViewOptions.ascx.resx @@ -546,6 +546,9 @@ Category Settings + + Tag Settings + Check categories to auto-select them on the create article screen. @@ -1134,6 +1137,9 @@ Filter Category Submit + + Use Static Tags List + -- All Groups -- diff --git a/Components/ArticleSettings.vb b/Components/ArticleSettings.vb index e0ee676..223b06f 100755 --- a/Components/ArticleSettings.vb +++ b/Components/ArticleSettings.vb @@ -244,6 +244,16 @@ Namespace Ventrian.NewsArticles End Get End Property + Public ReadOnly Property UseStaticTagsListSubmit() As Boolean + Get + If (Settings.Contains(ArticleConstants.USE_STATIC_TAGS_LIST_SUBMIT_SETTING)) Then + Return Convert.ToBoolean(Settings(ArticleConstants.USE_STATIC_TAGS_LIST_SUBMIT_SETTING).ToString()) + Else + Return ArticleConstants.USE_STATIC_TAGS_LIST_SUBMIT_SETTING_DEFAULT + End If + End Get + End Property + Public ReadOnly Property IncludeInPageName() As Boolean Get If (Settings.Contains(ArticleConstants.CATEGORY_NAME_SETTING)) Then diff --git a/Components/Common/ArticleConstants.vb b/Components/Common/ArticleConstants.vb index 14f3048..1c040d0 100755 --- a/Components/Common/ArticleConstants.vb +++ b/Components/Common/ArticleConstants.vb @@ -113,6 +113,9 @@ Namespace Ventrian.NewsArticles Public Const CATEGORY_FILTER_SUBMIT_SETTING_DEFAULT As Boolean = False Public Const CATEGORY_SORT_SETTING As String = "CategorySortType" Public Const CATEGORY_SORT_SETTING_DEFAULT As CategorySortType = CategorySortType.SortOrder + Public Const USE_STATIC_TAGS_LIST_SUBMIT_SETTING As String = "UseStaticTagsList" + Public Const USE_STATIC_TAGS_LIST_SUBMIT_SETTING_DEFAULT As Boolean = False + ' Category Security Settings Public Const PERMISSION_CATEGORY_VIEW_SETTING As String = "PermissionCategoryView" diff --git a/ucSubmitNews.ascx b/ucSubmitNews.ascx index 27a055e..5833065 100755 --- a/ucSubmitNews.ascx +++ b/ucSubmitNews.ascx @@ -227,6 +227,8 @@ +
+ diff --git a/ucSubmitNews.ascx.designer.vb b/ucSubmitNews.ascx.designer.vb index 31aec3f..d434457 100755 --- a/ucSubmitNews.ascx.designer.vb +++ b/ucSubmitNews.ascx.designer.vb @@ -671,6 +671,24 @@ Namespace Ventrian.NewsArticles ''' Protected WithEvents plTags As Global.System.Web.UI.UserControl + ''' + '''txtTags control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents txtTags As Global.System.Web.UI.WebControls.TextBox + + ''' + '''lblTags control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents lblTags As Global.System.Web.UI.WebControls.Label + ''' '''lstTags control. ''' diff --git a/ucSubmitNews.ascx.vb b/ucSubmitNews.ascx.vb index 5ce4ca5..a171ac0 100755 --- a/ucSubmitNews.ascx.vb +++ b/ucSubmitNews.ascx.vb @@ -192,7 +192,12 @@ Namespace Ventrian.NewsArticles End If Next - SelectTags(objArticle.Tags) + If (ArticleSettings.UseStaticTagsListSubmit) Then + SelectTags(objArticle.Tags) + Else + txtTags.Text = objArticle.Tags + End If + Dim objPageController As New PageController Dim pages As ArrayList = objPageController.GetPageList(_articleID) @@ -338,12 +343,19 @@ Namespace Ventrian.NewsArticles End Sub Private Sub BindTags() - Dim objTagController As New TagController - Dim objTags As ArrayList = objTagController.List(ModuleId, Null.NullInteger) + If (ArticleSettings.UseStaticTagsListSubmit) Then + txtTags.Visible = False + lblTags.Visible = False + + Dim objTagController As New TagController + Dim objTags As ArrayList = objTagController.List(ModuleId, Null.NullInteger) - objTags.Sort() - lstTags.DataSource = objTags - lstTags.DataBind() + objTags.Sort() + lstTags.DataSource = objTags + lstTags.DataBind() + Else + lstTags.Visible = False + End If End Sub Private Sub SelectTags(ByVal tagList As String) @@ -1171,22 +1183,47 @@ Namespace Ventrian.NewsArticles Dim objLinkedArticle As ArticleInfo = objArticleController.GetArticle(Convert.ToInt32(drpMirrorArticle.SelectedValue)) If (objLinkedArticle IsNot Nothing) Then - SelectTags(objLinkedArticle.Tags) + If (ArticleSettings.UseStaticTagsListSubmit) Then + SelectTags(objLinkedArticle.Tags) + Else + txtTags.Text = objLinkedArticle.Tags + End If End If End If Dim objTagController As New TagController objTagController.DeleteArticleTag(articleID) - For Each li As ListItem In lstTags.Items - If (li.Selected) Then - Dim objTag As TagInfo = objTagController.Get(ModuleId, li.Value) + If (ArticleSettings.UseStaticTagsListSubmit) Then + For Each li As ListItem In lstTags.Items + If (li.Selected) Then + Dim objTag As TagInfo = objTagController.Get(ModuleId, li.Value) - If Not (objTag Is Nothing) Then - objTagController.Add(articleID, objTag.TagID) + If Not (objTag Is Nothing) Then + objTagController.Add(articleID, objTag.TagID) + End If End If + Next + Else + If (txtTags.Text <> "") Then + Dim tags As String() = txtTags.Text.Split(","c) + For Each tag As String In tags + If (tag <> "") Then + Dim objTag As TagInfo = objTagController.Get(ModuleId, tag) + + If (objTag Is Nothing) Then + objTag = New TagInfo + objTag.Name = tag + objTag.NameLowered = tag.ToLower() + objTag.ModuleID = ModuleId + objTag.TagID = objTagController.Add(objTag) + End If + + objTagController.Add(articleID, objTag.TagID) + End If + Next End If - Next + End If End Sub diff --git a/ucViewOptions.ascx b/ucViewOptions.ascx index 63205e8..855c14d 100755 --- a/ucViewOptions.ascx +++ b/ucViewOptions.ascx @@ -177,6 +177,16 @@
+ + + + + + +
+
'''ucHeader1 control. ''' @@ -22,7 +22,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents ucHeader1 As Global.Ventrian.NewsArticles.ucHeader - + ''' '''dshBasic control. ''' @@ -31,7 +31,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshBasic As Global.System.Web.UI.UserControl - + ''' '''tblArticle control. ''' @@ -40,7 +40,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblArticle As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''lblArticleSettingsHelp control. ''' @@ -49,7 +49,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lblArticleSettingsHelp As Global.System.Web.UI.WebControls.Label - + ''' '''dshDetails control. ''' @@ -58,7 +58,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshDetails As Global.System.Web.UI.UserControl - + ''' '''tblDetails control. ''' @@ -67,7 +67,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblDetails As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plEnableRatings control. ''' @@ -76,7 +76,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableRatings As Global.System.Web.UI.UserControl - + ''' '''chkEnableRatingsAuthenticated control. ''' @@ -85,7 +85,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableRatingsAuthenticated As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plEnableAnonymousRatings control. ''' @@ -94,7 +94,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableAnonymousRatings As Global.System.Web.UI.UserControl - + ''' '''chkEnableRatingsAnonymous control. ''' @@ -103,7 +103,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableRatingsAnonymous As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plEnableCoreSearch control. ''' @@ -112,7 +112,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableCoreSearch As Global.System.Web.UI.UserControl - + ''' '''chkEnableCoreSearch control. ''' @@ -121,7 +121,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableCoreSearch As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plEnableNotificationPing control. ''' @@ -130,7 +130,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableNotificationPing As Global.System.Web.UI.UserControl - + ''' '''chkEnableNotificationPing control. ''' @@ -139,7 +139,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableNotificationPing As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plEnableAutoTrackback control. ''' @@ -148,7 +148,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableAutoTrackback As Global.System.Web.UI.UserControl - + ''' '''chkEnableAutoTrackback control. ''' @@ -157,7 +157,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableAutoTrackback As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plEnableIncomingTrackback control. ''' @@ -166,7 +166,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableIncomingTrackback As Global.System.Web.UI.UserControl - + ''' '''chkEnableIncomingTrackback control. ''' @@ -175,7 +175,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableIncomingTrackback As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plLaunchLinks control. ''' @@ -184,7 +184,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plLaunchLinks As Global.System.Web.UI.UserControl - + ''' '''chkLaunchLinks control. ''' @@ -193,7 +193,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkLaunchLinks As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plBubbleFeaturedArticles control. ''' @@ -202,7 +202,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plBubbleFeaturedArticles As Global.System.Web.UI.UserControl - + ''' '''chkBubbleFeaturedArticles control. ''' @@ -211,7 +211,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkBubbleFeaturedArticles As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plProcessPostTokens control. ''' @@ -220,7 +220,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plProcessPostTokens As Global.System.Web.UI.UserControl - + ''' '''chkProcessPostTokens control. ''' @@ -229,7 +229,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkProcessPostTokens As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plDisplayType control. ''' @@ -238,7 +238,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plDisplayType As Global.System.Web.UI.UserControl - + ''' '''drpDisplayType control. ''' @@ -247,7 +247,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpDisplayType As Global.System.Web.UI.WebControls.DropDownList - + ''' '''plArticlePageSize control. ''' @@ -256,7 +256,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plArticlePageSize As Global.System.Web.UI.UserControl - + ''' '''drpNumber control. ''' @@ -265,7 +265,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpNumber As Global.System.Web.UI.WebControls.DropDownList - + ''' '''plTemplate control. ''' @@ -274,7 +274,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plTemplate As Global.System.Web.UI.UserControl - + ''' '''drpTemplates control. ''' @@ -283,7 +283,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpTemplates As Global.System.Web.UI.WebControls.DropDownList - + ''' '''plTimeZone control. ''' @@ -292,7 +292,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plTimeZone As Global.System.Web.UI.UserControl - + ''' '''drpTimeZone control. ''' @@ -301,7 +301,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpTimeZone As Global.System.Web.UI.WebControls.DropDownList - + ''' '''plSortBy control. ''' @@ -310,7 +310,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plSortBy As Global.System.Web.UI.UserControl - + ''' '''drpSortBy control. ''' @@ -319,7 +319,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpSortBy As Global.System.Web.UI.WebControls.DropDownList - + ''' '''plSortDirection control. ''' @@ -328,7 +328,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plSortDirection As Global.System.Web.UI.UserControl - + ''' '''drpSortDirection control. ''' @@ -337,7 +337,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpSortDirection As Global.System.Web.UI.WebControls.DropDownList - + ''' '''plMenuPosition control. ''' @@ -346,7 +346,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plMenuPosition As Global.System.Web.UI.UserControl - + ''' '''lstMenuPosition control. ''' @@ -355,7 +355,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lstMenuPosition As Global.System.Web.UI.WebControls.RadioButtonList - + ''' '''dshArchive control. ''' @@ -364,7 +364,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshArchive As Global.System.Web.UI.UserControl - + ''' '''tblArchive control. ''' @@ -373,7 +373,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblArchive As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''Label1 control. ''' @@ -382,7 +382,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents Label1 As Global.System.Web.UI.UserControl - + ''' '''chkArchiveCurrentArticles control. ''' @@ -391,7 +391,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkArchiveCurrentArticles As Global.System.Web.UI.WebControls.CheckBox - + ''' '''Label2 control. ''' @@ -400,7 +400,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents Label2 As Global.System.Web.UI.UserControl - + ''' '''chkArchiveCategories control. ''' @@ -409,7 +409,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkArchiveCategories As Global.System.Web.UI.WebControls.CheckBox - + ''' '''Label3 control. ''' @@ -418,7 +418,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents Label3 As Global.System.Web.UI.UserControl - + ''' '''chkArchiveAuthor control. ''' @@ -427,7 +427,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkArchiveAuthor As Global.System.Web.UI.WebControls.CheckBox - + ''' '''Label4 control. ''' @@ -436,7 +436,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents Label4 As Global.System.Web.UI.UserControl - + ''' '''chkArchiveMonth control. ''' @@ -445,7 +445,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkArchiveMonth As Global.System.Web.UI.WebControls.CheckBox - + ''' '''dshCategory control. ''' @@ -454,7 +454,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshCategory As Global.System.Web.UI.UserControl - + ''' '''tblCategory control. ''' @@ -463,7 +463,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblCategory As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plRequireCategory control. ''' @@ -472,7 +472,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plRequireCategory As Global.System.Web.UI.UserControl - + ''' '''chkRequireCategory control. ''' @@ -481,7 +481,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkRequireCategory As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plDefaultCategories control. ''' @@ -490,7 +490,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plDefaultCategories As Global.System.Web.UI.UserControl - + ''' '''lstDefaultCategories control. ''' @@ -499,7 +499,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lstDefaultCategories As Global.System.Web.UI.WebControls.ListBox - + ''' '''plCategorySelectionHeight control. ''' @@ -508,7 +508,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plCategorySelectionHeight As Global.System.Web.UI.UserControl - + ''' '''txtCategorySelectionHeight control. ''' @@ -517,7 +517,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtCategorySelectionHeight As Global.System.Web.UI.WebControls.TextBox - + ''' '''valCategorySelectionHeight control. ''' @@ -526,7 +526,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valCategorySelectionHeight As Global.System.Web.UI.WebControls.RequiredFieldValidator - + ''' '''valCategorySelectionHeightIsValid control. ''' @@ -535,7 +535,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valCategorySelectionHeightIsValid As Global.System.Web.UI.WebControls.CompareValidator - + ''' '''plCategoryBreadcrumb control. ''' @@ -544,7 +544,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plCategoryBreadcrumb As Global.System.Web.UI.UserControl - + ''' '''chkCategoryBreadcrumb control. ''' @@ -553,7 +553,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkCategoryBreadcrumb As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plCategoryName control. ''' @@ -562,7 +562,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plCategoryName As Global.System.Web.UI.UserControl - + ''' '''chkCategoryName control. ''' @@ -571,7 +571,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkCategoryName As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plCategorySortOrder control. ''' @@ -580,7 +580,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plCategorySortOrder As Global.System.Web.UI.UserControl - + ''' '''lstCategorySortOrder control. ''' @@ -589,7 +589,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lstCategorySortOrder As Global.System.Web.UI.WebControls.RadioButtonList - + ''' '''plCategoryFilterSubmit control. ''' @@ -598,7 +598,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plCategoryFilterSubmit As Global.System.Web.UI.UserControl - + ''' '''chkCategoryFilterSubmit control. ''' @@ -607,7 +607,43 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkCategoryFilterSubmit As Global.System.Web.UI.WebControls.CheckBox - + + ''' + '''dshTags control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents dshTags As Global.System.Web.UI.UserControl + + ''' + '''tblTags control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents tblTags As Global.System.Web.UI.HtmlControls.HtmlTable + + ''' + '''Label12 control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents Label12 As Global.System.Web.UI.UserControl + + ''' + '''chkUseStaticTagsList control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents chkUseStaticTagsList As Global.System.Web.UI.WebControls.CheckBox + ''' '''dshComments control. ''' @@ -616,7 +652,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshComments As Global.System.Web.UI.UserControl - + ''' '''tblComments control. ''' @@ -625,7 +661,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblComments As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plEnableComments control. ''' @@ -634,7 +670,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableComments As Global.System.Web.UI.UserControl - + ''' '''chkEnableComments control. ''' @@ -643,7 +679,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableComments As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plEnableAnonymousComments control. ''' @@ -652,7 +688,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableAnonymousComments As Global.System.Web.UI.UserControl - + ''' '''chkEnableAnonymousComments control. ''' @@ -661,7 +697,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableAnonymousComments As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plEnableCommentModeration control. ''' @@ -670,7 +706,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableCommentModeration As Global.System.Web.UI.UserControl - + ''' '''chkEnableCommentModeration control. ''' @@ -679,7 +715,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableCommentModeration As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plCaptchaType control. ''' @@ -688,7 +724,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plCaptchaType As Global.System.Web.UI.UserControl - + ''' '''drpCaptchaType control. ''' @@ -697,7 +733,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpCaptchaType As Global.System.Web.UI.WebControls.DropDownList - + ''' '''plReCaptchaSiteKey control. ''' @@ -706,7 +742,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plReCaptchaSiteKey As Global.System.Web.UI.UserControl - + ''' '''txtReCaptchaSiteKey control. ''' @@ -715,7 +751,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtReCaptchaSiteKey As Global.System.Web.UI.WebControls.TextBox - + ''' '''plReCaptchaSecretKey control. ''' @@ -724,7 +760,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plReCaptchaSecretKey As Global.System.Web.UI.UserControl - + ''' '''txtReCaptchaSecretKey control. ''' @@ -733,7 +769,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtReCaptchaSecretKey As Global.System.Web.UI.WebControls.TextBox - + ''' '''plHideWebsite control. ''' @@ -742,7 +778,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plHideWebsite As Global.System.Web.UI.UserControl - + ''' '''chkHideWebsite control. ''' @@ -751,7 +787,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkHideWebsite As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plRequireName control. ''' @@ -760,7 +796,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plRequireName As Global.System.Web.UI.UserControl - + ''' '''chkRequireName control. ''' @@ -769,7 +805,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkRequireName As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plRequireEmail control. ''' @@ -778,7 +814,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plRequireEmail As Global.System.Web.UI.UserControl - + ''' '''chkRequireEmail control. ''' @@ -787,7 +823,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkRequireEmail As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plNotifyDefault control. ''' @@ -796,7 +832,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plNotifyDefault As Global.System.Web.UI.UserControl - + ''' '''chkNotifyDefault control. ''' @@ -805,7 +841,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkNotifyDefault As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plSortDirectionComments control. ''' @@ -814,7 +850,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plSortDirectionComments As Global.System.Web.UI.UserControl - + ''' '''drpSortDirectionComments control. ''' @@ -823,7 +859,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpSortDirectionComments As Global.System.Web.UI.WebControls.DropDownList - + ''' '''plAkismetKey control. ''' @@ -832,7 +868,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plAkismetKey As Global.System.Web.UI.UserControl - + ''' '''txtAkismetKey control. ''' @@ -841,7 +877,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtAkismetKey As Global.System.Web.UI.WebControls.TextBox - + ''' '''phContentSharing control. ''' @@ -850,7 +886,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents phContentSharing As Global.System.Web.UI.WebControls.PlaceHolder - + ''' '''dshContentSharing control. ''' @@ -859,7 +895,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshContentSharing As Global.System.Web.UI.UserControl - + ''' '''tblContentSharing control. ''' @@ -868,7 +904,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblContentSharing As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''lblContentSharing control. ''' @@ -877,7 +913,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lblContentSharing As Global.System.Web.UI.WebControls.Label - + ''' '''plAddArticleInstances control. ''' @@ -886,7 +922,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plAddArticleInstances As Global.System.Web.UI.UserControl - + ''' '''drpContentSharingPortals control. ''' @@ -895,7 +931,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpContentSharingPortals As Global.System.Web.UI.WebControls.DropDownList - + ''' '''cmdContentSharingAdd control. ''' @@ -904,7 +940,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents cmdContentSharingAdd As Global.System.Web.UI.WebControls.LinkButton - + ''' '''lblContentSharingNoneAvailable control. ''' @@ -913,7 +949,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lblContentSharingNoneAvailable As Global.System.Web.UI.WebControls.Label - + ''' '''plAvailableArticleInstances control. ''' @@ -922,7 +958,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plAvailableArticleInstances As Global.System.Web.UI.UserControl - + ''' '''grdContentSharing control. ''' @@ -931,7 +967,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents grdContentSharing As Global.System.Web.UI.WebControls.DataGrid - + ''' '''lblNoContentSharing control. ''' @@ -940,7 +976,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lblNoContentSharing As Global.System.Web.UI.WebControls.Label - + ''' '''dshFileSettings control. ''' @@ -949,7 +985,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshFileSettings As Global.System.Web.UI.UserControl - + ''' '''tblFile control. ''' @@ -958,7 +994,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblFile As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plDefaultFileFolder control. ''' @@ -967,7 +1003,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plDefaultFileFolder As Global.System.Web.UI.UserControl - + ''' '''drpDefaultFileFolder control. ''' @@ -976,7 +1012,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpDefaultFileFolder As Global.System.Web.UI.WebControls.DropDownList - + ''' '''plEnablePortalFiles control. ''' @@ -985,7 +1021,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnablePortalFiles As Global.System.Web.UI.UserControl - + ''' '''chkEnablePortalFiles control. ''' @@ -994,7 +1030,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnablePortalFiles As Global.System.Web.UI.WebControls.CheckBox - + ''' '''dshFilter control. ''' @@ -1003,7 +1039,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshFilter As Global.System.Web.UI.UserControl - + ''' '''tblFilter control. ''' @@ -1012,7 +1048,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblFilter As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plMaxArticles control. ''' @@ -1021,7 +1057,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plMaxArticles As Global.System.Web.UI.UserControl - + ''' '''txtMaxArticles control. ''' @@ -1030,7 +1066,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtMaxArticles As Global.System.Web.UI.WebControls.TextBox - + ''' '''valMaxArticlesIsValid control. ''' @@ -1039,7 +1075,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valMaxArticlesIsValid As Global.System.Web.UI.WebControls.CompareValidator - + ''' '''plMaxAge control. ''' @@ -1048,7 +1084,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plMaxAge As Global.System.Web.UI.UserControl - + ''' '''txtMaxAge control. ''' @@ -1057,7 +1093,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtMaxAge As Global.System.Web.UI.WebControls.TextBox - + ''' '''lblMaxAge control. ''' @@ -1066,7 +1102,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lblMaxAge As Global.System.Web.UI.WebControls.Label - + ''' '''valMaxAgeType control. ''' @@ -1075,7 +1111,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valMaxAgeType As Global.System.Web.UI.WebControls.CompareValidator - + ''' '''plCategories control. ''' @@ -1084,7 +1120,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plCategories As Global.System.Web.UI.UserControl - + ''' '''rdoAllCategories control. ''' @@ -1093,7 +1129,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents rdoAllCategories As Global.System.Web.UI.WebControls.RadioButton - + ''' '''rdoSingleCategory control. ''' @@ -1102,7 +1138,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents rdoSingleCategory As Global.System.Web.UI.WebControls.RadioButton - + ''' '''drpCategories control. ''' @@ -1111,7 +1147,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpCategories As Global.System.Web.UI.WebControls.DropDownList - + ''' '''rdoMatchAny control. ''' @@ -1120,7 +1156,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents rdoMatchAny As Global.System.Web.UI.WebControls.RadioButton - + ''' '''rdoMatchAll control. ''' @@ -1129,7 +1165,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents rdoMatchAll As Global.System.Web.UI.WebControls.RadioButton - + ''' '''lstCategories control. ''' @@ -1138,7 +1174,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lstCategories As Global.System.Web.UI.WebControls.ListBox - + ''' '''lblHoldCtrl control. ''' @@ -1147,7 +1183,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lblHoldCtrl As Global.System.Web.UI.WebControls.Label - + ''' '''plShowPending control. ''' @@ -1156,7 +1192,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plShowPending As Global.System.Web.UI.UserControl - + ''' '''chkShowPending control. ''' @@ -1165,7 +1201,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkShowPending As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plShowFeaturedOnly control. ''' @@ -1174,7 +1210,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plShowFeaturedOnly As Global.System.Web.UI.UserControl - + ''' '''chkShowFeaturedOnly control. ''' @@ -1183,7 +1219,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkShowFeaturedOnly As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plShowNotFeaturedOnly control. ''' @@ -1192,7 +1228,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plShowNotFeaturedOnly As Global.System.Web.UI.UserControl - + ''' '''chkShowNotFeaturedOnly control. ''' @@ -1201,7 +1237,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkShowNotFeaturedOnly As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plShowSecuredOnly control. ''' @@ -1210,7 +1246,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plShowSecuredOnly As Global.System.Web.UI.UserControl - + ''' '''chkShowSecuredOnly control. ''' @@ -1219,7 +1255,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkShowSecuredOnly As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plShowNotSecuredOnly control. ''' @@ -1228,7 +1264,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plShowNotSecuredOnly As Global.System.Web.UI.UserControl - + ''' '''chkShowNotSecuredOnly control. ''' @@ -1237,7 +1273,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkShowNotSecuredOnly As Global.System.Web.UI.WebControls.CheckBox - + ''' '''dshAuthorFilterSettings control. ''' @@ -1246,7 +1282,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshAuthorFilterSettings As Global.System.Web.UI.UserControl - + ''' '''tblAuthorFilterSettings control. ''' @@ -1255,7 +1291,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblAuthorFilterSettings As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plAuthor control. ''' @@ -1264,7 +1300,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plAuthor As Global.System.Web.UI.UserControl - + ''' '''lblAuthorFilter control. ''' @@ -1273,7 +1309,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lblAuthorFilter As Global.System.Web.UI.WebControls.Label - + ''' '''cmdSelectAuthor control. ''' @@ -1282,7 +1318,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents cmdSelectAuthor As Global.System.Web.UI.WebControls.LinkButton - + ''' '''ddlAuthor control. ''' @@ -1291,7 +1327,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents ddlAuthor As Global.System.Web.UI.WebControls.DropDownList - + ''' '''plQueryStringFilter control. ''' @@ -1300,7 +1336,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plQueryStringFilter As Global.System.Web.UI.UserControl - + ''' '''chkQueryStringFilter control. ''' @@ -1309,7 +1345,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkQueryStringFilter As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plQueryStringParam control. ''' @@ -1318,7 +1354,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plQueryStringParam As Global.System.Web.UI.UserControl - + ''' '''txtQueryStringParam control. ''' @@ -1327,7 +1363,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtQueryStringParam As Global.System.Web.UI.WebControls.TextBox - + ''' '''plUsernameFilter control. ''' @@ -1336,7 +1372,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plUsernameFilter As Global.System.Web.UI.UserControl - + ''' '''chkUsernameFilter control. ''' @@ -1345,7 +1381,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkUsernameFilter As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plUsernameParam control. ''' @@ -1354,7 +1390,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plUsernameParam As Global.System.Web.UI.UserControl - + ''' '''txtUsernameParam control. ''' @@ -1363,7 +1399,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtUsernameParam As Global.System.Web.UI.WebControls.TextBox - + ''' '''plLoggedInUser control. ''' @@ -1372,7 +1408,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plLoggedInUser As Global.System.Web.UI.UserControl - + ''' '''chkLoggedInUser control. ''' @@ -1381,7 +1417,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkLoggedInUser As Global.System.Web.UI.WebControls.CheckBox - + ''' '''dshForm control. ''' @@ -1390,7 +1426,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshForm As Global.System.Web.UI.UserControl - + ''' '''tblForm control. ''' @@ -1399,7 +1435,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblForm As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plAuthorSelection control. ''' @@ -1408,7 +1444,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plAuthorSelection As Global.System.Web.UI.UserControl - + ''' '''lstAuthorSelection control. ''' @@ -1417,7 +1453,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lstAuthorSelection As Global.System.Web.UI.WebControls.RadioButtonList - + ''' '''plAuthorDefault control. ''' @@ -1426,7 +1462,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plAuthorDefault As Global.System.Web.UI.UserControl - + ''' '''lblAuthorDefault control. ''' @@ -1435,7 +1471,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lblAuthorDefault As Global.System.Web.UI.WebControls.Label - + ''' '''cmdSelectAuthorDefault control. ''' @@ -1444,7 +1480,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents cmdSelectAuthorDefault As Global.System.Web.UI.WebControls.LinkButton - + ''' '''drpAuthorDefault control. ''' @@ -1453,7 +1489,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpAuthorDefault As Global.System.Web.UI.WebControls.DropDownList - + ''' '''plExpandSummary control. ''' @@ -1462,7 +1498,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plExpandSummary As Global.System.Web.UI.UserControl - + ''' '''chkExpandSummary control. ''' @@ -1471,7 +1507,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkExpandSummary As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plTextEditorWidth control. ''' @@ -1480,7 +1516,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plTextEditorWidth As Global.System.Web.UI.UserControl - + ''' '''txtTextEditorWidth control. ''' @@ -1489,7 +1525,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtTextEditorWidth As Global.System.Web.UI.WebControls.TextBox - + ''' '''valEditorWidth control. ''' @@ -1498,7 +1534,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valEditorWidth As Global.System.Web.UI.WebControls.RequiredFieldValidator - + ''' '''valEditorWidthIsValid control. ''' @@ -1507,7 +1543,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valEditorWidthIsValid As Global.System.Web.UI.WebControls.CustomValidator - + ''' '''plTextEditorHeight control. ''' @@ -1516,7 +1552,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plTextEditorHeight As Global.System.Web.UI.UserControl - + ''' '''txtTextEditorHeight control. ''' @@ -1525,7 +1561,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtTextEditorHeight As Global.System.Web.UI.WebControls.TextBox - + ''' '''valEditorHeight control. ''' @@ -1534,7 +1570,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valEditorHeight As Global.System.Web.UI.WebControls.RequiredFieldValidator - + ''' '''valEditorHeightIsvalid control. ''' @@ -1543,7 +1579,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valEditorHeightIsvalid As Global.System.Web.UI.WebControls.CustomValidator - + ''' '''plTextEditorSummaryMode control. ''' @@ -1552,7 +1588,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plTextEditorSummaryMode As Global.System.Web.UI.UserControl - + ''' '''lstTextEditorSummaryMode control. ''' @@ -1561,7 +1597,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lstTextEditorSummaryMode As Global.System.Web.UI.WebControls.RadioButtonList - + ''' '''plTextEditorSummaryWidth control. ''' @@ -1570,7 +1606,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plTextEditorSummaryWidth As Global.System.Web.UI.UserControl - + ''' '''txtTextEditorSummaryWidth control. ''' @@ -1579,7 +1615,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtTextEditorSummaryWidth As Global.System.Web.UI.WebControls.TextBox - + ''' '''valTextEditorSummaryWidth control. ''' @@ -1588,7 +1624,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valTextEditorSummaryWidth As Global.System.Web.UI.WebControls.RequiredFieldValidator - + ''' '''valTextEditorSummaryWidthIsValid control. ''' @@ -1597,7 +1633,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valTextEditorSummaryWidthIsValid As Global.System.Web.UI.WebControls.CustomValidator - + ''' '''plTextEditorSummaryHeight control. ''' @@ -1606,7 +1642,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plTextEditorSummaryHeight As Global.System.Web.UI.UserControl - + ''' '''txtTextEditorSummaryHeight control. ''' @@ -1615,7 +1651,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtTextEditorSummaryHeight As Global.System.Web.UI.WebControls.TextBox - + ''' '''valTextEditorSummaryHeight control. ''' @@ -1624,7 +1660,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valTextEditorSummaryHeight As Global.System.Web.UI.WebControls.RequiredFieldValidator - + ''' '''valTextEditorSummaryHeightIsValid control. ''' @@ -1633,7 +1669,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valTextEditorSummaryHeightIsValid As Global.System.Web.UI.WebControls.CustomValidator - + ''' '''dshImage control. ''' @@ -1642,7 +1678,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshImage As Global.System.Web.UI.UserControl - + ''' '''tblImage control. ''' @@ -1651,7 +1687,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblImage As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plIncludeJQuery control. ''' @@ -1660,7 +1696,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plIncludeJQuery As Global.System.Web.UI.UserControl - + ''' '''chkIncludeJQuery control. ''' @@ -1669,7 +1705,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkIncludeJQuery As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plJQueryPath control. ''' @@ -1678,7 +1714,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plJQueryPath As Global.System.Web.UI.UserControl - + ''' '''txtJQueryPath control. ''' @@ -1687,7 +1723,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtJQueryPath As Global.System.Web.UI.WebControls.TextBox - + ''' '''plEnableImagesUpload control. ''' @@ -1696,7 +1732,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableImagesUpload As Global.System.Web.UI.UserControl - + ''' '''chkEnableImagesUpload control. ''' @@ -1705,7 +1741,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableImagesUpload As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plEnableImages control. ''' @@ -1714,7 +1750,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableImages As Global.System.Web.UI.UserControl - + ''' '''chkEnablePortalImages control. ''' @@ -1723,7 +1759,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnablePortalImages As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plEnableImagesExternal control. ''' @@ -1732,7 +1768,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableImagesExternal As Global.System.Web.UI.UserControl - + ''' '''chkEnableExternalImages control. ''' @@ -1741,7 +1777,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableExternalImages As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plDefaultImageFolder control. ''' @@ -1750,7 +1786,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plDefaultImageFolder As Global.System.Web.UI.UserControl - + ''' '''drpDefaultImageFolder control. ''' @@ -1759,7 +1795,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpDefaultImageFolder As Global.System.Web.UI.WebControls.DropDownList - + ''' '''plResizeImages control. ''' @@ -1768,7 +1804,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plResizeImages As Global.System.Web.UI.UserControl - + ''' '''chkResizeImages control. ''' @@ -1777,7 +1813,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkResizeImages As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plImageMaxWidth control. ''' @@ -1786,7 +1822,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plImageMaxWidth As Global.System.Web.UI.UserControl - + ''' '''txtImageMaxWidth control. ''' @@ -1795,7 +1831,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtImageMaxWidth As Global.System.Web.UI.WebControls.TextBox - + ''' '''valImageMaxWidth control. ''' @@ -1804,7 +1840,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valImageMaxWidth As Global.System.Web.UI.WebControls.RequiredFieldValidator - + ''' '''valImageMaxWidthIsNumber control. ''' @@ -1813,7 +1849,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valImageMaxWidthIsNumber As Global.System.Web.UI.WebControls.CompareValidator - + ''' '''plImageMaxHeight control. ''' @@ -1822,7 +1858,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plImageMaxHeight As Global.System.Web.UI.UserControl - + ''' '''txtImageMaxHeight control. ''' @@ -1831,7 +1867,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtImageMaxHeight As Global.System.Web.UI.WebControls.TextBox - + ''' '''valImageMaxHeight control. ''' @@ -1840,7 +1876,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valImageMaxHeight As Global.System.Web.UI.WebControls.RequiredFieldValidator - + ''' '''valImageMaxHeightIsNumber control. ''' @@ -1849,7 +1885,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valImageMaxHeightIsNumber As Global.System.Web.UI.WebControls.CompareValidator - + ''' '''plThumbnailType control. ''' @@ -1858,7 +1894,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plThumbnailType As Global.System.Web.UI.UserControl - + ''' '''rdoThumbnailType control. ''' @@ -1867,7 +1903,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents rdoThumbnailType As Global.System.Web.UI.WebControls.RadioButtonList - + ''' '''plUseWatermark control. ''' @@ -1876,7 +1912,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plUseWatermark As Global.System.Web.UI.UserControl - + ''' '''chkUseWatermark control. ''' @@ -1885,7 +1921,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkUseWatermark As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plWatermarkText control. ''' @@ -1894,7 +1930,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plWatermarkText As Global.System.Web.UI.UserControl - + ''' '''txtWatermarkText control. ''' @@ -1903,7 +1939,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtWatermarkText As Global.System.Web.UI.WebControls.TextBox - + ''' '''plWatermarkImage control. ''' @@ -1912,7 +1948,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plWatermarkImage As Global.System.Web.UI.UserControl - + ''' '''plWatermarkPosition control. ''' @@ -1921,7 +1957,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plWatermarkPosition As Global.System.Web.UI.UserControl - + ''' '''drpWatermarkPosition control. ''' @@ -1930,7 +1966,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpWatermarkPosition As Global.System.Web.UI.WebControls.DropDownList - + ''' '''dshNotification control. ''' @@ -1939,7 +1975,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshNotification As Global.System.Web.UI.UserControl - + ''' '''tblNotification control. ''' @@ -1948,7 +1984,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblNotification As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plNotifySubmission control. ''' @@ -1957,7 +1993,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plNotifySubmission As Global.System.Web.UI.UserControl - + ''' '''chkNotifySubmission control. ''' @@ -1966,7 +2002,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkNotifySubmission As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plNotifySubmissionEmail control. ''' @@ -1975,7 +2011,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plNotifySubmissionEmail As Global.System.Web.UI.UserControl - + ''' '''txtSubmissionEmail control. ''' @@ -1984,7 +2020,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtSubmissionEmail As Global.System.Web.UI.WebControls.TextBox - + ''' '''plNotifyApproval control. ''' @@ -1993,7 +2029,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plNotifyApproval As Global.System.Web.UI.UserControl - + ''' '''chkNotifyApproval control. ''' @@ -2002,7 +2038,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkNotifyApproval As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plNotifyComment control. ''' @@ -2011,7 +2047,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plNotifyComment As Global.System.Web.UI.UserControl - + ''' '''chkNotifyComment control. ''' @@ -2020,7 +2056,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkNotifyComment As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plNotifyCommentEmail control. ''' @@ -2029,7 +2065,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plNotifyCommentEmail As Global.System.Web.UI.UserControl - + ''' '''txtNotifyCommentEmail control. ''' @@ -2038,7 +2074,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtNotifyCommentEmail As Global.System.Web.UI.WebControls.TextBox - + ''' '''plNotifyCommentApproval control. ''' @@ -2047,7 +2083,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plNotifyCommentApproval As Global.System.Web.UI.UserControl - + ''' '''chkNotifyCommentApproval control. ''' @@ -2056,7 +2092,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkNotifyCommentApproval As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plNotifyCommentApprovalEmail control. ''' @@ -2065,7 +2101,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plNotifyCommentApprovalEmail As Global.System.Web.UI.UserControl - + ''' '''txtNotifyCommentApprovalEmail control. ''' @@ -2074,7 +2110,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtNotifyCommentApprovalEmail As Global.System.Web.UI.WebControls.TextBox - + ''' '''dshRelated control. ''' @@ -2083,7 +2119,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshRelated As Global.System.Web.UI.UserControl - + ''' '''tblRelated control. ''' @@ -2092,7 +2128,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblRelated As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plRelatedMode control. ''' @@ -2101,7 +2137,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plRelatedMode As Global.System.Web.UI.UserControl - + ''' '''lstRelatedMode control. ''' @@ -2110,7 +2146,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lstRelatedMode As Global.System.Web.UI.WebControls.RadioButtonList - + ''' '''dshSecurity control. ''' @@ -2119,7 +2155,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshSecurity As Global.System.Web.UI.UserControl - + ''' '''tblSecurity control. ''' @@ -2128,7 +2164,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblSecurity As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plRoleGroup control. ''' @@ -2137,7 +2173,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plRoleGroup As Global.System.Web.UI.UserControl - + ''' '''drpSecurityRoleGroups control. ''' @@ -2146,7 +2182,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents drpSecurityRoleGroups As Global.System.Web.UI.WebControls.DropDownList - + ''' '''plBasicSettings control. ''' @@ -2155,7 +2191,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plBasicSettings As Global.System.Web.UI.UserControl - + ''' '''grdBasicPermissions control. ''' @@ -2164,7 +2200,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents grdBasicPermissions As Global.System.Web.UI.WebControls.DataGrid - + ''' '''plSecureUrl control. ''' @@ -2173,7 +2209,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plSecureUrl As Global.System.Web.UI.UserControl - + ''' '''txtSecureUrl control. ''' @@ -2182,7 +2218,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtSecureUrl As Global.System.Web.UI.WebControls.TextBox - + ''' '''plFormSettings control. ''' @@ -2191,7 +2227,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plFormSettings As Global.System.Web.UI.UserControl - + ''' '''grdFormPermissions control. ''' @@ -2200,7 +2236,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents grdFormPermissions As Global.System.Web.UI.WebControls.DataGrid - + ''' '''lblFormSettingsHelp control. ''' @@ -2209,7 +2245,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lblFormSettingsHelp As Global.System.Web.UI.WebControls.Label - + ''' '''trAdminSettings1 control. ''' @@ -2218,7 +2254,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents trAdminSettings1 As Global.System.Web.UI.HtmlControls.HtmlTableRow - + ''' '''plAdminSettings control. ''' @@ -2227,7 +2263,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plAdminSettings As Global.System.Web.UI.UserControl - + ''' '''trAdminSettings2 control. ''' @@ -2236,7 +2272,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents trAdminSettings2 As Global.System.Web.UI.HtmlControls.HtmlTableRow - + ''' '''grdAdminPermissions control. ''' @@ -2245,7 +2281,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents grdAdminPermissions As Global.System.Web.UI.WebControls.DataGrid - + ''' '''dshSEOSettings control. ''' @@ -2254,7 +2290,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshSEOSettings As Global.System.Web.UI.UserControl - + ''' '''tblSEO control. ''' @@ -2263,7 +2299,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblSEO As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plTitleReplacement control. ''' @@ -2272,7 +2308,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plTitleReplacement As Global.System.Web.UI.UserControl - + ''' '''lstTitleReplacement control. ''' @@ -2281,7 +2317,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lstTitleReplacement As Global.System.Web.UI.WebControls.RadioButtonList - + ''' '''plAlwaysShowPageID control. ''' @@ -2290,7 +2326,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plAlwaysShowPageID As Global.System.Web.UI.UserControl - + ''' '''chkAlwaysShowPageID control. ''' @@ -2299,7 +2335,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkAlwaysShowPageID As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plUrlMode control. ''' @@ -2308,7 +2344,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plUrlMode As Global.System.Web.UI.UserControl - + ''' '''lstUrlMode control. ''' @@ -2317,7 +2353,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lstUrlMode As Global.System.Web.UI.WebControls.RadioButtonList - + ''' '''plShorternID control. ''' @@ -2326,7 +2362,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plShorternID As Global.System.Web.UI.UserControl - + ''' '''txtShorternID control. ''' @@ -2335,7 +2371,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtShorternID As Global.System.Web.UI.WebControls.TextBox - + ''' '''valShorternID control. ''' @@ -2344,7 +2380,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valShorternID As Global.System.Web.UI.WebControls.RequiredFieldValidator - + ''' '''plUseCanonicalLink control. ''' @@ -2353,7 +2389,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plUseCanonicalLink As Global.System.Web.UI.UserControl - + ''' '''chkUseCanonicalLink control. ''' @@ -2362,7 +2398,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkUseCanonicalLink As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plExpandMetaInformation control. ''' @@ -2371,7 +2407,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plExpandMetaInformation As Global.System.Web.UI.UserControl - + ''' '''chkExpandMetaInformation control. ''' @@ -2380,7 +2416,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkExpandMetaInformation As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plUniquePageTitles control. ''' @@ -2389,7 +2425,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plUniquePageTitles As Global.System.Web.UI.UserControl - + ''' '''chkUniquePageTitles control. ''' @@ -2398,7 +2434,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkUniquePageTitles As Global.System.Web.UI.WebControls.CheckBox - + ''' '''dshSyndicationSettings control. ''' @@ -2407,7 +2443,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshSyndicationSettings As Global.System.Web.UI.UserControl - + ''' '''tblSyndication control. ''' @@ -2416,7 +2452,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblSyndication As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plEnableSyndication control. ''' @@ -2425,7 +2461,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableSyndication As Global.System.Web.UI.UserControl - + ''' '''chkEnableSyndication control. ''' @@ -2434,7 +2470,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableSyndication As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plEnableSyndicationEnclosures control. ''' @@ -2443,7 +2479,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableSyndicationEnclosures As Global.System.Web.UI.UserControl - + ''' '''chkEnableSyndicationEnclosures control. ''' @@ -2452,7 +2488,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableSyndicationEnclosures As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plSyndicationEnclosureType control. ''' @@ -2461,7 +2497,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plSyndicationEnclosureType As Global.System.Web.UI.UserControl - + ''' '''lstSyndicationEnclosureType control. ''' @@ -2470,7 +2506,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lstSyndicationEnclosureType As Global.System.Web.UI.WebControls.RadioButtonList - + ''' '''plEnableSyndicationHtml control. ''' @@ -2479,7 +2515,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plEnableSyndicationHtml As Global.System.Web.UI.UserControl - + ''' '''chkEnableSyndicationHtml control. ''' @@ -2488,7 +2524,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkEnableSyndicationHtml As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plSyndicationLinkMode control. ''' @@ -2497,7 +2533,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plSyndicationLinkMode As Global.System.Web.UI.UserControl - + ''' '''lstSyndicationLinkMode control. ''' @@ -2506,7 +2542,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lstSyndicationLinkMode As Global.System.Web.UI.WebControls.RadioButtonList - + ''' '''plSyndicationSummaryLength control. ''' @@ -2515,7 +2551,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plSyndicationSummaryLength As Global.System.Web.UI.UserControl - + ''' '''txtSyndicationSummaryLength control. ''' @@ -2524,7 +2560,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtSyndicationSummaryLength As Global.System.Web.UI.WebControls.TextBox - + ''' '''valSyndicationSummaryLength control. ''' @@ -2533,7 +2569,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valSyndicationSummaryLength As Global.System.Web.UI.WebControls.CompareValidator - + ''' '''lblSyndicationSummaryLengthHelp control. ''' @@ -2542,7 +2578,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents lblSyndicationSummaryLengthHelp As Global.System.Web.UI.WebControls.Label - + ''' '''plSyndicationMaxCount control. ''' @@ -2551,7 +2587,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plSyndicationMaxCount As Global.System.Web.UI.UserControl - + ''' '''txtSyndicationMaxCount control. ''' @@ -2560,7 +2596,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtSyndicationMaxCount As Global.System.Web.UI.WebControls.TextBox - + ''' '''valSyndicationMaxCount control. ''' @@ -2569,7 +2605,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valSyndicationMaxCount As Global.System.Web.UI.WebControls.RequiredFieldValidator - + ''' '''valSyndicationMaxCountIsValid control. ''' @@ -2578,7 +2614,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents valSyndicationMaxCountIsValid As Global.System.Web.UI.WebControls.CompareValidator - + ''' '''plSyndicationImagePath control. ''' @@ -2587,7 +2623,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plSyndicationImagePath As Global.System.Web.UI.UserControl - + ''' '''txtSyndicationImagePath control. ''' @@ -2596,7 +2632,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtSyndicationImagePath As Global.System.Web.UI.WebControls.TextBox - + ''' '''dshTwitterSettings control. ''' @@ -2605,7 +2641,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dshTwitterSettings As Global.System.Web.UI.UserControl - + ''' '''tblTwitter control. ''' @@ -2614,7 +2650,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tblTwitter As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plTwitterName control. ''' @@ -2623,7 +2659,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plTwitterName As Global.System.Web.UI.UserControl - + ''' '''txtTwitterName control. ''' @@ -2632,7 +2668,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtTwitterName As Global.System.Web.UI.WebControls.TextBox - + ''' '''plBitLyLogin control. ''' @@ -2641,7 +2677,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plBitLyLogin As Global.System.Web.UI.UserControl - + ''' '''txtBitLyLogin control. ''' @@ -2650,7 +2686,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtBitLyLogin As Global.System.Web.UI.WebControls.TextBox - + ''' '''plBitLyAPIKey control. ''' @@ -2659,7 +2695,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plBitLyAPIKey As Global.System.Web.UI.UserControl - + ''' '''txtBitLyAPIKey control. ''' @@ -2668,7 +2704,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtBitLyAPIKey As Global.System.Web.UI.WebControls.TextBox - + ''' '''dsh3rdPartySettings control. ''' @@ -2677,7 +2713,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents dsh3rdPartySettings As Global.System.Web.UI.UserControl - + ''' '''tbl3rdParty control. ''' @@ -2686,7 +2722,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents tbl3rdParty As Global.System.Web.UI.HtmlControls.HtmlTable - + ''' '''plJournalIntegration control. ''' @@ -2695,7 +2731,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plJournalIntegration As Global.System.Web.UI.UserControl - + ''' '''chkJournalIntegration control. ''' @@ -2704,7 +2740,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkJournalIntegration As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plJournalIntegrationGroups control. ''' @@ -2713,7 +2749,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plJournalIntegrationGroups As Global.System.Web.UI.UserControl - + ''' '''chkJournalIntegrationGroups control. ''' @@ -2722,7 +2758,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkJournalIntegrationGroups As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plActiveSocial control. ''' @@ -2731,7 +2767,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plActiveSocial As Global.System.Web.UI.UserControl - + ''' '''chkActiveSocial control. ''' @@ -2740,7 +2776,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkActiveSocial As Global.System.Web.UI.WebControls.CheckBox - + ''' '''plActiveSocialSubmissionKey control. ''' @@ -2749,7 +2785,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plActiveSocialSubmissionKey As Global.System.Web.UI.UserControl - + ''' '''txtActiveSocialSubmissionKey control. ''' @@ -2758,7 +2794,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtActiveSocialSubmissionKey As Global.System.Web.UI.WebControls.TextBox - + ''' '''plActiveSocialRateKey control. ''' @@ -2767,7 +2803,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plActiveSocialRateKey As Global.System.Web.UI.UserControl - + ''' '''txtActiveSocialRateKey control. ''' @@ -2776,7 +2812,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtActiveSocialRateKey As Global.System.Web.UI.WebControls.TextBox - + ''' '''plActiveSocialCommentKey control. ''' @@ -2785,7 +2821,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plActiveSocialCommentKey As Global.System.Web.UI.UserControl - + ''' '''txtActiveSocialCommentKey control. ''' @@ -2794,7 +2830,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents txtActiveSocialCommentKey As Global.System.Web.UI.WebControls.TextBox - + ''' '''plSmartThinkerStoryFeed control. ''' @@ -2803,7 +2839,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents plSmartThinkerStoryFeed As Global.System.Web.UI.UserControl - + ''' '''chkSmartThinkerStoryFeed control. ''' @@ -2812,7 +2848,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents chkSmartThinkerStoryFeed As Global.System.Web.UI.WebControls.CheckBox - + ''' '''cmdUpdate control. ''' @@ -2821,7 +2857,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents cmdUpdate As Global.System.Web.UI.WebControls.LinkButton - + ''' '''cmdCancel control. ''' @@ -2830,7 +2866,7 @@ Namespace Ventrian.NewsArticles '''To modify move field declaration from designer file to code-behind file. ''' Protected WithEvents cmdCancel As Global.System.Web.UI.WebControls.LinkButton - + ''' '''ucHeader2 control. ''' diff --git a/ucViewOptions.ascx.vb b/ucViewOptions.ascx.vb index bf8dd19..ec435b7 100755 --- a/ucViewOptions.ascx.vb +++ b/ucViewOptions.ascx.vb @@ -523,6 +523,7 @@ Namespace Ventrian.NewsArticles chkCategoryBreadcrumb.Checked = ArticleSettings.CategoryBreadcrumb chkCategoryName.Checked = ArticleSettings.IncludeInPageName chkCategoryFilterSubmit.Checked = ArticleSettings.CategoryFilterSubmit + chkUseStaticTagsList.Checked = ArticleSettings.UseStaticTagsListSubmit If (lstCategorySortOrder.Items.FindByValue(ArticleSettings.CategorySortType.ToString()) IsNot Nothing) Then lstCategorySortOrder.SelectedValue = ArticleSettings.CategorySortType.ToString() @@ -553,6 +554,7 @@ Namespace Ventrian.NewsArticles objModules.UpdateModuleSetting(ModuleId, ArticleConstants.CATEGORY_BREADCRUMB_SETTING, chkCategoryBreadcrumb.Checked.ToString()) objModules.UpdateModuleSetting(ModuleId, ArticleConstants.CATEGORY_NAME_SETTING, chkCategoryName.Checked.ToString()) objModules.UpdateModuleSetting(ModuleId, ArticleConstants.CATEGORY_FILTER_SUBMIT_SETTING, chkCategoryFilterSubmit.Checked.ToString()) + objModules.UpdateModuleSetting(ModuleId, ArticleConstants.USE_STATIC_TAGS_LIST_SUBMIT_SETTING, chkUseStaticTagsList.Checked.ToString()) objModules.UpdateModuleSetting(ModuleId, ArticleConstants.CATEGORY_SORT_SETTING, lstCategorySortOrder.SelectedValue) From 0f641a847488b3c0027caa6a7b581b76ba64e614 Mon Sep 17 00:00:00 2001 From: Eric Wagner Date: Mon, 8 Feb 2021 12:54:55 -0600 Subject: [PATCH 05/10] Address feedback from PR at https://github.com/ventrian/News-Articles/pull/60 --- App_LocalResources/ucViewOptions.ascx.resx | 3 +++ Components/ArticleSettings.vb | 10 ++++----- Components/Common/ArticleConstants.vb | 4 ++-- ucSubmitNews.ascx.vb | 26 ++++++++++------------ ucViewOptions.ascx | 2 +- ucViewOptions.ascx.designer.vb | 4 ++-- ucViewOptions.ascx.vb | 4 ++-- 7 files changed, 27 insertions(+), 26 deletions(-) diff --git a/App_LocalResources/ucViewOptions.ascx.resx b/App_LocalResources/ucViewOptions.ascx.resx index 7cad39a..69c8176 100755 --- a/App_LocalResources/ucViewOptions.ascx.resx +++ b/App_LocalResources/ucViewOptions.ascx.resx @@ -1140,6 +1140,9 @@ Use Static Tags List + + Check to only allow existing tags to be used on submit article screen, otherwise allow article authors to create new tags while authoring an article. When checked, a list box will be used to select existing tags (similar to categories), rather then the text box used when unchecked. + -- All Groups -- diff --git a/Components/ArticleSettings.vb b/Components/ArticleSettings.vb index 223b06f..3b7a832 100755 --- a/Components/ArticleSettings.vb +++ b/Components/ArticleSettings.vb @@ -244,12 +244,12 @@ Namespace Ventrian.NewsArticles End Get End Property - Public ReadOnly Property UseStaticTagsListSubmit() As Boolean + Public ReadOnly Property UseStaticTagsList() As Boolean Get - If (Settings.Contains(ArticleConstants.USE_STATIC_TAGS_LIST_SUBMIT_SETTING)) Then - Return Convert.ToBoolean(Settings(ArticleConstants.USE_STATIC_TAGS_LIST_SUBMIT_SETTING).ToString()) + If (Settings.Contains(ArticleConstants.USE_STATIC_TAGS_LIST_SETTING)) Then + Return Convert.ToBoolean(Settings(ArticleConstants.USE_STATIC_TAGS_LIST_SETTING).ToString()) Else - Return ArticleConstants.USE_STATIC_TAGS_LIST_SUBMIT_SETTING_DEFAULT + Return ArticleConstants.USE_STATIC_TAGS_LIST_SETTING_DEFAULT End If End Get End Property @@ -365,7 +365,7 @@ Namespace Ventrian.NewsArticles End If End Get End Property - + Public ReadOnly Property EnablePortalFiles() As Boolean Get If (Settings.Contains(ArticleConstants.ENABLE_PORTAL_FILES_SETTING)) Then diff --git a/Components/Common/ArticleConstants.vb b/Components/Common/ArticleConstants.vb index 1c040d0..a7274f6 100755 --- a/Components/Common/ArticleConstants.vb +++ b/Components/Common/ArticleConstants.vb @@ -113,8 +113,8 @@ Namespace Ventrian.NewsArticles Public Const CATEGORY_FILTER_SUBMIT_SETTING_DEFAULT As Boolean = False Public Const CATEGORY_SORT_SETTING As String = "CategorySortType" Public Const CATEGORY_SORT_SETTING_DEFAULT As CategorySortType = CategorySortType.SortOrder - Public Const USE_STATIC_TAGS_LIST_SUBMIT_SETTING As String = "UseStaticTagsList" - Public Const USE_STATIC_TAGS_LIST_SUBMIT_SETTING_DEFAULT As Boolean = False + Public Const USE_STATIC_TAGS_LIST_SETTING As String = "UseStaticTagsList" + Public Const USE_STATIC_TAGS_LIST_SETTING_DEFAULT As Boolean = False ' Category Security Settings diff --git a/ucSubmitNews.ascx.vb b/ucSubmitNews.ascx.vb index a171ac0..91e0548 100755 --- a/ucSubmitNews.ascx.vb +++ b/ucSubmitNews.ascx.vb @@ -192,7 +192,7 @@ Namespace Ventrian.NewsArticles End If Next - If (ArticleSettings.UseStaticTagsListSubmit) Then + If (ArticleSettings.UseStaticTagsList) Then SelectTags(objArticle.Tags) Else txtTags.Text = objArticle.Tags @@ -343,7 +343,7 @@ Namespace Ventrian.NewsArticles End Sub Private Sub BindTags() - If (ArticleSettings.UseStaticTagsListSubmit) Then + If (ArticleSettings.UseStaticTagsList) Then txtTags.Visible = False lblTags.Visible = False @@ -360,15 +360,13 @@ Namespace Ventrian.NewsArticles Private Sub SelectTags(ByVal tagList As String) Dim objTagController As New TagController - For Each tag As String In tagList.Split(","c) - If (tag <> "") Then - Dim objTag As TagInfo = objTagController.Get(ModuleId, tag) - - If Not (objTag Is Nothing) Then - Dim li As ListItem = lstTags.Items.FindByValue(objTag.Name) - If Not (li Is Nothing) Then - li.Selected = True - End If + For Each tag As String In tagList.Split(New Char() {","c}, StringSplitOptions.RemoveEmptyEntries) + Dim objTag As TagInfo = objTagController.Get(ModuleId, tag) + + If objTag IsNot Nothing Then + Dim li As ListItem = lstTags.Items.FindByValue(objTag.Name) + If li IsNot Nothing Then + li.Selected = True End If End If Next @@ -1183,7 +1181,7 @@ Namespace Ventrian.NewsArticles Dim objLinkedArticle As ArticleInfo = objArticleController.GetArticle(Convert.ToInt32(drpMirrorArticle.SelectedValue)) If (objLinkedArticle IsNot Nothing) Then - If (ArticleSettings.UseStaticTagsListSubmit) Then + If (ArticleSettings.UseStaticTagsList) Then SelectTags(objLinkedArticle.Tags) Else txtTags.Text = objLinkedArticle.Tags @@ -1194,12 +1192,12 @@ Namespace Ventrian.NewsArticles Dim objTagController As New TagController objTagController.DeleteArticleTag(articleID) - If (ArticleSettings.UseStaticTagsListSubmit) Then + If (ArticleSettings.UseStaticTagsList) Then For Each li As ListItem In lstTags.Items If (li.Selected) Then Dim objTag As TagInfo = objTagController.Get(ModuleId, li.Value) - If Not (objTag Is Nothing) Then + If objTag IsNot Nothing Then objTagController.Add(articleID, objTag.TagID) End If End If diff --git a/ucViewOptions.ascx b/ucViewOptions.ascx index 855c14d..525abb4 100755 --- a/ucViewOptions.ascx +++ b/ucViewOptions.ascx @@ -182,7 +182,7 @@
- +
diff --git a/ucViewOptions.ascx.designer.vb b/ucViewOptions.ascx.designer.vb index 8f7c578..f792e61 100755 --- a/ucViewOptions.ascx.designer.vb +++ b/ucViewOptions.ascx.designer.vb @@ -627,13 +627,13 @@ Namespace Ventrian.NewsArticles Protected WithEvents tblTags As Global.System.Web.UI.HtmlControls.HtmlTable ''' - '''Label12 control. + '''plUseStaticTagsList control. ''' ''' '''Auto-generated field. '''To modify move field declaration from designer file to code-behind file. ''' - Protected WithEvents Label12 As Global.System.Web.UI.UserControl + Protected WithEvents plUseStaticTagsList As Global.System.Web.UI.UserControl ''' '''chkUseStaticTagsList control. diff --git a/ucViewOptions.ascx.vb b/ucViewOptions.ascx.vb index ec435b7..bd0b51b 100755 --- a/ucViewOptions.ascx.vb +++ b/ucViewOptions.ascx.vb @@ -523,7 +523,7 @@ Namespace Ventrian.NewsArticles chkCategoryBreadcrumb.Checked = ArticleSettings.CategoryBreadcrumb chkCategoryName.Checked = ArticleSettings.IncludeInPageName chkCategoryFilterSubmit.Checked = ArticleSettings.CategoryFilterSubmit - chkUseStaticTagsList.Checked = ArticleSettings.UseStaticTagsListSubmit + chkUseStaticTagsList.Checked = ArticleSettings.UseStaticTagsList If (lstCategorySortOrder.Items.FindByValue(ArticleSettings.CategorySortType.ToString()) IsNot Nothing) Then lstCategorySortOrder.SelectedValue = ArticleSettings.CategorySortType.ToString() @@ -554,7 +554,7 @@ Namespace Ventrian.NewsArticles objModules.UpdateModuleSetting(ModuleId, ArticleConstants.CATEGORY_BREADCRUMB_SETTING, chkCategoryBreadcrumb.Checked.ToString()) objModules.UpdateModuleSetting(ModuleId, ArticleConstants.CATEGORY_NAME_SETTING, chkCategoryName.Checked.ToString()) objModules.UpdateModuleSetting(ModuleId, ArticleConstants.CATEGORY_FILTER_SUBMIT_SETTING, chkCategoryFilterSubmit.Checked.ToString()) - objModules.UpdateModuleSetting(ModuleId, ArticleConstants.USE_STATIC_TAGS_LIST_SUBMIT_SETTING, chkUseStaticTagsList.Checked.ToString()) + objModules.UpdateModuleSetting(ModuleId, ArticleConstants.USE_STATIC_TAGS_LIST_SETTING, chkUseStaticTagsList.Checked.ToString()) objModules.UpdateModuleSetting(ModuleId, ArticleConstants.CATEGORY_SORT_SETTING, lstCategorySortOrder.SelectedValue) From de8c2050782e20a3f157ee207cdf42bf5a5d8c57 Mon Sep 17 00:00:00 2001 From: Eric Wagner Date: Mon, 8 Mar 2021 12:17:54 -0600 Subject: [PATCH 06/10] NEED TO VERSION - Add DisplayOrder column to DnnForge_NewsArticles_ArticleTag table and allow for explicitly defining display order via ucSubmitNews UI --- App_LocalResources/ucSubmitNews.ascx.resx | 6 + Components/TagController.vb | 4 +- Providers/DataProvider/DataProvider.vb | 2 +- .../SqlDataProvider/SqlDataProvider.vb | 4 +- ...ntrian.NewsArticles.SqlDataProvider.vbproj | 1 + .../SqlDataProvider/VersionMe.SqlDataProvider | 62 ++++++++ ucSubmitNews.ascx | 16 +- ucSubmitNews.ascx.designer.vb | 108 +++++++++++++ ucSubmitNews.ascx.vb | 145 +++++++++++++++--- 9 files changed, 318 insertions(+), 30 deletions(-) create mode 100644 Providers/DataProvider/SqlDataProvider/VersionMe.SqlDataProvider diff --git a/App_LocalResources/ucSubmitNews.ascx.resx b/App_LocalResources/ucSubmitNews.ascx.resx index 1ce9ccc..1cfc461 100755 --- a/App_LocalResources/ucSubmitNews.ascx.resx +++ b/App_LocalResources/ucSubmitNews.ascx.resx @@ -459,4 +459,10 @@ Upload Folder: + + Select all desired tags and add to Article Tags list. + + + Re-order article tags for display, and remove existing article tags. + \ No newline at end of file diff --git a/Components/TagController.vb b/Components/TagController.vb index 5e24869..d6f1776 100755 --- a/Components/TagController.vb +++ b/Components/TagController.vb @@ -98,10 +98,10 @@ Namespace Ventrian.NewsArticles End Sub - Public Sub Add(ByVal articleID As Integer, ByVal tagID As Integer) + Public Sub Add(ByVal articleID As Integer, ByVal tagID As Integer, Optional ByVal displayOrder As Integer = 0) RemoveCache(tagID) - DataProvider.Instance().AddArticleTag(articleID, tagID) + DataProvider.Instance().AddArticleTag(articleID, tagID, displayOrder) End Sub diff --git a/Providers/DataProvider/DataProvider.vb b/Providers/DataProvider/DataProvider.vb index fb898fe..2691d58 100755 --- a/Providers/DataProvider/DataProvider.vb +++ b/Providers/DataProvider/DataProvider.vb @@ -133,7 +133,7 @@ Namespace Ventrian.NewsArticles Public MustOverride Sub UpdateTag(ByVal tagID As Integer, ByVal moduleID As Integer, ByVal name As String, ByVal nameLowered As String, ByVal usages As Integer) Public MustOverride Sub DeleteTag(ByVal tagID As Integer) - Public MustOverride Sub AddArticleTag(ByVal articleID As Integer, ByVal tagID As Integer) + Public MustOverride Sub AddArticleTag(ByVal articleID As Integer, ByVal tagID As Integer, Optional ByVal displayOrder As Integer = 0) Public MustOverride Sub DeleteArticleTag(ByVal articleID As Integer) Public MustOverride Sub DeleteArticleTagByTag(ByVal tagID As Integer) diff --git a/Providers/DataProvider/SqlDataProvider/SqlDataProvider.vb b/Providers/DataProvider/SqlDataProvider/SqlDataProvider.vb index 16049d2..242ca2a 100755 --- a/Providers/DataProvider/SqlDataProvider/SqlDataProvider.vb +++ b/Providers/DataProvider/SqlDataProvider/SqlDataProvider.vb @@ -564,8 +564,8 @@ Namespace Ventrian.NewsArticles SqlHelper.ExecuteNonQuery(ConnectionString, DatabaseOwner & ObjectQualifier & "DnnForge_NewsArticles_TagDelete", tagID) End Sub - Public Overrides Sub AddArticleTag(ByVal articleID As Integer, ByVal tagID As Integer) - SqlHelper.ExecuteNonQuery(ConnectionString, DatabaseOwner & ObjectQualifier & "DnnForge_NewsArticles_ArticleTagAdd", articleID, tagID) + Public Overrides Sub AddArticleTag(ByVal articleID As Integer, ByVal tagID As Integer, Optional ByVal displayOrder As Integer = 0) + SqlHelper.ExecuteNonQuery(ConnectionString, DatabaseOwner & ObjectQualifier & "DnnForge_NewsArticles_ArticleTagAdd", articleID, tagID, displayOrder) End Sub Public Overrides Sub DeleteArticleTag(ByVal articleID As Integer) diff --git a/Providers/DataProvider/SqlDataProvider/Ventrian.NewsArticles.SqlDataProvider.vbproj b/Providers/DataProvider/SqlDataProvider/Ventrian.NewsArticles.SqlDataProvider.vbproj index c6f3839..9d20d77 100755 --- a/Providers/DataProvider/SqlDataProvider/Ventrian.NewsArticles.SqlDataProvider.vbproj +++ b/Providers/DataProvider/SqlDataProvider/Ventrian.NewsArticles.SqlDataProvider.vbproj @@ -231,6 +231,7 @@ + diff --git a/Providers/DataProvider/SqlDataProvider/VersionMe.SqlDataProvider b/Providers/DataProvider/SqlDataProvider/VersionMe.SqlDataProvider new file mode 100644 index 0000000..20a9772 --- /dev/null +++ b/Providers/DataProvider/SqlDataProvider/VersionMe.SqlDataProvider @@ -0,0 +1,62 @@ +-- Add SortOrder column to DnnForge_NewsArticles_ArticleTag +IF (SELECT TOP 1 c.column_id + FROM sys.tables t + JOIN sys.all_columns c ON t.object_id = c.object_id + WHERE t.name = 'DnnForge_NewsArticles_ArticleTag' AND c.name = 'DisplayOrder') IS NULL +BEGIN + + ALTER TABLE {databaseOwner}{objectQualifier}DnnForge_NewsArticles_ArticleTag + ADD DisplayOrder INT + + -- Backfill existing article tags + UPDATE {databaseOwner}{objectQualifier}DnnForge_NewsArticles_ArticleTag + SET DisplayOrder = 0 + +END +GO + +-- Add DisplayOrder param to DnnForge_NewsArticles_ArticleTagAdd store procedure +ALTER PROCEDURE {databaseOwner}{objectQualifier}DnnForge_NewsArticles_ArticleTagAdd + @ArticleID int, + @TagID int, + @DisplayOrder int +AS +IF( (SELECT COUNT(*) FROM {databaseOwner}{objectQualifier}DnnForge_NewsArticles_ArticleTag WHERE ArticleID = @ArticleID and TagID = @TagID) = 0 ) +BEGIN + INSERT INTO + {databaseOwner}{objectQualifier}DnnForge_NewsArticles_ArticleTag(ArticleID, TagID, DisplayOrder) + VALUES(@ArticleID, @TagID, @DisplayOrder) + + UPDATE + {databaseOwner}{objectQualifier}DnnForge_NewsArticles_Tag + SET + Usages = (select count(*) from {databaseOwner}{objectQualifier}DnnForge_NewsArticles_ArticleTag pt where pt.TagID = @TagID) + WHERE + TagID = @TagID +END +GO + +-- Alter Ventrian_NewsArticles_SplitTags function to order article tags by DisplayOrder field +ALTER FUNCTION {databaseOwner}{objectQualifier}Ventrian_NewsArticles_SplitTags +(@ArticleID int) +RETURNS nvarchar(2000) +AS + BEGIN + + DECLARE @p_str nvarchar(2000) + SET @p_str = '' + + SELECT @p_str = @p_str + ',' + CAST(t.[Name] AS NVARCHAR(50)) + FROM {databaseOwner}{objectQualifier}DnnForge_NewsArticles_Tag t, {databaseOwner}{objectQualifier}DnnForge_NewsArticles_ArticleTag at + WHERE t.TagID = at.TagID and at.ArticleID = @ArticleID + ORDER BY at.DisplayOrder + + IF( LEN(@p_str) > 0 ) + BEGIN + SELECT @p_str = SUBSTRING(@p_str, 2, (LEN(@p_str)-1)) + END + + RETURN LTRIM(@p_str) + +END +GO \ No newline at end of file diff --git a/ucSubmitNews.ascx b/ucSubmitNews.ascx index 5833065..b0f203e 100755 --- a/ucSubmitNews.ascx +++ b/ucSubmitNews.ascx @@ -225,11 +225,23 @@ - - + +
+ + + + + + + + + + + + diff --git a/ucSubmitNews.ascx.designer.vb b/ucSubmitNews.ascx.designer.vb index d434457..8f13d7b 100755 --- a/ucSubmitNews.ascx.designer.vb +++ b/ucSubmitNews.ascx.designer.vb @@ -662,6 +662,15 @@ Namespace Ventrian.NewsArticles ''' Protected WithEvents trTags As Global.System.Web.UI.HtmlControls.HtmlTableRow + ''' + '''tdTxtTagsTitle control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents tdTxtTagsTitle As Global.System.Web.UI.HtmlControls.HtmlTableCell + ''' '''plTags control. ''' @@ -671,6 +680,15 @@ Namespace Ventrian.NewsArticles ''' Protected WithEvents plTags As Global.System.Web.UI.UserControl + ''' + '''tdTxtTags control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents tdTxtTags As Global.System.Web.UI.HtmlControls.HtmlTableCell + ''' '''txtTags control. ''' @@ -689,6 +707,33 @@ Namespace Ventrian.NewsArticles ''' Protected WithEvents lblTags As Global.System.Web.UI.WebControls.Label + ''' + '''tdAllTagsTitle control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents tdAllTagsTitle As Global.System.Web.UI.HtmlControls.HtmlTableCell + + ''' + '''plAllTags control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents plAllTags As Global.System.Web.UI.UserControl + + ''' + '''tdAllTagsList control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents tdAllTagsList As Global.System.Web.UI.HtmlControls.HtmlTableCell + ''' '''lstTags control. ''' @@ -698,6 +743,69 @@ Namespace Ventrian.NewsArticles ''' Protected WithEvents lstTags As Global.System.Web.UI.WebControls.ListBox + ''' + '''addTags control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents addTags As Global.System.Web.UI.WebControls.ImageButton + + ''' + '''tdStaticTagsList control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents tdStaticTagsList As Global.System.Web.UI.HtmlControls.HtmlTableCell + + ''' + '''plArticleTags control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents plArticleTags As Global.System.Web.UI.UserControl + + ''' + '''lstFinalTags control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents lstFinalTags As Global.System.Web.UI.WebControls.ListBox + + ''' + '''cmdUp control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents cmdUp As Global.System.Web.UI.WebControls.ImageButton + + ''' + '''cmdDown control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents cmdDown As Global.System.Web.UI.WebControls.ImageButton + + ''' + '''cmdDeleteTag control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents cmdDeleteTag As Global.System.Web.UI.WebControls.ImageButton + ''' '''phPublish control. ''' diff --git a/ucSubmitNews.ascx.vb b/ucSubmitNews.ascx.vb index 91e0548..ac195ae 100755 --- a/ucSubmitNews.ascx.vb +++ b/ucSubmitNews.ascx.vb @@ -192,8 +192,9 @@ Namespace Ventrian.NewsArticles End If Next - If (ArticleSettings.UseStaticTagsList) Then - SelectTags(objArticle.Tags) + If ArticleSettings.UseStaticTagsList Then + SelectAllTags(objArticle.Tags) + CreateFinalTags(objArticle.Tags) Else txtTags.Text = objArticle.Tags End If @@ -343,22 +344,32 @@ Namespace Ventrian.NewsArticles End Sub Private Sub BindTags() - If (ArticleSettings.UseStaticTagsList) Then - txtTags.Visible = False - lblTags.Visible = False - Dim objTagController As New TagController - Dim objTags As ArrayList = objTagController.List(ModuleId, Null.NullInteger) - - objTags.Sort() - lstTags.DataSource = objTags - lstTags.DataBind() + If ArticleSettings.UseStaticTagsList Then + tdTxtTagsTitle.Visible = False + tdTxtTags.Visible = False + FillTagsList() Else - lstTags.Visible = False + tdAllTagsTitle.Visible = False + tdAllTagsList.Visible = False + tdStaticTagsList.Visible = False End If + + End Sub + + Private Sub FillTagsList() + + Dim objTagController As New TagController + Dim objTags As ArrayList = objTagController.List(ModuleId, Null.NullInteger) + + objTags.Sort() + lstTags.DataSource = objTags + lstTags.DataBind() + End Sub - Private Sub SelectTags(ByVal tagList As String) + Private Sub SelectAllTags(ByVal tagList As String) + Dim objTagController As New TagController For Each tag As String In tagList.Split(New Char() {","c}, StringSplitOptions.RemoveEmptyEntries) Dim objTag As TagInfo = objTagController.Get(ModuleId, tag) @@ -370,6 +381,20 @@ Namespace Ventrian.NewsArticles End If End If Next + + End Sub + + Private Sub CreateFinalTags(ByVal tagList As String) + + Dim objTagController As New TagController + For Each tag As String In tagList.Split(New Char() {","c}, StringSplitOptions.RemoveEmptyEntries) + Dim objTag As TagInfo = objTagController.Get(ModuleId, tag) + + If objTag IsNot Nothing Then + lstFinalTags.Items.Add(objTag.Name) + End If + Next + End Sub Private Sub BindCustomFields() @@ -408,7 +433,7 @@ Namespace Ventrian.NewsArticles Public Function GetAuthorList(ByVal moduleID As Integer) As ArrayList - Dim moduleSettings As Hashtable = Common.GetModuleSettings(moduleId) + Dim moduleSettings As Hashtable = Common.GetModuleSettings(moduleID) Dim distributionList As String = "" Dim userList As New ArrayList @@ -1181,8 +1206,9 @@ Namespace Ventrian.NewsArticles Dim objLinkedArticle As ArticleInfo = objArticleController.GetArticle(Convert.ToInt32(drpMirrorArticle.SelectedValue)) If (objLinkedArticle IsNot Nothing) Then - If (ArticleSettings.UseStaticTagsList) Then - SelectTags(objLinkedArticle.Tags) + If ArticleSettings.UseStaticTagsList Then + SelectAllTags(objLinkedArticle.Tags) + CreateFinalTags(objLinkedArticle.Tags) Else txtTags.Text = objLinkedArticle.Tags End If @@ -1192,14 +1218,16 @@ Namespace Ventrian.NewsArticles Dim objTagController As New TagController objTagController.DeleteArticleTag(articleID) - If (ArticleSettings.UseStaticTagsList) Then - For Each li As ListItem In lstTags.Items - If (li.Selected) Then - Dim objTag As TagInfo = objTagController.Get(ModuleId, li.Value) + If ArticleSettings.UseStaticTagsList Then + Dim order As Integer = 0 - If objTag IsNot Nothing Then - objTagController.Add(articleID, objTag.TagID) - End If + For Each li As ListItem In lstFinalTags.Items + order = order + 1 + + Dim objTag As TagInfo = objTagController.Get(ModuleId, li.Value) + + If objTag IsNot Nothing Then + objTagController.Add(articleID, objTag.TagID, order) End If Next Else @@ -1980,6 +2008,77 @@ Namespace Ventrian.NewsArticles End Sub + Private Sub addTags_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles addTags.Click + + If lstTags.Items.Count > 0 Then + lstFinalTags.Items.Clear() + End If + + For Each li As ListItem In lstTags.Items + If (li.Selected) Then + li.Selected = False + lstFinalTags.Items.Add(li) + End If + Next + + End Sub + + Private Sub cmdUp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdUp.Click + + moveListItem(-1) + + End Sub + + Private Sub cmdDown_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdDown.Click + + moveListItem(1) + + End Sub + + Private Sub moveListItem(direction As Integer) + + Try + With Me.lstFinalTags + Dim selectedIndex As Integer = .SelectedIndex + Dim selectedItem As ListItem = .SelectedItem + Dim totalItems As Integer = .Items.Count + + ' No selected item + If (selectedItem Is Nothing Or selectedIndex < 0) Then + Return + End If + + ' Calculate New index using direction + Dim newIndex As Integer = selectedIndex + direction + + ' New Index out of range + If (newIndex < 0 Or newIndex >= totalItems) Then + Return + End If + + ' Remove old element + .Items.Remove(selectedItem) + + ' Insert into New position + .Items.Insert(newIndex, selectedItem) + + ' Restore selection + .SelectedIndex = newIndex + End With + Catch exc As Exception 'Module failed to load + ProcessModuleLoadException(Me, exc) + End Try + + End Sub + + Private Sub cmdDeleteTag_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdDeleteTag.Click + + If lstFinalTags.SelectedItem IsNot Nothing Then + lstFinalTags.Items.Remove(lstFinalTags.SelectedItem) + End If + + End Sub + Private Sub cmdSaveArticle_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSaveArticle.Click Try From 6ae9893283d015045231cdff16db52f2c0135f24 Mon Sep 17 00:00:00 2001 From: Eric Wagner Date: Tue, 16 Mar 2021 12:11:44 -0500 Subject: [PATCH 07/10] Add ToolTips for Static Tags imagebuttons --- ucSubmitNews.ascx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ucSubmitNews.ascx b/ucSubmitNews.ascx index b0f203e..e7daae3 100755 --- a/ucSubmitNews.ascx +++ b/ucSubmitNews.ascx @@ -233,15 +233,15 @@ - + - - - + + + From 89e0f1691bd92190f66c31b27fe58eb5a23ca8ab Mon Sep 17 00:00:00 2001 From: Eric Wagner Date: Tue, 16 Mar 2021 12:54:05 -0500 Subject: [PATCH 08/10] Add
between Categories and Tags section in ucSubmitNews.ascx --- ucSubmitNews.ascx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ucSubmitNews.ascx b/ucSubmitNews.ascx index e7daae3..1144141 100755 --- a/ucSubmitNews.ascx +++ b/ucSubmitNews.ascx @@ -224,6 +224,11 @@ Display="None" ErrorMessage="Category is Required." Enabled="False" ResourceKey="valCategoriesRequired.ErrorMessage" SetFocusOnError="true" /> + + +
+ + From a8a1eefe0ba9911cbdfda26b46925f8d4d9eb598 Mon Sep 17 00:00:00 2001 From: Eric Wagner Date: Fri, 9 Apr 2021 12:01:31 -0500 Subject: [PATCH 09/10] Adjust LatestArticlesOptions to support static tags list setting --- LatestArticlesOptions.ascx | 1 + LatestArticlesOptions.ascx.designer.vb | 9 ++ LatestArticlesOptions.ascx.vb | 160 +++++++++++++++++++------ 3 files changed, 132 insertions(+), 38 deletions(-) diff --git a/LatestArticlesOptions.ascx b/LatestArticlesOptions.ascx index de26251..bbbd0e6 100755 --- a/LatestArticlesOptions.ascx +++ b/LatestArticlesOptions.ascx @@ -218,6 +218,7 @@
+ diff --git a/LatestArticlesOptions.ascx.designer.vb b/LatestArticlesOptions.ascx.designer.vb index 548c617..f4aa150 100755 --- a/LatestArticlesOptions.ascx.designer.vb +++ b/LatestArticlesOptions.ascx.designer.vb @@ -806,6 +806,15 @@ Namespace Ventrian.NewsArticles ''' Protected WithEvents txtTags As Global.System.Web.UI.WebControls.TextBox + ''' + '''lstTags control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents lstTags As Global.System.Web.UI.WebControls.ListBox + ''' '''lblTags control. ''' diff --git a/LatestArticlesOptions.ascx.vb b/LatestArticlesOptions.ascx.vb index 5332545..00a7d88 100755 --- a/LatestArticlesOptions.ascx.vb +++ b/LatestArticlesOptions.ascx.vb @@ -153,6 +153,7 @@ Namespace Ventrian.NewsArticles End If If (drpModuleID.Items.Count > 0) Then + BindTags() BindCategories() BindCustomFields() End If @@ -174,12 +175,95 @@ Namespace Ventrian.NewsArticles End Sub + Private Function UseStaticTagsList() As Boolean + + If Not (drpModuleID.Items.Count > 0) Then + Return ArticleConstants.USE_STATIC_TAGS_LIST_SETTING_DEFAULT + End If + + Dim selectedModuleValues As String() = drpModuleID.SelectedValue.Split(Convert.ToChar("-")) + Dim objModuleController As New ModuleController + Dim selectedArticlesModule As ModuleInfo = objModuleController.GetModule(Convert.ToInt32(selectedModuleValues(1)), Convert.ToInt32(selectedModuleValues(0)), False) + + If Not selectedArticlesModule.ModuleSettings.Contains(ArticleConstants.USE_STATIC_TAGS_LIST_SETTING) Then + Return ArticleConstants.USE_STATIC_TAGS_LIST_SETTING_DEFAULT + End If + + Return Convert.ToBoolean(selectedArticlesModule.ModuleSettings(ArticleConstants.USE_STATIC_TAGS_LIST_SETTING).ToString()) + + End Function + + Private Sub SelectAllTags(ByVal tagIdList As String) + + Dim objTagController As New TagController + For Each tagId As String In tagIdList.Split(New Char() {","c}, StringSplitOptions.RemoveEmptyEntries) + Dim objTag As TagInfo = objTagController.Get(Convert.ToInt32(tagId)) + + If objTag IsNot Nothing Then + Dim li As ListItem = lstTags.Items.FindByValue(objTag.Name) + If li IsNot Nothing Then + li.Selected = True + End If + End If + Next + + End Sub + + Private Sub BindTags() + If UseStaticTagsList() Then + lblTags.Visible = False + txtTags.Visible = False + + lstTags.Visible = True + FillTagsList() + Else + lstTags.Visible = False + + lblTags.Visible = True + txtTags.Visible = True + End If + + If (Settings.Contains(ArticleConstants.LATEST_ARTICLES_TAGS)) Then + Dim tags As String = Settings(ArticleConstants.LATEST_ARTICLES_TAGS).ToString() + If (tags <> "" And drpModuleID.Items.Count > 0) Then + If UseStaticTagsList() Then + SelectAllTags(tags) + Else + Dim objTagController As New TagController() + For Each tag As String In tags.Split(","c) + Dim objTag As TagInfo = objTagController.Get(Convert.ToInt32(tag)) + If (objTag IsNot Nothing) Then + If (txtTags.Text <> "") Then + txtTags.Text = txtTags.Text + "," + objTag.Name + Else + txtTags.Text = objTag.Name + End If + End If + Next + End If + End If + End If + End Sub + + Private Sub FillTagsList() + If (drpModuleID.Items.Count > 0) Then + Dim objTagController As New TagController + Dim objTags As ArrayList = objTagController.List(Convert.ToInt32(drpModuleID.SelectedValue.Split("-"c)(1)), Null.NullInteger) + + objTags.Sort() + lstTags.DataSource = objTags + lstTags.DataBind() + End If + End Sub + Private Sub BindSettings() If (Settings.Contains(ArticleConstants.LATEST_ARTICLES_MODULE_ID) And Settings.Contains(ArticleConstants.LATEST_ARTICLES_TAB_ID)) Then If Not (drpModuleID.Items.FindByValue(Settings(ArticleConstants.LATEST_ARTICLES_TAB_ID).ToString() & "-" & Settings(ArticleConstants.LATEST_ARTICLES_MODULE_ID).ToString()) Is Nothing) Then drpModuleID.SelectedValue = Settings(ArticleConstants.LATEST_ARTICLES_TAB_ID).ToString() & "-" & Settings(ArticleConstants.LATEST_ARTICLES_MODULE_ID).ToString() End If + + BindTags() BindCategories() BindCustomFields() End If @@ -241,23 +325,6 @@ Namespace Ventrian.NewsArticles End If End If - If (Settings.Contains(ArticleConstants.LATEST_ARTICLES_TAGS)) Then - Dim objTagController As New TagController() - Dim tags As String = Settings(ArticleConstants.LATEST_ARTICLES_TAGS).ToString() - If (tags <> "" And drpModuleID.Items.Count > 0) Then - For Each tag As String In tags.Split(","c) - Dim objTag As TagInfo = objTagController.Get(Convert.ToInt32(tag)) - If (objTag IsNot Nothing) Then - If (txtTags.Text <> "") Then - txtTags.Text = txtTags.Text + "," + objTag.Name - Else - txtTags.Text = objTag.Name - End If - End If - Next - End If - End If - If (rdoTagsMatchOperator.Items.Count > 0) Then rdoTagsMatchOperator.Items(0).Selected = True End If @@ -599,31 +666,47 @@ Namespace Ventrian.NewsArticles Dim tags As String = "" If (drpModuleID.Items.Count > 0) Then - For Each tag As String In txtTags.Text.Split(","c) - If (tag <> "") Then - Dim objTagController As New TagController() - Dim objTag As TagInfo = objTagController.Get(Convert.ToInt32(drpModuleID.SelectedValue.Split("-"c)(1)), tag.ToLower()) - If (objTag IsNot Nothing) Then - If (tags = "") Then - tags = objTag.TagID.ToString() - Else - tags = tags & "," & objTag.TagID.ToString() + Dim objTagController As New TagController() + + If UseStaticTagsList() Then + For Each li As ListItem In lstTags.Items + If li.Selected Then + Dim objTag As TagInfo = objTagController.Get(Convert.ToInt32(drpModuleID.SelectedValue.Split("-"c)(1)), li.Value.ToLower()) + If (objTag IsNot Nothing) Then + If (tags = "") Then + tags = objTag.TagID.ToString() + Else + tags = tags & "," & objTag.TagID.ToString() + End If End If - Else - objTag = New TagInfo() - objTag.ModuleID = Convert.ToInt32(drpModuleID.SelectedValue.Split("-"c)(1)) - objTag.Name = tag - objTag.NameLowered = tag.ToLower() - objTag.Usages = 0 - objTag.TagID = objTagController.Add(objTag) - If (tags = "") Then - tags = objTag.TagID.ToString() + End If + Next + Else + For Each tag As String In txtTags.Text.Split(","c) + If (tag <> "") Then + Dim objTag As TagInfo = objTagController.Get(Convert.ToInt32(drpModuleID.SelectedValue.Split("-"c)(1)), tag.ToLower()) + If (objTag IsNot Nothing) Then + If (tags = "") Then + tags = objTag.TagID.ToString() + Else + tags = tags & "," & objTag.TagID.ToString() + End If Else - tags = tags & "," & objTag.TagID.ToString() + objTag = New TagInfo() + objTag.ModuleID = Convert.ToInt32(drpModuleID.SelectedValue.Split("-"c)(1)) + objTag.Name = tag + objTag.NameLowered = tag.ToLower() + objTag.Usages = 0 + objTag.TagID = objTagController.Add(objTag) + If (tags = "") Then + tags = objTag.TagID.ToString() + Else + tags = tags & "," & objTag.TagID.ToString() + End If End If End If - End If - Next + Next + End If End If objModuleController.UpdateModuleSetting(ModuleId, ArticleConstants.LATEST_ARTICLES_TAGS, tags) objModuleController.UpdateModuleSetting(Me.ModuleId, ArticleConstants.LATEST_ARTICLES_TAGS_MATCH_OPERATOR, rdoTagsMatchOperator.SelectedValue) @@ -714,6 +797,7 @@ Namespace Ventrian.NewsArticles Private Sub drpModuleID_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles drpModuleID.SelectedIndexChanged Try + BindTags() BindCategories() BindCustomFields() Catch exc As Exception 'Module failed to load From fc8772bb534c3d46c11897ce2b1ec85bc5e75277 Mon Sep 17 00:00:00 2001 From: Eric Wagner Date: Mon, 24 May 2021 12:02:47 -0500 Subject: [PATCH 10/10] Add replaceTags imagebutton to replace Article Tags with selected lstTags, and make addTags imagebutton append tags to Article Tags list --- ucSubmitNews.ascx | 1 + ucSubmitNews.ascx.designer.vb | 9 +++++++++ ucSubmitNews.ascx.vb | 20 +++++++++++++++++++- 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/ucSubmitNews.ascx b/ucSubmitNews.ascx index 1144141..1312e51 100755 --- a/ucSubmitNews.ascx +++ b/ucSubmitNews.ascx @@ -239,6 +239,7 @@ + diff --git a/ucSubmitNews.ascx.designer.vb b/ucSubmitNews.ascx.designer.vb index 8f13d7b..f83e413 100755 --- a/ucSubmitNews.ascx.designer.vb +++ b/ucSubmitNews.ascx.designer.vb @@ -752,6 +752,15 @@ Namespace Ventrian.NewsArticles ''' Protected WithEvents addTags As Global.System.Web.UI.WebControls.ImageButton + ''' + '''replaceTags control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents replaceTags As Global.System.Web.UI.WebControls.ImageButton + ''' '''tdStaticTagsList control. ''' diff --git a/ucSubmitNews.ascx.vb b/ucSubmitNews.ascx.vb index ac195ae..c780a80 100755 --- a/ucSubmitNews.ascx.vb +++ b/ucSubmitNews.ascx.vb @@ -2008,7 +2008,7 @@ Namespace Ventrian.NewsArticles End Sub - Private Sub addTags_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles addTags.Click + Private Sub replaceTags_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles replaceTags.Click If lstTags.Items.Count > 0 Then lstFinalTags.Items.Clear() @@ -2023,6 +2023,24 @@ Namespace Ventrian.NewsArticles End Sub + Private Sub addTags_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles addTags.Click + + For Each li As ListItem In lstTags.Items + If (li.Selected) Then + + li.Selected = False + If Not lstFinalTags.Items.Contains(li) Then + + lstFinalTags.Items.Add(li) + + End If + + End If + Next + + End Sub + + Private Sub cmdUp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdUp.Click moveListItem(-1)