Skip to content

Commit

Permalink
updated to 1.3.26
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbaseman committed Jan 23, 2019
1 parent d6c6688 commit 51a0794
Show file tree
Hide file tree
Showing 65 changed files with 102 additions and 77 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ MODULE VERSION HISTORY
======================

------------------------------------------------------------------------------------------------------------------------
*** 1.3.26 (Martin Hecht: 23-Jan-2019) ***
put required attribute into required input fields (thanks to dbs)
write file names correctly to results table when correcting an upload error (thanks again to hansi)

*** 1.3.25 (Martin Hecht: 15-Jan-2019) ***
replace module_header_footer by core function of admin class
support writing multiple file names to results table
support writing multiple file names per field to results table (thanks to hansi)

*** 1.3.24 (Martin Hecht: 27-Dec-2018) ***
updated pear and its http_upload class (thanks to dbs)
Expand Down
2 changes: 2 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* todo list for upcoming releases:
* ================================
*
* - add a checkbox for file upload to control if multiple files may be selected
*
* - make workflow more flexible. Right now, saving results in various tables
* and sending emails happens in a fixed order. Moving these steps around
* like it is possible to drag&drop fields would be nice, but it needs a
Expand Down
2 changes: 1 addition & 1 deletion add.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion add_field.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion ajax/ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion ajax/ajax_dragdrop.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion ajax/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion ajax/pry_submission.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion copy_field.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion delete_field.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion delete_submission.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion docs/DE/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion docs/DE/mpform/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion docs/DE/mpform/referenz-der-optionen/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion docs/DE/mpform/standardformular.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<export_section>
<module>
<name>mpform</name>
<version>1.3.25</version>
<version>1.3.26</version>
</module>
<export_section_table>
<tablename>mod_mpform_fields</tablename>
Expand Down
2 changes: 1 addition & 1 deletion docs/EN/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion docs/EN/mpform/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion docs/EN/mpform/settings-of-mpform/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion docs/EN/mpform/standardform.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<export_section>
<module>
<name>mpform</name>
<version>1.3.25</version>
<version>1.3.26</version>
</module>
<export_section_table>
<tablename>mod_mpform_fields</tablename>
Expand Down
2 changes: 1 addition & 1 deletion docs/images/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion docs/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion docs/style/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
9 changes: 6 additions & 3 deletions evalform.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down Expand Up @@ -872,14 +872,15 @@ function eval_form($section_id) {
}
}
if($file_counter>0){
$curr_field = str_replace("''", ",", $curr_field);
$_SESSION['mpf']['datafield'.$field_id]
= array(
'user' => $tmp_html_user,
'site' => $tmp_html_site,
'files' => $tmp_files_to_attach,
'filenames' => $tmp_filenames
'filenames' => $tmp_filenames,
'field' => $curr_field
);
$curr_field = str_replace("''", ",", $curr_field);

$html_data_user .= $tmp_html_user;
$html_data_site .= $tmp_html_site;
Expand All @@ -891,6 +892,8 @@ function eval_form($section_id) {
$html_data_user .= $_SESSION['mpf']['datafield'.$field_id]['user'];
if(isset($_SESSION['mpf']['datafield'.$field_id]['site']))
$html_data_site .= $_SESSION['mpf']['datafield'.$field_id]['site'];
if(isset($_SESSION['mpf']['datafield'.$field_id]['field']))
$curr_field .= $_SESSION['mpf']['datafield'.$field_id]['field'];
$files_to_attach = array_merge($files_to_attach, $tmp_files_to_attach);
if ( ($field['required']==1)
&& ( (!isset($_SESSION['mpf']['datafield'.$field_id]['user']))
Expand Down
2 changes: 1 addition & 1 deletion export.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion export_submissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion help.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion htt/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion images/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion import.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
4 changes: 2 additions & 2 deletions info.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand All @@ -20,7 +20,7 @@
$module_directory = 'mpform';
$module_name = 'mpForm';
$module_function = 'page';
$module_version = '1.3.25';
$module_version = '1.3.26';
$module_platform = '2.8.x';
$module_status = 'stable';
$module_author = 'Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others';
Expand Down
2 changes: 1 addition & 1 deletion install.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion jscalendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion languages/DE.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion languages/EN.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
2 changes: 1 addition & 1 deletion languages/FR.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @category page
* @module mpform
* @version 1.3.25
* @version 1.3.26
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2019, Website Baker Org. e.V.
* @url https://github.com/WebsiteBaker-modules/mpform
Expand Down
Loading

0 comments on commit 51a0794

Please sign in to comment.