Version Description
(July 11, 2018) = * Closed Bug: Quiz comment box shows HTML in label when using newer pagination system (Issue #704)
Download this release
Release Info
Developer | fpcorso |
Plugin | Quiz And Survey Master (Formerly Quiz Master Next) |
Version | 6.0.1 |
Comparing to | |
See all releases |
Code changes from version 6.0.0 to 6.0.1
- css/qmn_addons_page.css +0 -18
- css/qsm-admin.css +35 -13
- mlw_quizmaster2.php +3 -3
- php/admin/about-page.php +1 -0
- php/admin/addons-page.php +65 -64
- php/admin/help-page.php +39 -32
- php/admin/quizzes-page.php +2 -2
- php/classes/class-qmn-quiz-manager.php +1 -1
- readme.txt +6 -6
css/qmn_addons_page.css
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
.qmn_addons
|
2 |
-
{
|
3 |
-
float: left;
|
4 |
-
width: 300px;
|
5 |
-
height: 300px;
|
6 |
-
border: 1px solid #ccc;
|
7 |
-
padding: 10px;
|
8 |
-
margin: 10px;
|
9 |
-
position: relative;
|
10 |
-
}
|
11 |
-
.qmn_addons_title
|
12 |
-
{
|
13 |
-
font-size: 15px;
|
14 |
-
}
|
15 |
-
.qmn_addons_desc
|
16 |
-
{
|
17 |
-
|
18 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/qsm-admin.css
CHANGED
@@ -32,19 +32,6 @@ Quizzes/Surveys Page
|
|
32 |
background-color: #fff;
|
33 |
}
|
34 |
|
35 |
-
.qsm-news-ads-widget {
|
36 |
-
text-align: center;
|
37 |
-
border: 5px solid #1DD969;
|
38 |
-
margin: 10px 5px;
|
39 |
-
background: #fff;
|
40 |
-
padding: 10px 5px;
|
41 |
-
transition-duration: 0.5s;
|
42 |
-
}
|
43 |
-
|
44 |
-
.qsm-news-ads-widget:hover {
|
45 |
-
transform: scale(1.1);
|
46 |
-
}
|
47 |
-
|
48 |
.qsm-edit-name {
|
49 |
font-size: 12px !important;
|
50 |
}
|
@@ -209,6 +196,22 @@ ul.changelog li.update div.two:before {
|
|
209 |
margin-right: 5px;
|
210 |
}
|
211 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
|
213 |
/********************
|
214 |
Help Page
|
@@ -236,6 +239,8 @@ Help Page
|
|
236 |
Misc.
|
237 |
*********************/
|
238 |
|
|
|
|
|
239 |
.qsm-info-box {
|
240 |
display: block;
|
241 |
text-align:center;
|
@@ -254,6 +259,23 @@ Misc.
|
|
254 |
color: yellow;
|
255 |
}
|
256 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
.qsm-popup {
|
258 |
font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
|
259 |
}
|
32 |
background-color: #fff;
|
33 |
}
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
.qsm-edit-name {
|
36 |
font-size: 12px !important;
|
37 |
}
|
196 |
margin-right: 5px;
|
197 |
}
|
198 |
|
199 |
+
/********************
|
200 |
+
Addons Page
|
201 |
+
*********************/
|
202 |
+
|
203 |
+
.qsm-addons {
|
204 |
+
display: flex;
|
205 |
+
flex-direction: column;
|
206 |
+
}
|
207 |
+
|
208 |
+
@media screen and (min-width:700px) {
|
209 |
+
.qsm-addons {
|
210 |
+
flex-direction: row;
|
211 |
+
flex-wrap: wrap;
|
212 |
+
}
|
213 |
+
}
|
214 |
+
|
215 |
|
216 |
/********************
|
217 |
Help Page
|
239 |
Misc.
|
240 |
*********************/
|
241 |
|
242 |
+
|
243 |
+
/* Info Bar */
|
244 |
.qsm-info-box {
|
245 |
display: block;
|
246 |
text-align:center;
|
259 |
color: yellow;
|
260 |
}
|
261 |
|
262 |
+
/* Info Widget */
|
263 |
+
.qsm-info-widget {
|
264 |
+
text-align: center;
|
265 |
+
border: 5px solid #1DD969;
|
266 |
+
margin: 10px 5px;
|
267 |
+
background: #fff;
|
268 |
+
padding: 10px 5px;
|
269 |
+
transition-duration: 0.5s;
|
270 |
+
max-width: 400px;
|
271 |
+
}
|
272 |
+
|
273 |
+
.qsm-info-widget:hover {
|
274 |
+
transform: scale(1.1);
|
275 |
+
}
|
276 |
+
|
277 |
+
/* Popup */
|
278 |
+
|
279 |
.qsm-popup {
|
280 |
font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
|
281 |
}
|
mlw_quizmaster2.php
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Quiz And Survey Master
|
4 |
* Description: Easily and quickly add quizzes and surveys to your website.
|
5 |
-
* Version: 6.0.
|
6 |
* Author: Frank Corso
|
7 |
* Author URI: https://www.quizandsurveymaster.com/
|
8 |
* Plugin URI: https://www.quizandsurveymaster.com/
|
9 |
* Text Domain: quiz-master-next
|
10 |
*
|
11 |
* @author Frank Corso
|
12 |
-
* @version 6.0.
|
13 |
* @package QSM
|
14 |
*/
|
15 |
|
@@ -33,7 +33,7 @@ class MLWQuizMasterNext {
|
|
33 |
* @var string
|
34 |
* @since 4.0.0
|
35 |
*/
|
36 |
-
public $version = '6.0.
|
37 |
|
38 |
/**
|
39 |
* QSM Alert Manager Object
|
2 |
/**
|
3 |
* Plugin Name: Quiz And Survey Master
|
4 |
* Description: Easily and quickly add quizzes and surveys to your website.
|
5 |
+
* Version: 6.0.1
|
6 |
* Author: Frank Corso
|
7 |
* Author URI: https://www.quizandsurveymaster.com/
|
8 |
* Plugin URI: https://www.quizandsurveymaster.com/
|
9 |
* Text Domain: quiz-master-next
|
10 |
*
|
11 |
* @author Frank Corso
|
12 |
+
* @version 6.0.1
|
13 |
* @package QSM
|
14 |
*/
|
15 |
|
33 |
* @var string
|
34 |
* @since 4.0.0
|
35 |
*/
|
36 |
+
public $version = '6.0.1';
|
37 |
|
38 |
/**
|
39 |
* QSM Alert Manager Object
|
php/admin/about-page.php
CHANGED
@@ -46,6 +46,7 @@ function mlw_generate_about_page() {
|
|
46 |
</div>
|
47 |
<div class="qsm-tab-content tab-2" style="display: none;">
|
48 |
<h2>Changelog</h2>
|
|
|
49 |
<?php QSM_Changelog_Generator::get_changelog_list( 'fpcorso/quiz_master_next', 36 ); ?>
|
50 |
</div>
|
51 |
<div class="qsm-tab-content tab-3" style="display:none;">
|
46 |
</div>
|
47 |
<div class="qsm-tab-content tab-2" style="display: none;">
|
48 |
<h2>Changelog</h2>
|
49 |
+
<?php QSM_Changelog_Generator::get_changelog_list( 'fpcorso/quiz_master_next', 53 ); ?>
|
50 |
<?php QSM_Changelog_Generator::get_changelog_list( 'fpcorso/quiz_master_next', 36 ); ?>
|
51 |
</div>
|
52 |
<div class="qsm-tab-content tab-3" style="display:none;">
|
php/admin/addons-page.php
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
if ( ! defined( 'ABSPATH' ) )
|
|
|
|
|
4 |
|
5 |
/**
|
6 |
-
*Creates the add on page that is displayed in the add on settings page
|
7 |
*
|
8 |
* @return void
|
9 |
* @since 4.4.0
|
@@ -14,14 +16,14 @@ function qmn_addons_page() {
|
|
14 |
}
|
15 |
|
16 |
global $mlwQuizMasterNext;
|
17 |
-
$active_tab = strtolower(str_replace( " ", "-", isset( $_GET[
|
18 |
$tab_array = $mlwQuizMasterNext->pluginHelper->get_addon_tabs();
|
19 |
?>
|
20 |
<div class="wrap">
|
21 |
<h2>Quiz And Survey Master Addon Settings</h2>
|
22 |
<h2 class="nav-tab-wrapper">
|
23 |
<?php
|
24 |
-
foreach( $tab_array as $tab ) {
|
25 |
$active_class = '';
|
26 |
if ( $active_tab == $tab['slug'] ) {
|
27 |
$active_class = 'nav-tab-active';
|
@@ -32,11 +34,11 @@ function qmn_addons_page() {
|
|
32 |
</h2>
|
33 |
<div>
|
34 |
<?php
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
}
|
39 |
}
|
|
|
40 |
?>
|
41 |
</div>
|
42 |
</div>
|
@@ -44,73 +46,72 @@ function qmn_addons_page() {
|
|
44 |
}
|
45 |
|
46 |
/**
|
47 |
-
* Displays the contents of the featured add ons page.
|
48 |
-
*
|
49 |
-
* @return void
|
50 |
-
* @since 4.4.0
|
51 |
-
*/
|
52 |
function qsm_generate_featured_addons() {
|
53 |
-
wp_enqueue_style( 'qsm_addons_style', plugins_url( '../../css/
|
54 |
?>
|
55 |
-
<p><?php
|
56 |
<a href="http://quizandsurveymaster.com/addons/?utm_source=qsm-addons-page&utm_medium=plugin&utm_content=all-addons-top&utm_campaign=qsm_plugin" target="_blank" class="button-primary"><?php _e('Browse All Addons', 'quiz-master-next'); ?></a>
|
57 |
-
<
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
|
|
97 |
</div>
|
98 |
-
<div style="clear:both;">
|
99 |
-
<br />
|
100 |
<a href="http://quizandsurveymaster.com/addons/?utm_source=qsm-addons-page&utm_medium=plugin&utm_content=all-addons-bottom&utm_campaign=qsm_plugin" target="_blank" class="button-primary"><?php _e('Browse All Addons', 'quiz-master-next'); ?></a>
|
101 |
<?php
|
102 |
}
|
103 |
|
104 |
|
105 |
/**
|
106 |
-
* This function registers the feature add ons tab.
|
107 |
-
*
|
108 |
-
* @return void
|
109 |
-
* @since 4.4.0
|
110 |
-
*/
|
111 |
function qsm_featured_addons_tab() {
|
112 |
global $mlwQuizMasterNext;
|
113 |
-
$mlwQuizMasterNext->pluginHelper->register_addon_settings_tab( __(
|
114 |
}
|
115 |
-
add_action(
|
116 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
+
exit;
|
5 |
+
}
|
6 |
|
7 |
/**
|
8 |
+
* Creates the add on page that is displayed in the add on settings page
|
9 |
*
|
10 |
* @return void
|
11 |
* @since 4.4.0
|
16 |
}
|
17 |
|
18 |
global $mlwQuizMasterNext;
|
19 |
+
$active_tab = strtolower( str_replace( " ", "-", isset( $_GET['tab'] ) ? $_GET['tab'] : __( 'Featured Addons', 'quiz-master-next' ) ) );
|
20 |
$tab_array = $mlwQuizMasterNext->pluginHelper->get_addon_tabs();
|
21 |
?>
|
22 |
<div class="wrap">
|
23 |
<h2>Quiz And Survey Master Addon Settings</h2>
|
24 |
<h2 class="nav-tab-wrapper">
|
25 |
<?php
|
26 |
+
foreach ( $tab_array as $tab ) {
|
27 |
$active_class = '';
|
28 |
if ( $active_tab == $tab['slug'] ) {
|
29 |
$active_class = 'nav-tab-active';
|
34 |
</h2>
|
35 |
<div>
|
36 |
<?php
|
37 |
+
foreach ( $tab_array as $tab ) {
|
38 |
+
if ( $active_tab == $tab['slug'] ) {
|
39 |
+
call_user_func( $tab['function'] );
|
|
|
40 |
}
|
41 |
+
}
|
42 |
?>
|
43 |
</div>
|
44 |
</div>
|
46 |
}
|
47 |
|
48 |
/**
|
49 |
+
* Displays the contents of the featured add ons page.
|
50 |
+
*
|
51 |
+
* @return void
|
52 |
+
* @since 4.4.0
|
53 |
+
*/
|
54 |
function qsm_generate_featured_addons() {
|
55 |
+
wp_enqueue_style( 'qsm_addons_style', plugins_url( '../../css/qsm-admin.css', __FILE__ ) );
|
56 |
?>
|
57 |
+
<p><?php esc_html_e( 'These addons extend the functionality of Quiz And Survey Master', 'quiz-master-next' ); ?></p>
|
58 |
<a href="http://quizandsurveymaster.com/addons/?utm_source=qsm-addons-page&utm_medium=plugin&utm_content=all-addons-top&utm_campaign=qsm_plugin" target="_blank" class="button-primary"><?php _e('Browse All Addons', 'quiz-master-next'); ?></a>
|
59 |
+
<div class="qsm-addons">
|
60 |
+
<div class="qsm-info-widget">
|
61 |
+
<h3>Landing Page</h3>
|
62 |
+
<p >Display your quizzes and surveys in their own standalone page without distracting menus, themes, or other content from your site.</p>
|
63 |
+
<a href="http://quizandsurveymaster.com/downloads/landing-page/?utm_source=qsm-addons-page&utm_medium=plugin&utm_content=landing-page&utm_campaign=qsm_plugin" target="_blank" class="button">Get This Addon</a>
|
64 |
+
</div>
|
65 |
+
<div class="qsm-info-widget">
|
66 |
+
<h3>Reporting and Analysis</h3>
|
67 |
+
<p>Analyze your quiz's or survey's results to see the percentage of users who chose each answer displayed on useful charts. You can then filter that data or export it.</p>
|
68 |
+
<a href="http://quizandsurveymaster.com/downloads/results-analysis/?utm_source=qsm-addons-page&utm_medium=plugin&utm_content=reporting-and-analysis&utm_campaign=qsm_plugin" target="_blank" class="button">Get This Addon</a>
|
69 |
+
</div>
|
70 |
+
<div class="qsm-info-widget">
|
71 |
+
<h3>Export Results</h3>
|
72 |
+
<p>This addon gives you the ability to export your quiz results as a CSV file.</p>
|
73 |
+
<a href="http://quizandsurveymaster.com/downloads/export-results/?utm_source=qsm-addons-page&utm_medium=plugin&utm_content=export-results&utm_campaign=qsm_plugin" target="_blank" class="button">Get This Addon</a>
|
74 |
+
</div>
|
75 |
+
<div class="qsm-info-widget">
|
76 |
+
<h3>Advertisement Be Gone</h3>
|
77 |
+
<p>This addon will remove all services/addon advertisements throughout the plugin.</p>
|
78 |
+
<a href="http://quizandsurveymaster.com/downloads/advertisement-gone/?utm_source=qsm-addons-page&utm_medium=plugin&utm_content=advertisement-be-gone&utm_campaign=qsm_plugin" target="_blank" class="button">Get This Addon</a>
|
79 |
+
</div>
|
80 |
+
<div class="qsm-info-widget">
|
81 |
+
<h3>MailChimp Integration</h3>
|
82 |
+
<p>Grow your list of subscribers in MailChimp by using this addon to add users who take your quizzes and surveys!</p>
|
83 |
+
<a href="http://quizandsurveymaster.com/downloads/mailchimp-integration/?utm_source=qsm-addons-page&utm_medium=plugin&utm_content=mailchimp-integration&utm_campaign=qsm_plugin" target="_blank" class="button">Get This Addon</a>
|
84 |
+
</div>
|
85 |
+
<div class="qsm-info-widget">
|
86 |
+
<h3>User Dashboard</h3>
|
87 |
+
<p>This addon gives you the ability to set up a page where users can review their results from all the quizzes they have taken.</p>
|
88 |
+
<a href="http://quizandsurveymaster.com/downloads/user-dashboard/?utm_source=qsm-addons-page&utm_medium=plugin&utm_content=user-dashboard&utm_campaign=qsm_plugin" target="_blank" class="button">Get This Addon</a>
|
89 |
+
</div>
|
90 |
+
<div class="qsm-info-widget">
|
91 |
+
<h3>Aweber Integration</h3>
|
92 |
+
<p>Grow your list of subscribers in AWeber by using this addon to add users who take your quizzes!</p>
|
93 |
+
<a href="http://quizandsurveymaster.com/downloads/aweber-integration/?utm_source=qsm-addons-page&utm_medium=plugin&utm_content=aweber-integration&utm_campaign=qsm_plugin" target="_blank" class="button">Get This Addon</a>
|
94 |
+
</div>
|
95 |
+
<div class="qsm-info-widget">
|
96 |
+
<h3>Extra Template Variables</h3>
|
97 |
+
<p>This addon gives you several more template variables to use in your emails and results pages.</p>
|
98 |
+
<a href="http://quizandsurveymaster.com/downloads/extra-template-variables/?utm_source=qsm-addons-page&utm_medium=plugin&utm_content=extra-template-variables&utm_campaign=qsm_plugin" target="_blank" class="button">Get This Addon</a>
|
99 |
+
</div>
|
100 |
</div>
|
|
|
|
|
101 |
<a href="http://quizandsurveymaster.com/addons/?utm_source=qsm-addons-page&utm_medium=plugin&utm_content=all-addons-bottom&utm_campaign=qsm_plugin" target="_blank" class="button-primary"><?php _e('Browse All Addons', 'quiz-master-next'); ?></a>
|
102 |
<?php
|
103 |
}
|
104 |
|
105 |
|
106 |
/**
|
107 |
+
* This function registers the feature add ons tab.
|
108 |
+
*
|
109 |
+
* @return void
|
110 |
+
* @since 4.4.0
|
111 |
+
*/
|
112 |
function qsm_featured_addons_tab() {
|
113 |
global $mlwQuizMasterNext;
|
114 |
+
$mlwQuizMasterNext->pluginHelper->register_addon_settings_tab( __( 'Featured Addons', 'quiz-master-next' ), 'qsm_generate_featured_addons' );
|
115 |
}
|
116 |
+
add_action( 'plugins_loaded', 'qsm_featured_addons_tab' );
|
117 |
?>
|
php/admin/help-page.php
CHANGED
@@ -1,34 +1,42 @@
|
|
1 |
<?php
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
/**
|
5 |
-
* This function generates the help page.
|
6 |
-
*
|
7 |
-
* @return void
|
8 |
-
* @since 4.4.0
|
9 |
-
*/
|
10 |
function mlw_generate_help_page() {
|
11 |
-
if ( !current_user_can('moderate_comments') ) {
|
12 |
return;
|
13 |
}
|
14 |
|
15 |
-
wp_enqueue_style( 'qsm_admin_style', plugins_url( '../../css/qsm-admin.css'
|
16 |
|
17 |
-
|
18 |
-
add_meta_box(
|
19 |
-
add_meta_box(
|
20 |
?>
|
21 |
<div class="wrap">
|
22 |
-
<h2><?php
|
23 |
<?php echo mlw_qmn_show_adverts(); ?>
|
24 |
|
25 |
<!--Display Widget Boxes-->
|
26 |
<div style="width:100%;" class="inner-sidebar1">
|
27 |
-
<?php do_meta_boxes('meta_box_help','advanced','');
|
28 |
</div>
|
29 |
|
30 |
<div style="width:100%;" class="inner-sidebar1">
|
31 |
-
<?php do_meta_boxes('meta_box_sys_info','advanced','');
|
32 |
</div>
|
33 |
|
34 |
</div>
|
@@ -36,38 +44,37 @@ function mlw_generate_help_page() {
|
|
36 |
}
|
37 |
|
38 |
/**
|
39 |
-
* This function creates the text that is displayed on the help page.
|
40 |
-
*
|
41 |
-
* @
|
42 |
-
* @
|
43 |
-
|
44 |
-
*/
|
45 |
function qsm_documentation_meta_box_content() {
|
46 |
?>
|
47 |
-
<p><?php
|
48 |
<ul>
|
49 |
<li>For assistance in using the plugin, read our <a href="http://quizandsurveymaster.com/documentation/?utm_source=qsm-help-page&utm_medium=plugin&utm_campaign=qsm_plugin&utm_content=documentation" target="_blank">documentation</a> or view videos in our <a href="http://quizandsurveymaster.com/online-academy/?utm_source=qsm-help-page&utm_medium=plugin&utm_campaign=qsm_plugin&utm_content=online_academy" target="_blank">video tutorials</a></li>
|
50 |
-
<li>For support, fill out the form on our <a href="
|
51 |
</ul>
|
52 |
<?php
|
53 |
}
|
54 |
|
55 |
/**
|
56 |
-
* This function echoes out the system info for the user.
|
57 |
-
*
|
58 |
-
* @return void
|
59 |
-
* @since 4.4.0
|
60 |
-
*/
|
61 |
function qsm_system_meta_box_content() {
|
62 |
echo qsm_get_system_info();
|
63 |
}
|
64 |
|
65 |
/**
|
66 |
-
* This function gets the content that is in the system info
|
67 |
-
*
|
68 |
-
* @return return string This contains all of the system info from the admins server.
|
69 |
-
* @since 4.4.0
|
70 |
-
*/
|
71 |
function qsm_get_system_info() {
|
72 |
global $wpdb;
|
73 |
global $mlwQuizMasterNext;
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Creates the Help page within the admin area
|
4 |
+
*
|
5 |
+
* @package QSM
|
6 |
+
*/
|
7 |
+
|
8 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
+
exit;
|
10 |
+
}
|
11 |
|
12 |
/**
|
13 |
+
* This function generates the help page.
|
14 |
+
*
|
15 |
+
* @return void
|
16 |
+
* @since 4.4.0
|
17 |
+
*/
|
18 |
function mlw_generate_help_page() {
|
19 |
+
if ( ! current_user_can( 'moderate_comments' ) ) {
|
20 |
return;
|
21 |
}
|
22 |
|
23 |
+
wp_enqueue_style( 'qsm_admin_style', plugins_url( '../../css/qsm-admin.css', __FILE__ ) );
|
24 |
|
25 |
+
// Creates the widgets.
|
26 |
+
add_meta_box( 'wpss_mrts', __( 'Need Help?', 'quiz-master-next' ), 'qsm_documentation_meta_box_content', 'meta_box_help' );
|
27 |
+
add_meta_box( 'wpss_mrts', __( 'System Info', 'quiz-master-next' ), 'qsm_system_meta_box_content', 'meta_box_sys_info' );
|
28 |
?>
|
29 |
<div class="wrap">
|
30 |
+
<h2><?php esc_html_e( 'Help Page', 'quiz-master-next' ); ?></h2>
|
31 |
<?php echo mlw_qmn_show_adverts(); ?>
|
32 |
|
33 |
<!--Display Widget Boxes-->
|
34 |
<div style="width:100%;" class="inner-sidebar1">
|
35 |
+
<?php do_meta_boxes( 'meta_box_help', 'advanced', '' ); ?>
|
36 |
</div>
|
37 |
|
38 |
<div style="width:100%;" class="inner-sidebar1">
|
39 |
+
<?php do_meta_boxes( 'meta_box_sys_info', 'advanced', '' ); ?>
|
40 |
</div>
|
41 |
|
42 |
</div>
|
44 |
}
|
45 |
|
46 |
/**
|
47 |
+
* This function creates the text that is displayed on the help page.
|
48 |
+
*
|
49 |
+
* @return void
|
50 |
+
* @since 4.4.0
|
51 |
+
*/
|
|
|
52 |
function qsm_documentation_meta_box_content() {
|
53 |
?>
|
54 |
+
<p><?php esc_html_e( 'Need help with the plugin? Try any of the following:', 'quiz-master-next' ); ?></p>
|
55 |
<ul>
|
56 |
<li>For assistance in using the plugin, read our <a href="http://quizandsurveymaster.com/documentation/?utm_source=qsm-help-page&utm_medium=plugin&utm_campaign=qsm_plugin&utm_content=documentation" target="_blank">documentation</a> or view videos in our <a href="http://quizandsurveymaster.com/online-academy/?utm_source=qsm-help-page&utm_medium=plugin&utm_campaign=qsm_plugin&utm_content=online_academy" target="_blank">video tutorials</a></li>
|
57 |
+
<li>For support, fill out the form on our <a href="https://quizandsurveymaster.com/quiz/contact/?utm_source=qsm-help-page&utm_medium=plugin&utm_campaign=qsm_plugin&utm_content=contact_us" target="_blank">Contact Us Page</a></li>
|
58 |
</ul>
|
59 |
<?php
|
60 |
}
|
61 |
|
62 |
/**
|
63 |
+
* This function echoes out the system info for the user.
|
64 |
+
*
|
65 |
+
* @return void
|
66 |
+
* @since 4.4.0
|
67 |
+
*/
|
68 |
function qsm_system_meta_box_content() {
|
69 |
echo qsm_get_system_info();
|
70 |
}
|
71 |
|
72 |
/**
|
73 |
+
* This function gets the content that is in the system info
|
74 |
+
*
|
75 |
+
* @return return string This contains all of the system info from the admins server.
|
76 |
+
* @since 4.4.0
|
77 |
+
*/
|
78 |
function qsm_get_system_info() {
|
79 |
global $wpdb;
|
80 |
global $mlwQuizMasterNext;
|
php/admin/quizzes-page.php
CHANGED
@@ -193,7 +193,7 @@ function qsm_generate_quizzes_surveys_page() {
|
|
193 |
?>
|
194 |
<div class="qsm-news-ads">
|
195 |
<h3 class="qsm-news-ads-title"><?php _e( 'QSM News', 'quiz-master-next' ); ?></h3>
|
196 |
-
<div class="qsm-
|
197 |
<h3><?php _e( 'Subscribe to our newsletter!', 'quiz-master-next' ); ?></h3>
|
198 |
<p><?php _e( 'Join our mailing list and receive a discount on your next purchase! Learn about our newest features, receive email-only promotions, receive tips and guides, and more!', 'quiz-master-next' ); ?></p>
|
199 |
<a target="_blank" href="http://quizandsurveymaster.com/subscribe-to-our-newsletter/?utm_source=qsm-quizzes-page&utm_medium=plugin&utm_campaign=qsm_plugin&utm_content=subscribe-to-newsletter" class="button-primary"><?php _e( 'Subscribe Now', 'quiz-master-next' ); ?></a>
|
@@ -215,7 +215,7 @@ function qsm_generate_quizzes_surveys_page() {
|
|
215 |
}
|
216 |
foreach ( $qmn_rss as $item ) {
|
217 |
?>
|
218 |
-
<div class="qsm-
|
219 |
<h3><?php echo esc_html( $item['title'] ); ?></h3>
|
220 |
<p>By <?php echo esc_html( $item['author'] ); ?></p>
|
221 |
<div>
|
193 |
?>
|
194 |
<div class="qsm-news-ads">
|
195 |
<h3 class="qsm-news-ads-title"><?php _e( 'QSM News', 'quiz-master-next' ); ?></h3>
|
196 |
+
<div class="qsm-info-widget">
|
197 |
<h3><?php _e( 'Subscribe to our newsletter!', 'quiz-master-next' ); ?></h3>
|
198 |
<p><?php _e( 'Join our mailing list and receive a discount on your next purchase! Learn about our newest features, receive email-only promotions, receive tips and guides, and more!', 'quiz-master-next' ); ?></p>
|
199 |
<a target="_blank" href="http://quizandsurveymaster.com/subscribe-to-our-newsletter/?utm_source=qsm-quizzes-page&utm_medium=plugin&utm_campaign=qsm_plugin&utm_content=subscribe-to-newsletter" class="button-primary"><?php _e( 'Subscribe Now', 'quiz-master-next' ); ?></a>
|
215 |
}
|
216 |
foreach ( $qmn_rss as $item ) {
|
217 |
?>
|
218 |
+
<div class="qsm-info-widget">
|
219 |
<h3><?php echo esc_html( $item['title'] ); ?></h3>
|
220 |
<p>By <?php echo esc_html( $item['author'] ); ?></p>
|
221 |
<div>
|
php/classes/class-qmn-quiz-manager.php
CHANGED
@@ -423,7 +423,7 @@ class QMNQuizManager {
|
|
423 |
$message_comments = apply_filters( 'mlw_qmn_template_variable_quiz_page', $message_comments, $quiz_data );
|
424 |
?>
|
425 |
<div class="quiz_section quiz_begin">
|
426 |
-
<label for='mlwQuizComments' class='qsm-comments-label mlw_qmn_comment_section_text'><?php echo
|
427 |
<textarea id='mlwQuizComments' name='mlwQuizComments' class='qsm-comments qmn_comment_section'></textarea>
|
428 |
</div>
|
429 |
<?php
|
423 |
$message_comments = apply_filters( 'mlw_qmn_template_variable_quiz_page', $message_comments, $quiz_data );
|
424 |
?>
|
425 |
<div class="quiz_section quiz_begin">
|
426 |
+
<label for='mlwQuizComments' class='qsm-comments-label mlw_qmn_comment_section_text'><?php echo $message_comments; ?></label>
|
427 |
<textarea id='mlwQuizComments' name='mlwQuizComments' class='qsm-comments qmn_comment_section'></textarea>
|
428 |
</div>
|
429 |
<?php
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: quiz, survey, lead, test, score, exam, questionnaire, question
|
|
4 |
Requires at least: 4.8
|
5 |
Tested up to: 4.9
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 6.0.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -111,6 +111,9 @@ This is usually a theme conflict. You can [checkout out our common conflict solu
|
|
111 |
|
112 |
== Changelog ==
|
113 |
|
|
|
|
|
|
|
114 |
= 6.0.0 (June 20, 2018) =
|
115 |
* Closed Enhancement: Remove Tools tab ([Issue #689](https://github.com/fpcorso/quiz_master_next/issues/689))
|
116 |
* Closed Enhancement: Bump Minimum PHP Version To 5.4 ([Issue #607](https://github.com/fpcorso/quiz_master_next/issues/607))
|
@@ -120,8 +123,5 @@ This is usually a theme conflict. You can [checkout out our common conflict solu
|
|
120 |
|
121 |
== Upgrade Notice ==
|
122 |
|
123 |
-
=
|
124 |
-
Upgrade for fix
|
125 |
-
|
126 |
-
= 5.3.1 =
|
127 |
-
Update for integrations with WordPress 4.9.6 GDPR features
|
4 |
Requires at least: 4.8
|
5 |
Tested up to: 4.9
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 6.0.1
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
111 |
|
112 |
== Changelog ==
|
113 |
|
114 |
+
= 6.0.1 (July 11, 2018) =
|
115 |
+
* Closed Bug: Quiz comment box shows HTML in label when using newer pagination system ([Issue #704](https://github.com/fpcorso/quiz_master_next/issues/704))
|
116 |
+
|
117 |
= 6.0.0 (June 20, 2018) =
|
118 |
* Closed Enhancement: Remove Tools tab ([Issue #689](https://github.com/fpcorso/quiz_master_next/issues/689))
|
119 |
* Closed Enhancement: Bump Minimum PHP Version To 5.4 ([Issue #607](https://github.com/fpcorso/quiz_master_next/issues/607))
|
123 |
|
124 |
== Upgrade Notice ==
|
125 |
|
126 |
+
= 6.0.1 =
|
127 |
+
Upgrade for fix quiz comments displaying HTML
|
|
|
|
|
|