Quiz And Survey Master (Formerly Quiz Master Next) - Version 2.2.2

Version Description

(March 30, 2014) = * Reverted To Previous Pagination Javascript

Download this release

Release Info

Developer fpcorso
Plugin Icon 128x128 Quiz And Survey Master (Formerly Quiz Master Next)
Version 2.2.2
Comparing to
See all releases

Code changes from version 2.2.1 to 2.2.2

includes/mlw_quiz.php CHANGED
@@ -137,25 +137,16 @@ function mlw_quiz_shortcode($atts)
137
  }
138
  ?>
139
  <script type="text/javascript">
140
- if (window.addEventListener)
141
- window.addEventListener('load', mlwQmnPagination, false)
142
- else if (window.attachEvent)
143
- window.attachEvent('onload', mlwQmnPagination)
144
- else
145
- window.onload = mlwQmnPagination;
146
- function mlwQmnPagination()
147
- {
148
- var $j = jQuery.noConflict();
149
- $j(function() {
150
- $j( ".quiz_section" ).hide();
151
- $j( ".quiz_section" ).append( "<br />" );
152
- $j( ".quiz_section" ).not( ".quiz_begin" ).append( "<a class=\"mlw_qmn_quiz_link\" href='#' onclick=\"prevSlide();\"><?php echo $mlw_qmn_pagination_text[0]; ?></a>" );
153
- $j( ".quiz_section" ).not( ".quiz_end" ).append( "<a class=\"mlw_qmn_quiz_link\" href='#' onclick=\"nextSlide();\"><?php echo $mlw_qmn_pagination_text[1]; ?></a>" );
154
- window.mlw_quiz_slide = 0;
155
- window.mlw_quiz_total_slides = <?php echo $mlw_qmn_section_limit; ?>;
156
- nextSlide();
157
- });
158
- }
159
  function nextSlide()
160
  {
161
  window.mlw_quiz_slide++;
137
  }
138
  ?>
139
  <script type="text/javascript">
140
+ var $j = jQuery.noConflict();
141
+ $j(function() {
142
+ $j( ".quiz_section" ).hide();
143
+ $j( ".quiz_section" ).append( "<br />" );
144
+ $j( ".quiz_section" ).not( ".quiz_begin" ).append( "<a class=\"mlw_qmn_quiz_link\" href='#' onclick=\"prevSlide();\"><?php echo $mlw_qmn_pagination_text[0]; ?></a>" );
145
+ $j( ".quiz_section" ).not( ".quiz_end" ).append( "<a class=\"mlw_qmn_quiz_link\" href='#' onclick=\"nextSlide();\"><?php echo $mlw_qmn_pagination_text[1]; ?></a>" );
146
+ window.mlw_quiz_slide = 0;
147
+ window.mlw_quiz_total_slides = <?php echo $mlw_qmn_section_limit; ?>;
148
+ nextSlide();
149
+ });
 
 
 
 
 
 
 
 
 
150
  function nextSlide()
151
  {
152
  window.mlw_quiz_slide++;
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.2.1";
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.2.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.2.1
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.2.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.8.1
7
- Stable tag: 2.2.1
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
  = 2.2.1 (March 30, 2014) =
103
  * Added Ability To Show Question Numbers
104
  * Added More CSS Classes To Quiz Page For Better Styling Options
4
  Tags: quiz, test, score, survey, contact, form, email, answer, question
5
  Requires at least: 3.6
6
  Tested up to: 3.8.1
7
+ Stable tag: 2.2.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.
99
 
100
  == Changelog ==
101
 
102
+ = 2.2.2 (March 30, 2014) =
103
+ * Reverted To Previous Pagination Javascript
104
+
105
  = 2.2.1 (March 30, 2014) =
106
  * Added Ability To Show Question Numbers
107
  * Added More CSS Classes To Quiz Page For Better Styling Options