Version Description
Upgrade to fix minor bugs
Download this release
Release Info
Developer | fpcorso |
Plugin | Quiz And Survey Master (Formerly Quiz Master Next) |
Version | 0.8.6 |
Comparing to | |
See all releases |
Code changes from version 0.8.5 to 0.8.6
- includes/mlw_main_page.php +2 -8
- includes/mlw_quiz_options.php +16 -16
- includes/mlw_update.php +1 -1
- mlw_quizmaster2.php +1 -1
- readme.txt +7 -1
includes/mlw_main_page.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Generates the support for Quiz Master Next
|
4 |
*/
|
5 |
/*
|
6 |
-
Copyright
|
7 |
*/
|
8 |
|
9 |
|
@@ -159,13 +159,7 @@ function quiz_wpss_mrt_meta_box2()
|
|
159 |
<div>
|
160 |
<table width='100%'>
|
161 |
<tr>
|
162 |
-
<td align='left'>0.8.
|
163 |
-
</tr>
|
164 |
-
<tr>
|
165 |
-
<td align='left'>* New Screenshots Added</td>
|
166 |
-
</tr>
|
167 |
-
<tr>
|
168 |
-
<td align='left'>* Minor Design Changes</td>
|
169 |
</tr>
|
170 |
<tr>
|
171 |
<td align='left'>* Minor Bug Fixes</td>
|
3 |
Generates the support for Quiz Master Next
|
4 |
*/
|
5 |
/*
|
6 |
+
Copyright 2014, My Local Webstop (email : fpcorso@mylocalwebstop.com)
|
7 |
*/
|
8 |
|
9 |
|
159 |
<div>
|
160 |
<table width='100%'>
|
161 |
<tr>
|
162 |
+
<td align='left'>0.8.6 (January 2, 2013))</td>
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
</tr>
|
164 |
<tr>
|
165 |
<td align='left'>* Minor Bug Fixes</td>
|
includes/mlw_quiz_options.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
This page allows for the editing of quizzes selected from the quiz admin page.
|
4 |
*/
|
5 |
/*
|
6 |
-
Copyright
|
7 |
*/
|
8 |
|
9 |
function mlw_generate_quiz_options()
|
@@ -19,18 +19,18 @@ function mlw_generate_quiz_options()
|
|
19 |
|
20 |
//Variables from new question form
|
21 |
$success = $_POST["create_question"];
|
22 |
-
$question_name = $_POST["question_name"];
|
23 |
-
$answer_one = $_POST["answer_one"];
|
24 |
$answer_one_points = $_POST["answer_one_points"];
|
25 |
-
$answer_two = $_POST["answer_two"];
|
26 |
$answer_two_points = $_POST["answer_two_points"];
|
27 |
-
$answer_three = $_POST["answer_three"];
|
28 |
$answer_three_points = $_POST["answer_three_points"];
|
29 |
-
$answer_four = $_POST["answer_four"];
|
30 |
$answer_four_points = $_POST["answer_four_points"];
|
31 |
-
$answer_five = $_POST["answer_five"];
|
32 |
$answer_five_points = $_POST["answer_five_points"];
|
33 |
-
$answer_six = $_POST["answer_six"];
|
34 |
$answer_six_points = $_POST["answer_six_points"];
|
35 |
$correct_answer = $_POST["correct_answer"];
|
36 |
$comments = $_POST["comments"];
|
@@ -38,18 +38,18 @@ function mlw_generate_quiz_options()
|
|
38 |
|
39 |
//Variables from edit question form
|
40 |
$edit_question_success = $_POST["edit_question"];
|
41 |
-
$edit_question_name = $_POST["edit_question_name"];
|
42 |
-
$edit_answer_one = $_POST["edit_answer_one"];
|
43 |
$edit_answer_one_points = $_POST["edit_answer_one_points"];
|
44 |
-
$edit_answer_two = $_POST["edit_answer_two"];
|
45 |
$edit_answer_two_points = $_POST["edit_answer_two_points"];
|
46 |
-
$edit_answer_three = $_POST["edit_answer_three"];
|
47 |
$edit_answer_three_points = $_POST["edit_answer_three_points"];
|
48 |
-
$edit_answer_four = $_POST["edit_answer_four"];
|
49 |
$edit_answer_four_points = $_POST["edit_answer_four_points"];
|
50 |
-
$edit_answer_five = $_POST["edit_answer_five"];
|
51 |
$edit_answer_five_points = $_POST["edit_answer_five_points"];
|
52 |
-
$edit_answer_six = $_POST["edit_answer_six"];
|
53 |
$edit_answer_six_points = $_POST["edit_answer_six_points"];
|
54 |
$edit_correct_answer = $_POST["edit_correct_answer"];
|
55 |
$mlw_edit_question_id = $_POST["edit_question_id"];
|
@@ -499,7 +499,7 @@ function mlw_generate_quiz_options()
|
|
499 |
else $alternate = " class=\"alternate\"";
|
500 |
$question_list .= "<tr{$alternate}>";
|
501 |
$question_list .= "<td><span style='font-size:16px;'>" . $mlw_question_info->question_order . "</span></td>";
|
502 |
-
$question_list .= "<td class='post-title column-title'><span style='font-size:16px;'>" . $mlw_question_info->question_name ."</span><div><span style='color:green;font-size:12px;'><a onclick=\"editQuestion('".$mlw_question_info->question_id."','"
|
503 |
$question_list .= "</tr>";
|
504 |
}
|
505 |
|
3 |
This page allows for the editing of quizzes selected from the quiz admin page.
|
4 |
*/
|
5 |
/*
|
6 |
+
Copyright 2014, My Local Webstop (email : fpcorso@mylocalwebstop.com)
|
7 |
*/
|
8 |
|
9 |
function mlw_generate_quiz_options()
|
19 |
|
20 |
//Variables from new question form
|
21 |
$success = $_POST["create_question"];
|
22 |
+
$question_name = htmlspecialchars($_POST["question_name"], ENT_QUOTES);
|
23 |
+
$answer_one = htmlspecialchars($_POST["answer_one"], ENT_QUOTES);
|
24 |
$answer_one_points = $_POST["answer_one_points"];
|
25 |
+
$answer_two = htmlspecialchars($_POST["answer_two"], ENT_QUOTES);
|
26 |
$answer_two_points = $_POST["answer_two_points"];
|
27 |
+
$answer_three = htmlspecialchars($_POST["answer_three"], ENT_QUOTES);
|
28 |
$answer_three_points = $_POST["answer_three_points"];
|
29 |
+
$answer_four = htmlspecialchars($_POST["answer_four"], ENT_QUOTES);
|
30 |
$answer_four_points = $_POST["answer_four_points"];
|
31 |
+
$answer_five = htmlspecialchars($_POST["answer_five"], ENT_QUOTES);
|
32 |
$answer_five_points = $_POST["answer_five_points"];
|
33 |
+
$answer_six = htmlspecialchars($_POST["answer_six"], ENT_QUOTES);
|
34 |
$answer_six_points = $_POST["answer_six_points"];
|
35 |
$correct_answer = $_POST["correct_answer"];
|
36 |
$comments = $_POST["comments"];
|
38 |
|
39 |
//Variables from edit question form
|
40 |
$edit_question_success = $_POST["edit_question"];
|
41 |
+
$edit_question_name = htmlspecialchars($_POST["edit_question_name"], ENT_QUOTES);
|
42 |
+
$edit_answer_one = htmlspecialchars($_POST["edit_answer_one"], ENT_QUOTES);
|
43 |
$edit_answer_one_points = $_POST["edit_answer_one_points"];
|
44 |
+
$edit_answer_two = htmlspecialchars($_POST["edit_answer_two"], ENT_QUOTES);
|
45 |
$edit_answer_two_points = $_POST["edit_answer_two_points"];
|
46 |
+
$edit_answer_three = htmlspecialchars($_POST["edit_answer_three"], ENT_QUOTES);
|
47 |
$edit_answer_three_points = $_POST["edit_answer_three_points"];
|
48 |
+
$edit_answer_four = htmlspecialchars($_POST["edit_answer_four"], ENT_QUOTES);
|
49 |
$edit_answer_four_points = $_POST["edit_answer_four_points"];
|
50 |
+
$edit_answer_five = htmlspecialchars($_POST["edit_answer_five"], ENT_QUOTES);
|
51 |
$edit_answer_five_points = $_POST["edit_answer_five_points"];
|
52 |
+
$edit_answer_six = htmlspecialchars($_POST["edit_answer_six"], ENT_QUOTES);
|
53 |
$edit_answer_six_points = $_POST["edit_answer_six_points"];
|
54 |
$edit_correct_answer = $_POST["edit_correct_answer"];
|
55 |
$mlw_edit_question_id = $_POST["edit_question_id"];
|
499 |
else $alternate = " class=\"alternate\"";
|
500 |
$question_list .= "<tr{$alternate}>";
|
501 |
$question_list .= "<td><span style='font-size:16px;'>" . $mlw_question_info->question_order . "</span></td>";
|
502 |
+
$question_list .= "<td class='post-title column-title'><span style='font-size:16px;'>" . $mlw_question_info->question_name ."</span><div><span style='color:green;font-size:12px;'><a onclick=\"editQuestion('".$mlw_question_info->question_id."','".str_replace("'", "\'", htmlspecialchars_decode($mlw_question_info->question_name, ENT_QUOTES))."','".str_replace("'", "\'", htmlspecialchars_decode($mlw_question_info->answer_one, ENT_QUOTES))."','".$mlw_question_info->answer_one_points."','".str_replace("'", "\'", htmlspecialchars_decode($mlw_question_info->answer_two, ENT_QUOTES))."','".$mlw_question_info->answer_two_points."','".str_replace("'", "\'", htmlspecialchars_decode($mlw_question_info->answer_three, ENT_QUOTES))."','".$mlw_question_info->answer_three_points."','".str_replace("'", "\'", htmlspecialchars_decode($mlw_question_info->answer_four, ENT_QUOTES))."','".$mlw_question_info->answer_four_points."','".str_replace("'", "\'", htmlspecialchars_decode($mlw_question_info->answer_five, ENT_QUOTES))."','".$mlw_question_info->answer_five_points."','".str_replace("'", "\'", htmlspecialchars_decode($mlw_question_info->answer_six, ENT_QUOTES))."','".$mlw_question_info->answer_six_points."','".$mlw_question_info->correct_answer."','".$mlw_question_info->comments."','".$mlw_question_info->hints."', '".$mlw_question_info->question_order."')\" href='#'>Edit</a> | <a onclick=\"deleteQuestion('".$mlw_question_info->question_id."')\" href='#'>Delete</a></span></div></td>";
|
503 |
$question_list .= "</tr>";
|
504 |
}
|
505 |
|
includes/mlw_update.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
function mlw_quiz_update()
|
4 |
{
|
5 |
-
$data = "0.8.
|
6 |
if ( ! get_option('mlw_quiz_master_version'))
|
7 |
{
|
8 |
add_option('mlw_quiz_master_version' , $data);
|
2 |
|
3 |
function mlw_quiz_update()
|
4 |
{
|
5 |
+
$data = "0.8.6";
|
6 |
if ( ! get_option('mlw_quiz_master_version'))
|
7 |
{
|
8 |
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: 0.8.
|
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: 0.8.6
|
7 |
Author: Frank Corso
|
8 |
Author URI: http://www.mylocalwebstop.com/
|
9 |
Plugin URI: http://www.mylocalwebstop.com/
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: fpcorso
|
|
3 |
Tags: quiz, test, score, survey
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 3.8
|
6 |
-
Stable tag: 0.8.
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
|
9 |
Use this plugin to add multiple quizzes, tests, or surveys to your website.
|
@@ -49,6 +49,9 @@ Feel free to use the support option on the main page of the plugin or from the c
|
|
49 |
|
50 |
== Changelog ==
|
51 |
|
|
|
|
|
|
|
52 |
= 0.8.5 (January 1, 2013) =
|
53 |
* New Screenshots Added
|
54 |
* Minor Design Changes
|
@@ -154,6 +157,9 @@ Feel free to use the support option on the main page of the plugin or from the c
|
|
154 |
|
155 |
== Upgrade Notice ==
|
156 |
|
|
|
|
|
|
|
157 |
= 0.8.5 =
|
158 |
Upgrade to fix minor bugs
|
159 |
|
3 |
Tags: quiz, test, score, survey
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 3.8
|
6 |
+
Stable tag: 0.8.6
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
|
9 |
Use this plugin to add multiple quizzes, tests, or surveys to your website.
|
49 |
|
50 |
== Changelog ==
|
51 |
|
52 |
+
= 0.8.6 (January 2, 2013) =
|
53 |
+
* Bug Fixes
|
54 |
+
|
55 |
= 0.8.5 (January 1, 2013) =
|
56 |
* New Screenshots Added
|
57 |
* Minor Design Changes
|
157 |
|
158 |
== Upgrade Notice ==
|
159 |
|
160 |
+
= 0.8.6 =
|
161 |
+
Upgrade to fix minor bugs
|
162 |
+
|
163 |
= 0.8.5 =
|
164 |
Upgrade to fix minor bugs
|
165 |
|