From d22622caab381847902c73ef28d30556aceb680f Mon Sep 17 00:00:00 2001
From: Martin Hecht FCkKmZ-AwwD
z($aSzE85z!4VwBmlbv6SiwvN$6-ze Bis mpform 1.2.x wurden in der Bestätigungsmail an den Formularabsender und in der Mail
+an den Seitenbetreiber nur die Felder der jeweils aktuellen Seite hinterlegt. Ab 1.3.x werden
+die Eingaben zwischen den verschiedenen Seiten eines mehrseitigen Formulars weitergereicht und
+die letzte Seite kann somit alle Eingaben gesammelt per Mail verschicken und in die Submissions-Tabelle
+eintragen.
+ Jede Seite, für die im Abschnitt Bestätigungsmail an Formularabsender
eine Empfängeradresse eingetragen ist, versucht eine Bestätigungsmail
an den Absender zu versenden, nachdem das Formular fehlerfrei ausgefüllt und abgeschickt wurde.
- Das macht bei einem mehrseitigen Formular keinen Sinn, man sollte dort also das Feld
- Empfängeradresse frei lassen, denn auch auf einem mehrseitigen Formular würden
- in der email immer nur die Felder verschickt, die sich auf der aktuellen
- Seite befinden. Auf vorausgegangenen Seiten bereits eingegebene Werte kö:nnen dazu mit
- Hilfe von verborgenen Feldern erneut gesendet werden. Hiermit erklären Sie sich damit einverstanden, dass der Websitebetreiber Ihre Daten verkaufen oder verschenken kann. Außerdem bestätigen Sie, dass Sie unsere AGB gelesen und verstanden haben. Hiermit erklären Sie sich damit einverstanden, dass der Websitebetreiber Ihre Daten verkaufen oder verschenken kann. Außerdem bestätigen Sie, dass Sie unsere AGB gelesen und verstanden haben. Schwierigkeitsgrad B Das Standardlayout für ein Formular ist ein Tabellenlayout. Oft wird jedoch auch ein
- tebellenloses Layout gewünscht. Das hat zum Beispiel den Vorteil, dass bei kleineren
+ Das Standardlayout für ein Formular basiert auf einem <div>-Layout.
+ Das hat zum Beispiel den Vorteil, dass bei kleineren
Browserfenstern oder auf Mobilgeräten statt einen waagerechten Scrollbalken anzuzeigen
- die Antworten einfach unter die Fragen rutschen, was ergonomisch als angenehmer empfunden wird. Ein einfaches Beispiel für die Umstellung der Optionen auf tabellenloses Layout wäre:';
-$field_loop = '
';
+ . '';
$heading_html = "'
- . ' ';
-$footer = ''
+$header = '';
+$field_loop = ' '
- . ''
+ . ' '
- . ''
+ . ''
+ . ''
+ . ' '
- . ''
- . ' '
- . ''
- . ' '
- . ''
- . ' '
- . ''
+ . ''
+ . '';
+$footer = ' '
- . '{HEADING}
";
$short_html = "{TITLE}: {DATA}
";
$long_html = "{TITLE}:
{DATA}
";
diff --git a/add_field.php b/add_field.php
index ee83f93..3b7487a 100644
--- a/add_field.php
+++ b/add_field.php
@@ -6,11 +6,12 @@
*
* @category page
* @module mpform
- * @version 1.2.3
+ * @version 1.3.0
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2016, Website Baker Org. e.V.
* @url http://forum.websitebaker.org/index.php/topic,28496.0.html
* @url https://github.com/WebsiteBaker-modules/mpform
+ * @url https://forum.wbce.org/viewtopic.php?id=661
* @license GNU General Public License
* @platform 2.8.x
* @requirements probably php >= 5.3 ?
diff --git a/ajax/ajax.php b/ajax/ajax.php
index d3fa7d2..774cb2f 100644
--- a/ajax/ajax.php
+++ b/ajax/ajax.php
@@ -7,11 +7,12 @@
*
* @category page
* @module mpform
- * @version 1.2.3
+ * @version 1.3.0
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2016, Website Baker Org. e.V.
* @url http://forum.websitebaker.org/index.php/topic,28496.0.html
* @url https://github.com/WebsiteBaker-modules/mpform
+ * @url https://forum.wbce.org/viewtopic.php?id=661
* @license GNU General Public License
* @platform 2.8.x
* @requirements probably php >= 5.3 ?
@@ -53,11 +54,16 @@
$sDbColumn = $_POST['DB_COLUMN'];
$iRecordID = $_POST['iRecordID'];
$sModuleDIR = $_POST['MODULE'];
-
- // Check if user has enough rights to do this:
require_once(WB_PATH.'/framework/class.admin.php');
$admin = new admin('Modules', 'module_view', FALSE, FALSE);
+ if(!is_numeric($iRecordID)) {
+ if(method_exists( $admin, 'checkIDKEY' ))
+ $iRecordID = $admin->checkIDKEY($iRecordID,-1,'key',true);
+ else $iRecordID = -1;
+ }
+
+ // Check if user has enough rights to do this:
if (!($admin->is_authenticated() && $admin->get_permission($sModuleDIR, 'module')))
{
$aJsonRespond['message'] = 'You\'re not allowed to make changes to this Module: '.$sModuleDIR;
@@ -101,13 +107,7 @@
case 'delete_record':
// Check the Parameters
if(isset($_POST['action']) && $_POST['action'] == 'delete') {
-
- if(!is_numeric($iRecordID)) {
- if(method_exists( $admin, 'checkIDKEY' ))
- $iRecordID = $admin->checkIDKEY($iRecordID);
- else $iRecordID = -1;
- }
-
+
$query = "DELETE FROM `".$sDbRecordTable."` WHERE `".$sDbColumn."` = '".$iRecordID."' LIMIT 1";
$database->query($query);
if($database->is_error())
diff --git a/ajax/ajaxChangeFormFieldStatus.js b/ajax/ajaxChangeFormFieldStatus.js
index 3e87552..cadd70f 100644
--- a/ajax/ajaxChangeFormFieldStatus.js
+++ b/ajax/ajaxChangeFormFieldStatus.js
@@ -43,6 +43,7 @@
oElement.attr("src", ICONS +"/"+ action +".gif");
oElement.attr("title", LANG[json_respond.message]);
oElement.animate({opacity: 1});
+ window.location.reload();
} else {
alert(json_respond.message);
}
diff --git a/ajax/ajaxDeleteRecord.js b/ajax/ajaxDeleteRecord.js
index f06479a..9e3ca16 100644
--- a/ajax/ajaxDeleteRecord.js
+++ b/ajax/ajaxDeleteRecord.js
@@ -29,19 +29,22 @@
var oRecord = $("tr#" + aOpts.DB_COLUMN +'_'+ iRecordID);
if (confirm(LANG.SURE_DELETE_RECORD)) {
- // pregenerate the data string
- var sDataString = 'purpose=delete_record&action=delete&DB_RECORD_TABLE='+aOpts.DB_RECORD_TABLE+'&DB_COLUMN='+aOpts.DB_COLUMN+'&MODULE='+aOpts.MODULE+'&iRecordID='+iRecordID+'&iSectionID=' + iSectionID;
$.ajax({
url: MODULE_URL +"/ajax/ajax.php",
type: "POST",
dataType: 'json',
- data: sDataString,
+ data: 'purpose=delete_record&action=delete'
+ +'&DB_RECORD_TABLE='+aOpts.DB_RECORD_TABLE
+ +'&DB_COLUMN='+aOpts.DB_COLUMN
+ +'&MODULE='+aOpts.MODULE
+ +'&iRecordID='+iRecordID
+ +'&iSectionID='+iSectionID,
success: function(json_respond) {
if(json_respond.success == true) {
//row.fadeOut('slow');
oRecord.fadeOut(1200);
- // alert(json_respond.message + ' ' + sDataString); // debug
+ window.location.reload();
} else {
alert(json_respond.message);
}
diff --git a/ajax/ajax_dragdrop.js b/ajax/ajax_dragdrop.js
index c9adb72..f92eec2 100644
--- a/ajax/ajax_dragdrop.js
+++ b/ajax/ajax_dragdrop.js
@@ -26,7 +26,6 @@ if(jQuery().sortable){
jQuery(function() {
jQuery('.dragdrop_item').addClass('dragdrop_handle');
jQuery(".dragdrop_form .move_position a").remove();
- //var sDataString = jQuery(this).sortable("serialize") + '&action=updatePosition';
jQuery(".dragdrop_form tbody").sortable({
appendTo: 'body',
@@ -40,17 +39,19 @@ if(jQuery().sortable){
jQuery.ajax({
type: 'POST',
url: MODULE_URL +'/ajax/ajax_dragdrop.php',
- data: jQuery(this).sortable("serialize") + '&action=updatePosition',
+ data: jQuery(this).sortable("serialize", {
+ expression: /(.+)[:=](.+)/
+ }) + '&action=updatePosition',
dataType: 'json',
success: function(json_respond){
- //alert(json_respond.message +' '+sDataString);
if( json_respond.success != true ) {
alert(json_respond.message);
}
var INFO_BOX = jQuery("#" + RESULTS_CONTAINER);
INFO_BOX.html('').fadeIn("slow");
jQuery("#reload_img").fadeOut(2300);
-
+ // due to expiring IDKEYs we have to refresh the page
+ window.location.reload();
}
});
}
diff --git a/ajax/ajax_dragdrop.php b/ajax/ajax_dragdrop.php
index 2f6407a..0ebfd0c 100644
--- a/ajax/ajax_dragdrop.php
+++ b/ajax/ajax_dragdrop.php
@@ -7,11 +7,12 @@
*
* @category page
* @module mpform
- * @version 1.2.3
+ * @version 1.3.0
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2016, Website Baker Org. e.V.
* @url http://forum.websitebaker.org/index.php/topic,28496.0.html
* @url https://github.com/WebsiteBaker-modules/mpform
+ * @url https://forum.wbce.org/viewtopic.php?id=661
* @license GNU General Public License
* @platform 2.8.x
* @requirements probably php >= 5.3 ?
@@ -24,25 +25,24 @@
$aJsonRespond = array();
$aJsonRespond['success'] = false;
-$aJsonRespond['message'] = 'hallo';
+$aJsonRespond['message'] = '';
$aJsonRespond['icon'] = '';
if(!isset($_POST['action']) || !isset($_POST['field_id']) )
-//if(!isset($_POST['action']))
{
- $aJsonRespond['message'] = 'eins von den parametern gibts nicht';
+ $aJsonRespond['message'] = 'one of the parameters does not exist';
exit(json_encode($aJsonRespond));
}
else
{
$aRows = $_POST['field_id'];
require_once('../../../config.php');
- // check if user has permissions to access the Bakery module
+ // check if user has permissions to access the mpform module
require_once(WB_PATH.'/framework/class.admin.php');
- $admin = new admin('Modules', 'module_view', false, false);
+ $admin = new admin('Pages', 'pages_modify', false, false);
if (!($admin->is_authenticated() && $admin->get_permission('mpform', 'module'))) {
- $aJsonRespond['message'] = 'unsuficcient rights';
+ $aJsonRespond['message'] = 'insuficcient rights';
exit(json_encode($aJsonRespond));
}
@@ -52,17 +52,18 @@
{
$i = 1;
foreach ($aRows as $recID) {
- // not we sanitize array
+ $id = $admin->checkIDKEY($recID,0,'key',true);
+ // now we sanitize array
$database->query("UPDATE `".TABLE_PREFIX."mod_mpform_fields`"
. " SET `position` = '".$i."'"
- . " WHERE `field_id` = ".intval($recID)." ");
+ . " WHERE `field_id` = ".intval($id)." ");
$i++;
}
if($database->is_error()) {
$aJsonRespond['success'] = false;
$aJsonRespond['message'] = 'db query failed: '.$database->get_error();
- $aJsonRespond['icon'] = 'trash.gif';
+ $aJsonRespond['icon'] = 'cancel.gif';
exit(json_encode($aJsonRespond));
}
}else{
diff --git a/ajax/index.php b/ajax/index.php
index 80ff264..958ed2d 100644
--- a/ajax/index.php
+++ b/ajax/index.php
@@ -7,11 +7,12 @@
*
* @category page
* @module mpform
- * @version 1.2.3
+ * @version 1.3.0
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2016, Website Baker Org. e.V.
* @url http://forum.websitebaker.org/index.php/topic,28496.0.html
* @url https://github.com/WebsiteBaker-modules/mpform
+ * @url https://forum.wbce.org/viewtopic.php?id=661
* @license GNU General Public License
* @platform 2.8.x
* @requirements probably php >= 5.3 ?
diff --git a/ajax/jquery.cluetip/jquery.cluetip.css b/ajax/jquery.cluetip/jquery.cluetip.css
index eefd6a5..0375d68 100644
--- a/ajax/jquery.cluetip/jquery.cluetip.css
+++ b/ajax/jquery.cluetip/jquery.cluetip.css
@@ -24,7 +24,7 @@ div.ui-cluetip {
width: 43px;
height: 11px;
position: absolute;
- background-image: url(images/wait.gif);
+ background-image: url(cluetip_images/wait.gif);
}
.cluetip-arrows {
display: none;
diff --git a/ajax/jquery.cluetip/jquery.cluetip.pryFunction.css b/ajax/jquery.cluetip/jquery.cluetip.pryFunction.css
index 54c5954..0bd0e05 100644
--- a/ajax/jquery.cluetip/jquery.cluetip.pryFunction.css
+++ b/ajax/jquery.cluetip/jquery.cluetip.pryFunction.css
@@ -21,7 +21,7 @@ div.ui-cluetip {
width: 43px;
height: 11px;
position: absolute;
- background-image: url(images/wait.gif);
+ background-image: url(cluetip_images/wait.gif);
}
.cluetip-arrows {
display: none;
diff --git a/ajax/pry_submission.php b/ajax/pry_submission.php
index 78397b3..9b83a03 100644
--- a/ajax/pry_submission.php
+++ b/ajax/pry_submission.php
@@ -6,11 +6,12 @@
*
* @category page
* @module mpform
- * @version 1.2.3
+ * @version 1.3.0
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2016, Website Baker Org. e.V.
* @url http://forum.websitebaker.org/index.php/topic,28496.0.html
* @url https://github.com/WebsiteBaker-modules/mpform
+ * @url https://forum.wbce.org/viewtopic.php?id=661
* @license GNU General Public License
* @platform 2.8.x
* @requirements probably php >= 5.3 ?
diff --git a/backend.default.css b/backend.default.css
index b37da89..36da6d8 100644
--- a/backend.default.css
+++ b/backend.default.css
@@ -305,72 +305,6 @@ tt {
}
-/* Picture Chooser */
-
-div#picturechooser {
- width:80%;
- position:absolute;
- top:10%;
- left:10%;
- display:none;
-}
-
-table.choosertable .r1 td {
- height:17px;
-}
-table.choosertable .r3 td {
- height:17px;
-}
-table.choosertable .c1 {
- width:13px;
-}
-table.choosertable .c3 {
- width:13px;
-}
-table.choosertable .r2 .c1 {
- width:13px;
- background: url(img/shadow/shadow_w.png) repeat-y;
-}
-table.choosertable .r2 .c3 {
- width:13px;
- background: url(img/shadow/shadow_e.png) repeat-y;
-}
-table.choosertable .r1 .c2 {
- height:17px;
- background: url(img/shadow/shadow_n.png) repeat-x;
- text-align:right;
-}
-table.choosertable .r3 .c2 {
- height:17px;
- background: url(img/shadow/shadow_s.png) repeat-x;
-}
-table.choosertable #picturechooserinner {
- height:500px;
- min-width:400px;
- padding:20px 10px 0 20px;
- background-color:#ddd;
- overflow:scroll;
-}
-
-#picturechooserinner .memberpic_preview {
- float:left;
- margin:0 10px 10px 0;
- width:100px;
- height:100px;
- overflow:hidden;
- background-color:#eee;
-}
-#picturechooserinner .memberpic_preview img {
- max-width:100px;
- max-height:120px;
- border:0;
- margin:auto;
-}
-
-
-/*
-
-*/
.mpform { width: 100% }
div.mpform fieldset {
diff --git a/constants.php b/constants.php
index 2e17165..d1a69e2 100644
--- a/constants.php
+++ b/constants.php
@@ -6,11 +6,12 @@
*
* @category page
* @module mpform
- * @version 1.2.3
+ * @version 1.3.0
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2016, Website Baker Org. e.V.
* @url http://forum.websitebaker.org/index.php/topic,28496.0.html
* @url https://github.com/WebsiteBaker-modules/mpform
+ * @url https://forum.wbce.org/viewtopic.php?id=661
* @license GNU General Public License
* @platform 2.8.x
* @requirements probably php >= 5.3 ?
diff --git a/copy_field.php b/copy_field.php
index dd87d54..7ff2e09 100644
--- a/copy_field.php
+++ b/copy_field.php
@@ -6,11 +6,12 @@
*
* @category page
* @module mpform
- * @version 1.2.3
+ * @version 1.3.0
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2016, Website Baker Org. e.V.
* @url http://forum.websitebaker.org/index.php/topic,28496.0.html
* @url https://github.com/WebsiteBaker-modules/mpform
+ * @url https://forum.wbce.org/viewtopic.php?id=661
* @license GNU General Public License
* @platform 2.8.x
* @requirements probably php >= 5.3 ?
diff --git a/delete.php b/delete.php
index 1232152..7034957 100644
--- a/delete.php
+++ b/delete.php
@@ -6,11 +6,12 @@
*
* @category page
* @module mpform
- * @version 1.2.3
+ * @version 1.3.0
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2016, Website Baker Org. e.V.
* @url http://forum.websitebaker.org/index.php/topic,28496.0.html
* @url https://github.com/WebsiteBaker-modules/mpform
+ * @url https://forum.wbce.org/viewtopic.php?id=661
* @license GNU General Public License
* @platform 2.8.x
* @requirements probably php >= 5.3 ?
diff --git a/delete_field.php b/delete_field.php
index 3a5d1fe..b757a63 100644
--- a/delete_field.php
+++ b/delete_field.php
@@ -6,11 +6,12 @@
*
* @category page
* @module mpform
- * @version 1.2.3
+ * @version 1.3.0
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2016, Website Baker Org. e.V.
* @url http://forum.websitebaker.org/index.php/topic,28496.0.html
* @url https://github.com/WebsiteBaker-modules/mpform
+ * @url https://forum.wbce.org/viewtopic.php?id=661
* @license GNU General Public License
* @platform 2.8.x
* @requirements probably php >= 5.3 ?
@@ -49,7 +50,7 @@
// Delete row
$database->query(
- "DELETE FROM "TP_MPFORM."fields"
+ "DELETE FROM ".TP_MPFORM."fields"
. " WHERE field_id = '$field_id'"
. " and page_id = '$page_id'"
);
diff --git a/delete_submission.php b/delete_submission.php
index cb480ff..38bd3ca 100644
--- a/delete_submission.php
+++ b/delete_submission.php
@@ -6,11 +6,12 @@
*
* @category page
* @module mpform
- * @version 1.2.3
+ * @version 1.3.0
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2016, Website Baker Org. e.V.
* @url http://forum.websitebaker.org/index.php/topic,28496.0.html
* @url https://github.com/WebsiteBaker-modules/mpform
+ * @url https://forum.wbce.org/viewtopic.php?id=661
* @license GNU General Public License
* @platform 2.8.x
* @requirements probably php >= 5.3 ?
diff --git a/docs/DE/images/SF_de.png b/docs/DE/images/SF_de.png
index a0c9ddc1060156477685877797157c79d7afd259..4407633306f320219cd9eea0690d5d10150f345b 100644
GIT binary patch
literal 30016
zcma%j1yojDx9*D|pdek+rF2QRw1{*!64E8z-6Db#(jna-%}bXw(p}Om-FLlw=luV@
z=bU@T9Uq@#xY>KJwbz>Sna?xlT!tygNj-Z?_!I(xJd=JSt^|R=okAdw5RehU6^Km@
zEBF)9P)14|au5429h&5cgz4$LLBx+O2a&GQL)O3?+Ut$+X{XaD){fqsuqnIDBzj$+<)C)p&BXG
z91l(7Q`DvN5C*r_dx2Q^@M=!Hf9B{9VrGNQKV)>wj7hH%;e|WASjrt4=hX|AN(>M&
zls=tS(>~0S6ASee(HLk6JA3<95Z0Z$Df>vleVm+(j10`B1*BZe&CNr@!$sB9@W40w2BF}u^h8scEj9_d
zpYK0|xZWIfAA#%(Jmixk)q4MTcoB@@dM8T|lvcJuG=9iWfUPLM4N1{Mzn!aNeV2@U
zTcp{NcD)O*8AiR|zN9ROQeXjMQ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kagbK8Gl2EyY#eh+P_^nAQ=
zIi6
r&WDVqNT(sU#hcRY6BgQEcou4%I)mLQNXS?pF(wKn#ic!nP9|Y@u3KHt
z3gtkdb9Ok#`{z}DT8`7Ftct!mwL!_Z|CYYCUi9H=U%&dG!Cl~c&3wXfh?by|><2|R
zP&>4;a^P6Tm(5P_ufi3;4T{1CK2UYv?U{)x#ip*=WkH}#2kiNl?(Rrv6#zlkcj&)$
zVc7Y25n3uf2f#kmF3!U-m%Yvd4ly*I(SxosfL(sq-~al|Sz^t|jP8Z&g0}a7Ak3y-
z9tKf-WOz7uw2z@h&mE}wjE`&MLAwqp)boDoHäufig gestellte Fragen zu MPForm
- woran kann das liegen?
MPForm-Dokumentation: Mehrseitige Formulare
(Auf der letzten Seite bietet es sich an, auf eine normale Seite weitzerzuleiten, auf der Sie
dem Benutzer z.B. für seine Teilnahme an der Umfrage danken.)
Möglichkeiten, die Daten dem Sitebetreiber zugänglich zu machen
MPForm-Dokumentation: Liste der Feldtypen
verborgenes Feld
input type="hidden"
weiterreichen von Werten in mehrseitigen Formularen
- in Verbindung mit der privaten Funktion
- private_function_before_new_form kann dieses Feld benutzt
- werden, um Werte einer vorausgegangenen Seite noch einmal zu senden.
- Dadruch kann die einzelne Seite für den Benutzer übersichtlich
- gehalten werden und trotzdem alle eingegebenen Werte auf der letzten
- Seite per email verschickt werden. Sie müssen dazu allerdings für
- jedes Feld auf jeder Folgeseite ein entsprechendes verborgenes Feld
- anlegen. Die Ergebnistabelle wird dabei allerdings neben den Original-
- Eingaben auch mit den Werten der verborgenen Felder bestückt.
+ private Funktionen können diese dann beispielsweise weiter verarbeiten.
+ Seit mpform 1.3.x werden die Eingaben zumindest für die Bestätigungsmail
+ automatish weitergereicht.
diff --git a/docs/DE/mpform/referenz-der-optionen/bestaetigungsmail-an-formularabsender.html b/docs/DE/mpform/referenz-der-optionen/bestaetigungsmail-an-formularabsender.html
index 811a0a8..f00ea31 100644
--- a/docs/DE/mpform/referenz-der-optionen/bestaetigungsmail-an-formularabsender.html
+++ b/docs/DE/mpform/referenz-der-optionen/bestaetigungsmail-an-formularabsender.html
@@ -90,13 +90,10 @@ ]]> MPForm-Dokumentation: E-Mail-Einstellungen (Bestätigungsmail an Formula
Sie müssen im Formular ein Feld des Typs E-Mail-Adresse verwenden und dieses
- Feld hier auswählen um dieses Feld als Empfänger-Adresse festzulegen.
+ Feld hier auswählen um dieses Feld als Empfänger-Adresse festzulegen.
diff --git a/docs/DE/mpform/referenz-der-optionen/index.php b/docs/DE/mpform/referenz-der-optionen/index.php
index b76579b..6588b68 100644
--- a/docs/DE/mpform/referenz-der-optionen/index.php
+++ b/docs/DE/mpform/referenz-der-optionen/index.php
@@ -7,11 +7,12 @@
*
* @category page
* @module mpform
- * @version 1.2.3
+ * @version 1.3.0
* @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others
* @copyright (c) 2009 - 2016, Website Baker Org. e.V.
* @url http://forum.websitebaker.org/index.php/topic,28496.0.html
* @url https://github.com/WebsiteBaker-modules/mpform
+ * @url https://forum.wbce.org/viewtopic.php?id=661
* @license GNU General Public License
* @platform 2.8.x
* @requirements probably php >= 5.3 ?
diff --git a/docs/DE/mpform/referenz-der-optionen/mail-an-sitebetreiber.html b/docs/DE/mpform/referenz-der-optionen/mail-an-sitebetreiber.html
index f633bb5..c1e0d1a 100644
--- a/docs/DE/mpform/referenz-der-optionen/mail-an-sitebetreiber.html
+++ b/docs/DE/mpform/referenz-der-optionen/mail-an-sitebetreiber.html
@@ -92,11 +92,8 @@ MPForm-Dokumentation: E-Mail-Einstellungen (Mail an Sitebetreiber)
eingetragen sind, versucht emails zu versenden, nachdem das Formular mit ausgefüllten
Pflichtfeldern abgeschickt wurde. Das macht bei einem mehrseitigen Formular keinen Sinn,
man sollte dort also das Feld Empfängeradresse(n) frei lassen
- (mit vielleicht nicht auf der letzten Seite).
- Auch auf einem mehrseitigen Formular werden in der email immer nur die Felder verschickt,
- die sich auf der aktuellen Seite befinden. Ein Hilfsmittel können hier verborgene
- Felder sein, die auf vorausgegangenen Seiten eingegebene Werte erneut senden.
- Standardmäßig wird die email an alle Empfänger gesendet, die im Feld
+ (mit Ausnahme der letzten Seite).
+ Standardmäßig wird die email an alle Empfänger gesendet, die im Feld
Empfängeradresse(n) angegeben wurden. Sie haben aber die Möglichkeit,
im Formular auch ein Feld des Typs E-Mail-Empfänger zu verwenden.
Falls ein solches Feld existiert, wird es mit den Namensteilen der im Backend angegebenen
diff --git a/docs/DE/mpform/referenz-der-optionen/workflow-einstellungen.html b/docs/DE/mpform/referenz-der-optionen/workflow-einstellungen.html
index dadcc61..92256af 100644
--- a/docs/DE/mpform/referenz-der-optionen/workflow-einstellungen.html
+++ b/docs/DE/mpform/referenz-der-optionen/workflow-einstellungen.html
@@ -93,7 +93,8 @@ MPForm-Dokumentation: Workflow-Einstellungen
{TITLE}{REQUIRED}: {HELP} {FIELD}{ERRORTEXT}
-
-]]>
Verweisseite: {REFERER}
IP-Adresse: {IP}
Datum: {DATE}]]>
{DATA}]]>
]]>
{DATA}
]]>
]]>
]]>
]]>
{DATA}
]]>
]]>
]]>Formatierung
MPForm-Dokumentation: Tabelle oder nicht?
Ein einfaches Beispiel für ein tabellenloses Layout (dies ist mittlerweile die Standardeinstellung) + sieht wie folgt aus:
Die angegebenen Klassen sind bereits in der Datei frontend.css enthalten. Sie könnten jedoch - noch etwas Feinschliff gebrauchen.
-Beachten Sie, dass der Platzhalter {HELP} nur in Tabellen funktioniert. Falls Sie ein anderes - Layout verwenden möchten, müssen Sie also {HELPTXT} verwenden!
+Ein tabellenbasiertes Layout hingegen würde so aussehen:
+Die angegebenen Klassen sind bereits in der Datei frontend.css enthalten.
+Beachten Sie, dass der Platzhalter {HELP} bis Version 1.2.x nur in Tabellen funktioniert hat. + Falls Sie ein anderes Layout verwenden möchten, müssen Sie entweder eine + aktuelle Version von mpform einsetzen oder in alten Versionen mussten Sie {HELPTXT} verwenden!
diff --git a/docs/EN/images/SF_en.png b/docs/EN/images/SF_en.png index d205c5541ee89d215f0eed5dd415ab810980da71..b3b66bf8a1d070d0924a7f446372b16d027e586f 100644 GIT binary patch literal 31663 zcma&N1zc3o);2zLi8P9Ih)AiRbV`eqGK3&q(jlFKq@+qCDS~u&3W7+3baxKT(D2^} z?|tw6-}`>w?^9xCIA@<7Yd`B*&ssZJSy2Wb_YN)$2E&(=m3#q%p`5{Bs65!1;1hK+ z`n%v4rh&YSBw34DTME34@MgW-`t-zczzq}$*_thaIsQdqON1Y~HOci{m~ zVK6$FoTRv_%lPJ$s|zW-26Lw}C$}^(vdI6v=RK4k7z~2?B!r~sWHNTmD6zRcbRpPi zHwE}uQn_60^i_YP2N9~MQONp66|tt~`9?;*N5?VJ?-*Ds$T^eAOXwN+@>ou`#>2b! z6V?FyyMU*nqvypJ0l17t&D&z!bk>^f1}qI6NlC}gFrVh+97#C*YgSefLr~B<%i7MI zUmiw{ad7ZVDKYrK&7?4Aox>Q3^!}EUb6Lw067I~5owqBH5MRnM7PClWbsyWeg~w2< zgdGVz7ulkrV_eO8ufeBe4?`c$F9 zTeeYmNy)c~-0p~03!X%MuK45U9)RL9V!A(g@Idw>`k9;^*vTM#reWENxg}NnT&>sQ z2x zp z)sBq@Y=&yPf5{nsbl6Eh0Pp`56kqRDpFAc6x^}H-jI1g!f0~8}yd)+L67~%JY@oNp zbQa8wy-j*f4v-@NG?Pj>EdYN(@o1DS1XY|cwc7`15t5j=$Z<1|zgkA^*54q&N3YOv z&f;i@y9v6UebnORL`XXJr;e`#J%)WyOd(q|vYbDHx$;JQ+Dr19=erhRDbGXm4=E28 zpQc75TGipv?|^plivY VD7V1r8 zjudE>ZvWE_CT%9xi&><07mSk%>(rt6Wn|GVZov7H1UA1egV&P!?Hz-sQ#X;XY)v6u z%6|5!*=5Bbi(cOlh34$wq2+g4hDRoNZX(6x^p~PT-Fm$-P#?8ZZxzxuRgX5#9Vq?u z+uc*_YDvqV=(9c+?a!0DgY>$z|H59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/EN/mpform/after-submitting.html index 095b29c..6c99809 100644 --- a/docs/EN/mpform/after-submitting.html +++ b/docs/EN/mpform/after-submitting.html @@ -125,7 +125,7 @@ Ways to show data to the site owner
- The table with the suffix defined in the workflow settings at Name suffix for results table must exist and contain - a column for each field of the form. Starting with version 1.2 mpform should + a column for each field of the form. Starting with version 1.2.x mpform should always keep these tables consistent.
- diff --git a/docs/EN/mpform/faq-to-mpform.html b/docs/EN/mpform/faq-to-mpform.html index c4984d0..9f5e0fb 100644 --- a/docs/EN/mpform/faq-to-mpform.html +++ b/docs/EN/mpform/faq-to-mpform.html @@ -117,7 +117,7 @@
Frequently asked questions regarding MPForm
in \modules\mpform\evalform.php on line 533" - What does this mean?- Answer: You probably changed the suffix of the results table after you created the first field of the form. - Starting with version 1.2 of mpform the problem should not occur anymore, but if you have changed + Starting with version 1.2.x of mpform the problem should not occur anymore, but if you have changed the suffix of the results table in an earlier version of mpform when already fields were present, it should help to open the general settings page in the backend and simply save the settings again. This should trigger a scan of the fields and update the results table accordingly.
diff --git a/docs/EN/mpform/field-types.html b/docs/EN/mpform/field-types.html index baae321..60c2170 100644 --- a/docs/EN/mpform/field-types.html +++ b/docs/EN/mpform/field-types.html @@ -211,13 +211,9 @@MPForm Documentation: Field types of MPForm
hidden field input type="hidden"
handing over values between individual pages of multi page forms -in conjunction with the private function - private_function_before_new_form this field type can be used to - submit values of a previous page once again. This may help to keep each page simple - and at the same time have all values available on the last page for sending them - by email. However, you have to define a hidden field for each field on all subsequent - pages of the form. The results table, however, will hold not only the original input - values, but the values of teh hidden fields as well. + private functions for instance can process these values. + since mpform 1.3.x all the submissions of individual pages are handed through at least + for sending the confirmation mail at the end. diff --git a/docs/EN/mpform/index.php b/docs/EN/mpform/index.php index b76579b..6588b68 100644 --- a/docs/EN/mpform/index.php +++ b/docs/EN/mpform/index.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/docs/EN/mpform/multi-page-forms.html b/docs/EN/mpform/multi-page-forms.html index 06859c0..1cfab54 100644 --- a/docs/EN/mpform/multi-page-forms.html +++ b/docs/EN/mpform/multi-page-forms.html @@ -81,7 +81,13 @@ ]]>MPForm Documentation: Multi page forms
(On the last page it is recommended to forward to a text page where yo can thank the user for her participation on the poll.)- Finally add all the fields to the pages already created in the previous steps.
- + +Up to mpform 1.2.x the confirmation mails to the user and to the site owner were only able +to show the fields of the current page. Starting with 1.3.x the submissions are handed over +from one page of a multi page form to the next one, which allows the last page to send emails +of all the submissions compiled together and save these values into the submissions table. +
+ diff --git a/docs/EN/mpform/settings-of-mpform/confirmation-mail.html b/docs/EN/mpform/settings-of-mpform/confirmation-mail.html index c73a5a1..123cf7c 100644 --- a/docs/EN/mpform/settings-of-mpform/confirmation-mail.html +++ b/docs/EN/mpform/settings-of-mpform/confirmation-mail.html @@ -84,13 +84,13 @@MPForm Documentation: E-Mail Settings (confirmation mail to user)
- "To" address
-- Each page with content in this field tries to send a confirmation mail to the sender - after a form has been submitted successfully. This does not make much sense for a multi page form, - because the email always contains only the fields of the current form, even on multi page forms. - Hidden forms are handy to resubmit values which have been entered already on a previous page. +
- + E-Mail-Address and select this one here.
Each page with content in this field tries to send a confirmation mail to the sender + after a form has been submitted successfully. In multi page forms this only makes sense on + the last page of the series. On all other pages of a multi page form this field should be + left blank.
To ask the user for his own email address you need to use a field of type - E-Mail-Address and select this one here.- "From" address
- This is the email address which the user sees when he receives the confirmation mail.
diff --git a/docs/EN/mpform/settings-of-mpform/index.php b/docs/EN/mpform/settings-of-mpform/index.php index b76579b..6588b68 100644 --- a/docs/EN/mpform/settings-of-mpform/index.php +++ b/docs/EN/mpform/settings-of-mpform/index.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/docs/EN/mpform/settings-of-mpform/mail-to-site-owner.html b/docs/EN/mpform/settings-of-mpform/mail-to-site-owner.html index b4def35..9455950 100644 --- a/docs/EN/mpform/settings-of-mpform/mail-to-site-owner.html +++ b/docs/EN/mpform/settings-of-mpform/mail-to-site-owner.html @@ -88,11 +88,8 @@
MPForm Documentation: E-Mail Settings (mail to site owner)
- "To" address(es)
Each page with content in this field tries to send an email after a form has been - submitted successfully. This maybe does not make much sense for a multi page form, - because the email contains always only the fields from the current form. If you - want to send an email there, hidden fields are handy to resubmit values which have - been entered already on a previous page of the multi page form. -
+ submitted successfully. This does not make much sense for a multi page form except + for the last page of the series. By default the email is sent to all recipients listed in the settings field "To" address(es). You can also add a field of type E-Mail recipient to the form. diff --git a/docs/EN/mpform/settings-of-mpform/workflow-settings.html b/docs/EN/mpform/settings-of-mpform/workflow-settings.html index 984eb10..80952ca 100644 --- a/docs/EN/mpform/settings-of-mpform/workflow-settings.html +++ b/docs/EN/mpform/settings-of-mpform/workflow-settings.html @@ -92,7 +92,8 @@MPForm Documentation: Workflow Settings
- There are two possible ways after the form has been submitted successfully. If no Following page has been set, the user will stay on the current page. Instead of the form the text from the followng setting will be shown. - If a Following page is set, the user is redirected to that page instead.
+ If a Following page is set, the user is redirected to that page instead. + For multi page forms the following page has to be set here.- Success text
- If no Following page has been set, this text will be shown after the form has been submitted successfully.
diff --git a/docs/EN/mpform/standardform.xml b/docs/EN/mpform/standardform.xml index ab26d3c..609e3a2 100644 --- a/docs/EN/mpform/standardform.xml +++ b/docs/EN/mpform/standardform.xml @@ -1,11 +1,18 @@ -mpform 1.1.20.1 mod_mpform_fields field_id section_id page_id position title type required value extra help field_id section_id page_id position title type required value extra help field_id section_id page_id position title type required value extra help field_id section_id page_id position title type required value extra help field_id section_id page_id position title type required value extra help field_id section_id page_id position title type required value extra help field_id section_id page_id position title type required value Hereby you agree that the owner of this web site may sell or give away all data you entered in this form.
-Besides you acknowledge that you did read and understand our general terms and conditions.
]]>extra help field_id section_id page_id position title type required value extra ]]> help field_id section_id page_id position title type required value extra help mod_mpform_settings section_id page_id header ]]> field_loop {TITLE}{REQUIRED}: {HELP} {FIELD}{ERRORTEXT} footer - -]]> email_to mpform 1.3.0 mod_mpform_fields field_id section_id page_id position title type required value extra help field_id section_id page_id position title type required value extra help field_id section_id page_id position title type required value extra help field_id section_id page_id position title type required value extra help field_id section_id page_id position title type required value extra help field_id section_id page_id position title type required value extra help field_id section_id page_id position title type required value Hereby you agree that the owner of this web site may sell or give away all data you entered in this form.
+Besides you acknowledge that you did read and understand our general terms and conditions.
]]>extra help field_id section_id page_id position title type required value extra ]]> help field_id section_id page_id position title type required value extra help mod_mpform_settings section_id page_id header field_loop {TITLE}{REQUIRED}: + {HELP}+{FIELD}{ERRORTEXT}+ +]]>footer + + + +]]> email_to email_from email_replyto email_fromname email_subject email_text {DATA}
Referer page: {REFERER}
IP address: {IP}]]>success_page success_text Thank you for submitting your data. We received the following data:
{DATA}
Referer page: {REFERER}
Your IP address: {IP}]]>submissions_text success_email_to success_email_from success_email_fromname success_email_text {DATA} -
Referer page: {REFERER}
Your IP address: {IP}]]>success_email_subject stored_submissions max_submissions heading_html {HEADING}]]> short_html {TITLE}:
]]>long_html {TITLE}:
{DATA}
]]>email_html {TITLE}: {DATA}
]]>uploadfile_html {TITLE}: {DATA}
]]>use_captcha upload_files_folder date_format max_file_size_kb attach_file upload_file_mask upload_dir_mask upload_only_exts is_following value_option_separator tbl_suffix \ No newline at end of file +Date: {DATE}]]> enum_start success_email_to success_email_from success_email_fromname success_email_text success_email_subject stored_submissions max_submissions heading_html {HEADING}]]> short_html {TITLE}: {DATA}
]]>long_html {TITLE}:
{DATA}
]]>email_html {TITLE}: {DATA}
]]>uploadfile_html {TITLE}: {DATA}
]]>use_captcha upload_files_folder date_format max_file_size_kb attach_file upload_file_mask upload_dir_mask upload_only_exts is_following value_option_separator tbl_suffix diff --git a/docs/EN/mpform/table-or-div.html b/docs/EN/mpform/table-or-div.html index 89768ba..a3b85d1 100644 --- a/docs/EN/mpform/table-or-div.html +++ b/docs/EN/mpform/table-or-div.html @@ -71,27 +71,52 @@ enum_start Using table or div in MPForm
MPForm Documentation: Table or not?
Level of difficulty: B
-The standard layout for a form is a table layout. Sometimes a layout without tables is more apropriate +
The standard layout for a form is based on a <div>-layout. This has, for instance, the advantage that in a small browser window or on mobile devices no horizontal scroll bar is required. Instead, the answers slide from beside the questions to below the questions - automagically. Most users feel this as designed more ergonomically.
-A simple example for a layout without tables could look like this:
+ automagically. Most users feel this as designed more ergonomically. + Sometimes however, a table based layout is requested, which is more strict in terms of alignment of + the enclosed elements. Up to version 1.2.x this was the default setting in mpform. +A simple example for a layout without tables looks like this (this is the default setting now):
+
- Header:
- stays empty
- Field Loop:
-- <div class="questionbox">{TITLE}{REQUIRED}:</div>
+
- <div class="answerbox">{FIELD}<br />{HELPTXT}</div>
- <div class="newline"> </div>- <div class="questionbox {CLASSES} mpform_title">{TITLE}{REQUIRED}:
+ <div class="mpform_help">{HELP}</div></div>
+ <div class="answerbox mpform_field">{FIELD}{ERRORTEXT}</div>
+ <div class="newline"></div>- Footer:
- <div class="submitbox">
- <input type="submit" name="submit" value="Submit Form" />
+ <input type="submit" name="submit" class="mpform_submit" value="Submit Form" />
</div>a layout based on tables on the other hand would look ass follows:
++
+ +- Header:
+- <table cellpadding="2" cellspacing="0" border="0">
+- Field Loop:
+- + <tr class="{CLASSES}"><td class="mpform_title">{TITLE}{REQUIRED}:</td>
+
+ <td class="mpform_help">{HELP}</td>
+ <td class="mpform_field">{FIELD}{ERRORTEXT}</td></tr> +- Footer:
+- + <tr><td></td><td></td> + <td><input type="submit" name="submit" class="mpform_submit" value="Formular absenden" /></td></tr> + </table> +
+The classes above are already part of the file frontend.css.
-Please remember that the place holder {HELP} only works in tables. If you use another layout, you need - to use {HELPTXT} instead!
+Note that in versions until 1.2.x the place holder {HELP} only worked + in tables. If you used another layout, you either need an up-to-date version of mpform + or you needed to use {HELPTXT} instead!
diff --git a/docs/images/index.php b/docs/images/index.php index b76579b..6588b68 100644 --- a/docs/images/index.php +++ b/docs/images/index.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/docs/index.php b/docs/index.php index a29dc72..68e2700 100644 --- a/docs/index.php +++ b/docs/index.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/docs/style/index.php b/docs/style/index.php index b76579b..6588b68 100644 --- a/docs/style/index.php +++ b/docs/style/index.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/evalform.php b/evalform.php index a72908a..28e38b3 100644 --- a/evalform.php +++ b/evalform.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? @@ -216,15 +217,6 @@ function eval_form($section_id) { $files_to_attach = array(); $upload_filename = ''; - // Check that submission ID matches - if (!isset($_SESSION['submission_id_'.$section_id]) - OR !isset($_POST['submission_id']) - OR $_SESSION['submission_id_'.$section_id] != $_POST['submission_id']) { - include_once(WB_PATH .'/modules/mpform/paintform.php'); - paint_form($section_id); - return; - } - if(ENABLED_ASP && ( // form faked? Check the honeypot-fields. ( !isset($_POST['submitted_when'.$section_id]) OR !isset($_SESSION['submitted_when'.$section_id])) @@ -252,6 +244,24 @@ function eval_form($section_id) { if($query_settings->numRows() > 0) { $fetch_settings = $query_settings->fetchRow(); + $is_following = $fetch_settings['is_following']; + // Check that submission ID matches + if (!isset($_SESSION['submission_id_'.$section_id]) + OR !isset($_POST['submission_id']) + OR $_SESSION['submission_id_'.$section_id] != $_POST['submission_id']) { + if ($is_following) { + $sUrlToGo = WB_URL.PAGES_DIRECTORY; + if(headers_sent()) + $admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'],$sUrlToGo); + else + header("Location: ". $sUrlToGo); + exit(0); + } + include_once(WB_PATH .'/modules/mpform/paintform.php'); + paint_form($section_id); + return; + } + $email_from = $fetch_settings['email_from']; if(substr($email_from, 0, 5) == 'field') { // Set the email from field to what the user entered in the specified field @@ -345,6 +355,9 @@ function eval_form($section_id) { $err_txt = array(); $html_data_user = ''; $html_data_site = ''; + $iSID = $_SESSION['submission_id_'.$section_id]; + if(isset($_SESSION['html_data_user'.$iSID])) $html_data_user = $_SESSION['html_data_user'.$iSID]; + if(isset($_SESSION['html_data_site'.$iSID])) $html_data_site = $_SESSION['html_data_site'.$iSID]; $format = DEFAULT_DATE_FORMAT. " " .DEFAULT_TIME_FORMAT; $now = date($format); @@ -1021,8 +1034,11 @@ function eval_form($section_id) { // Now check if the email was sent successfully if (isset($success) AND $success == true) { // can't do this in captcha module when multiple forms on one page! - if (isset($_SESSION['captcha_time'])) unset($_SESSION['captcha_time']); - + if (isset($_SESSION['captcha_time'])) unset($_SESSION['captcha_time']); + + $_SESSION['html_data_user'.$iSID] = $html_data_user; + $_SESSION['html_data_site'.$iSID] = $html_data_site; + // execute private function in private.php, if available if (function_exists('private_function_on_success')) { $success = private_function_on_success($section_id); @@ -1037,6 +1053,8 @@ function eval_form($section_id) { ); // delete the referer page reference after it did its work: unset($_SESSION['href']); + unset($_SESSION['html_data_user'.$iSID]); + unset($_SESSION['html_data_site'.$iSID]); } else { $query_menu = $database->query( @@ -1051,7 +1069,8 @@ function eval_form($section_id) { . PAGES_DIRECTORY . $fetch_settings['link'] . PAGE_EXTENSION; - echo ""; + $_SESSION['following_page_'.$success_page]=$iSID; + echo ""; } } } @@ -1059,6 +1078,8 @@ function eval_form($section_id) { // delete the referer page reference after it did its work: unset($_SESSION['href']); unset($success); + unset($_SESSION['following_page_'.PAGE_ID]); + if (isset($_SESSION['mpf'])) { unset ($_SESSION['mpf']); } diff --git a/export.php b/export.php index 9845406..cac60e4 100644 --- a/export.php +++ b/export.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/frontend.default.css b/frontend.default.css index e42bcca..3812c50 100644 --- a/frontend.default.css +++ b/frontend.default.css @@ -1,5 +1,22 @@ +@import url("../../include/jscalendar/calendar-system.css"); + +/* calendar: */ + +.calendar .nav { + background: #DDDDDD url("../../include/jscalendar/menuarrow.gif") no-repeat 100% 100%; +} + +.calendar .combo { + z-index: 99; +} + + /* new classes: */ -/**/ + +div.mpform { + background-color:#fff; +} + div.mpform p { padding:1px; margin:1px; @@ -44,6 +61,10 @@ div.mpform div.newline { clear: both; margin: 0; padding: 0; + margin: 0px; + border-width: 0px; + height: 0px; + width: 100%; } div.mpform div.questionbox { @@ -51,12 +72,9 @@ div.mpform div.questionbox { float:left; width:180px; height:auto; - background:#ffd; padding: 4px; margin: 2px 0px 2px 2px; - border-width: 1px 0px 1px 1px; - border-style: solid; - border-color: #aa3; + border-width: 0px; text-align: right; } @@ -65,12 +83,9 @@ div.mpform fieldset div.questionbox { float:left; width: 172px; height:auto; - background:#ffd; padding: 4px; margin: 2px 0px 2px 2px; - border-width: 1px 0px 1px 1px; - border-style: solid; - border-color: #aa3; + border-width: 0px; text-align: right; } @@ -78,7 +93,6 @@ div.mpform div.answerbox { float:left; width:420px; height:auto; - background:#ffd; padding: 4px; margin: 2px 2px 2px 0; } @@ -87,10 +101,9 @@ div.mpform fieldset div.answerbox { float:left; width: 412px; height:auto; - background:#ffd; padding: 4px; - margin: 2px 2px 2px 0; - border: 1px solid #aa3; + margin: 2px 2px 2px 0px; + border: 0px; } div.mpform div.submitbox { @@ -119,6 +132,7 @@ div.mpform div.submitbox input { vertical-align: top; padding: 6px; background-color: #f7f7f7; + text-align: left; color: black; } @@ -184,7 +198,8 @@ div.mpform_missing { background-color: white; } -.mpform_date, .mpform_err_date{ +.mpform_date, +.mpform_err_date{ width: 120px; } @@ -193,7 +208,8 @@ div.mpform_missing { border: 0; vertical-align: middle; } -.mpform_email, .mpform_err_email { +.mpform_email, +.mpform_err_email { width:410px; } @@ -263,8 +279,7 @@ span.mpform_small { } .mpform_help_box_div{ - -/*background-color:#5587B1;*/ + background-color:#5587B1; } .mpform_help_box_hr { @@ -297,272 +312,59 @@ div.mpform_results { padding: 6px; } -/* >>> Start Calendar */ -.calendar { - position: relative; - display: none; - border: 1px solid; - border-color: #fff #000 #000 #fff; - font-size: 11px; - cursor: default; - background: Window; - color: WindowText; - font-family: tahoma,verdana,sans-serif; -} - -.calendar table { - border: 1px solid; - border-color: #fff #000 #000 #fff; - font-size: 11px; - cursor: default; - background: Window; - color: WindowText; - font-family: tahoma,verdana,sans-serif; -} - -/* Header part -- contains navigation buttons and day names. */ - -.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ - text-align: center; - padding: 1px; - border: 1px solid; - border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; - background: ButtonFace; -} - -.calendar .nav { - background: ButtonFace url(../../include/jscalendar/menuarrow.gif) no-repeat 100% 100%; -} - -.calendar thead .title { /* This holds the current "month, year" */ - font-weight: bold; - padding: 1px; - border: 1px solid #000; - background: ActiveCaption; - color: CaptionText; - text-align: center; -} - -.calendar thead .headrow { /* Rowcontaining navigation buttons */ -} - -.calendar thead .daynames { /* Row containing the day names */ -} - -.calendar thead .name { /* Cells containing the day names */ - border-bottom: 1px solid ButtonShadow; - padding: 2px; - text-align: center; - background: ButtonFace; - color: ButtonText; -} - -.calendar thead .weekend { /* How a weekend day name shows in header */ - color: #f00; -} - -.calendar thead .hilite { /* How do the buttons in header appear when hover */ - border: 2px solid; - padding: 0px; - border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; -} - -.calendar thead .active { /* Active (pressed) buttons in header */ - border-width: 1px; - padding: 2px 0px 0px 2px; - border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; -} - -/* The body part -- contains all the days in month. */ - -.calendar tbody .day { /* Cells containing month days dates */ - width: 2em; - text-align: right; - padding: 2px 4px 2px 2px; -} -.calendar tbody .day.othermonth { - font-size: 80%; - color: #aaa; -} -.calendar tbody .day.othermonth.oweekend { - color: #faa; -} - -.calendar table .wn { - padding: 2px 3px 2px 2px; - border-right: 1px solid ButtonShadow; - background: ButtonFace; - color: ButtonText; -} - -.calendar tbody .rowhilite td { - background: Highlight; - color: HighlightText; -} - -.calendar tbody td.hilite { /* Hovered cells */ - padding: 1px 3px 1px 1px; - border-top: 1px solid #fff; - border-right: 1px solid #000; - border-bottom: 1px solid #000; - border-left: 1px solid #fff; -} - -.calendar tbody td.active { /* Active (pressed) cells */ - padding: 2px 2px 0px 2px; - border: 1px solid; - border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; -} - -.calendar tbody td.selected { /* Cell showing selected date */ - font-weight: bold; - border: 1px solid; - border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; - padding: 2px 2px 0px 2px; - background: ButtonFace; - color: ButtonText; -} - -.calendar tbody td.weekend { /* Cells showing weekend days */ - color: #f00; -} -.calendar tbody td.today { /* Cell showing today date */ - font-weight: bold; - color: #00f; -} - -.calendar tbody td.disabled { - color: GrayText; -} - -.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ - visibility: hidden; -} - -.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ - display: none; -} - -/* The footer part -- status bar and "Close" button */ - -.calendar tfoot .footrow { /* The in footer (only one right now) */ -} - -.calendar tfoot .ttip { /* Tooltip (status bar) cell */ - background: ButtonFace; - padding: 1px; - border: 1px solid; - border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; - color: ButtonText; - text-align: center; -} - -.calendar tfoot .hilite { /* Hover style for buttons in footer */ - border-top: 1px solid #fff; - border-right: 1px solid #000; - border-bottom: 1px solid #000; - border-left: 1px solid #fff; - padding: 1px; - background: #e4e0d8; -} - -.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ - padding: 2px 0px 0px 2px; - border-top: 1px solid #000; - border-right: 1px solid #fff; - border-bottom: 1px solid #fff; - border-left: 1px solid #000; +/*** Don't remove the class nixhier, this is required for ASP ***/ +.mpform_hiddenfield, +.nixhier { + display:none; } -/* Combo boxes (menus that display months/years for direct selection) */ - -.calendar .combo { - position: absolute; - display: none; - width: 4em; - top: 0px; - left: 0px; - cursor: default; - border: 1px solid; - border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; - background: Menu; - color: MenuText; - font-size: 90%; - padding: 1px; +/*** Popup box for displaying the help text ***/ +.HelpDiv { + display: none; + position: fixed; z-index: 99; -} - -.calendar .combo .label, -.calendar .combo .label-IEfix { - text-align: center; - padding: 1px; -} - -.calendar .combo .label-IEfix { - width: 4em; -} - -.calendar .combo .active { - padding: 0px; - border: 1px solid #000; -} - -.calendar .combo .hilite { - background: Highlight; - color: HighlightText; -} - -.calendar td.time { - border-top: 1px solid ButtonShadow; - padding: 1px 0px; - text-align: center; - background-color: ButtonFace; -} - -.calendar td.time .hour, -.calendar td.time .minute, -.calendar td.time .ampm { - padding: 0px 3px 0px 4px; - border: 1px solid #889; - font-weight: bold; - background-color: Menu; -} - -.calendar td.time .ampm { - text-align: center; -} - -.calendar td.time .colon { - padding: 0px 2px 0px 3px; + padding-top: 100px; + left: 0; + top: 0; + width: 100%; + height: 100%; + overflow: auto; + background-color: rgb(0,0,0); + background-color: rgba(0,0,0,0.4); +} + +.HelpDiv-content { + background-color: #fefefe; + margin: auto; + padding: 20px; + border: 1px solid #888; + width: 65%; +} + +.close { + color: #aaaaaa; + float: right; + font-size: 28px; font-weight: bold; + padding-right: 10px; } -.calendar td.time span.hilite { - border-color: #000; - background-color: Highlight; - color: HighlightText; -} - -.calendar td.time span.active { - border-color: #f00; - background-color: #000; - color: #0f0; +.close:hover, +.close:focus { + color: #000; + text-decoration: none; + cursor: pointer; } -/* <<< End Calendar */ -/*** Don't remove the class nixhier, this is required for ASP ***/ -.mpform_hiddenfield, -.nixhier { - display:none; -} /* deprecated definitions, only for forms created with mpform < 0.3.0 mpform_td_help is now called mpform_help */ .mpform_td_help{ - width:16px; - vertical-align:top; + width: 16px; + vertical-align: top; } + diff --git a/frontend_body.js b/frontend_body.js new file mode 100644 index 0000000..ed0029e --- /dev/null +++ b/frontend_body.js @@ -0,0 +1,74 @@ + function helpme(id,msg,title,help) { + if( document.getElementById(id).parentNode.parentNode.parentNode.parentNode.tagName.toUpperCase()=="TABLE" ){ + // document.getElementById(id).parentNode.tagName!="DIV"){ + var theTableBody = document.getElementById(id).parentNode.parentNode.parentNode.parentNode.tBodies[0]; + var row = 1+document.getElementById(id).parentNode.parentNode.rowIndex; + if ((theRowOpened == row) && (theTableOpened == theTableBody)) { + removeRow(theRowOpened, theTableOpened); + theRowOpened = -1; + } else { + if (theRowOpened > 0) { + if(theRowOpened ' + +((title) + ? '
' + +help + +': ' + +title + +'
' + : '') + +'' + +msg + +'
'; + } + function removeRow(row,theTableBody) { + theTableBody.deleteRow(row); + } diff --git a/functions.php b/functions.php index a545a8f..2333378 100644 --- a/functions.php +++ b/functions.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/help.php b/help.php index 5cfe00b..c3bf2f5 100644 --- a/help.php +++ b/help.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/htt/backend_modify.htt b/htt/backend_modify.htt index 0a14204..8df8bcc 100644 --- a/htt/backend_modify.htt +++ b/htt/backend_modify.htt @@ -71,27 +71,27 @@-
+ - {field_field_title} +{field_field_title} {type_field} {REQUIRED_ICON} {multiselect_field} - + - + - + diff --git a/htt/index.php b/htt/index.php index 0d49d28..750993f 100644 --- a/htt/index.php +++ b/htt/index.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/images/index.php b/images/index.php index 0d49d28..750993f 100644 --- a/images/index.php +++ b/images/index.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/import.php b/import.php index b35ab0c..d8c0bb1 100644 --- a/import.php +++ b/import.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/index.php b/index.php index b76579b..6588b68 100644 --- a/index.php +++ b/index.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/info.php b/info.php index da74bae..c20f8c3 100644 --- a/info.php +++ b/info.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? @@ -21,7 +22,7 @@ $module_directory = 'mpform'; $module_name = 'mpForm'; $module_function = 'page'; -$module_version = '1.2.3'; +$module_version = '1.3.0'; $module_platform = '2.8.x'; $module_status = 'stable'; $module_author = 'Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others'; diff --git a/install.php b/install.php index c51ba99..e3d0cfd 100644 --- a/install.php +++ b/install.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/jscalendar.php b/jscalendar.php index 0c9214d..037eb42 100644 --- a/jscalendar.php +++ b/jscalendar.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/languages/DE.php b/languages/DE.php index 8d0d687..a6a9176 100644 --- a/languages/DE.php +++ b/languages/DE.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/languages/EN.php b/languages/EN.php index 34f5825..d4f986a 100644 --- a/languages/EN.php +++ b/languages/EN.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/languages/FR.php b/languages/FR.php index b8ab1ad..46e3508 100644 --- a/languages/FR.php +++ b/languages/FR.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/languages/IT.php b/languages/IT.php index 58e9fd2..df05b5d 100644 --- a/languages/IT.php +++ b/languages/IT.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/languages/NL.php b/languages/NL.php index 21a651d..2030c99 100644 --- a/languages/NL.php +++ b/languages/NL.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/languages/NO.php b/languages/NO.php index 800d73b..cc1a7f2 100644 --- a/languages/NO.php +++ b/languages/NO.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/languages/index.php b/languages/index.php index 0d49d28..750993f 100644 --- a/languages/index.php +++ b/languages/index.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/modify.php b/modify.php index 557de32..909c86d 100644 --- a/modify.php +++ b/modify.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? @@ -101,7 +102,7 @@ // Include the ordering class require_once(WB_PATH.'/framework/class.order.php'); -// Create new order object an reorder +// Create new order object and reorder $order = new order(TP_MPFORM.'fields', 'position', 'field_id', 'section_id'); $order->clean($section_id); require_once(WB_PATH.'/modules/'.$mod_dir.'/functions.php'); diff --git a/modify_adv_settings.php b/modify_adv_settings.php index e851770..77b77dc 100644 --- a/modify_adv_settings.php +++ b/modify_adv_settings.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/modify_field.php b/modify_field.php index 5f395a9..07ee0cc 100644 --- a/modify_field.php +++ b/modify_field.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/modify_settings.php b/modify_settings.php index fd8228e..a02ce43 100644 --- a/modify_settings.php +++ b/modify_settings.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/move_down.php b/move_down.php index 3f27b0f..9605507 100644 --- a/move_down.php +++ b/move_down.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? @@ -19,20 +20,36 @@ /* This backend file changes the ordering of the fields in the form. */ require('../../config.php'); -// Get id -if(!isset($_GET['field_id']) OR !is_numeric($_GET['field_id'])) { - header("Location: index.php"); - exit(0); -} else { - $field_id = $_GET['field_id']; -} - require_once(dirname(__FILE__).'/constants.php'); - // Include WB admin wrapper script +$update_when_modified = true; // Tells script to update when this page was last updated +$admin_header = FALSE; require(WB_PATH.'/modules/admin.php'); +// Get id +if ( method_exists( $admin, 'checkIDKEY' ) ) { + $field_id = $admin->checkIDKEY('field_id', false, 'GET'); + if (!$field_id) { + $admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], + ADMIN_URL.'/pages/modify.php?page_id='.(int)$page_id); + exit(); + } +} else { + if(!isset($_GET['field_id']) OR !is_numeric($_GET['field_id'])) { + $sUrlToGo = ADMIN_URL."/pages/index.php"; + if(headers_sent()) + $admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'],$sUrlToGo); + else + header("Location: ". $sUrlToGo); + exit(0); + } else { + $field_id = $_GET['field_id']; + } +} + +$admin->print_header(); + // Include the ordering class require(WB_PATH.'/framework/class.order.php'); diff --git a/move_up.php b/move_up.php index cd33a18..4b3df88 100644 --- a/move_up.php +++ b/move_up.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? @@ -19,32 +20,53 @@ /* This backend file changes the ordering of the fields in the form. */ require('../../config.php'); -// Get id -if(!isset($_GET['field_id']) OR !is_numeric($_GET['field_id'])) { - header("Location: index.php"); - exit(0); -} else { - $field_id = $_GET['field_id']; -} - - require_once(dirname(__FILE__).'/constants.php'); - // Include WB admin wrapper script +$update_when_modified = true; // Tells script to update when this page was last updated +$admin_header = FALSE; require(WB_PATH.'/modules/admin.php'); +// Get id +if ( method_exists( $admin, 'checkIDKEY' ) ) { + $field_id = $admin->checkIDKEY('field_id', false, 'GET'); + if (!$field_id) { + $admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], + ADMIN_URL.'/pages/modify.php?page_id='.(int)$page_id); + exit(); + } +} else { + if(!isset($_GET['field_id']) OR !is_numeric($_GET['field_id'])) { + $sUrlToGo = ADMIN_URL."/pages/index.php"; + if(headers_sent()) + $admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'],$sUrlToGo); + else + header("Location: ". $sUrlToGo); + exit(0); + } else { + $field_id = $_GET['field_id']; + } +} + +$admin->print_header(); + // Include the ordering class require(WB_PATH.'/framework/class.order.php'); // Create new order object an reorder -$order = new order(TP_MPFORM.'fields', 'position', 'field_id', 'section_id'); +$order = new order( + TP_MPFORM.'fields', + 'position', + 'field_id', + 'section_id' +); + if($order->move_up($field_id)) { - $admin->print_success($TEXT['SUCCESS'], - ADMIN_URL.'/pages/modify.php?page_id='.(int)$page_id); + $admin->print_success($TEXT['SUCCESS'], + ADMIN_URL.'/pages/modify.php?page_id='.(int)$page_id); } else { - $admin->print_error($TEXT['ERROR'], - ADMIN_URL.'/pages/modify.php?page_id='.(int)$page_id); + $admin->print_error($TEXT['ERROR'], + ADMIN_URL.'/pages/modify.php?page_id='.(int)$page_id); } // Print admin footer diff --git a/paintform.php b/paintform.php index 66dbea3..95ddb44 100644 --- a/paintform.php +++ b/paintform.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? @@ -182,48 +183,14 @@ function new_submission_id() { } if (!function_exists('js_for_help')) { -function js_for_help() { -echo << - // 0) { - if(theRowOpened \"\n" - ." +((title) ? '
'+help+': '\n" - ." +title+'<\/h5>
' : '')\n" - ." +''+msg+'<\/h6><\/div>'\n"; -echo <<
- -JS2; + function js_for_help() { + echo '\n"; } } @@ -244,7 +211,7 @@ function remove_comments($content) { if (!function_exists('paint_form')) { function paint_form( $iSID /*section_id*/, $aMissing = array(), $aErrTxt = array(), $isnew = true) { - global $database, $MENU, $TEXT, $LANG; + global $database, $MENU, $TEXT, $LANG, $admin; $mpform_code=""; if($aMissing != array()) { @@ -289,9 +256,23 @@ function paint_form( $iSID /*section_id*/, $aMissing = array(), } // Set new submission ID in session if it is not a follower on a multipage form - if (!$is_following) { - $_SESSION['submission_id_'.$iSID] = new_submission_id(); + if ($is_following) { + if (!isset($_SESSION['following_page_'.PAGE_ID]) + || ($_SESSION['following_page_'.PAGE_ID]!=$_SESSION['submission_id_'.$iSID])) { + $sUrlToGo = WB_URL.PAGES_DIRECTORY; + if(headers_sent()) + $admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'],$sUrlToGo); + else + header("Location: ". $sUrlToGo); + exit(0); + } + } else { + $new_SID = new_submission_id(); + $_SESSION['submission_id_'.$iSID] = $new_SID; + //$_SESSION['submission_id'] = $new_SID; } + + if ($success_page != 'none') { $qs = $database->query( @@ -303,7 +284,9 @@ function paint_form( $iSID /*section_id*/, $aMissing = array(), if($qs->numRows() > 0) { $s = $qs->fetchRow(); $sid = $s['section_id']; - $_SESSION['submission_id_'.$sid] = substr($_SESSION['submission_id_'.$iSID], 0, 8); + $new_SID = substr($_SESSION['submission_id_'.$iSID], 0, 8); + $_SESSION['submission_id_'.$sid] = $new_SID; + //$_SESSION['submission_id'] = $new_SID; } } @@ -848,21 +831,25 @@ function paint_form( $iSID /*section_id*/, $aMissing = array(), } } - if ($field['type'] != 'html') { - - $aReplacements['{CLASSES}'] = $classes; - $aReplacements['{ERRORTEXT}'] - = (isset($aErrTxt[$iFID])) ? ' '.$aErrTxt[$iFID].'
' : ''; - if($field['type'] != '') { - echo str_replace( - array_keys($aReplacements), - array_values($aReplacements), - $field_loop - ).PHP_EOL; - } + if(($field['type'] == 'hiddenfield') && (!$bTableLayout)){ + echo $aReplacements['{FIELD}'].PHP_EOL; } else { - if(($field['extra'] == '') or (preg_match('/form/',$field['extra']))) - echo remove_comments(htmlspecialchars_decode($field['value'])); + if ($field['type'] != 'html') { + + $aReplacements['{CLASSES}'] = $classes; + $aReplacements['{ERRORTEXT}'] + = (isset($aErrTxt[$iFID])) ? ''.$aErrTxt[$iFID].'
' : ''; + if($field['type'] != '') { + echo str_replace( + array_keys($aReplacements), + array_values($aReplacements), + $field_loop + ).PHP_EOL; + } + } else { + if(($field['extra'] == '') or (preg_match('/form/',$field['extra']))) + echo remove_comments(htmlspecialchars_decode($field['value'])); + } } if (isset($tmp_field_loop)) { $field_loop = $tmp_field_loop; diff --git a/pear/FixPHP5PEARWarnings.php b/pear/FixPHP5PEARWarnings.php index 9be7ec7..9189d3d 100644 --- a/pear/FixPHP5PEARWarnings.php +++ b/pear/FixPHP5PEARWarnings.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/pear/index.php b/pear/index.php index f7b8300..a53a1c0 100644 --- a/pear/index.php +++ b/pear/index.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/pear/languages/DE.php b/pear/languages/DE.php index dc0ec87..6a8efde 100644 --- a/pear/languages/DE.php +++ b/pear/languages/DE.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/pear/languages/EN.php b/pear/languages/EN.php index 8f5ed54..bb5de46 100644 --- a/pear/languages/EN.php +++ b/pear/languages/EN.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/pear/languages/FR.php b/pear/languages/FR.php new file mode 100644 index 0000000..0856b77 --- /dev/null +++ b/pear/languages/FR.php @@ -0,0 +1,46 @@ += 5.3 ? + * + **/ +/* The file provides strings in French language for the PEAR part. */ + +$UPLOAD_MESSAGE['TOO_LARGE'] = "La taille du fichier est trop grand." + . "La taille maximale autorisée est: %s octets"; +$UPLOAD_MESSAGE['MISSING_DIR'] = 'Le répertoire de destination manquant. '; +$UPLOAD_MESSAGE['IS_NOT_DIR'] = 'Le répertoire de destination n\'existe ' + . 'ou est un fichier régulier.'; +$UPLOAD_MESSAGE['NO_WRITE_PERMS'] = 'Le répertoire de destination n\'a pas ' + . 'autorisations en écriture.'; +$UPLOAD_MESSAGE['NO_USER_FILE'] = 'Vous n\'importe quel fichier sélectionné ' + . 'pour le téléchargement. '; +$UPLOAD_MESSAGE['BAD_FORM'] = 'Le formulaire html ne contenir le nécessaire ' + . '"Méthode = "post" enctype = "multipart/form-data".'; +$UPLOAD_MESSAGE['E_FAIL_COPY'] = 'Impossible de copier le fichier temporaire.'; +$UPLOAD_MESSAGE['E_FAIL_MOVE'] = 'Impossible de déplacer le fichier.'; +$UPLOAD_MESSAGE['FILE_EXISTS'] = 'existe déjà le fichier de destination.'; +$UPLOAD_MESSAGE['CANNOT_OVERWRITE'] = 'Le fichier de destination existe déjà ' + . 'et ne pouvait pas être écrasé. '; +$UPLOAD_MESSAGE['NOT_ALLOWED_EXTENSION'] = 'extension de fichier non autorisé'; +$UPLOAD_MESSAGE['PARTIAL'] = 'Le fichier a été que partiellement ' + . 'téléchargé.'; +$UPLOAD_MESSAGE['ERROR'] = 'Upload d\'erreur:'; +$UPLOAD_MESSAGE['DEV_NO_DEF_FILE'] = 'Ce nom de fichier est pas défini dans la forme ' + . 'comme <input type="file" name=?>.'; + + diff --git a/pear/languages/IT.php b/pear/languages/IT.php new file mode 100644 index 0000000..f43768b --- /dev/null +++ b/pear/languages/IT.php @@ -0,0 +1,43 @@ += 5.3 ? + * + **/ +/* The file provides strings in Italian language for the PEAR part. */ + +$UPLOAD_MESSAGE['TOO_LARGE'] = "dimensione del file troppo grande. " + . "La dimensione massima consentita è %s bytes."; +$UPLOAD_MESSAGE['MISSING_DIR'] = 'directory di destinazione mancante.'; +$UPLOAD_MESSAGE['IS_NOT_DIR'] = 'La directory di destinazione non esiste ' + . 'o è un file regolare.'; +$UPLOAD_MESSAGE['NO_WRITE_PERMS'] = 'La directory di destinazione non ha ' + . 'permessi di scritto.'; +$UPLOAD_MESSAGE['NO_USER_FILE'] = 'si rifugio selezionato un file per il caricamento. '; +$UPLOAD_MESSAGE['BAD_FORM'] = 'Il form html non contenere la richiesta ' + . 'method="post" enctype="multipart/form-data".'; +$UPLOAD_MESSAGE['E_FAIL_COPY'] = 'Impossibile copiare il file temporaneo.'; +$UPLOAD_MESSAGE['E_FAIL_MOVE'] = 'Impossibile spostare il file.'; +$UPLOAD_MESSAGE['FILE_EXISTS'] = 'Il file di destinazione esiste già.'; +$UPLOAD_MESSAGE['CANNOT_OVERWRITE'] = 'Il file di destinazione esiste già ' + . 'e non poteva essere sovrascritti.'; +$UPLOAD_MESSAGE['NOT_ALLOWED_EXTENSION'] = 'estensione del file non è permesso.'; +$UPLOAD_MESSAGE['PARTIAL'] = 'Il file è stato caricato solo parzialmente.'; +$UPLOAD_MESSAGE['ERROR'] = 'Carica di errore:'; +$UPLOAD_MESSAGE['DEV_NO_DEF_FILE'] = 'Questo nome non è definito nella forma ' + . 'Come <input type="file" name=?>.'; + diff --git a/pear/languages/index.php b/pear/languages/index.php index 72916f9..a61c821 100644 --- a/pear/languages/index.php +++ b/pear/languages/index.php @@ -7,11 +7,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/private.default.php b/private.default.php index 6bf1b11..621ded7 100644 --- a/private.default.php +++ b/private.default.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/save_adv_settings.php b/save_adv_settings.php index fbea3b0..a7fec97 100644 --- a/save_adv_settings.php +++ b/save_adv_settings.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/save_field.php b/save_field.php index 385a8d4..5876245 100644 --- a/save_field.php +++ b/save_field.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/save_settings.php b/save_settings.php index 322baf2..1f794a0 100644 --- a/save_settings.php +++ b/save_settings.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/uninstall.php b/uninstall.php index 93a3c2b..0b7ac89 100644 --- a/uninstall.php +++ b/uninstall.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/upgrade.php b/upgrade.php index 7e22183..fcaa152 100644 --- a/upgrade.php +++ b/upgrade.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? diff --git a/view.php b/view.php index 94d7888..07dbb02 100644 --- a/view.php +++ b/view.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ? @@ -41,6 +42,13 @@ echo "\n\n"; } +// check if frontend_body.js file needs to be included into the of view.php +if((!function_exists('register_frontend_modfiles_body') + || !defined('MOD_FRONTEND_BODY_JAVASCRIPT_REGISTERED')) + && file_exists(WB_PATH .'/modules/mpform/frontend_body.js')) { + echo '' . "\n"; +} + require_once(WB_PATH.'/include/captcha/captcha.php'); // include private functions, if available diff --git a/view_submission.php b/view_submission.php index 86da4e0..fed91d0 100644 --- a/view_submission.php +++ b/view_submission.php @@ -6,11 +6,12 @@ * * @category page * @module mpform - * @version 1.2.3 + * @version 1.3.0 * @authors Frank Heyne, NorHei(heimsath.org), Christian M. Stefan (Stefek), Martin Hecht (mrbaseman) and others * @copyright (c) 2009 - 2016, Website Baker Org. e.V. * @url http://forum.websitebaker.org/index.php/topic,28496.0.html * @url https://github.com/WebsiteBaker-modules/mpform + * @url https://forum.wbce.org/viewtopic.php?id=661 * @license GNU General Public License * @platform 2.8.x * @requirements probably php >= 5.3 ?