From efafa817f3d38e2328547c28d71e408c6fff67ea Mon Sep 17 00:00:00 2001 From: actuallyakash Date: Mon, 5 Jul 2021 13:24:16 +0530 Subject: [PATCH 1/3] Fixed extra comma issue in upload field accept attr https://www.joomdev.com/forum/jd-simple-contact-form/6562-type-of-files-accepted-as-an-attachment#30258 --- layouts/fields/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/fields/file.php b/layouts/fields/file.php index 145e2ee..c18c355 100644 --- a/layouts/fields/file.php +++ b/layouts/fields/file.php @@ -34,7 +34,7 @@ $document->addStyleDeclaration($style); ?>
- " type="file" name="jdscf[name; ?>]" class="custom-file-input" > + >
From d71c7c2bc59befc2d441513017d4ebbfdf1f9011 Mon Sep 17 00:00:00 2001 From: actuallyakash Date: Mon, 5 Jul 2021 13:52:39 +0530 Subject: [PATCH 2/3] Fixed w3c validator 's extra space issue --- helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.php b/helper.php index 955e58a..d5e353c 100644 --- a/helper.php +++ b/helper.php @@ -35,7 +35,7 @@ public static function getOptions($options) { $array = []; foreach ($options as $option) { if (!empty($option)) { - $array[] = ['text' => $option, 'value' => $option]; + $array[] = ['text' => $option, 'value' => trim( $option )]; } } return $array; From 80af125ff4d1034bed57723772db88bf7553f804 Mon Sep 17 00:00:00 2001 From: Chandan Deep Date: Mon, 5 Jul 2021 15:07:31 +0530 Subject: [PATCH 3/3] 1.8 Released --- fields/help.php | 2 +- helper.php | 2 +- layouts/emails/default.php | 2 +- layouts/field.php | 2 +- layouts/fields/calendar.php | 2 +- layouts/fields/checkbox.php | 2 +- layouts/fields/checkboxes.php | 2 +- layouts/fields/file.php | 2 +- layouts/fields/hidden.php | 2 +- layouts/fields/list.php | 2 +- layouts/fields/radio.php | 2 +- layouts/fields/singlecc.php | 2 +- layouts/fields/submit.php | 2 +- layouts/fields/text.php | 2 +- layouts/fields/textarea.php | 2 +- layouts/label.php | 2 +- mod_jdsimplecontactform.php | 2 +- mod_jdsimplecontactform.xml | 6 +++--- tmpl/default.php | 2 +- 19 files changed, 21 insertions(+), 21 deletions(-) diff --git a/fields/help.php b/fields/help.php index 1b74377..63e467b 100644 --- a/fields/help.php +++ b/fields/help.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/helper.php b/helper.php index d5e353c..4f494e4 100644 --- a/helper.php +++ b/helper.php @@ -3,7 +3,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/emails/default.php b/layouts/emails/default.php index 383465f..9361ef7 100644 --- a/layouts/emails/default.php +++ b/layouts/emails/default.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/field.php b/layouts/field.php index 91f3543..7cc7e24 100644 --- a/layouts/field.php +++ b/layouts/field.php @@ -3,7 +3,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/fields/calendar.php b/layouts/fields/calendar.php index fab4386..1845c3b 100644 --- a/layouts/fields/calendar.php +++ b/layouts/fields/calendar.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/fields/checkbox.php b/layouts/fields/checkbox.php index e12b73d..660d869 100644 --- a/layouts/fields/checkbox.php +++ b/layouts/fields/checkbox.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/fields/checkboxes.php b/layouts/fields/checkboxes.php index 7bc2d11..d2617b4 100644 --- a/layouts/fields/checkboxes.php +++ b/layouts/fields/checkboxes.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/fields/file.php b/layouts/fields/file.php index c18c355..b5eddbd 100644 --- a/layouts/fields/file.php +++ b/layouts/fields/file.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/fields/hidden.php b/layouts/fields/hidden.php index 9d981f9..a836834 100644 --- a/layouts/fields/hidden.php +++ b/layouts/fields/hidden.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/fields/list.php b/layouts/fields/list.php index 5fdc781..1e97500 100644 --- a/layouts/fields/list.php +++ b/layouts/fields/list.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/fields/radio.php b/layouts/fields/radio.php index 66be56a..044d161 100644 --- a/layouts/fields/radio.php +++ b/layouts/fields/radio.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/fields/singlecc.php b/layouts/fields/singlecc.php index b32daca..8e65e56 100644 --- a/layouts/fields/singlecc.php +++ b/layouts/fields/singlecc.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/fields/submit.php b/layouts/fields/submit.php index 4115d07..acf633c 100644 --- a/layouts/fields/submit.php +++ b/layouts/fields/submit.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/fields/text.php b/layouts/fields/text.php index 9f4befd..1b4d3bc 100644 --- a/layouts/fields/text.php +++ b/layouts/fields/text.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/fields/textarea.php b/layouts/fields/textarea.php index f0ea123..953552e 100644 --- a/layouts/fields/textarea.php +++ b/layouts/fields/textarea.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/layouts/label.php b/layouts/label.php index 4f12761..077d2fb 100644 --- a/layouts/label.php +++ b/layouts/label.php @@ -3,7 +3,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/mod_jdsimplecontactform.php b/mod_jdsimplecontactform.php index e8bdc44..fc3ed22 100644 --- a/mod_jdsimplecontactform.php +++ b/mod_jdsimplecontactform.php @@ -3,7 +3,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access diff --git a/mod_jdsimplecontactform.xml b/mod_jdsimplecontactform.xml index 6e4ccc7..2eb5875 100644 --- a/mod_jdsimplecontactform.xml +++ b/mod_jdsimplecontactform.xml @@ -2,10 +2,10 @@ mod_jdsimplecontactform JoomDev - 1.7 - Dec 2020 + 1.8 + July 2021 https://www.joomdev.com - Copyright (C) 2020 Joomdev, Inc. All rights reserved. + Copyright (C) 2021 Joomdev, Inc. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt info@joomdev.com https://www.joomdev.com diff --git a/tmpl/default.php b/tmpl/default.php index 3b9260a..0292ebc 100644 --- a/tmpl/default.php +++ b/tmpl/default.php @@ -2,7 +2,7 @@ /** * @package JD Simple Contact Form * @author JoomDev https://www.joomdev.com - * @copyright Copyright (C) 2009 - 2020 JoomDev. + * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ // no direct access