Version Description
(January 27, 2020) = * Bug: Fixed jquery issue while editing the result page. * Bug: Added string translation for %POLL_RESULTS_X% variable. * Bug: Fixed incorrect score while using point value with decimal. * Enhancement: Added link support in contact field label. * Enhancement: Added HTML support in email tab. * Enhancement: Added option to add link in Hint field. * Enhancement: Added support for HTML tags in Correct answer info field. * Enhancement: Added option to view roadmap. * Enhancement: Added option to delete questions from database. * Enhancement: Changed the quiz status by default to Draft.
Download this release
Release Info
Developer | expresstech |
Plugin | Quiz And Survey Master (Formerly Quiz Master Next) |
Version | 7.1.11 |
Comparing to | |
See all releases |
Code changes from version 7.1.10 to 7.1.11
- css/common.css +28 -0
- js/qsm-admin-contact.js +2 -1
- js/qsm-admin-question.js +26 -1
- js/qsm-quiz.js +5 -4
- lang/quiz-master-next.pot +334 -298
- mlw_quizmaster2.php +4 -3
- php/admin/admin-results-details-page.php +1 -1
- php/admin/functions.php +25 -1
- php/admin/options-page-questions-tab.php +24 -3
- php/admin/quiz-options-page.php +30 -1
- php/classes/class-qmn-quiz-creator.php +1 -1
- php/classes/class-qmn-quiz-manager.php +14 -9
- php/classes/class-qsm-contact-manager.php +12 -6
- php/classes/class-qsm-install.php +23 -6
- php/classes/class-qsm-questions.php +1 -1
- php/classes/class-qsm-settings.php +1 -2
- php/question-types.php +9 -1
- php/rest-api.php +1 -1
- php/template-variables.php +27 -4
- readme.txt +14 -1
css/common.css
CHANGED
@@ -276,4 +276,32 @@ footer.qsm-popup__footer button.qsm-popup-secondary-button:hover{
|
|
276 |
body .quiz_section .qmn_accept_answers label{
|
277 |
font-size: 14px !important;
|
278 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
}
|
276 |
body .quiz_section .qmn_accept_answers label{
|
277 |
font-size: 14px !important;
|
278 |
}
|
279 |
+
}
|
280 |
+
.qsm_tooltip {
|
281 |
+
position: relative;
|
282 |
+
display: inline-block;
|
283 |
+
}
|
284 |
+
|
285 |
+
.qsm_tooltip .qsm_tooltiptext{
|
286 |
+
visibility: hidden;
|
287 |
+
width: 120px;
|
288 |
+
background-color: black;
|
289 |
+
color: #fff;
|
290 |
+
text-align: center;
|
291 |
+
border-radius: 6px;
|
292 |
+
padding: 5px 0;
|
293 |
+
|
294 |
+
/* Position the tooltip */
|
295 |
+
position: absolute;
|
296 |
+
z-index: 1;
|
297 |
+
bottom: 100%;
|
298 |
+
left: 50%;
|
299 |
+
margin-left: -60px;
|
300 |
+
}
|
301 |
+
.qsm_tooltip .qsm_tooltiptext a{
|
302 |
+
background-color: black !important;
|
303 |
+
color: #fff!important;
|
304 |
+
}
|
305 |
+
.qsm_tooltip:hover .qsm_tooltiptext {
|
306 |
+
visibility: visible;
|
307 |
}
|
js/qsm-admin-contact.js
CHANGED
@@ -13,6 +13,7 @@ var QSMContact;
|
|
13 |
}
|
14 |
},
|
15 |
addField : function( fieldArray ) {
|
|
|
16 |
var contactField = $( '<div class="contact-form-field new">' +
|
17 |
'<div class="contact-form-group">' +
|
18 |
'<label class="contact-form-label">Field Type</label>' +
|
@@ -25,7 +26,7 @@ var QSMContact;
|
|
25 |
'</div>' +
|
26 |
'<div class="contact-form-group">' +
|
27 |
'<label class="contact-form-label">Label</label>' +
|
28 |
-
'<input type="text" class="contact-form-control label-control" value="' +
|
29 |
'</div>' +
|
30 |
'<div class="contact-form-group">' +
|
31 |
'<label class="contact-form-label">Used For</label>' +
|
13 |
}
|
14 |
},
|
15 |
addField : function( fieldArray ) {
|
16 |
+
var new_label = fieldArray.label.replace(/"/g, "'");
|
17 |
var contactField = $( '<div class="contact-form-field new">' +
|
18 |
'<div class="contact-form-group">' +
|
19 |
'<label class="contact-form-label">Field Type</label>' +
|
26 |
'</div>' +
|
27 |
'<div class="contact-form-group">' +
|
28 |
'<label class="contact-form-label">Label</label>' +
|
29 |
+
'<input type="text" class="contact-form-control label-control" value="' + new_label + '">' +
|
30 |
'</div>' +
|
31 |
'<div class="contact-form-group">' +
|
32 |
'<label class="contact-form-label">Used For</label>' +
|
js/qsm-admin-question.js
CHANGED
@@ -711,9 +711,34 @@ var import_button;
|
|
711 |
QSMQuestion.duplicateQuestion( $( this ).parents( '.question' ).data( 'question-id' ) );
|
712 |
$('.save-page-button').trigger('click');
|
713 |
});
|
714 |
-
|
715 |
event.preventDefault();
|
716 |
if( confirm('Are you sure?') ){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
717 |
$( this ).parents( '.question' ).remove();
|
718 |
QSMQuestion.countTotal();
|
719 |
$('.save-page-button').trigger('click');
|
711 |
QSMQuestion.duplicateQuestion( $( this ).parents( '.question' ).data( 'question-id' ) );
|
712 |
$('.save-page-button').trigger('click');
|
713 |
});
|
714 |
+
$( '.questions' ).on( 'click', '.delete-question-button', function( event ) {
|
715 |
event.preventDefault();
|
716 |
if( confirm('Are you sure?') ){
|
717 |
+
var question_id = $(this).data('question-iid');
|
718 |
+
|
719 |
+
// if( question_id ){
|
720 |
+
console.log(question_id);
|
721 |
+
$.ajax( {
|
722 |
+
url: ajaxurl,
|
723 |
+
method: 'POST',
|
724 |
+
data: {
|
725 |
+
'action' : 'qsm_delete_question_from_database',
|
726 |
+
'question_id': question_id,
|
727 |
+
'nonce': qsmQuestionSettings.single_question_nonce
|
728 |
+
},
|
729 |
+
success: function(response) {
|
730 |
+
var data = jQuery.parseJSON( response );
|
731 |
+
if( data.success === true ){
|
732 |
+
|
733 |
+
console.log( data.message );
|
734 |
+
} else {
|
735 |
+
console.log( data.message );
|
736 |
+
}
|
737 |
+
}
|
738 |
+
} );
|
739 |
+
// }
|
740 |
+
|
741 |
+
|
742 |
$( this ).parents( '.question' ).remove();
|
743 |
QSMQuestion.countTotal();
|
744 |
$('.save-page-button').trigger('click');
|
js/qsm-quiz.js
CHANGED
@@ -1203,12 +1203,13 @@ jQuery(function() {
|
|
1203 |
$this.find('.quick-question-res-p').remove();
|
1204 |
$this.find('.qsm-inline-correct-info').remove();
|
1205 |
if (data.success == 'correct') {
|
1206 |
-
$this.append('<
|
1207 |
-
$this.append('<
|
1208 |
} else if (data.success == 'incorrect') {
|
1209 |
-
$this.append('<
|
1210 |
-
$this.append('<
|
1211 |
}
|
|
|
1212 |
},
|
1213 |
error: function (errorThrown) {
|
1214 |
alert(errorThrown);
|
1203 |
$this.find('.quick-question-res-p').remove();
|
1204 |
$this.find('.qsm-inline-correct-info').remove();
|
1205 |
if (data.success == 'correct') {
|
1206 |
+
$this.append('<div style="color: green" class="quick-question-res-p">' + qmn_quiz_data[ quizID ].quick_result_correct_answer_text + '</div>')
|
1207 |
+
$this.append('<div class="qsm-inline-correct-info">' + data.message + '</div>');
|
1208 |
} else if (data.success == 'incorrect') {
|
1209 |
+
$this.append('<div style="color: red" class="quick-question-res-p">' + qmn_quiz_data[ quizID ].quick_result_wrong_answer_text + '</div>')
|
1210 |
+
$this.append('<div class="qsm-inline-correct-info">' + data.message + '</div>');
|
1211 |
}
|
1212 |
+
MathJax.Hub.queue.Push(["Typeset", MathJax.Hub]);
|
1213 |
},
|
1214 |
error: function (errorThrown) {
|
1215 |
alert(errorThrown);
|
lang/quiz-master-next.pot
CHANGED
@@ -9,7 +9,7 @@ msgid ""
|
|
9 |
msgstr ""
|
10 |
"Project-Id-Version: PACKAGE VERSION\n"
|
11 |
"Report-Msgid-Bugs-To: \n"
|
12 |
-
"POT-Creation-Date:
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
15 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -28,7 +28,7 @@ msgstr ""
|
|
28 |
msgid "Quiz"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: mlw_quizmaster2.php:242 php/admin/quizzes-page.php:
|
32 |
msgid "Add New"
|
33 |
msgstr ""
|
34 |
|
@@ -76,8 +76,8 @@ msgstr ""
|
|
76 |
msgid "Dashboard"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: mlw_quizmaster2.php:286 php/admin/quizzes-page.php:
|
80 |
-
#: php/classes/class-qsm-install.php:
|
81 |
msgid "Quizzes/Surveys"
|
82 |
msgstr ""
|
83 |
|
@@ -86,7 +86,7 @@ msgstr ""
|
|
86 |
msgid "Settings"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: mlw_quizmaster2.php:289 php/admin/quizzes-page.php:
|
90 |
msgid "Results"
|
91 |
msgstr ""
|
92 |
|
@@ -233,7 +233,7 @@ msgstr ""
|
|
233 |
msgid "User ID"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: php/gdpr.php:178 php/admin/admin-results-page.php:
|
237 |
msgid "IP Address"
|
238 |
msgstr ""
|
239 |
|
@@ -253,65 +253,65 @@ msgstr ""
|
|
253 |
msgid "File Upload"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: php/question-types.php:
|
257 |
msgid "Date"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: php/question-types.php:
|
261 |
msgid "Horizontal Multiple Choice"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: php/question-types.php:
|
265 |
msgid "Drop Down"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: php/question-types.php:
|
269 |
msgid "Please select your answer"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: php/question-types.php:
|
273 |
msgid "Short Answer"
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: php/question-types.php:
|
277 |
msgid "Multiple Response"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: php/question-types.php:
|
281 |
msgid "Paragraph"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: php/question-types.php:
|
285 |
msgid "Text/HTML Section"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: php/question-types.php:
|
289 |
msgid "Number"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: php/question-types.php:
|
293 |
msgid "Opt-in"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: php/question-types.php:
|
297 |
msgid "Captcha"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: php/question-types.php:
|
301 |
msgid "Horizontal Multiple Response"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: php/question-types.php:
|
305 |
msgid ""
|
306 |
"For fill in the blank types, use %BLANK% to represent where to put the text "
|
307 |
"box in your text."
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: php/question-types.php:
|
311 |
msgid "Fill In The Blank"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: php/question-types.php:
|
315 |
msgid "Polar"
|
316 |
msgstr ""
|
317 |
|
@@ -322,7 +322,7 @@ msgid "User not logged in"
|
|
322 |
msgstr ""
|
323 |
|
324 |
#: php/rest-api.php:183 php/admin/admin-dashboard.php:381
|
325 |
-
#: php/admin/admin-results-page.php:
|
326 |
msgid "Not Graded"
|
327 |
msgstr ""
|
328 |
|
@@ -330,11 +330,23 @@ msgstr ""
|
|
330 |
msgid "No quiz found"
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: php/template-variables.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
334 |
msgid "No answer provided"
|
335 |
msgstr ""
|
336 |
|
337 |
-
#: php/template-variables.php:
|
338 |
msgid "No Answer Provided"
|
339 |
msgstr ""
|
340 |
|
@@ -502,7 +514,7 @@ msgstr ""
|
|
502 |
msgid "Get Started"
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: php/admin/admin-dashboard.php:123 php/admin/quizzes-page.php:
|
506 |
msgid "Create New Quiz/Survey"
|
507 |
msgstr ""
|
508 |
|
@@ -514,7 +526,7 @@ msgstr ""
|
|
514 |
msgid "Next Steps"
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: php/admin/admin-dashboard.php:131 php/admin/quizzes-page.php:
|
518 |
msgid "Read Documentation"
|
519 |
msgstr ""
|
520 |
|
@@ -670,82 +682,82 @@ msgstr ""
|
|
670 |
msgid "Your results has been deleted successfully."
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: php/admin/admin-results-page.php:
|
674 |
#, php-format
|
675 |
msgid "One result"
|
676 |
msgid_plural "%s results"
|
677 |
msgstr[0] ""
|
678 |
msgstr[1] ""
|
679 |
|
680 |
-
#: php/admin/admin-results-page.php:
|
681 |
msgid "Search Results"
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: php/admin/admin-results-page.php:
|
685 |
msgid "Order By"
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: php/admin/admin-results-page.php:
|
689 |
msgid "Quiz Name"
|
690 |
msgstr ""
|
691 |
|
692 |
-
#: php/admin/admin-results-page.php:
|
693 |
msgid "User Name"
|
694 |
msgstr ""
|
695 |
|
696 |
-
#: php/admin/admin-results-page.php:
|
697 |
msgid "Points"
|
698 |
msgstr ""
|
699 |
|
700 |
-
#: php/admin/admin-results-page.php:
|
701 |
msgid "Correct Percent"
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: php/admin/admin-results-page.php:
|
705 |
msgid "Default (Time)"
|
706 |
msgstr ""
|
707 |
|
708 |
-
#: php/admin/admin-results-page.php:
|
709 |
msgid "Score"
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: php/admin/admin-results-page.php:
|
713 |
msgid "Time To Complete"
|
714 |
msgstr ""
|
715 |
|
716 |
-
#: php/admin/admin-results-page.php:
|
717 |
msgid "Name"
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: php/admin/admin-results-page.php:
|
721 |
msgid "Business"
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: php/admin/admin-results-page.php:
|
725 |
msgid "Email"
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: php/admin/admin-results-page.php:
|
729 |
msgid "Phone"
|
730 |
msgstr ""
|
731 |
|
732 |
-
#: php/admin/admin-results-page.php:
|
733 |
msgid "User"
|
734 |
msgstr ""
|
735 |
|
736 |
-
#: php/admin/admin-results-page.php:
|
737 |
msgid "Time Taken"
|
738 |
msgstr ""
|
739 |
|
740 |
-
#: php/admin/admin-results-page.php:
|
741 |
msgid "No record found."
|
742 |
msgstr ""
|
743 |
|
744 |
-
#: php/admin/admin-results-page.php:
|
745 |
msgid "Are you sure you want to delete these results?"
|
746 |
msgstr ""
|
747 |
|
748 |
-
#: php/admin/admin-results-page.php:
|
749 |
msgid "Delete Results"
|
750 |
msgstr ""
|
751 |
|
@@ -794,7 +806,7 @@ msgstr ""
|
|
794 |
#: php/admin/options-page-option-tab.php:28
|
795 |
#: php/admin/options-page-questions-tab.php:278
|
796 |
#: php/admin/options-page-text-tab.php:30
|
797 |
-
#: php/classes/class-qsm-install.php:
|
798 |
msgid "View Documentation"
|
799 |
msgstr ""
|
800 |
|
@@ -842,9 +854,9 @@ msgstr ""
|
|
842 |
msgid "Create Quiz"
|
843 |
msgstr ""
|
844 |
|
845 |
-
#: php/admin/functions.php:552 php/admin/quizzes-page.php:
|
846 |
-
#: php/admin/quizzes-page.php:
|
847 |
-
#: php/admin/quizzes-page.php:
|
848 |
msgid "Cancel"
|
849 |
msgstr ""
|
850 |
|
@@ -885,86 +897,110 @@ msgid "The name the user entered before the quiz"
|
|
885 |
msgstr ""
|
886 |
|
887 |
#: php/admin/functions.php:575
|
888 |
-
msgid "The
|
889 |
msgstr ""
|
890 |
|
891 |
#: php/admin/functions.php:576
|
892 |
-
msgid "The
|
893 |
msgstr ""
|
894 |
|
895 |
#: php/admin/functions.php:577
|
896 |
-
msgid "The
|
897 |
msgstr ""
|
898 |
|
899 |
#: php/admin/functions.php:578
|
900 |
-
msgid "The
|
901 |
msgstr ""
|
902 |
|
903 |
#: php/admin/functions.php:579
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
904 |
msgid ""
|
905 |
"Shows the question, the answer the user provided, and the correct answer"
|
906 |
msgstr ""
|
907 |
|
908 |
-
#: php/admin/functions.php:
|
909 |
msgid "The comments the user entered into comment box if enabled"
|
910 |
msgstr ""
|
911 |
|
912 |
-
#: php/admin/functions.php:
|
913 |
msgid "The amount of time user spent on quiz in seconds"
|
914 |
msgstr ""
|
915 |
|
916 |
-
#: php/admin/functions.php:
|
917 |
msgid "The amount of time user spent on quiz in minutes"
|
918 |
msgstr ""
|
919 |
|
920 |
-
#: php/admin/functions.php:
|
921 |
msgid "X: Category name - The amount of points a specific category earned."
|
922 |
msgstr ""
|
923 |
|
924 |
-
#: php/admin/functions.php:
|
925 |
msgid "X: Category name - The score a specific category earned."
|
926 |
msgstr ""
|
927 |
|
928 |
-
#: php/admin/functions.php:
|
929 |
msgid "The average points from all categories."
|
930 |
msgstr ""
|
931 |
|
932 |
-
#: php/admin/functions.php:
|
933 |
msgid "The average score from all categories."
|
934 |
msgstr ""
|
935 |
|
936 |
-
#: php/admin/functions.php:
|
937 |
msgid "The question that the user answered"
|
938 |
msgstr ""
|
939 |
|
940 |
-
#: php/admin/functions.php:
|
941 |
msgid "The answer the user gave for the question"
|
942 |
msgstr ""
|
943 |
|
944 |
-
#: php/admin/functions.php:
|
945 |
msgid "The answer the user gave for the question with default design"
|
946 |
msgstr ""
|
947 |
|
948 |
-
#: php/admin/functions.php:
|
949 |
msgid "The correct answer for the question"
|
950 |
msgstr ""
|
951 |
|
952 |
-
#: php/admin/functions.php:
|
953 |
msgid "The comments the user provided in the comment field for the question"
|
954 |
msgstr ""
|
955 |
|
956 |
-
#: php/admin/functions.php:
|
957 |
msgid "Reason why the correct answer is the correct answer"
|
958 |
msgstr ""
|
959 |
|
960 |
-
#: php/admin/functions.php:
|
961 |
msgid "The Current Date"
|
962 |
msgstr ""
|
963 |
|
964 |
-
#: php/admin/functions.php:
|
965 |
msgid "Point Score of the question"
|
966 |
msgstr ""
|
967 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
968 |
#: php/admin/help-page.php:26
|
969 |
msgid "Need Help?"
|
970 |
msgstr ""
|
@@ -1213,13 +1249,13 @@ msgstr ""
|
|
1213 |
msgid "is less than"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: php/admin/options-page-email-tab.php:
|
1217 |
#: php/admin/options-page-results-page-tab.php:113
|
1218 |
#: php/admin/options-page-text-tab.php:120
|
1219 |
msgid "Template Variables"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
-
#: php/admin/options-page-email-tab.php:
|
1223 |
#: php/admin/options-page-results-page-tab.php:115
|
1224 |
msgid ""
|
1225 |
"Use these dynamic variables to customize your quiz or survey. Just copy and "
|
@@ -1227,18 +1263,18 @@ msgid ""
|
|
1227 |
"replaced by actual values when user takes a quiz."
|
1228 |
msgstr ""
|
1229 |
|
1230 |
-
#: php/admin/options-page-email-tab.php:
|
1231 |
#: php/admin/options-page-results-page-tab.php:116
|
1232 |
msgid "Note: "
|
1233 |
msgstr ""
|
1234 |
|
1235 |
-
#: php/admin/options-page-email-tab.php:
|
1236 |
#: php/admin/options-page-results-page-tab.php:117
|
1237 |
msgid "Always use uppercase while using these variables."
|
1238 |
msgstr ""
|
1239 |
|
1240 |
-
#: php/admin/options-page-email-tab.php:133
|
1241 |
#: php/admin/options-page-email-tab.php:134
|
|
|
1242 |
#: php/admin/options-page-results-page-tab.php:124
|
1243 |
#: php/admin/options-page-results-page-tab.php:125
|
1244 |
msgid ""
|
@@ -1246,23 +1282,23 @@ msgid ""
|
|
1246 |
"first contact field would be %CONTACT_1%"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
-
#: php/admin/options-page-email-tab.php:
|
1250 |
-
#: php/admin/options-page-results-page-tab.php:
|
1251 |
msgid "X = Question ID. It will show result of particular question."
|
1252 |
msgstr ""
|
1253 |
|
1254 |
-
#: php/admin/options-page-email-tab.php:
|
1255 |
msgid "Shows the question, the answer provided by user, and the correct answer"
|
1256 |
msgstr ""
|
1257 |
|
1258 |
-
#: php/admin/options-page-email-tab.php:
|
1259 |
#: php/admin/options-page-results-page-tab.php:128
|
1260 |
msgid ""
|
1261 |
"X: Category name - The average amount of points a specific category earned."
|
1262 |
msgstr ""
|
1263 |
|
1264 |
-
#: php/admin/options-page-email-tab.php:
|
1265 |
-
#: php/admin/options-page-results-page-tab.php:
|
1266 |
msgid "Close [Esc]"
|
1267 |
msgstr ""
|
1268 |
|
@@ -1438,18 +1474,18 @@ msgstr ""
|
|
1438 |
#: php/admin/options-page-questions-tab.php:315
|
1439 |
#: php/admin/options-page-questions-tab.php:396
|
1440 |
#: php/admin/options-page-questions-tab.php:484
|
1441 |
-
#: php/admin/settings-page.php:264 php/classes/class-qsm-install.php:
|
1442 |
-
#: php/classes/class-qsm-install.php:
|
1443 |
-
#: php/classes/class-qsm-install.php:
|
1444 |
-
#: php/classes/class-qsm-install.php:
|
1445 |
-
#: php/classes/class-qsm-install.php:
|
1446 |
-
#: php/classes/class-qsm-install.php:
|
1447 |
-
#: php/classes/class-qsm-install.php:
|
1448 |
-
#: php/classes/class-qsm-install.php:
|
1449 |
-
#: php/classes/class-qsm-install.php:
|
1450 |
-
#: php/classes/class-qsm-install.php:
|
1451 |
-
#: php/classes/class-qsm-install.php:
|
1452 |
-
#: php/classes/class-qsm-install.php:
|
1453 |
msgid "Yes"
|
1454 |
msgstr ""
|
1455 |
|
@@ -1487,19 +1523,19 @@ msgstr ""
|
|
1487 |
|
1488 |
#: php/admin/options-page-questions-tab.php:395
|
1489 |
#: php/admin/options-page-questions-tab.php:483
|
1490 |
-
#: php/admin/settings-page.php:269 php/classes/class-qsm-install.php:
|
1491 |
-
#: php/classes/class-qsm-install.php:
|
1492 |
-
#: php/classes/class-qsm-install.php:
|
1493 |
-
#: php/classes/class-qsm-install.php:
|
1494 |
-
#: php/classes/class-qsm-install.php:
|
1495 |
-
#: php/classes/class-qsm-install.php:
|
1496 |
-
#: php/classes/class-qsm-install.php:
|
1497 |
-
#: php/classes/class-qsm-install.php:
|
1498 |
-
#: php/classes/class-qsm-install.php:
|
1499 |
-
#: php/classes/class-qsm-install.php:
|
1500 |
-
#: php/classes/class-qsm-install.php:
|
1501 |
-
#: php/classes/class-qsm-install.php:
|
1502 |
-
#: php/classes/class-qsm-install.php:
|
1503 |
msgid "No"
|
1504 |
msgstr ""
|
1505 |
|
@@ -1609,18 +1645,10 @@ msgid "Or, redirect the user by entering the URL below:"
|
|
1609 |
msgstr ""
|
1610 |
|
1611 |
#: php/admin/options-page-results-page-tab.php:129
|
1612 |
-
msgid "Displays button to share on Facebook."
|
1613 |
-
msgstr ""
|
1614 |
-
|
1615 |
-
#: php/admin/options-page-results-page-tab.php:130
|
1616 |
-
msgid "Displays button to share on Twitter."
|
1617 |
-
msgstr ""
|
1618 |
-
|
1619 |
-
#: php/admin/options-page-results-page-tab.php:131
|
1620 |
msgid "X = Question ID Note: only supported for multiple choice answers"
|
1621 |
msgstr ""
|
1622 |
|
1623 |
-
#: php/admin/options-page-results-page-tab.php:
|
1624 |
msgid "Show result id"
|
1625 |
msgstr ""
|
1626 |
|
@@ -1705,16 +1733,16 @@ msgid ""
|
|
1705 |
"There has been an error in this action. Please share this with the developer"
|
1706 |
msgstr ""
|
1707 |
|
1708 |
-
#: php/admin/quiz-options-page.php:
|
1709 |
msgid "Post Settings"
|
1710 |
msgstr ""
|
1711 |
|
1712 |
-
#: php/admin/quiz-options-page.php:
|
1713 |
#: php/classes/class-qmn-alert-manager.php:41
|
1714 |
msgid "Error!"
|
1715 |
msgstr ""
|
1716 |
|
1717 |
-
#: php/admin/quiz-options-page.php:
|
1718 |
msgid ""
|
1719 |
"Please go to the quizzes page and click on the Edit link from the quiz you "
|
1720 |
"wish to edit."
|
@@ -1728,179 +1756,179 @@ msgstr ""
|
|
1728 |
msgid "Error trying to reset stats. Please try again."
|
1729 |
msgstr ""
|
1730 |
|
1731 |
-
#: php/admin/quizzes-page.php:
|
1732 |
msgid "Your site is using PHP version"
|
1733 |
msgstr ""
|
1734 |
|
1735 |
-
#: php/admin/quizzes-page.php:
|
1736 |
msgid "Starting in QSM 6.0, your version of PHP will no longer be supported."
|
1737 |
msgstr ""
|
1738 |
|
1739 |
-
#: php/admin/quizzes-page.php:
|
1740 |
msgid "Click here to learn more about QSM's minimum PHP version change."
|
1741 |
msgstr ""
|
1742 |
|
1743 |
-
#: php/admin/quizzes-page.php:
|
1744 |
msgid "Search"
|
1745 |
msgstr ""
|
1746 |
|
1747 |
-
#: php/admin/quizzes-page.php:
|
1748 |
msgid "Import & Export"
|
1749 |
msgstr ""
|
1750 |
|
1751 |
-
#: php/admin/quizzes-page.php:
|
1752 |
msgid "Bulk Actions"
|
1753 |
msgstr ""
|
1754 |
|
1755 |
-
#: php/admin/quizzes-page.php:
|
1756 |
msgid "Delete Permanently"
|
1757 |
msgstr ""
|
1758 |
|
1759 |
-
#: php/admin/quizzes-page.php:
|
1760 |
msgid "Apply"
|
1761 |
msgstr ""
|
1762 |
|
1763 |
-
#: php/admin/quizzes-page.php:
|
1764 |
msgid "item"
|
1765 |
msgid_plural "items"
|
1766 |
msgstr[0] ""
|
1767 |
msgstr[1] ""
|
1768 |
|
1769 |
-
#: php/admin/quizzes-page.php:
|
1770 |
msgid "Go to the first page"
|
1771 |
msgstr ""
|
1772 |
|
1773 |
-
#: php/admin/quizzes-page.php:
|
1774 |
msgid "Go to the previous page"
|
1775 |
msgstr ""
|
1776 |
|
1777 |
-
#: php/admin/quizzes-page.php:
|
1778 |
msgid "of"
|
1779 |
msgstr ""
|
1780 |
|
1781 |
-
#: php/admin/quizzes-page.php:
|
1782 |
msgid "Go to the next page"
|
1783 |
msgstr ""
|
1784 |
|
1785 |
-
#: php/admin/quizzes-page.php:
|
1786 |
msgid "Go to the last page"
|
1787 |
msgstr ""
|
1788 |
|
1789 |
-
#: php/admin/quizzes-page.php:
|
1790 |
msgid "Title"
|
1791 |
msgstr ""
|
1792 |
|
1793 |
-
#: php/admin/quizzes-page.php:
|
1794 |
-
#: php/admin/quizzes-page.php:
|
1795 |
msgid "Shortcode"
|
1796 |
msgstr ""
|
1797 |
|
1798 |
-
#: php/admin/quizzes-page.php:
|
1799 |
msgid "Views"
|
1800 |
msgstr ""
|
1801 |
|
1802 |
-
#: php/admin/quizzes-page.php:
|
1803 |
-
#: php/admin/quizzes-page.php:
|
1804 |
msgid "Participants"
|
1805 |
msgstr ""
|
1806 |
|
1807 |
-
#: php/admin/quizzes-page.php:
|
1808 |
msgid "Last Modified"
|
1809 |
msgstr ""
|
1810 |
|
1811 |
-
#: php/admin/quizzes-page.php:
|
1812 |
msgid "Edit"
|
1813 |
msgstr ""
|
1814 |
|
1815 |
-
#: php/admin/quizzes-page.php:
|
1816 |
-
#: php/admin/quizzes-page.php:
|
1817 |
msgid "Duplicate"
|
1818 |
msgstr ""
|
1819 |
|
1820 |
-
#: php/admin/quizzes-page.php:
|
1821 |
-
#: php/admin/quizzes-page.php:
|
1822 |
msgid "Delete"
|
1823 |
msgstr ""
|
1824 |
|
1825 |
-
#: php/admin/quizzes-page.php:
|
1826 |
msgid "View Results"
|
1827 |
msgstr ""
|
1828 |
|
1829 |
-
#: php/admin/quizzes-page.php:
|
1830 |
msgid "Preview"
|
1831 |
msgstr ""
|
1832 |
|
1833 |
-
#: php/admin/quizzes-page.php:
|
1834 |
msgid "Click here"
|
1835 |
msgstr ""
|
1836 |
|
1837 |
-
#: php/admin/quizzes-page.php:
|
1838 |
msgid "Reset"
|
1839 |
msgstr ""
|
1840 |
|
1841 |
-
#: php/admin/quizzes-page.php:
|
1842 |
msgid "No Quiz found!"
|
1843 |
msgstr ""
|
1844 |
|
1845 |
-
#: php/admin/quizzes-page.php:
|
1846 |
msgid "Reset stats for this quiz?"
|
1847 |
msgstr ""
|
1848 |
|
1849 |
-
#: php/admin/quizzes-page.php:
|
1850 |
msgid ""
|
1851 |
"Are you sure you want to reset the stats to 0? All views and taken stats for "
|
1852 |
"this quiz will be reset. This is permanent and cannot be undone."
|
1853 |
msgstr ""
|
1854 |
|
1855 |
-
#: php/admin/quizzes-page.php:
|
1856 |
msgid "Reset All Stats For Quiz"
|
1857 |
msgstr ""
|
1858 |
|
1859 |
-
#: php/admin/quizzes-page.php:
|
1860 |
msgid "Duplicate questions also?"
|
1861 |
msgstr ""
|
1862 |
|
1863 |
-
#: php/admin/quizzes-page.php:
|
1864 |
msgid "Name Of New Quiz Or Survey:"
|
1865 |
msgstr ""
|
1866 |
|
1867 |
-
#: php/admin/quizzes-page.php:
|
1868 |
msgid "Are you sure you want to delete this quiz or survey?"
|
1869 |
msgstr ""
|
1870 |
|
1871 |
-
#: php/admin/quizzes-page.php:
|
1872 |
msgid "Delete question from question bank?"
|
1873 |
msgstr ""
|
1874 |
|
1875 |
-
#: php/admin/quizzes-page.php:
|
1876 |
msgid "Extend QSM"
|
1877 |
msgstr ""
|
1878 |
|
1879 |
-
#: php/admin/quizzes-page.php:
|
1880 |
msgid "Export functionality is provided as Premium addon."
|
1881 |
msgstr ""
|
1882 |
|
1883 |
-
#: php/admin/quizzes-page.php:
|
1884 |
msgid "Buy Now"
|
1885 |
msgstr ""
|
1886 |
|
1887 |
-
#: php/admin/quizzes-page.php:
|
1888 |
msgid "Embed Shortcode"
|
1889 |
msgstr ""
|
1890 |
|
1891 |
-
#: php/admin/quizzes-page.php:
|
1892 |
msgid "Link Shortcode"
|
1893 |
msgstr ""
|
1894 |
|
1895 |
-
#: php/admin/quizzes-page.php:
|
1896 |
msgid "You do not have any quizzes or surveys yet"
|
1897 |
msgstr ""
|
1898 |
|
1899 |
-
#: php/admin/quizzes-page.php:
|
1900 |
msgid "or watch the below video to get started"
|
1901 |
msgstr ""
|
1902 |
|
1903 |
-
#: php/admin/quizzes-page.php:
|
1904 |
msgid "Number of items per page:"
|
1905 |
msgstr ""
|
1906 |
|
@@ -2126,35 +2154,39 @@ msgstr ""
|
|
2126 |
msgid "Correct Info: "
|
2127 |
msgstr ""
|
2128 |
|
2129 |
-
#: php/classes/class-qmn-quiz-manager.php:
|
2130 |
-
#: php/classes/class-qmn-quiz-manager.php:
|
2131 |
msgid "It appears that this quiz is not set up correctly"
|
2132 |
msgstr ""
|
2133 |
|
2134 |
-
#: php/classes/class-qmn-quiz-manager.php:
|
2135 |
msgid "Limit of choice is reached."
|
2136 |
msgstr ""
|
2137 |
|
2138 |
-
#: php/classes/class-qmn-quiz-manager.php:
|
2139 |
-
#: php/classes/class-qmn-quiz-manager.php:
|
2140 |
-
#: php/classes/class-qmn-quiz-manager.php:
|
2141 |
msgid " out of "
|
2142 |
msgstr ""
|
2143 |
|
2144 |
-
#: php/classes/class-qmn-quiz-manager.php:
|
2145 |
-
#: php/classes/class-qsm-install.php:
|
2146 |
msgid "Retake Quiz"
|
2147 |
msgstr ""
|
2148 |
|
2149 |
-
#: php/classes/class-qmn-quiz-manager.php:
|
|
|
|
|
|
|
|
|
2150 |
msgid "Click here to view"
|
2151 |
msgstr ""
|
2152 |
|
2153 |
-
#: php/classes/class-qmn-quiz-manager.php:
|
2154 |
msgid "Not collected"
|
2155 |
msgstr ""
|
2156 |
|
2157 |
-
#: php/classes/class-qmn-quiz-manager.php:
|
2158 |
msgid "Unknown"
|
2159 |
msgstr ""
|
2160 |
|
@@ -2229,507 +2261,511 @@ msgid "read the documentation."
|
|
2229 |
msgstr ""
|
2230 |
|
2231 |
#: php/classes/class-qsm-install.php:96
|
|
|
|
|
|
|
|
|
2232 |
msgid "Show progress bar"
|
2233 |
msgstr ""
|
2234 |
|
2235 |
-
#: php/classes/class-qsm-install.php:
|
2236 |
msgid "Require User Login"
|
2237 |
msgstr ""
|
2238 |
|
2239 |
-
#: php/classes/class-qsm-install.php:
|
2240 |
msgid "Enabling this allows only logged in users to take the quiz"
|
2241 |
msgstr ""
|
2242 |
|
2243 |
-
#: php/classes/class-qsm-install.php:
|
2244 |
msgid "Questions Per Page"
|
2245 |
msgstr ""
|
2246 |
|
2247 |
-
#: php/classes/class-qsm-install.php:
|
2248 |
msgid "Override the default pagination created on questions tab"
|
2249 |
msgstr ""
|
2250 |
|
2251 |
-
#: php/classes/class-qsm-install.php:
|
2252 |
msgid "Time Limit (in minutes)"
|
2253 |
msgstr ""
|
2254 |
|
2255 |
-
#: php/classes/class-qsm-install.php:
|
2256 |
msgid "Leave 0 for no time limit"
|
2257 |
msgstr ""
|
2258 |
|
2259 |
-
#: php/classes/class-qsm-install.php:
|
2260 |
msgid "Force submit after timer expiry"
|
2261 |
msgstr ""
|
2262 |
|
2263 |
-
#: php/classes/class-qsm-install.php:
|
2264 |
msgid "Skip validations when time expire"
|
2265 |
msgstr ""
|
2266 |
|
2267 |
-
#: php/classes/class-qsm-install.php:
|
2268 |
msgid "Limit Attempts"
|
2269 |
msgstr ""
|
2270 |
|
2271 |
-
#: php/classes/class-qsm-install.php:
|
2272 |
msgid "Leave 0 for unlimited attempts"
|
2273 |
msgstr ""
|
2274 |
|
2275 |
-
#: php/classes/class-qsm-install.php:
|
2276 |
msgid "Limits how many times a user can take the quiz"
|
2277 |
msgstr ""
|
2278 |
|
2279 |
-
#: php/classes/class-qsm-install.php:
|
2280 |
msgid "Limit Entries"
|
2281 |
msgstr ""
|
2282 |
|
2283 |
-
#: php/classes/class-qsm-install.php:
|
2284 |
msgid "Leave 0 for unlimited entries"
|
2285 |
msgstr ""
|
2286 |
|
2287 |
-
#: php/classes/class-qsm-install.php:
|
2288 |
msgid "Limits how many users can take the quiz."
|
2289 |
msgstr ""
|
2290 |
|
2291 |
-
#: php/classes/class-qsm-install.php:
|
2292 |
msgid "Limit number of Questions"
|
2293 |
msgstr ""
|
2294 |
|
2295 |
-
#: php/classes/class-qsm-install.php:
|
2296 |
msgid "Leave 0 to load all questions"
|
2297 |
msgstr ""
|
2298 |
|
2299 |
-
#: php/classes/class-qsm-install.php:
|
2300 |
msgid "Show only limited number of questions from your quiz."
|
2301 |
msgstr ""
|
2302 |
|
2303 |
-
#: php/classes/class-qsm-install.php:
|
2304 |
msgid "Quiz Dates"
|
2305 |
msgstr ""
|
2306 |
|
2307 |
-
#: php/classes/class-qsm-install.php:
|
2308 |
msgid "Start Date"
|
2309 |
msgstr ""
|
2310 |
|
2311 |
-
#: php/classes/class-qsm-install.php:
|
2312 |
msgid "If set, Quiz will be accessible only after this date"
|
2313 |
msgstr ""
|
2314 |
|
2315 |
-
#: php/classes/class-qsm-install.php:
|
2316 |
msgid "Leave blank for no date limit"
|
2317 |
msgstr ""
|
2318 |
|
2319 |
-
#: php/classes/class-qsm-install.php:
|
2320 |
msgid " If set, Quiz will not be accessible after this date"
|
2321 |
msgstr ""
|
2322 |
|
2323 |
-
#: php/classes/class-qsm-install.php:
|
2324 |
msgid "End Date"
|
2325 |
msgstr ""
|
2326 |
|
2327 |
-
#: php/classes/class-qsm-install.php:
|
2328 |
msgid "Random Questions"
|
2329 |
msgstr ""
|
2330 |
|
2331 |
-
#: php/classes/class-qsm-install.php:
|
2332 |
msgid "Random Questions And Answers"
|
2333 |
msgstr ""
|
2334 |
|
2335 |
-
#: php/classes/class-qsm-install.php:
|
2336 |
msgid "Random Answers"
|
2337 |
msgstr ""
|
2338 |
|
2339 |
-
#: php/classes/class-qsm-install.php:
|
2340 |
msgid "Disabled"
|
2341 |
msgstr ""
|
2342 |
|
2343 |
-
#: php/classes/class-qsm-install.php:
|
2344 |
msgid "Randomize the order of questions or answers every time a quiz loads"
|
2345 |
msgstr ""
|
2346 |
|
2347 |
-
#: php/classes/class-qsm-install.php:
|
2348 |
msgid "Random Questions Categories"
|
2349 |
msgstr ""
|
2350 |
|
2351 |
-
#: php/classes/class-qsm-install.php:
|
2352 |
msgid "Questions will load only from selected categories"
|
2353 |
msgstr ""
|
2354 |
|
2355 |
-
#: php/classes/class-qsm-install.php:
|
2356 |
msgid "Contact form position"
|
2357 |
msgstr ""
|
2358 |
|
2359 |
-
#: php/classes/class-qsm-install.php:
|
2360 |
msgid "Show before quiz begins"
|
2361 |
msgstr ""
|
2362 |
|
2363 |
-
#: php/classes/class-qsm-install.php:
|
2364 |
msgid "Show after the quiz ends"
|
2365 |
msgstr ""
|
2366 |
|
2367 |
-
#: php/classes/class-qsm-install.php:
|
2368 |
msgid "Select when to display the contact form"
|
2369 |
msgstr ""
|
2370 |
|
2371 |
-
#: php/classes/class-qsm-install.php:
|
2372 |
msgid "The form can be configured in Contact tab"
|
2373 |
msgstr ""
|
2374 |
|
2375 |
-
#: php/classes/class-qsm-install.php:
|
2376 |
msgid "Show contact form to logged in users"
|
2377 |
msgstr ""
|
2378 |
|
2379 |
-
#: php/classes/class-qsm-install.php:
|
2380 |
msgid "Logged in users can edit their contact information"
|
2381 |
msgstr ""
|
2382 |
|
2383 |
-
#: php/classes/class-qsm-install.php:
|
2384 |
msgid "The information will still get saved if this option is disabled"
|
2385 |
msgstr ""
|
2386 |
|
2387 |
-
#: php/classes/class-qsm-install.php:
|
2388 |
msgid "Enable comments"
|
2389 |
msgstr ""
|
2390 |
|
2391 |
-
#: php/classes/class-qsm-install.php:
|
2392 |
msgid "Allow users to enter their comments after the quiz"
|
2393 |
msgstr ""
|
2394 |
|
2395 |
-
#: php/classes/class-qsm-install.php:
|
2396 |
msgid "Show question numbers"
|
2397 |
msgstr ""
|
2398 |
|
2399 |
-
#: php/classes/class-qsm-install.php:
|
2400 |
msgid "Save Responses"
|
2401 |
msgstr ""
|
2402 |
|
2403 |
-
#: php/classes/class-qsm-install.php:
|
2404 |
msgid "The results will be permanently stored in a database"
|
2405 |
msgstr ""
|
2406 |
|
2407 |
-
#: php/classes/class-qsm-install.php:
|
2408 |
msgid "Disable change of answers"
|
2409 |
msgstr ""
|
2410 |
|
2411 |
-
#: php/classes/class-qsm-install.php:
|
2412 |
msgid "Works with multiple choice questions only"
|
2413 |
msgstr ""
|
2414 |
|
2415 |
-
#: php/classes/class-qsm-install.php:
|
2416 |
msgid "The question will be disabled once an answer is selected"
|
2417 |
msgstr ""
|
2418 |
|
2419 |
-
#: php/classes/class-qsm-install.php:
|
2420 |
msgid "Add class for correct/incorrect answers"
|
2421 |
msgstr ""
|
2422 |
|
2423 |
-
#: php/classes/class-qsm-install.php:
|
2424 |
msgid ""
|
2425 |
"Dynamically add class for incorrect/correct answer after user selects answer."
|
2426 |
msgstr ""
|
2427 |
|
2428 |
-
#: php/classes/class-qsm-install.php:
|
2429 |
msgid "Disable auto fill for contact input"
|
2430 |
msgstr ""
|
2431 |
|
2432 |
-
#: php/classes/class-qsm-install.php:
|
2433 |
msgid "Display category name on front end"
|
2434 |
msgstr ""
|
2435 |
|
2436 |
-
#: php/classes/class-qsm-install.php:
|
2437 |
msgid "Show results inline"
|
2438 |
msgstr ""
|
2439 |
|
2440 |
-
#: php/classes/class-qsm-install.php:
|
2441 |
msgid "Instantly displays the result for each question"
|
2442 |
msgstr ""
|
2443 |
|
2444 |
-
#: php/classes/class-qsm-install.php:
|
2445 |
msgid "Show correct answer inline"
|
2446 |
msgstr ""
|
2447 |
|
2448 |
-
#: php/classes/class-qsm-install.php:
|
2449 |
msgid "Yes When answer is correct"
|
2450 |
msgstr ""
|
2451 |
|
2452 |
-
#: php/classes/class-qsm-install.php:
|
2453 |
msgid "Yes Independent of correct/incorrect"
|
2454 |
msgstr ""
|
2455 |
|
2456 |
-
#: php/classes/class-qsm-install.php:
|
2457 |
msgid "Show correct user info when inline result is enabled."
|
2458 |
msgstr ""
|
2459 |
|
2460 |
-
#: php/classes/class-qsm-install.php:
|
2461 |
msgid "Show a button on result page to retake the quiz"
|
2462 |
msgstr ""
|
2463 |
|
2464 |
-
#: php/classes/class-qsm-install.php:
|
2465 |
msgid "Show current page number"
|
2466 |
msgstr ""
|
2467 |
|
2468 |
-
#: php/classes/class-qsm-install.php:
|
2469 |
msgid "Deselect Answer"
|
2470 |
msgstr ""
|
2471 |
|
2472 |
-
#: php/classes/class-qsm-install.php:
|
2473 |
msgid ""
|
2474 |
"Users are able deselect an answer and leave it blank. Works with Multiple "
|
2475 |
"Choice and Horizintal Multiple Choice questions only"
|
2476 |
msgstr ""
|
2477 |
|
2478 |
-
#: php/classes/class-qsm-install.php:
|
2479 |
msgid "Disable description on quiz result page?"
|
2480 |
msgstr ""
|
2481 |
|
2482 |
-
#: php/classes/class-qsm-install.php:
|
2483 |
msgid "Disable scroll on next and previous button click?"
|
2484 |
msgstr ""
|
2485 |
|
2486 |
-
#: php/classes/class-qsm-install.php:
|
2487 |
msgid "Quiz Animation"
|
2488 |
msgstr ""
|
2489 |
|
2490 |
-
#: php/classes/class-qsm-install.php:
|
2491 |
msgid "bounce"
|
2492 |
msgstr ""
|
2493 |
|
2494 |
-
#: php/classes/class-qsm-install.php:
|
2495 |
msgid "flash"
|
2496 |
msgstr ""
|
2497 |
|
2498 |
-
#: php/classes/class-qsm-install.php:
|
2499 |
msgid "pulse"
|
2500 |
msgstr ""
|
2501 |
|
2502 |
-
#: php/classes/class-qsm-install.php:
|
2503 |
msgid "rubberBand"
|
2504 |
msgstr ""
|
2505 |
|
2506 |
-
#: php/classes/class-qsm-install.php:
|
2507 |
msgid "shake"
|
2508 |
msgstr ""
|
2509 |
|
2510 |
-
#: php/classes/class-qsm-install.php:
|
2511 |
msgid "swing"
|
2512 |
msgstr ""
|
2513 |
|
2514 |
-
#: php/classes/class-qsm-install.php:
|
2515 |
msgid "tada"
|
2516 |
msgstr ""
|
2517 |
|
2518 |
-
#: php/classes/class-qsm-install.php:
|
2519 |
msgid "wobble"
|
2520 |
msgstr ""
|
2521 |
|
2522 |
-
#: php/classes/class-qsm-install.php:
|
2523 |
msgid "jello"
|
2524 |
msgstr ""
|
2525 |
|
2526 |
-
#: php/classes/class-qsm-install.php:
|
2527 |
msgid "heartBeat"
|
2528 |
msgstr ""
|
2529 |
|
2530 |
-
#: php/classes/class-qsm-install.php:
|
2531 |
msgid "No animation"
|
2532 |
msgstr ""
|
2533 |
|
2534 |
-
#: php/classes/class-qsm-install.php:
|
2535 |
msgid "Logo URL"
|
2536 |
msgstr ""
|
2537 |
|
2538 |
-
#: php/classes/class-qsm-install.php:
|
2539 |
msgid ""
|
2540 |
"Enter the url of an image which will be used as logo while sharing on "
|
2541 |
"facebook."
|
2542 |
msgstr ""
|
2543 |
|
2544 |
-
#: php/classes/class-qsm-install.php:
|
2545 |
msgid "If left blank, this will default to QSM logo"
|
2546 |
msgstr ""
|
2547 |
|
2548 |
-
#: php/classes/class-qsm-install.php:
|
2549 |
-
#: php/classes/class-qsm-install.php:
|
2550 |
msgid "Show Legacy Options"
|
2551 |
msgstr ""
|
2552 |
|
2553 |
-
#: php/classes/class-qsm-install.php:
|
2554 |
-
#: php/classes/class-qsm-install.php:
|
2555 |
msgid ""
|
2556 |
"All the legacy options are deprecated and will be removed in upcoming version"
|
2557 |
msgstr ""
|
2558 |
|
2559 |
-
#: php/classes/class-qsm-install.php:
|
2560 |
msgid "Social Sharing Buttons"
|
2561 |
msgstr ""
|
2562 |
|
2563 |
-
#: php/classes/class-qsm-install.php:
|
2564 |
msgid ""
|
2565 |
"Please use the new template variables instead.%FACEBOOK_SHARE% %TWITTER_SHARE"
|
2566 |
"%"
|
2567 |
msgstr ""
|
2568 |
|
2569 |
-
#: php/classes/class-qsm-install.php:
|
2570 |
msgid "Ask user's name"
|
2571 |
msgstr ""
|
2572 |
|
2573 |
-
#: php/classes/class-qsm-install.php:
|
2574 |
-
#: php/classes/class-qsm-install.php:
|
2575 |
msgid "Require"
|
2576 |
msgstr ""
|
2577 |
|
2578 |
-
#: php/classes/class-qsm-install.php:
|
2579 |
msgid "Ask user's business"
|
2580 |
msgstr ""
|
2581 |
|
2582 |
-
#: php/classes/class-qsm-install.php:
|
2583 |
msgid "Ask user's email"
|
2584 |
msgstr ""
|
2585 |
|
2586 |
-
#: php/classes/class-qsm-install.php:
|
2587 |
msgid "Ask user's phone"
|
2588 |
msgstr ""
|
2589 |
|
2590 |
-
#: php/classes/class-qsm-install.php:
|
2591 |
msgid "Message Displayed Before Quiz"
|
2592 |
msgstr ""
|
2593 |
|
2594 |
-
#: php/classes/class-qsm-install.php:
|
2595 |
msgid "Message Displayed Before Comments Box If Enabled"
|
2596 |
msgstr ""
|
2597 |
|
2598 |
-
#: php/classes/class-qsm-install.php:
|
2599 |
msgid "Message Displayed At End Of Quiz (Leave Blank To Omit Text Section)"
|
2600 |
msgstr ""
|
2601 |
|
2602 |
-
#: php/classes/class-qsm-install.php:
|
2603 |
msgid "Message Displayed If User Has Tried Quiz Too Many Times"
|
2604 |
msgstr ""
|
2605 |
|
2606 |
-
#: php/classes/class-qsm-install.php:
|
2607 |
msgid ""
|
2608 |
"Message Displayed If User Is Not Logged In And Quiz Requires Users To Be "
|
2609 |
"Logged In"
|
2610 |
msgstr ""
|
2611 |
|
2612 |
-
#: php/classes/class-qsm-install.php:
|
2613 |
msgid "Message Displayed If Date Is Outside Scheduled Timeframe"
|
2614 |
msgstr ""
|
2615 |
|
2616 |
-
#: php/classes/class-qsm-install.php:
|
2617 |
msgid "Message Displayed If The Limit Of Total Entries Has Been Reached"
|
2618 |
msgstr ""
|
2619 |
|
2620 |
-
#: php/classes/class-qsm-install.php:
|
2621 |
msgid "Results Page %QUESTIONS_ANSWERS% Text"
|
2622 |
msgstr ""
|
2623 |
|
2624 |
-
#: php/classes/class-qsm-install.php:
|
2625 |
msgid "%QUESTIONS_ANSWERS_EMAIL% Text"
|
2626 |
msgstr ""
|
2627 |
|
2628 |
-
#: php/classes/class-qsm-install.php:
|
2629 |
msgid "Twitter Sharing Text"
|
2630 |
msgstr ""
|
2631 |
|
2632 |
-
#: php/classes/class-qsm-install.php:
|
2633 |
msgid "Facebook Sharing Text"
|
2634 |
msgstr ""
|
2635 |
|
2636 |
-
#: php/classes/class-qsm-install.php:
|
2637 |
msgid "Buttons"
|
2638 |
msgstr ""
|
2639 |
|
2640 |
-
#: php/classes/class-qsm-install.php:
|
2641 |
msgid "Submit Button"
|
2642 |
msgstr ""
|
2643 |
|
2644 |
-
#: php/classes/class-qsm-install.php:
|
2645 |
msgid "Previous button"
|
2646 |
msgstr ""
|
2647 |
|
2648 |
-
#: php/classes/class-qsm-install.php:
|
2649 |
msgid "Next button"
|
2650 |
msgstr ""
|
2651 |
|
2652 |
-
#: php/classes/class-qsm-install.php:
|
2653 |
msgid "Validation Messages"
|
2654 |
msgstr ""
|
2655 |
|
2656 |
-
#: php/classes/class-qsm-install.php:
|
2657 |
msgid "All required fields"
|
2658 |
msgstr ""
|
2659 |
|
2660 |
-
#: php/classes/class-qsm-install.php:
|
2661 |
msgid "Invalid email"
|
2662 |
msgstr ""
|
2663 |
|
2664 |
-
#: php/classes/class-qsm-install.php:
|
2665 |
msgid "Invalid number"
|
2666 |
msgstr ""
|
2667 |
|
2668 |
-
#: php/classes/class-qsm-install.php:
|
2669 |
msgid "Invalid Captcha"
|
2670 |
msgstr ""
|
2671 |
|
2672 |
-
#: php/classes/class-qsm-install.php:
|
2673 |
msgid "Other"
|
2674 |
msgstr ""
|
2675 |
|
2676 |
-
#: php/classes/class-qsm-install.php:
|
2677 |
msgid "Comments field"
|
2678 |
msgstr ""
|
2679 |
|
2680 |
-
#: php/classes/class-qsm-install.php:
|
2681 |
msgid "Hint Text"
|
2682 |
msgstr ""
|
2683 |
|
2684 |
-
#: php/classes/class-qsm-install.php:
|
2685 |
msgid "Correct answer message"
|
2686 |
msgstr ""
|
2687 |
|
2688 |
-
#: php/classes/class-qsm-install.php:
|
2689 |
msgid "Text to show when the selected option is correct answer."
|
2690 |
msgstr ""
|
2691 |
|
2692 |
-
#: php/classes/class-qsm-install.php:
|
2693 |
msgid "Incorrect answer message"
|
2694 |
msgstr ""
|
2695 |
|
2696 |
-
#: php/classes/class-qsm-install.php:
|
2697 |
msgid "Text to show when the selected option is wrong answer."
|
2698 |
msgstr ""
|
2699 |
|
2700 |
-
#: php/classes/class-qsm-install.php:
|
2701 |
msgid "Name field"
|
2702 |
msgstr ""
|
2703 |
|
2704 |
-
#: php/classes/class-qsm-install.php:
|
2705 |
msgid "Business field"
|
2706 |
msgstr ""
|
2707 |
|
2708 |
-
#: php/classes/class-qsm-install.php:
|
2709 |
msgid "Email field"
|
2710 |
msgstr ""
|
2711 |
|
2712 |
-
#: php/classes/class-qsm-install.php:
|
2713 |
msgid "Phone number field"
|
2714 |
msgstr ""
|
2715 |
|
2716 |
-
#: php/classes/class-qsm-install.php:
|
2717 |
msgid "Documentation"
|
2718 |
msgstr ""
|
2719 |
|
2720 |
-
#: php/classes/class-qsm-install.php:
|
2721 |
msgid "Create Support Ticket"
|
2722 |
msgstr ""
|
2723 |
|
2724 |
-
#: php/classes/class-qsm-install.php:
|
2725 |
msgid "Support"
|
2726 |
msgstr ""
|
2727 |
|
2728 |
-
#: php/classes/class-qsm-settings.php:
|
2729 |
msgid "Previous"
|
2730 |
msgstr ""
|
2731 |
|
2732 |
-
#: php/classes/class-qsm-settings.php:
|
2733 |
msgid "Next"
|
2734 |
msgstr ""
|
2735 |
|
9 |
msgstr ""
|
10 |
"Project-Id-Version: PACKAGE VERSION\n"
|
11 |
"Report-Msgid-Bugs-To: \n"
|
12 |
+
"POT-Creation-Date: 2021-01-20 10:31+0530\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
15 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
28 |
msgid "Quiz"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: mlw_quizmaster2.php:242 php/admin/quizzes-page.php:244
|
32 |
msgid "Add New"
|
33 |
msgstr ""
|
34 |
|
76 |
msgid "Dashboard"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: mlw_quizmaster2.php:286 php/admin/quizzes-page.php:243
|
80 |
+
#: php/classes/class-qsm-install.php:1788
|
81 |
msgid "Quizzes/Surveys"
|
82 |
msgstr ""
|
83 |
|
86 |
msgid "Settings"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: mlw_quizmaster2.php:289 php/admin/quizzes-page.php:636
|
90 |
msgid "Results"
|
91 |
msgstr ""
|
92 |
|
233 |
msgid "User ID"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: php/gdpr.php:178 php/admin/admin-results-page.php:347
|
237 |
msgid "IP Address"
|
238 |
msgstr ""
|
239 |
|
253 |
msgid "File Upload"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: php/question-types.php:213
|
257 |
msgid "Date"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: php/question-types.php:285
|
261 |
msgid "Horizontal Multiple Choice"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: php/question-types.php:401
|
265 |
msgid "Drop Down"
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: php/question-types.php:427
|
269 |
msgid "Please select your answer"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: php/question-types.php:500
|
273 |
msgid "Short Answer"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: php/question-types.php:578
|
277 |
msgid "Multiple Response"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: php/question-types.php:678
|
281 |
msgid "Paragraph"
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: php/question-types.php:762
|
285 |
msgid "Text/HTML Section"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: php/question-types.php:796
|
289 |
msgid "Number"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: php/question-types.php:881
|
293 |
msgid "Opt-in"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: php/question-types.php:926
|
297 |
msgid "Captcha"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: php/question-types.php:985
|
301 |
msgid "Horizontal Multiple Response"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: php/question-types.php:1097
|
305 |
msgid ""
|
306 |
"For fill in the blank types, use %BLANK% to represent where to put the text "
|
307 |
"box in your text."
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: php/question-types.php:1102
|
311 |
msgid "Fill In The Blank"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: php/question-types.php:1193
|
315 |
msgid "Polar"
|
316 |
msgstr ""
|
317 |
|
322 |
msgstr ""
|
323 |
|
324 |
#: php/rest-api.php:183 php/admin/admin-dashboard.php:381
|
325 |
+
#: php/admin/admin-results-page.php:389
|
326 |
msgid "Not Graded"
|
327 |
msgstr ""
|
328 |
|
330 |
msgid "No quiz found"
|
331 |
msgstr ""
|
332 |
|
333 |
+
#: php/template-variables.php:193
|
334 |
+
msgid "Poll Result"
|
335 |
+
msgstr ""
|
336 |
+
|
337 |
+
#: php/template-variables.php:249
|
338 |
+
msgid "Facebbok Share"
|
339 |
+
msgstr ""
|
340 |
+
|
341 |
+
#: php/template-variables.php:256
|
342 |
+
msgid "Twitter Share"
|
343 |
+
msgstr ""
|
344 |
+
|
345 |
+
#: php/template-variables.php:936 php/template-variables.php:945
|
346 |
msgid "No answer provided"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: php/template-variables.php:1060
|
350 |
msgid "No Answer Provided"
|
351 |
msgstr ""
|
352 |
|
514 |
msgid "Get Started"
|
515 |
msgstr ""
|
516 |
|
517 |
+
#: php/admin/admin-dashboard.php:123 php/admin/quizzes-page.php:606
|
518 |
msgid "Create New Quiz/Survey"
|
519 |
msgstr ""
|
520 |
|
526 |
msgid "Next Steps"
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: php/admin/admin-dashboard.php:131 php/admin/quizzes-page.php:607
|
530 |
msgid "Read Documentation"
|
531 |
msgstr ""
|
532 |
|
682 |
msgid "Your results has been deleted successfully."
|
683 |
msgstr ""
|
684 |
|
685 |
+
#: php/admin/admin-results-page.php:248
|
686 |
#, php-format
|
687 |
msgid "One result"
|
688 |
msgid_plural "%s results"
|
689 |
msgstr[0] ""
|
690 |
msgstr[1] ""
|
691 |
|
692 |
+
#: php/admin/admin-results-page.php:313 php/admin/admin-results-page.php:323
|
693 |
msgid "Search Results"
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: php/admin/admin-results-page.php:315
|
697 |
msgid "Order By"
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: php/admin/admin-results-page.php:317 php/admin/admin-results-page.php:336
|
701 |
msgid "Quiz Name"
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: php/admin/admin-results-page.php:318
|
705 |
msgid "User Name"
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: php/admin/admin-results-page.php:319 php/classes/class-qsm-install.php:78
|
709 |
msgid "Points"
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: php/admin/admin-results-page.php:320
|
713 |
msgid "Correct Percent"
|
714 |
msgstr ""
|
715 |
|
716 |
+
#: php/admin/admin-results-page.php:321
|
717 |
msgid "Default (Time)"
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: php/admin/admin-results-page.php:339
|
721 |
msgid "Score"
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: php/admin/admin-results-page.php:340
|
725 |
msgid "Time To Complete"
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: php/admin/admin-results-page.php:341 php/admin/quiz-options-page.php:177
|
729 |
msgid "Name"
|
730 |
msgstr ""
|
731 |
|
732 |
+
#: php/admin/admin-results-page.php:342
|
733 |
msgid "Business"
|
734 |
msgstr ""
|
735 |
|
736 |
+
#: php/admin/admin-results-page.php:343
|
737 |
msgid "Email"
|
738 |
msgstr ""
|
739 |
|
740 |
+
#: php/admin/admin-results-page.php:344
|
741 |
msgid "Phone"
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: php/admin/admin-results-page.php:345 php/admin/tools-page.php:185
|
745 |
msgid "User"
|
746 |
msgstr ""
|
747 |
|
748 |
+
#: php/admin/admin-results-page.php:346
|
749 |
msgid "Time Taken"
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: php/admin/admin-results-page.php:420
|
753 |
msgid "No record found."
|
754 |
msgstr ""
|
755 |
|
756 |
+
#: php/admin/admin-results-page.php:429
|
757 |
msgid "Are you sure you want to delete these results?"
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: php/admin/admin-results-page.php:435
|
761 |
msgid "Delete Results"
|
762 |
msgstr ""
|
763 |
|
806 |
#: php/admin/options-page-option-tab.php:28
|
807 |
#: php/admin/options-page-questions-tab.php:278
|
808 |
#: php/admin/options-page-text-tab.php:30
|
809 |
+
#: php/classes/class-qsm-install.php:1801
|
810 |
msgid "View Documentation"
|
811 |
msgstr ""
|
812 |
|
854 |
msgid "Create Quiz"
|
855 |
msgstr ""
|
856 |
|
857 |
+
#: php/admin/functions.php:552 php/admin/quizzes-page.php:496
|
858 |
+
#: php/admin/quizzes-page.php:524 php/admin/quizzes-page.php:551
|
859 |
+
#: php/admin/quizzes-page.php:570
|
860 |
msgid "Cancel"
|
861 |
msgstr ""
|
862 |
|
897 |
msgstr ""
|
898 |
|
899 |
#: php/admin/functions.php:575
|
900 |
+
msgid "The full name of user with first name and last name"
|
901 |
msgstr ""
|
902 |
|
903 |
#: php/admin/functions.php:576
|
904 |
+
msgid "The business the user entered before the quiz"
|
905 |
msgstr ""
|
906 |
|
907 |
#: php/admin/functions.php:577
|
908 |
+
msgid "The phone number the user entered before the quiz"
|
909 |
msgstr ""
|
910 |
|
911 |
#: php/admin/functions.php:578
|
912 |
+
msgid "The email the user entered before the quiz"
|
913 |
msgstr ""
|
914 |
|
915 |
#: php/admin/functions.php:579
|
916 |
+
msgid "The name of the quiz"
|
917 |
+
msgstr ""
|
918 |
+
|
919 |
+
#: php/admin/functions.php:580
|
920 |
+
msgid "The link of the quiz"
|
921 |
+
msgstr ""
|
922 |
+
|
923 |
+
#: php/admin/functions.php:581
|
924 |
msgid ""
|
925 |
"Shows the question, the answer the user provided, and the correct answer"
|
926 |
msgstr ""
|
927 |
|
928 |
+
#: php/admin/functions.php:582
|
929 |
msgid "The comments the user entered into comment box if enabled"
|
930 |
msgstr ""
|
931 |
|
932 |
+
#: php/admin/functions.php:583
|
933 |
msgid "The amount of time user spent on quiz in seconds"
|
934 |
msgstr ""
|
935 |
|
936 |
+
#: php/admin/functions.php:584
|
937 |
msgid "The amount of time user spent on quiz in minutes"
|
938 |
msgstr ""
|
939 |
|
940 |
+
#: php/admin/functions.php:585
|
941 |
msgid "X: Category name - The amount of points a specific category earned."
|
942 |
msgstr ""
|
943 |
|
944 |
+
#: php/admin/functions.php:586
|
945 |
msgid "X: Category name - The score a specific category earned."
|
946 |
msgstr ""
|
947 |
|
948 |
+
#: php/admin/functions.php:587
|
949 |
msgid "The average points from all categories."
|
950 |
msgstr ""
|
951 |
|
952 |
+
#: php/admin/functions.php:588
|
953 |
msgid "The average score from all categories."
|
954 |
msgstr ""
|
955 |
|
956 |
+
#: php/admin/functions.php:589
|
957 |
msgid "The question that the user answered"
|
958 |
msgstr ""
|
959 |
|
960 |
+
#: php/admin/functions.php:590
|
961 |
msgid "The answer the user gave for the question"
|
962 |
msgstr ""
|
963 |
|
964 |
+
#: php/admin/functions.php:591
|
965 |
msgid "The answer the user gave for the question with default design"
|
966 |
msgstr ""
|
967 |
|
968 |
+
#: php/admin/functions.php:592
|
969 |
msgid "The correct answer for the question"
|
970 |
msgstr ""
|
971 |
|
972 |
+
#: php/admin/functions.php:593
|
973 |
msgid "The comments the user provided in the comment field for the question"
|
974 |
msgstr ""
|
975 |
|
976 |
+
#: php/admin/functions.php:594
|
977 |
msgid "Reason why the correct answer is the correct answer"
|
978 |
msgstr ""
|
979 |
|
980 |
+
#: php/admin/functions.php:595
|
981 |
msgid "The Current Date"
|
982 |
msgstr ""
|
983 |
|
984 |
+
#: php/admin/functions.php:596
|
985 |
msgid "Point Score of the question"
|
986 |
msgstr ""
|
987 |
|
988 |
+
#: php/admin/functions.php:597
|
989 |
+
msgid "Maximum points of the question"
|
990 |
+
msgstr ""
|
991 |
+
|
992 |
+
#: php/admin/functions.php:598
|
993 |
+
msgid "Displays button to share on Facebook."
|
994 |
+
msgstr ""
|
995 |
+
|
996 |
+
#: php/admin/functions.php:599
|
997 |
+
msgid "Displays button to share on Twitter."
|
998 |
+
msgstr ""
|
999 |
+
|
1000 |
+
#: php/admin/functions.php:600
|
1001 |
+
msgid "The link of the result page."
|
1002 |
+
msgstr ""
|
1003 |
+
|
1004 |
#: php/admin/help-page.php:26
|
1005 |
msgid "Need Help?"
|
1006 |
msgstr ""
|
1249 |
msgid "is less than"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
+
#: php/admin/options-page-email-tab.php:123
|
1253 |
#: php/admin/options-page-results-page-tab.php:113
|
1254 |
#: php/admin/options-page-text-tab.php:120
|
1255 |
msgid "Template Variables"
|
1256 |
msgstr ""
|
1257 |
|
1258 |
+
#: php/admin/options-page-email-tab.php:125
|
1259 |
#: php/admin/options-page-results-page-tab.php:115
|
1260 |
msgid ""
|
1261 |
"Use these dynamic variables to customize your quiz or survey. Just copy and "
|
1263 |
"replaced by actual values when user takes a quiz."
|
1264 |
msgstr ""
|
1265 |
|
1266 |
+
#: php/admin/options-page-email-tab.php:126
|
1267 |
#: php/admin/options-page-results-page-tab.php:116
|
1268 |
msgid "Note: "
|
1269 |
msgstr ""
|
1270 |
|
1271 |
+
#: php/admin/options-page-email-tab.php:127
|
1272 |
#: php/admin/options-page-results-page-tab.php:117
|
1273 |
msgid "Always use uppercase while using these variables."
|
1274 |
msgstr ""
|
1275 |
|
|
|
1276 |
#: php/admin/options-page-email-tab.php:134
|
1277 |
+
#: php/admin/options-page-email-tab.php:135
|
1278 |
#: php/admin/options-page-results-page-tab.php:124
|
1279 |
#: php/admin/options-page-results-page-tab.php:125
|
1280 |
msgid ""
|
1282 |
"first contact field would be %CONTACT_1%"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
+
#: php/admin/options-page-email-tab.php:136
|
1286 |
+
#: php/admin/options-page-results-page-tab.php:131
|
1287 |
msgid "X = Question ID. It will show result of particular question."
|
1288 |
msgstr ""
|
1289 |
|
1290 |
+
#: php/admin/options-page-email-tab.php:137
|
1291 |
msgid "Shows the question, the answer provided by user, and the correct answer"
|
1292 |
msgstr ""
|
1293 |
|
1294 |
+
#: php/admin/options-page-email-tab.php:140
|
1295 |
#: php/admin/options-page-results-page-tab.php:128
|
1296 |
msgid ""
|
1297 |
"X: Category name - The average amount of points a specific category earned."
|
1298 |
msgstr ""
|
1299 |
|
1300 |
+
#: php/admin/options-page-email-tab.php:167
|
1301 |
+
#: php/admin/options-page-results-page-tab.php:156
|
1302 |
msgid "Close [Esc]"
|
1303 |
msgstr ""
|
1304 |
|
1474 |
#: php/admin/options-page-questions-tab.php:315
|
1475 |
#: php/admin/options-page-questions-tab.php:396
|
1476 |
#: php/admin/options-page-questions-tab.php:484
|
1477 |
+
#: php/admin/settings-page.php:264 php/classes/class-qsm-install.php:115
|
1478 |
+
#: php/classes/class-qsm-install.php:134 php/classes/class-qsm-install.php:180
|
1479 |
+
#: php/classes/class-qsm-install.php:198 php/classes/class-qsm-install.php:348
|
1480 |
+
#: php/classes/class-qsm-install.php:369 php/classes/class-qsm-install.php:389
|
1481 |
+
#: php/classes/class-qsm-install.php:408 php/classes/class-qsm-install.php:428
|
1482 |
+
#: php/classes/class-qsm-install.php:449 php/classes/class-qsm-install.php:470
|
1483 |
+
#: php/classes/class-qsm-install.php:489 php/classes/class-qsm-install.php:508
|
1484 |
+
#: php/classes/class-qsm-install.php:552 php/classes/class-qsm-install.php:572
|
1485 |
+
#: php/classes/class-qsm-install.php:591 php/classes/class-qsm-install.php:611
|
1486 |
+
#: php/classes/class-qsm-install.php:630 php/classes/class-qsm-install.php:726
|
1487 |
+
#: php/classes/class-qsm-install.php:750 php/classes/class-qsm-install.php:774
|
1488 |
+
#: php/classes/class-qsm-install.php:797 php/classes/class-qsm-install.php:820
|
1489 |
msgid "Yes"
|
1490 |
msgstr ""
|
1491 |
|
1523 |
|
1524 |
#: php/admin/options-page-questions-tab.php:395
|
1525 |
#: php/admin/options-page-questions-tab.php:483
|
1526 |
+
#: php/admin/settings-page.php:269 php/classes/class-qsm-install.php:119
|
1527 |
+
#: php/classes/class-qsm-install.php:138 php/classes/class-qsm-install.php:184
|
1528 |
+
#: php/classes/class-qsm-install.php:202 php/classes/class-qsm-install.php:352
|
1529 |
+
#: php/classes/class-qsm-install.php:373 php/classes/class-qsm-install.php:393
|
1530 |
+
#: php/classes/class-qsm-install.php:412 php/classes/class-qsm-install.php:432
|
1531 |
+
#: php/classes/class-qsm-install.php:453 php/classes/class-qsm-install.php:474
|
1532 |
+
#: php/classes/class-qsm-install.php:493 php/classes/class-qsm-install.php:512
|
1533 |
+
#: php/classes/class-qsm-install.php:536 php/classes/class-qsm-install.php:556
|
1534 |
+
#: php/classes/class-qsm-install.php:576 php/classes/class-qsm-install.php:595
|
1535 |
+
#: php/classes/class-qsm-install.php:615 php/classes/class-qsm-install.php:634
|
1536 |
+
#: php/classes/class-qsm-install.php:730 php/classes/class-qsm-install.php:746
|
1537 |
+
#: php/classes/class-qsm-install.php:770 php/classes/class-qsm-install.php:793
|
1538 |
+
#: php/classes/class-qsm-install.php:816
|
1539 |
msgid "No"
|
1540 |
msgstr ""
|
1541 |
|
1645 |
msgstr ""
|
1646 |
|
1647 |
#: php/admin/options-page-results-page-tab.php:129
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1648 |
msgid "X = Question ID Note: only supported for multiple choice answers"
|
1649 |
msgstr ""
|
1650 |
|
1651 |
+
#: php/admin/options-page-results-page-tab.php:130
|
1652 |
msgid "Show result id"
|
1653 |
msgstr ""
|
1654 |
|
1733 |
"There has been an error in this action. Please share this with the developer"
|
1734 |
msgstr ""
|
1735 |
|
1736 |
+
#: php/admin/quiz-options-page.php:109 php/admin/quizzes-page.php:620
|
1737 |
msgid "Post Settings"
|
1738 |
msgstr ""
|
1739 |
|
1740 |
+
#: php/admin/quiz-options-page.php:149
|
1741 |
#: php/classes/class-qmn-alert-manager.php:41
|
1742 |
msgid "Error!"
|
1743 |
msgstr ""
|
1744 |
|
1745 |
+
#: php/admin/quiz-options-page.php:149
|
1746 |
msgid ""
|
1747 |
"Please go to the quizzes page and click on the Edit link from the quiz you "
|
1748 |
"wish to edit."
|
1756 |
msgid "Error trying to reset stats. Please try again."
|
1757 |
msgstr ""
|
1758 |
|
1759 |
+
#: php/admin/quizzes-page.php:251
|
1760 |
msgid "Your site is using PHP version"
|
1761 |
msgstr ""
|
1762 |
|
1763 |
+
#: php/admin/quizzes-page.php:251
|
1764 |
msgid "Starting in QSM 6.0, your version of PHP will no longer be supported."
|
1765 |
msgstr ""
|
1766 |
|
1767 |
+
#: php/admin/quizzes-page.php:251
|
1768 |
msgid "Click here to learn more about QSM's minimum PHP version change."
|
1769 |
msgstr ""
|
1770 |
|
1771 |
+
#: php/admin/quizzes-page.php:267
|
1772 |
msgid "Search"
|
1773 |
msgstr ""
|
1774 |
|
1775 |
+
#: php/admin/quizzes-page.php:272 php/admin/quizzes-page.php:274
|
1776 |
msgid "Import & Export"
|
1777 |
msgstr ""
|
1778 |
|
1779 |
+
#: php/admin/quizzes-page.php:280 php/admin/quizzes-page.php:442
|
1780 |
msgid "Bulk Actions"
|
1781 |
msgstr ""
|
1782 |
|
1783 |
+
#: php/admin/quizzes-page.php:281 php/admin/quizzes-page.php:443
|
1784 |
msgid "Delete Permanently"
|
1785 |
msgstr ""
|
1786 |
|
1787 |
+
#: php/admin/quizzes-page.php:283 php/admin/quizzes-page.php:445
|
1788 |
msgid "Apply"
|
1789 |
msgstr ""
|
1790 |
|
1791 |
+
#: php/admin/quizzes-page.php:286 php/admin/quizzes-page.php:447
|
1792 |
msgid "item"
|
1793 |
msgid_plural "items"
|
1794 |
msgstr[0] ""
|
1795 |
msgstr[1] ""
|
1796 |
|
1797 |
+
#: php/admin/quizzes-page.php:296 php/admin/quizzes-page.php:457
|
1798 |
msgid "Go to the first page"
|
1799 |
msgstr ""
|
1800 |
|
1801 |
+
#: php/admin/quizzes-page.php:297 php/admin/quizzes-page.php:458
|
1802 |
msgid "Go to the previous page"
|
1803 |
msgstr ""
|
1804 |
|
1805 |
+
#: php/admin/quizzes-page.php:301 php/admin/quizzes-page.php:462
|
1806 |
msgid "of"
|
1807 |
msgstr ""
|
1808 |
|
1809 |
+
#: php/admin/quizzes-page.php:308 php/admin/quizzes-page.php:469
|
1810 |
msgid "Go to the next page"
|
1811 |
msgstr ""
|
1812 |
|
1813 |
+
#: php/admin/quizzes-page.php:309 php/admin/quizzes-page.php:470
|
1814 |
msgid "Go to the last page"
|
1815 |
msgstr ""
|
1816 |
|
1817 |
+
#: php/admin/quizzes-page.php:348 php/admin/quizzes-page.php:424
|
1818 |
msgid "Title"
|
1819 |
msgstr ""
|
1820 |
|
1821 |
+
#: php/admin/quizzes-page.php:352 php/admin/quizzes-page.php:428
|
1822 |
+
#: php/admin/quizzes-page.php:581
|
1823 |
msgid "Shortcode"
|
1824 |
msgstr ""
|
1825 |
|
1826 |
+
#: php/admin/quizzes-page.php:353 php/admin/quizzes-page.php:429
|
1827 |
msgid "Views"
|
1828 |
msgstr ""
|
1829 |
|
1830 |
+
#: php/admin/quizzes-page.php:354 php/admin/quizzes-page.php:399
|
1831 |
+
#: php/admin/quizzes-page.php:430
|
1832 |
msgid "Participants"
|
1833 |
msgstr ""
|
1834 |
|
1835 |
+
#: php/admin/quizzes-page.php:357 php/admin/quizzes-page.php:433
|
1836 |
msgid "Last Modified"
|
1837 |
msgstr ""
|
1838 |
|
1839 |
+
#: php/admin/quizzes-page.php:376 php/admin/quizzes-page.php:619
|
1840 |
msgid "Edit"
|
1841 |
msgstr ""
|
1842 |
|
1843 |
+
#: php/admin/quizzes-page.php:377 php/admin/quizzes-page.php:510
|
1844 |
+
#: php/admin/quizzes-page.php:523 php/admin/quizzes-page.php:621
|
1845 |
msgid "Duplicate"
|
1846 |
msgstr ""
|
1847 |
|
1848 |
+
#: php/admin/quizzes-page.php:378 php/admin/quizzes-page.php:535
|
1849 |
+
#: php/admin/quizzes-page.php:550 php/admin/quizzes-page.php:622
|
1850 |
msgid "Delete"
|
1851 |
msgstr ""
|
1852 |
|
1853 |
+
#: php/admin/quizzes-page.php:379
|
1854 |
msgid "View Results"
|
1855 |
msgstr ""
|
1856 |
|
1857 |
+
#: php/admin/quizzes-page.php:380 php/admin/quizzes-page.php:623
|
1858 |
msgid "Preview"
|
1859 |
msgstr ""
|
1860 |
|
1861 |
+
#: php/admin/quizzes-page.php:388 php/admin/quizzes-page.php:630
|
1862 |
msgid "Click here"
|
1863 |
msgstr ""
|
1864 |
|
1865 |
+
#: php/admin/quizzes-page.php:393 php/admin/quizzes-page.php:635
|
1866 |
msgid "Reset"
|
1867 |
msgstr ""
|
1868 |
|
1869 |
+
#: php/admin/quizzes-page.php:412
|
1870 |
msgid "No Quiz found!"
|
1871 |
msgstr ""
|
1872 |
|
1873 |
+
#: php/admin/quizzes-page.php:484
|
1874 |
msgid "Reset stats for this quiz?"
|
1875 |
msgstr ""
|
1876 |
|
1877 |
+
#: php/admin/quizzes-page.php:488
|
1878 |
msgid ""
|
1879 |
"Are you sure you want to reset the stats to 0? All views and taken stats for "
|
1880 |
"this quiz will be reset. This is permanent and cannot be undone."
|
1881 |
msgstr ""
|
1882 |
|
1883 |
+
#: php/admin/quizzes-page.php:495
|
1884 |
msgid "Reset All Stats For Quiz"
|
1885 |
msgstr ""
|
1886 |
|
1887 |
+
#: php/admin/quizzes-page.php:515
|
1888 |
msgid "Duplicate questions also?"
|
1889 |
msgstr ""
|
1890 |
|
1891 |
+
#: php/admin/quizzes-page.php:517
|
1892 |
msgid "Name Of New Quiz Or Survey:"
|
1893 |
msgstr ""
|
1894 |
|
1895 |
+
#: php/admin/quizzes-page.php:540
|
1896 |
msgid "Are you sure you want to delete this quiz or survey?"
|
1897 |
msgstr ""
|
1898 |
|
1899 |
+
#: php/admin/quizzes-page.php:542
|
1900 |
msgid "Delete question from question bank?"
|
1901 |
msgstr ""
|
1902 |
|
1903 |
+
#: php/admin/quizzes-page.php:562
|
1904 |
msgid "Extend QSM"
|
1905 |
msgstr ""
|
1906 |
|
1907 |
+
#: php/admin/quizzes-page.php:566
|
1908 |
msgid "Export functionality is provided as Premium addon."
|
1909 |
msgstr ""
|
1910 |
|
1911 |
+
#: php/admin/quizzes-page.php:569
|
1912 |
msgid "Buy Now"
|
1913 |
msgstr ""
|
1914 |
|
1915 |
+
#: php/admin/quizzes-page.php:586
|
1916 |
msgid "Embed Shortcode"
|
1917 |
msgstr ""
|
1918 |
|
1919 |
+
#: php/admin/quizzes-page.php:591
|
1920 |
msgid "Link Shortcode"
|
1921 |
msgstr ""
|
1922 |
|
1923 |
+
#: php/admin/quizzes-page.php:604
|
1924 |
msgid "You do not have any quizzes or surveys yet"
|
1925 |
msgstr ""
|
1926 |
|
1927 |
+
#: php/admin/quizzes-page.php:609
|
1928 |
msgid "or watch the below video to get started"
|
1929 |
msgstr ""
|
1930 |
|
1931 |
+
#: php/admin/quizzes-page.php:660
|
1932 |
msgid "Number of items per page:"
|
1933 |
msgstr ""
|
1934 |
|
2154 |
msgid "Correct Info: "
|
2155 |
msgstr ""
|
2156 |
|
2157 |
+
#: php/classes/class-qmn-quiz-manager.php:258
|
2158 |
+
#: php/classes/class-qmn-quiz-manager.php:271
|
2159 |
msgid "It appears that this quiz is not set up correctly"
|
2160 |
msgstr ""
|
2161 |
|
2162 |
+
#: php/classes/class-qmn-quiz-manager.php:568
|
2163 |
msgid "Limit of choice is reached."
|
2164 |
msgstr ""
|
2165 |
|
2166 |
+
#: php/classes/class-qmn-quiz-manager.php:568
|
2167 |
+
#: php/classes/class-qmn-quiz-manager.php:792
|
2168 |
+
#: php/classes/class-qmn-quiz-manager.php:960
|
2169 |
msgid " out of "
|
2170 |
msgstr ""
|
2171 |
|
2172 |
+
#: php/classes/class-qmn-quiz-manager.php:1277
|
2173 |
+
#: php/classes/class-qsm-install.php:548
|
2174 |
msgid "Retake Quiz"
|
2175 |
msgstr ""
|
2176 |
|
2177 |
+
#: php/classes/class-qmn-quiz-manager.php:1328
|
2178 |
+
msgid "Captcha verification failed."
|
2179 |
+
msgstr ""
|
2180 |
+
|
2181 |
+
#: php/classes/class-qmn-quiz-manager.php:1444
|
2182 |
msgid "Click here to view"
|
2183 |
msgstr ""
|
2184 |
|
2185 |
+
#: php/classes/class-qmn-quiz-manager.php:1909
|
2186 |
msgid "Not collected"
|
2187 |
msgstr ""
|
2188 |
|
2189 |
+
#: php/classes/class-qmn-quiz-manager.php:1919
|
2190 |
msgid "Unknown"
|
2191 |
msgstr ""
|
2192 |
|
2261 |
msgstr ""
|
2262 |
|
2263 |
#: php/classes/class-qsm-install.php:96
|
2264 |
+
msgid "Allow Score Round-off"
|
2265 |
+
msgstr ""
|
2266 |
+
|
2267 |
+
#: php/classes/class-qsm-install.php:111
|
2268 |
msgid "Show progress bar"
|
2269 |
msgstr ""
|
2270 |
|
2271 |
+
#: php/classes/class-qsm-install.php:130
|
2272 |
msgid "Require User Login"
|
2273 |
msgstr ""
|
2274 |
|
2275 |
+
#: php/classes/class-qsm-install.php:143
|
2276 |
msgid "Enabling this allows only logged in users to take the quiz"
|
2277 |
msgstr ""
|
2278 |
|
2279 |
+
#: php/classes/class-qsm-install.php:150
|
2280 |
msgid "Questions Per Page"
|
2281 |
msgstr ""
|
2282 |
|
2283 |
+
#: php/classes/class-qsm-install.php:156
|
2284 |
msgid "Override the default pagination created on questions tab"
|
2285 |
msgstr ""
|
2286 |
|
2287 |
+
#: php/classes/class-qsm-install.php:163
|
2288 |
msgid "Time Limit (in minutes)"
|
2289 |
msgstr ""
|
2290 |
|
2291 |
+
#: php/classes/class-qsm-install.php:169
|
2292 |
msgid "Leave 0 for no time limit"
|
2293 |
msgstr ""
|
2294 |
|
2295 |
+
#: php/classes/class-qsm-install.php:176
|
2296 |
msgid "Force submit after timer expiry"
|
2297 |
msgstr ""
|
2298 |
|
2299 |
+
#: php/classes/class-qsm-install.php:194
|
2300 |
msgid "Skip validations when time expire"
|
2301 |
msgstr ""
|
2302 |
|
2303 |
+
#: php/classes/class-qsm-install.php:213
|
2304 |
msgid "Limit Attempts"
|
2305 |
msgstr ""
|
2306 |
|
2307 |
+
#: php/classes/class-qsm-install.php:219
|
2308 |
msgid "Leave 0 for unlimited attempts"
|
2309 |
msgstr ""
|
2310 |
|
2311 |
+
#: php/classes/class-qsm-install.php:220
|
2312 |
msgid "Limits how many times a user can take the quiz"
|
2313 |
msgstr ""
|
2314 |
|
2315 |
+
#: php/classes/class-qsm-install.php:227
|
2316 |
msgid "Limit Entries"
|
2317 |
msgstr ""
|
2318 |
|
2319 |
+
#: php/classes/class-qsm-install.php:233
|
2320 |
msgid "Leave 0 for unlimited entries"
|
2321 |
msgstr ""
|
2322 |
|
2323 |
+
#: php/classes/class-qsm-install.php:234
|
2324 |
msgid "Limits how many users can take the quiz."
|
2325 |
msgstr ""
|
2326 |
|
2327 |
+
#: php/classes/class-qsm-install.php:241
|
2328 |
msgid "Limit number of Questions"
|
2329 |
msgstr ""
|
2330 |
|
2331 |
+
#: php/classes/class-qsm-install.php:247
|
2332 |
msgid "Leave 0 to load all questions"
|
2333 |
msgstr ""
|
2334 |
|
2335 |
+
#: php/classes/class-qsm-install.php:248
|
2336 |
msgid "Show only limited number of questions from your quiz."
|
2337 |
msgstr ""
|
2338 |
|
2339 |
+
#: php/classes/class-qsm-install.php:255
|
2340 |
msgid "Quiz Dates"
|
2341 |
msgstr ""
|
2342 |
|
2343 |
+
#: php/classes/class-qsm-install.php:262
|
2344 |
msgid "Start Date"
|
2345 |
msgstr ""
|
2346 |
|
2347 |
+
#: php/classes/class-qsm-install.php:263
|
2348 |
msgid "If set, Quiz will be accessible only after this date"
|
2349 |
msgstr ""
|
2350 |
|
2351 |
+
#: php/classes/class-qsm-install.php:264
|
2352 |
msgid "Leave blank for no date limit"
|
2353 |
msgstr ""
|
2354 |
|
2355 |
+
#: php/classes/class-qsm-install.php:277
|
2356 |
msgid " If set, Quiz will not be accessible after this date"
|
2357 |
msgstr ""
|
2358 |
|
2359 |
+
#: php/classes/class-qsm-install.php:278
|
2360 |
msgid "End Date"
|
2361 |
msgstr ""
|
2362 |
|
2363 |
+
#: php/classes/class-qsm-install.php:285 php/classes/class-qsm-install.php:289
|
2364 |
msgid "Random Questions"
|
2365 |
msgstr ""
|
2366 |
|
2367 |
+
#: php/classes/class-qsm-install.php:293
|
2368 |
msgid "Random Questions And Answers"
|
2369 |
msgstr ""
|
2370 |
|
2371 |
+
#: php/classes/class-qsm-install.php:297
|
2372 |
msgid "Random Answers"
|
2373 |
msgstr ""
|
2374 |
|
2375 |
+
#: php/classes/class-qsm-install.php:301
|
2376 |
msgid "Disabled"
|
2377 |
msgstr ""
|
2378 |
|
2379 |
+
#: php/classes/class-qsm-install.php:306
|
2380 |
msgid "Randomize the order of questions or answers every time a quiz loads"
|
2381 |
msgstr ""
|
2382 |
|
2383 |
+
#: php/classes/class-qsm-install.php:313
|
2384 |
msgid "Random Questions Categories"
|
2385 |
msgstr ""
|
2386 |
|
2387 |
+
#: php/classes/class-qsm-install.php:316
|
2388 |
msgid "Questions will load only from selected categories"
|
2389 |
msgstr ""
|
2390 |
|
2391 |
+
#: php/classes/class-qsm-install.php:323
|
2392 |
msgid "Contact form position"
|
2393 |
msgstr ""
|
2394 |
|
2395 |
+
#: php/classes/class-qsm-install.php:327
|
2396 |
msgid "Show before quiz begins"
|
2397 |
msgstr ""
|
2398 |
|
2399 |
+
#: php/classes/class-qsm-install.php:331
|
2400 |
msgid "Show after the quiz ends"
|
2401 |
msgstr ""
|
2402 |
|
2403 |
+
#: php/classes/class-qsm-install.php:336
|
2404 |
msgid "Select when to display the contact form"
|
2405 |
msgstr ""
|
2406 |
|
2407 |
+
#: php/classes/class-qsm-install.php:337
|
2408 |
msgid "The form can be configured in Contact tab"
|
2409 |
msgstr ""
|
2410 |
|
2411 |
+
#: php/classes/class-qsm-install.php:344
|
2412 |
msgid "Show contact form to logged in users"
|
2413 |
msgstr ""
|
2414 |
|
2415 |
+
#: php/classes/class-qsm-install.php:357
|
2416 |
msgid "Logged in users can edit their contact information"
|
2417 |
msgstr ""
|
2418 |
|
2419 |
+
#: php/classes/class-qsm-install.php:358
|
2420 |
msgid "The information will still get saved if this option is disabled"
|
2421 |
msgstr ""
|
2422 |
|
2423 |
+
#: php/classes/class-qsm-install.php:365
|
2424 |
msgid "Enable comments"
|
2425 |
msgstr ""
|
2426 |
|
2427 |
+
#: php/classes/class-qsm-install.php:378
|
2428 |
msgid "Allow users to enter their comments after the quiz"
|
2429 |
msgstr ""
|
2430 |
|
2431 |
+
#: php/classes/class-qsm-install.php:385
|
2432 |
msgid "Show question numbers"
|
2433 |
msgstr ""
|
2434 |
|
2435 |
+
#: php/classes/class-qsm-install.php:404
|
2436 |
msgid "Save Responses"
|
2437 |
msgstr ""
|
2438 |
|
2439 |
+
#: php/classes/class-qsm-install.php:417
|
2440 |
msgid "The results will be permanently stored in a database"
|
2441 |
msgstr ""
|
2442 |
|
2443 |
+
#: php/classes/class-qsm-install.php:424
|
2444 |
msgid "Disable change of answers"
|
2445 |
msgstr ""
|
2446 |
|
2447 |
+
#: php/classes/class-qsm-install.php:437 php/classes/class-qsm-install.php:458
|
2448 |
msgid "Works with multiple choice questions only"
|
2449 |
msgstr ""
|
2450 |
|
2451 |
+
#: php/classes/class-qsm-install.php:438
|
2452 |
msgid "The question will be disabled once an answer is selected"
|
2453 |
msgstr ""
|
2454 |
|
2455 |
+
#: php/classes/class-qsm-install.php:445
|
2456 |
msgid "Add class for correct/incorrect answers"
|
2457 |
msgstr ""
|
2458 |
|
2459 |
+
#: php/classes/class-qsm-install.php:459
|
2460 |
msgid ""
|
2461 |
"Dynamically add class for incorrect/correct answer after user selects answer."
|
2462 |
msgstr ""
|
2463 |
|
2464 |
+
#: php/classes/class-qsm-install.php:466
|
2465 |
msgid "Disable auto fill for contact input"
|
2466 |
msgstr ""
|
2467 |
|
2468 |
+
#: php/classes/class-qsm-install.php:485
|
2469 |
msgid "Display category name on front end"
|
2470 |
msgstr ""
|
2471 |
|
2472 |
+
#: php/classes/class-qsm-install.php:504
|
2473 |
msgid "Show results inline"
|
2474 |
msgstr ""
|
2475 |
|
2476 |
+
#: php/classes/class-qsm-install.php:517
|
2477 |
msgid "Instantly displays the result for each question"
|
2478 |
msgstr ""
|
2479 |
|
2480 |
+
#: php/classes/class-qsm-install.php:524
|
2481 |
msgid "Show correct answer inline"
|
2482 |
msgstr ""
|
2483 |
|
2484 |
+
#: php/classes/class-qsm-install.php:528
|
2485 |
msgid "Yes When answer is correct"
|
2486 |
msgstr ""
|
2487 |
|
2488 |
+
#: php/classes/class-qsm-install.php:532
|
2489 |
msgid "Yes Independent of correct/incorrect"
|
2490 |
msgstr ""
|
2491 |
|
2492 |
+
#: php/classes/class-qsm-install.php:541
|
2493 |
msgid "Show correct user info when inline result is enabled."
|
2494 |
msgstr ""
|
2495 |
|
2496 |
+
#: php/classes/class-qsm-install.php:561
|
2497 |
msgid "Show a button on result page to retake the quiz"
|
2498 |
msgstr ""
|
2499 |
|
2500 |
+
#: php/classes/class-qsm-install.php:568
|
2501 |
msgid "Show current page number"
|
2502 |
msgstr ""
|
2503 |
|
2504 |
+
#: php/classes/class-qsm-install.php:587
|
2505 |
msgid "Deselect Answer"
|
2506 |
msgstr ""
|
2507 |
|
2508 |
+
#: php/classes/class-qsm-install.php:600
|
2509 |
msgid ""
|
2510 |
"Users are able deselect an answer and leave it blank. Works with Multiple "
|
2511 |
"Choice and Horizintal Multiple Choice questions only"
|
2512 |
msgstr ""
|
2513 |
|
2514 |
+
#: php/classes/class-qsm-install.php:607
|
2515 |
msgid "Disable description on quiz result page?"
|
2516 |
msgstr ""
|
2517 |
|
2518 |
+
#: php/classes/class-qsm-install.php:626
|
2519 |
msgid "Disable scroll on next and previous button click?"
|
2520 |
msgstr ""
|
2521 |
|
2522 |
+
#: php/classes/class-qsm-install.php:645
|
2523 |
msgid "Quiz Animation"
|
2524 |
msgstr ""
|
2525 |
|
2526 |
+
#: php/classes/class-qsm-install.php:649
|
2527 |
msgid "bounce"
|
2528 |
msgstr ""
|
2529 |
|
2530 |
+
#: php/classes/class-qsm-install.php:653
|
2531 |
msgid "flash"
|
2532 |
msgstr ""
|
2533 |
|
2534 |
+
#: php/classes/class-qsm-install.php:657
|
2535 |
msgid "pulse"
|
2536 |
msgstr ""
|
2537 |
|
2538 |
+
#: php/classes/class-qsm-install.php:661
|
2539 |
msgid "rubberBand"
|
2540 |
msgstr ""
|
2541 |
|
2542 |
+
#: php/classes/class-qsm-install.php:665
|
2543 |
msgid "shake"
|
2544 |
msgstr ""
|
2545 |
|
2546 |
+
#: php/classes/class-qsm-install.php:669
|
2547 |
msgid "swing"
|
2548 |
msgstr ""
|
2549 |
|
2550 |
+
#: php/classes/class-qsm-install.php:673
|
2551 |
msgid "tada"
|
2552 |
msgstr ""
|
2553 |
|
2554 |
+
#: php/classes/class-qsm-install.php:677
|
2555 |
msgid "wobble"
|
2556 |
msgstr ""
|
2557 |
|
2558 |
+
#: php/classes/class-qsm-install.php:681
|
2559 |
msgid "jello"
|
2560 |
msgstr ""
|
2561 |
|
2562 |
+
#: php/classes/class-qsm-install.php:685
|
2563 |
msgid "heartBeat"
|
2564 |
msgstr ""
|
2565 |
|
2566 |
+
#: php/classes/class-qsm-install.php:689
|
2567 |
msgid "No animation"
|
2568 |
msgstr ""
|
2569 |
|
2570 |
+
#: php/classes/class-qsm-install.php:700
|
2571 |
msgid "Logo URL"
|
2572 |
msgstr ""
|
2573 |
|
2574 |
+
#: php/classes/class-qsm-install.php:703
|
2575 |
msgid ""
|
2576 |
"Enter the url of an image which will be used as logo while sharing on "
|
2577 |
"facebook."
|
2578 |
msgstr ""
|
2579 |
|
2580 |
+
#: php/classes/class-qsm-install.php:704
|
2581 |
msgid "If left blank, this will default to QSM logo"
|
2582 |
msgstr ""
|
2583 |
|
2584 |
+
#: php/classes/class-qsm-install.php:711
|
2585 |
+
#: php/classes/class-qsm-install.php:1139
|
2586 |
msgid "Show Legacy Options"
|
2587 |
msgstr ""
|
2588 |
|
2589 |
+
#: php/classes/class-qsm-install.php:714
|
2590 |
+
#: php/classes/class-qsm-install.php:1142
|
2591 |
msgid ""
|
2592 |
"All the legacy options are deprecated and will be removed in upcoming version"
|
2593 |
msgstr ""
|
2594 |
|
2595 |
+
#: php/classes/class-qsm-install.php:722
|
2596 |
msgid "Social Sharing Buttons"
|
2597 |
msgstr ""
|
2598 |
|
2599 |
+
#: php/classes/class-qsm-install.php:735
|
2600 |
msgid ""
|
2601 |
"Please use the new template variables instead.%FACEBOOK_SHARE% %TWITTER_SHARE"
|
2602 |
"%"
|
2603 |
msgstr ""
|
2604 |
|
2605 |
+
#: php/classes/class-qsm-install.php:742
|
2606 |
msgid "Ask user's name"
|
2607 |
msgstr ""
|
2608 |
|
2609 |
+
#: php/classes/class-qsm-install.php:754 php/classes/class-qsm-install.php:778
|
2610 |
+
#: php/classes/class-qsm-install.php:801 php/classes/class-qsm-install.php:824
|
2611 |
msgid "Require"
|
2612 |
msgstr ""
|
2613 |
|
2614 |
+
#: php/classes/class-qsm-install.php:766
|
2615 |
msgid "Ask user's business"
|
2616 |
msgstr ""
|
2617 |
|
2618 |
+
#: php/classes/class-qsm-install.php:789
|
2619 |
msgid "Ask user's email"
|
2620 |
msgstr ""
|
2621 |
|
2622 |
+
#: php/classes/class-qsm-install.php:812
|
2623 |
msgid "Ask user's phone"
|
2624 |
msgstr ""
|
2625 |
|
2626 |
+
#: php/classes/class-qsm-install.php:835
|
2627 |
msgid "Message Displayed Before Quiz"
|
2628 |
msgstr ""
|
2629 |
|
2630 |
+
#: php/classes/class-qsm-install.php:849
|
2631 |
msgid "Message Displayed Before Comments Box If Enabled"
|
2632 |
msgstr ""
|
2633 |
|
2634 |
+
#: php/classes/class-qsm-install.php:863
|
2635 |
msgid "Message Displayed At End Of Quiz (Leave Blank To Omit Text Section)"
|
2636 |
msgstr ""
|
2637 |
|
2638 |
+
#: php/classes/class-qsm-install.php:877
|
2639 |
msgid "Message Displayed If User Has Tried Quiz Too Many Times"
|
2640 |
msgstr ""
|
2641 |
|
2642 |
+
#: php/classes/class-qsm-install.php:891
|
2643 |
msgid ""
|
2644 |
"Message Displayed If User Is Not Logged In And Quiz Requires Users To Be "
|
2645 |
"Logged In"
|
2646 |
msgstr ""
|
2647 |
|
2648 |
+
#: php/classes/class-qsm-install.php:905
|
2649 |
msgid "Message Displayed If Date Is Outside Scheduled Timeframe"
|
2650 |
msgstr ""
|
2651 |
|
2652 |
+
#: php/classes/class-qsm-install.php:919
|
2653 |
msgid "Message Displayed If The Limit Of Total Entries Has Been Reached"
|
2654 |
msgstr ""
|
2655 |
|
2656 |
+
#: php/classes/class-qsm-install.php:933
|
2657 |
msgid "Results Page %QUESTIONS_ANSWERS% Text"
|
2658 |
msgstr ""
|
2659 |
|
2660 |
+
#: php/classes/class-qsm-install.php:952
|
2661 |
msgid "%QUESTIONS_ANSWERS_EMAIL% Text"
|
2662 |
msgstr ""
|
2663 |
|
2664 |
+
#: php/classes/class-qsm-install.php:970
|
2665 |
msgid "Twitter Sharing Text"
|
2666 |
msgstr ""
|
2667 |
|
2668 |
+
#: php/classes/class-qsm-install.php:991
|
2669 |
msgid "Facebook Sharing Text"
|
2670 |
msgstr ""
|
2671 |
|
2672 |
+
#: php/classes/class-qsm-install.php:1012
|
2673 |
msgid "Buttons"
|
2674 |
msgstr ""
|
2675 |
|
2676 |
+
#: php/classes/class-qsm-install.php:1020
|
2677 |
msgid "Submit Button"
|
2678 |
msgstr ""
|
2679 |
|
2680 |
+
#: php/classes/class-qsm-install.php:1029
|
2681 |
msgid "Previous button"
|
2682 |
msgstr ""
|
2683 |
|
2684 |
+
#: php/classes/class-qsm-install.php:1038
|
2685 |
msgid "Next button"
|
2686 |
msgstr ""
|
2687 |
|
2688 |
+
#: php/classes/class-qsm-install.php:1047
|
2689 |
msgid "Validation Messages"
|
2690 |
msgstr ""
|
2691 |
|
2692 |
+
#: php/classes/class-qsm-install.php:1056
|
2693 |
msgid "All required fields"
|
2694 |
msgstr ""
|
2695 |
|
2696 |
+
#: php/classes/class-qsm-install.php:1065
|
2697 |
msgid "Invalid email"
|
2698 |
msgstr ""
|
2699 |
|
2700 |
+
#: php/classes/class-qsm-install.php:1074
|
2701 |
msgid "Invalid number"
|
2702 |
msgstr ""
|
2703 |
|
2704 |
+
#: php/classes/class-qsm-install.php:1083
|
2705 |
msgid "Invalid Captcha"
|
2706 |
msgstr ""
|
2707 |
|
2708 |
+
#: php/classes/class-qsm-install.php:1092
|
2709 |
msgid "Other"
|
2710 |
msgstr ""
|
2711 |
|
2712 |
+
#: php/classes/class-qsm-install.php:1101
|
2713 |
msgid "Comments field"
|
2714 |
msgstr ""
|
2715 |
|
2716 |
+
#: php/classes/class-qsm-install.php:1110
|
2717 |
msgid "Hint Text"
|
2718 |
msgstr ""
|
2719 |
|
2720 |
+
#: php/classes/class-qsm-install.php:1119
|
2721 |
msgid "Correct answer message"
|
2722 |
msgstr ""
|
2723 |
|
2724 |
+
#: php/classes/class-qsm-install.php:1122
|
2725 |
msgid "Text to show when the selected option is correct answer."
|
2726 |
msgstr ""
|
2727 |
|
2728 |
+
#: php/classes/class-qsm-install.php:1129
|
2729 |
msgid "Incorrect answer message"
|
2730 |
msgstr ""
|
2731 |
|
2732 |
+
#: php/classes/class-qsm-install.php:1132
|
2733 |
msgid "Text to show when the selected option is wrong answer."
|
2734 |
msgstr ""
|
2735 |
|
2736 |
+
#: php/classes/class-qsm-install.php:1150
|
2737 |
msgid "Name field"
|
2738 |
msgstr ""
|
2739 |
|
2740 |
+
#: php/classes/class-qsm-install.php:1159
|
2741 |
msgid "Business field"
|
2742 |
msgstr ""
|
2743 |
|
2744 |
+
#: php/classes/class-qsm-install.php:1168
|
2745 |
msgid "Email field"
|
2746 |
msgstr ""
|
2747 |
|
2748 |
+
#: php/classes/class-qsm-install.php:1177
|
2749 |
msgid "Phone number field"
|
2750 |
msgstr ""
|
2751 |
|
2752 |
+
#: php/classes/class-qsm-install.php:1801
|
2753 |
msgid "Documentation"
|
2754 |
msgstr ""
|
2755 |
|
2756 |
+
#: php/classes/class-qsm-install.php:1802
|
2757 |
msgid "Create Support Ticket"
|
2758 |
msgstr ""
|
2759 |
|
2760 |
+
#: php/classes/class-qsm-install.php:1802
|
2761 |
msgid "Support"
|
2762 |
msgstr ""
|
2763 |
|
2764 |
+
#: php/classes/class-qsm-settings.php:323
|
2765 |
msgid "Previous"
|
2766 |
msgstr ""
|
2767 |
|
2768 |
+
#: php/classes/class-qsm-settings.php:324
|
2769 |
msgid "Next"
|
2770 |
msgstr ""
|
2771 |
|
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: 7.1.
|
6 |
* Author: ExpressTech
|
7 |
* Author URI: https://quizandsurveymaster.com/
|
8 |
* Plugin URI: https://expresstech.io/
|
9 |
* Text Domain: quiz-master-next
|
10 |
*
|
11 |
* @author QSM Team
|
12 |
-
* @version 7.1.
|
13 |
* @package QSM
|
14 |
*/
|
15 |
|
@@ -37,7 +37,7 @@ class MLWQuizMasterNext {
|
|
37 |
* @var string
|
38 |
* @since 4.0.0
|
39 |
*/
|
40 |
-
public $version = '7.1.
|
41 |
|
42 |
/**
|
43 |
* QSM Alert Manager Object
|
@@ -293,6 +293,7 @@ class MLWQuizMasterNext {
|
|
293 |
add_submenu_page( 'qsm_dashboard', __( 'Stats', 'quiz-master-next' ), __( 'Stats', 'quiz-master-next' ), 'moderate_comments', 'qmn_stats', 'qmn_generate_stats_page' );
|
294 |
add_submenu_page( 'qsm_dashboard', __( 'Addon Settings', 'quiz-master-next' ), '<span style="color:#f39c12;">' . __( 'Addon Settings', 'quiz-master-next' ) . '</span>', 'moderate_comments', 'qmn_addons', 'qmn_addons_page' );
|
295 |
add_submenu_page( 'qsm_dashboard', __( 'Get a Free Addon', 'quiz-master-next' ), '<span style="color:#f39c12;">' . esc_html__( 'Get a Free Addon!', 'quiz-master-next' ) . '</span>', 'moderate_comments', 'qsm-free-addon', 'qsm_display_optin_page' );
|
|
|
296 |
add_submenu_page( 'qsm_dashboard', __( 'QSM About', 'quiz-master-next' ), __( 'QSM About', 'quiz-master-next' ), 'moderate_comments', 'qsm_about_page', 'qsm_generate_about_page' );
|
297 |
add_submenu_page( 'qsm_dashboard', __( 'Help', 'quiz-master-next' ), __( 'Help', 'quiz-master-next' ), 'moderate_comments', 'qsm_quiz_help', 'qsm_generate_help_page' );
|
298 |
//Register screen option for dashboard page
|
2 |
/**
|
3 |
* Plugin Name: Quiz And Survey Master
|
4 |
* Description: Easily and quickly add quizzes and surveys to your website.
|
5 |
+
* Version: 7.1.11
|
6 |
* Author: ExpressTech
|
7 |
* Author URI: https://quizandsurveymaster.com/
|
8 |
* Plugin URI: https://expresstech.io/
|
9 |
* Text Domain: quiz-master-next
|
10 |
*
|
11 |
* @author QSM Team
|
12 |
+
* @version 7.1.11
|
13 |
* @package QSM
|
14 |
*/
|
15 |
|
37 |
* @var string
|
38 |
* @since 4.0.0
|
39 |
*/
|
40 |
+
public $version = '7.1.11';
|
41 |
|
42 |
/**
|
43 |
* QSM Alert Manager Object
|
293 |
add_submenu_page( 'qsm_dashboard', __( 'Stats', 'quiz-master-next' ), __( 'Stats', 'quiz-master-next' ), 'moderate_comments', 'qmn_stats', 'qmn_generate_stats_page' );
|
294 |
add_submenu_page( 'qsm_dashboard', __( 'Addon Settings', 'quiz-master-next' ), '<span style="color:#f39c12;">' . __( 'Addon Settings', 'quiz-master-next' ) . '</span>', 'moderate_comments', 'qmn_addons', 'qmn_addons_page' );
|
295 |
add_submenu_page( 'qsm_dashboard', __( 'Get a Free Addon', 'quiz-master-next' ), '<span style="color:#f39c12;">' . esc_html__( 'Get a Free Addon!', 'quiz-master-next' ) . '</span>', 'moderate_comments', 'qsm-free-addon', 'qsm_display_optin_page' );
|
296 |
+
add_submenu_page( 'qsm_dashboard', __( 'QSM Roadmap', 'quiz-master-next' ), __( 'QSM Roadmap', 'quiz-master-next' ), 'moderate_comments', 'qsm_roadmap_page', 'qsm_generate_roadmap_page' );
|
297 |
add_submenu_page( 'qsm_dashboard', __( 'QSM About', 'quiz-master-next' ), __( 'QSM About', 'quiz-master-next' ), 'moderate_comments', 'qsm_about_page', 'qsm_generate_about_page' );
|
298 |
add_submenu_page( 'qsm_dashboard', __( 'Help', 'quiz-master-next' ), __( 'Help', 'quiz-master-next' ), 'moderate_comments', 'qsm_quiz_help', 'qsm_generate_help_page' );
|
299 |
//Register screen option for dashboard page
|
php/admin/admin-results-details-page.php
CHANGED
@@ -138,7 +138,7 @@ function qsm_generate_results_details_tab() {
|
|
138 |
$template .= '<div id="submitdiv" class="postbox "><h2 class="hndle ui-sortable-handle"><span>Scorecard</span></h2>';
|
139 |
$template .= '<div class="inside">';
|
140 |
$template .= '<span class="result-candidate-span"><label>'. __( 'Correct Answers:', 'quiz-master-next' ) .'</label><span>%AMOUNT_CORRECT% Out of %TOTAL_QUESTIONS%</span></span>';
|
141 |
-
$template .= '<span class="result-candidate-span"><label>'. __( 'Points:', 'quiz-master-next' ) .'</label><span>%POINT_SCORE
|
142 |
$template .= '<span class="result-candidate-span"><label>'. __( 'Percentage:', 'quiz-master-next' ) .'</label><span>%CORRECT_SCORE%%</span></span>';
|
143 |
$template .= '</div>';
|
144 |
$template .= '</div>';
|
138 |
$template .= '<div id="submitdiv" class="postbox "><h2 class="hndle ui-sortable-handle"><span>Scorecard</span></h2>';
|
139 |
$template .= '<div class="inside">';
|
140 |
$template .= '<span class="result-candidate-span"><label>'. __( 'Correct Answers:', 'quiz-master-next' ) .'</label><span>%AMOUNT_CORRECT% Out of %TOTAL_QUESTIONS%</span></span>';
|
141 |
+
$template .= '<span class="result-candidate-span"><label>'. __( 'Points:', 'quiz-master-next' ) .'</label><span>%POINT_SCORE% </span></span>';
|
142 |
$template .= '<span class="result-candidate-span"><label>'. __( 'Percentage:', 'quiz-master-next' ) .'</label><span>%CORRECT_SCORE%%</span></span>';
|
143 |
$template .= '</div>';
|
144 |
$template .= '</div>';
|
php/admin/functions.php
CHANGED
@@ -572,6 +572,7 @@ function qsm_text_template_variable_list(){
|
|
572 |
'%TOTAL_QUESTIONS%' => __('The total number of questions in the quiz', 'quiz-master-next'),
|
573 |
'%CORRECT_SCORE%' => __('Score for the quiz when using correct answers', 'quiz-master-next'),
|
574 |
'%USER_NAME%' => __('The name the user entered before the quiz', 'quiz-master-next'),
|
|
|
575 |
'%USER_BUSINESS%' => __('The business the user entered before the quiz', 'quiz-master-next'),
|
576 |
'%USER_PHONE%' => __('The phone number the user entered before the quiz', 'quiz-master-next'),
|
577 |
'%USER_EMAIL%' => __('The email the user entered before the quiz', 'quiz-master-next'),
|
@@ -655,4 +656,27 @@ function qsm_admin_page_access_func(){
|
|
655 |
exit;
|
656 |
}
|
657 |
}
|
658 |
-
add_action('admin_page_access_denied', 'qsm_admin_page_access_func');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
572 |
'%TOTAL_QUESTIONS%' => __('The total number of questions in the quiz', 'quiz-master-next'),
|
573 |
'%CORRECT_SCORE%' => __('Score for the quiz when using correct answers', 'quiz-master-next'),
|
574 |
'%USER_NAME%' => __('The name the user entered before the quiz', 'quiz-master-next'),
|
575 |
+
'%FULL_NAME%' => __('The full name of user with first name and last name', 'quiz-master-next'),
|
576 |
'%USER_BUSINESS%' => __('The business the user entered before the quiz', 'quiz-master-next'),
|
577 |
'%USER_PHONE%' => __('The phone number the user entered before the quiz', 'quiz-master-next'),
|
578 |
'%USER_EMAIL%' => __('The email the user entered before the quiz', 'quiz-master-next'),
|
656 |
exit;
|
657 |
}
|
658 |
}
|
659 |
+
add_action('admin_page_access_denied', 'qsm_admin_page_access_func');
|
660 |
+
|
661 |
+
/**
|
662 |
+
* Display roadmap page
|
663 |
+
*
|
664 |
+
* @since 7.1.11
|
665 |
+
*/
|
666 |
+
function qsm_generate_roadmap_page(){ ?>
|
667 |
+
<div class="wrap">
|
668 |
+
<style>
|
669 |
+
iframe {
|
670 |
+
height: 1350px;
|
671 |
+
}
|
672 |
+
</style>
|
673 |
+
<iframe src="https://app.productstash.io/roadmaps/5f7b1a36636db50029f51d5c/public" height="900" width="100%" frameborder="0"></iframe>
|
674 |
+
<script>
|
675 |
+
var ps_config = {
|
676 |
+
productId : "d24ad9de-78c7-4835-a2a8-3f5ee0317f31"
|
677 |
+
};
|
678 |
+
</script>
|
679 |
+
<script type="text/javascript" src="https://app.productstash.io/js/productstash-embed.js" defer="defer"></script>
|
680 |
+
</div>
|
681 |
+
<?php
|
682 |
+
}
|
php/admin/options-page-questions-tab.php
CHANGED
@@ -67,7 +67,8 @@ function qsm_options_questions_tab_content() {
|
|
67 |
'quiz_system' => $quiz_system,
|
68 |
'hide_desc_text' => __('Less Description', 'quiz-master-next'),
|
69 |
'show_desc_text' => __('Add Description', 'quiz-master-next'),
|
70 |
-
'question_bank_nonce' => wp_create_nonce("delete_question_question_bank_nonce")
|
|
|
71 |
);
|
72 |
|
73 |
// Scripts and styles.
|
@@ -379,7 +380,7 @@ function qsm_options_questions_tab_content() {
|
|
379 |
),
|
380 |
'default' => '1',
|
381 |
'documentation_link' => 'https://quizandsurveymaster.com/docs/v7/advanced-options/#Comment-Field'
|
382 |
-
),
|
383 |
'hint' => array(
|
384 |
'label' => __( 'Hint', 'quiz-master-next' ),
|
385 |
'type' => 'text',
|
@@ -518,7 +519,7 @@ function qsm_options_questions_tab_content() {
|
|
518 |
<div><span class="dashicons dashicons-move"></span></div>
|
519 |
<div><a href="#" title="Edit Question" class="edit-question-button"><span class="dashicons dashicons-edit"></span></a></div>
|
520 |
<div><a href="#" title="Clone Question" class="duplicate-question-button"><span class="dashicons dashicons-admin-page"></span></a></div>
|
521 |
-
<div><a href="#" title="Delete Question" class="delete-question-button"><span class="dashicons dashicons-trash"></span></a></div>
|
522 |
<div class="question-content-text">{{{data.question}}}</div>
|
523 |
<div class="question-category"><# if ( 0 !== data.category.length ) { #> <?php _e('Category:', 'quiz-master-next'); ?> {{data.category}} <# } #></div>
|
524 |
</div>
|
@@ -727,4 +728,24 @@ function qsm_delete_question_question_bank(){
|
|
727 |
exit;
|
728 |
}
|
729 |
add_action( 'wp_ajax_qsm_delete_question_question_bank', 'qsm_delete_question_question_bank' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
730 |
?>
|
67 |
'quiz_system' => $quiz_system,
|
68 |
'hide_desc_text' => __('Less Description', 'quiz-master-next'),
|
69 |
'show_desc_text' => __('Add Description', 'quiz-master-next'),
|
70 |
+
'question_bank_nonce' => wp_create_nonce("delete_question_question_bank_nonce"),
|
71 |
+
'single_question_nonce' => wp_create_nonce("delete_question_from_database")
|
72 |
);
|
73 |
|
74 |
// Scripts and styles.
|
380 |
),
|
381 |
'default' => '1',
|
382 |
'documentation_link' => 'https://quizandsurveymaster.com/docs/v7/advanced-options/#Comment-Field'
|
383 |
+
),
|
384 |
'hint' => array(
|
385 |
'label' => __( 'Hint', 'quiz-master-next' ),
|
386 |
'type' => 'text',
|
519 |
<div><span class="dashicons dashicons-move"></span></div>
|
520 |
<div><a href="#" title="Edit Question" class="edit-question-button"><span class="dashicons dashicons-edit"></span></a></div>
|
521 |
<div><a href="#" title="Clone Question" class="duplicate-question-button"><span class="dashicons dashicons-admin-page"></span></a></div>
|
522 |
+
<div><a href="#" title="Delete Question" class="delete-question-button" data-question-iid="{{data.id }}"><span class="dashicons dashicons-trash"></span></a></div>
|
523 |
<div class="question-content-text">{{{data.question}}}</div>
|
524 |
<div class="question-category"><# if ( 0 !== data.category.length ) { #> <?php _e('Category:', 'quiz-master-next'); ?> {{data.category}} <# } #></div>
|
525 |
</div>
|
728 |
exit;
|
729 |
}
|
730 |
add_action( 'wp_ajax_qsm_delete_question_question_bank', 'qsm_delete_question_question_bank' );
|
731 |
+
/**
|
732 |
+
* Delete quiz question from Database
|
733 |
+
*
|
734 |
+
* @since 7.1.11
|
735 |
+
*/
|
736 |
+
function qsm_delete_question_from_database(){
|
737 |
+
if ( !wp_verify_nonce( $_REQUEST['nonce'], "delete_question_from_database") ) {
|
738 |
+
echo wp_json_encode( array( 'success' => false, 'message' => __( 'Nonce verification failed.','quiz-master-next' ) ) );
|
739 |
+
wp_die();
|
740 |
+
}
|
741 |
+
$question_id = $_POST['question_id'];
|
742 |
+
|
743 |
+
if( $question_id ){
|
744 |
+
global $wpdb;
|
745 |
+
$wpdb->delete($wpdb->prefix.'mlw_questions',array('question_id'=> $question_id));
|
746 |
+
echo wp_json_encode( array( 'success' => true,'message' => __( 'Question removed Successfully.','quiz-master-next' ) ) );
|
747 |
+
}
|
748 |
+
exit;
|
749 |
+
}
|
750 |
+
add_action( 'wp_ajax_qsm_delete_question_from_database', 'qsm_delete_question_from_database' );
|
751 |
?>
|
php/admin/quiz-options-page.php
CHANGED
@@ -56,6 +56,7 @@ function qsm_generate_quiz_options() {
|
|
56 |
wp_enqueue_script( 'jquery-ui-tabs' );
|
57 |
wp_enqueue_script( 'jquery-effects-blind' );
|
58 |
wp_enqueue_script( 'jquery-effects-explode' );
|
|
|
59 |
|
60 |
wp_enqueue_script( 'qmn_admin_js', plugins_url( '../../js/admin.js', __FILE__ ), array( 'backbone', 'underscore', 'wp-util' ), $mlwQuizMasterNext->version, true );
|
61 |
wp_enqueue_script( 'micromodal_script', plugins_url( '../../js/micromodal.min.js', __FILE__ ) );
|
@@ -69,6 +70,22 @@ function qsm_generate_quiz_options() {
|
|
69 |
$quiz_name = sanitize_text_field( htmlspecialchars( stripslashes( $_POST['edit_quiz_name'] ), ENT_QUOTES ) );
|
70 |
$mlwQuizMasterNext->quizCreator->edit_quiz_name( $quiz_id, $quiz_name );
|
71 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
?>
|
73 |
<?php
|
74 |
// Get quiz post based on quiz id
|
@@ -86,12 +103,14 @@ function qsm_generate_quiz_options() {
|
|
86 |
$the_query = new WP_Query($args);
|
87 |
|
88 |
// The Loop
|
89 |
-
$post_permalink = $edit_link = '';
|
90 |
if ($the_query->have_posts()) {
|
91 |
while ($the_query->have_posts()) {
|
92 |
$the_query->the_post();
|
93 |
$post_permalink = get_the_permalink(get_the_ID());
|
|
|
94 |
$edit_link = get_edit_post_link(get_the_ID());
|
|
|
95 |
}
|
96 |
/* Restore original Post Data */
|
97 |
wp_reset_postdata();
|
@@ -101,6 +120,16 @@ function qsm_generate_quiz_options() {
|
|
101 |
<div class='mlw_quiz_options'>
|
102 |
<h1 style="margin-bottom: 10px;">
|
103 |
<?php echo $quiz_name; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
<a class="qsm-view-preview-btn" target="_blank" href="<?php echo $post_permalink; ?>">
|
105 |
<span class="dashicons dashicons-external"></span>
|
106 |
</a>
|
56 |
wp_enqueue_script( 'jquery-ui-tabs' );
|
57 |
wp_enqueue_script( 'jquery-effects-blind' );
|
58 |
wp_enqueue_script( 'jquery-effects-explode' );
|
59 |
+
wp_enqueue_script( 'wp-tinymce' );
|
60 |
|
61 |
wp_enqueue_script( 'qmn_admin_js', plugins_url( '../../js/admin.js', __FILE__ ), array( 'backbone', 'underscore', 'wp-util' ), $mlwQuizMasterNext->version, true );
|
62 |
wp_enqueue_script( 'micromodal_script', plugins_url( '../../js/micromodal.min.js', __FILE__ ) );
|
70 |
$quiz_name = sanitize_text_field( htmlspecialchars( stripslashes( $_POST['edit_quiz_name'] ), ENT_QUOTES ) );
|
71 |
$mlwQuizMasterNext->quizCreator->edit_quiz_name( $quiz_id, $quiz_name );
|
72 |
}
|
73 |
+
//Update post status
|
74 |
+
if ( isset( $_POST['qsm_update_quiz_status_nonce'] ) && wp_verify_nonce( $_POST['qsm_update_quiz_status_nonce'], 'qsm_update_quiz_status' ) ) {
|
75 |
+
$quiz_post_id = sanitize_text_field( $_POST['quiz_post_id'] );
|
76 |
+
$arg_post_arr = array(
|
77 |
+
'ID' => $quiz_post_id,
|
78 |
+
'post_status' => 'publish',
|
79 |
+
);
|
80 |
+
$update_status = wp_update_post( $arg_post_arr );
|
81 |
+
if ( false !== $update_status ) {
|
82 |
+
$mlwQuizMasterNext->alertManager->newAlert( __( 'Quiz status has been updated successfully to publish.', 'quiz-master-next' ), 'success' );
|
83 |
+
$mlwQuizMasterNext->audit_manager->new_audit( "Quiz/Survey Status Has Been Updated: $quiz_post_id" );
|
84 |
+
} else {
|
85 |
+
$mlwQuizMasterNext->alertManager->newAlert( __( 'An error occurred while trying to update the status of your quiz or survey. Please try again.', 'quiz-master-next' ), 'error' );
|
86 |
+
$mlwQuizMasterNext->log_manager->add( 'Error when updating quiz status', "", 0, 'error' );
|
87 |
+
}
|
88 |
+
}
|
89 |
?>
|
90 |
<?php
|
91 |
// Get quiz post based on quiz id
|
103 |
$the_query = new WP_Query($args);
|
104 |
|
105 |
// The Loop
|
106 |
+
$post_status = $post_id = $post_permalink = $edit_link = '';
|
107 |
if ($the_query->have_posts()) {
|
108 |
while ($the_query->have_posts()) {
|
109 |
$the_query->the_post();
|
110 |
$post_permalink = get_the_permalink(get_the_ID());
|
111 |
+
$post_status = get_post_status( get_the_ID() );
|
112 |
$edit_link = get_edit_post_link(get_the_ID());
|
113 |
+
$post_id = get_the_ID();
|
114 |
}
|
115 |
/* Restore original Post Data */
|
116 |
wp_reset_postdata();
|
120 |
<div class='mlw_quiz_options'>
|
121 |
<h1 style="margin-bottom: 10px;">
|
122 |
<?php echo $quiz_name; ?>
|
123 |
+
<?php
|
124 |
+
if( $post_status == 'draft' ){ ?>
|
125 |
+
<form method="POST" action="" style="display: inline-block; margin-left: 10px;">
|
126 |
+
<?php wp_nonce_field( 'qsm_update_quiz_status','qsm_update_quiz_status_nonce' ); ?>
|
127 |
+
<input type="hidden" name="quiz_post_id" value="<?php echo $post_id; ?>" />
|
128 |
+
<input type="submit" class="button button-default" value="<?php _e('Publish Quiz', 'quiz-master-next'); ?>" />
|
129 |
+
</form>
|
130 |
+
<?php
|
131 |
+
}
|
132 |
+
?>
|
133 |
<a class="qsm-view-preview-btn" target="_blank" href="<?php echo $post_permalink; ?>">
|
134 |
<span class="dashicons dashicons-external"></span>
|
135 |
</a>
|
php/classes/class-qmn-quiz-creator.php
CHANGED
@@ -189,7 +189,7 @@ class QMNQuizCreator {
|
|
189 |
$quiz_post = array(
|
190 |
'post_title' => $quiz_name,
|
191 |
'post_content' => "[mlw_quizmaster quiz=$new_quiz]",
|
192 |
-
'post_status' => '
|
193 |
'post_author' => $current_user->ID,
|
194 |
'post_type' => 'qsm_quiz',
|
195 |
);
|
189 |
$quiz_post = array(
|
190 |
'post_title' => $quiz_name,
|
191 |
'post_content' => "[mlw_quizmaster quiz=$new_quiz]",
|
192 |
+
'post_status' => 'draft',
|
193 |
'post_author' => $current_user->ID,
|
194 |
'post_type' => 'qsm_quiz',
|
195 |
);
|
php/classes/class-qmn-quiz-manager.php
CHANGED
@@ -204,10 +204,10 @@ class QMNQuizManager {
|
|
204 |
echo wp_json_encode(
|
205 |
array(
|
206 |
'success' => $correct_answer ? 'correct' : 'incorrect',
|
207 |
-
'message' => $show_correct_info && $got_ans ? '<b>'. __('Correct Info: ', 'quiz-master-next') .'</b>' . $correct_info_text : ''
|
208 |
-
)
|
209 |
);
|
210 |
-
wp_die();
|
211 |
}
|
212 |
|
213 |
/**
|
@@ -232,6 +232,10 @@ class QMNQuizManager {
|
|
232 |
ob_start();
|
233 |
if(isset($_GET['result_id']) && $_GET['result_id'] != ''){
|
234 |
global $wpdb;
|
|
|
|
|
|
|
|
|
235 |
$result_unique_id = $_GET['result_id'];
|
236 |
$query = $wpdb->prepare("SELECT result_id FROM {$wpdb->prefix}mlw_results WHERE unique_id = %s",$result_unique_id);
|
237 |
$result = $wpdb->get_row($query,ARRAY_A);
|
@@ -714,7 +718,7 @@ class QMNQuizManager {
|
|
714 |
}
|
715 |
// Checks if a hint is entered.
|
716 |
if (!empty($question['hints'])) {
|
717 |
-
echo '<div
|
718 |
}
|
719 |
?>
|
720 |
</div>
|
@@ -774,8 +778,8 @@ class QMNQuizManager {
|
|
774 |
echo "<textarea class='qsm-question-comment qsm-question-comment-large mlw_qmn_question_comment' id='mlwComment$question_id' name='mlwComment$question_id' placeholder='" . esc_attr(htmlspecialchars_decode($options->comment_field_text, ENT_QUOTES)) ."' onclick='qmnClearField(this)' ></textarea>";
|
775 |
}
|
776 |
// Checks if a hint is entered.
|
777 |
-
if (!empty($question['hints'])) {
|
778 |
-
|
779 |
}
|
780 |
?>
|
781 |
</div>
|
@@ -1239,7 +1243,7 @@ class QMNQuizManager {
|
|
1239 |
'%d',
|
1240 |
'%s',
|
1241 |
'%d',
|
1242 |
-
'%
|
1243 |
'%d',
|
1244 |
'%d',
|
1245 |
'%d',
|
@@ -1435,7 +1439,7 @@ class QMNQuizManager {
|
|
1435 |
}
|
1436 |
|
1437 |
// Send question to our grading function
|
1438 |
-
$results_array = apply_filters('qmn_results_array', $mlwQuizMasterNext->pluginHelper->display_review($question['question_type_new'], $question['question_id']));
|
1439 |
if( isset($results_array['question_type']) && $results_array['question_type'] == 'file_upload') {
|
1440 |
$results_array['user_text'] = '<a target="_blank" href="'.$results_array['user_text'].'">' . __('Click here to view', 'quiz-master-next') . '</a>';
|
1441 |
}
|
@@ -1536,8 +1540,9 @@ class QMNQuizManager {
|
|
1536 |
}
|
1537 |
|
1538 |
// Send question to our grading function
|
1539 |
-
$results_array = $mlwQuizMasterNext->pluginHelper->display_review($question['question_type_new'], $question['question_id']);
|
1540 |
|
|
|
1541 |
// If question was graded correctly.
|
1542 |
if (!isset($results_array["null_review"])) {
|
1543 |
$points_earned += $results_array["points"];
|
204 |
echo wp_json_encode(
|
205 |
array(
|
206 |
'success' => $correct_answer ? 'correct' : 'incorrect',
|
207 |
+
'message' => $show_correct_info && $got_ans ? '<b>'. __('Correct Info: ', 'quiz-master-next') .'</b>' . do_shortcode($correct_info_text) : ''
|
208 |
+
)
|
209 |
);
|
210 |
+
wp_die();
|
211 |
}
|
212 |
|
213 |
/**
|
232 |
ob_start();
|
233 |
if(isset($_GET['result_id']) && $_GET['result_id'] != ''){
|
234 |
global $wpdb;
|
235 |
+
wp_enqueue_style('qmn_quiz_common_style', plugins_url('../../css/common.css', __FILE__));
|
236 |
+
wp_enqueue_style('dashicons');
|
237 |
+
wp_enqueue_script( 'jquery' );
|
238 |
+
wp_enqueue_script( 'math_jax', '//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML' );
|
239 |
$result_unique_id = $_GET['result_id'];
|
240 |
$query = $wpdb->prepare("SELECT result_id FROM {$wpdb->prefix}mlw_results WHERE unique_id = %s",$result_unique_id);
|
241 |
$result = $wpdb->get_row($query,ARRAY_A);
|
718 |
}
|
719 |
// Checks if a hint is entered.
|
720 |
if (!empty($question['hints'])) {
|
721 |
+
echo '<div class="qsm-hint qsm_hint mlw_qmn_hint_link qsm_tooltip">'.$options->hint_text . '<span class="qsm_tooltiptext">'.htmlspecialchars_decode($question['hints'], ENT_QUOTES).'</span></div>';
|
722 |
}
|
723 |
?>
|
724 |
</div>
|
778 |
echo "<textarea class='qsm-question-comment qsm-question-comment-large mlw_qmn_question_comment' id='mlwComment$question_id' name='mlwComment$question_id' placeholder='" . esc_attr(htmlspecialchars_decode($options->comment_field_text, ENT_QUOTES)) ."' onclick='qmnClearField(this)' ></textarea>";
|
779 |
}
|
780 |
// Checks if a hint is entered.
|
781 |
+
if (!empty($question['hints'])) {
|
782 |
+
echo '<div class="qsm-hint qsm_hint mlw_qmn_hint_link qsm_tooltip">'.$options->hint_text . '<span class="qsm_tooltiptext">'.htmlspecialchars_decode($question['hints'], ENT_QUOTES).'</span></div>';
|
783 |
}
|
784 |
?>
|
785 |
</div>
|
1243 |
'%d',
|
1244 |
'%s',
|
1245 |
'%d',
|
1246 |
+
'%f',
|
1247 |
'%d',
|
1248 |
'%d',
|
1249 |
'%d',
|
1439 |
}
|
1440 |
|
1441 |
// Send question to our grading function
|
1442 |
+
$results_array = apply_filters('qmn_results_array', $mlwQuizMasterNext->pluginHelper->display_review($question['question_type_new'], $question['question_id']));
|
1443 |
if( isset($results_array['question_type']) && $results_array['question_type'] == 'file_upload') {
|
1444 |
$results_array['user_text'] = '<a target="_blank" href="'.$results_array['user_text'].'">' . __('Click here to view', 'quiz-master-next') . '</a>';
|
1445 |
}
|
1540 |
}
|
1541 |
|
1542 |
// Send question to our grading function
|
1543 |
+
$results_array = apply_filters('qmn_results_array', $mlwQuizMasterNext->pluginHelper->display_review($question['question_type_new'], $question['question_id']));
|
1544 |
|
1545 |
+
|
1546 |
// If question was graded correctly.
|
1547 |
if (!isset($results_array["null_review"])) {
|
1548 |
$points_earned += $results_array["points"];
|
php/classes/class-qsm-contact-manager.php
CHANGED
@@ -132,7 +132,7 @@ class QSM_Contact_Manager {
|
|
132 |
}
|
133 |
?>
|
134 |
<span class='mlw_qmn_question qsm_question'><?php echo $fields[ $i ]['label']; ?></span>
|
135 |
-
<input <?php if($contact_disable_autofill){ echo "autocomplete='off'"; } ?> type='<?php echo $fields[ $i ]['use'] == 'phone' ? 'text' : 'text'; ?>' <?php if( $fields[ $i ]['use'] == 'phone' ){ ?> onkeydown="return event.keyCode !== 69" <?php } ?> class='<?php echo esc_attr( $class ); ?>' name='contact_field_<?php echo $i; ?>' value='<?php echo esc_attr( $value ); ?>' placeholder="<?php echo $fields[ $i ]['label']; ?>" />
|
136 |
<?php
|
137 |
break;
|
138 |
|
@@ -142,7 +142,7 @@ class QSM_Contact_Manager {
|
|
142 |
}
|
143 |
?>
|
144 |
<span class='mlw_qmn_question qsm_question'><?php echo $fields[ $i ]['label']; ?></span>
|
145 |
-
<input <?php if($contact_disable_autofill){ echo "autocomplete='off'"; } ?> type='text' class='mlwEmail <?php echo esc_attr( $class ); ?>' name='contact_field_<?php echo $i; ?>' value='<?php echo esc_attr( $value ); ?>' placeholder="<?php echo $fields[ $i ]['label']; ?>" />
|
146 |
<?php
|
147 |
break;
|
148 |
|
@@ -289,16 +289,22 @@ class QSM_Contact_Manager {
|
|
289 |
if ( 0 === $quiz_id ) {
|
290 |
return false;
|
291 |
}
|
292 |
-
|
|
|
|
|
|
|
|
|
|
|
293 |
$total_fields = count( $fields );
|
294 |
-
for ( $i = 0; $i < $total_fields; $i++ ) {
|
|
|
295 |
$fields[ $i ] = array(
|
296 |
-
'label' =>
|
297 |
'use' => sanitize_text_field( $fields[ $i ]['use'] ),
|
298 |
'type' => sanitize_text_field( $fields[ $i ]['type'] ),
|
299 |
'required' => sanitize_text_field( $fields[ $i ]['required'] ),
|
300 |
);
|
301 |
-
}
|
302 |
global $mlwQuizMasterNext;
|
303 |
$mlwQuizMasterNext->pluginHelper->prepare_quiz( intval( $quiz_id ) );
|
304 |
return $mlwQuizMasterNext->pluginHelper->update_quiz_setting( 'contact_form', serialize( $fields ) );
|
132 |
}
|
133 |
?>
|
134 |
<span class='mlw_qmn_question qsm_question'><?php echo $fields[ $i ]['label']; ?></span>
|
135 |
+
<input <?php if($contact_disable_autofill){ echo "autocomplete='off'"; } ?> type='<?php echo $fields[ $i ]['use'] == 'phone' ? 'text' : 'text'; ?>' <?php if( $fields[ $i ]['use'] == 'phone' ){ ?> onkeydown="return event.keyCode !== 69" <?php } ?> class='<?php echo esc_attr( $class ); ?>' name='contact_field_<?php echo $i; ?>' value='<?php echo esc_attr( $value ); ?>' placeholder="<?php echo strip_tags( $fields[ $i ]['label'] ); ?>" />
|
136 |
<?php
|
137 |
break;
|
138 |
|
142 |
}
|
143 |
?>
|
144 |
<span class='mlw_qmn_question qsm_question'><?php echo $fields[ $i ]['label']; ?></span>
|
145 |
+
<input <?php if($contact_disable_autofill){ echo "autocomplete='off'"; } ?> type='text' class='mlwEmail <?php echo esc_attr( $class ); ?>' name='contact_field_<?php echo $i; ?>' value='<?php echo esc_attr( $value ); ?>' placeholder="<?php echo strip_tags( $fields[ $i ]['label'] ); ?>" />
|
146 |
<?php
|
147 |
break;
|
148 |
|
289 |
if ( 0 === $quiz_id ) {
|
290 |
return false;
|
291 |
}
|
292 |
+
//Allow br and anchor tag
|
293 |
+
$allowed_html = array(
|
294 |
+
"a" => array(
|
295 |
+
"href" => array(),
|
296 |
+
)
|
297 |
+
);
|
298 |
$total_fields = count( $fields );
|
299 |
+
for ( $i = 0; $i < $total_fields; $i++ ) {
|
300 |
+
$label = wp_kses( stripslashes( $fields[ $i ]['label'] ), $allowed_html );
|
301 |
$fields[ $i ] = array(
|
302 |
+
'label' => $label,
|
303 |
'use' => sanitize_text_field( $fields[ $i ]['use'] ),
|
304 |
'type' => sanitize_text_field( $fields[ $i ]['type'] ),
|
305 |
'required' => sanitize_text_field( $fields[ $i ]['required'] ),
|
306 |
);
|
307 |
+
}
|
308 |
global $mlwQuizMasterNext;
|
309 |
$mlwQuizMasterNext->pluginHelper->prepare_quiz( intval( $quiz_id ) );
|
310 |
return $mlwQuizMasterNext->pluginHelper->update_quiz_setting( 'contact_form', serialize( $fields ) );
|
php/classes/class-qsm-install.php
CHANGED
@@ -1205,7 +1205,7 @@ class QSM_Install {
|
|
1205 |
message_after TEXT NOT NULL,
|
1206 |
message_comment TEXT NOT NULL,
|
1207 |
message_end_template TEXT NOT NULL,
|
1208 |
-
user_email_template
|
1209 |
admin_email_template TEXT NOT NULL,
|
1210 |
submit_button_text TEXT NOT NULL,
|
1211 |
name_field_text TEXT NOT NULL,
|
@@ -1304,7 +1304,7 @@ class QSM_Install {
|
|
1304 |
quiz_id INT NOT NULL,
|
1305 |
quiz_name TEXT NOT NULL,
|
1306 |
quiz_system INT NOT NULL,
|
1307 |
-
point_score
|
1308 |
correct_score INT NOT NULL,
|
1309 |
correct INT NOT NULL,
|
1310 |
total INT NOT NULL,
|
@@ -1326,7 +1326,6 @@ class QSM_Install {
|
|
1326 |
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
1327 |
dbDelta( $sql );
|
1328 |
}
|
1329 |
-
|
1330 |
if( $wpdb->get_var( "SHOW TABLES LIKE '$audit_table_name'" ) != $audit_table_name ) {
|
1331 |
$sql = "CREATE TABLE $audit_table_name (
|
1332 |
trail_id mediumint(9) NOT NULL AUTO_INCREMENT,
|
@@ -1352,7 +1351,7 @@ class QSM_Install {
|
|
1352 |
*/
|
1353 |
public function update() {
|
1354 |
global $mlwQuizMasterNext;
|
1355 |
-
$data = $mlwQuizMasterNext->version;
|
1356 |
if ( ! get_option( 'qmn_original_version' ) ) {
|
1357 |
add_option( 'qmn_original_version', $data );
|
1358 |
}
|
@@ -1718,13 +1717,22 @@ class QSM_Install {
|
|
1718 |
$update_sql = "UPDATE ".$table_name." SET question_type_new=question_type";
|
1719 |
$results = $wpdb->query( $update_sql );
|
1720 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1721 |
|
1722 |
//Update 2.6.1
|
1723 |
$results = $wpdb->query( "ALTER TABLE ".$wpdb->prefix . "mlw_qm_audit_trail CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;" );
|
1724 |
$results = $wpdb->query( "ALTER TABLE ".$wpdb->prefix . "mlw_questions CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci" );
|
1725 |
$results = $wpdb->query( "ALTER TABLE ".$wpdb->prefix . "mlw_quizzes CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci" );
|
1726 |
$results = $wpdb->query( "ALTER TABLE ".$wpdb->prefix . "mlw_results CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci" );
|
1727 |
-
|
|
|
1728 |
|
1729 |
global $wpdb;
|
1730 |
$table_name = $wpdb->prefix . "mlw_results";
|
@@ -1744,7 +1752,11 @@ class QSM_Install {
|
|
1744 |
$update_sql = "UPDATE $table_name SET user_ip='Unknown'";
|
1745 |
$results = $wpdb->query( $update_sql );
|
1746 |
}
|
1747 |
-
|
|
|
|
|
|
|
|
|
1748 |
// Update 5.0.0
|
1749 |
$settings = (array) get_option( 'qmn-settings', array() );
|
1750 |
if ( ! isset( $settings['results_details_template'] ) ) {
|
@@ -1768,6 +1780,9 @@ class QSM_Install {
|
|
1768 |
if ( ! get_option('mlw_advert_shows') ) {
|
1769 |
add_option( 'mlw_advert_shows' , 'true' );
|
1770 |
}
|
|
|
|
|
|
|
1771 |
}
|
1772 |
|
1773 |
/**
|
@@ -1799,6 +1814,8 @@ class QSM_Install {
|
|
1799 |
return (array) $links;
|
1800 |
|
1801 |
}
|
|
|
|
|
1802 |
}
|
1803 |
|
1804 |
$qsm_install = new QSM_Install();
|
1205 |
message_after TEXT NOT NULL,
|
1206 |
message_comment TEXT NOT NULL,
|
1207 |
message_end_template TEXT NOT NULL,
|
1208 |
+
user_email_template LONGTEXT NOT NULL,
|
1209 |
admin_email_template TEXT NOT NULL,
|
1210 |
submit_button_text TEXT NOT NULL,
|
1211 |
name_field_text TEXT NOT NULL,
|
1304 |
quiz_id INT NOT NULL,
|
1305 |
quiz_name TEXT NOT NULL,
|
1306 |
quiz_system INT NOT NULL,
|
1307 |
+
point_score FLOAT NOT NULL,
|
1308 |
correct_score INT NOT NULL,
|
1309 |
correct INT NOT NULL,
|
1310 |
total INT NOT NULL,
|
1326 |
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
1327 |
dbDelta( $sql );
|
1328 |
}
|
|
|
1329 |
if( $wpdb->get_var( "SHOW TABLES LIKE '$audit_table_name'" ) != $audit_table_name ) {
|
1330 |
$sql = "CREATE TABLE $audit_table_name (
|
1331 |
trail_id mediumint(9) NOT NULL AUTO_INCREMENT,
|
1351 |
*/
|
1352 |
public function update() {
|
1353 |
global $mlwQuizMasterNext;
|
1354 |
+
$data = $mlwQuizMasterNext->version ;
|
1355 |
if ( ! get_option( 'qmn_original_version' ) ) {
|
1356 |
add_option( 'qmn_original_version', $data );
|
1357 |
}
|
1717 |
$update_sql = "UPDATE ".$table_name." SET question_type_new=question_type";
|
1718 |
$results = $wpdb->query( $update_sql );
|
1719 |
}
|
1720 |
+
|
1721 |
+
//Update 7.1.11
|
1722 |
+
$user_email_template_data= $wpdb->get_row("SHOW COLUMNS FROM ".$wpdb->prefix."mlw_quizzes LIKE 'user_email_template'");
|
1723 |
+
if($user_email_template_data->Type == "text")
|
1724 |
+
{
|
1725 |
+
$sql = "ALTER TABLE ".$wpdb->prefix."mlw_quizzes CHANGE user_email_template user_email_template LONGTEXT NOT NULL";
|
1726 |
+
$results = $wpdb->query( $sql );
|
1727 |
+
}
|
1728 |
|
1729 |
//Update 2.6.1
|
1730 |
$results = $wpdb->query( "ALTER TABLE ".$wpdb->prefix . "mlw_qm_audit_trail CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;" );
|
1731 |
$results = $wpdb->query( "ALTER TABLE ".$wpdb->prefix . "mlw_questions CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci" );
|
1732 |
$results = $wpdb->query( "ALTER TABLE ".$wpdb->prefix . "mlw_quizzes CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci" );
|
1733 |
$results = $wpdb->query( "ALTER TABLE ".$wpdb->prefix . "mlw_results CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci" );
|
1734 |
+
|
1735 |
+
|
1736 |
|
1737 |
global $wpdb;
|
1738 |
$table_name = $wpdb->prefix . "mlw_results";
|
1752 |
$update_sql = "UPDATE $table_name SET user_ip='Unknown'";
|
1753 |
$results = $wpdb->query( $update_sql );
|
1754 |
}
|
1755 |
+
//Update 7.1.11
|
1756 |
+
if($wpdb->get_var("select data_type from information_schema.columns where table_name = ".$wpdb->prefix . "mlw_results and column_name = 'point_score'") != 'FLOAT' )
|
1757 |
+
{
|
1758 |
+
$results = $wpdb->query( "ALTER TABLE ".$wpdb->prefix . "mlw_results MODIFY point_score FLOAT NOT NULL;" );
|
1759 |
+
}
|
1760 |
// Update 5.0.0
|
1761 |
$settings = (array) get_option( 'qmn-settings', array() );
|
1762 |
if ( ! isset( $settings['results_details_template'] ) ) {
|
1780 |
if ( ! get_option('mlw_advert_shows') ) {
|
1781 |
add_option( 'mlw_advert_shows' , 'true' );
|
1782 |
}
|
1783 |
+
|
1784 |
+
|
1785 |
+
|
1786 |
}
|
1787 |
|
1788 |
/**
|
1814 |
return (array) $links;
|
1815 |
|
1816 |
}
|
1817 |
+
|
1818 |
+
|
1819 |
}
|
1820 |
|
1821 |
$qsm_install = new QSM_Install();
|
php/classes/class-qsm-questions.php
CHANGED
@@ -263,7 +263,7 @@ class QSM_Questions {
|
|
263 |
'quiz_id' => intval( $data['quiz_id'] ),
|
264 |
'question_name' => trim( preg_replace( '/\s+/', ' ', htmlspecialchars( wp_kses_post( $data['name'] ), ENT_QUOTES ) ) ),
|
265 |
'answer_array' => serialize( $answers ),
|
266 |
-
'question_answer_info' =>
|
267 |
'comments' => htmlspecialchars( $data['comments'], ENT_QUOTES ),
|
268 |
'hints' => htmlspecialchars( $data['hint'], ENT_QUOTES ),
|
269 |
'question_order' => intval( $data['order'] ),
|
263 |
'quiz_id' => intval( $data['quiz_id'] ),
|
264 |
'question_name' => trim( preg_replace( '/\s+/', ' ', htmlspecialchars( wp_kses_post( $data['name'] ), ENT_QUOTES ) ) ),
|
265 |
'answer_array' => serialize( $answers ),
|
266 |
+
'question_answer_info' => $data['answer_info'],
|
267 |
'comments' => htmlspecialchars( $data['comments'], ENT_QUOTES ),
|
268 |
'hints' => htmlspecialchars( $data['hint'], ENT_QUOTES ),
|
269 |
'question_order' => intval( $data['order'] ),
|
php/classes/class-qsm-settings.php
CHANGED
@@ -182,8 +182,7 @@ class QSM_Quiz_Settings {
|
|
182 |
* @param mixed $value The value that needs to be stored for the setting.
|
183 |
* @return bool True if successful or false if fails
|
184 |
*/
|
185 |
-
public function update_setting( $setting, $value ) {
|
186 |
-
|
187 |
global $mlwQuizMasterNext;
|
188 |
|
189 |
// Return if empty.
|
182 |
* @param mixed $value The value that needs to be stored for the setting.
|
183 |
* @return bool True if successful or false if fails
|
184 |
*/
|
185 |
+
public function update_setting( $setting, $value ) {
|
|
|
186 |
global $mlwQuizMasterNext;
|
187 |
|
188 |
// Return if empty.
|
php/question-types.php
CHANGED
@@ -363,7 +363,15 @@ function qmn_horizontal_multiple_choice_review($id, $question, $answers) {
|
|
363 |
$correct_text[] = stripslashes(htmlspecialchars_decode($answer[0], ENT_QUOTES));
|
364 |
}
|
365 |
} else {
|
366 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
367 |
$return_array["points"] = $answer[1];
|
368 |
$return_array["user_text"] = $answer[0];
|
369 |
if ($answer[2] == 1) {
|
363 |
$correct_text[] = stripslashes(htmlspecialchars_decode($answer[0], ENT_QUOTES));
|
364 |
}
|
365 |
} else {
|
366 |
+
$mlw_user_answer = '';
|
367 |
+
if (isset($_POST["question" . $id])) {
|
368 |
+
$mlw_user_answer = $_POST["question" . $id];
|
369 |
+
$mlw_user_answer = trim(htmlspecialchars_decode($mlw_user_answer, ENT_QUOTES));
|
370 |
+
$mlw_user_answer = str_replace('\\', "", $mlw_user_answer);
|
371 |
+
}
|
372 |
+
$single_answer = trim(htmlspecialchars_decode($answer[0], ENT_QUOTES));
|
373 |
+
$single_answer = str_replace('\\', "", $single_answer);
|
374 |
+
if ($mlw_user_answer == $single_answer) {
|
375 |
$return_array["points"] = $answer[1];
|
376 |
$return_array["user_text"] = $answer[0];
|
377 |
if ($answer[2] == 1) {
|
php/rest-api.php
CHANGED
@@ -423,7 +423,7 @@ function qsm_rest_get_questions( WP_REST_Request $request ) {
|
|
423 |
'quizID' => $question['quiz_id'],
|
424 |
'type' => $question['question_type_new'],
|
425 |
'name' => $question['question_name'],
|
426 |
-
'answerInfo' => $question['question_answer_info'],
|
427 |
'comments' => $question['comments'],
|
428 |
'hint' => $question['hints'],
|
429 |
'category' => $question['category'],
|
423 |
'quizID' => $question['quiz_id'],
|
424 |
'type' => $question['question_type_new'],
|
425 |
'name' => $question['question_name'],
|
426 |
+
'answerInfo' => htmlspecialchars_decode( $question['question_answer_info'], ENT_QUOTES ),
|
427 |
'comments' => $question['comments'],
|
428 |
'hint' => $question['hints'],
|
429 |
'category' => $question['category'],
|
php/template-variables.php
CHANGED
@@ -62,6 +62,8 @@ add_filter('mlw_qmn_template_variable_results_page', 'qsm_variable_result_id',10
|
|
62 |
add_filter('mlw_qmn_template_variable_results_page', 'qsm_variable_single_question_answer',20,2);
|
63 |
add_filter('mlw_qmn_template_variable_results_page', 'qsm_variable_total_possible_points',10,2);
|
64 |
add_filter('mlw_qmn_template_variable_results_page', 'qsm_variable_total_attempted_questions',10,2);
|
|
|
|
|
65 |
add_filter('qmn_end_results', 'qsm_variable_poll_result',10,3);
|
66 |
|
67 |
add_filter('mlw_qmn_template_variable_quiz_page', 'mlw_qmn_variable_quiz_name',10,2);
|
@@ -188,7 +190,7 @@ function qsm_variable_poll_result($content, $mlw_quiz_array, $variables){
|
|
188 |
$vals = array_count_values($answer_array);
|
189 |
$str = '';
|
190 |
if($vals){
|
191 |
-
$str .= '<h4>Poll Result:</h4>';
|
192 |
foreach ($vals as $answer_str => $answer_count) {
|
193 |
if($answer_str != '' && qsm_find_key_from_array($answer_str, $ser_answer_arry_change)){
|
194 |
$percentage = number_format($answer_count / $total_result * 100,2) ;
|
@@ -231,7 +233,7 @@ function mlw_qmn_variable_social_share($content, $mlw_quiz_array) {
|
|
231 |
global $wpdb, $mlwQuizMasterNext;
|
232 |
$page_link = qsm_get_post_id_from_quiz_id($mlw_quiz_array['quiz_id']);
|
233 |
if (false !== strpos($content, '%FACEBOOK_SHARE%') || false !== strpos($content, '%TWITTER_SHARE%')) {
|
234 |
-
wp_enqueue_script( 'qmn_quiz_social_share', plugins_url( '../../js/qmn_social_share.js' , __FILE__ ) );
|
235 |
}
|
236 |
if (false !== strpos($content, '%FACEBOOK_SHARE%')) {
|
237 |
$settings = (array) get_option('qmn-settings');
|
@@ -363,6 +365,27 @@ function mlw_qmn_variable_current_user($content, $mlw_quiz_array) {
|
|
363 |
$content = str_replace("%USER_NAME%", $current_user->display_name, $content);
|
364 |
return $content;
|
365 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
366 |
|
367 |
function mlw_qmn_variable_user_business($content, $mlw_quiz_array) {
|
368 |
$content = str_replace("%USER_BUSINESS%", (isset($mlw_quiz_array["user_business"]) ? $mlw_quiz_array["user_business"] : ''), $content);
|
@@ -502,10 +525,10 @@ function mlw_qmn_variable_date($content, $results) {
|
|
502 |
* @param array $results The array of all the results from user taking the quiz
|
503 |
* @return string Returns the contents for the results page
|
504 |
*/
|
505 |
-
function mlw_qmn_variable_date_taken($content, $
|
506 |
$date = '';
|
507 |
if (isset($mlw_quiz_array["time_taken"])) {
|
508 |
-
$date = date_i18n(get_option('date_format'), strtotime($
|
509 |
}
|
510 |
$content = str_replace("%DATE_TAKEN%", $date, $content);
|
511 |
return $content;
|
62 |
add_filter('mlw_qmn_template_variable_results_page', 'qsm_variable_single_question_answer',20,2);
|
63 |
add_filter('mlw_qmn_template_variable_results_page', 'qsm_variable_total_possible_points',10,2);
|
64 |
add_filter('mlw_qmn_template_variable_results_page', 'qsm_variable_total_attempted_questions',10,2);
|
65 |
+
add_filter('mlw_qmn_template_variable_results_page', 'mlw_qmn_variable_user_full_name',10,2);
|
66 |
+
|
67 |
add_filter('qmn_end_results', 'qsm_variable_poll_result',10,3);
|
68 |
|
69 |
add_filter('mlw_qmn_template_variable_quiz_page', 'mlw_qmn_variable_quiz_name',10,2);
|
190 |
$vals = array_count_values($answer_array);
|
191 |
$str = '';
|
192 |
if($vals){
|
193 |
+
$str .= '<h4>' . __('Poll Result', 'quiz-master-next') . ':</h4>';
|
194 |
foreach ($vals as $answer_str => $answer_count) {
|
195 |
if($answer_str != '' && qsm_find_key_from_array($answer_str, $ser_answer_arry_change)){
|
196 |
$percentage = number_format($answer_count / $total_result * 100,2) ;
|
233 |
global $wpdb, $mlwQuizMasterNext;
|
234 |
$page_link = qsm_get_post_id_from_quiz_id($mlw_quiz_array['quiz_id']);
|
235 |
if (false !== strpos($content, '%FACEBOOK_SHARE%') || false !== strpos($content, '%TWITTER_SHARE%')) {
|
236 |
+
//wp_enqueue_script( 'qmn_quiz_social_share', plugins_url( '../../js/qmn_social_share.js' , __FILE__ ) );
|
237 |
}
|
238 |
if (false !== strpos($content, '%FACEBOOK_SHARE%')) {
|
239 |
$settings = (array) get_option('qmn-settings');
|
365 |
$content = str_replace("%USER_NAME%", $current_user->display_name, $content);
|
366 |
return $content;
|
367 |
}
|
368 |
+
/**
|
369 |
+
* Returns full name of user
|
370 |
+
*
|
371 |
+
* @since 7.1.11
|
372 |
+
* @param string $content
|
373 |
+
* @param array $mlw_quiz_array
|
374 |
+
* @return string
|
375 |
+
*/
|
376 |
+
function mlw_qmn_variable_user_full_name($content, $mlw_quiz_array) {
|
377 |
+
if (false !== strpos($content, '%FULL_NAME%')) {
|
378 |
+
$current_user = wp_get_current_user();
|
379 |
+
$firstname = get_user_meta( $current_user->ID, 'first_name', true );
|
380 |
+
$lastname = get_user_meta( $current_user->ID, 'last_name', true );
|
381 |
+
if(!empty($firstname) && !empty($lastname))
|
382 |
+
$full_name = $firstname." ".$lastname;
|
383 |
+
else
|
384 |
+
$full_name = $current_user->display_name;
|
385 |
+
$content = str_replace("%FULL_NAME%", (isset($full_name) ? $full_name : ''), $content);
|
386 |
+
}
|
387 |
+
return $content;
|
388 |
+
}
|
389 |
|
390 |
function mlw_qmn_variable_user_business($content, $mlw_quiz_array) {
|
391 |
$content = str_replace("%USER_BUSINESS%", (isset($mlw_quiz_array["user_business"]) ? $mlw_quiz_array["user_business"] : ''), $content);
|
525 |
* @param array $results The array of all the results from user taking the quiz
|
526 |
* @return string Returns the contents for the results page
|
527 |
*/
|
528 |
+
function mlw_qmn_variable_date_taken($content, $mlw_quiz_array) {
|
529 |
$date = '';
|
530 |
if (isset($mlw_quiz_array["time_taken"])) {
|
531 |
+
$date = date_i18n(get_option('date_format'), strtotime($mlw_quiz_array["time_taken"]));
|
532 |
}
|
533 |
$content = str_replace("%DATE_TAKEN%", $date, $content);
|
534 |
return $content;
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: quiz, survey, lead, test, score, exam, questionnaire, question,wordpress q
|
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 5.6
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 7.1.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -135,6 +135,19 @@ This is usually a theme conflict. You can [checkout out our common conflict solu
|
|
135 |
|
136 |
== Changelog ==
|
137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
= 7.1.10 (December 29, 2020) =
|
139 |
* Bug: Fixed the inconsistency between no of participants and available results.
|
140 |
* Bug: Fixed incorrect pagination in results page.
|
4 |
Requires at least: 4.9
|
5 |
Tested up to: 5.6
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 7.1.11
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
135 |
|
136 |
== Changelog ==
|
137 |
|
138 |
+
= 7.1.11 (January 27, 2020) =
|
139 |
+
* Bug: Fixed jquery issue while editing the result page.
|
140 |
+
* Bug: Added string translation for %POLL_RESULTS_X% variable.
|
141 |
+
* Bug: Fixed incorrect score while using point value with decimal.
|
142 |
+
* Enhancement: Added link support in contact field label.
|
143 |
+
* Enhancement: Added HTML support in email tab.
|
144 |
+
* Enhancement: Added option to add link in Hint field.
|
145 |
+
* Enhancement: Added support for HTML tags in Correct answer info field.
|
146 |
+
* Enhancement: Added option to view roadmap.
|
147 |
+
* Enhancement: Added option to delete questions from database.
|
148 |
+
* Enhancement: Changed the quiz status by default to Draft.
|
149 |
+
|
150 |
+
|
151 |
= 7.1.10 (December 29, 2020) =
|
152 |
* Bug: Fixed the inconsistency between no of participants and available results.
|
153 |
* Bug: Fixed incorrect pagination in results page.
|