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/App_LocalResources/ucViewOptions.ascx.resx b/App_LocalResources/ucViewOptions.ascx.resx index 5873c8c..69c8176 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,12 @@ Filter Category Submit + + 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 e0ee676..3b7a832 100755 --- a/Components/ArticleSettings.vb +++ b/Components/ArticleSettings.vb @@ -244,6 +244,16 @@ Namespace Ventrian.NewsArticles End Get End Property + Public ReadOnly Property UseStaticTagsList() As Boolean + Get + 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_SETTING_DEFAULT + End If + End Get + End Property + Public ReadOnly Property IncludeInPageName() As Boolean Get If (Settings.Contains(ArticleConstants.CATEGORY_NAME_SETTING)) Then @@ -355,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 14f3048..a7274f6 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_SETTING As String = "UseStaticTagsList" + Public Const USE_STATIC_TAGS_LIST_SETTING_DEFAULT As Boolean = False + ' Category Security Settings Public Const PERMISSION_CATEGORY_VIEW_SETTING As String = "PermissionCategoryView" 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/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 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/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 diff --git a/ucSubmitNews.ascx b/ucSubmitNews.ascx index 148802b..1312e51 100755 --- a/ucSubmitNews.ascx +++ b/ucSubmitNews.ascx @@ -224,12 +224,31 @@ Display="None" ErrorMessage="Category is Required." Enabled="False" ResourceKey="valCategoriesRequired.ErrorMessage" SetFocusOnError="true" /> + + +
+ + - - -
+ + +
+ + + + + + + + + + + + + + diff --git a/ucSubmitNews.ascx.designer.vb b/ucSubmitNews.ascx.designer.vb index bee8470..f83e413 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,114 @@ 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. + ''' + ''' + '''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 + + ''' + '''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 + + ''' + '''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. + ''' + ''' + '''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 48f9f88..c780a80 100755 --- a/ucSubmitNews.ascx.vb +++ b/ucSubmitNews.ascx.vb @@ -191,7 +191,14 @@ Namespace Ventrian.NewsArticles li.Selected = True End If Next - txtTags.Text = objArticle.Tags + + If ArticleSettings.UseStaticTagsList Then + SelectAllTags(objArticle.Tags) + CreateFinalTags(objArticle.Tags) + Else + txtTags.Text = objArticle.Tags + End If + Dim objPageController As New PageController Dim pages As ArrayList = objPageController.GetPageList(_articleID) @@ -336,6 +343,60 @@ Namespace Ventrian.NewsArticles End Sub + Private Sub BindTags() + + If ArticleSettings.UseStaticTagsList Then + tdTxtTagsTitle.Visible = False + tdTxtTags.Visible = False + FillTagsList() + Else + 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 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) + + 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 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() Dim objCustomFieldController As New CustomFieldController() @@ -372,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 @@ -1145,30 +1206,49 @@ Namespace Ventrian.NewsArticles Dim objLinkedArticle As ArticleInfo = objArticleController.GetArticle(Convert.ToInt32(drpMirrorArticle.SelectedValue)) If (objLinkedArticle IsNot Nothing) Then - txtTags.Text = objLinkedArticle.Tags + If ArticleSettings.UseStaticTagsList Then + SelectAllTags(objLinkedArticle.Tags) + CreateFinalTags(objLinkedArticle.Tags) + Else + txtTags.Text = objLinkedArticle.Tags + End If 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 + If ArticleSettings.UseStaticTagsList Then + Dim order As Integer = 0 + + For Each li As ListItem In lstFinalTags.Items + order = order + 1 + + Dim objTag As TagInfo = objTagController.Get(ModuleId, li.Value) - objTagController.Add(articleID, objTag.TagID) + If objTag IsNot Nothing Then + objTagController.Add(articleID, objTag.TagID, order) 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 End If End Sub @@ -1517,6 +1597,7 @@ Namespace Ventrian.NewsArticles BindStatus() BindCategories() + BindTags() SetVisibility() BindArticle() SetValidationGroup() @@ -1927,6 +2008,95 @@ Namespace Ventrian.NewsArticles End Sub + 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() + 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 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) + + 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 diff --git a/ucViewOptions.ascx b/ucViewOptions.ascx index 63205e8..525abb4 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 + + ''' + '''plUseStaticTagsList control. + ''' + ''' + '''Auto-generated field. + '''To modify move field declaration from designer file to code-behind file. + ''' + Protected WithEvents plUseStaticTagsList 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 1b9b8ea..1598d65 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.UseStaticTagsList 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_SETTING, chkUseStaticTagsList.Checked.ToString()) objModules.UpdateModuleSetting(ModuleId, ArticleConstants.CATEGORY_SORT_SETTING, lstCategorySortOrder.SelectedValue)