Version Description
(March 17, 2014) = * Fixed Bug: Unexpected T_CONSTANT_ENCAPSED_STRING When Activating
Download this release
Release Info
Developer | fpcorso |
Plugin | Quiz And Survey Master (Formerly Quiz Master Next) |
Version | 1.9.3 |
Comparing to | |
See all releases |
Code changes from version 1.9.2 to 1.9.3
- includes/mlw_quiz.php +14 -14
- includes/mlw_update.php +1 -1
- mlw_quizmaster2.php +1 -1
- readme.txt +4 -1
includes/mlw_quiz.php
CHANGED
@@ -679,21 +679,21 @@ function mlw_quiz_shortcode($atts)
|
|
679 |
$mlw_message_certificate = str_replace( "%TIMER%" , $mlw_qmn_timer, $mlw_message_certificate);
|
680 |
$mlw_message_certificate = str_replace( "%CURRENT_DATE%" , date("F jS Y"), $mlw_message_certificate);
|
681 |
$mlw_message_certificate = str_replace( "\n" , "<br>", $mlw_message_certificate);
|
682 |
-
$mlw_qmn_certifiicate_file =
|
683 |
-
include
|
684 |
-
|
685 |
-
|
686 |
-
$mlw_qmn_certifiicate_file .= $mlw_certificate_options[3] != '' ?
|
687 |
-
$mlw_qmn_certifiicate_file .=
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
$mlw_qmn_certifiicate_file .= $mlw_certificate_options[2] != '' ?
|
694 |
-
$mlw_qmn_certifiicate_file .=
|
695 |
unlink(__FILE__);
|
696 |
-
?>
|
697 |
$mlw_qmn_certificate_filename = str_replace(home_url()."/", '', plugin_dir_url( __FILE__ ))."certificates/mlw_qmn_quiz".date("YmdHis").$mlw_qmn_timer.".php";
|
698 |
file_put_contents($mlw_qmn_certificate_filename, $mlw_qmn_certifiicate_file);
|
699 |
$mlw_qmn_certificate_filename = plugin_dir_url( __FILE__ )."certificates/mlw_qmn_quiz".date("YmdHis").$mlw_qmn_timer.".php";
|
679 |
$mlw_message_certificate = str_replace( "%TIMER%" , $mlw_qmn_timer, $mlw_message_certificate);
|
680 |
$mlw_message_certificate = str_replace( "%CURRENT_DATE%" , date("F jS Y"), $mlw_message_certificate);
|
681 |
$mlw_message_certificate = str_replace( "\n" , "<br>", $mlw_message_certificate);
|
682 |
+
$mlw_qmn_certifiicate_file = '<?php
|
683 |
+
include "'.plugin_dir_path( __FILE__ ).'WriteHTML.php";
|
684 |
+
$pdf = new PDF_HTML();
|
685 |
+
$pdf->AddPage("L");';
|
686 |
+
$mlw_qmn_certifiicate_file .= $mlw_certificate_options[3] != '' ? '$pdf->Image("'.$mlw_certificate_options[3].'",0,0,$pdf->w, $pdf->h);' : '';
|
687 |
+
$mlw_qmn_certifiicate_file .= '$pdf->Ln(20);
|
688 |
+
$pdf->SetFont("Arial","B",24);
|
689 |
+
$pdf->MultiCell(280,20,"'.$mlw_certificate_options[0].'", 0, "C");
|
690 |
+
$pdf->Ln(15);
|
691 |
+
$pdf->SetFont("Arial","",16);
|
692 |
+
$pdf->WriteHTML("<p align=\'center\'>'.$mlw_message_certificate.'</p>");';
|
693 |
+
$mlw_qmn_certifiicate_file .= $mlw_certificate_options[2] != '' ? '$pdf->Image("'.$mlw_certificate_options[2].'",110,130);' : '';
|
694 |
+
$mlw_qmn_certifiicate_file .= '$pdf->Output("mlw_qmn_certificate.pdf", "D");
|
695 |
unlink(__FILE__);
|
696 |
+
?>';
|
697 |
$mlw_qmn_certificate_filename = str_replace(home_url()."/", '', plugin_dir_url( __FILE__ ))."certificates/mlw_qmn_quiz".date("YmdHis").$mlw_qmn_timer.".php";
|
698 |
file_put_contents($mlw_qmn_certificate_filename, $mlw_qmn_certifiicate_file);
|
699 |
$mlw_qmn_certificate_filename = plugin_dir_url( __FILE__ )."certificates/mlw_qmn_quiz".date("YmdHis").$mlw_qmn_timer.".php";
|
includes/mlw_update.php
CHANGED
@@ -6,7 +6,7 @@ function mlw_quiz_update()
|
|
6 |
{
|
7 |
|
8 |
//Update this variable each update. This is what is checked when the plugin is deciding to run the upgrade script or not.
|
9 |
-
$data = "1.9.
|
10 |
if ( ! get_option('mlw_quiz_master_version'))
|
11 |
{
|
12 |
add_option('mlw_quiz_master_version' , $data);
|
6 |
{
|
7 |
|
8 |
//Update this variable each update. This is what is checked when the plugin is deciding to run the upgrade script or not.
|
9 |
+
$data = "1.9.3";
|
10 |
if ( ! get_option('mlw_quiz_master_version'))
|
11 |
{
|
12 |
add_option('mlw_quiz_master_version' , $data);
|
mlw_quizmaster2.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/*
|
4 |
Plugin Name: Quiz Master Next
|
5 |
Description: Use this plugin to add multiple quizzes, tests, or surveys to your website.
|
6 |
-
Version: 1.9.
|
7 |
Author: Frank Corso
|
8 |
Author URI: http://www.mylocalwebstop.com/
|
9 |
Plugin URI: http://www.mylocalwebstop.com/
|
3 |
/*
|
4 |
Plugin Name: Quiz Master Next
|
5 |
Description: Use this plugin to add multiple quizzes, tests, or surveys to your website.
|
6 |
+
Version: 1.9.3
|
7 |
Author: Frank Corso
|
8 |
Author URI: http://www.mylocalwebstop.com/
|
9 |
Plugin URI: http://www.mylocalwebstop.com/
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: quiz, test, score, survey, contact, form, email, answer, question
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.8.1
|
7 |
-
Stable tag: 1.9.
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
The easiest and most flexible way to add multiple quizzes, tests, and surveys to your website.
|
@@ -99,6 +99,9 @@ Feel free to use the widget on the quiz dashboard within the plugin or from the
|
|
99 |
|
100 |
== Changelog ==
|
101 |
|
|
|
|
|
|
|
102 |
= 1.9.2 (March 17, 2014) =
|
103 |
* Added Ability To Delete Landing Pages
|
104 |
* Added Ability To Have HTML In Correct Answer Info Field
|
4 |
Tags: quiz, test, score, survey, contact, form, email, answer, question
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.8.1
|
7 |
+
Stable tag: 1.9.3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
The easiest and most flexible way to add multiple quizzes, tests, and surveys to your website.
|
99 |
|
100 |
== Changelog ==
|
101 |
|
102 |
+
= 1.9.3 (March 17, 2014) =
|
103 |
+
* Fixed Bug: Unexpected T_CONSTANT_ENCAPSED_STRING When Activating
|
104 |
+
|
105 |
= 1.9.2 (March 17, 2014) =
|
106 |
* Added Ability To Delete Landing Pages
|
107 |
* Added Ability To Have HTML In Correct Answer Info Field
|