-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/GusBeare/DNNContactForm
- Loading branch information
Showing
9 changed files
with
278 additions
and
675 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
<dotnetnuke type="Package" version="5.0"> | ||
<packages> | ||
<package name="DNNContactFormModule" type="Module" version="01.00.08"> | ||
<friendlyName>DNNContactFormModule</friendlyName> | ||
<description>CarawayDesign.com DNNContactFormModule module</description> | ||
<iconFile>images/wilf.jpg</iconFile> | ||
<owner> | ||
<name>CarawayDesign.com</name> | ||
<organization>CarawayDesign.com</organization> | ||
<url>http://www.carawaydesign.com/</url> | ||
<email>gus@carawaydesign.com</email> | ||
</owner> | ||
<license src="License.txt"></license> | ||
<releaseNotes src="ReleaseNotes.txt"></releaseNotes> | ||
<azureCompatible>true</azureCompatible> | ||
<dependencies> | ||
<dependency type="CoreVersion">07.00.02</dependency> | ||
</dependencies> | ||
|
||
<components> | ||
<component type="Script"> | ||
<scripts> | ||
<basePath>DesktopModules\DNNContactFormModule</basePath> | ||
<script type="Install"> | ||
<path>Providers\DataProviders\SqlDataProvider</path> | ||
<name>01.00.08.SqlDataProvider</name> | ||
<version>01.00.08</version> | ||
</script> | ||
<script type="UnInstall"> | ||
<path>Providers\DataProviders\SqlDataProvider</path> | ||
<name>Uninstall.SqlDataProvider</name> | ||
<version>00.00.01</version> | ||
</script> | ||
</scripts> | ||
</component> | ||
|
||
<component type="ResourceFile"> | ||
<resourceFiles> | ||
<basePath>DesktopModules/DNNContactFormModule</basePath> | ||
<resourceFile> | ||
<name>Resources.zip</name> | ||
</resourceFile> | ||
</resourceFiles> | ||
</component> | ||
|
||
<component type="Module"> | ||
<desktopModule> | ||
<moduleName>DNNContactFormModule</moduleName> | ||
<foldername>DNNContactFormModule</foldername> | ||
<businessControllerClass>gus.Modules.DNNContactFormModule.Components.FeatureController, DNNContactFormModule</businessControllerClass> | ||
<supportedFeatures> | ||
<supportedFeature>IPortable</supportedFeature> | ||
<supportedFeature>ISearchable</supportedFeature> | ||
<supportedFeature>IUpgradeable</supportedFeature> | ||
</supportedFeatures> | ||
<moduleDefinitions> | ||
<moduleDefinition> | ||
<friendlyName>DNNContactFormModule</friendlyName> | ||
<defaultCacheTime>0</defaultCacheTime> | ||
<moduleControls> | ||
<moduleControl> | ||
<controlKey /> | ||
<controlSrc>DesktopModules/DNNContactFormModule/View.ascx</controlSrc> | ||
<supportsPartialRendering>False</supportsPartialRendering> | ||
<controlTitle /> | ||
<controlType>View</controlType> | ||
<iconFile /> | ||
<helpUrl /> | ||
<viewOrder>0</viewOrder> | ||
</moduleControl> | ||
<moduleControl> | ||
<controlKey>Edit</controlKey> | ||
<controlSrc>DesktopModules/DNNContactFormModule/Edit.ascx</controlSrc> | ||
<supportsPartialRendering>False</supportsPartialRendering> | ||
<controlTitle>Edit Content</controlTitle> | ||
<controlType>Edit</controlType> | ||
<iconFile /> | ||
<helpUrl /> | ||
<viewOrder>0</viewOrder> | ||
<supportsPopUps>True</supportsPopUps> | ||
</moduleControl> | ||
<moduleControl> | ||
<controlKey>Settings</controlKey> | ||
<controlSrc>DesktopModules/DNNContactFormModule/Settings.ascx</controlSrc> | ||
<supportsPartialRendering>False</supportsPartialRendering> | ||
<controlTitle>DNNContactFormModule Settings</controlTitle> | ||
<controlType>Edit</controlType> | ||
<iconFile /> | ||
<helpUrl /> | ||
<viewOrder>0</viewOrder> | ||
</moduleControl> | ||
</moduleControls> | ||
</moduleDefinition> | ||
</moduleDefinitions> | ||
</desktopModule> | ||
<eventMessage> | ||
<processorType>DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke</processorType> | ||
<processorCommand>UpgradeModule</processorCommand> | ||
<attributes> | ||
<businessControllerClass>gus.Modules.DNNContactFormModule.Components.FeatureController, DNNContactFormModule</businessControllerClass> | ||
<desktopModuleID>[DESKTOPMODULEID]</desktopModuleID> | ||
<upgradeVersionsList>00.00.01</upgradeVersionsList> | ||
</attributes> | ||
</eventMessage> | ||
</component> | ||
<component type="Assembly"> | ||
<assemblies> | ||
<assembly> | ||
<name>DNNContactFormModule.dll</name> | ||
<path>bin</path> | ||
</assembly> | ||
<assembly> | ||
<name>Simple.Data.dll</name> | ||
<path>bin</path> | ||
</assembly> | ||
<assembly> | ||
<name>Simple.Data.Ado.dll</name> | ||
<path>bin</path> | ||
</assembly> | ||
<assembly> | ||
<name>Simple.Data.SqlServer.dll</name> | ||
<path>bin</path> | ||
</assembly> | ||
</assemblies> | ||
</component> | ||
</components> | ||
</package> | ||
</packages> | ||
</dotnetnuke> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<div class="License"> | ||
<h3>License</h3> | ||
<p class="Owner"> | ||
CarawayDesign.com <a href=http://www.carawaydesign.com/>http://www.carawaydesign.com/</a></br> | ||
Copyright (c) 2016</br> | ||
by CarawayDesign.com</br> | ||
</p> | ||
<p> | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated | ||
documentation files (the "Software"), to deal in the Software without restriction, including without limitation | ||
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and | ||
to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
</p> | ||
<p> | ||
The above copyright notice and this permission notice shall be included in all copies or substantial portions | ||
of the Software. | ||
</p> | ||
<p> | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
</p> | ||
</div> |
30 changes: 30 additions & 0 deletions
30
Package/Package/Providers/DataProviders/SqlDataProvider/01.00.08.SqlDataProvider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/************************************************************/ | ||
/***** SqlDataProvider *****/ | ||
/***** *****/ | ||
/***** *****/ | ||
/***** Note: To manually execute this script you must *****/ | ||
/***** perform a search and replace operation *****/ | ||
/***** for {databaseOwner} and {objectQualifier} *****/ | ||
/***** *****/ | ||
/************************************************************/ | ||
|
||
SET ANSI_NULLS ON | ||
GO | ||
|
||
SET QUOTED_IDENTIFIER ON | ||
GO | ||
|
||
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'{databaseOwner}{objectQualifier}ContactUsFormLog') AND type IN (N'U')) | ||
BEGIN | ||
CREATE TABLE {databaseOwner}{objectQualifier}ContactUsFormLog( | ||
[ID] [INT] IDENTITY NOT NULL, | ||
[Name] [NVARCHAR](100) NOT NULL, | ||
[Email] [NVARCHAR](255) NOT NULL, | ||
[Phone] [VARCHAR](100) NOT NULL, | ||
[Comment] [NVARCHAR](255) NOT NULL, | ||
[IPAddress] NVARCHAR(50), | ||
[UserAgent] NVARCHAR(200), | ||
[CreatedDate] [DATETIME2] NOT NULL | ||
) | ||
END | ||
GO |
15 changes: 15 additions & 0 deletions
15
Package/Package/Providers/DataProviders/SqlDataProvider/Uninstall.SqlDataProvider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/************************************************************/ | ||
/***** SqlDataProvider *****/ | ||
/***** *****/ | ||
/***** *****/ | ||
/***** Note: To manually execute this script you must *****/ | ||
/***** perform a search and replace operation *****/ | ||
/***** for {databaseOwner} and {objectQualifier} *****/ | ||
/***** *****/ | ||
/************************************************************/ | ||
|
||
|
||
|
||
/************************************************************/ | ||
/***** SqlDataProvider *****/ | ||
/************************************************************/ |
30 changes: 30 additions & 0 deletions
30
Package/Providers/DataProviders/SqlDataProvider/01.00.08.SqlDataProvider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/************************************************************/ | ||
/***** SqlDataProvider *****/ | ||
/***** *****/ | ||
/***** *****/ | ||
/***** Note: To manually execute this script you must *****/ | ||
/***** perform a search and replace operation *****/ | ||
/***** for {databaseOwner} and {objectQualifier} *****/ | ||
/***** *****/ | ||
/************************************************************/ | ||
|
||
SET ANSI_NULLS ON | ||
GO | ||
|
||
SET QUOTED_IDENTIFIER ON | ||
GO | ||
|
||
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'{databaseOwner}{objectQualifier}ContactUsFormLog') AND type IN (N'U')) | ||
BEGIN | ||
CREATE TABLE {databaseOwner}{objectQualifier}ContactUsFormLog( | ||
[ID] [INT] IDENTITY NOT NULL, | ||
[Name] [NVARCHAR](100) NOT NULL, | ||
[Email] [NVARCHAR](255) NOT NULL, | ||
[Phone] [VARCHAR](100) NOT NULL, | ||
[Comment] [NVARCHAR](255) NOT NULL, | ||
[IPAddress] NVARCHAR(50), | ||
[UserAgent] NVARCHAR(200), | ||
[CreatedDate] [DATETIME2] NOT NULL | ||
) | ||
END | ||
GO |
15 changes: 15 additions & 0 deletions
15
Package/Providers/DataProviders/SqlDataProvider/Uninstall.SqlDataProvider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/************************************************************/ | ||
/***** SqlDataProvider *****/ | ||
/***** *****/ | ||
/***** *****/ | ||
/***** Note: To manually execute this script you must *****/ | ||
/***** perform a search and replace operation *****/ | ||
/***** for {databaseOwner} and {objectQualifier} *****/ | ||
/***** *****/ | ||
/************************************************************/ | ||
|
||
|
||
|
||
/************************************************************/ | ||
/***** SqlDataProvider *****/ | ||
/************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<h3>DNNContactFormModule</h3> | ||
<p class="Contributor"> | ||
CarawayDesign.com <br /> | ||
<a href="mailto:gus@carawaydesign.com">gus@carawaydesign.com</a><br /> | ||
<a href=http://www.carawaydesign.com/>http://www.carawaydesign.com/</a><br /> | ||
</p> | ||
<hr/> | ||
<div class="License"> | ||
<h3>About the DNNContactFormModule</h3> | ||
<p class="Owner"> | ||
<b>Version CHANGEME</b><br /><br /> | ||
</p> | ||
|
||
<p>Description about version.</p> | ||
|
||
</div> |