diff --git a/Plugins/AutomessageFeed/AutomessageFeed.csproj b/Plugins/AutomessageFeed/AutomessageFeed.csproj index 9740f7606..96672addf 100644 --- a/Plugins/AutomessageFeed/AutomessageFeed.csproj +++ b/Plugins/AutomessageFeed/AutomessageFeed.csproj @@ -10,7 +10,7 @@ - + diff --git a/Plugins/LiveRadar/LiveRadar.csproj b/Plugins/LiveRadar/LiveRadar.csproj index 8258bce69..60523a5e8 100644 --- a/Plugins/LiveRadar/LiveRadar.csproj +++ b/Plugins/LiveRadar/LiveRadar.csproj @@ -16,7 +16,7 @@ - + diff --git a/Plugins/LiveRadar/Views/_ViewImports.cshtml b/Plugins/LiveRadar/Views/_ViewImports.cshtml index bd99e0be3..1ba5217d2 100644 --- a/Plugins/LiveRadar/Views/_ViewImports.cshtml +++ b/Plugins/LiveRadar/Views/_ViewImports.cshtml @@ -1,2 +1,3 @@ +@using SharedLibraryCore @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -@addTagHelper *, WebfrontCore \ No newline at end of file +@addTagHelper *, SharedLibraryCore \ No newline at end of file diff --git a/Plugins/Login/Login.csproj b/Plugins/Login/Login.csproj index 006f229c2..df0089ade 100644 --- a/Plugins/Login/Login.csproj +++ b/Plugins/Login/Login.csproj @@ -23,7 +23,7 @@ - + diff --git a/Plugins/ProfanityDeterment/ProfanityDeterment.csproj b/Plugins/ProfanityDeterment/ProfanityDeterment.csproj index 9d34ad10d..aad2d3969 100644 --- a/Plugins/ProfanityDeterment/ProfanityDeterment.csproj +++ b/Plugins/ProfanityDeterment/ProfanityDeterment.csproj @@ -16,7 +16,7 @@ - + diff --git a/Plugins/Stats/Stats.csproj b/Plugins/Stats/Stats.csproj index 82b01b39b..1e9a20520 100644 --- a/Plugins/Stats/Stats.csproj +++ b/Plugins/Stats/Stats.csproj @@ -16,7 +16,7 @@ - + diff --git a/Plugins/Web/StatsWeb/StatsWeb.csproj b/Plugins/Web/StatsWeb/StatsWeb.csproj index 38adc979f..7bc35ca4a 100644 --- a/Plugins/Web/StatsWeb/StatsWeb.csproj +++ b/Plugins/Web/StatsWeb/StatsWeb.csproj @@ -14,7 +14,7 @@ Always - + diff --git a/Plugins/Web/StatsWeb/Views/_ViewImports.cshtml b/Plugins/Web/StatsWeb/Views/_ViewImports.cshtml index c4696501a..1ba5217d2 100644 --- a/Plugins/Web/StatsWeb/Views/_ViewImports.cshtml +++ b/Plugins/Web/StatsWeb/Views/_ViewImports.cshtml @@ -1,2 +1,3 @@ +@using SharedLibraryCore @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -@addTagHelper *, WebfrontCore +@addTagHelper *, SharedLibraryCore \ No newline at end of file diff --git a/Plugins/Welcome/Welcome.csproj b/Plugins/Welcome/Welcome.csproj index 7c0aa9a0c..1401994e4 100644 --- a/Plugins/Welcome/Welcome.csproj +++ b/Plugins/Welcome/Welcome.csproj @@ -16,7 +16,7 @@ - + diff --git a/SharedLibraryCore/SharedLibraryCore.csproj b/SharedLibraryCore/SharedLibraryCore.csproj index a47a55116..ebec2a8b2 100644 --- a/SharedLibraryCore/SharedLibraryCore.csproj +++ b/SharedLibraryCore/SharedLibraryCore.csproj @@ -6,7 +6,7 @@ RaidMax.IW4MAdmin.SharedLibraryCore - 2.2.3 + 2.2.4 RaidMax Forever None Debug;Release;Prerelease @@ -20,6 +20,8 @@ true MIT Shared Library for IW4MAdmin + 2.2.4.0 + 2.2.4.0 diff --git a/WebfrontCore/TagHelpers/ColorCode.cs b/SharedLibraryCore/TagHelpers/ColorCode.cs similarity index 94% rename from WebfrontCore/TagHelpers/ColorCode.cs rename to SharedLibraryCore/TagHelpers/ColorCode.cs index b947e71a4..cce5dfc3e 100644 --- a/WebfrontCore/TagHelpers/ColorCode.cs +++ b/SharedLibraryCore/TagHelpers/ColorCode.cs @@ -1,15 +1,14 @@ using Microsoft.AspNetCore.Razor.TagHelpers; -using SharedLibraryCore; using System.Linq; -using System.Web; using System.Text.RegularExpressions; -namespace WebfrontCore.TagHelpers +namespace SharedLibraryCore { [HtmlTargetElement("color-code")] public class ColorCode : TagHelper { public string Value { get; set; } + public bool Allow { get; set; } = false; public override void Process(TagHelperContext context, TagHelperOutput output) diff --git a/WebfrontCore/Views/_ViewImports.cshtml b/WebfrontCore/Views/_ViewImports.cshtml index 1d3cc13bc..29240f8b2 100644 --- a/WebfrontCore/Views/_ViewImports.cshtml +++ b/WebfrontCore/Views/_ViewImports.cshtml @@ -1,3 +1,4 @@ +@using SharedLibraryCore @using WebfrontCore @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers -@addTagHelper *, WebfrontCore \ No newline at end of file +@addTagHelper *, SharedLibraryCore \ No newline at end of file