Skip to content

Commit

Permalink
V 01.00.00 Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
bitboxx committed Aug 13, 2014
1 parent 4f09333 commit 35d5c94
Show file tree
Hide file tree
Showing 21 changed files with 190 additions and 66 deletions.
12 changes: 12 additions & 0 deletions App_LocalResources/Settings.ascx.de-DE.resx
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,16 @@
<data name="lblSubject.Text" xml:space="preserve">
<value>Betreff</value>
</data>
<data name="lblFields.Help" xml:space="preserve">
<value>Ankreuzen, welche Felder sichtbar und welche ausgefüllt werden müssen</value>
</data>
<data name="lblFields.Text" xml:space="preserve">
<value>Zeige Felder</value>
</data>
<data name="lblMandatory.Text" xml:space="preserve">
<value>nötig</value>
</data>
<data name="lblVisible.Text" xml:space="preserve">
<value>sichtbar</value>
</data>
</root>
12 changes: 12 additions & 0 deletions App_LocalResources/Settings.ascx.en-GB.resx
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,16 @@
<data name="lblSubject.Text" xml:space="preserve">
<value>Subject</value>
</data>
<data name="lblFields.Help" xml:space="preserve">
<value>Check which fields should be shown and which are mandatory to fill in.</value>
</data>
<data name="lblFields.Text" xml:space="preserve">
<value>Show fields</value>
</data>
<data name="lblMandatory.Text" xml:space="preserve">
<value>mandatory</value>
</data>
<data name="lblVisible.Text" xml:space="preserve">
<value>visible</value>
</data>
</root>
12 changes: 12 additions & 0 deletions App_LocalResources/Settings.ascx.es-ES.resx
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,16 @@
<data name="lblSubject.Text" xml:space="preserve">
<value>Asunto</value>
</data>
<data name="lblFields.Help" xml:space="preserve">
<value>Revise los campos que deben mostrarse y que son obligatorios de rellenar.</value>
</data>
<data name="lblFields.Text" xml:space="preserve">
<value>Mostrar campos</value>
</data>
<data name="lblMandatory.Text" xml:space="preserve">
<value>obligatorio</value>
</data>
<data name="lblVisible.Text" xml:space="preserve">
<value>visible</value>
</data>
</root>
12 changes: 12 additions & 0 deletions App_LocalResources/Settings.ascx.fr-FR.resx
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,16 @@
<data name="lblSubject.Text" xml:space="preserve">
<value>Objet</value>
</data>
<data name="lblFields.Help" xml:space="preserve">
<value>Vérifiez les champs qui doivent être affichés et qui sont obligatoires à remplir.</value>
</data>
<data name="lblFields.Text" xml:space="preserve">
<value>Afficher les champs</value>
</data>
<data name="lblMandatory.Text" xml:space="preserve">
<value>obligatoire</value>
</data>
<data name="lblVisible.Text" xml:space="preserve">
<value>visible</value>
</data>
</root>
12 changes: 12 additions & 0 deletions App_LocalResources/Settings.ascx.it-IT.resx
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,16 @@
<data name="lblSubject.Text" xml:space="preserve">
<value>Oggetto</value>
</data>
<data name="lblFields.Help" xml:space="preserve">
<value>Controllare quali campi devono essere visualizzati e che sono obbligatori da compilare.</value>
</data>
<data name="lblFields.Text" xml:space="preserve">
<value>Visualizza campi</value>
</data>
<data name="lblMandatory.Text" xml:space="preserve">
<value>obbligatorio</value>
</data>
<data name="lblVisible.Text" xml:space="preserve">
<value>visibile</value>
</data>
</root>
12 changes: 12 additions & 0 deletions App_LocalResources/Settings.ascx.nl-NL.resx
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,16 @@
<data name="lblSubject.Text" xml:space="preserve">
<value>Onderwerp</value>
</data>
<data name="lblFields.Help" xml:space="preserve">
<value>Controleer welke velden moeten worden weergegeven en die zijn verplicht in te vullen.</value>
</data>
<data name="lblFields.Text" xml:space="preserve">
<value>Velden weergeven</value>
</data>
<data name="lblMandatory.Text" xml:space="preserve">
<value>verplichte</value>
</data>
<data name="lblVisible.Text" xml:space="preserve">
<value>#### zichtbaar</value>
</data>
</root>
12 changes: 12 additions & 0 deletions App_LocalResources/Settings.ascx.resx
Original file line number Diff line number Diff line change
Expand Up @@ -179,5 +179,17 @@
</data>
<data name="lblSubject.Text" xml:space="preserve">
<value>Subject</value>
</data>
<data name="lblFields.Help" xml:space="preserve">
<value>Check which fields should be shown and which are mandatory to fill in.</value>
</data>
<data name="lblFields.Text" xml:space="preserve">
<value>Show fields</value>
</data>
<data name="lblMandatory.Text" xml:space="preserve">
<value>mandatory</value>
</data>
<data name="lblVisible.Text" xml:space="preserve">
<value>visible</value>
</data>
</root>
4 changes: 4 additions & 0 deletions BBContact.zreproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
<globalSetting name="CreateNewFileForm.copyTextsCheckBox.Checked">True</globalSetting>
<globalSetting name="CreateNewFileForm.automaticallyTranslateCheckBox.Checked">True</globalSetting>
<globalSetting name="projectMruItems">&lt;?xml version='1.0' encoding='utf-8'?&gt;&lt;items&gt;&lt;item type="2" checksum="9696420722" /&gt;&lt;item type="2" checksum="3756220213" /&gt;&lt;/items&gt;</globalSetting>
<globalSetting name="autoTranslateForm.prefixTextBox.Text">####</globalSetting>
<globalSetting name="autoTranslateForm.prefixCheckBox.Checked">True</globalSetting>
<globalSetting name="autoTranslateForm.referenceLanguageComboBoxEdit.SelectedIndex">0</globalSetting>
<globalSetting name="autoTranslateForm.languagesToTranslateCheckListBox">1;2;3;4;5</globalSetting>
<userSetting name="Torsten@TW-WIN8-DEVWEB.filesInitialDir">C:\Sourcen_tfs\Bitboxx\BBContact\DNN\DesktopModules\BBContact\App_LocalResources</userSetting>
<userSetting name="Torsten@TW-WIN8-DEVWEB.FindText">
</userSetting>
Expand Down
Binary file modified Installation/BBContact_01.00.00_Install.zip
Binary file not shown.
Binary file modified Installation/BBContact_01.00.00_Source.zip
Binary file not shown.
9 changes: 5 additions & 4 deletions Installation/License.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<h1>License</h1>
<p>
Enter License details here.
</p>
<h2>The MIT License (MIT)</h2>
<p>Copyright (c) 2014 Torsten Weggen bitboxx solutions</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 NONINFRINGEMENT. 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>
9 changes: 5 additions & 4 deletions Installation/ReleaseNotes/Release.01.00.00.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<h1>Releasenotes</h1>
<p>
Add release notes here.
</p>
<h2>Releasenotes</h2>
<p><i>Version 01.00.00 (13.08.2014)</i></p>
<ul>
<li>Initial release</li>
</ul>

Binary file modified Installation/Resource.BBContact_01.00.00_Lang_de-DE.zip
Binary file not shown.
Binary file modified Installation/Resource.BBContact_01.00.00_Lang_en-GB.zip
Binary file not shown.
Binary file modified Installation/Resource.BBContact_01.00.00_Lang_es-ES.zip
Binary file not shown.
Binary file modified Installation/Resource.BBContact_01.00.00_Lang_fr-FR.zip
Binary file not shown.
Binary file modified Installation/Resource.BBContact_01.00.00_Lang_it-IT.zip
Binary file not shown.
Binary file modified Installation/Resource.BBContact_01.00.00_Lang_nl-NL.zip
Binary file not shown.
93 changes: 50 additions & 43 deletions Settings.ascx
Original file line number Diff line number Diff line change
Expand Up @@ -23,50 +23,57 @@
<asp:TextBox runat="server" ID="txtSubject"/>
</div>
<div class="dnnFormItem">
<dnn:Label ID="lblBodyText" runat="server" ControlName="txtBodyText" Suffix=":"/>
<asp:TextBox runat="server" ID="txtBodyText" Rows="10" TextMode="MultiLine"/>
</div>
</fieldset>
<fieldset>
<div class="dnnFormItem">
<dnn:Label ID="lblFirstname" runat="server" ControlName="chkFirstnameMandatory" Suffix=":"/>
<asp:CheckBox runat="server" ID="chkFirstnameVisible"/>
<asp:CheckBox runat="server" ID="chkFirstnameMandatory"/>
</div>
<div class="dnnFormItem">
<dnn:Label ID="lblLastname" runat="server" ControlName="chkLastnameMandatory" Suffix=":"/>
<asp:CheckBox runat="server" ID="chkLastnameVisible"/>
<asp:CheckBox runat="server" ID="chkLastnameMandatory"/>
</div>
<div class="dnnFormItem">
<dnn:Label ID="lblOrganization" runat="server" ControlName="chkOrganizationMandatory" Suffix=":"/>
<asp:CheckBox runat="server" ID="chkOrganizationVisible"/>
<asp:CheckBox runat="server" ID="chkOrganizationMandatory"/>
<dnn:Label ID="lblBodytext" runat="server" ControlName="txtBodytext" Suffix=":"/>
<asp:TextBox runat="server" ID="txtBodytext" Rows="10" TextMode="MultiLine" Font-Names='courier, "courier new", monospace' />
</div>
<div class="dnnFormItem">
<dnn:Label ID="lblAddress" runat="server" ControlName="chkAddressMandatory" Suffix=":"/>
<asp:CheckBox runat="server" ID="chkAddressVisible"/>
<asp:CheckBox runat="server" ID="chkAddressMandatory" />
</div>
<div class="dnnFormItem">
<dnn:Label ID="lblPhone" runat="server" ControlName="chkPhoneMandatory" Suffix=":"/>
<asp:CheckBox runat="server" ID="chkPhoneVisible"/>
<asp:CheckBox runat="server" ID="chkPhoneMandatory"/>
</div>
<div class="dnnFormItem">
<dnn:Label ID="lblFax" runat="server" ControlName="chkFaxMandatory" Suffix=":"/>
<asp:CheckBox runat="server" ID="chkFaxVisible"/>
<asp:CheckBox runat="server" ID="chkFaxMandatory"/>
</div>
<div class="dnnFormItem">
<dnn:Label ID="lblEmail" runat="server" ControlName="chkEmailMandatory" Suffix=":"/>
<asp:CheckBox runat="server" ID="chkEmailVisible"/>
<asp:CheckBox runat="server" ID="chkEmailMandatory"/>
</div>
<div class="dnnFormItem">
<dnn:Label ID="lblRemark" runat="server" ControlName="chkRemarkMandatory" Suffix=":"/>
<asp:CheckBox runat="server" ID="chkRemarkVisible"/>
<asp:CheckBox runat="server" ID="chkRemarkMandatory" />
</div>
<dnn:Label ID="lblFields" runat="server" ControlName="chkFirstnameVisible" Suffix=":"/>
<table>
<tr>
<th>&nbsp;</th>
<th><asp:Label runat="server" ID="lblVisible" Text="visible"/></th>
<th><asp:Label runat="server" ID="lblMandatory" Text="mandatory"/></th>
</tr>
<tr>
<td><asp:Label ID="lblFirstname" runat="server" ResourceKey="lblFirstname.Text"/></td>
<td><asp:CheckBox runat="server" ID="chkFirstnameVisible"/></td>
<td><asp:CheckBox runat="server" ID="chkFirstnameMandatory"/></td>
</tr>
<tr>
<td><asp:Label ID="lblLastname" runat="server" ResourceKey="lblLastname.Text"/></td>
<td><asp:CheckBox runat="server" ID="chkLastnameVisible"/></td>
<td><asp:CheckBox runat="server" ID="chkLastnameMandatory"/></td>
</tr>
<tr>
<td><asp:Label ID="lblOrganization" runat="server" ResourceKey="lblOrganization.Text"/></td>
<td><asp:CheckBox runat="server" ID="chkOrganizationVisible"/></td>
<td><asp:CheckBox runat="server" ID="chkOrganizationMandatory"/></td>
</tr>
<tr>
<td><asp:Label ID="lblAddress" runat="server" ResourceKey="lblAddress.Text"/></td>
<td><asp:CheckBox runat="server" ID="chkAddressVisible"/></td>
<td><asp:CheckBox runat="server" ID="chkAddressMandatory"/></td>
</tr>
<tr>
<td><asp:Label ID="lblPhone" runat="server" ResourceKey="lblPhone.Text"/></td>
<td><asp:CheckBox runat="server" ID="chkPhoneVisible"/></td>
<td><asp:CheckBox runat="server" ID="chkPhoneMandatory"/></td>
</tr>
<tr>
<td><asp:Label ID="lblFax" runat="server" ResourceKey="lblFax.Text"/></td>
<td><asp:CheckBox runat="server" ID="chkFaxVisible"/></td>
<td><asp:CheckBox runat="server" ID="chkFaxMandatory"/></td>
</tr>
<tr>
<td><asp:Label ID="lblEmail" runat="server" ResourceKey="lblEmail.Text"/></td>
<td><asp:CheckBox runat="server" ID="chkEmailVisible"/></td>
<td><asp:CheckBox runat="server" ID="chkEmailMandatory"/></td>
</tr>
<tr>
<td><asp:Label ID="lblRemark" runat="server" ResourceKey="lblRemark.Text"/></td>
<td><asp:CheckBox runat="server" ID="chkRemarkVisible"/></td>
<td><asp:CheckBox runat="server" ID="chkRemarkMandatory"/></td>
</tr>
</table>
</fieldset>
</div>
6 changes: 3 additions & 3 deletions Settings.ascx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ public override void LoadSettings()
chkFirstnameVisible.Checked = Convert.ToBoolean(Settings["SendToUser"]);

if (Settings["Bodytext"] != null)
txtBodyText.Text = (string) Settings["Bodytext"];
txtBodytext.Text = (string) Settings["Bodytext"];
else
txtBodyText.Text = "Contact form submission :\r\n\r\n" +
txtBodytext.Text = "Contact form submission :\r\n\r\n" +
"Firstname :[FIRSTNAME]\r\n" +
"Lastname : [LASTNAME]\r\n" +
"Organization : [ORGANIZATION]\r\n" +
Expand Down Expand Up @@ -120,7 +120,7 @@ public override void UpdateSettings()
modules.UpdateModuleSetting(this.ModuleId, "RecipientEmail", txtRecipientEmail.Text.Trim());
modules.UpdateModuleSetting(this.ModuleId, "Subject", txtSubject.Text.Trim());
modules.UpdateModuleSetting(this.ModuleId, "SendToUser", chkSendToUser.Checked.ToString());
modules.UpdateModuleSetting(this.ModuleId, "Bodytext", txtBodyText.Text.Trim());
modules.UpdateModuleSetting(this.ModuleId, "Bodytext", txtBodytext.Text.Trim());

modules.UpdateModuleSetting(this.ModuleId, "VisibleFirstname", chkFirstnameVisible.Checked.ToString());
modules.UpdateModuleSetting(this.ModuleId, "VisibleLastname", chkLastnameVisible.Checked.ToString());
Expand Down
Loading

0 comments on commit 35d5c94

Please sign in to comment.