Tutor LMS – eLearning and online course solution - Version 1.2.1

Version Description

  • 23 April, 2019 =

  • Added: email field type at withdrawals methods form generator

  • Added: addon lists added to regular version when the pro is not exists

  • Fixed: Some design issue in quiz builder

  • Fixed: Paypal E-Mail field name, physical address field name at e-check method

Download this release

Release Info

Developer themeum
Plugin Icon wp plugin Tutor LMS – eLearning and online course solution
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2.0 to 1.2.1

assets/addons/tutor-certificate/thumbnail.svg ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 800 800" style="enable-background:new 0 0 800 800;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#4088DA;}
7
+ .st1{fill:#263357;}
8
+ .st2{fill:#25CE9E;}
9
+ .st3{opacity:0.2;fill:#303030;}
10
+ .st4{opacity:0.15;fill:#262E45;}
11
+ .st5{fill:#C9F2FF;}
12
+ .st6{opacity:0.2;fill:#262E45;}
13
+ .st7{fill:#EBF2FF;}
14
+ .st8{fill:#FABF4D;}
15
+ </style>
16
+ <g>
17
+ <g>
18
+ <polygon class="st0" points="779.6,489.9 715.7,489.9 737,387.7 758.3,387.7 "/>
19
+ <path class="st1" d="M779.6,501.4h-63.9c-3.5,0-6.7-1.6-8.9-4.2c-2.2-2.7-3-6.2-2.3-9.6l21.3-102.2c1.1-5.3,5.8-9.2,11.3-9.2h21.3
20
+ c5.5,0,10.1,3.8,11.3,9.2l21.3,102.2c0.7,3.4-0.2,6.9-2.3,9.6C786.3,499.8,783,501.4,779.6,501.4z M729.9,478.4h35.6l-16.5-79.2
21
+ h-2.6L729.9,478.4z"/>
22
+ </g>
23
+ <g>
24
+ <polygon class="st2" points="436.5,760 387.8,724.5 334.3,760 334.3,628.6 436.5,628.6 "/>
25
+ <path class="st1" d="M436.5,771.5c-2.4,0-4.8-0.7-6.8-2.2l-42.3-30.8l-46.8,31.1c-3.5,2.3-8.1,2.6-11.8,0.5
26
+ c-3.7-2-6.1-5.9-6.1-10.1V628.6c0-6.4,5.2-11.5,11.5-11.5h102.2c6.3,0,11.5,5.2,11.5,11.5V760c0,4.3-2.4,8.3-6.3,10.3
27
+ C440.1,771.1,438.3,771.5,436.5,771.5z M345.8,640.1v98.4l35.6-23.6c4-2.7,9.2-2.5,13.1,0.3l30.5,22.2v-97.3H345.8z"/>
28
+ </g>
29
+ <g>
30
+ <polygon class="st0" points="275.8,402.3 20.4,235.3 385.8,40 747.6,231.8 470.9,402.3 "/>
31
+ <path class="st1" d="M470.9,413.8H275.8c-2.2,0-4.4-0.7-6.3-1.9l-255.4-167c-3.4-2.2-5.4-6.1-5.2-10.1c0.2-4.1,2.5-7.7,6.1-9.6
32
+ L380.4,29.9c3.4-1.8,7.4-1.8,10.8,0L753,221.6c3.6,1.9,6,5.7,6.1,9.8c0.1,4.1-1.9,8-5.5,10.2L477,412.1
33
+ C475.2,413.2,473.1,413.8,470.9,413.8z M279.3,390.8h188.4l256.8-158.3L385.8,53L43,236.3L279.3,390.8z"/>
34
+ </g>
35
+ <path class="st3" d="M725.6,232.5L385.8,52.4l-20.3,10.9l299.7,158.8c3.5,1.8,5.7,5.4,5.8,9.3c0.1,3.9-1.8,7.6-5.2,9.7L422,391.4
36
+ h45.9L725.6,232.5z"/>
37
+ <g>
38
+ <path class="st0" d="M586.6,395.6c-10.6,14.2-30.6,14-30.6,14H194.3c0,0-22.1,1.4-32.7-10.2c-7.7-8.3-9.7-33.2-9.7-33.2V249.2
39
+ c0,0,105.6-39,233.3-39c101.7,0,212,39,212,39v117.1C597.1,366.2,596.7,382.2,586.6,395.6z"/>
40
+ <path class="st1" d="M192,421.2c-7.9,0-27.4-1.4-39-13.9c-9.6-10.4-12.1-33.3-12.7-40.1c0-0.3,0-0.6,0-0.9V249.2
41
+ c0-4.8,3-9.1,7.5-10.8c4.4-1.6,109-39.7,237.3-39.7c102.5,0,211.2,38.1,215.8,39.7c4.6,1.6,7.7,6,7.7,10.8v117.1
42
+ c-0.1,2.3-0.9,20.4-12.7,36.3c-13.6,18.1-37.1,18.6-39.7,18.6H194.5C194.3,421.1,193.4,421.2,192,421.2z M163.3,365.7
43
+ c1,10.9,4.1,23.2,6.6,25.9c4.4,4.8,14.7,6.5,22.1,6.5c0.9,0,1.4,0,1.5,0l362.5,0c0.2,0,14.4-0.2,21.4-9.4
44
+ c7.6-10.1,8.1-22.7,8.2-22.8l0-108.4c-26.5-8.6-117.1-35.8-200.5-35.8c-104.9,0-195.7,27.1-221.8,35.7V365.7z"/>
45
+ </g>
46
+ <path class="st4" d="M532.1,395.7h27.6c-0.2,0,12.8,1.4,20-8.2c7.3-9.7,5.4-21,5.4-21.1c0-0.3-1.1,0.1-1.1-0.2V257
47
+ c-7.7-2.9-21.9-7.9-42.5-13.3c0.9,1.6,4.2,3.5,4.2,5.4v117.1C545.7,367.2,541.8,380.4,532.1,395.7z"/>
48
+ <g>
49
+ <path class="st5" d="M622.6,635.9H150.5c-44.4,0-64.4-32.5-64.4-76.9v-2.4c0-44.4,20-81.3,64.4-81.3h464.8L622.6,635.9z"/>
50
+ <path class="st1" d="M622.6,647.4H150.5c-47.5,0-75.9-33.1-75.9-88.4v-2.4c0-57.2,29.1-92.8,75.9-92.8h464.8v23H150.5
51
+ c-49.1,0-52.9,53.4-52.9,69.8v2.4c0,24.4,6.9,65.4,52.9,65.4h472.1V647.4z"/>
52
+ </g>
53
+ <path class="st6" d="M91.6,551.7c0,1.3,1.7,3.5,1.7,4.9v2.4c0,24.6,3.4,66.8,49.9,66.8h460.7l-2.3-53.7H143.2
54
+ C121,572.1,104.5,565.6,91.6,551.7z"/>
55
+ <path class="st7" d="M673.1,557.5c0,40-24.2,72.4-54.1,72.4c-29.9,0-54.1-32.4-54.1-72.4c0-40,24.2-72.5,54.1-72.5
56
+ C648.9,485.1,673.1,517.5,673.1,557.5z"/>
57
+ <path class="st1" d="M617.6,649.7c-40.3,0-73-41.8-73-93.1c0-51.3,32.8-93.1,73-93.1c6.4,0,11.5,5.2,11.5,11.5
58
+ c0,6.3-5.2,11.5-11.5,11.5c-27.6,0-50,31.4-50,70.1c0,38.6,22.4,70.1,50,70.1c19.7,0,37.7-16.4,45.8-41.8l0.3-1
59
+ c5.2-16.1,5.8-30.4,1.7-42.5c-4.2-12.4-13.4-21.4-23.4-23.1c-7.3-1.2-13.9,1.8-19.1,8.6c-11.7,15.4-11.7,37-4.8,49.1
60
+ c0.7,1.3,3.3,5.4,6.1,5.7c1.5-0.8,4.8-3.3,6.2-7c1.2-3.3,0.5-6.9-1.9-11.2c-3.2-5.5-1.3-12.5,4.2-15.7c5.5-3.2,12.5-1.3,15.7,4.2
61
+ c6.6,11.5,7.4,23.7,2,34.3c-5.5,10.9-16,17.6-23,18.3c-11.6,1.3-22.3-5-29.2-17.3c-10.4-18.3-11.6-50.6,6.5-74.4
62
+ c10.4-13.6,25.3-19.9,41.1-17.4c18.6,3,34.5,17.8,41.4,38.4c5.7,16.9,5.2,36.1-1.6,57l-0.3,0.8C674.1,627,647.5,649.7,617.6,649.7z
63
+ "/>
64
+ <g>
65
+ <path class="st2" d="M417.7,635.9H304.2c0,0-19.5-30.6-19.5-76.7c0-40.8,19.5-83.8,19.5-83.8h113.5c0,0-17.7,41.3-17.7,78.5
66
+ C400,601.7,417.7,635.9,417.7,635.9z"/>
67
+ <path class="st1" d="M417.7,647.4H297.9l-3.4-5.3c-0.9-1.4-21.3-34-21.3-82.9c0-42.8,19.7-86.7,20.5-88.6l3.1-6.8h138.4l-6.9,16
68
+ c-0.2,0.4-16.8,39.6-16.8,74c0,44.3,16.3,76.5,16.5,76.8l8.6,16.8L417.7,647.4z M311.1,624.4h89.5c-5.4-15.4-12-40.4-12-70.6
69
+ c0-24.8,7.2-50.8,12.7-67h-89.2c-5.2,13.2-15.7,43.7-15.7,72.3C296.2,590.5,306,614.3,311.1,624.4z"/>
70
+ </g>
71
+ <rect x="731.6" y="230.8" class="st1" width="23" height="131.4"/>
72
+ <g>
73
+ <path class="st0" d="M766.6,378.1c0,11.7-9.5,21.3-21.3,21.3s-21.3-9.5-21.3-21.3c0-11.8,9.5-21.3,21.3-21.3
74
+ S766.6,366.3,766.6,378.1z"/>
75
+ <path class="st1" d="M745.3,410.8c-18.1,0-32.8-14.7-32.8-32.8c0-18.1,14.7-32.8,32.8-32.8c18.1,0,32.8,14.7,32.8,32.8
76
+ C778.1,396.1,763.4,410.8,745.3,410.8z M745.3,368.3c-5.4,0-9.8,4.4-9.8,9.8c0,5.4,4.4,9.8,9.8,9.8c5.4,0,9.8-4.4,9.8-9.8
77
+ C755.1,372.7,750.7,368.3,745.3,368.3z"/>
78
+ </g>
79
+ <g>
80
+ <path class="st1" d="M158.8,292.6c-5,0-9.6-3.2-11-8.3c-1.8-6.1,1.7-12.5,7.8-14.3c5-1.5,123.8-36,231-28.8
81
+ c6.3,0.4,11.1,5.9,10.7,12.2c-0.4,6.3-6,11-12.2,10.7c-103.2-6.9-221.8,27.6-223,27.9C160.9,292.4,159.9,292.6,158.8,292.6z"/>
82
+ </g>
83
+ <path class="st1" d="M290.8,141.4c-4.1,0-8-2.2-10.1-6c-3-5.6-1-12.6,4.6-15.6l78-42.6c5.6-3,12.6-1,15.6,4.6
84
+ c3,5.6,1,12.6-4.6,15.6l-78,42.6C294.5,140.9,292.7,141.4,290.8,141.4z"/>
85
+ <path class="st1" d="M238.8,169.7c-4.1,0-8.1-2.2-10.2-6.2c-3-5.6-0.8-12.6,4.8-15.5l23.6-12.4c5.6-3,12.6-0.8,15.5,4.8
86
+ c3,5.6,0.8,12.6-4.8,15.5l-23.6,12.4C242.4,169.3,240.6,169.7,238.8,169.7z"/>
87
+ <path class="st1" d="M246.3,529.1c-0.3,0-0.6,0-0.9,0c-6.3-0.5-11.1-6-10.6-12.3c1.3-17,11.7-39.4,12.9-41.9
88
+ c2.7-5.7,9.6-8.2,15.3-5.5c5.7,2.7,8.2,9.6,5.5,15.3c-2.7,5.7-9.9,23-10.8,33.8C257.3,524.5,252.2,529.1,246.3,529.1z"/>
89
+ <path class="st1" d="M374,523.2c-0.3,0-0.6,0-0.9,0c-6.3-0.5-11.1-6-10.6-12.3c1.3-17.4,9.1-33.2,9.5-33.8c2.8-5.7,9.7-8,15.4-5.1
90
+ c5.7,2.8,8,9.7,5.2,15.4c-0.2,0.4-6.1,12.6-7.1,25.3C385,518.6,379.9,523.2,374,523.2z"/>
91
+ <path class="st1" d="M331.4,523.2c-0.3,0-0.6,0-0.9,0c-6.3-0.5-11.1-6-10.6-12.4c1.3-17.4,9.1-33.2,9.5-33.8
92
+ c2.8-5.7,9.8-8,15.4-5.2c5.7,2.8,8,9.7,5.2,15.4l0,0c-0.1,0.1-6.1,12.5-7.1,25.3C342.4,518.6,337.4,523.2,331.4,523.2z"/>
93
+ <path class="st1" d="M363.5,680.2c-6.4,0-11.5-5.2-11.5-11.5v-21.9c0-6.3,5.2-11.5,11.5-11.5c6.4,0,11.5,5.2,11.5,11.5v21.9
94
+ C375,675.1,369.9,680.2,363.5,680.2z"/>
95
+ <path class="st1" d="M400,665.6c-6.3,0-11.5-5.2-11.5-11.5v-14.6c0-6.4,5.2-11.5,11.5-11.5c6.4,0,11.5,5.2,11.5,11.5v14.6
96
+ C411.5,660.5,406.3,665.6,400,665.6z"/>
97
+ <g>
98
+ <path class="st8" d="M598.6,394.6c0,19.6-96.9,35.5-216.4,35.5c-119.5,0-216.4-15.9-216.4-35.5c0-19.6,96.9-35.5,216.4-35.5
99
+ C501.8,359.1,598.6,375,598.6,394.6z"/>
100
+ <path class="st1" d="M382.3,441.6c-38.1,0-227.9-2.3-227.9-47c0-44.7,189.8-47,227.9-47s227.9,2.3,227.9,47
101
+ C610.2,439.3,420.3,441.6,382.3,441.6z M179.8,394.6c17.3,10.6,92.3,24,202.5,24c110.1,0,185.1-13.4,202.5-24
102
+ c-17.3-10.6-92.3-24-202.5-24C272.1,370.6,197.1,384,179.8,394.6z"/>
103
+ </g>
104
+ </g>
105
+ </svg>
assets/addons/tutor-course-attachments/thumbnail.svg ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 800 800" style="enable-background:new 0 0 800 800;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#25CE9E;}
7
+ .st1{fill:#263357;}
8
+ .st2{fill:#2EB595;}
9
+ .st3{fill:#FABF4D;}
10
+ .st4{fill:#F2B01F;}
11
+ </style>
12
+ <g>
13
+ <g>
14
+ <path class="st0" d="M713.5,629.7c0.2,20.7-16.4,37.7-37.2,37.9l-417.2,6.5c-20.7,0.2-37.7-16.4-37.9-37.2l-4.7-417.7
15
+ c-0.2-20.7,16.4-37.7,37.2-37.9l417.2-6.5c20.7-0.2,37.7,16.4,37.9,37.1L713.5,629.7z"/>
16
+ <path class="st1" d="M258.8,686.5c-27.2,0-49.6-22.2-49.9-49.4l-4.7-417.7c-0.1-13.3,4.9-25.9,14.3-35.5
17
+ c9.3-9.5,21.8-14.8,35.1-14.9l417.1-6.5c0,0,0,0,0,0c27.8,0,50.2,22.2,50.5,49.4l4.7,417.7c0.3,27.5-21.9,50.1-49.4,50.4
18
+ L258.8,686.5z M671.4,187.2L254,193.7c-6.8,0.1-13.1,2.7-17.8,7.5c-4.7,4.8-7.3,11.1-7.2,17.8l4.7,417.7
19
+ c0.1,13.7,11.4,24.9,25.1,24.9v12.4l0.3-12.4l417.1-6.5c13.9-0.1,25.1-11.5,25-25.4l-4.7-417.7
20
+ C696.3,198.4,685.1,187.2,671.4,187.2z"/>
21
+ </g>
22
+ <path class="st2" d="M700.2,629.8l-3.5-417.7c-0.1-13.3-8.3-24-18.3-24l-24,0.5c2.8,7,4.4,14.9,4.5,23.3l3.5,417.7
23
+ c0.1,9.2-1.7,17.8-4.9,25.3l24.6-0.5C692.2,654.2,700.3,643.2,700.2,629.8z"/>
24
+ <g>
25
+ <path class="st3" d="M575.5,722.6c-2.6,20.5-21.4,35.1-41.9,32.5l-414.3-49.7c-20.6-2.6-35.1-21.4-32.5-41.9L138.4,249
26
+ c2.6-20.6,21.4-35.1,41.9-32.5l414.3,49.7c20.6,2.6,35.1,21.4,32.5,41.9L575.5,722.6z"/>
27
+ <path class="st1" d="M538.3,767.8c-2.1,0-4.2-0.1-6.3-0.4l-414.2-49.7c-27.4-3.4-46.8-28.5-43.4-55.8l51.6-414.5
28
+ c3.4-27,28.2-46.8,55.8-43.3l414.2,49.7c13.3,1.7,25.1,8.4,33.3,18.9c8.2,10.5,11.8,23.6,10.1,36.8l-51.6,414.6
29
+ C584.7,749,563.4,767.8,538.3,767.8z M175.5,228.5c-12.6,0-23.3,9.5-24.9,22L99.1,665c-1.7,13.8,8.1,26.4,21.8,28.1l414.2,49.7
30
+ c1.1,0.1,2.2,0.2,3.3,0.2c12.6,0,23.3-9.5,24.9-22l51.6-414.6c0.8-6.7-1-13.3-5.1-18.6c-4.1-5.3-10.1-8.7-16.7-9.5l-414.2-49.7
31
+ C177.7,228.6,176.6,228.5,175.5,228.5z"/>
32
+ </g>
33
+ <path class="st4" d="M609.1,288.5c-4-5.1-9.7-8.4-16.1-9.2l-35.8-3.9c4.5,9,4.9,15.3,3.6,25.5l-51.6,414.6c-0.9,7-6,16.9-9.4,22.7
34
+ l35.5,3.9c1.1,0.1,2.1,0.2,3.1,0.2c12.2,0,22.5-9.1,24-21.2L614,306.4C614.8,299.9,613,293.6,609.1,288.5z"/>
35
+ <g>
36
+ <g>
37
+ <path class="st1" d="M417.6,595.8c-0.5,0-1,0-1.5-0.1l-204.2-24.9c-6.8-0.8-11.6-7-10.8-13.8c0.8-6.8,7-11.6,13.8-10.8
38
+ l204.2,24.9c6.8,0.8,11.6,7,10.8,13.8C429.1,591.2,423.8,595.8,417.6,595.8z"/>
39
+ </g>
40
+ <g>
41
+ <path class="st1" d="M503.3,519c-0.5,0-1,0-1.5-0.1l-279.4-34.1c-6.8-0.8-11.6-7-10.8-13.8c0.8-6.8,7-11.6,13.8-10.8l279.4,34.1
42
+ c6.8,0.8,11.6,7,10.8,13.8C514.8,514.4,509.5,519,503.3,519z"/>
43
+ </g>
44
+ <g>
45
+ <path class="st1" d="M325.1,410.1c-0.5,0-1,0-1.5-0.1l-90.7-11.1c-6.8-0.8-11.6-7-10.8-13.8c0.8-6.8,7-11.6,13.8-10.8l90.7,11.1
46
+ c6.8,0.8,11.6,7,10.8,13.8C336.6,405.5,331.2,410.1,325.1,410.1z"/>
47
+ </g>
48
+ </g>
49
+ <path class="st1" d="M384.7,226.7h-26.5V126.2c0-61.1,50.7-94,98.5-94h6.3c54.4,0,80.9,30.8,80.9,94v38.6h-26.5v-38.6
50
+ c0-56-21.7-67.5-54.3-67.5h-6.3c-35.8,0-71.9,23.2-71.9,67.5V226.7z"/>
51
+ <path class="st1" d="M427.6,394.7h-3.7c-38.7,0-65.7-35-65.7-66.5V191.4c0-7.3,5.9-13.3,13.3-13.3c7.3,0,13.3,5.9,13.3,13.3v136.9
52
+ c0,18.9,16.8,40,39.2,40h3.7c6.9,0,27.8,0,27.8-40V138.3c0-7.3,5.9-13.3,13.3-13.3c7.3,0,13.3,5.9,13.3,13.3v189.9
53
+ C482,369.9,461.7,394.7,427.6,394.7z"/>
54
+ </g>
55
+ </svg>
assets/addons/tutor-course-preview/thumbnail.svg ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 800 800" style="enable-background:new 0 0 800 800;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#B8D4EA;}
7
+ .st1{fill:#25CE9E;}
8
+ .st2{fill:#EBF2FF;}
9
+ .st3{fill:#FABF4D;}
10
+ .st4{fill:#2EB595;}
11
+ .st5{opacity:0.13;}
12
+ .st6{fill:#263357;}
13
+ </style>
14
+ <g>
15
+ <path class="st0" d="M84.5,39.1h579.2V133H84.5c-3.7,0-6.8-3-6.8-6.8V45.9C77.7,42.2,80.7,39.1,84.5,39.1z"/>
16
+ <rect x="83.1" y="126.4" class="st1" width="586" height="648.9"/>
17
+ <path class="st2" d="M503.1,150.4v143.4c0,0,160.9,5.1,155.8,0C653.9,288.7,503.1,150.4,503.1,150.4z"/>
18
+ <polygon class="st0" points="509.2,143 651.2,296.8 655.6,136.1 "/>
19
+ <rect x="147.5" y="208.1" class="st3" width="229" height="263.1"/>
20
+ <path class="st4" d="M669.4,310h-2.9v-28.6H497.2v11.1c0,18,14.6,32.5,32.5,32.5h94.7v376.8c0,17.2-14,31.2-31.2,31.2H93.7v59.4
21
+ h571v-24.7h4.7V310z"/>
22
+ <rect x="77.7" y="96.1" class="st5" width="581.2" height="28.9"/>
23
+ </g>
24
+ <path class="st6" d="M667.6,23.7H120.3C87.8,23.7,67,52.6,67,74v706.8c0,7.9,6.4,14.3,14.3,14.3h586c7.9,0,14.3-6.4,14.3-14.3
25
+ c0-700.4,0.3-742.8,0.3-742.8C681.9,30.1,675.5,23.7,667.6,23.7z M524.2,174.3l104.2,104.2H524.2V174.3z M536.6,146.2H653v116.4
26
+ L536.6,146.2z M95.9,76.7c0-13.5,11-24.4,24.4-24.4h533v65.3h-533c-13.5,0-24.4-11-24.4-24.4V76.7z M95.6,766.5V140.1
27
+ c16.3,8.7-7.6,6.2,399.9,6.2v146.5c0,7.9,6.4,14.3,14.3,14.3H653v459.5H95.6z M743.3,214.9v19.9c0,18.9-28.6,18.9-28.6,0v-19.9
28
+ c0-7.9,6.4-14.3,14.3-14.3C736.9,200.6,743.3,207,743.3,214.9z M743.3,298.1v386.3c0,7.9-6.4,14.3-14.3,14.3
29
+ c-7.9,0-14.3-6.4-14.3-14.3V298.1C714.7,279.2,743.3,279.2,743.3,298.1z M532,377.7h-74c-18.9,0-18.9-28.6,0-28.6h74
30
+ C550.9,349.1,550.9,377.7,532,377.7z M532,472.4h-74c-18.9,0-18.9-28.6,0-28.6h74C550.9,443.8,550.9,472.4,532,472.4z M150.3,191.6
31
+ c-7.9,0-14.3,6.4-14.3,14.3V469c0,7.9,6.4,14.3,14.3,14.3h229c7.9,0,14.3-6.4,14.3-14.3V205.9c0-7.9-6.4-14.3-14.3-14.3H150.3z
32
+ M365,454.7H164.6V220.2H365V454.7z M535.3,553.7H153.7c-18.9,0-18.9-28.6,0-28.6h381.6C554.2,525.1,554.2,553.7,535.3,553.7z
33
+ M535.3,618.9H153.7c-18.9,0-18.9-28.6,0-28.6h381.6C554.2,590.3,554.2,618.9,535.3,618.9z M535.3,690.1H153.7
34
+ c-18.9,0-18.9-28.6,0-28.6h381.6C554.2,661.5,554.2,690.1,535.3,690.1z"/>
35
+ </svg>
assets/addons/tutor-email/thumbnail.svg ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 800 800" style="enable-background:new 0 0 800 800;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#FABF4D;}
7
+ .st1{fill:#263357;}
8
+ .st2{fill:#F2B01F;}
9
+ .st3{clip-path:url(#SVGID_2_);}
10
+ .st4{clip-path:url(#SVGID_2_);fill:#D4912E;}
11
+ .st5{clip-path:url(#SVGID_4_);}
12
+ .st6{fill:#EBF2FF;}
13
+ .st7{clip-path:url(#SVGID_4_);fill:#4088DA;}
14
+ </style>
15
+ <g>
16
+ <g>
17
+ <path class="st0" d="M751.4,338.3c0-26.5-21.5-47.9-47.9-47.9H86.6c-26.5,0-47.9,21.5-47.9,47.9v399.1c0,26.5,21.5,47.9,47.9,47.9
18
+ h616.9c26.5,0,47.9-21.5,47.9-47.9V338.3z"/>
19
+ <path class="st1" d="M708.4,795.2H91.6c-34.6,0-62.8-28.2-62.8-62.8V333.3c0-34.6,28.2-62.8,62.8-62.8h616.9
20
+ c34.6,0,62.8,28.2,62.8,62.8v399.1C771.2,767.1,743,795.2,708.4,795.2z M91.6,300.3c-18.2,0-33.1,14.8-33.1,33.1v399.1
21
+ c0,18.2,14.8,33.1,33.1,33.1h616.9c18.2,0,33.1-14.8,33.1-33.1V333.3c0-18.2-14.8-33.1-33.1-33.1H91.6z"/>
22
+ </g>
23
+ <path class="st2" d="M709.2,310.2h-7.3v382.6c0,17.3-19.8,23.2-37.1,23.2H68.4v21.1c0,17.2,10,28.4,27.3,28.4h613.5
24
+ c17.3,0,32.3-11.1,32.3-28.4V345.3C741.5,328,726.4,310.2,709.2,310.2z"/>
25
+ <path class="st1" d="M583,727.9H371.2c-7.7,0-13.9-6.2-13.9-13.9c0-7.7,6.2-13.9,13.9-13.9H583c7.7,0,13.9,6.2,13.9,13.9
26
+ C596.9,721.7,590.7,727.9,583,727.9z"/>
27
+ <path class="st1" d="M676.7,727.9h-29.3c-7.7,0-13.9-6.2-13.9-13.9c0-7.7,6.2-13.9,13.9-13.9h29.3c7.7,0,13.9,6.2,13.9,13.9
28
+ C690.6,721.7,684.4,727.9,676.7,727.9z"/>
29
+ <g>
30
+ <path class="st1" d="M55.1,692.9c-5,0-9.9-2.7-12.3-7.5c-3.5-6.8-0.8-15.2,6-18.7l282.6-145.9c1.3-0.8,44.1-24.8,81.9-22.8
31
+ c39,2.1,63.9,13.8,74.5,18.9c71.6,34,273,144.3,275.1,145.4c6.7,3.7,9.2,12.1,5.5,18.8c-3.7,6.7-12.1,9.2-18.8,5.5
32
+ c-2-1.1-202.8-111-273.6-144.6c-9.9-4.7-30.5-14.4-64.1-16.2c-24.8-1.4-56.9,13.6-67.2,19.5L61.5,691.4
33
+ C59.4,692.4,57.3,692.9,55.1,692.9z"/>
34
+ </g>
35
+ <g>
36
+ <path class="st1" d="M59.8,315.5L41.2,295L314.1,46.6c1.9-1.7,40.7-34.5,85-37.3c36.4-2.4,63.1,16.4,75.9,25.5l3.5,2.4
37
+ C549,84.5,745.5,284.6,753.9,293l-19.8,19.4c-2-2.1-202.8-206.5-271-252.3c-1.2-0.8-2.5-1.7-4-2.8c-11.8-8.3-31.5-22.2-58.1-20.5
38
+ c-35.2,2.3-68.1,30.2-68.4,30.5L59.8,315.5z"/>
39
+ </g>
40
+ <path class="st1" d="M319.3,545.2c-2.6,0-5.3-0.7-7.6-2.3l-266-175.5c-6.4-4.2-8.1-12.8-3.9-19.2c4.2-6.4,12.8-8.2,19.2-3.9
41
+ l266,175.5c6.4,4.2,8.1,12.8,3.9,19.2C328.2,543,323.8,545.2,319.3,545.2z"/>
42
+ <path class="st1" d="M493.9,549.8c-4.5,0-8.9-2.2-11.6-6.3c-4.2-6.4-2.4-15,4-19.2l257.7-169c6.4-4.2,15-2.4,19.2,4
43
+ c4.2,6.4,2.4,15-4,19.2l-257.7,169C499.1,549.1,496.5,549.8,493.9,549.8z"/>
44
+ <g>
45
+ <defs>
46
+ <path id="SVGID_1_" d="M340.3,519.6c1.2-0.7,43.4-24.8,82.5-21.2c32.9,3,59.5,15.3,69.4,22.2c2,1.4,249.3-164.6,249.3-164.6
47
+ l-1.4-338.1L81.7,9.5L57.3,342.3l273.3,182L340.3,519.6z"/>
48
+ </defs>
49
+ <clipPath id="SVGID_2_">
50
+ <use xlink:href="#SVGID_1_" style="overflow:visible;"/>
51
+ </clipPath>
52
+ <g class="st3">
53
+ <rect x="306" y="435.1" class="st1" width="188.1" height="29.7"/>
54
+ </g>
55
+ <path class="st4" d="M721.1,299c-33.9-26.4-132.4-136.7-200.4-193.6c-1.1-0.9-53.2-42.7-63.1-49.5c-12-8.3-31.1-20.9-58.2-19.2
56
+ C363.7,39,331,68.6,330.7,68.9c0,0-191.2,170.8-259.2,237.6c-11.9,11.7-12.4,29.7-12.4,29.7v415.7H752l-9.9-418.2
57
+ C742.1,333.7,743.4,316.4,721.1,299z"/>
58
+ </g>
59
+ <g>
60
+ <defs>
61
+ <path id="SVGID_3_" d="M346.8,516.2c1.2-0.7,36.2-20,74.9-17.9c39.7,2.1,59.2,18.4,69.9,23.5c1.4,0.6,231.7-153.9,231.7-153.9
62
+ L721.9,33L86.5,13.2l-8.2,345.2l252.4,166.4L346.8,516.2z"/>
63
+ </defs>
64
+ <clipPath id="SVGID_4_">
65
+ <use xlink:href="#SVGID_3_" style="overflow:visible;"/>
66
+ </clipPath>
67
+ <g class="st5">
68
+ <rect x="117.9" y="161.7" class="st6" width="574.1" height="564.2"/>
69
+ <path class="st1" d="M697,735.8H122.8c-8.2,0-14.8-6.6-14.8-14.8V156.7c0-8.2,6.6-14.8,14.8-14.8H697c8.2,0,14.8,6.6,14.8,14.8
70
+ V721C711.8,729.2,705.2,735.8,697,735.8z M137.7,706.1h544.4V171.6H137.7V706.1z"/>
71
+ </g>
72
+ <g class="st5">
73
+ <rect x="207" y="369.6" class="st1" width="386" height="29.7"/>
74
+ </g>
75
+ <g class="st5">
76
+ <rect x="355.5" y="300.3" class="st1" width="237.6" height="29.7"/>
77
+ </g>
78
+ <g class="st5">
79
+ <rect x="306" y="438.9" class="st1" width="188.1" height="29.7"/>
80
+ </g>
81
+ <g class="st5">
82
+ <rect x="355.5" y="231" class="st1" width="237.6" height="29.7"/>
83
+ </g>
84
+ <rect x="207" y="231" class="st7" width="108.9" height="99"/>
85
+ </g>
86
+ </g>
87
+ </svg>
assets/addons/tutor-multi-instructors/thumbnail.svg ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 800 800" style="enable-background:new 0 0 800 800;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#25CE9E;}
7
+ .st1{fill:#263357;}
8
+ .st2{fill:#2EB595;}
9
+ .st3{fill:#EBF2FF;}
10
+ .st4{fill:#B8D4EA;}
11
+ .st5{fill:#FABF4D;}
12
+ .st6{fill:#F2B01F;}
13
+ .st7{fill:#C9F2FF;}
14
+ .st8{fill:#A3D4EA;}
15
+ .st9{fill:#4088DA;}
16
+ .st10{fill:#2E75DA;}
17
+ </style>
18
+ <g>
19
+ <path class="st0" d="M196.3,605.5l-86.7-24.3c-5.4,0-33,11.8-41.6,22.2c-13.8,16.7-31.9,41.5-31.9,95.7c0,4.3-0.7,84.2-0.7,84.2
20
+ h211.2c0,0,0.7-46.7-0.3-71.7C244.2,661.7,227.6,611.8,196.3,605.5z"/>
21
+ <path class="st1" d="M259.4,796.3H22.3l0.1-13.1c0,0,0.7-79.7,0.7-84c0-54.4,16.8-82.2,34.9-104c10.5-12.6,41.4-26.9,51.6-26.9h1.8
22
+ l88,24.6c40.9,8.7,57.8,69,59.8,118.2c1,25,0.3,70.5,0.3,72.4L259.4,796.3z M48.5,770.3h185.2c0.1-15.6,0.2-41.8-0.4-58.2
23
+ c-2.1-50.3-18.7-89.8-39.5-93.9l-1-0.2l-83.8-23.5c-7.1,2.1-25.9,11-31,17.2c-14,16.9-28.9,38.9-28.9,87.4
24
+ C49.1,702.4,48.7,747.5,48.5,770.3z"/>
25
+ </g>
26
+ <path class="st2" d="M233.6,770.6c0.1-15.4,0.2-41.7-0.5-58.2c-2.1-50.4-18.9-90-39.9-94.2l-0.9-0.2l-13.9-3.9
27
+ c17.5,24.1,25.6,62.5,27,95.8c0.7,17.3,0.6,44.7,0.5,60.6H233.6z"/>
28
+ <path class="st1" d="M140.2,784.1c-0.2,0-0.5,0-0.7,0c-7.2-0.4-12.7-6.5-12.3-13.6c0.5-9.1,1.4-35.2,0.1-46.9
29
+ c-0.1-0.5-0.1-1-0.1-1.5c0-16.6-6.6-24-6.8-24.3c-4.7-5.2-4.5-13.4,0.6-18.2c5.1-4.8,13-4.9,18,0.1c1.4,1.4,14,14.8,14.2,41.7
30
+ c1.8,16.5,0.1,49.1,0,50.5C152.8,778.7,147,784.1,140.2,784.1z"/>
31
+ <g>
32
+ <path class="st3" d="M198.4,588.6c0,0,0.7,27.3-2.1,46c-16.6-33.3-88.9-46-88.9-46V502h91V588.6z"/>
33
+ <path class="st1" d="M196.3,647.6c-4.9,0-9.4-2.7-11.6-7.2c-11.2-22.4-62.5-36-79.6-39c-6.2-1.1-10.7-6.5-10.7-12.8V502
34
+ c0-7.2,5.8-13,13-13h91c7.2,0,13,5.8,13,13v86.6c0,0.8,0.7,28.3-2.2,47.9c-0.8,5.6-5.2,10-10.8,10.9
35
+ C197.7,647.6,197,647.6,196.3,647.6z M120.4,578.1c15.6,3.6,43.9,11.7,65,26.4c0.2-8.8,0-15.4,0-15.6l0-74h-65V578.1z"/>
36
+ </g>
37
+ <path class="st4" d="M188.2,606.2v-91.6h-10.7l-1.4,82.6C181.4,596.2,182.8,607.1,188.2,606.2z"/>
38
+ <g>
39
+ <path class="st3" d="M90.3,474.1c0,46.3,38.4,83.9,85.7,83.9h27.2c36.8-0.2,57.6-14.1,56.6-42.3v-32.9l12.5-11.1
40
+ c0,0,7.3-43-15.6-86.7c-21.5-41-22.8-67.9-70.1-67.9H176c-47.3,0-85.7,37.5-85.7,83.9V474.1z"/>
41
+ <path class="st1" d="M203.3,570.9H176c-54.4,0-98.7-43.4-98.7-96.8v-73.1c0-53.4,44.3-96.8,98.7-96.8h10.6
42
+ c46.6,0,58.1,24.9,71.4,53.7c3.1,6.7,6.3,13.7,10.2,21.2c24.6,47,17.2,93,16.9,94.9l-0.8,4.5l-11.5,10.2v27.1
43
+ c0.5,14.5-3.8,26.9-12.9,36.4C248.1,564.4,229,570.7,203.3,570.9L203.3,570.9z M176,330c-40.1,0-72.7,31.8-72.7,70.9v73.1
44
+ c0,39.1,32.6,70.9,72.7,70.9h27.2c18.2-0.1,31.3-3.9,37.9-10.8c4.1-4.3,6-10.2,5.7-18l0-39.2l13.1-11.7
45
+ c0.9-11.2,1.7-42.8-14.8-74.3c-4.2-8.1-7.7-15.7-10.8-22.4c-12.9-28.1-17.8-38.6-47.8-38.6H176z"/>
46
+ </g>
47
+ <path class="st4" d="M250.4,479.3c0,32.1,2.1,65.2-40.9,65.2c22.2-10.4,22.9-26.9,22.9-55.5l10.8-10.4l-9.4-77
48
+ c0-28.6-2.4-43.5-23.6-60.2c28.7,11.4,44.4,26,44.4,58.1l7.6,69.4L250.4,479.3z"/>
49
+ <g>
50
+ <path class="st5" d="M72.5,388c6.7-48.5,52.2-86,117.3-83c31.7,5.5,53.5,13.5,77.5-10.4c7.4,5.5,25.1,27.8,19.4,53.4
51
+ c-5,22.4-16.6,43.3-31.4,51.6c-37.3,20.9-55.4,23.8-117.2,18.7c-5.3-0.4-12.5,39.5-18.7,66.6c-16.6,11.4-35.4-22.9-29.1,2.1
52
+ C90.2,486.9,67.9,421.5,72.5,388z"/>
53
+ <path class="st1" d="M111.8,500.5c-4.9,0-9.5-1.4-13.4-3.1c-1.3,1-2.8,1.8-4.4,2.3c-6.8,2-14-1.7-16.3-8.4
54
+ c-1-2.8-23.3-68.8-18.3-105c8-57.9,62.2-97.6,131-94.5c0.6,0,1.1,0.1,1.7,0.2c3.8,0.7,7.5,1.4,11.1,2.1c10.2,1.9,19,3.6,26.7,3.6
55
+ c11.1,0,19.2-3.6,28-12.4c4.7-4.7,12-5.2,17.3-1.2c11,8.2,31.5,35.4,24.4,66.9c-6.2,28-20.4,50.5-37.8,60.2
56
+ c-27.4,15.3-46.6,22.6-81.8,22.6c-9.4,0-20.4-0.5-34.8-1.6c-2.7,8.7-6.3,25.3-8.8,37.1c-1.4,6.4-2.8,12.8-4.1,18.6
57
+ c-0.7,3.2-2.7,6.1-5.4,8C122.3,498.9,117.2,500.5,111.8,500.5z M97.6,466.2c2,1,3.8,2.2,5.6,3.4c1.3,0.9,3.3,2.2,5.2,3.3
58
+ c0.7-3,1.3-6.1,2-9.2c9.5-43.8,12.7-58.6,27.5-58.6c0.4,0,0.8,0,1.2,0.1c17.8,1.5,30.4,2.1,40.8,2.1c29.7,0,44.6-5.7,68.8-19.2
59
+ c10.5-5.9,20.5-23.1,24.9-42.9c2.8-12.6-2.5-24.6-7.7-32.2c-10.8,7.6-22.6,11.2-36.2,11.2c-10.3,0-20.7-2-31.7-4.1
60
+ c-3.2-0.6-6.4-1.2-9.8-1.8c-54.1-2.1-96.7,27.8-102.7,71.6C83,409,91.1,443.4,97.6,466.2z"/>
61
+ </g>
62
+ <path class="st6" d="M180.4,315.5c-2.2-0.4-4.4,0.1-6.7,0.1c-17.1,0.8-34.2,7.4-48.4,16.6c10.4-4.2,22.8-6,25.2-6.3
63
+ c72.9-9.3,97.9,34.8,99.3,61.1c0.1,2,18-19.4,22.2-34.7c5.3-19.5,5.5-29.1-4.2-41.6C254,318.6,249.8,328.8,180.4,315.5z"/>
64
+ <g>
65
+ <g>
66
+ <path class="st5" d="M569.3,253.3l-35.9-42.7c0.6-4.2,2-32.5,2-36.9v-14.1c0-46.7-37.8-84.5-84.5-84.5h-34.8
67
+ c-46.7,0-84.5,37.8-84.5,84.5v14.1c0,46.7,37.8,84.5,84.5,84.5h34.8c14.9,0,42.5-6.2,57.7-21.4L569.3,253.3z"/>
68
+ <path class="st1" d="M450.9,266.6h-34.8c-51.2,0-92.9-41.7-92.9-92.9v-14.1c0-51.2,41.7-92.9,92.9-92.9h34.8
69
+ c51.2,0,92.9,41.7,92.9,92.9v14.1c0,3.6-0.9,24.6-1.7,34.2l33.6,40c2.4,2.8,2.6,6.9,0.6,10c-2,3.1-5.8,4.6-9.3,3.6l-56.2-15.3
70
+ C493,261,465.8,266.6,450.9,266.6z M416.1,83.5c-41.9,0-76,34.1-76,76v14.1c0,41.9,34.1,76,76,76h34.8c13.6,0,38.7-5.9,51.7-18.9
71
+ c2.2-2.1,5.3-3,8.2-2.2l34.6,9.4L526.9,216c-1.6-1.9-2.2-4.3-1.9-6.7c0.5-3.4,1.9-31.3,1.9-35.6v-14.1c0-41.9-34.1-76-76-76H416.1
72
+ z"/>
73
+ </g>
74
+ <path class="st6" d="M505.3,211.9l13.1,20.7l29.6,9.3l-21.7-29c-1.1-2-0.3-33.5-0.3-36.9l0.7-20c0-39.5-35.3-72.7-70.3-71.1
75
+ c21.9,17.3,51.3,37.6,48.3,76.6C504.6,161.6,505.7,208.1,505.3,211.9z"/>
76
+ </g>
77
+ <g>
78
+ <path class="st7" d="M247.6,208.2l35.9-42.7c-0.6-4.2-1.9-32.5-1.9-36.9v-14.1c0-46.7,37.8-84.5,84.5-84.5h34.8
79
+ c46.7,0,84.5,37.8,84.5,84.5v14.1c0,46.7-37.8,84.5-84.5,84.5h-34.8c-15,0-42.5-6.2-57.7-21.4L247.6,208.2z"/>
80
+ <path class="st1" d="M400.7,221.3h-34.8c-14.9,0-42.2-5.5-59.9-20.5l-56.3,15.3c-3.5,0.9-7.2-0.5-9.1-3.5c-1.9-3-1.7-7,0.6-9.8
81
+ l33.6-40.1c-0.7-9.5-1.7-30.6-1.7-34.2v-14.1c0-51.1,41.6-92.7,92.7-92.7h34.8c51.1,0,92.7,41.6,92.7,92.7v14.1
82
+ C493.5,179.7,451.9,221.3,400.7,221.3z M308.2,183.3c2.2,0,4.3,0.9,5.8,2.4c13.1,13.1,38.2,19,51.9,19h34.8
83
+ c42,0,76.2-34.2,76.2-76.2v-14.1c0-42-34.2-76.2-76.2-76.2h-34.8c-42,0-76.2,34.2-76.2,76.2v14.1c0,4.3,1.3,32.2,1.9,35.6
84
+ c0.4,2.3-0.3,4.7-1.8,6.6l-18.9,22.5l35.2-9.6C306.8,183.4,307.5,183.3,308.2,183.3z"/>
85
+ </g>
86
+ <path class="st8" d="M269.6,193.1l36.4-9.3c0.6-0.2,1.3-0.2,1.9-0.2c2.1,0,4.1,2.6,5.6,4.1c13.6,13.5,38.2,16.2,51,16.2l37.7,0.9
87
+ c40.7,0,72.7-34.1,75.3-73.5l-3.3-34c-11.4-38.5-26.9-38-27.1-40.7c14.9,29.8,13.1,78.5,6.1,93.9c-13.1,28.9-33.3,36.9-55.2,36.9
88
+ h-46.4c-0.6,0-43.8-9.2-61.6-38.7c0.5,8.9,0.9,14.3,1.1,15.6c0.3,2.2-0.3,4.1-1.7,5.8L269.6,193.1z"/>
89
+ <g>
90
+ <path class="st3" d="M172.9,441.9c3.9,20.3-5.7,39.2-21.5,42.3c-15.8,3.1-31.8-10.9-35.7-31.2c-3.9-20.3,5.7-39.2,21.5-42.3
91
+ C153,407.6,169,421.6,172.9,441.9z"/>
92
+ <path class="st1" d="M147.1,497.6c-20.8,0-39.4-17.7-44.1-42.2c-2.5-12.6-0.9-25.4,4.5-36c5.8-11.5,15.7-19.3,27.2-21.6
93
+ c2.2-0.4,4.6-0.7,6.8-0.7c20.8,0,39.4,17.7,44.1,42.2c2.5,12.6,0.9,25.4-4.5,36c-5.8,11.5-15.7,19.3-27.2,21.6
94
+ C151.7,497.3,149.4,497.6,147.1,497.6z M141.6,423.2c-0.6,0-1.3,0.1-1.9,0.2c-4.9,0.9-7.7,5.3-9,7.8c-2.7,5.3-3.5,12.4-2.2,19.3
95
+ c2.8,14.4,12.7,22.4,20.5,21c4.9-0.9,7.7-5.3,9-7.8c2.7-5.3,3.5-12.4,2.2-19.3C157.6,431.1,148.7,423.2,141.6,423.2z"/>
96
+ </g>
97
+ <polygon class="st3" points="144.3,459.2 158.2,513.3 207.8,495.3 205.4,432.8 157.8,434.9 146.4,430.8 "/>
98
+ <g>
99
+ <path class="st9" d="M600.9,605.7l86.7-24.3c5.4,0,33,11.8,41.6,22.2c13.8,16.7,31.9,41.5,31.9,95.7c0,4.3,0.7,84.2,0.7,84.2H575.6
100
+ c0,0-3,1.9-3-15.5c0-13.5-18.9-14.6-20.8-45.8C549.7,688.9,568.4,649.4,600.9,605.7z"/>
101
+ <path class="st1" d="M575.3,796.5c-15.7,0-15.7-19.3-15.7-28.5c-0.3-0.8-2.2-2.9-3.6-4.4c-6.3-6.9-15.8-17.4-17.2-40.5
102
+ c-2.2-34.5,14.7-75.4,51.6-125.1c1.7-2.3,4.1-4,6.9-4.8l86.7-24.3c1.1-0.3,2.3-0.5,3.5-0.5c10.2,0,41.1,14.2,51.6,26.9
103
+ c18.1,21.9,34.9,49.6,34.9,104c0,4.3,0.7,84,0.7,84c0,3.5-1.3,6.8-3.8,9.3c-2.4,2.5-5.8,3.8-9.2,3.8H576.5
104
+ C576.1,796.5,575.7,796.5,575.3,796.5z M585.6,770.5h163.1c-0.2-22.9-0.6-68-0.6-71.2c0-48.5-14.9-70.6-28.9-87.4
105
+ c-5.1-6.1-23.9-15-31-17.2L608.7,617c-30.9,42.3-45.6,77.4-44,104.4c0.9,14,5.6,19.2,10.6,24.7c4.3,4.8,10.3,11.4,10.3,21.8
106
+ C585.5,768.9,585.5,769.7,585.6,770.5z"/>
107
+ </g>
108
+ <path class="st10" d="M727,769.5h22.9c-0.2-26-0.6-69.1-0.6-72.3c0-53.2-18.9-75.8-29-88c-4.6-5.5-19.6-13.1-28.2-16.4
109
+ c17,20.7,34.3,49.1,34.3,104.1C726.4,700.1,726.8,743.5,727,769.5z"/>
110
+ <path class="st1" d="M673.7,784.2c-6.9,0-12.6-5.4-13-12.3c-0.1-1.4-1.8-34,0-50.5c0.2-27,12.8-40.3,14.2-41.7
111
+ c5.1-5.1,13.3-5.1,18.4,0c5,5,5.1,13.1,0.2,18.2c-0.5,0.6-6.8,8.1-6.8,24.3c0,0.5,0,1-0.1,1.5c-1.4,11.6-0.4,37.8,0.1,46.9
112
+ c0.4,7.2-5.1,13.3-12.3,13.6C674.1,784.2,673.9,784.2,673.7,784.2z"/>
113
+ <g>
114
+ <path class="st3" d="M598.8,588.8c0,0-0.7,27.3,2,46c16.6-33.3,88.9-46,88.9-46v-86.6h-91V588.8z"/>
115
+ <path class="st1" d="M600.9,647.8c-0.7,0-1.4-0.1-2.1-0.2c-5.6-0.9-10-5.3-10.8-10.9c-2.9-19.6-2.2-47.1-2.2-48.3l0-86.3
116
+ c0-7.2,5.8-13,13-13h91c7.2,0,13,5.8,13,13v86.6c0,6.3-4.5,11.7-10.7,12.8c-25.5,4.5-69.6,19.1-79.6,39
117
+ C610.2,645,605.7,647.8,600.9,647.8z M611.8,515.1v73.6c0,0.3-0.2,7,0,15.9c21.2-14.7,49.5-22.8,65-26.4v-63.1H611.8z"/>
118
+ </g>
119
+ <path class="st4" d="M609,606.4v-91.6h10.7l1.4,82.6C615.8,596.4,614.4,607.2,609,606.4z"/>
120
+ <g>
121
+ <path class="st3" d="M707.8,443.4c0,46.3-20.6,67.4-27,88.1c-6.9,22.2-49.9,36.1-74.9,31.9c-30.1-5-58.3-20.8-63.8-54.1l-4.6-26.4
122
+ l-12.5-11.1c0,0,3.9-40.9,15.6-86.7c11.4-44.9,22.8-67.9,70.1-67.9h10.6c47.3,0,85.7,37.5,85.7,83.9L707.8,443.4z"/>
123
+ <path class="st1" d="M615.4,577.1c-4.1,0-8.1-0.3-11.7-0.9c-41.6-6.9-68.8-30.5-74.5-64.8l-3.8-21.8l-14-12.5l0.6-6.6
124
+ c0.2-1.7,4.2-42.4,15.9-88.7c11.2-44,24.4-77.7,82.7-77.7h10.6c54.4,0,98.7,43.4,98.7,96.8l0.9,42c0,36.1-11.5,58.7-20,75.2
125
+ c-3.3,6.4-6.1,11.9-7.7,17C684.2,563.8,641.5,577.1,615.4,577.1z M538.6,466.6l10.8,9.6l5.4,30.8c4.9,29.5,31.6,39.9,53.2,43.5
126
+ c2.2,0.4,4.7,0.6,7.5,0.6c22.6,0,49.3-11.9,52.9-23.5c2.2-7.1,5.7-13.9,9.3-21c8-15.7,17.1-33.6,17.1-63.2l-0.9-42
127
+ c0-39.4-32.6-71.2-72.7-71.2h-10.6c-37.1,0-46,13.1-57.5,58.1C544.5,422.1,540.2,453.5,538.6,466.6z"/>
128
+ </g>
129
+ <path class="st4" d="M549.5,476.7c0,32.1,10.6,70,49.4,71.4c-22.2-10.4-23.6-31-23.6-59.6l-18-11.1l8.9-78.4
130
+ c0-28.7,2.4-43.5,23.6-60.2c-28.7,11.4-41.6,40.1-44.4,58.1c-7.5,47.2-8.2,67.3-8.2,67.3L549.5,476.7z"/>
131
+ <g>
132
+ <path class="st5" d="M724.4,401.8c7.2-48.4-27.1-104.7-99.2-110.3c-52-2.1-101.3,27.7-106.8,88.8c19.4,29.1,70.5,39.9,87.4,41.6
133
+ c20.8,2.1,13.3,4.9,56.2-3.5c5.2-1-11.1,101.3,20.1,132.5c16.6,2.1,60.3-13.2,79.8-32.6C761.9,518.3,709.9,499.6,724.4,401.8z"/>
134
+ <path class="st1" d="M685.5,564.3C685.5,564.3,685.5,564.3,685.5,564.3c-1.8,0-3.5-0.1-5-0.3c-2.9-0.4-5.7-1.7-7.7-3.8
135
+ c-24.3-24.3-24.7-75.6-23.2-121.8c0-1.4,0.1-2.8,0.1-4.2c-12.9,2.3-19.3,3.1-24.7,3.1c-4.2,0-7.4-0.5-11.1-1
136
+ c-2.4-0.4-5.3-0.8-9.4-1.2c-0.7-0.1-70.5-7.5-97.1-47.5c-1.7-2.5-2.4-5.5-2.2-8.6c6.3-69.7,62.3-100.9,114.9-100.9
137
+ c1.9,0,3.7,0,5.6,0.1c37.3,2.9,68.9,18.6,89.3,44.2c18.5,23.2,26.7,52.8,22.4,81.2c-12.6,84.5,27.3,101.5,29,102.2
138
+ c4.1,1.7,7.3,5.3,8.2,9.7c0.9,4.4-0.4,8.9-3.5,12.1C750.9,548,707.7,564.3,685.5,564.3z M662.1,405.1c3.6,0,7.3,1.6,9.8,4.2
139
+ c5,5.1,4.8,10.4,4.2,30c-0.8,25.6-2.5,77.1,12.3,98.4c12.5-1.1,34.6-8.5,51-18.7c-17-15.6-38.4-49.6-28-119.2
140
+ c3.2-21.2-3-43.3-16.9-60.8c-11.2-14-32.4-31.4-70.1-34.3c-1,0-2.6-0.1-4.1-0.1c-36.5,0-80.7,18.9-88,71.9
141
+ c17.1,20.3,57.2,30.4,74.9,32.2c4.6,0.5,7.9,1,10.7,1.4c3.1,0.5,4.9,0.7,7.2,0.7c5,0,13.7-1.4,34.4-5.4
142
+ C660.3,405.2,661.2,405.1,662.1,405.1z"/>
143
+ </g>
144
+ <path class="st6" d="M529.6,374.6c4.5,5.4,17.8,14.9,25.8,19.4c7.5-48.2,40.8-78.2,78-88.9C632.3,304.9,553.8,291,529.6,374.6z"/>
145
+ <g>
146
+ <path class="st3" d="M624.3,442c-3.9,20.3,5.7,39.3,21.5,42.3c15.8,3.1,31.8-10.9,35.7-31.2c3.9-20.3-5.7-39.2-21.5-42.3
147
+ C644.2,407.7,628.2,421.7,624.3,442z"/>
148
+ <path class="st1" d="M650.1,497.7L650.1,497.7c-2.3,0-4.6-0.2-6.8-0.7c-11.5-2.2-21.4-10.1-27.2-21.6c-5.4-10.6-7-23.3-4.5-36
149
+ c4.7-24.4,23.3-42.1,44.1-42.1c2.3,0,4.6,0.2,6.8,0.6c22.8,4.4,37,30.2,31.8,57.5C689.5,480,670.9,497.7,650.1,497.7z M655.6,423.3
150
+ c-7.1,0-16,7.9-18.6,21.1c-1.3,6.9-0.6,13.9,2.2,19.3c1.3,2.5,4.1,6.9,9,7.8c7.7,1.5,17.7-6.5,20.5-21c2.5-12.8-2.7-25.5-11.2-27.1
151
+ C656.9,423.4,656.3,423.3,655.6,423.3z"/>
152
+ </g>
153
+ <polygon class="st3" points="652.9,459.3 632.9,505.8 589.4,495.4 591.8,433 639.3,435.1 650.8,430.9 "/>
154
+ <g>
155
+ <path class="st1" d="M567,365.4c-2.2,0-4.5-0.6-6.5-1.8c-6.1-3.6-8.3-11.4-4.8-17.6c0.9-1.5,21.5-36.8,66-30
156
+ c7.1,1.1,11.9,7.7,10.9,14.8c-1.1,7.1-7.7,11.9-14.8,10.9c-26.4-4-39,16.4-39.5,17.3C575.8,363.2,571.4,365.4,567,365.4z"/>
157
+ </g>
158
+ <g>
159
+ <path class="st1" d="M381,170.7L381,170.7c-5.6,0-10.1-4.5-10.1-10.1V75c0-5.6,4.5-10.1,10.1-10.1h0c5.6,0,10.1,4.5,10.1,10.1v85.5
160
+ C391.2,166.1,386.6,170.7,381,170.7z"/>
161
+ <path class="st1" d="M433.9,117.8L433.9,117.8c0,5.6-4.5,10.1-10.1,10.1h-85.5c-5.6,0-10.1-4.5-10.1-10.1v0
162
+ c0-5.6,4.5-10.1,10.1-10.1h85.5C429.4,107.6,433.9,112.2,433.9,117.8z"/>
163
+ </g>
164
+ </svg>
assets/addons/tutor-prerequisites/thumbnail.svg ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 800 800" style="enable-background:new 0 0 800 800;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#CCFFFF;}
7
+ .st1{fill:#4088DA;}
8
+ .st2{fill:#FABF4D;}
9
+ .st3{fill:#BADBD6;}
10
+ .st4{fill:#2E75DA;}
11
+ .st5{fill:#263357;}
12
+ .st6{fill:none;stroke:#263357;stroke-width:10;stroke-miterlimit:10;}
13
+ </style>
14
+ <g>
15
+ <path class="st0" d="M533.1,715H92.3c-5.5,0-10-4.5-10-10V113.5c0-5.5,4.5-10,10-10h440.8c5.5,0,10,4.5,10,10V705
16
+ C543.1,710.5,538.6,715,533.1,715z"/>
17
+ <path class="st0" d="M639,254l37.6-92.5l36.7,97.6C713.3,259.1,665.6,284.3,639,254z"/>
18
+ <rect x="634.2" y="268.9" class="st1" width="84.8" height="341.4"/>
19
+ <rect x="639" y="610.3" class="st2" width="80" height="54"/>
20
+ <rect x="650.9" y="664.3" class="st1" width="51.4" height="45.2"/>
21
+ <path class="st3" d="M508.2,95.3v512.5c0,29.4-23.9,53.3-53.3,53.3H82.3l11.3,39.3h414.6v1.1h9.2c22.3,0,40.3-18.1,40.3-40.3l0,0
22
+ V138.3c0-23.7-19.2-43-43-43H508.2z"/>
23
+ <rect x="679" y="275.6" class="st4" width="34.3" height="325.5"/>
24
+ </g>
25
+ <path class="st5" d="M509.9,80.6h-391c-28.7,0-52.1,23.4-52.1,52.1v61c-30.8,0.7-55.7,25.9-55.7,56.9s24.9,56.2,55.7,56.9V318
26
+ c-30.8,0.7-55.7,25.9-55.7,56.9c0,31,24.9,56.2,55.7,56.9v10.6C36,443,11.2,468.2,11.2,499.2c0,31,24.9,56.2,55.7,56.9v10.6
27
+ c-30.8,0.7-55.7,25.9-55.7,56.9c0,31.2,25.2,56.5,56.2,56.9c3.6,25.3,25.3,44.8,51.5,44.8h391c28.7,0,52.1-23.4,52.1-52.1V132.7
28
+ C562,103.9,538.6,80.6,509.9,80.6z M113.7,317.9H94.1v-97.1h19.6 M113.7,442.2H94.1v-97.1h19.6 M113.7,566.6H94.1v-97.1h19.6
29
+ M113.7,193.6H94.1v-60.9c0-13.7,11.1-24.8,24.8-24.8h391c13.7,0,24.8,11.1,24.8,24.8v523.9H94.1v-62.8h19.6 M38.4,250.5
30
+ c0-15.9,12.6-28.9,28.4-29.6v59.2C51.1,279.5,38.4,266.5,38.4,250.5z M38.4,374.8c0-15.9,12.6-28.9,28.4-29.6v59.2
31
+ C51.1,403.8,38.4,390.8,38.4,374.8z M38.4,499.2c0-15.9,12.6-28.9,28.4-29.6v59.2C51.1,528.1,38.4,515.1,38.4,499.2z M38.4,623.5
32
+ c0-15.9,12.6-28.9,28.4-29.6v59.2C51.1,652.4,38.4,639.4,38.4,623.5z M509.9,697.9h-391c-9.8,0-18.2-5.8-22.3-14.1h435.5
33
+ C528.2,692.1,519.7,697.9,509.9,697.9z M240.8,193.6h202.5c18,0,18,27.3,0,27.3H240.8C222.8,220.8,222.8,193.6,240.8,193.6z
34
+ M240.8,435h202.5c18,0,18,27.3,0,27.3H240.8C222.8,462.3,222.8,435,240.8,435z M240.8,561.7h202.5c18,0,18,27.3,0,27.3H240.8
35
+ C222.8,589,222.8,561.7,240.8,561.7z M240.8,317.9h199.7c18,0,18,27.3,0,27.3H240.8C222.8,345.2,222.8,317.9,240.8,317.9z
36
+ M777.4,558.9L760,438.6c-1.8-12.3-17.7-16-24.8-5.7l-4.4,6.4c0-203,8.5-162-43.6-297.9v-18.7c0-7.5-6.1-13.6-13.6-13.6
37
+ c-7.5,0-13.6,6.1-13.6,13.6v19.1c-25.4,76.2-41.2,97.3-41.2,154.7c0,2.2-0.1,310.9,0.3,313c-0.2,0.8-0.3,1.7-0.3,2.6v48.8
38
+ c0,7.5,6.1,13.6,13.6,13.6h3v23c0,16,12.3,29,27.5,29h23.7c15.2,0,27.5-13,27.5-29v-23h3c7.5,0,13.6-6.1,13.6-13.6V620
39
+ c13.1-1.7,25.2-8,33.9-18.1C775,590.1,779.6,574.4,777.4,558.9z M703.6,647.2h-57.5v-26.7c25.1,0,39,0,57.5,0V647.2z M674.1,183.3
40
+ c11.5,30,17.3,44.6,21.7,59.6c-20.2,9.2-35,4.8-42.8,0.8C657.1,229.4,662.1,216.5,674.1,183.3z M701.8,270
41
+ c2.4,17.9,1.8,3.8,1.8,323.3c-18.7,0-32.3,0-57.5,0c0-321.8-0.6-306,1.4-322.4C663.9,277.2,682.2,277.6,701.8,270z M686.7,699.2
42
+ l-23.3,0.1c-1.1-0.7-0.6-23.6-0.6-24.9h24.1C686.9,701.1,686.7,699.2,686.7,699.2z M730.8,592.3V487.7l7.2-10.5l12.4,85.7
43
+ C752.3,576,744.2,588.8,730.8,592.3z"/>
44
+ <path class="st5" d="M190.5,238.7h-41.5c-5.6,0-10.1-4.5-10.1-10.1v-41.5c0-5.6,4.5-10.1,10.1-10.1h41.5c5.6,0,10.1,4.5,10.1,10.1
45
+ v41.5C200.6,234.2,196.1,238.7,190.5,238.7z"/>
46
+ <g>
47
+ <path class="st2" d="M188.4,196.2l-1.1-1.1c-1.2-1.2-3.2-1.2-4.4,0l-18.7,18.7l-6.6-6.6c-1.2-1.2-3.2-1.2-4.4,0l-1.1,1.1
48
+ c-1.2,1.2-1.2,3.2,0,4.4l9.9,9.9c1.2,1.2,3.2,1.2,4.4,0l22-22C189.6,199.4,189.6,197.4,188.4,196.2z"/>
49
+ </g>
50
+ <path class="st5" d="M190.5,362.4h-41.5c-5.6,0-10.1-4.5-10.1-10.1v-41.5c0-5.6,4.5-10.1,10.1-10.1h41.5c5.6,0,10.1,4.5,10.1,10.1
51
+ v41.5C200.6,357.9,196.1,362.4,190.5,362.4z"/>
52
+ <path class="st6" d="M184.9,475.5h-30.2c-5.6,0-10.1-4.5-10.1-10.1v-30.2c0-5.6,4.5-10.1,10.1-10.1h30.2c5.6,0,10.1,4.5,10.1,10.1
53
+ v30.2C195,471,190.5,475.5,184.9,475.5z"/>
54
+ <path class="st6" d="M184.9,603.1h-30.2c-5.6,0-10.1-4.5-10.1-10.1v-30.2c0-5.6,4.5-10.1,10.1-10.1h30.2c5.6,0,10.1,4.5,10.1,10.1
55
+ V593C195,598.6,190.5,603.1,184.9,603.1z"/>
56
+ <g>
57
+ <path class="st2" d="M186.4,318.6l-1.1-1.1c-1.2-1.2-3.2-1.2-4.4,0l-18.7,18.7l-6.6-6.6c-1.2-1.2-3.2-1.2-4.4,0l-1.1,1.1
58
+ c-1.2,1.2-1.2,3.2,0,4.4l9.9,9.9c1.2,1.2,3.2,1.2,4.4,0l22-22C187.6,321.8,187.6,319.8,186.4,318.6z"/>
59
+ </g>
60
+ </svg>
assets/addons/tutor-report/thumbnail.svg ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 800 800" style="enable-background:new 0 0 800 800;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#FABF4D;}
7
+ .st1{fill:#EBA830;}
8
+ .st2{fill:#EBF2FF;}
9
+ .st3{fill:#B8D4EA;}
10
+ .st4{fill:#25CE9E;}
11
+ .st5{fill:#4088DA;}
12
+ .st6{opacity:0.57;}
13
+ .st7{fill:#263357;}
14
+ </style>
15
+ <g>
16
+ <g>
17
+ <g>
18
+ <g>
19
+ <path class="st0" d="M573.4,589.3H59c-15.1,0-27.4-12.3-27.4-27.4V146.8c0-15.1,12.3-27.4,27.4-27.4h514.4
20
+ c15.1,0,27.4,12.3,27.4,27.4v415.1C600.8,577,588.5,589.3,573.4,589.3z"/>
21
+ </g>
22
+ </g>
23
+ <g>
24
+ <g>
25
+ <path class="st1" d="M587.6,586.5v-418c0-8.8-4.3-16-11.5-16h-27c1.8,4.9,5.4,10.3,5.4,16v418c0,5.7-3.5,11.1-5.4,16h27
26
+ C583.3,602.5,587.6,595.3,587.6,586.5z"/>
27
+ </g>
28
+ </g>
29
+ <g>
30
+ <g>
31
+ <path class="st2" d="M600.8,198.8v-71.9c0-15.1-12.3-27.4-27.4-27.4H59c-15.1,0-27.4,12.3-27.4,27.4v71.9H600.8z"/>
32
+ </g>
33
+ </g>
34
+ <g>
35
+ <g>
36
+ <path class="st3" d="M587.6,185.5v-56.8c0-8.8-7.2-16-16-16h-20.9c2.4,4.7,3.9,9.8,3.9,15.3v57.5H587.6z"/>
37
+ </g>
38
+ </g>
39
+ <g>
40
+ <g>
41
+ <g>
42
+ <path class="st4" d="M726.2,558.1c0,92.3-74.8,167.1-167.1,167.1c-92.3,0-167.1-74.8-167.1-167.1S466.9,391,559.2,391
43
+ C651.4,391,726.2,465.8,726.2,558.1z"/>
44
+ </g>
45
+ </g>
46
+ <g>
47
+ <g>
48
+ <path class="st5" d="M547.9,562.8V391.4C438,392.2,342.5,509,394.1,632c19,45.2,57.7,79.6,104.7,93.5
49
+ c116.4,34.4,224.6-49,225.4-162.8H547.9z"/>
50
+ </g>
51
+ </g>
52
+ </g>
53
+ <g>
54
+ <g>
55
+ <path class="st0" d="M665.6,695.1c32.3-27.1,54.5-66,59.7-110.8c0.8-6.4,6.1-55.3-16.1-99.7l-159,87.5L665.6,695.1z"/>
56
+ </g>
57
+ </g>
58
+ <g class="st6">
59
+ <g>
60
+ <path d="M593.3,404c52.3,32.7,86.2,91.8,86.2,158.2c0,66.4-34,125.5-86.2,158.2c70.5-15.8,123.4-80.8,123.4-158.2
61
+ C716.7,484.7,663.8,419.8,593.3,404z"/>
62
+ </g>
63
+ </g>
64
+ </g>
65
+ <g>
66
+ <g>
67
+ <path class="st7" d="M375.8,615.8H52.6c-22.5,0-40.8-18.3-40.8-40.8V133.7c0-22.5,18.3-40.8,40.8-40.8h520.7
68
+ c22.5,0,40.8,18.3,40.8,40.8v250.4c0,7.3-5.9,13.2-13.2,13.2c-7.3,0-13.2-5.9-13.2-13.2V133.7c0-7.9-6.4-14.3-14.4-14.3H52.6
69
+ c-7.9,0-14.3,6.4-14.3,14.3v441.2c0,7.9,6.4,14.3,14.4,14.3h323.2c7.3,0,13.2,5.9,13.2,13.2C389,609.8,383.1,615.8,375.8,615.8z"
70
+ />
71
+ </g>
72
+ <g>
73
+ <path class="st7" d="M342.5,405.1c-4.2,0-8.4-2-10.9-5.7c-4.1-6-2.6-14.3,3.4-18.4l77.2-53.1c6-4.1,14.3-2.6,18.4,3.4
74
+ c4.1,6,2.6,14.3-3.4,18.4L350,402.7C347.7,404.3,345.1,405.1,342.5,405.1z"/>
75
+ </g>
76
+ <g>
77
+ <path class="st7" d="M294.5,401.5c-3.6,0-7.2-1.5-9.9-4.4L255,364c-4.9-5.4-4.4-13.8,1-18.7c5.4-4.9,13.8-4.4,18.7,1l29.7,33.1
78
+ c4.9,5.4,4.4,13.8-1,18.7C300.8,400.4,297.7,401.5,294.5,401.5z"/>
79
+ </g>
80
+ <g>
81
+ <path class="st7" d="M147.8,417.7c-3.7,0-7.4-1.6-10-4.6c-4.8-5.5-4.2-13.9,1.4-18.7l64.8-55.9c5.5-4.8,13.9-4.2,18.7,1.4
82
+ c4.8,5.5,4.2,13.9-1.4,18.7l-64.8,55.9C153.9,416.6,150.8,417.7,147.8,417.7z"/>
83
+ </g>
84
+ <g>
85
+ <path class="st7" d="M240.9,377.6c-23.4,0-42.5-19.1-42.5-42.5s19.1-42.5,42.5-42.5c23.4,0,42.5,19.1,42.5,42.5
86
+ S264.3,377.6,240.9,377.6z M240.9,319.1c-8.8,0-16,7.2-16,16s7.2,16,16,16c8.8,0,16-7.2,16-16S249.7,319.1,240.9,319.1z"/>
87
+ </g>
88
+ <g>
89
+ <path class="st7" d="M118.5,463.6C95,463.6,76,444.5,76,421.1s19.1-42.5,42.5-42.5c23.4,0,42.5,19.1,42.5,42.5
90
+ S141.9,463.6,118.5,463.6z M118.5,405.1c-8.8,0-16,7.2-16,16s7.2,16,16,16c8.8,0,16-7.2,16-16S127.3,405.1,118.5,405.1z"/>
91
+ </g>
92
+ <g>
93
+ <path class="st7" d="M317,453.7c-23.4,0-42.5-19.1-42.5-42.5s19.1-42.5,42.5-42.5c23.4,0,42.5,19.1,42.5,42.5
94
+ S340.4,453.7,317,453.7z M317,395.1c-8.8,0-16,7.2-16,16s7.2,16,16,16c8.8,0,16-7.2,16-16S325.8,395.1,317,395.1z"/>
95
+ </g>
96
+ <g>
97
+ <path class="st7" d="M447.7,363.8c-23.4,0-42.5-19.1-42.5-42.5s19.1-42.5,42.5-42.5s42.5,19.1,42.5,42.5S471.2,363.8,447.7,363.8
98
+ z M447.7,305.2c-8.8,0-16,7.2-16,16s7.2,16,16,16c8.8,0,16-7.2,16-16S456.6,305.2,447.7,305.2z"/>
99
+ </g>
100
+ <g>
101
+ <path class="st7" d="M749.6,678.2c-2.1,0-4.3-0.5-6.3-1.6c-6.4-3.5-8.8-11.5-5.3-17.9c16.4-30.3,25.1-64.8,25.1-99.8
102
+ c0-63.4-27.7-122.1-75.9-161.2c-5.7-4.6-6.6-12.9-1.9-18.6c4.6-5.7,12.9-6.6,18.6-1.9c54.5,44.1,85.7,110.4,85.7,181.8
103
+ c0,39.4-9.8,78.2-28.2,112.4C758.8,675.7,754.3,678.2,749.6,678.2z"/>
104
+ </g>
105
+ <g>
106
+ <path class="st7" d="M657.4,376c-2,0-4-0.4-5.9-1.4c-2.9-1.4-5.7-2.8-8.7-4.1c-6.7-2.9-9.7-10.8-6.8-17.5
107
+ c3-6.7,10.8-9.7,17.4-6.8c3.3,1.5,6.6,3,9.8,4.6c6.5,3.3,9.2,11.2,5.9,17.8C666.9,373.3,662.3,376,657.4,376z"/>
108
+ </g>
109
+ <g>
110
+ <path class="st7" d="M71.2,176.1c-12.3,0-22.4-10-22.4-22.4c0-12.3,10-22.4,22.4-22.4c12.3,0,22.4,10,22.4,22.4
111
+ C93.6,166,83.6,176.1,71.2,176.1z"/>
112
+ </g>
113
+ <g>
114
+ <path class="st7" d="M132.5,176.1c-12.3,0-22.4-10-22.4-22.4c0-12.3,10-22.4,22.4-22.4c12.3,0,22.4,10,22.4,22.4
115
+ C154.9,166,144.8,176.1,132.5,176.1z"/>
116
+ </g>
117
+ <g>
118
+ <path class="st7" d="M193.7,176.1c-12.3,0-22.4-10-22.4-22.4c0-12.3,10-22.4,22.4-22.4c12.3,0,22.4,10,22.4,22.4
119
+ C216.1,166,206.1,176.1,193.7,176.1z"/>
120
+ </g>
121
+ <g>
122
+ <path class="st7" d="M554.4,743.6c-102.7,0-186.2-83.5-186.2-186.2c0-102.7,83.5-186.2,186.2-186.2
123
+ c102.7,0,186.2,83.5,186.2,186.2C740.6,660.1,657.1,743.6,554.4,743.6z M554.4,397.7c-88.1,0-159.7,71.6-159.7,159.7
124
+ c0,88.1,71.6,159.7,159.7,159.7c88.1,0,159.7-71.6,159.7-159.7C714.1,469.4,642.5,397.7,554.4,397.7z"/>
125
+ </g>
126
+ <g>
127
+ <path class="st7" d="M661.9,700.3c-3.7,0-7.3-1.5-10-4.5L541.2,569.4V397.3c0-7.3,5.9-13.2,13.2-13.2c7.3,0,13.2,5.9,13.2,13.2
128
+ v162.1l104.2,118.8c4.8,5.5,4.3,13.9-1.2,18.7C668.1,699.2,665,700.3,661.9,700.3z"/>
129
+ </g>
130
+ <g>
131
+ <path class="st7" d="M470.9,679.2c-2.6,0-5.2-0.7-7.5-2.3c-33.6-23.1-55.8-59.5-61-99.9c-0.9-7.3,4.2-13.9,11.5-14.8
132
+ c7.3-0.9,13.9,4.2,14.8,11.5c4.2,32.9,22.3,62.6,49.7,81.4c6,4.1,7.6,12.4,3.4,18.4C479.2,677.2,475.1,679.2,470.9,679.2z"/>
133
+ </g>
134
+ <g>
135
+ <path class="st7" d="M322.8,562.8H164c-7.3,0-13.2-5.9-13.2-13.2c0-7.3,5.9-13.2,13.2-13.2h158.9c7.3,0,13.2,5.9,13.2,13.2
136
+ C336.1,556.9,330.1,562.8,322.8,562.8z"/>
137
+ </g>
138
+ <g>
139
+ <path class="st7" d="M117.6,562.8h-13.2c-7.3,0-13.2-5.9-13.2-13.2c0-7.3,5.9-13.2,13.2-13.2h13.2c7.3,0,13.2,5.9,13.2,13.2
140
+ C130.9,556.9,125,562.8,117.6,562.8z"/>
141
+ </g>
142
+ <g>
143
+ <path class="st7" d="M561.1,582.7c-4.3,0-8.6-2.1-11.1-6c-4-6.1-2.2-14.3,3.9-18.3l145.5-94.2c6.1-4,14.3-2.2,18.3,3.9
144
+ c4,6.1,2.2,14.3-3.9,18.3l-145.5,94.2C566.1,582,563.6,582.7,561.1,582.7z"/>
145
+ </g>
146
+ <g>
147
+ <path class="st7" d="M587.6,212h-556c-7.3,0-13.2-5.9-13.2-13.2s5.9-13.2,13.2-13.2h556c7.3,0,13.2,5.9,13.2,13.2
148
+ S594.9,212,587.6,212z"/>
149
+ </g>
150
+ </g>
151
+ </g>
152
+ </svg>
assets/css/tutor-admin.css CHANGED
@@ -7,11 +7,18 @@
7
  @import "../icons/css/tutor-icon.css";
8
 
9
  .ui-slider { position: relative; text-align: left; }
10
- .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
 
 
 
 
 
 
 
 
11
  .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
12
 
13
  .ui-slider-horizontal { height: .8em; }
14
- .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
15
  .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
16
  .ui-slider-horizontal .ui-slider-range-min { left: 0; }
17
  .ui-slider-horizontal .ui-slider-range-max { right: 0; }
@@ -626,7 +633,12 @@ table.tutor_status_table td mark.yes, table.tutor_status_table th mark.yes {
626
  .tutor-addons .wp-filter{
627
  margin: 10px 0 0;
628
  }
629
-
 
 
 
 
 
630
  /**
631
  Add-ons list
632
  */
@@ -648,11 +660,10 @@ table.tutor-addons-list-table td, table.tutor-addons-list-table th{
648
  padding: 10px;
649
  border-bottom: 1px solid #eeeeee;
650
  text-align: left;
651
-
652
  }
653
-
654
-
655
-
656
  .btn-switch {
657
  display: inline-block;
658
  height: 22px;
@@ -910,7 +921,7 @@ Quiz Modal
910
  background: url("../images/spinner.gif") no-repeat center center; }
911
  .tutor-modal-wrap .tutor-modal-content {
912
  max-height: 90%;
913
- overflow-y: scroll;
914
  overflow-x: hidden;
915
  background-color: #fff;
916
  max-width: 730px;
@@ -1044,23 +1055,8 @@ Quiz Modal
1044
  }
1045
 
1046
  /** Tutor Quiz Modal Form */
1047
- .tutor-quiz-builder-form-row{
1048
- margin: 10px 0 25px;
1049
- }
1050
- .tutor-quiz-builder-form-row input[type="text"], .tutor-quiz-builder-form-row input[type="number"], .tutor-quiz-builder-form-row textarea{
1051
- border: 1px solid #DEDEDE;
1052
- margin: 0;
1053
- padding: 10px;
1054
- box-shadow: none;
1055
- border-radius: 3px;
1056
- }
1057
- .tutor-quiz-builder-form-row input[type="text"], .tutor-quiz-builder-form-row input[type="number"]{
1058
- height: 42px;
1059
- width: 100%;
1060
- }
1061
- #quiz-builder-tab-quiz-info input[type="text"], #quiz-builder-tab-quiz-info textarea{
1062
- width: 100%;
1063
- }
1064
  .tutor-quiz-builder-modal-tabs-notice{
1065
  background: #D8D8D8;
1066
  line-height: 20px;
@@ -1071,10 +1067,123 @@ Quiz Modal
1071
  color: #A4A4A4;
1072
  text-decoration: underline;
1073
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1074
 
1075
  .tutor-quiz-builder-modal-control-btn-group{
1076
  display: flex;
 
 
 
 
 
 
1077
  }
 
1078
  .tutor-quiz-builder-modal-control-btn-group .quiz-builder-btn-group-left {
1079
  flex: 1;
1080
  }
@@ -1093,17 +1202,19 @@ Quiz Modal
1093
  }
1094
  .modal-container .tutor-quiz-add-question-btn i{
1095
  color: #3057D5;
1096
- }
1097
- .tutor-quiz-builder-modal-wrap label {
1098
- font-size: 14px;
1099
- font-weight: 500;
1100
- margin-bottom: 10px;
1101
- display: block;
1102
- }
1103
- .tutor-quiz-builder-form-cols-row {
1104
- display: flex;
1105
- margin-bottom: 20px;
1106
- }
 
 
1107
  .quiz-form-field-col{
1108
  margin-right: 20px;
1109
  }
@@ -1118,15 +1229,24 @@ Quiz Modal
1118
  margin-right: 20px;
1119
  position: relative;
1120
  }
1121
- .switch-btn-title {
1122
- position: absolute;
1123
- left: 50px;
1124
- width: 300px;
1125
- top: -5px;
1126
- }
1127
- .tutor-quiz-builder-form-row label.btn-switch input:checked + .btn-slider {
1128
  background-color: #4CD964;
1129
  }
 
 
 
 
 
 
 
 
 
1130
  .tutor-select {
1131
  position: relative;
1132
  }
@@ -1139,6 +1259,8 @@ Quiz Modal
1139
  background-color: #fff;
1140
  display: flex;
1141
  cursor: pointer;
 
 
1142
  }
1143
  .tutor-select .select-header .lead-option {
1144
  flex: 1;
@@ -1252,13 +1374,13 @@ a.back-to-quiz-questions-btn {
1252
  padding: 20px;
1253
  }
1254
 
1255
- .tutor-quiz-builder-form-row .quiz-modal-form-help {
1256
- color: #A4A4A4;
1257
- font-style: italic;
1258
- font-weight: 300;
1259
- font-size: 12px;
1260
- margin-top: 10px !important;
1261
- }
1262
  #quiz-builder-tab-advanced-options .tutor-quiz-builder-form-cols-row .quiz-form-field-col:first-child{
1263
  flex: 0 0 150px;
1264
  }
@@ -1284,6 +1406,10 @@ a.back-to-quiz-questions-btn {
1284
  margin-right: 10px;
1285
  line-height: 22px;
1286
  }
 
 
 
 
1287
  .quiz-builder-question .question-edit-icon{
1288
  line-height: 22px;
1289
  }
@@ -1300,27 +1426,27 @@ a.back-to-quiz-questions-btn {
1300
  }
1301
  .quiz-builder-qustion-trash a{
1302
  display: block;
1303
- padding: 0 10px;
1304
  font-size: 20px;
1305
  color: rgba(57, 60, 64, 0.4);
1306
  line-height: 44px;
1307
  }
1308
- .tutor-quiz-builder-modal-wrap select {
1309
- border: 1px solid #ccc;
1310
- box-shadow: none;
1311
- height: 37px !important;
1312
- }
1313
  .tutor-quiz-builder-modal-wrap .tutor-field-type-slider{
1314
  border: 1px solid #DEDEDE;
1315
- padding: 10px;
1316
  background-color: #ffffff;
 
 
1317
  }
1318
  .tutor-quiz-builder-modal-wrap .tutor-field-type-slider .ui-widget-content {
1319
  background-color: #3057D5;
1320
  border: none;
 
 
1321
  }
1322
  .tutor-quiz-builder-modal-wrap .tutor-field-type-slider .ui-widget-header{
1323
  background: #DEDEDE;
 
1324
  }
1325
  .tutor-quiz-builder-modal-wrap .tutor-field-type-slider .ui-widget-content .ui-state-default{
1326
  background-color: #3057D5;
@@ -1330,6 +1456,26 @@ a.back-to-quiz-questions-btn {
1330
  .tutor-quiz-builder-modal-wrap .tutor-field-type-slider .tutor-field-type-slider-value {
1331
  font-size: 16px;
1332
  font-weight: 600;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1333
  }
1334
  .tutor-quiz-answer-wrap {
1335
  display: flex;
7
  @import "../icons/css/tutor-icon.css";
8
 
9
  .ui-slider { position: relative; text-align: left; }
10
+ .ui-slider .ui-slider-handle {
11
+ position: absolute;
12
+ z-index: 2;
13
+ width: 15px;
14
+ height: 15px;
15
+ cursor: default;
16
+ top: -6.5px;
17
+ cursor: pointer;
18
+ }
19
  .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
20
 
21
  .ui-slider-horizontal { height: .8em; }
 
22
  .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
23
  .ui-slider-horizontal .ui-slider-range-min { left: 0; }
24
  .ui-slider-horizontal .ui-slider-range-max { right: 0; }
633
  .tutor-addons .wp-filter{
634
  margin: 10px 0 0;
635
  }
636
+ a.addon-buynow-link {
637
+ background: #0073aa;
638
+ color: #fff;
639
+ padding: 5px 10px;
640
+ display: inline-block;
641
+ }
642
  /**
643
  Add-ons list
644
  */
660
  padding: 10px;
661
  border-bottom: 1px solid #eeeeee;
662
  text-align: left;
 
663
  }
664
+ .tutor-addons-list .plugin-icon{
665
+ height: 120px;
666
+ }
667
  .btn-switch {
668
  display: inline-block;
669
  height: 22px;
921
  background: url("../images/spinner.gif") no-repeat center center; }
922
  .tutor-modal-wrap .tutor-modal-content {
923
  max-height: 90%;
924
+ overflow-y: auto;
925
  overflow-x: hidden;
926
  background-color: #fff;
927
  max-width: 730px;
1055
  }
1056
 
1057
  /** Tutor Quiz Modal Form */
1058
+
1059
+ /*notice*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1060
  .tutor-quiz-builder-modal-tabs-notice{
1061
  background: #D8D8D8;
1062
  line-height: 20px;
1067
  color: #A4A4A4;
1068
  text-decoration: underline;
1069
  }
1070
+ /*end notice*/
1071
+
1072
+
1073
+ /* .tutor-quiz-builder-group */
1074
+
1075
+ .tutor-quiz-builder-group{
1076
+ margin-bottom: 25px;
1077
+ }
1078
+
1079
+ .tutor-quiz-builder-group > p.warning{
1080
+ color: red;
1081
+ font-size: 12px;
1082
+ }
1083
+ .tutor-quiz-builder-group > p.help{
1084
+ color: #A4A4A4;
1085
+ font-size: 12px;
1086
+ }
1087
+ .tutor-quiz-builder-group > h4{
1088
+ font-size: 14px;
1089
+ color: #393C40;
1090
+ font-weight: 600;
1091
+ margin: 0 0 15px;
1092
+ }
1093
+
1094
+ .tutor-quiz-builder-row{
1095
+ display: flex;
1096
+ align-items: center;
1097
+ margin-left: -10px;
1098
+ margin-right: -10px;
1099
+ }
1100
+
1101
+ .tutor-quiz-builder-col{
1102
+ padding-left: 10px;
1103
+ padding-right: 10px;
1104
+ flex-grow: 1;
1105
+ }
1106
+ .tutor-quiz-builder-col.auto-width{
1107
+ flex: 0 0 auto;
1108
+ }
1109
+
1110
+ .tutor-quiz-builder-group textarea,
1111
+ .tutor-quiz-builder-group input[type="text"],
1112
+ .tutor-quiz-builder-group input[type="email"],
1113
+ .tutor-quiz-builder-group input[type="number"],
1114
+ .tutor-quiz-builder-group input[type="password"]{
1115
+ line-height: 40px;
1116
+ padding: 5px 0;
1117
+ text-indent: 15px;
1118
+ background: #fff;
1119
+ display: inline-block;
1120
+ border: 1px solid #DEDEDE;
1121
+ border-radius: 3px;
1122
+ box-shadow: none;
1123
+ height: 40px;
1124
+ margin: 0;
1125
+ width: 100%;
1126
+ color: #393C40;
1127
+ font-size: 14px;
1128
+ }
1129
+ .tutor-quiz-builder-group textarea:focus,
1130
+ .tutor-quiz-builder-group input[type="text"]:focus,
1131
+ .tutor-quiz-builder-group input[type="email"]:focus,
1132
+ .tutor-quiz-builder-group input[type="number"]:focus,
1133
+ .tutor-quiz-builder-group input[type="password"]:focus{
1134
+ border-color: #3057D5;
1135
+ }
1136
+
1137
+ .tutor-quiz-builder-group textarea{
1138
+ height: 80px;
1139
+ resize: none;
1140
+ text-indent: 0;
1141
+ padding: 11px 15px;
1142
+ line-height: 22px;
1143
+ }
1144
+
1145
+ .tutor-quiz-builder-group textarea[name="quiz_description"]{
1146
+ height: 150px;
1147
+ }
1148
+
1149
+ .tutor-quiz-builder-group select {
1150
+ border: 1px solid #ccc;
1151
+ box-shadow: none;
1152
+ height: 42px !important;
1153
+ padding: 0 12px !important;
1154
+ margin: 0;
1155
+ }
1156
+
1157
+
1158
+ /*.tutor-quiz-builder-form-row{*/
1159
+ /*margin: 10px 0 25px;*/
1160
+ /*}*/
1161
+ /*.tutor-quiz-builder-form-row input[type="text"], .tutor-quiz-builder-form-row input[type="number"], .tutor-quiz-builder-form-row textarea{*/
1162
+ /*border: 1px solid #DEDEDE;*/
1163
+ /*margin: 0;*/
1164
+ /*padding: 10px;*/
1165
+ /*box-shadow: none;*/
1166
+ /*border-radius: 3px;*/
1167
+ /*}*/
1168
+ /*.tutor-quiz-builder-form-row input[type="text"], .tutor-quiz-builder-form-row input[type="number"]{*/
1169
+ /*height: 42px;*/
1170
+ /*width: 100%;*/
1171
+ /*}*/
1172
+ /*#quiz-builder-tab-quiz-info input[type="text"], #quiz-builder-tab-quiz-info textarea{*/
1173
+ /*width: 100%;*/
1174
+ /*}*/
1175
+
1176
 
1177
  .tutor-quiz-builder-modal-control-btn-group{
1178
  display: flex;
1179
+ margin-top: 20px;
1180
+ }
1181
+
1182
+ .question_form_inner{
1183
+ padding: 0 20px 20px;
1184
+ margin-top: 0;
1185
  }
1186
+
1187
  .tutor-quiz-builder-modal-control-btn-group .quiz-builder-btn-group-left {
1188
  flex: 1;
1189
  }
1202
  }
1203
  .modal-container .tutor-quiz-add-question-btn i{
1204
  color: #3057D5;
1205
+ line-height: 16px;
1206
+ margin-right: 3px;
1207
+ }
1208
+ /*.tutor-quiz-builder-modal-wrap label {*/
1209
+ /*font-size: 14px;*/
1210
+ /*font-weight: 500;*/
1211
+ /*margin-bottom: 10px;*/
1212
+ /*display: block;*/
1213
+ /*}*/
1214
+ /*.tutor-quiz-builder-form-cols-row {*/
1215
+ /*display: flex;*/
1216
+ /*margin-bottom: 20px;*/
1217
+ /*}*/
1218
  .quiz-form-field-col{
1219
  margin-right: 20px;
1220
  }
1229
  margin-right: 20px;
1230
  position: relative;
1231
  }
1232
+ /*.switch-btn-title {*/
1233
+ /*position: absolute;*/
1234
+ /*left: 50px;*/
1235
+ /*width: 300px;*/
1236
+ /*top: -5px;*/
1237
+ /*}*/
1238
+ label.btn-switch input:checked + .btn-slider {
1239
  background-color: #4CD964;
1240
  }
1241
+
1242
+ .btn-switch + span{
1243
+ line-height: 24px;
1244
+ display: inline-block;
1245
+ margin-left: 8px;
1246
+ font-weight: 700;
1247
+ font-size: 14px;
1248
+ }
1249
+
1250
  .tutor-select {
1251
  position: relative;
1252
  }
1259
  background-color: #fff;
1260
  display: flex;
1261
  cursor: pointer;
1262
+ box-sizing: border-box;
1263
+ border-radius: 3px;
1264
  }
1265
  .tutor-select .select-header .lead-option {
1266
  flex: 1;
1374
  padding: 20px;
1375
  }
1376
 
1377
+ /*.tutor-quiz-builder-form-row .quiz-modal-form-help {*/
1378
+ /*color: #A4A4A4;*/
1379
+ /*font-style: italic;*/
1380
+ /*font-weight: 300;*/
1381
+ /*font-size: 12px;*/
1382
+ /*margin-top: 10px !important;*/
1383
+ /*}*/
1384
  #quiz-builder-tab-advanced-options .tutor-quiz-builder-form-cols-row .quiz-form-field-col:first-child{
1385
  flex: 0 0 150px;
1386
  }
1406
  margin-right: 10px;
1407
  line-height: 22px;
1408
  }
1409
+ .quiz-builder-question .question-sorting i{
1410
+ display: block;
1411
+ line-height: 24px;
1412
+ }
1413
  .quiz-builder-question .question-edit-icon{
1414
  line-height: 22px;
1415
  }
1426
  }
1427
  .quiz-builder-qustion-trash a{
1428
  display: block;
1429
+ padding: 0 0 0 10px;
1430
  font-size: 20px;
1431
  color: rgba(57, 60, 64, 0.4);
1432
  line-height: 44px;
1433
  }
 
 
 
 
 
1434
  .tutor-quiz-builder-modal-wrap .tutor-field-type-slider{
1435
  border: 1px solid #DEDEDE;
1436
+ padding: 20px 70px 20px 10px;
1437
  background-color: #ffffff;
1438
+ position: relative;
1439
+ border-radius: 4px;
1440
  }
1441
  .tutor-quiz-builder-modal-wrap .tutor-field-type-slider .ui-widget-content {
1442
  background-color: #3057D5;
1443
  border: none;
1444
+ height: 4px;
1445
+ border-radius: 4px;
1446
  }
1447
  .tutor-quiz-builder-modal-wrap .tutor-field-type-slider .ui-widget-header{
1448
  background: #DEDEDE;
1449
+ border-radius: 4px;
1450
  }
1451
  .tutor-quiz-builder-modal-wrap .tutor-field-type-slider .ui-widget-content .ui-state-default{
1452
  background-color: #3057D5;
1456
  .tutor-quiz-builder-modal-wrap .tutor-field-type-slider .tutor-field-type-slider-value {
1457
  font-size: 16px;
1458
  font-weight: 600;
1459
+ background: #3057D5;
1460
+ position: absolute;
1461
+ right: 5px;
1462
+ top: 50%;
1463
+ margin: 0;
1464
+ transform: translateY(-50%);
1465
+ line-height: 34px;
1466
+ width: 43px;
1467
+ text-align: center;
1468
+ border-radius: 4px;
1469
+ color: #fff;
1470
+ }
1471
+ .tutor-quiz-builder-modal-wrap .tutor-field-type-slider .tutor-field-type-slider-value::before {
1472
+ content: '';
1473
+ position: absolute;
1474
+ border: 7px solid transparent;
1475
+ top: 50%;
1476
+ border-right-color: #3057D5;
1477
+ right: 100%;
1478
+ transform: translateY(-50%);
1479
  }
1480
  .tutor-quiz-answer-wrap {
1481
  display: flex;
assets/js/tutor-admin.js CHANGED
@@ -840,10 +840,10 @@ jQuery(document).ready(function($){
840
  var quiz_description = $('[name="quiz_description"]').val();
841
 
842
  if ( ! quiz_title){
843
- $quizTitle.closest('.tutor-quiz-builder-form-row').find('.quiz_form_msg').html('<p class="quiz-form-warning">Please enter quiz title</p>');
844
  return;
845
  }else{
846
- $quizTitle.closest('.tutor-quiz-builder-form-row').find('.quiz_form_msg').html('');
847
  }
848
 
849
 
840
  var quiz_description = $('[name="quiz_description"]').val();
841
 
842
  if ( ! quiz_title){
843
+ $quizTitle.closest('.tutor-quiz-builder-group').find('.quiz_form_msg').html('Please enter quiz title');
844
  return;
845
  }else{
846
+ $quizTitle.closest('.tutor-quiz-builder-group').find('.quiz_form_msg').html('');
847
  }
848
 
849
 
classes/Addons.php CHANGED
@@ -17,6 +17,52 @@ if ( ! defined( 'ABSPATH' ) )
17
 
18
  class Addons {
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  public function addons_page(){
21
 
22
  if ( false === ( $addons_themes_data = get_transient( 'tutor_addons_themes_data' ) ) ) {
17
 
18
  class Addons {
19
 
20
+ public function __construct() {
21
+ add_filter('tutor_pro_addons_lists_for_display', array($this, 'tutor_addons_lists_to_show'));
22
+ }
23
+
24
+ public function tutor_addons_lists_to_show(){
25
+
26
+ $addons = array(
27
+ 'tutor-certificate' => array(
28
+ 'name' => __('Tutor Certificate', 'tutor-certificate'),
29
+ 'description' => 'Student will able to download certificate of completed course',
30
+ ),
31
+ 'tutor-course-attachments' => array(
32
+ 'name' => __('Tutor Course Attachments', 'tutor-certificate'),
33
+ 'description' => 'Add unlimited attachments/ private files to any Tutor course',
34
+ ),
35
+ 'tutor-course-preview' => array(
36
+ 'name' => __('Tutor Course Preview', 'tutor-certificate'),
37
+ 'description' => 'Open some lesson to check course overview for guest',
38
+ ),
39
+ 'tutor-email' => array(
40
+ 'name' => __('Tutor E-Mail', 'tutor-certificate'),
41
+ 'description' => 'Send email on various tutor events',
42
+ ),
43
+ 'tutor-multi-instructors' => array(
44
+ 'name' => __('Tutor Multi Instructors', 'tutor-certificate'),
45
+ 'description' => 'Start a course with multiple instructors by Tutor Multi Instructors',
46
+ ),
47
+ 'tutor-prerequisites' => array(
48
+ 'name' => __('Tutor Prerequisites', 'tutor-certificate'),
49
+ 'description' => 'Specific course you must complete before you can enroll new course by Tutor Prerequisites',
50
+ ),
51
+ 'tutor-report' => array(
52
+ 'name' => __('Tutor Report', 'tutor-certificate'),
53
+ 'description' => 'Check your tutor assets performance through tutor report',
54
+ ),
55
+ );
56
+
57
+
58
+ return $addons;
59
+ }
60
+
61
+
62
+ /**
63
+ * @deprecated from alpha version
64
+ */
65
+
66
  public function addons_page(){
67
 
68
  if ( false === ( $addons_themes_data = get_transient( 'tutor_addons_themes_data' ) ) ) {
classes/Admin.php CHANGED
@@ -58,10 +58,8 @@ class Admin{
58
  add_submenu_page('tutor', __('Withdraw Requests', 'tutor'), __('Withdraw Requests', 'tutor'), 'manage_tutor_instructor', 'tutor_withdraw_requests', array($this, 'withdraw_requests') );
59
 
60
  //add_submenu_page('tutor', __('Add-ons', 'tutor'), __('Add-ons', 'tutor'), 'manage_tutor', 'tutor-addons', array(new Addons(),'addons_page') );
 
61
 
62
- if (defined('TUTOR_PRO_VERSION')) {
63
- add_submenu_page( 'tutor', __( 'Add-ons', 'tutor' ), __( 'Add-ons', 'tutor' ), 'manage_tutor', 'tutor-addons', array( $this, 'enable_disable_addons' ) );
64
- }
65
 
66
  add_submenu_page('tutor', __('Status', 'tutor'), __('Status', 'tutor'), 'manage_tutor', 'tutor-status', array($this, 'tutor_status') );
67
 
@@ -108,7 +106,12 @@ class Admin{
108
  }
109
 
110
  public function enable_disable_addons(){
111
- include tutor()->path.'views/pages/enable_disable_addons.php';
 
 
 
 
 
112
  }
113
 
114
  public function tutor_status(){
58
  add_submenu_page('tutor', __('Withdraw Requests', 'tutor'), __('Withdraw Requests', 'tutor'), 'manage_tutor_instructor', 'tutor_withdraw_requests', array($this, 'withdraw_requests') );
59
 
60
  //add_submenu_page('tutor', __('Add-ons', 'tutor'), __('Add-ons', 'tutor'), 'manage_tutor', 'tutor-addons', array(new Addons(),'addons_page') );
61
+ add_submenu_page( 'tutor', __( 'Add-ons', 'tutor' ), __( 'Add-ons', 'tutor' ), 'manage_tutor', 'tutor-addons', array( $this, 'enable_disable_addons' ) );
62
 
 
 
 
63
 
64
  add_submenu_page('tutor', __('Status', 'tutor'), __('Status', 'tutor'), 'manage_tutor', 'tutor-status', array($this, 'tutor_status') );
65
 
106
  }
107
 
108
  public function enable_disable_addons(){
109
+
110
+ if (defined('TUTOR_PRO_VERSION')) {
111
+ include tutor()->path.'views/pages/enable_disable_addons.php';
112
+ }else{
113
+ include tutor()->path.'views/pages/tutor-pro-addons.php';
114
+ }
115
  }
116
 
117
  public function tutor_status(){
classes/Tutor.php CHANGED
@@ -24,6 +24,7 @@ final class Tutor{
24
  public $options;
25
  public $shortcode;
26
 
 
27
  private $post_types;
28
  private $assets;
29
  private $course;
@@ -81,6 +82,7 @@ final class Tutor{
81
 
82
  do_action('tutor_before_load');
83
 
 
84
  $this->post_types = new Post_types();
85
  $this->assets = new Assets();
86
  $this->admin = new Admin();
24
  public $options;
25
  public $shortcode;
26
 
27
+ private $addons;
28
  private $post_types;
29
  private $assets;
30
  private $course;
82
 
83
  do_action('tutor_before_load');
84
 
85
+ $this->addons = new Addons();
86
  $this->post_types = new Post_types();
87
  $this->assets = new Assets();
88
  $this->admin = new Admin();
classes/Withdraw.php CHANGED
@@ -84,12 +84,11 @@ class Withdraw {
84
  'method_name' => __('ECHECK', 'tutor'),
85
 
86
  'form_fields' => array(
87
- 'bank_name' => array(
88
  'type' => 'textarea',
89
  'label' => __('Your Physical Address', 'tutor'),
90
  'desc' => __('We will send you an ECHECK to this address directly.', 'tutor'),
91
  ),
92
-
93
  ),
94
  ),
95
 
@@ -97,7 +96,7 @@ class Withdraw {
97
  'method_name' => __('PayPal Payment', 'tutor'),
98
 
99
  'form_fields' => array(
100
- 'bank_name' => array(
101
  'type' => 'email',
102
  'label' => __('PayPal E-Mail Address', 'tutor'),
103
  'desc' => __('Write your paypal email address to get payout directly to your paypal account', 'tutor'),
84
  'method_name' => __('ECHECK', 'tutor'),
85
 
86
  'form_fields' => array(
87
+ 'physical_address' => array(
88
  'type' => 'textarea',
89
  'label' => __('Your Physical Address', 'tutor'),
90
  'desc' => __('We will send you an ECHECK to this address directly.', 'tutor'),
91
  ),
 
92
  ),
93
  ),
94
 
96
  'method_name' => __('PayPal Payment', 'tutor'),
97
 
98
  'form_fields' => array(
99
+ 'paypal_email' => array(
100
  'type' => 'email',
101
  'label' => __('PayPal E-Mail Address', 'tutor'),
102
  'desc' => __('Write your paypal email address to get payout directly to your paypal account', 'tutor'),
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: lms, course, elearning, education, quiz, training, sell courses, courses,
5
  Requires at least: 4.5
6
  Tested up to: 5.1
7
  Requires PHP: 5.4.0
8
- Stable tag: 1.2.0
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -206,6 +206,13 @@ Tutor enables you to use any third party plugins without facing any compatibilit
206
 
207
  == Changelog ==
208
 
 
 
 
 
 
 
 
209
  = 1.2.0 - 19 April, 2019 =
210
 
211
  * Added: Earning calculation, report, statements at front dashboard
5
  Requires at least: 4.5
6
  Tested up to: 5.1
7
  Requires PHP: 5.4.0
8
+ Stable tag: 1.2.1
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
206
 
207
  == Changelog ==
208
 
209
+ = 1.2.1 - 23 April, 2019 =
210
+
211
+ * Added: email field type at withdrawals methods form generator
212
+ * Added: addon lists added to regular version when the pro is not exists
213
+ * Fixed: Some design issue in quiz builder
214
+ * Fixed: Paypal E-Mail field name, physical address field name at e-check method
215
+
216
  = 1.2.0 - 19 April, 2019 =
217
 
218
  * Added: Earning calculation, report, statements at front dashboard
templates/dashboard/my-profile.php CHANGED
@@ -28,8 +28,6 @@
28
 
29
  <label for="withdraw_method_select_<?php echo $method_id; ?>">
30
  <p><?php echo tutor_utils()->avalue_dot('method_name', $method); ?></p>
31
-
32
-
33
  <small><?php _e('Min withdraw', 'tutor'); ?> <?php echo tutor_utils()->tutor_price($min_withdraw_amount);
34
  ?></small>
35
  </label>
28
 
29
  <label for="withdraw_method_select_<?php echo $method_id; ?>">
30
  <p><?php echo tutor_utils()->avalue_dot('method_name', $method); ?></p>
 
 
31
  <small><?php _e('Min withdraw', 'tutor'); ?> <?php echo tutor_utils()->tutor_price($min_withdraw_amount);
32
  ?></small>
33
  </label>
templates/dashboard/withdraw-method-fields/email.php ADDED
@@ -0,0 +1,2 @@
 
 
1
+
2
+ <input type="email" name="withdraw_method_field[<?php echo $method_id ?>][<?php echo $field_name ?>]" value="<?php echo $old_value; ?>" >
tutor.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Tutor LMS
4
  Plugin URI: http://https://themeum.com/tutor
5
  Description: Tutor is a complete solution for creating a Learning Management System in WordPress way. It can help you to create small to large scale online education site very conveniently. Power features like report, certificate, course preview, private file sharing make Tutor a robust plugin for any educational institutes.
6
  Author: Themeum
7
- Version: 1.2.0
8
  Author URI: http://themeum.com
9
  Requires at least: 4.5
10
  Tested up to: 5.1
@@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) )
17
  /**
18
  * Defined the tutor main file
19
  */
20
- define('TUTOR_VERSION', '1.2.0');
21
  define('TUTOR_FILE', __FILE__);
22
 
23
 
4
  Plugin URI: http://https://themeum.com/tutor
5
  Description: Tutor is a complete solution for creating a Learning Management System in WordPress way. It can help you to create small to large scale online education site very conveniently. Power features like report, certificate, course preview, private file sharing make Tutor a robust plugin for any educational institutes.
6
  Author: Themeum
7
+ Version: 1.2.1
8
  Author URI: http://themeum.com
9
  Requires at least: 4.5
10
  Tested up to: 5.1
17
  /**
18
  * Defined the tutor main file
19
  */
20
+ define('TUTOR_VERSION', '1.2.1');
21
  define('TUTOR_FILE', __FILE__);
22
 
23
 
views/modal/add_quiz.php CHANGED
@@ -29,22 +29,24 @@ if ( ! empty($_POST['tutor_quiz_builder_quiz_id'])){
29
 
30
 
31
  <div id="tutor-quiz-builder-modal-tabs-container" class="tutor-quiz-builder-modal-tabs-container">
32
-
33
  <div id="quiz-builder-tab-quiz-info" class="quiz-builder-tab-container">
34
-
35
  <div class="quiz-builder-tab-body">
36
- <div class="tutor-quiz-builder-form-row">
37
- <input type="text" name="quiz_title" placeholder="<?php _e('Type your quiz title here', 'tutor'); ?>">
38
-
39
- <div class="quiz_form_msg"></div>
 
 
 
40
  </div>
41
-
42
- <div class="tutor-quiz-builder-form-row">
43
- <textarea name="quiz_description" rows="5"></textarea>
 
 
 
44
  </div>
45
  </div>
46
-
47
-
48
  <div class="tutor-quiz-builder-modal-control-btn-group">
49
  <div class="quiz-builder-btn-group-left">
50
  <a href="#quiz-builder-tab-questions" class="quiz-modal-tab-navigation-btn quiz-modal-btn-first-step"><?php _e('Save &amp; Next', 'tutor'); ?></a>
@@ -54,18 +56,11 @@ if ( ! empty($_POST['tutor_quiz_builder_quiz_id'])){
54
  ?></a>
55
  </div>
56
  </div>
57
-
58
-
59
  </div>
60
-
61
  <div id="quiz-builder-tab-questions" class="quiz-builder-tab-container" style="display: none;">
62
-
63
  <div class="quiz-builder-tab-body">
64
  <h1>Questions</h1>
65
  </div>
66
-
67
-
68
-
69
  <div class="tutor-quiz-builder-modal-control-btn-group">
70
  <div class="quiz-builder-btn-group-left">
71
  <a href="#quiz-builder-tab-quiz-info" class="quiz-modal-tab-navigation-btn quiz-modal-btn-back"><?php _e('Back', 'tutor');
@@ -77,20 +72,12 @@ if ( ! empty($_POST['tutor_quiz_builder_quiz_id'])){
77
  ?></a>
78
  </div>
79
  </div>
80
-
81
-
82
  </div>
83
 
84
  <div id="quiz-builder-tab-settings" class="quiz-builder-tab-container" style="display: none;">
85
-
86
-
87
  <div class="quiz-builder-tab-body">
88
  <h1>Settings</h1>
89
  </div>
90
-
91
-
92
-
93
-
94
  <div class="tutor-quiz-builder-modal-control-btn-group">
95
  <div class="quiz-builder-btn-group-left">
96
  <a href="#quiz-builder-tab-questions" class="quiz-modal-tab-navigation-btn quiz-modal-btn-back"><?php _e('Back', 'tutor');
29
 
30
 
31
  <div id="tutor-quiz-builder-modal-tabs-container" class="tutor-quiz-builder-modal-tabs-container">
 
32
  <div id="quiz-builder-tab-quiz-info" class="quiz-builder-tab-container">
 
33
  <div class="quiz-builder-tab-body">
34
+ <div class="tutor-quiz-builder-group">
35
+ <div class="tutor-quiz-builder-row">
36
+ <div class="tutor-quiz-builder-col">
37
+ <input type="text" name="quiz_title" placeholder="<?php _e('Type your quiz title here', 'tutor'); ?>">
38
+ </div>
39
+ </div>
40
+ <p class="warning quiz_form_msg"></p>
41
  </div>
42
+ <div class="tutor-quiz-builder-group">
43
+ <div class="tutor-quiz-builder-row">
44
+ <div class="tutor-quiz-builder-col">
45
+ <textarea name="quiz_description" rows="5"></textarea>
46
+ </div>
47
+ </div>
48
  </div>
49
  </div>
 
 
50
  <div class="tutor-quiz-builder-modal-control-btn-group">
51
  <div class="quiz-builder-btn-group-left">
52
  <a href="#quiz-builder-tab-questions" class="quiz-modal-tab-navigation-btn quiz-modal-btn-first-step"><?php _e('Save &amp; Next', 'tutor'); ?></a>
56
  ?></a>
57
  </div>
58
  </div>
 
 
59
  </div>
 
60
  <div id="quiz-builder-tab-questions" class="quiz-builder-tab-container" style="display: none;">
 
61
  <div class="quiz-builder-tab-body">
62
  <h1>Questions</h1>
63
  </div>
 
 
 
64
  <div class="tutor-quiz-builder-modal-control-btn-group">
65
  <div class="quiz-builder-btn-group-left">
66
  <a href="#quiz-builder-tab-quiz-info" class="quiz-modal-tab-navigation-btn quiz-modal-btn-back"><?php _e('Back', 'tutor');
72
  ?></a>
73
  </div>
74
  </div>
 
 
75
  </div>
76
 
77
  <div id="quiz-builder-tab-settings" class="quiz-builder-tab-container" style="display: none;">
 
 
78
  <div class="quiz-builder-tab-body">
79
  <h1>Settings</h1>
80
  </div>
 
 
 
 
81
  <div class="tutor-quiz-builder-modal-control-btn-group">
82
  <div class="quiz-builder-btn-group-left">
83
  <a href="#quiz-builder-tab-questions" class="quiz-modal-tab-navigation-btn quiz-modal-btn-back"><?php _e('Back', 'tutor');
views/modal/edit_quiz.php CHANGED
@@ -39,19 +39,23 @@ if ( ! $quiz){
39
 
40
 
41
  <div id="tutor-quiz-builder-modal-tabs-container" class="tutor-quiz-builder-modal-tabs-container">
42
-
43
  <div id="quiz-builder-tab-quiz-info" class="quiz-builder-tab-container">
44
-
45
  <div class="quiz-builder-tab-body">
46
- <div class="tutor-quiz-builder-form-row">
47
- <input type="text" name="quiz_title" placeholder="<?php _e('Type your quiz title here', 'tutor'); ?>" value="<?php echo
48
- $quiz->post_title; ?>">
49
-
50
- <div class="quiz_form_msg"></div>
 
 
 
51
  </div>
52
-
53
- <div class="tutor-quiz-builder-form-row">
54
- <textarea name="quiz_description" rows="5"><?php echo $quiz->post_content; ?></textarea>
 
 
 
55
  </div>
56
  </div>
57
 
@@ -135,19 +139,14 @@ if ( ! $quiz){
135
  <div class="quiz-builder-tab-body">
136
 
137
  <div class="quiz-builder-modal-settins">
138
-
139
- <div class="tutor-quiz-builder-form-row">
140
- <div class="tutor-quiz-builder-form-cols-row">
141
- <label><?php _e('Time Limit', 'tutor'); ?></label>
142
- </div>
143
- <div class="tutor-quiz-builder-form-cols-row">
144
- <div class="quiz-form-field-col">
145
  <input type="text" name="quiz_option[time_limit][time_value]" value="<?php echo tutor_utils()->get_quiz_option($quiz_id, 'time_limit.time_value', 0) ?>">
146
  </div>
147
-
148
- <div class="quiz-form-field-col">
149
- <?php $limit_time_type = tutor_utils()->get_quiz_option($quiz_id, 'time_limit.time_type', 'minutes') ?>
150
-
151
  <select name="quiz_option[time_limit][time_type]">
152
  <option value="seconds" <?php selected('seconds', $limit_time_type); ?> ><?php _e('Seconds', 'tutor'); ?></option>
153
  <option value="minutes" <?php selected('minutes', $limit_time_type); ?> ><?php _e('Minutes', 'tutor'); ?></option>
@@ -156,67 +155,57 @@ if ( ! $quiz){
156
  <option value="weeks" <?php selected('weeks', $limit_time_type); ?> ><?php _e('Weeks', 'tutor'); ?></option>
157
  </select>
158
  </div>
159
-
160
- <div class="quiz-form-field-col">
161
- <div class="quiz-form-field-col">
162
- <label class="btn-switch">
163
- <input type="checkbox" value="1" name="quiz_option[hide_quiz_time_display]" <?php checked('1', tutor_utils()->get_quiz_option($quiz_id, 'hide_quiz_time_display')); ?> />
164
- <div class="btn-slider btn-round"></div>
165
- </label>
166
- <label><?php _e('Hide quiz time - display', 'tutor'); ?></label>
167
- </div>
168
  </div>
169
  </div>
170
-
171
- <p class="quiz-modal-form-help"><?php _e('Time limit for this quiz. 0 means no time limit.', 'tutor'); ?></p>
172
- </div>
173
-
174
-
175
- <div class="tutor-quiz-builder-form-row">
176
- <label><?php _e('Attempts Allowed', 'tutor'); ?> <span>(<?php _e('Optional', 'tutor'); ?>)</span> </label>
177
- <div class="quiz-modal-field-wrap">
178
-
179
- <?php
180
- $default_attempts_allowed = tutor_utils()->get_option('quiz_attempts_allowed');
181
- $attempts_allowed = tutor_utils()->get_quiz_option($quiz_id, 'attempts_allowed', $default_attempts_allowed);
182
- ?>
183
-
184
- <div class="tutor-field-type-slider" data-min="0" data-max="20">
185
- <p class="tutor-field-type-slider-value"><?php echo $attempts_allowed; ?></p>
186
- <div class="tutor-field-slider"></div>
187
- <input type="hidden" value="<?php echo $attempts_allowed; ?>" name="quiz_option[attempts_allowed]" />
188
  </div>
189
-
190
- <p class="quiz-modal-form-help"><?php _e('Restriction on the number of attempts a student is allowed to take for this quiz. 0 for no limit', 'tutor'); ?></p>
191
  </div>
192
- </div>
 
193
 
194
- <div class="tutor-quiz-builder-form-row">
195
- <label><?php _e('Passing Grade', 'tutor'); ?> </label>
196
- <div class="tutor-quiz-builder-form-cols-row">
197
- <div class="quiz-form-field-col">
198
  <input type="number" name="quiz_option[passing_grade]" value="<?php echo tutor_utils()->get_quiz_option($quiz_id, 'passing_grade', 80) ?>" size="10">
199
  </div>
200
-
201
- <div class="quiz-form-field-col">
202
- %
203
- </div>
204
  </div>
205
- <p class="quiz-modal-form-help"><?php _e('Set the passing percentage for this quiz', 'tutor'); ?></p>
206
- </div>
207
-
208
- <div class="tutor-quiz-builder-form-row">
209
- <label for=""><?php _e('Max questions allowed to answer', 'tutor'); ?></label>
210
- <div class="quiz-modal-field-wrap">
211
- <input type="number" name="quiz_option[max_questions_for_answer]" value="<?php echo tutor_utils()->get_quiz_option($quiz_id, 'max_questions_for_answer', 10) ?>">
 
 
212
  </div>
213
- <p class="quiz-modal-form-help"><?php _e('This amount of question will be available for students to answer, and question will comes randomly from all available questions belongs with a quiz, if this amount greater then available question, then all questions will be available for a student to answer.', 'tutor'); ?></p>
214
- </div>
215
 
216
  </div>
217
-
218
-
219
-
220
  </div>
221
 
222
  <div class="tutor-quiz-builder-modal-control-btn-group">
@@ -232,73 +221,60 @@ if ( ! $quiz){
232
 
233
  <div id="quiz-builder-tab-advanced-options" class="quiz-builder-tab-container" style="display: none;">
234
 
235
- <div class="tutor-quiz-builder-form-row">
236
- <div class="tutor-quiz-builder-form-cols-row">
237
- <div class="quiz-form-field-col">
238
- <label><?php _e('Quiz Auto Start', 'tutor'); ?></label>
239
- </div>
240
 
241
- <div class="quiz-form-field-col">
 
 
242
  <label class="btn-switch">
243
  <input type="checkbox" value="1" name="quiz_option[quiz_auto_start]" <?php checked('1', tutor_utils()->get_quiz_option($quiz_id, 'quiz_auto_start')); ?> />
244
  <div class="btn-slider btn-round"></div>
245
  </label>
246
- <p class="quiz-modal-form-help"><?php _e('If you enable this option, the quiz will start automatically after the page is loaded.', 'tutor'); ?></p>
247
  </div>
248
  </div>
 
249
  </div>
250
 
251
- <div class="tutor-quiz-builder-form-row">
252
- <div class="tutor-quiz-builder-form-cols-row">
253
- <div class="quiz-form-field-col">
254
- <label><?php _e('Question Layout', 'tutor'); ?></label>
255
- </div>
256
-
257
- <div class="quiz-form-field-col">
258
-
259
  <select name="quiz_option[question_layout_view]">
260
  <option value=""><?php _e('Set question layout view', 'tutor'); ?></option>
261
  <option value="single_question" <?php selected('single_question', tutor_utils()->get_quiz_option($quiz_id, 'question_layout_view')); ?>> <?php _e('Single Question', 'tutor'); ?> </option>
262
  <option value="question_pagination" <?php selected('question_pagination', tutor_utils()->get_quiz_option($quiz_id, 'question_layout_view') ); ?>> <?php _e('Question Pagination', 'tutor'); ?> </option>
263
  <option value="question_below_each_other" <?php selected('question_below_each_other', tutor_utils()->get_quiz_option($quiz_id, 'question_layout_view') ); ?>> <?php _e('Question below each other', 'tutor'); ?> </option>
264
  </select>
265
-
266
  </div>
267
  </div>
268
  </div>
269
 
270
- <div class="tutor-quiz-builder-form-row">
271
- <div class="tutor-quiz-builder-form-cols-row">
272
- <div class="quiz-form-field-col">
273
- <label><?php _e('Hide question number', 'tutor'); ?></label>
274
- </div>
275
 
276
- <div class="quiz-form-field-col">
 
 
277
  <label class="btn-switch">
278
  <input type="checkbox" value="1" name="quiz_option[hide_question_number_overview]" <?php checked('1', tutor_utils()->get_quiz_option($quiz_id, 'hide_question_number_overview')); ?> />
279
  <div class="btn-slider btn-round"></div>
280
  </label>
281
- <p class="quiz-modal-form-help"><?php _e('Show/hide question number during attempt.', 'tutor'); ?></p>
282
  </div>
283
  </div>
 
284
  </div>
285
 
286
-
287
- <div class="tutor-quiz-builder-form-row">
288
- <div class="tutor-quiz-builder-form-cols-row">
289
- <div class="quiz-form-field-col">
290
- <label><?php _e('Short answer characters limit', 'tutor'); ?></label>
291
- </div>
292
-
293
- <div class="quiz-form-field-col">
294
  <input type="number" name="quiz_option[short_answer_characters_limit]" value="<?php echo tutor_utils()->get_quiz_option
295
  ($quiz_id, 'short_answer_characters_limit', 200); ?>" >
296
- <p class="quiz-modal-form-help"><?php _e('Student will place answer in short answer question type within this characters limit.', 'tutor');
297
- ?></p>
298
  </div>
299
  </div>
 
300
  </div>
301
 
 
302
  <div class="tutor-quiz-builder-modal-control-btn-group">
303
  <div class="quiz-builder-btn-group-left">
304
  <a href="#quiz-builder-tab-settings" class="quiz-modal-tab-navigation-btn quiz-modal-btn-back"><?php _e('Back', 'tutor'); ?></a>
39
 
40
 
41
  <div id="tutor-quiz-builder-modal-tabs-container" class="tutor-quiz-builder-modal-tabs-container">
 
42
  <div id="quiz-builder-tab-quiz-info" class="quiz-builder-tab-container">
 
43
  <div class="quiz-builder-tab-body">
44
+ <div class="tutor-quiz-builder-group">
45
+ <div class="tutor-quiz-builder-row">
46
+ <div class="tutor-quiz-builder-col">
47
+ <input type="text" name="quiz_title" placeholder="<?php _e('Type your quiz title here', 'tutor'); ?>" value="<?php echo
48
+ $quiz->post_title; ?>">
49
+ </div>
50
+ </div>
51
+ <p class="warning quiz_form_msg"></p>
52
  </div>
53
+ <div class="tutor-quiz-builder-group">
54
+ <div class="tutor-quiz-builder-row">
55
+ <div class="tutor-quiz-builder-col">
56
+ <textarea name="quiz_description" rows="5"><?php echo $quiz->post_content; ?></textarea>
57
+ </div>
58
+ </div>
59
  </div>
60
  </div>
61
 
139
  <div class="quiz-builder-tab-body">
140
 
141
  <div class="quiz-builder-modal-settins">
142
+ <div class="tutor-quiz-builder-group">
143
+ <h4> <?php _e('Time Limit', 'tutor'); ?> </h4>
144
+ <div class="tutor-quiz-builder-row">
145
+ <div class="tutor-quiz-builder-col auto-width">
 
 
 
146
  <input type="text" name="quiz_option[time_limit][time_value]" value="<?php echo tutor_utils()->get_quiz_option($quiz_id, 'time_limit.time_value', 0) ?>">
147
  </div>
148
+ <div class="tutor-quiz-builder-col auto-width">
149
+ <?php $limit_time_type = tutor_utils()->get_quiz_option($quiz_id, 'time_limit.time_type', 'minutes') ?>
 
 
150
  <select name="quiz_option[time_limit][time_type]">
151
  <option value="seconds" <?php selected('seconds', $limit_time_type); ?> ><?php _e('Seconds', 'tutor'); ?></option>
152
  <option value="minutes" <?php selected('minutes', $limit_time_type); ?> ><?php _e('Minutes', 'tutor'); ?></option>
155
  <option value="weeks" <?php selected('weeks', $limit_time_type); ?> ><?php _e('Weeks', 'tutor'); ?></option>
156
  </select>
157
  </div>
158
+ <div class="tutor-quiz-builder-col auto-width">
159
+ <label class="btn-switch">
160
+ <input type="checkbox" value="1" name="quiz_option[hide_quiz_time_display]" <?php checked('1', tutor_utils()->get_quiz_option($quiz_id, 'hide_quiz_time_display')); ?> />
161
+ <div class="btn-slider btn-round"></div>
162
+ </label>
163
+ <span><?php _e('Hide quiz time - display', 'tutor'); ?></span>
 
 
 
164
  </div>
165
  </div>
166
+ <p class="help"><?php _e('Time limit for this quiz. 0 means no time limit.', 'tutor'); ?></p>
167
+ </div> <!-- .tutor-quiz-builder-group -->
168
+
169
+ <div class="tutor-quiz-builder-group">
170
+ <h4><?php _e('Attempts Allowed', 'tutor'); ?> <span>(<?php _e('Optional', 'tutor'); ?>)</span></h4>
171
+ <div class="tutor-quiz-builder-row">
172
+ <div class="tutor-quiz-builder-col">
173
+ <?php
174
+ $default_attempts_allowed = tutor_utils()->get_option('quiz_attempts_allowed');
175
+ $attempts_allowed = tutor_utils()->get_quiz_option($quiz_id, 'attempts_allowed', $default_attempts_allowed);
176
+ ?>
177
+
178
+ <div class="tutor-field-type-slider" data-min="0" data-max="20">
179
+ <p class="tutor-field-type-slider-value"><?php echo $attempts_allowed; ?></p>
180
+ <div class="tutor-field-slider"></div>
181
+ <input type="hidden" value="<?php echo $attempts_allowed; ?>" name="quiz_option[attempts_allowed]" />
182
+ </div>
 
183
  </div>
 
 
184
  </div>
185
+ <p class="help"><?php _e('Restriction on the number of attempts a student is allowed to take for this quiz. 0 for no limit', 'tutor'); ?></p>
186
+ </div> <!-- .tutor-quiz-builder-group -->
187
 
188
+ <div class="tutor-quiz-builder-group">
189
+ <h4><?php _e('Passing Grade (%)', 'tutor'); ?></h4>
190
+ <div class="tutor-quiz-builder-row">
191
+ <div class="tutor-quiz-builder-col">
192
  <input type="number" name="quiz_option[passing_grade]" value="<?php echo tutor_utils()->get_quiz_option($quiz_id, 'passing_grade', 80) ?>" size="10">
193
  </div>
 
 
 
 
194
  </div>
195
+ <p class="help"><?php _e('Set the passing percentage for this quiz', 'tutor'); ?></p>
196
+ </div> <!-- .tutor-quiz-builder-group -->
197
+
198
+ <div class="tutor-quiz-builder-group">
199
+ <h4><?php _e('Max questions allowed to answer', 'tutor'); ?></h4>
200
+ <div class="tutor-quiz-builder-row">
201
+ <div class="tutor-quiz-builder-col">
202
+ <input type="number" name="quiz_option[max_questions_for_answer]" value="<?php echo tutor_utils()->get_quiz_option($quiz_id, 'max_questions_for_answer', 10) ?>">
203
+ </div>
204
  </div>
205
+ <p class="help"><?php _e('This amount of question will be available for students to answer, and question will comes randomly from all available questions belongs with a quiz, if this amount greater then available question, then all questions will be available for a student to answer.', 'tutor'); ?></p>
206
+ </div> <!-- .tutor-quiz-builder-group -->
207
 
208
  </div>
 
 
 
209
  </div>
210
 
211
  <div class="tutor-quiz-builder-modal-control-btn-group">
221
 
222
  <div id="quiz-builder-tab-advanced-options" class="quiz-builder-tab-container" style="display: none;">
223
 
 
 
 
 
 
224
 
225
+ <div class="tutor-quiz-builder-group">
226
+ <div class="tutor-quiz-builder-row">
227
+ <div class="tutor-quiz-builder-col auto-width">
228
  <label class="btn-switch">
229
  <input type="checkbox" value="1" name="quiz_option[quiz_auto_start]" <?php checked('1', tutor_utils()->get_quiz_option($quiz_id, 'quiz_auto_start')); ?> />
230
  <div class="btn-slider btn-round"></div>
231
  </label>
232
+ <span><?php _e('Quiz Auto Start', 'tutor'); ?></span>
233
  </div>
234
  </div>
235
+ <p class="help"><?php _e('If you enable this option, the quiz will start automatically after the page is loaded.', 'tutor'); ?></p>
236
  </div>
237
 
238
+ <div class="tutor-quiz-builder-group">
239
+ <h4><?php _e('Question Layout', 'tutor'); ?></h4>
240
+ <div class="tutor-quiz-builder-row">
241
+ <div class="tutor-quiz-builder-col auto-width">
 
 
 
 
242
  <select name="quiz_option[question_layout_view]">
243
  <option value=""><?php _e('Set question layout view', 'tutor'); ?></option>
244
  <option value="single_question" <?php selected('single_question', tutor_utils()->get_quiz_option($quiz_id, 'question_layout_view')); ?>> <?php _e('Single Question', 'tutor'); ?> </option>
245
  <option value="question_pagination" <?php selected('question_pagination', tutor_utils()->get_quiz_option($quiz_id, 'question_layout_view') ); ?>> <?php _e('Question Pagination', 'tutor'); ?> </option>
246
  <option value="question_below_each_other" <?php selected('question_below_each_other', tutor_utils()->get_quiz_option($quiz_id, 'question_layout_view') ); ?>> <?php _e('Question below each other', 'tutor'); ?> </option>
247
  </select>
 
248
  </div>
249
  </div>
250
  </div>
251
 
 
 
 
 
 
252
 
253
+ <div class="tutor-quiz-builder-group">
254
+ <div class="tutor-quiz-builder-row">
255
+ <div class="tutor-quiz-builder-col auto-width">
256
  <label class="btn-switch">
257
  <input type="checkbox" value="1" name="quiz_option[hide_question_number_overview]" <?php checked('1', tutor_utils()->get_quiz_option($quiz_id, 'hide_question_number_overview')); ?> />
258
  <div class="btn-slider btn-round"></div>
259
  </label>
260
+ <span><?php _e('Hide question number', 'tutor'); ?></span>
261
  </div>
262
  </div>
263
+ <p class="help"><?php _e('Show/hide question number during attempt.', 'tutor'); ?></p>
264
  </div>
265
 
266
+ <div class="tutor-quiz-builder-group">
267
+ <h4><?php _e('Short answer characters limit', 'tutor'); ?></h4>
268
+ <div class="tutor-quiz-builder-row">
269
+ <div class="tutor-quiz-builder-col">
 
 
 
 
270
  <input type="number" name="quiz_option[short_answer_characters_limit]" value="<?php echo tutor_utils()->get_quiz_option
271
  ($quiz_id, 'short_answer_characters_limit', 200); ?>" >
 
 
272
  </div>
273
  </div>
274
+ <p class="help"><?php _e('Student will place answer in short answer question type within this characters limit.', 'tutor'); ?></p>
275
  </div>
276
 
277
+
278
  <div class="tutor-quiz-builder-modal-control-btn-group">
279
  <div class="quiz-builder-btn-group-left">
280
  <a href="#quiz-builder-tab-settings" class="quiz-modal-tab-navigation-btn quiz-modal-btn-back"><?php _e('Back', 'tutor'); ?></a>
views/modal/question_form.php CHANGED
@@ -17,57 +17,55 @@ $settings = maybe_unserialize($question->question_settings);
17
 
18
  <div class="quiz_question_form">
19
 
20
- <div class="tutor-quiz-builder-form-row">
21
- <label><?php _e('Write your question here', 'tutor'); ?></label>
22
- <div class="quiz-modal-field-wrap">
23
- <input type="text" name="tutor_quiz_question[<?php echo $question_id; ?>][question_title]" placeholder="<?php _e('Type your quiz title here',
24
- 'tutor'); ?>" value="<?php echo $question->question_title; ?>">
 
25
  </div>
26
  </div>
27
 
 
 
 
 
 
 
 
 
 
 
28
 
29
- <div class="tutor-quiz-builder-form-row">
30
- <div class="tutor-quiz-builder-form-cols-row">
31
- <div class="quiz-form-field-col">
32
- <label><?php _e('Question Type', 'tutor'); ?></label>
33
- <div class="quiz-modal-field-wrap">
34
-
35
- <div class="tutor-select">
36
- <div class="select-header">
37
- <span class="lead-option"> <i class="tutor-icon-yes-no"></i> True or False </span>
38
- <span class="select-dropdown"><i class="tutor-icon-light-down"></i> </span>
39
- <input type="hidden" class="tutor_select_value_holder" name="tutor_quiz_question[<?php echo $question_id; ?>][question_type]" value="" >
40
- </div>
41
 
42
- <?php $question_types = tutor_utils()->get_question_types();
43
 
 
44
 
45
- ?>
 
 
46
 
47
- <div class="tutor-select-options" style="display: none;">
48
- <?php
49
- $has_tutor_pro = tutor()->has_pro;
 
50
 
51
- foreach ($question_types as $type => $question_type){
 
 
 
52
  ?>
53
- <p class="tutor-select-option" data-value="<?php echo $type; ?>" <?php echo $question->question_type===$type ? ' data-selected="selected"' : ''; ?> data-is-pro="<?php echo (! $has_tutor_pro && $question_type['is_pro']) ? 'true' : 'false' ?>" >
54
- <?php echo $question_type['icon'].' '.$question_type['name']; ?>
55
-
56
- <?php
57
- if (! $has_tutor_pro && $question_type['is_pro']){
58
- echo '<span class="question-type-pro">PRO</span>';
59
- }
60
- ?>
61
- </p>
62
  <?php
63
- }
64
- ?>
65
- <!--<p class="tutor-select-option" data-value="true_false" <?php /*echo $question->question_type === 'true_false' ? ' data-selected="selected"' : ''; */?> >
66
  <i class="tutor-icon-block tutor-icon-yes-no"></i> <?php /*_e('True False'); */?>
67
  </p>-->
68
 
69
 
70
- <!--<p class="tutor-select-option" data-value="single_choice" <?php /*echo $question->question_type === 'single_choice' ? ' data-selected="selected"' : ''; */?>>
71
  <i class="tutor-icon-block tutor-icon-mark"></i> <?php /*_e('Single Choice'); */?>
72
  </p>
73
  <p class="tutor-select-option" data-value="multiple_choice" <?php /*echo $question->question_type === 'multiple_choice' ? ' data-selected="selected"' : ''; */?>>
@@ -94,163 +92,161 @@ $settings = maybe_unserialize($question->question_settings);
94
  <p class="tutor-select-option" data-value="ordering" <?php /*echo $question->question_type === 'ordering' ? ' data-selected="selected"' : ''; */?>>
95
  <i class="tutor-icon-block tutor-icon-ordering"></i> <?php /*_e('Ordering', 'tutor'); */?>
96
  </p>-->
97
- </div>
98
  </div>
99
-
100
  </div>
101
  </div>
 
 
102
 
103
- <div class="quiz-form-field-col">
104
- <div class="quiz-modal-field-wrap">
105
- <div class="quiz-modal-switch-field">
106
- <label class="btn-switch">
107
- <input type="checkbox" value="1" name="tutor_quiz_question[<?php echo $question_id; ?>][answer_required]" <?php checked('1', tutor_utils()->avalue_dot('answer_required', $settings)); ?> />
108
- <div class="btn-slider btn-round"></div>
109
- </label>
110
- <label><?php _e('Answer Required', 'tutor'); ?></label>
111
- </div>
112
- </div>
113
  </div>
114
-
115
- <div class="quiz-form-field-col">
116
- <div class="quiz-modal-field-wrap">
117
- <div class="quiz-modal-switch-field">
118
- <label class="btn-switch">
119
- <input type="checkbox" value="1" name="tutor_quiz_question[<?php echo $question_id; ?>][randomize_question]" <?php checked('1', tutor_utils()->avalue_dot('randomize_question', $settings)); ?> />
120
- <div class="btn-slider btn-round"></div>
121
- </label>
122
- <label><?php _e('Randomize', 'tutor'); ?></label>
123
- </div>
124
- </div>
125
  </div>
126
  </div>
127
  </div>
128
 
129
-
130
- <div class="tutor-quiz-builder-form-row">
131
-
132
- <div class="tutor-quiz-builder-form-cols-row">
133
- <div class="quiz-form-field-col">
134
- <label><?php _e('Mark for this question', 'tutor'); ?></label>
135
- <div class="quiz-modal-field-wrap">
136
- <input type="text" name="tutor_quiz_question[<?php echo $question_id; ?>][question_mark]" placeholder="<?php _e('set the mark ex. 10', 'tutor'); ?>" value="<?php
137
- echo $question->question_mark; ?>">
138
- </div>
139
  </div>
 
 
140
 
141
- <div class="quiz-form-field-col">
142
- <div class="quiz-modal-field-wrap">
143
- <div class="quiz-modal-switch-field">
144
- <label class="btn-switch">
145
- <input type="checkbox" value="1" name="tutor_quiz_question[<?php echo $question_id; ?>][show_question_mark]" <?php checked('1', tutor_utils()->avalue_dot('show_question_mark', $settings)); ?> />
146
- <div class="btn-slider btn-round"></div>
147
- </label>
148
- <label><?php _e('Show marks', 'tutor'); ?></label>
149
- </div>
150
- </div>
151
  </div>
152
  </div>
153
-
154
  </div>
155
 
156
- <div class="tutor-quiz-builder-form-row">
157
- <label><?php _e('Description', 'tutor'); ?> <span>(<?php _e('Optional', 'tutor'); ?>)</span> </label>
158
- <div class="quiz-modal-field-wrap">
159
- <textarea name="tutor_quiz_question[<?php echo $question_id; ?>][question_description]"><?php echo $question->question_description;?></textarea>
 
 
160
  </div>
161
  </div>
162
 
163
-
164
- <div class="tutor-quiz-builder-form-row">
165
-
166
-
167
- <div id="tuotr_question_options_for_quiz" class="quiz-modal-field-wrap">
168
- <div id="tutor_quiz_question_answers" data-question-id="<?php echo $question_id; ?>">
169
- <?php
170
- switch ($question->question_type){
171
- case 'true_false':
172
- echo '<label>'.__('Answer options &amp; mark correct', 'tutor').'</label>';
173
- break;
174
- case 'ordering':
175
- echo '<label>'.__('Student should order below items exact this order, make sure your answer is in right order, you can re-order them', 'tutor').'</label>';
176
- break;
177
- }
178
-
179
- $answers = $wpdb->get_results("SELECT * FROM {$wpdb->prefix}tutor_quiz_question_answers where belongs_question_id = {$question_id} AND belongs_question_type = '{$question->question_type}' order by answer_order asc ;");
180
- if (is_array($answers) && count($answers)){
181
- foreach ($answers as $answer){
182
- ?>
183
- <div class="tutor-quiz-answer-wrap" data-answer-id="<?php echo $answer->answer_id; ?>">
184
- <div class="tutor-quiz-answer">
 
 
 
185
  <span class="tutor-quiz-answer-title">
186
  <?php
187
  echo $answer->answer_title;
188
  if ($answer->belongs_question_type === 'fill_in_the_blank'){
189
- echo ' ('.__('Answer', 'tutor').' : ';
190
- echo "<strong>{$answer->answer_two_gap_match} </strong>)";
191
  }
192
  if ($answer->belongs_question_type === 'matching'){
193
- echo " - {$answer->answer_two_gap_match}";
194
  }
195
  ?>
196
  </span>
197
 
198
- <?php
199
- if ($answer->image_id){
200
- echo '<span class="tutor-question-answer-image"><img src="'.wp_get_attachment_image_url($answer->image_id).'" /> </span>';
201
- }
202
- if ($question->question_type === 'true_false' || $question->question_type === 'single_choice'){
203
- ?>
204
- <span class="tutor-quiz-answers-mark-correct-wrap">
205
  <input type="radio" name="mark_as_correct[<?php echo $answer->belongs_question_id; ?>]"
206
  value="<?php echo $answer->answer_id; ?>" title="<?php _e('Mark as correct', 'tutor'); ?>" <?php checked(1, $answer->is_correct); ?> >
207
  </span>
208
- <?php
209
- }elseif ($question->question_type === 'multiple_choice'){
210
- ?>
211
- <span class="tutor-quiz-answers-mark-correct-wrap">
212
  <input type="checkbox" name="mark_as_correct[<?php echo $answer->belongs_question_id; ?>]"
213
  value="<?php echo $answer->answer_id; ?>" title="<?php _e('Mark as correct', 'tutor'); ?>" <?php checked(1, $answer->is_correct); ?> >
214
  </span>
215
- <?php
216
- }
217
- ?>
218
- <span class="tutor-quiz-answer-edit">
219
  <a href="javascript:;"><i class="tutor-icon-pencil"></i> </a>
220
  </span>
221
- <span class="tutor-quiz-answer-sort-icon"><i class="tutor-icon-menu-2"></i> </span>
222
- </div>
223
-
224
- <div class="tutor-quiz-answer-trash-wrap">
225
- <a href="javascript:;" class="answer-trash-btn" data-answer-id="<?php echo $answer->answer_id; ?>"><i class="tutor-icon-garbage"></i> </a>
226
- </div>
227
- </div>
228
- <?php
229
- }
230
- }
231
- ?>
232
- </div>
233
 
234
 
235
- <div id="tutor_quiz_question_answer_form"></div>
236
 
237
 
238
- <a href="javascript:;" class="add_question_answers_option" data-question-id="<?php echo $question_id; ?>">
239
- <i class="tutor-icon-block tutor-icon-plus"></i>
240
- <?php _e('Add An Option', 'tutor'); ?>
241
- </a>
 
 
242
  </div>
243
  </div>
244
 
245
  </div>
246
 
 
 
 
247
  </div>
248
 
249
 
250
 
251
 
252
 
253
- <div class="tutor-quiz-builder-modal-control-btn-group">
254
  <div class="quiz-builder-btn-group-left">
255
  <a href="javascript:;" class="quiz-modal-tab-navigation-btn quiz-modal-question-save-btn"><?php _e('Save &amp; Continue', 'tutor');
256
  ?></a>
17
 
18
  <div class="quiz_question_form">
19
 
20
+ <div class="tutor-quiz-builder-group">
21
+ <h4><?php _e('Write your question here', 'tutor'); ?></h4>
22
+ <div class="tutor-quiz-builder-row">
23
+ <div class="tutor-quiz-builder-col">
24
+ <input type="text" name="tutor_quiz_question[<?php echo $question_id; ?>][question_title]" placeholder="<?php _e('Type your quiz title here', 'tutor'); ?>" value="<?php echo $question->question_title; ?>">
25
+ </div>
26
  </div>
27
  </div>
28
 
29
+ <div class="tutor-quiz-builder-group">
30
+ <h4><?php _e('Question Type', 'tutor'); ?></h4>
31
+ <div class="tutor-quiz-builder-row">
32
+ <div class="tutor-quiz-builder-col">
33
+ <div class="tutor-select">
34
+ <div class="select-header">
35
+ <span class="lead-option"> <i class="tutor-icon-yes-no"></i> True or False </span>
36
+ <span class="select-dropdown"><i class="tutor-icon-light-down"></i> </span>
37
+ <input type="hidden" class="tutor_select_value_holder" name="tutor_quiz_question[<?php echo $question_id; ?>][question_type]" value="" >
38
+ </div>
39
 
40
+ <?php $question_types = tutor_utils()->get_question_types();
 
 
 
 
 
 
 
 
 
 
 
41
 
 
42
 
43
+ ?>
44
 
45
+ <div class="tutor-select-options" style="display: none;">
46
+ <?php
47
+ $has_tutor_pro = tutor()->has_pro;
48
 
49
+ foreach ($question_types as $type => $question_type){
50
+ ?>
51
+ <p class="tutor-select-option" data-value="<?php echo $type; ?>" <?php echo $question->question_type===$type ? ' data-selected="selected"' : ''; ?> data-is-pro="<?php echo (! $has_tutor_pro && $question_type['is_pro']) ? 'true' : 'false' ?>" >
52
+ <?php echo $question_type['icon'].' '.$question_type['name']; ?>
53
 
54
+ <?php
55
+ if (! $has_tutor_pro && $question_type['is_pro']){
56
+ echo '<span class="question-type-pro">PRO</span>';
57
+ }
58
  ?>
59
+ </p>
 
 
 
 
 
 
 
 
60
  <?php
61
+ }
62
+ ?>
63
+ <!--<p class="tutor-select-option" data-value="true_false" <?php /*echo $question->question_type === 'true_false' ? ' data-selected="selected"' : ''; */?> >
64
  <i class="tutor-icon-block tutor-icon-yes-no"></i> <?php /*_e('True False'); */?>
65
  </p>-->
66
 
67
 
68
+ <!--<p class="tutor-select-option" data-value="single_choice" <?php /*echo $question->question_type === 'single_choice' ? ' data-selected="selected"' : ''; */?>>
69
  <i class="tutor-icon-block tutor-icon-mark"></i> <?php /*_e('Single Choice'); */?>
70
  </p>
71
  <p class="tutor-select-option" data-value="multiple_choice" <?php /*echo $question->question_type === 'multiple_choice' ? ' data-selected="selected"' : ''; */?>>
92
  <p class="tutor-select-option" data-value="ordering" <?php /*echo $question->question_type === 'ordering' ? ' data-selected="selected"' : ''; */?>>
93
  <i class="tutor-icon-block tutor-icon-ordering"></i> <?php /*_e('Ordering', 'tutor'); */?>
94
  </p>-->
 
95
  </div>
 
96
  </div>
97
  </div>
98
+ </div>
99
+ </div>
100
 
101
+ <div class="tutor-quiz-builder-group">
102
+ <div class="tutor-quiz-builder-row">
103
+ <div class="tutor-quiz-builder-col auto-width">
104
+ <label class="btn-switch">
105
+ <input type="checkbox" value="1" name="tutor_quiz_question[<?php echo $question_id; ?>][answer_required]" <?php checked('1', tutor_utils()->avalue_dot('answer_required', $settings)); ?> />
106
+ <div class="btn-slider btn-round"></div>
107
+ </label>
108
+ <span><?php _e('Answer Required', 'tutor'); ?></span>
 
 
109
  </div>
110
+ <div class="tutor-quiz-builder-col auto-width">
111
+ <label class="btn-switch">
112
+ <input type="checkbox" value="1" name="tutor_quiz_question[<?php echo $question_id; ?>][randomize_question]" <?php checked('1', tutor_utils()->avalue_dot('randomize_question', $settings)); ?> />
113
+ <div class="btn-slider btn-round"></div>
114
+ </label>
115
+ <span><?php _e('Randomize', 'tutor'); ?></span>
 
 
 
 
 
116
  </div>
117
  </div>
118
  </div>
119
 
120
+ <div class="tutor-quiz-builder-group">
121
+ <h4><?php _e('Mark for this question', 'tutor'); ?></h4>
122
+ <div class="tutor-quiz-builder-row">
123
+ <div class="tutor-quiz-builder-col">
124
+ <input type="text" name="tutor_quiz_question[<?php echo $question_id; ?>][question_mark]" placeholder="<?php _e('set the mark ex. 10', 'tutor'); ?>" value="<?php
125
+ echo $question->question_mark; ?>">
 
 
 
 
126
  </div>
127
+ </div>
128
+ </div>
129
 
130
+ <div class="tutor-quiz-builder-group">
131
+ <div class="tutor-quiz-builder-row">
132
+ <div class="tutor-quiz-builder-col auto-width">
133
+ <label class="btn-switch">
134
+ <input type="checkbox" value="1" name="tutor_quiz_question[<?php echo $question_id; ?>][show_question_mark]" <?php checked('1', tutor_utils()->avalue_dot('show_question_mark', $settings)); ?> />
135
+ <div class="btn-slider btn-round"></div>
136
+ </label>
137
+ <span><?php _e('Show marks', 'tutor'); ?></span>
 
 
138
  </div>
139
  </div>
 
140
  </div>
141
 
142
+ <div class="tutor-quiz-builder-group">
143
+ <h4><?php _e('Description', 'tutor'); ?> <span>(<?php _e('Optional', 'tutor'); ?>)</span></h4>
144
+ <div class="tutor-quiz-builder-row">
145
+ <div class="tutor-quiz-builder-col">
146
+ <textarea name="tutor_quiz_question[<?php echo $question_id; ?>][question_description]"><?php echo $question->question_description;?></textarea>
147
+ </div>
148
  </div>
149
  </div>
150
 
151
+ <div class="tutor-quiz-builder-group">
152
+ <h4>
153
+ <?php
154
+ switch ($question->question_type){
155
+ case 'true_false':
156
+ echo __('Answer options &amp; mark correct', 'tutor');
157
+ break;
158
+ case 'ordering':
159
+ echo __('Student should order below items exact this order, make sure your answer is in right order, you can re-order them', 'tutor');
160
+ break;
161
+ }
162
+ ?>
163
+ </h4>
164
+ <div class="tutor-quiz-builder-row">
165
+ <div class="tutor-quiz-builder-col">
166
+ <div id="tuotr_question_options_for_quiz" class="quiz-modal-field-wrap">
167
+ <div id="tutor_quiz_question_answers" data-question-id="<?php echo $question_id; ?>">
168
+ <?php
169
+
170
+ $answers = $wpdb->get_results("SELECT * FROM {$wpdb->prefix}tutor_quiz_question_answers where belongs_question_id = {$question_id} AND belongs_question_type = '{$question->question_type}' order by answer_order asc ;");
171
+ if (is_array($answers) && count($answers)){
172
+ foreach ($answers as $answer){
173
+ ?>
174
+ <div class="tutor-quiz-answer-wrap" data-answer-id="<?php echo $answer->answer_id; ?>">
175
+ <div class="tutor-quiz-answer">
176
  <span class="tutor-quiz-answer-title">
177
  <?php
178
  echo $answer->answer_title;
179
  if ($answer->belongs_question_type === 'fill_in_the_blank'){
180
+ echo ' ('.__('Answer', 'tutor').' : ';
181
+ echo "<strong>{$answer->answer_two_gap_match} </strong>)";
182
  }
183
  if ($answer->belongs_question_type === 'matching'){
184
+ echo " - {$answer->answer_two_gap_match}";
185
  }
186
  ?>
187
  </span>
188
 
189
+ <?php
190
+ if ($answer->image_id){
191
+ echo '<span class="tutor-question-answer-image"><img src="'.wp_get_attachment_image_url($answer->image_id).'" /> </span>';
192
+ }
193
+ if ($question->question_type === 'true_false' || $question->question_type === 'single_choice'){
194
+ ?>
195
+ <span class="tutor-quiz-answers-mark-correct-wrap">
196
  <input type="radio" name="mark_as_correct[<?php echo $answer->belongs_question_id; ?>]"
197
  value="<?php echo $answer->answer_id; ?>" title="<?php _e('Mark as correct', 'tutor'); ?>" <?php checked(1, $answer->is_correct); ?> >
198
  </span>
199
+ <?php
200
+ }elseif ($question->question_type === 'multiple_choice'){
201
+ ?>
202
+ <span class="tutor-quiz-answers-mark-correct-wrap">
203
  <input type="checkbox" name="mark_as_correct[<?php echo $answer->belongs_question_id; ?>]"
204
  value="<?php echo $answer->answer_id; ?>" title="<?php _e('Mark as correct', 'tutor'); ?>" <?php checked(1, $answer->is_correct); ?> >
205
  </span>
206
+ <?php
207
+ }
208
+ ?>
209
+ <span class="tutor-quiz-answer-edit">
210
  <a href="javascript:;"><i class="tutor-icon-pencil"></i> </a>
211
  </span>
212
+ <span class="tutor-quiz-answer-sort-icon"><i class="tutor-icon-menu-2"></i> </span>
213
+ </div>
214
+
215
+ <div class="tutor-quiz-answer-trash-wrap">
216
+ <a href="javascript:;" class="answer-trash-btn" data-answer-id="<?php echo $answer->answer_id; ?>"><i class="tutor-icon-garbage"></i> </a>
217
+ </div>
218
+ </div>
219
+ <?php
220
+ }
221
+ }
222
+ ?>
223
+ </div>
224
 
225
 
226
+ <div id="tutor_quiz_question_answer_form"></div>
227
 
228
 
229
+ <a href="javascript:;" class="add_question_answers_option" data-question-id="<?php echo $question_id; ?>">
230
+ <i class="tutor-icon-block tutor-icon-plus"></i>
231
+ <?php _e('Add An Option', 'tutor'); ?>
232
+ </a>
233
+ </div>
234
+ </div>
235
  </div>
236
  </div>
237
 
238
  </div>
239
 
240
+
241
+ </div>
242
+
243
  </div>
244
 
245
 
246
 
247
 
248
 
249
+ <div class="tutor-quiz-builder-modal-control-btn-group question_form_inner">
250
  <div class="quiz-builder-btn-group-left">
251
  <a href="javascript:;" class="quiz-modal-tab-navigation-btn quiz-modal-question-save-btn"><?php _e('Save &amp; Continue', 'tutor');
252
  ?></a>
views/pages/enable_disable_addons.php CHANGED
@@ -4,6 +4,7 @@
4
  <br class="clear">
5
  <?php
6
  $addons = apply_filters('tutor_addons_lists_config', array());
 
7
  if (is_array($addons) && count($addons)){
8
  ?>
9
  <div class="wp-list-table widefat plugin-install">
@@ -13,7 +14,13 @@
13
  $addonConfig = tutor_utils()->get_addon_config($basName);
14
  $isEnable = (bool) tutor_utils()->avalue_dot('is_enable', $addonConfig);
15
 
16
- $thumbnailURL = file_exists($addon['path'].'assets/images/thumbnail.png') ? $addon['url'].'assets/images/thumbnail.png':tutor()->url.'assets/images/tutor-plugin.png';
 
 
 
 
 
 
17
  ?>
18
  <div class="plugin-card plugin-card-akismet">
19
  <div class="plugin-card-top">
@@ -43,7 +50,7 @@
43
  </div>
44
  <div class="plugin-card-bottom">
45
  <?php
46
- echo "<div class='plugin-version'> " . __( 'Version', 'tutor' ) . " : {$addon['version']}</div>";
47
  ?>
48
  </div>
49
  </div>
4
  <br class="clear">
5
  <?php
6
  $addons = apply_filters('tutor_addons_lists_config', array());
7
+
8
  if (is_array($addons) && count($addons)){
9
  ?>
10
  <div class="wp-list-table widefat plugin-install">
14
  $addonConfig = tutor_utils()->get_addon_config($basName);
15
  $isEnable = (bool) tutor_utils()->avalue_dot('is_enable', $addonConfig);
16
 
17
+ $thumbnailURL = tutor()->url.'assets/images/tutor-plugin.png';
18
+ if (file_exists($addon['path'].'assets/images/thumbnail.png') ){
19
+ $thumbnailURL = $addon['url'].'assets/images/thumbnail.png';
20
+ }elseif (file_exists($addon['path'].'assets/images/thumbnail.svg')){
21
+ $thumbnailURL = $addon['url'].'assets/images/thumbnail.svg';
22
+ }
23
+
24
  ?>
25
  <div class="plugin-card plugin-card-akismet">
26
  <div class="plugin-card-top">
50
  </div>
51
  <div class="plugin-card-bottom">
52
  <?php
53
+ echo "<div class='plugin-version'> " . __( 'Version', 'tutor' ) . " : ".TUTOR_VERSION." </div>";
54
  ?>
55
  </div>
56
  </div>
views/pages/tutor-pro-addons.php ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap">
2
+ <div class="tutor-addons-list">
3
+ <h3 class="addon-list-heading"><?php _e('Available Pro Addons', 'tutor'); ?></h3>
4
+ <br class="clear">
5
+ <?php
6
+ $addons = apply_filters('tutor_pro_addons_lists_for_display', array());
7
+
8
+ if (is_array($addons) && count($addons)){
9
+ ?>
10
+ <div class="wp-list-table widefat plugin-install">
11
+ <div id="the-list">
12
+ <?php
13
+
14
+ foreach ( $addons as $basName => $addon ) {
15
+ $addonConfig = tutor_utils()->get_addon_config($basName);
16
+
17
+ $addons_path = trailingslashit(tutor()->path."assets/addons/{$basName}");
18
+ $addons_url = trailingslashit(tutor()->url."assets/addons/{$basName}");
19
+
20
+ $thumbnailURL = tutor()->url.'assets/images/tutor-plugin.png';
21
+
22
+ if (file_exists($addons_path.'thumbnail.png') ){
23
+ $thumbnailURL = $addons_url.'thumbnail.png';
24
+ }elseif (file_exists($addons_path.'thumbnail.svg')){
25
+ $thumbnailURL = $addons_url.'thumbnail.svg';
26
+ }
27
+
28
+ ?>
29
+ <div class="plugin-card plugin-card-akismet">
30
+ <div class="plugin-card-top">
31
+ <div class="name column-name">
32
+ <h3>
33
+ <?php
34
+ echo $addon['name'];
35
+ echo "<img src='{$thumbnailURL}' class='plugin-icon' alt=''>";
36
+ ?>
37
+ </h3>
38
+ </div>
39
+ <div class="action-links">
40
+ <ul class="plugin-action-buttons">
41
+ <li>
42
+ <a href="https://www.themeum.com/product/tutor-lms/?utm_source=tutor&utm_medium=addons_lists&utm_campaign=tutor_addons_lists"
43
+ class="addon-buynow-link" target="_blank">Buy Now</a>
44
+ </li>
45
+ </ul>
46
+ </div>
47
+ <div class="desc column-description">
48
+ <p><?php echo $addon['description']; ?></p>
49
+ <p class="authors"><cite>By <a href="https://www.themeum.com/?utm_source=tutor&utm_medium=addons_lists&utm_campaign=tutor_addons_lists" target="_blank">Themeum</a></cite></p>
50
+ </div>
51
+ </div>
52
+ <div class="plugin-card-bottom">
53
+ <?php
54
+ echo "<div class='plugin-version'> " . __( 'Version', 'tutor' ) . " : ".TUTOR_VERSION." </div>";
55
+ ?>
56
+ </div>
57
+ </div>
58
+ <?php }
59
+ ?>
60
+ </div>
61
+ </div>
62
+
63
+ <br class="clear">
64
+ <?php
65
+ }
66
+ ?>
67
+ </div>
68
+ </div>