From 1d9580a378f561aa39605ee6902ffec7a1e91216 Mon Sep 17 00:00:00 2001 From: Andrew Hoefling Date: Mon, 9 Jul 2018 15:07:15 -0400 Subject: [PATCH] Added new CSS Styles Wiki Configuration option; Added Table Styles option which allows us to specify custom css classes to be injected for each table element that is created. --- BusinessObjects/Models/Setting.cs | 6 +++++ DotNetNuke.Wiki.csproj | 1 + .../SqlDataProvider/05.00.07.SqlDataProvider | Bin 0 -> 198 bytes Resources/Wiki.dnn | 7 ++++- Utilities/WikiModuleBase.cs | 25 ++++++++++++++++-- Views/Administration.ascx | 11 ++++++++ Views/Administration.ascx.cs | 2 ++ Views/Administration.ascx.designer.cs | 18 +++++++++++++ .../Administration.ascx.resx | 9 +++++++ 9 files changed, 76 insertions(+), 3 deletions(-) create mode 100644 Resources/SqlDataProvider/05.00.07.SqlDataProvider diff --git a/BusinessObjects/Models/Setting.cs b/BusinessObjects/Models/Setting.cs index b3b2736..7a4d7dc 100644 --- a/BusinessObjects/Models/Setting.cs +++ b/BusinessObjects/Models/Setting.cs @@ -128,6 +128,12 @@ public string CommentNotifyRoles /// The comment notify users. public bool? CommentNotifyUsers { get; set; } + /// + /// Gets or sets the Table Styles. + /// + /// The custom css classes to apply to any Table that is generated by the module. + public string TableStyles { get; set; } + #endregion "Properties" } } \ No newline at end of file diff --git a/DotNetNuke.Wiki.csproj b/DotNetNuke.Wiki.csproj index c2cfea0..fa457c4 100644 --- a/DotNetNuke.Wiki.csproj +++ b/DotNetNuke.Wiki.csproj @@ -315,6 +315,7 @@ + web.config diff --git a/Resources/SqlDataProvider/05.00.07.SqlDataProvider b/Resources/SqlDataProvider/05.00.07.SqlDataProvider new file mode 100644 index 0000000000000000000000000000000000000000..cb540d9a9db0319d4f0e1378665179471f594c80 GIT binary patch literal 198 zcmXAj%MQT+5Jk_H#6NV&&c+8+G&T*P#8SMKrjjZm;@5FnncU3d-nld1Pe{y+h$(?N zq;DTtzu2;(6l-y1$CwAXx!^5(aelJfsF`q6laaC)f5pP;ES4lrN+Wgqpi|(LfzhH# l!<*HGOiiNZSyz=N=Ppy|f2?zx9$lj&H)8IWaqTeluOAQvBZB|{ literal 0 HcmV?d00001 diff --git a/Resources/Wiki.dnn b/Resources/Wiki.dnn index e0b7622..c2203f5 100644 --- a/Resources/Wiki.dnn +++ b/Resources/Wiki.dnn @@ -1,6 +1,6 @@ - + Wiki The DotNetNuke Wiki module, more information available at www.dnnsoftware.com @@ -68,6 +68,11 @@ 04.05.03.SqlDataProvider 04.05.03 +