Changeset 2367337
- Timestamp:
- 08/23/2020 01:42:40 PM (6 years ago)
- Location:
- anfrageformular/trunk
- Files:
-
- 3 edited
-
Anfrageformular.php (modified) (1 diff)
-
frontend/frontend_view.php (modified) (4 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
anfrageformular/trunk/Anfrageformular.php
r2361750 r2367337 6 6 Author URI: https://anfrageformular.com/ 7 7 Author E-Mail: support@anfrageformular.com 8 Version: 1.0. 18 Version: 1.0.2 9 9 */ 10 10 -
anfrageformular/trunk/frontend/frontend_view.php
r2359775 r2367337 834 834 835 835 function af2_sanitize_answers($ans){ 836 if(is_array($ans) || is_numeric($ans)){ 837 return $ans; 838 } 836 if(is_array($ans)){ 837 foreach ( $ans as &$value ) { 838 $value = af2_sanitize_answers($value); 839 } 840 }else{ 841 $ans = sanitize_text_field($ans); 842 } 843 return $ans; 839 844 } 840 845 … … 848 853 $dataid = sanitize_key($_GET['dataid']); 849 854 $answers = array_map('af2_sanitize_answers',$_GET['answers']); 850 855 851 856 // SQL CHECKS 852 857 $var = af2_sql_check_it($sec); … … 1448 1453 1449 1454 function af2_smtp_mail($host, $user, $password, $port, $type, $to, $from, $from_nam, $subject, $body, $cc, $bcc) { 1450 /* * require_once( ABSPATH . WPINC . '/class-phpmailer.php' ); 1451 global $error; 1452 $mail = new PHPMailer(); 1453 $mail->IsSMTP(); 1454 $mail->SMTPAuth = true; 1455 $mail->SMTPSecure = $type; 1456 $mail->SMTPDebug = 1; 1457 $mail->Host = $host; 1458 $mail->Port = $port; 1459 $mail->Username = $user; 1460 $mail->Password = $password; 1461 $mail->SetFrom($from, $from_name); 1462 $mail->Subject = $subject; 1463 $mail->Body = $body; 1464 $mail->AddAddress($to); 1465 1466 $error = $mail->Send(); 1467 /** 1468 if(!$mail->Send()) { 1469 $error = 'Mail error: '.$mail->ErrorInfo; 1470 } else { 1471 $error = 'Message sent!'; 1472 } */ 1473 1455 1474 1456 $errors = ''; 1475 1457 … … 1557 1539 1558 1540 function af2_smtp_mail2($host, $user, $password, $port, $type, $to, $from, $from_nam, $subject, $body) { 1559 /* * require_once( ABSPATH . WPINC . '/class-phpmailer.php' ); 1560 global $error; 1561 $mail = new PHPMailer(); 1562 $mail->IsSMTP(); 1563 $mail->SMTPAuth = true; 1564 $mail->SMTPSecure = $type; 1565 $mail->SMTPDebug = 1; 1566 $mail->Host = $host; 1567 $mail->Port = $port; 1568 $mail->Username = $user; 1569 $mail->Password = $password; 1570 $mail->SetFrom($from, $from_name); 1571 $mail->Subject = $subject; 1572 $mail->Body = $body; 1573 $mail->AddAddress($to); 1574 1575 $error = $mail->Send(); 1576 /** 1577 if(!$mail->Send()) { 1578 $error = 'Mail error: '.$mail->ErrorInfo; 1579 } else { 1580 $error = 'Message sent!'; 1581 } */ 1582 1541 1583 1542 $errors = ''; 1584 1543 -
anfrageformular/trunk/readme.txt
r2361750 r2367337 5 5 Tested up to: 5.5 6 6 Requires PHP: 5.6 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 20 20 Erstelle mit wenigen Klicks hochwertige Formulare per Drag & Drop, ohne eine Zeile Code anzufassen. 21 21 22 23 22 - **Intuitiv** 24 23 Führe deine Website Besucher intuitiv durch einen verkaufsstarken Prozess, der mehr Leads für dich generiert. 25 24 26 27 25 - **Logik** 28 26 Wenn A - dann B. Baue Fragen und Antworten aufeinander auf und verknüpfe diese um deinen Besucher zum Ziel zu führen. 29 30 27 31 28 - **100% Responsive** … … 94 91 95 92 == Screenshots == 96 1. **Formularbuilder .**97 2. **Fragenbuilder .**98 3. **Lead s.**99 4. **Kontaktformularbuilder .**100 5. **Formularvorschau .**93 1. **Formularbuilder** 94 2. **Fragenbuilder** 95 3. **Lead Übersicht** 96 4. **Kontaktformularbuilder** 97 5. **Formularvorschau** 101 98 102 99 == Changelog == … … 107 104 = 1.0.1 - 14. August 2020 = 108 105 * Fix: Formbuilder color picker conflict with Slider Revolution 106 107 = 1.0.2 - 21. August 2020 = 108 * Fix: Hardened sanitization in contact form to avoid security issues
Note: See TracChangeset
for help on using the changeset viewer.