Version Description
Upgrade for bug fixes.
Download this release
Release Info
Developer | fpcorso |
Plugin | Quiz And Survey Master (Formerly Quiz Master Next) |
Version | 2.6.2 |
Comparing to | |
See all releases |
Code changes from version 2.6.1 to 2.6.2
- includes/mlw_quiz.php +14 -10
- includes/mlw_update.php +1 -1
- mlw_quizmaster2.php +1 -1
- readme.txt +7 -1
includes/mlw_quiz.php
CHANGED
@@ -103,17 +103,19 @@ function mlw_quiz_shortcode($atts)
|
|
103 |
wp_enqueue_script( 'jquery-ui-accordion' );
|
104 |
wp_enqueue_script( 'jquery-ui-tooltip' );
|
105 |
wp_enqueue_script( 'jquery-ui-tabs' );
|
106 |
-
?>
|
107 |
-
<!-- css -->
|
108 |
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/redmond/jquery-ui.css" rel="stylesheet" />
|
109 |
-
<script type="text/javascript">
|
|
|
110 |
var $j = jQuery.noConflict();
|
111 |
// increase the default animation speed to exaggerate the effect
|
112 |
$j.fx.speeds._default = 1000;
|
113 |
$j(function() {
|
114 |
$j( document ).tooltip();
|
115 |
});
|
116 |
-
|
|
|
117 |
<style type="text/css">
|
118 |
.ui-tooltip
|
119 |
{
|
@@ -160,16 +162,16 @@ function mlw_quiz_shortcode($atts)
|
|
160 |
}
|
161 |
?>
|
162 |
<script type="text/javascript">
|
|
|
163 |
var $j = jQuery.noConflict();
|
164 |
-
$j(function() {
|
165 |
$j( ".quiz_section" ).hide();
|
166 |
$j( ".quiz_section" ).append( "<br />" );
|
167 |
-
$j( ".quiz_section" ).not( ".quiz_begin" ).append( "<a class=\"mlw_qmn_quiz_link\" href
|
168 |
-
$j( ".quiz_section" ).not( ".quiz_end" ).append( "<a class=\"mlw_qmn_quiz_link\" href
|
169 |
window.mlw_quiz_slide = 0;
|
170 |
window.mlw_quiz_total_slides = <?php echo $mlw_qmn_section_limit; ?>;
|
171 |
nextSlide();
|
172 |
-
});
|
173 |
function nextSlide()
|
174 |
{
|
175 |
window.mlw_quiz_slide++;
|
@@ -211,11 +213,13 @@ function mlw_quiz_shortcode($atts)
|
|
211 |
?>
|
212 |
<div id="mlw_qmn_timer" class="mlw_qmn_timer"></div>
|
213 |
<script type="text/javascript">
|
|
|
214 |
var minutes = <?php echo $mlw_quiz_options->timer_limit; ?>;
|
215 |
window.amount = (minutes*60);
|
216 |
window.titleText = window.document.title;
|
217 |
document.getElementById("mlw_qmn_timer").innerHTML = minToSec(window.amount);
|
218 |
-
window.counter=setInterval(timer, 1000);
|
|
|
219 |
function timer()
|
220 |
{
|
221 |
window.amount=window.amount-1;
|
@@ -557,7 +561,7 @@ function mlw_quiz_shortcode($atts)
|
|
557 |
}
|
558 |
if ($mlw_question->hints != "")
|
559 |
{
|
560 |
-
$mlw_display .= "<span title=\"".htmlspecialchars_decode($mlw_question->hints, ENT_QUOTES)."\" style=\"text-decoration:underline;color:rgb(0,0,255);\">Hint</span>";
|
561 |
$mlw_display .= "<br /><br />";
|
562 |
}
|
563 |
$mlw_display .= "</div>";
|
103 |
wp_enqueue_script( 'jquery-ui-accordion' );
|
104 |
wp_enqueue_script( 'jquery-ui-tooltip' );
|
105 |
wp_enqueue_script( 'jquery-ui-tabs' );
|
106 |
+
?>
|
107 |
+
<!-- css -->
|
108 |
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/redmond/jquery-ui.css" rel="stylesheet" />
|
109 |
+
<script type="text/javascript">
|
110 |
+
setTimeout(function(){
|
111 |
var $j = jQuery.noConflict();
|
112 |
// increase the default animation speed to exaggerate the effect
|
113 |
$j.fx.speeds._default = 1000;
|
114 |
$j(function() {
|
115 |
$j( document ).tooltip();
|
116 |
});
|
117 |
+
}, 100);
|
118 |
+
</script>
|
119 |
<style type="text/css">
|
120 |
.ui-tooltip
|
121 |
{
|
162 |
}
|
163 |
?>
|
164 |
<script type="text/javascript">
|
165 |
+
setTimeout(function(){
|
166 |
var $j = jQuery.noConflict();
|
|
|
167 |
$j( ".quiz_section" ).hide();
|
168 |
$j( ".quiz_section" ).append( "<br />" );
|
169 |
+
$j( ".quiz_section" ).not( ".quiz_begin" ).append( "<a class=\"mlw_qmn_quiz_link\" href=\"javascript:prevSlide();\"><?php echo $mlw_qmn_pagination_text[0]; ?></a>" );
|
170 |
+
$j( ".quiz_section" ).not( ".quiz_end" ).append( "<a class=\"mlw_qmn_quiz_link\" href=\"javascript:nextSlide();\"><?php echo $mlw_qmn_pagination_text[1]; ?></a>" );
|
171 |
window.mlw_quiz_slide = 0;
|
172 |
window.mlw_quiz_total_slides = <?php echo $mlw_qmn_section_limit; ?>;
|
173 |
nextSlide();
|
174 |
+
}, 100);
|
175 |
function nextSlide()
|
176 |
{
|
177 |
window.mlw_quiz_slide++;
|
213 |
?>
|
214 |
<div id="mlw_qmn_timer" class="mlw_qmn_timer"></div>
|
215 |
<script type="text/javascript">
|
216 |
+
setTimeout(function(){
|
217 |
var minutes = <?php echo $mlw_quiz_options->timer_limit; ?>;
|
218 |
window.amount = (minutes*60);
|
219 |
window.titleText = window.document.title;
|
220 |
document.getElementById("mlw_qmn_timer").innerHTML = minToSec(window.amount);
|
221 |
+
window.counter=setInterval(timer, 1000);
|
222 |
+
}, 100);
|
223 |
function timer()
|
224 |
{
|
225 |
window.amount=window.amount-1;
|
561 |
}
|
562 |
if ($mlw_question->hints != "")
|
563 |
{
|
564 |
+
$mlw_display .= "<span title=\"".htmlspecialchars_decode($mlw_question->hints, ENT_QUOTES)."\" style=\"text-decoration:underline;color:rgb(0,0,255);\" class='mlw_qmn_hint_link'>Hint</span>";
|
565 |
$mlw_display .= "<br /><br />";
|
566 |
}
|
567 |
$mlw_display .= "</div>";
|
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 = "2.6.
|
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 = "2.6.2";
|
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: 2.6.
|
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: 2.6.2
|
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.6
|
6 |
Tested up to: 3.9
|
7 |
-
Stable tag: 2.6.
|
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.
|
@@ -102,6 +102,9 @@ Feel free to use the widget on the quiz dashboard within the plugin or from the
|
|
102 |
|
103 |
== Changelog ==
|
104 |
|
|
|
|
|
|
|
105 |
= 2.6.1 (May 7, 2014) =
|
106 |
* Added UTF-8 Support For Special Characters And Non-Latin Languages
|
107 |
* Fixed Question Bank Showing All Answers Bug
|
@@ -431,6 +434,9 @@ Feel free to use the widget on the quiz dashboard within the plugin or from the
|
|
431 |
|
432 |
== Upgrade Notice ==
|
433 |
|
|
|
|
|
|
|
434 |
= 2.6.1 =
|
435 |
Upgrade to be able to support special characters and non-latin based languages.
|
436 |
|
4 |
Tags: quiz, test, score, survey, contact, form, email, answer, question
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 3.9
|
7 |
+
Stable tag: 2.6.2
|
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.
|
102 |
|
103 |
== Changelog ==
|
104 |
|
105 |
+
= 2.6.2 (May 8, 2014) =
|
106 |
+
* Bug Fixes
|
107 |
+
|
108 |
= 2.6.1 (May 7, 2014) =
|
109 |
* Added UTF-8 Support For Special Characters And Non-Latin Languages
|
110 |
* Fixed Question Bank Showing All Answers Bug
|
434 |
|
435 |
== Upgrade Notice ==
|
436 |
|
437 |
+
= 2.6.2 =
|
438 |
+
Upgrade for bug fixes.
|
439 |
+
|
440 |
= 2.6.1 =
|
441 |
Upgrade to be able to support special characters and non-latin based languages.
|
442 |
|