Version Description
- Compatibility: WordPress 5.2.2
- Added: advanced repeat type.
- Added: Speaker name to notifications
- Added: Functions to display widgets separately (For using in custom single event page)
- Added: do_action('mec_{skin_name}_skin_head'); at top of each shortcode
- Added: M.E. Calendar blocks to make it compatible with WordPress Block editor
- Added: Change settings styling to tabs
- Fixed: Page not scrolled to booking section when the button is clicked
- Fixed: Speaker popup in Divi theme
- Fixed: Display speakers in modal view
- Fixed: W3 validation for shortcodes
- Fixed: Full calendar search form
- Fixed: Sticky in settings
- Fixed: saving issue of categorized setting options in backend.
- Fixed: Some minor issues
Download this release
Release Info
Developer | webnus |
Plugin | Modern Events Calendar Lite |
Version | 4.3.5 |
Comparing to | |
See all releases |
Code changes from version 4.3.2 to 4.3.5
- app/features/events.php +3126 -2551
- app/features/fes.php +9 -0
- app/features/fes/form.php +222 -0
- app/features/mec.php +60 -0
- app/features/mec/booking.php +609 -0
- app/features/mec/dashboard.php +1 -0
- app/features/mec/gateways.php +93 -9
- app/features/mec/ie.php +95 -11
- app/features/mec/messages.php +95 -11
- app/features/mec/modules.php +640 -0
- app/features/mec/notifications.php +108 -39
- app/features/mec/regform.php +93 -9
- app/features/mec/settings.php +150 -908
- app/features/mec/single.php +467 -0
- app/features/mec/styles.php +94 -9
- app/features/mec/styling.php +98 -27
- app/features/mec/support.php +1 -1
- app/libraries/factory.php +20 -11
- app/libraries/main.php +92 -2
- app/libraries/notifications.php +6 -1
- app/libraries/render.php +72 -5
- app/libraries/skins.php +6 -6
- app/modules/booking/default.php +3 -0
- app/modules/speakers/details.php +1 -1
- app/skins/agenda/tpl.php +1 -0
- app/skins/available_spot/tpl.php +1 -0
- app/skins/carousel/render.php +11 -4
- app/skins/carousel/tpl.php +1 -0
- app/skins/countdown/tpl.php +1 -0
- app/skins/cover/tpl.php +1 -0
- app/skins/daily_view/tpl.php +1 -0
- app/skins/full_calendar/tpl.php +16 -24
- app/skins/grid/render.php +21 -5
- app/skins/grid/tpl.php +1 -0
- app/skins/list/render.php +9 -4
- app/skins/list/tpl.php +1 -0
- app/skins/map/tpl.php +1 -0
- app/skins/masonry/tpl.php +1 -0
- app/skins/monthly_view/calendar.php +1 -1
- app/skins/monthly_view/tpl.php +1 -0
- app/skins/single.php +402 -4
- app/skins/single/builder.php +3 -1
- app/skins/single/default.php +12 -3
- app/skins/single/m1.php +25 -2
- app/skins/single/m2.php +12 -2
- app/skins/single/modern.php +9 -2
- app/skins/slider/tpl.php +1 -0
- app/skins/timetable/tpl.php +1 -1
- app/skins/weekly_view/tpl.php +1 -0
- app/skins/yearly_view/tpl.php +1 -0
- assets/css/backend.css +4428 -1459
- assets/css/backend.min.css +2 -2
app/features/events.php
CHANGED
@@ -1,2685 +1,3260 @@
|
|
1 |
<?php
|
2 |
/** no direct access **/
|
3 |
-
defined(
|
4 |
|
5 |
/**
|
6 |
* Webnus MEC events class.
|
7 |
*
|
8 |
* @author Webnus <info@webnus.biz>
|
9 |
*/
|
10 |
-
class MEC_feature_events extends MEC_base
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
427 |
<?php
|
428 |
-
|
429 |
-
|
430 |
-
|
|
|
431 |
">
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
508 |
<?php
|
509 |
-
|
510 |
-
|
511 |
-
|
|
|
512 |
">
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
608 |
<div class="box top">
|
609 |
<h5 class="title"><?php _e('Time Comment', 'modern-events-calendar-lite'); ?></h5>
|
610 |
-
<div class="content"><p><?php esc_attr_e('It shows next to event time on single event page. You can insert Timezone etc. in this field.', 'modern-events-calendar-lite');
|
|
|
|
|
611 |
</div>
|
612 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
613 |
-
</span>
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
701 |
<div class="box top">
|
702 |
<h5 class="title"><?php _e('Custom Days Repeating', 'modern-events-calendar-lite'); ?></h5>
|
703 |
-
<div class="content"><p><?php esc_attr_e('Add certain days to event occurrence dates. If you have single day event, start and end date should be the same, If you have multiple day event the start and end dates must be commensurate with the initial date.', 'modern-events-calendar-lite');
|
|
|
|
|
704 |
</div>
|
705 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
706 |
-
</span>
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
767 |
<div class="box top">
|
768 |
<h5 class="title"><?php _e('Occurrences times', 'modern-events-calendar-lite'); ?></h5>
|
769 |
-
<div class="content"><p><?php esc_attr_e('The event will finish after certain repeats. For example if you set it to 10, the event will finish after 10 repeats.', 'modern-events-calendar-lite');
|
|
|
|
|
770 |
</div>
|
771 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
772 |
-
</span>
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
805 |
<div class="box top">
|
806 |
<h5 class="title"><?php _e('Exclude certain days', 'modern-events-calendar-lite'); ?></h5>
|
807 |
-
<div class="content"><p><?php esc_attr_e('Exclude certain days from event occurrence dates. Please note that you can exclude only single day occurrences and you cannot exclude one day from multiple day occurrences.', 'modern-events-calendar-lite');
|
|
|
|
|
808 |
</div>
|
809 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
810 |
-
</span>
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
|
823 |
-
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
-
|
830 |
-
|
831 |
-
|
832 |
-
|
833 |
-
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
-
|
941 |
-
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
961 |
-
|
962 |
-
|
963 |
-
|
964 |
-
|
965 |
-
|
966 |
-
|
967 |
-
|
968 |
-
|
969 |
-
|
970 |
-
|
971 |
-
|
972 |
-
|
973 |
-
|
974 |
-
|
975 |
-
|
976 |
-
|
977 |
-
|
978 |
-
|
979 |
-
|
980 |
-
|
981 |
-
|
982 |
-
|
983 |
-
|
984 |
-
|
985 |
-
|
986 |
-
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
-
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
|
999 |
-
|
1000 |
-
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1007 |
<div class="box top">
|
1008 |
<h5 class="title"><?php _e('Event Link', 'modern-events-calendar-lite'); ?></h5>
|
1009 |
-
<div class="content"><p><?php esc_attr_e('If you fill it, it will be replaced instead of default event page link. Insert full link including http(s):// - Also, if you use advertising URL, can use URL Shortener', 'modern-events-calendar-lite');
|
|
|
|
|
1010 |
</div>
|
1011 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1012 |
-
</span>
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
|
|
|
|
|
|
|
|
|
|
1023 |
<div class="box top">
|
1024 |
<h5 class="title"><?php _e('More Info', 'modern-events-calendar-lite'); ?></h5>
|
1025 |
-
<div class="content"><p><?php esc_attr_e('If you fill it, it will be shown in event details page as an optional link. Insert full link including http(s)://', 'modern-events-calendar-lite');
|
|
|
|
|
1026 |
</div>
|
1027 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1028 |
-
</span>
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
-
|
1060 |
-
|
1061 |
-
|
1062 |
-
|
1063 |
-
|
1064 |
-
|
1065 |
-
|
1066 |
-
|
1067 |
-
|
1068 |
-
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
1072 |
-
|
1073 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1074 |
<?php
|
1075 |
-
|
1076 |
-
|
1077 |
-
|
1078 |
-
|
1079 |
-
|
1080 |
-
|
|
|
1081 |
<div class="box">
|
1082 |
<h5 class="title"><?php _e('Total booking limits', 'modern-events-calendar-lite'); ?></h5>
|
1083 |
-
<div class="content"><p><?php esc_attr_e('If you want to set a limit to all tickets, uncheck this checkbox and put a limitation number.', 'modern-events-calendar-lite');
|
|
|
|
|
|
|
|
|
1084 |
</div>
|
1085 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1086 |
-
</span>
|
1087 |
-
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
1104 |
-
|
1105 |
-
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
-
|
1137 |
-
|
1138 |
-
|
1139 |
-
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
-
|
1159 |
-
|
1160 |
-
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
-
|
1179 |
-
|
1180 |
-
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
1187 |
-
|
1188 |
-
|
1189 |
-
|
1190 |
-
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1209 |
<span class="mec-col-4">
|
1210 |
-
<input type="text" name="mec[tickets][<?php echo $key; ?>][price]"
|
|
|
|
|
1211 |
<span class="mec-tooltip">
|
1212 |
<div class="box top">
|
1213 |
<h5 class="title"><?php _e('Price', 'modern-events-calendar-lite'); ?></h5>
|
1214 |
-
<div class="content"><p><?php esc_attr_e('Insert 0 for free ticket. Only numbers please.', 'modern-events-calendar-lite');
|
|
|
|
|
1215 |
</div>
|
1216 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1217 |
-
</span>
|
1218 |
</span>
|
1219 |
-
|
1220 |
-
<input type="text" name="mec[tickets][<?php echo $key; ?>][price_label]"
|
|
|
|
|
|
|
1221 |
<span class="mec-tooltip">
|
1222 |
<div class="box top">
|
1223 |
<h5 class="title"><?php _e('Price Label', 'modern-events-calendar-lite'); ?></h5>
|
1224 |
-
<div class="content"><p><?php esc_attr_e('For showing on website. e.g. $15', 'modern-events-calendar-lite');
|
|
|
|
|
1225 |
</div>
|
1226 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1227 |
-
</span>
|
1228 |
</span>
|
1229 |
-
|
1230 |
-
|
1231 |
-
|
1232 |
-
|
1233 |
-
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1243 |
</div>
|
1244 |
-
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
<?php for ( $k = 0; $k <= 11; $k++ ) : ?>
|
1310 |
-
<option value="<?php echo ( $k * 5 ); ?>"><?php echo sprintf( '%02d', ( $k * 5 ) ); ?></option>
|
1311 |
-
<?php endfor; ?>
|
1312 |
-
</select>
|
1313 |
-
<select name="mec[tickets][:i:][ticket_start_time_ampm]">
|
1314 |
-
<option selected="selected" value="AM"><?php _e( 'AM', 'modern-events-calendar-lite'); ?></option>
|
1315 |
-
<option value="PM"><?php _e( 'PM', 'modern-events-calendar-lite'); ?></option>
|
1316 |
-
</select>
|
1317 |
-
</div>
|
1318 |
-
<div class="mec-ticket-start-time mec-col-12">
|
1319 |
-
<span><?php esc_html_e( 'End Time', 'modern-events-calendar-lite'); ?></span>
|
1320 |
-
<select name="mec[tickets][:i:][ticket_end_time_hour]">
|
1321 |
-
<?php for ( $j = 1; $j <= 12; $j++ ) : ?>
|
1322 |
-
<option
|
1323 |
-
<?php
|
1324 |
-
if ( 6 == $j ) {
|
1325 |
-
echo 'selected="selected"';}
|
1326 |
-
?>
|
1327 |
-
value="<?php echo $j; ?>"><?php echo $j; ?></option>
|
1328 |
-
<?php endfor; ?>
|
1329 |
-
</select>
|
1330 |
-
<span class="time-dv">:</span>
|
1331 |
-
<select name="mec[tickets][:i:][ticket_end_time_minute]">
|
1332 |
-
<?php for ( $k = 0; $k <= 11; $k++ ) : ?>
|
1333 |
-
<option value="<?php echo ( $k * 5 ); ?>"><?php echo sprintf( '%02d', ( $k * 5 ) ); ?></option>
|
1334 |
-
<?php endfor; ?>
|
1335 |
-
</select>
|
1336 |
-
<select name="mec[tickets][:i:][ticket_end_time_ampm]">
|
1337 |
-
<option value="AM"><?php _e( 'AM', 'modern-events-calendar-lite'); ?></option>
|
1338 |
-
<option selected="selected" value="PM"><?php _e( 'PM', 'modern-events-calendar-lite'); ?></option>
|
1339 |
-
</select>
|
1340 |
-
</div>
|
1341 |
-
</div>
|
1342 |
-
<div class="mec-form-row">
|
1343 |
-
<input class="mec-col-12" type="text" name="mec[tickets][:i:][description]" placeholder="<?php esc_attr_e( 'Description', 'modern-events-calendar-lite'); ?>" />
|
1344 |
-
</div>
|
1345 |
-
<div class="mec-form-row">
|
1346 |
<span class="mec-col-4">
|
1347 |
-
<input type="text" name="mec[tickets][:i:][price]"
|
|
|
1348 |
<span class="mec-tooltip">
|
1349 |
<div class="box top">
|
1350 |
<h5 class="title"><?php _e('Price', 'modern-events-calendar-lite'); ?></h5>
|
1351 |
-
<div class="content"><p><?php esc_attr_e('Insert 0 for free ticket. Only numbers please.', 'modern-events-calendar-lite');
|
|
|
|
|
1352 |
</div>
|
1353 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1354 |
-
</span>
|
1355 |
</span>
|
1356 |
-
|
1357 |
-
<input type="text" name="mec[tickets][:i:][price_label]"
|
|
|
1358 |
<span class="mec-tooltip">
|
1359 |
<div class="box top">
|
1360 |
<h5 class="title"><?php _e('Price Label', 'modern-events-calendar-lite'); ?></h5>
|
1361 |
-
<div class="content"><p><?php esc_attr_e('For showing on website. e.g. $15', 'modern-events-calendar-lite');
|
|
|
|
|
1362 |
</div>
|
1363 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1364 |
-
</span>
|
1365 |
</span>
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
1409 |
-
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
1439 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1440 |
<?php
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
|
|
1444 |
">
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
1449 |
-
|
1450 |
-
|
1451 |
-
|
1452 |
-
|
1453 |
-
|
1454 |
-
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
|
|
|
|
|
|
1461 |
<span class="mec-col-4">
|
1462 |
-
<input type="text" name="mec[fees][<?php echo $i; ?>][amount]"
|
|
|
|
|
1463 |
<span class="mec-tooltip">
|
1464 |
<div class="box top">
|
1465 |
<h5 class="title"><?php _e('Amount', 'modern-events-calendar-lite'); ?></h5>
|
1466 |
-
<div class="content"><p><?php esc_attr_e('Fee amount, considered as fixed amount if you set the type to amount otherwise considered as percentage', 'modern-events-calendar-lite');
|
|
|
|
|
1467 |
</div>
|
1468 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1469 |
-
</span>
|
1470 |
</span>
|
1471 |
-
|
1472 |
<select name="mec[fees][<?php echo $i; ?>][type]">
|
1473 |
-
<option value="percent" <?php echo
|
1474 |
-
<option value="amount" <?php echo
|
1475 |
-
<option value="amount_per_booking" <?php echo
|
1476 |
</select>
|
1477 |
</span>
|
1478 |
-
|
1479 |
-
|
1480 |
-
|
1481 |
-
|
1482 |
-
|
1483 |
-
|
1484 |
-
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
|
|
|
|
1492 |
<span class="mec-col-4">
|
1493 |
-
<input type="text" name="mec[fees][:i:][amount]"
|
|
|
1494 |
<span class="mec-tooltip">
|
1495 |
<div class="box top">
|
1496 |
<h5 class="title"><?php _e('Amount', 'modern-events-calendar-lite'); ?></h5>
|
1497 |
-
<div class="content"><p><?php esc_attr_e('Fee amount, considered as fixed amount if you set the type to amount otherwise considered as percentage', 'modern-events-calendar-lite');
|
|
|
|
|
1498 |
</div>
|
1499 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1500 |
-
</span>
|
1501 |
</span>
|
1502 |
-
|
1503 |
<select name="mec[fees][:i:][type]">
|
1504 |
-
<option value="percent"><?php _e(
|
1505 |
-
<option value="amount"><?php _e(
|
1506 |
-
<option value="amount_per_booking"><?php _e(
|
1507 |
</select>
|
1508 |
</span>
|
1509 |
-
|
1510 |
-
|
1511 |
-
|
1512 |
-
|
1513 |
-
|
1514 |
-
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
|
1522 |
-
|
1523 |
-
|
1524 |
-
|
1525 |
-
|
1526 |
-
|
1527 |
-
|
1528 |
-
|
1529 |
-
|
1530 |
-
|
1531 |
-
|
1532 |
-
|
1533 |
-
|
1534 |
-
|
1535 |
-
|
1536 |
-
|
1537 |
-
|
1538 |
-
|
1539 |
-
|
1540 |
-
|
1541 |
-
|
1542 |
-
|
1543 |
-
|
1544 |
-
|
1545 |
-
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
-
|
1550 |
-
|
1551 |
-
|
1552 |
-
|
1553 |
-
|
1554 |
-
|
|
|
|
|
|
|
|
|
1555 |
<?php
|
1556 |
-
|
1557 |
-
|
1558 |
-
|
|
|
1559 |
">
|
1560 |
-
|
1561 |
-
|
1562 |
-
|
1563 |
-
|
1564 |
-
|
1565 |
-
|
1566 |
-
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
|
1573 |
-
|
1574 |
-
|
1575 |
-
|
|
|
|
|
|
|
|
|
|
|
1576 |
<span class="mec-col-4">
|
1577 |
-
<input type="text" name="mec[ticket_variations][<?php echo $i; ?>][price]"
|
|
|
|
|
1578 |
<span class="mec-tooltip">
|
1579 |
<div class="box top">
|
1580 |
<h5 class="title"><?php _e('Price', 'modern-events-calendar-lite'); ?></h5>
|
1581 |
-
<div class="content"><p><?php esc_attr_e('Option Price', 'modern-events-calendar-lite'); ?><a
|
|
|
|
|
1582 |
</div>
|
1583 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1584 |
-
</span>
|
1585 |
</span>
|
1586 |
-
|
1587 |
-
<input type="number" min="0"
|
|
|
|
|
|
|
1588 |
<span class="mec-tooltip">
|
1589 |
<div class="box top">
|
1590 |
<h5 class="title"><?php _e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?></h5>
|
1591 |
-
<div class="content"><p><?php esc_attr_e('Maximum Per Ticket. Leave it blank for unlimited.', 'modern-events-calendar-lite');
|
|
|
|
|
1592 |
</div>
|
1593 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1594 |
-
</span>
|
1595 |
</span>
|
1596 |
-
|
1597 |
-
|
1598 |
-
|
1599 |
-
|
1600 |
-
|
1601 |
-
|
1602 |
-
|
1603 |
-
|
1604 |
-
|
1605 |
-
|
1606 |
-
|
1607 |
-
|
1608 |
-
|
1609 |
-
|
|
|
|
|
|
|
1610 |
<span class="mec-col-4">
|
1611 |
-
<input type="text" name="mec[ticket_variations][:i:][price]"
|
|
|
1612 |
<span class="mec-tooltip">
|
1613 |
<div class="box top">
|
1614 |
<h5 class="title"><?php _e('Price', 'modern-events-calendar-lite'); ?></h5>
|
1615 |
-
<div class="content"><p><?php esc_attr_e('Option Price', 'modern-events-calendar-lite'); ?><a
|
|
|
|
|
1616 |
</div>
|
1617 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1618 |
-
</span>
|
1619 |
</span>
|
1620 |
-
|
1621 |
-
<input type="number" min="0" name="mec[ticket_variations][:i:][max]"
|
|
|
1622 |
<span class="mec-tooltip">
|
1623 |
<div class="box top">
|
1624 |
<h5 class="title"><?php _e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?></h5>
|
1625 |
-
<div class="content"><p><?php esc_attr_e('Maximum Per Ticket. Leave it blank for unlimited.', 'modern-events-calendar-lite');
|
|
|
|
|
1626 |
</div>
|
1627 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1628 |
-
</span>
|
1629 |
</span>
|
1630 |
-
|
1631 |
-
|
1632 |
-
|
1633 |
-
|
1634 |
-
|
1635 |
-
|
1636 |
-
|
1637 |
-
|
1638 |
-
|
1639 |
-
|
1640 |
-
|
1641 |
-
|
1642 |
-
|
1643 |
-
|
1644 |
-
|
1645 |
-
|
1646 |
-
|
1647 |
-
|
1648 |
-
|
1649 |
-
|
1650 |
-
|
1651 |
-
|
1652 |
-
|
1653 |
-
|
1654 |
-
|
1655 |
-
|
1656 |
-
|
1657 |
-
|
1658 |
-
|
1659 |
-
|
1660 |
-
|
1661 |
-
|
1662 |
-
|
1663 |
-
|
1664 |
-
|
1665 |
-
|
1666 |
-
|
1667 |
-
|
1668 |
-
|
1669 |
-
|
1670 |
-
|
1671 |
-
|
1672 |
-
|
1673 |
-
|
1674 |
-
|
1675 |
-
|
1676 |
-
|
1677 |
-
|
1678 |
-
|
1679 |
-
|
1680 |
-
|
1681 |
-
|
1682 |
-
|
1683 |
-
|
1684 |
-
|
1685 |
-
|
1686 |
-
|
1687 |
-
|
1688 |
-
|
1689 |
-
|
1690 |
-
|
1691 |
-
|
1692 |
-
|
1693 |
-
|
1694 |
-
|
1695 |
-
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
|
1710 |
-
|
1711 |
-
|
1712 |
-
|
1713 |
-
|
1714 |
-
|
1715 |
-
|
|
|
|
|
|
|
|
|
1716 |
<?php
|
1717 |
-
|
1718 |
-
|
1719 |
-
|
|
|
1720 |
">
|
1721 |
|
1722 |
-
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
|
1745 |
-
|
1746 |
-
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
|
1760 |
-
|
1761 |
-
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
|
1776 |
-
|
1777 |
-
|
1778 |
-
|
1779 |
-
|
1780 |
-
|
1781 |
-
|
1782 |
-
|
1783 |
-
|
1784 |
-
|
1785 |
-
|
1786 |
-
|
1787 |
-
|
1788 |
-
|
1789 |
-
|
1790 |
-
|
1791 |
-
|
1792 |
-
|
1793 |
-
|
1794 |
-
|
1795 |
-
|
1796 |
-
|
1797 |
-
|
1798 |
-
|
1799 |
-
|
1800 |
-
|
1801 |
-
|
1802 |
-
|
1803 |
-
|
1804 |
-
|
1805 |
-
|
1806 |
-
|
1807 |
-
|
1808 |
-
|
1809 |
-
|
1810 |
-
|
1811 |
-
|
1812 |
-
|
1813 |
-
|
1814 |
-
|
1815 |
-
|
1816 |
-
|
1817 |
-
|
1818 |
-
|
1819 |
-
|
1820 |
-
|
1821 |
-
|
1822 |
-
|
1823 |
-
|
1824 |
-
|
1825 |
-
|
1826 |
-
|
1827 |
-
|
1828 |
-
|
1829 |
-
|
1830 |
-
|
1831 |
-
|
1832 |
-
|
1833 |
-
|
1834 |
-
|
1835 |
-
|
1836 |
-
|
1837 |
-
|
1838 |
-
|
1839 |
-
|
1840 |
-
|
1841 |
-
|
1842 |
-
|
1843 |
-
|
1844 |
-
|
1845 |
-
|
1846 |
-
|
1847 |
-
|
1848 |
-
|
1849 |
-
|
1850 |
-
|
1851 |
-
|
1852 |
-
|
1853 |
-
|
1854 |
-
|
1855 |
-
|
1856 |
-
|
1857 |
-
|
1858 |
-
|
1859 |
-
|
1860 |
-
|
1861 |
-
|
1862 |
-
|
1863 |
-
|
1864 |
-
|
1865 |
-
|
1866 |
-
|
1867 |
-
|
1868 |
-
|
1869 |
-
|
1870 |
-
|
1871 |
-
|
1872 |
-
|
1873 |
-
|
1874 |
-
|
1875 |
-
|
1876 |
-
|
1877 |
-
|
1878 |
-
|
1879 |
-
|
1880 |
-
|
1881 |
-
|
1882 |
-
|
1883 |
-
|
1884 |
-
|
1885 |
-
|
1886 |
-
|
1887 |
-
|
1888 |
-
|
1889 |
-
|
1890 |
-
|
1891 |
-
|
1892 |
-
|
1893 |
-
|
1894 |
-
|
1895 |
-
|
1896 |
-
|
1897 |
-
|
1898 |
-
|
1899 |
-
|
1900 |
-
|
1901 |
-
|
1902 |
-
|
1903 |
-
|
1904 |
-
|
1905 |
-
|
1906 |
-
|
1907 |
-
|
1908 |
-
|
1909 |
-
|
1910 |
-
|
1911 |
-
|
1912 |
-
|
1913 |
-
|
1914 |
-
|
1915 |
-
|
1916 |
-
|
1917 |
-
|
1918 |
-
|
1919 |
-
|
1920 |
-
|
1921 |
-
|
1922 |
-
|
1923 |
-
|
1924 |
-
|
1925 |
-
|
1926 |
-
|
1927 |
-
|
1928 |
-
|
1929 |
-
|
1930 |
-
|
1931 |
-
|
1932 |
-
|
1933 |
-
|
1934 |
-
|
1935 |
-
|
1936 |
-
|
1937 |
-
|
1938 |
-
|
1939 |
-
|
1940 |
-
|
1941 |
-
|
1942 |
-
|
1943 |
-
|
1944 |
-
|
1945 |
-
|
1946 |
-
|
1947 |
-
|
1948 |
-
|
1949 |
-
|
1950 |
-
|
1951 |
-
|
1952 |
-
|
1953 |
-
|
1954 |
-
|
1955 |
-
|
1956 |
-
|
1957 |
-
|
1958 |
-
|
1959 |
-
|
1960 |
-
|
1961 |
-
|
1962 |
-
|
1963 |
-
|
1964 |
-
|
1965 |
-
|
1966 |
-
|
1967 |
-
|
1968 |
-
|
1969 |
-
|
1970 |
-
|
1971 |
-
|
1972 |
-
|
1973 |
-
|
1974 |
-
|
1975 |
-
|
1976 |
-
|
1977 |
-
|
1978 |
-
|
1979 |
-
|
1980 |
-
|
1981 |
-
|
1982 |
-
|
1983 |
-
|
1984 |
-
|
1985 |
-
|
1986 |
-
|
1987 |
-
|
1988 |
-
|
1989 |
-
|
1990 |
-
|
1991 |
-
|
1992 |
-
|
1993 |
-
|
1994 |
-
|
1995 |
-
|
1996 |
-
|
1997 |
-
|
1998 |
-
|
1999 |
-
|
2000 |
-
|
2001 |
-
|
2002 |
-
|
2003 |
-
|
2004 |
-
|
2005 |
-
|
2006 |
-
|
2007 |
-
|
2008 |
-
|
2009 |
-
|
2010 |
-
|
2011 |
-
|
2012 |
-
|
2013 |
-
|
2014 |
-
|
2015 |
-
|
2016 |
-
|
2017 |
-
|
2018 |
-
|
2019 |
-
|
2020 |
-
|
2021 |
-
|
2022 |
-
|
2023 |
-
|
2024 |
-
|
2025 |
-
|
2026 |
-
|
2027 |
-
|
2028 |
-
|
2029 |
-
|
2030 |
-
|
2031 |
-
|
2032 |
-
|
2033 |
-
|
2034 |
-
|
2035 |
-
|
2036 |
-
|
2037 |
-
|
2038 |
-
|
2039 |
-
|
2040 |
-
|
2041 |
-
|
2042 |
-
|
2043 |
-
|
2044 |
-
|
2045 |
-
|
2046 |
-
|
2047 |
-
|
2048 |
-
|
2049 |
-
|
2050 |
-
|
2051 |
-
|
2052 |
-
|
2053 |
-
|
2054 |
-
|
2055 |
-
|
2056 |
-
|
2057 |
-
|
2058 |
-
|
2059 |
-
|
2060 |
-
|
2061 |
-
|
2062 |
-
|
2063 |
-
|
2064 |
-
|
2065 |
-
|
2066 |
-
|
2067 |
-
|
2068 |
-
|
2069 |
-
|
2070 |
-
|
2071 |
-
|
2072 |
-
|
2073 |
-
|
2074 |
-
|
2075 |
-
|
2076 |
-
|
2077 |
-
|
2078 |
-
|
2079 |
-
|
2080 |
-
|
2081 |
-
|
2082 |
-
|
2083 |
-
|
2084 |
-
|
2085 |
-
|
2086 |
-
|
2087 |
-
|
2088 |
-
|
2089 |
-
|
2090 |
-
|
2091 |
-
|
2092 |
-
|
2093 |
-
|
2094 |
-
|
2095 |
-
|
2096 |
-
|
2097 |
-
|
2098 |
-
|
2099 |
-
|
2100 |
-
|
2101 |
-
|
2102 |
-
|
2103 |
-
|
2104 |
-
|
2105 |
-
|
2106 |
-
|
2107 |
-
|
2108 |
-
|
2109 |
-
|
2110 |
-
|
2111 |
-
|
2112 |
-
|
2113 |
-
|
2114 |
-
|
2115 |
-
|
2116 |
-
|
2117 |
-
|
2118 |
-
|
2119 |
-
|
2120 |
-
|
2121 |
-
|
2122 |
-
|
2123 |
-
|
2124 |
-
|
2125 |
-
|
2126 |
-
|
2127 |
-
|
2128 |
-
|
2129 |
-
|
2130 |
-
|
2131 |
-
|
2132 |
-
|
2133 |
-
|
2134 |
-
|
2135 |
-
|
2136 |
-
|
2137 |
-
|
2138 |
-
|
2139 |
-
|
2140 |
-
|
2141 |
-
|
2142 |
-
|
2143 |
-
|
2144 |
-
|
2145 |
-
|
2146 |
-
|
2147 |
-
|
2148 |
-
|
2149 |
-
|
2150 |
-
|
2151 |
-
|
2152 |
-
|
2153 |
-
|
2154 |
-
|
2155 |
-
|
2156 |
-
|
2157 |
-
|
2158 |
-
|
2159 |
-
|
2160 |
-
|
2161 |
-
|
2162 |
-
|
2163 |
-
|
2164 |
-
|
2165 |
-
|
2166 |
-
|
2167 |
-
|
2168 |
-
|
2169 |
-
|
2170 |
-
|
2171 |
-
|
2172 |
-
|
2173 |
-
|
2174 |
-
|
2175 |
-
|
2176 |
-
|
2177 |
-
|
2178 |
-
|
2179 |
-
|
2180 |
-
|
2181 |
-
|
2182 |
-
|
2183 |
-
|
2184 |
-
|
2185 |
-
|
2186 |
-
|
2187 |
-
|
2188 |
-
|
2189 |
-
|
2190 |
-
|
2191 |
-
|
2192 |
-
|
2193 |
-
|
2194 |
-
|
2195 |
-
|
2196 |
-
|
2197 |
-
|
2198 |
-
|
2199 |
-
|
2200 |
-
|
2201 |
-
|
2202 |
-
|
2203 |
-
|
2204 |
-
|
2205 |
-
|
2206 |
-
|
2207 |
-
|
2208 |
-
|
2209 |
-
|
2210 |
-
|
2211 |
-
|
2212 |
-
|
2213 |
-
|
2214 |
-
|
2215 |
-
|
2216 |
-
|
2217 |
-
|
2218 |
-
|
2219 |
-
|
2220 |
-
|
2221 |
-
|
2222 |
-
|
2223 |
-
|
2224 |
-
|
2225 |
-
|
2226 |
-
|
2227 |
-
|
2228 |
-
|
2229 |
-
|
2230 |
-
|
2231 |
-
|
2232 |
-
|
2233 |
-
|
2234 |
-
|
2235 |
-
|
2236 |
-
|
2237 |
-
|
2238 |
-
|
2239 |
-
|
2240 |
-
|
2241 |
-
|
2242 |
-
|
2243 |
-
|
2244 |
-
|
2245 |
-
|
2246 |
-
|
2247 |
-
|
2248 |
-
|
2249 |
-
|
2250 |
-
|
2251 |
-
|
2252 |
-
|
2253 |
-
|
2254 |
-
|
2255 |
-
|
2256 |
-
|
2257 |
-
|
2258 |
-
|
2259 |
-
|
2260 |
-
|
2261 |
-
|
2262 |
-
|
2263 |
-
|
2264 |
-
|
2265 |
-
|
2266 |
-
|
2267 |
-
|
2268 |
-
|
2269 |
-
|
2270 |
-
|
2271 |
-
|
2272 |
-
|
2273 |
-
|
2274 |
-
|
2275 |
-
|
2276 |
-
|
2277 |
-
|
2278 |
-
|
2279 |
-
|
2280 |
-
|
2281 |
-
|
2282 |
-
|
2283 |
-
|
2284 |
-
|
2285 |
-
|
2286 |
-
|
2287 |
-
|
2288 |
-
|
2289 |
-
|
2290 |
-
|
2291 |
-
|
2292 |
-
|
2293 |
-
|
2294 |
-
|
2295 |
-
|
2296 |
-
|
2297 |
-
|
2298 |
-
|
2299 |
-
|
2300 |
-
|
2301 |
-
|
2302 |
-
|
2303 |
-
|
2304 |
-
|
2305 |
-
|
2306 |
-
|
2307 |
-
|
2308 |
-
|
2309 |
-
|
2310 |
-
|
2311 |
-
|
2312 |
-
|
2313 |
-
|
2314 |
-
|
2315 |
-
|
2316 |
-
|
2317 |
-
|
2318 |
-
|
2319 |
-
|
2320 |
-
|
2321 |
-
|
2322 |
-
|
2323 |
-
|
2324 |
-
|
2325 |
-
|
2326 |
-
|
2327 |
-
|
2328 |
-
|
2329 |
-
|
2330 |
-
|
2331 |
-
|
2332 |
-
|
2333 |
-
|
2334 |
-
|
2335 |
-
|
2336 |
-
|
2337 |
-
|
2338 |
-
|
2339 |
-
|
2340 |
-
|
2341 |
-
|
2342 |
-
|
2343 |
-
|
2344 |
-
|
2345 |
-
|
2346 |
-
|
2347 |
-
|
2348 |
-
|
2349 |
-
|
2350 |
-
|
2351 |
-
|
2352 |
-
|
2353 |
-
|
2354 |
-
|
2355 |
-
|
2356 |
-
|
2357 |
-
|
2358 |
-
|
2359 |
-
|
2360 |
-
|
2361 |
-
|
2362 |
-
|
2363 |
-
|
2364 |
-
|
2365 |
-
|
2366 |
-
|
2367 |
-
|
2368 |
-
|
2369 |
-
|
2370 |
-
|
2371 |
-
|
2372 |
-
|
2373 |
-
|
2374 |
-
|
2375 |
-
|
2376 |
-
|
2377 |
-
|
2378 |
-
|
2379 |
-
|
2380 |
-
|
2381 |
-
|
2382 |
-
|
2383 |
-
|
2384 |
-
|
2385 |
-
|
2386 |
-
|
2387 |
-
|
2388 |
-
|
2389 |
-
|
2390 |
-
|
2391 |
-
|
2392 |
-
|
2393 |
-
|
2394 |
-
|
2395 |
-
|
2396 |
-
|
2397 |
-
|
2398 |
-
|
2399 |
-
|
2400 |
-
|
2401 |
-
|
2402 |
-
|
2403 |
-
|
2404 |
-
|
2405 |
-
|
2406 |
-
|
2407 |
-
|
2408 |
-
|
2409 |
-
|
2410 |
-
|
2411 |
-
|
2412 |
-
|
2413 |
-
|
2414 |
-
|
2415 |
-
|
2416 |
-
|
2417 |
-
|
2418 |
-
|
2419 |
-
|
2420 |
-
|
2421 |
-
|
2422 |
-
|
2423 |
-
|
2424 |
-
|
2425 |
-
|
2426 |
-
|
2427 |
-
|
2428 |
-
|
2429 |
-
|
2430 |
-
|
2431 |
-
|
2432 |
-
|
2433 |
-
|
2434 |
-
|
2435 |
-
|
2436 |
-
|
2437 |
-
|
2438 |
-
|
2439 |
-
|
2440 |
-
|
2441 |
-
|
2442 |
-
|
2443 |
-
|
2444 |
-
|
2445 |
-
|
2446 |
-
|
2447 |
-
|
2448 |
-
|
2449 |
-
|
2450 |
-
|
2451 |
-
|
2452 |
-
|
2453 |
-
|
2454 |
-
|
2455 |
-
|
2456 |
-
|
2457 |
-
|
2458 |
-
|
2459 |
-
|
2460 |
-
|
2461 |
-
|
2462 |
-
|
2463 |
-
|
2464 |
-
|
2465 |
-
|
2466 |
-
|
2467 |
-
|
2468 |
-
|
2469 |
-
|
2470 |
-
|
2471 |
-
|
2472 |
-
|
2473 |
-
|
2474 |
-
|
2475 |
-
|
2476 |
-
|
2477 |
-
|
2478 |
-
|
2479 |
-
|
2480 |
-
|
2481 |
-
|
2482 |
-
|
2483 |
-
|
2484 |
-
|
2485 |
-
|
2486 |
-
|
2487 |
-
|
2488 |
-
|
2489 |
-
|
2490 |
-
|
2491 |
-
|
2492 |
-
|
2493 |
-
|
2494 |
-
|
2495 |
-
|
2496 |
-
|
2497 |
-
|
2498 |
-
|
2499 |
-
|
2500 |
-
|
2501 |
-
|
2502 |
-
|
2503 |
-
|
2504 |
-
|
2505 |
-
|
2506 |
-
|
2507 |
-
|
2508 |
-
|
2509 |
-
|
2510 |
-
|
2511 |
-
|
2512 |
-
|
2513 |
-
|
2514 |
-
|
2515 |
-
|
2516 |
-
|
2517 |
-
|
2518 |
-
|
2519 |
-
|
2520 |
-
|
2521 |
-
|
2522 |
-
|
2523 |
-
|
2524 |
-
|
2525 |
-
|
2526 |
-
|
2527 |
-
|
2528 |
-
|
2529 |
-
|
2530 |
-
|
2531 |
-
|
2532 |
-
|
2533 |
-
|
2534 |
-
|
2535 |
-
|
2536 |
-
|
2537 |
-
|
2538 |
-
|
2539 |
-
|
2540 |
-
|
2541 |
-
|
2542 |
-
|
2543 |
-
|
2544 |
-
|
2545 |
-
|
2546 |
-
|
2547 |
-
|
2548 |
-
|
2549 |
-
|
2550 |
-
|
2551 |
-
|
2552 |
-
|
2553 |
-
|
2554 |
-
|
2555 |
-
|
2556 |
-
|
2557 |
-
|
2558 |
-
|
2559 |
-
|
2560 |
-
|
2561 |
-
|
2562 |
-
|
2563 |
-
|
2564 |
-
|
2565 |
-
|
2566 |
-
|
2567 |
-
|
2568 |
-
|
2569 |
-
|
2570 |
-
|
2571 |
-
|
2572 |
-
|
2573 |
-
|
2574 |
-
|
2575 |
-
|
2576 |
-
|
2577 |
-
|
2578 |
-
|
2579 |
-
|
2580 |
-
|
2581 |
-
|
2582 |
-
|
2583 |
-
|
2584 |
-
|
2585 |
-
|
2586 |
-
|
2587 |
-
|
2588 |
-
|
2589 |
-
|
2590 |
-
|
2591 |
-
|
2592 |
-
|
2593 |
-
|
2594 |
-
|
2595 |
-
|
2596 |
-
|
2597 |
-
|
2598 |
-
|
2599 |
-
|
2600 |
-
|
2601 |
-
|
2602 |
-
|
2603 |
-
|
2604 |
-
|
2605 |
-
|
2606 |
-
|
2607 |
-
|
2608 |
-
|
2609 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2610 |
|
2611 |
-
|
2612 |
-
|
2613 |
|
2614 |
-
|
2615 |
-
|
2616 |
|
2617 |
-
|
2618 |
-
|
2619 |
-
|
2620 |
-
|
2621 |
-
|
2622 |
-
|
2623 |
-
|
2624 |
-
|
2625 |
-
|
2626 |
-
|
2627 |
-
|
2628 |
-
|
2629 |
-
|
2630 |
-
|
2631 |
|
2632 |
-
|
2633 |
-
|
2634 |
|
2635 |
-
|
2636 |
|
2637 |
-
|
2638 |
-
|
2639 |
-
|
2640 |
-
|
2641 |
|
2642 |
-
|
2643 |
-
|
2644 |
-
|
2645 |
|
2646 |
-
|
2647 |
|
2648 |
-
|
2649 |
-
|
2650 |
|
2651 |
-
|
2652 |
-
|
2653 |
-
|
2654 |
-
|
2655 |
-
|
2656 |
-
|
2657 |
-
|
2658 |
|
2659 |
-
|
2660 |
-
|
2661 |
-
|
2662 |
|
2663 |
-
|
2664 |
-
|
2665 |
-
|
2666 |
-
|
2667 |
-
|
2668 |
-
|
2669 |
-
|
2670 |
-
|
2671 |
-
|
2672 |
-
|
2673 |
-
|
2674 |
-
|
2675 |
-
|
2676 |
-
|
2677 |
-
|
2678 |
-
|
2679 |
-
|
2680 |
-
|
2681 |
-
|
2682 |
-
|
2683 |
-
|
2684 |
-
|
2685 |
}
|
1 |
<?php
|
2 |
/** no direct access **/
|
3 |
+
defined('MECEXEC') or die();
|
4 |
|
5 |
/**
|
6 |
* Webnus MEC events class.
|
7 |
*
|
8 |
* @author Webnus <info@webnus.biz>
|
9 |
*/
|
10 |
+
class MEC_feature_events extends MEC_base
|
11 |
+
{
|
12 |
+
public $factory;
|
13 |
+
public $main;
|
14 |
+
public $db;
|
15 |
+
public $PT;
|
16 |
+
public $settings;
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Constructor method
|
20 |
+
*
|
21 |
+
* @author Webnus <info@webnus.biz>
|
22 |
+
*/
|
23 |
+
public function __construct()
|
24 |
+
{
|
25 |
+
// Import MEC Factory
|
26 |
+
$this->factory = $this->getFactory();
|
27 |
+
|
28 |
+
// Import MEC Main
|
29 |
+
$this->main = $this->getMain();
|
30 |
+
|
31 |
+
// Import MEC DB
|
32 |
+
$this->db = $this->getDB();
|
33 |
+
|
34 |
+
// MEC Post Type Name
|
35 |
+
$this->PT = $this->main->get_main_post_type();
|
36 |
+
|
37 |
+
// MEC Settings
|
38 |
+
$this->settings = $this->main->get_settings();
|
39 |
+
}
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Initialize events feature
|
43 |
+
*
|
44 |
+
* @author Webnus <info@webnus.biz>
|
45 |
+
*/
|
46 |
+
public function init()
|
47 |
+
{
|
48 |
+
$this->factory->action('init', array($this, 'register_post_type'));
|
49 |
+
$this->factory->action('mec_category_add_form_fields', array($this, 'add_category_custom_icon'), 10, 2);
|
50 |
+
$this->factory->action('mec_category_edit_form_fields', array($this, 'edit_category_custom_icon'), 10, 2);
|
51 |
+
$this->factory->action('edited_mec_category', array($this, 'save_metadata'));
|
52 |
+
$this->factory->action('created_mec_category', array($this, 'save_metadata'));
|
53 |
+
|
54 |
+
$this->factory->action('init', array($this, 'register_endpoints'));
|
55 |
+
$this->factory->action('add_meta_boxes_' . $this->PT, array($this, 'remove_taxonomies_metaboxes'));
|
56 |
+
$this->factory->action('save_post', array($this, 'save_event'), 10);
|
57 |
+
$this->factory->action('delete_post', array($this, 'delete_event'), 10);
|
58 |
+
|
59 |
+
$this->factory->action('add_meta_boxes', array($this, 'register_meta_boxes'), 1);
|
60 |
+
$this->factory->action('restrict_manage_posts', array($this, 'add_filters'));
|
61 |
+
$this->factory->action('pre_get_posts', array($this, 'sort'));
|
62 |
+
|
63 |
+
$this->factory->action('mec_metabox_details', array($this, 'meta_box_nonce'), 10);
|
64 |
+
$this->factory->action('mec_metabox_details', array($this, 'meta_box_dates'), 20);
|
65 |
+
$this->factory->action('mec_metabox_details', array($this, 'meta_box_hourly_schedule'), 30);
|
66 |
+
$this->factory->action('mec_metabox_details', array($this, 'meta_box_links'), 40);
|
67 |
+
$this->factory->action('mec_metabox_details', array($this, 'meta_box_cost'), 50);
|
68 |
+
|
69 |
+
// Hourly Schedule for FES
|
70 |
+
if (!isset($this->settings['fes_section_hourly_schedule']) or (isset($this->settings['fes_section_hourly_schedule']) and $this->settings['fes_section_hourly_schedule'])) {
|
71 |
+
$this->factory->action('mec_fes_metabox_details', array($this, 'meta_box_hourly_schedule'), 30);
|
72 |
+
}
|
73 |
+
|
74 |
+
// Show exceptional days if enabled
|
75 |
+
if (isset($this->settings['exceptional_days']) and $this->settings['exceptional_days']) {
|
76 |
+
$this->factory->action('mec_metabox_details', array($this, 'meta_box_exceptional_days'), 25);
|
77 |
+
$this->factory->action('mec_fes_metabox_details', array($this, 'meta_box_exceptional_days'), 25);
|
78 |
+
}
|
79 |
+
|
80 |
+
// Show Booking meta box only if booking module is enabled
|
81 |
+
$booking_status = (isset($this->settings['booking_status']) and $this->settings['booking_status']) ? true : false;
|
82 |
+
if ($booking_status) {
|
83 |
+
$this->factory->action('mec_metabox_booking', array($this, 'meta_box_booking_options'), 5);
|
84 |
+
$this->factory->action('mec_metabox_booking', array($this, 'meta_box_tickets'), 10);
|
85 |
+
$this->factory->action('mec_metabox_booking', array($this, 'meta_box_regform'), 20);
|
86 |
+
|
87 |
+
// Booking Options for FES
|
88 |
+
if (!isset($this->settings['fes_section_booking']) or (isset($this->settings['fes_section_booking']) and $this->settings['fes_section_booking'])) {
|
89 |
+
$this->factory->action('mec_fes_metabox_details', array($this, 'meta_box_booking_options'), 35);
|
90 |
+
$this->factory->action('mec_fes_metabox_details', array($this, 'meta_box_tickets'), 40);
|
91 |
+
$this->factory->action('mec_fes_metabox_details', array($this, 'meta_box_regform'), 45);
|
92 |
+
}
|
93 |
+
}
|
94 |
+
|
95 |
+
// Show fees meta box only if fees module is enabled
|
96 |
+
if (isset($this->settings['taxes_fees_status']) and $this->settings['taxes_fees_status']) {
|
97 |
+
$this->factory->action('mec_metabox_booking', array($this, 'meta_box_fees'), 15);
|
98 |
+
|
99 |
+
// Fees for FES
|
100 |
+
if ($booking_status and (!isset($this->settings['fes_section_fees']) or (isset($this->settings['fes_section_fees']) and $this->settings['fes_section_fees']))) {
|
101 |
+
$this->factory->action('mec_fes_metabox_details', array($this, 'meta_box_fees'), 45);
|
102 |
+
}
|
103 |
+
}
|
104 |
+
|
105 |
+
// Show ticket variations meta box only if the module is enabled
|
106 |
+
if (isset($this->settings['ticket_variations_status']) and $this->settings['ticket_variations_status']) {
|
107 |
+
$this->factory->action('mec_metabox_booking', array($this, 'meta_box_ticket_variations'), 16);
|
108 |
+
|
109 |
+
// Ticket Variations for FES
|
110 |
+
if ($booking_status and (!isset($this->settings['fes_section_ticket_variations']) or (isset($this->settings['fes_section_ticket_variations']) and $this->settings['fes_section_ticket_variations']))) {
|
111 |
+
$this->factory->action('mec_fes_metabox_details', array($this, 'meta_box_ticket_variations'), 46);
|
112 |
+
}
|
113 |
+
}
|
114 |
+
|
115 |
+
$this->factory->filter('manage_' . $this->PT . '_posts_columns', array($this, 'filter_columns'));
|
116 |
+
$this->factory->filter('manage_edit-' . $this->PT . '_sortable_columns', array($this, 'filter_sortable_columns'));
|
117 |
+
$this->factory->action('manage_' . $this->PT . '_posts_custom_column', array($this, 'filter_columns_content'), 10, 2);
|
118 |
+
|
119 |
+
$this->factory->action('admin_footer-edit.php', array($this, 'add_bulk_actions'));
|
120 |
+
$this->factory->action('load-edit.php', array($this, 'do_bulk_actions'));
|
121 |
+
}
|
122 |
+
|
123 |
+
/**
|
124 |
+
* Registers events post type and assign it to some taxonomies
|
125 |
+
*
|
126 |
+
* @author Webnus <info@webnus.biz>
|
127 |
+
*/
|
128 |
+
public function register_post_type()
|
129 |
+
{
|
130 |
+
// Get supported features for event post type
|
131 |
+
$supports = apply_filters('mec_event_supports', array('editor', 'title', 'excerpt', 'author', 'thumbnail', 'comments'));
|
132 |
+
|
133 |
+
register_post_type(
|
134 |
+
$this->PT,
|
135 |
+
array(
|
136 |
+
'labels' => array(
|
137 |
+
'name' => __('Events', 'modern-events-calendar-lite'),
|
138 |
+
'singular_name' => __('Event', 'modern-events-calendar-lite'),
|
139 |
+
'add_new' => __('Add Event', 'modern-events-calendar-lite'),
|
140 |
+
'add_new_item' => __('Add New Event', 'modern-events-calendar-lite'),
|
141 |
+
'not_found' => __('No events found!', 'modern-events-calendar-lite'),
|
142 |
+
'all_items' => __('All Events', 'modern-events-calendar-lite'),
|
143 |
+
'edit_item' => __('Edit Event', 'modern-events-calendar-lite'),
|
144 |
+
'view_item' => __('View Event', 'modern-events-calendar-lite'),
|
145 |
+
'not_found_in_trash' => __('No events found in Trash!', 'modern-events-calendar-lite'),
|
146 |
+
),
|
147 |
+
'public' => true,
|
148 |
+
'has_archive' => ($this->main->get_archive_status() ? true : false),
|
149 |
+
'menu_icon' => 'dashicons-calendar',
|
150 |
+
'menu_position' => 26,
|
151 |
+
'show_in_menu' => 'mec-intro',
|
152 |
+
'rewrite' => array(
|
153 |
+
'slug' => $this->main->get_main_slug(),
|
154 |
+
'ep_mask' => EP_MEC_EVENTS,
|
155 |
+
),
|
156 |
+
'supports' => $supports,
|
157 |
+
'show_in_rest' => true,
|
158 |
+
|
159 |
+
)
|
160 |
+
);
|
161 |
+
|
162 |
+
$singular_label = $this->main->m('taxonomy_category', __('Category', 'modern-events-calendar-lite'));
|
163 |
+
$plural_label = $this->main->m('taxonomy_categories', __('Categories', 'modern-events-calendar-lite'));
|
164 |
+
|
165 |
+
register_taxonomy(
|
166 |
+
'mec_category',
|
167 |
+
$this->PT,
|
168 |
+
array(
|
169 |
+
'label' => $plural_label,
|
170 |
+
'labels' => array(
|
171 |
+
'name' => $plural_label,
|
172 |
+
'singular_name' => $singular_label,
|
173 |
+
'all_items' => sprintf(__('All %s', 'modern-events-calendar-lite'), $plural_label),
|
174 |
+
'edit_item' => sprintf(__('Edit %s', 'modern-events-calendar-lite'), $singular_label),
|
175 |
+
'view_item' => sprintf(__('View %s', 'modern-events-calendar-lite'), $singular_label),
|
176 |
+
'update_item' => sprintf(__('Update %s', 'modern-events-calendar-lite'), $singular_label),
|
177 |
+
'add_new_item' => sprintf(__('Add New %s', 'modern-events-calendar-lite'), $singular_label),
|
178 |
+
'new_item_name' => sprintf(__('New %s Name', 'modern-events-calendar-lite'), $singular_label),
|
179 |
+
'popular_items' => sprintf(__('Popular %s', 'modern-events-calendar-lite'), $plural_label),
|
180 |
+
'search_items' => sprintf(__('Search %s', 'modern-events-calendar-lite'), $plural_label),
|
181 |
+
),
|
182 |
+
'public' => true,
|
183 |
+
'show_ui' => true,
|
184 |
+
'show_in_rest' => true,
|
185 |
+
'hierarchical' => true,
|
186 |
+
'has_archive' => true,
|
187 |
+
'rewrite' => array('slug' => $this->main->get_category_slug()),
|
188 |
+
)
|
189 |
+
);
|
190 |
+
|
191 |
+
register_taxonomy_for_object_type('mec_category', $this->PT);
|
192 |
+
register_taxonomy_for_object_type('post_tag', $this->PT);
|
193 |
+
}
|
194 |
+
|
195 |
+
/**
|
196 |
+
* Register meta field to taxonomies
|
197 |
+
*
|
198 |
+
* @author Webnus <info@webnus.biz>
|
199 |
+
*/
|
200 |
+
public function add_category_custom_icon()
|
201 |
+
{
|
202 |
+
add_thickbox();
|
203 |
+
?>
|
204 |
+
<div class="form-field">
|
205 |
+
<label for="mec_cat_icon"><?php _e('Category Icon', 'modern-events-calendar-lite'); ?></label>
|
206 |
+
<input type="hidden" name="mec_cat_icon" id="mec_cat_icon" value=""/>
|
207 |
+
<a href="<?php echo $this->main->asset('icon.html'); ?>"
|
208 |
+
class="thickbox mec_category_icon button"><?php echo __('Select icon', 'modern-events-calendar-lite'); ?></a>
|
209 |
+
</div>
|
210 |
+
|
211 |
+
<?php
|
212 |
+
}
|
213 |
+
|
214 |
+
/**
|
215 |
+
* Edit icon meta for categories
|
216 |
+
*
|
217 |
+
* @author Webnus <info@webnus.biz>
|
218 |
+
*/
|
219 |
+
public function edit_category_custom_icon($term)
|
220 |
+
{
|
221 |
+
add_thickbox();
|
222 |
+
$icon = get_metadata('term', $term->term_id, 'mec_cat_icon', true);
|
223 |
+
?>
|
224 |
+
<tr class="form-field">
|
225 |
+
<th scope="row" valign="top">
|
226 |
+
<label for="mec_cat_icon"><?php _e('Category Icon', 'modern-events-calendar-lite'); ?></label>
|
227 |
+
</th>
|
228 |
+
<td>
|
229 |
+
<input type="hidden" name="mec_cat_icon" id="mec_cat_icon" value="<?php echo $icon; ?>"/>
|
230 |
+
<a href="<?php echo $this->main->asset('icon.html'); ?>"
|
231 |
+
class="thickbox mec_category_icon button"><?php echo __('Select icon', 'modern-events-calendar-lite'); ?></a>
|
232 |
+
<?php if (isset($icon)) : ?>
|
233 |
+
<div class="mec-webnus-icon"><i class="<?php echo $icon; ?> mec-color"></i></div>
|
234 |
+
<?php endif; ?>
|
235 |
+
</td>
|
236 |
+
</tr>
|
237 |
+
<?php
|
238 |
+
}
|
239 |
+
|
240 |
+
/**
|
241 |
+
* Save meta data for mec categories
|
242 |
+
*
|
243 |
+
* @author Webnus <info@webnus.biz>
|
244 |
+
* @param int $term_id
|
245 |
+
*/
|
246 |
+
public function save_metadata($term_id)
|
247 |
+
{
|
248 |
+
$icon = isset($_POST['mec_cat_icon']) ? sanitize_text_field($_POST['mec_cat_icon']) : '';
|
249 |
+
|
250 |
+
update_term_meta($term_id, 'mec_cat_icon', $icon);
|
251 |
+
}
|
252 |
+
|
253 |
+
public function register_endpoints()
|
254 |
+
{
|
255 |
+
add_rewrite_endpoint('verify', EP_MEC_EVENTS);
|
256 |
+
add_rewrite_endpoint('cancel', EP_MEC_EVENTS);
|
257 |
+
add_rewrite_endpoint('gateway-cancel', EP_MEC_EVENTS);
|
258 |
+
add_rewrite_endpoint('gateway-return', EP_MEC_EVENTS);
|
259 |
+
}
|
260 |
+
|
261 |
+
/**
|
262 |
+
* Remove normal meta boxes for some taxonomies
|
263 |
+
*
|
264 |
+
* @author Webnus <info@webnus.biz>
|
265 |
+
*/
|
266 |
+
public function remove_taxonomies_metaboxes()
|
267 |
+
{
|
268 |
+
remove_meta_box('tagsdiv-mec_location', $this->PT, 'side');
|
269 |
+
remove_meta_box('tagsdiv-mec_organizer', $this->PT, 'side');
|
270 |
+
remove_meta_box('tagsdiv-mec_label', $this->PT, 'side');
|
271 |
+
}
|
272 |
+
|
273 |
+
/**
|
274 |
+
* Registers 2 meta boxes for event data
|
275 |
+
*
|
276 |
+
* @author Webnus <info@webnus.biz>
|
277 |
+
*/
|
278 |
+
public function register_meta_boxes()
|
279 |
+
{
|
280 |
+
add_meta_box('mec_metabox_details', __('Event Details', 'modern-events-calendar-lite'), array($this, 'meta_box_details'), $this->main->get_main_post_type(), 'normal', 'high');
|
281 |
+
|
282 |
+
// Show Booking meta box onnly if booking module is enabled
|
283 |
+
if ($this->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']) {
|
284 |
+
add_meta_box('mec_metabox_booking', __('Booking', 'modern-events-calendar-lite'), array($this, 'meta_box_booking'), $this->main->get_main_post_type(), 'normal', 'high');
|
285 |
+
}
|
286 |
+
}
|
287 |
+
|
288 |
+
/**
|
289 |
+
* Show content of details meta box
|
290 |
+
*
|
291 |
+
* @author Webnus <info@webnus.biz>
|
292 |
+
* @param object $post
|
293 |
+
*/
|
294 |
+
public function meta_box_details($post)
|
295 |
+
{
|
296 |
+
do_action('mec_metabox_details', $post);
|
297 |
+
}
|
298 |
+
|
299 |
+
/**
|
300 |
+
* Add a security nonce to the Add/Edit events page
|
301 |
+
*
|
302 |
+
* @author Webnus <info@webnus.biz>
|
303 |
+
*/
|
304 |
+
public function meta_box_nonce()
|
305 |
+
{
|
306 |
+
// Add a nonce field so we can check for it later.
|
307 |
+
wp_nonce_field('mec_event_data', 'mec_event_nonce');
|
308 |
+
}
|
309 |
+
|
310 |
+
/**
|
311 |
+
* Show cost option of event into the Add/Edit event page
|
312 |
+
*
|
313 |
+
* @author Webnus <info@webnus.biz>
|
314 |
+
* @param object $post
|
315 |
+
*/
|
316 |
+
public function meta_box_cost($post)
|
317 |
+
{
|
318 |
+
$cost = get_post_meta($post->ID, 'mec_cost', true);
|
319 |
+
?>
|
320 |
+
<div class="mec-meta-box-fields" id="mec-cost">
|
321 |
+
<h4><?php echo $this->main->m('event_cost', __('Event Cost', 'modern-events-calendar-lite')); ?></h4>
|
322 |
+
<div id="mec_meta_box_cost_form">
|
323 |
+
<div class="mec-form-row">
|
324 |
+
<input type="text" class="mec-col-6" name="mec[cost]" id="mec_cost"
|
325 |
+
value="<?php echo esc_attr($cost); ?>" placeholder="<?php _e('Cost', 'modern-events-calendar-lite'); ?>"/>
|
326 |
+
</div>
|
327 |
+
</div>
|
328 |
+
</div>
|
329 |
+
<?php
|
330 |
+
}
|
331 |
+
|
332 |
+
/**
|
333 |
+
* Show date options of event into the Add/Edit event page
|
334 |
+
*
|
335 |
+
* @author Webnus <info@webnus.biz>
|
336 |
+
* @param object $post
|
337 |
+
*/
|
338 |
+
public function meta_box_dates($post)
|
339 |
+
{
|
340 |
+
global $post;
|
341 |
+
|
342 |
+
$allday = get_post_meta($post->ID, 'mec_allday', true);
|
343 |
+
$comment = get_post_meta($post->ID, 'mec_comment', true);
|
344 |
+
$hide_time = get_post_meta($post->ID, 'mec_hide_time', true);
|
345 |
+
$hide_end_time = get_post_meta($post->ID, 'mec_hide_end_time', true);
|
346 |
+
$start_date = get_post_meta($post->ID, 'mec_start_date', true);
|
347 |
+
|
348 |
+
// Advanced Repeating Day
|
349 |
+
$advanced_days = get_post_meta($post->ID, 'mec_advanced_days', true);
|
350 |
+
$advanced_days = is_array($advanced_days) ? $advanced_days : array();
|
351 |
+
$advanced_str = count($advanced_days) ? implode('-', $advanced_days) : '';
|
352 |
+
|
353 |
+
$start_time_hour = get_post_meta($post->ID, 'mec_start_time_hour', true);
|
354 |
+
if (trim($start_time_hour) == '') {
|
355 |
+
$start_time_hour = 8;
|
356 |
+
}
|
357 |
+
|
358 |
+
$start_time_minutes = get_post_meta($post->ID, 'mec_start_time_minutes', true);
|
359 |
+
if (trim($start_time_minutes) == '') {
|
360 |
+
$start_time_minutes = 0;
|
361 |
+
}
|
362 |
+
|
363 |
+
$start_time_ampm = get_post_meta($post->ID, 'mec_start_time_ampm', true);
|
364 |
+
if (trim($start_time_ampm) == '') {
|
365 |
+
$start_time_minutes = 'AM';
|
366 |
+
}
|
367 |
+
|
368 |
+
$end_date = get_post_meta($post->ID, 'mec_end_date', true);
|
369 |
+
|
370 |
+
$end_time_hour = get_post_meta($post->ID, 'mec_end_time_hour', true);
|
371 |
+
if (trim($end_time_hour) == '') {
|
372 |
+
$end_time_hour = 6;
|
373 |
+
}
|
374 |
+
|
375 |
+
$end_time_minutes = get_post_meta($post->ID, 'mec_end_time_minutes', true);
|
376 |
+
if (trim($end_time_minutes) == '') {
|
377 |
+
$end_time_minutes = 0;
|
378 |
+
}
|
379 |
+
|
380 |
+
$end_time_ampm = get_post_meta($post->ID, 'mec_end_time_ampm', true);
|
381 |
+
if (trim($end_time_ampm) == '') {
|
382 |
+
$end_time_ampm = 'PM';
|
383 |
+
}
|
384 |
+
|
385 |
+
$repeat_status = get_post_meta($post->ID, 'mec_repeat_status', true);
|
386 |
+
$repeat_type = get_post_meta($post->ID, 'mec_repeat_type', true);
|
387 |
+
|
388 |
+
$repeat_interval = get_post_meta($post->ID, 'mec_repeat_interval', true);
|
389 |
+
if (trim($repeat_interval) == '' and in_array($repeat_type, array('daily', 'weekly'))) {
|
390 |
+
$repeat_interval = 1;
|
391 |
+
}
|
392 |
+
|
393 |
+
$certain_weekdays = get_post_meta($post->ID, 'mec_certain_weekdays', true);
|
394 |
+
if ($repeat_type != 'certain_weekdays') {
|
395 |
+
$certain_weekdays = array();
|
396 |
+
}
|
397 |
+
|
398 |
+
$in_days_str = get_post_meta($post->ID, 'mec_in_days', true);
|
399 |
+
$in_days = trim($in_days_str) ? explode(',', $in_days_str) : array();
|
400 |
+
|
401 |
+
$mec_repeat_end = get_post_meta($post->ID, 'mec_repeat_end', true);
|
402 |
+
if (trim($mec_repeat_end) == '') {
|
403 |
+
$mec_repeat_end = 'never';
|
404 |
+
}
|
405 |
+
|
406 |
+
$repeat_end_at_occurrences = get_post_meta($post->ID, 'mec_repeat_end_at_occurrences', true);
|
407 |
+
if (trim($repeat_end_at_occurrences) == '') {
|
408 |
+
$repeat_end_at_occurrences = 9;
|
409 |
+
}
|
410 |
+
|
411 |
+
$repeat_end_at_date = get_post_meta($post->ID, 'mec_repeat_end_at_date', true);
|
412 |
+
|
413 |
+
$note = get_post_meta($post->ID, 'mec_note', true);
|
414 |
+
$note_visibility = $this->main->is_note_visible($post->post_status);
|
415 |
+
|
416 |
+
$fes_guest_email = get_post_meta($post->ID, 'fes_guest_email', true);
|
417 |
+
$fes_guest_name = get_post_meta($post->ID, 'fes_guest_name', true);
|
418 |
+
?>
|
419 |
+
<div class="mec-meta-box-fields" id="mec-date-time">
|
420 |
+
|
421 |
+
<?php if ($note_visibility and trim($note)) : ?>
|
422 |
+
<div class="mec-event-note">
|
423 |
+
<h4><?php _e('Note for reviewer', 'modern-events-calendar-lite'); ?></h4>
|
424 |
+
<p><?php echo $note; ?></p>
|
425 |
+
</div>
|
426 |
+
<?php endif; ?>
|
427 |
+
|
428 |
+
<?php if (trim($fes_guest_email) and trim($fes_guest_name)) : ?>
|
429 |
+
<div class="mec-guest-data">
|
430 |
+
<h4><?php _e('Guest Data', 'modern-events-calendar-lite'); ?></h4>
|
431 |
+
<p><strong><?php _e('Name', 'modern-events-calendar-lite'); ?>:</strong> <?php echo $fes_guest_name; ?></p>
|
432 |
+
<p><strong><?php _e('Email', 'modern-events-calendar-lite'); ?>:</strong> <?php echo $fes_guest_email; ?></p>
|
433 |
+
</div>
|
434 |
+
<?php endif; ?>
|
435 |
+
<?php do_action('start_mec_custom_fields', $post); ?>
|
436 |
+
<h4><?php _e('Date and Time', 'modern-events-calendar-lite'); ?></h4>
|
437 |
+
<div id="mec_meta_box_date_form">
|
438 |
+
<div class="mec-title">
|
439 |
+
<span class="mec-dashicons dashicons dashicons-calendar-alt"></span>
|
440 |
+
<label for="mec_start_date"><?php _e('Start Date', 'modern-events-calendar-lite'); ?></label>
|
441 |
+
</div>
|
442 |
+
<div class="mec-form-row">
|
443 |
+
<div class="mec-col-4">
|
444 |
+
<input type="text" name="mec[date][start][date]" id="mec_start_date"
|
445 |
+
value="<?php echo esc_attr($start_date); ?>"
|
446 |
+
placeholder="<?php _e('Start Date', 'modern-events-calendar-lite'); ?>" autocomplete="off"/>
|
447 |
+
</div>
|
448 |
+
<div class="mec-col-6 mec-time-picker
|
449 |
<?php
|
450 |
+
if ($allday == 1) {
|
451 |
+
echo 'mec-util-hidden';
|
452 |
+
}
|
453 |
+
?>
|
454 |
">
|
455 |
+
<?php
|
456 |
+
if (isset($this->settings['time_format']) and $this->settings['time_format'] == 24) :
|
457 |
+
if ($start_time_ampm == 'PM' and $start_time_hour != 12) {
|
458 |
+
$start_time_hour += 12;
|
459 |
+
}
|
460 |
+
if ($start_time_ampm == 'AM' and $start_time_hour == 12) {
|
461 |
+
$start_time_hour += 12;
|
462 |
+
}
|
463 |
+
?>
|
464 |
+
<select name="mec[date][start][hour]" id="mec_start_hour">
|
465 |
+
<?php for ($i = 0; $i <= 23; $i++) : ?>
|
466 |
+
<option
|
467 |
+
<?php
|
468 |
+
if ($start_time_hour == $i) {
|
469 |
+
echo 'selected="selected"';
|
470 |
+
}
|
471 |
+
?>
|
472 |
+
value="<?php echo $i; ?>"><?php echo $i; ?></option>
|
473 |
+
<?php endfor; ?>
|
474 |
+
</select>
|
475 |
+
<span class="time-dv">:</span>
|
476 |
+
<select name="mec[date][start][minutes]" id="mec_start_minutes">
|
477 |
+
<?php for ($i = 0; $i <= 11; $i++) : ?>
|
478 |
+
<option
|
479 |
+
<?php
|
480 |
+
if ($start_time_minutes == ($i * 5)) {
|
481 |
+
echo 'selected="selected"';
|
482 |
+
}
|
483 |
+
?>
|
484 |
+
value="<?php echo($i * 5); ?>"><?php echo sprintf('%02d', ($i * 5)); ?></option>
|
485 |
+
<?php endfor; ?>
|
486 |
+
</select>
|
487 |
+
<?php else : ?>
|
488 |
+
<select name="mec[date][start][hour]" id="mec_start_hour">
|
489 |
+
<?php for ($i = 1; $i <= 12; $i++) : ?>
|
490 |
+
<option
|
491 |
+
<?php
|
492 |
+
if ($start_time_hour == $i) {
|
493 |
+
echo 'selected="selected"';
|
494 |
+
}
|
495 |
+
?>
|
496 |
+
value="<?php echo $i; ?>"><?php echo $i; ?></option>
|
497 |
+
<?php endfor; ?>
|
498 |
+
</select>
|
499 |
+
<span class="time-dv">:</span>
|
500 |
+
<select name="mec[date][start][minutes]" id="mec_start_minutes">
|
501 |
+
<?php for ($i = 0; $i <= 11; $i++) : ?>
|
502 |
+
<option
|
503 |
+
<?php
|
504 |
+
if ($start_time_minutes == ($i * 5)) {
|
505 |
+
echo 'selected="selected"';
|
506 |
+
}
|
507 |
+
?>
|
508 |
+
value="<?php echo($i * 5); ?>"><?php echo sprintf('%02d', ($i * 5)); ?></option>
|
509 |
+
<?php endfor; ?>
|
510 |
+
</select>
|
511 |
+
<select name="mec[date][start][ampm]" id="mec_start_ampm">
|
512 |
+
<option
|
513 |
+
<?php
|
514 |
+
if ($start_time_ampm == 'AM') {
|
515 |
+
echo 'selected="selected"';
|
516 |
+
}
|
517 |
+
?>
|
518 |
+
value="AM"><?php _e('AM', 'modern-events-calendar-lite'); ?></option>
|
519 |
+
<option
|
520 |
+
<?php
|
521 |
+
if ($start_time_ampm == 'PM') {
|
522 |
+
echo 'selected="selected"';
|
523 |
+
}
|
524 |
+
?>
|
525 |
+
value="PM"><?php _e('PM', 'modern-events-calendar-lite'); ?></option>
|
526 |
+
</select>
|
527 |
+
<?php endif; ?>
|
528 |
+
</div>
|
529 |
+
</div>
|
530 |
+
<div class="mec-title">
|
531 |
+
<span class="mec-dashicons dashicons dashicons-calendar-alt"></span>
|
532 |
+
<label for="mec_end_date"><?php _e('End Date', 'modern-events-calendar-lite'); ?></label>
|
533 |
+
</div>
|
534 |
+
<div class="mec-form-row">
|
535 |
+
<div class="mec-col-4">
|
536 |
+
<input type="text" name="mec[date][end][date]" id="mec_end_date"
|
537 |
+
value="<?php echo esc_attr($end_date); ?>" placeholder="<?php _e('End Date', 'modern-events-calendar-lite'); ?>"
|
538 |
+
autocomplete="off"/>
|
539 |
+
</div>
|
540 |
+
<div class="mec-col-6 mec-time-picker
|
541 |
<?php
|
542 |
+
if ($allday == 1) {
|
543 |
+
echo 'mec-util-hidden';
|
544 |
+
}
|
545 |
+
?>
|
546 |
">
|
547 |
+
<?php
|
548 |
+
if (isset($this->settings['time_format']) and $this->settings['time_format'] == 24) :
|
549 |
+
if ($end_time_ampm == 'PM' and $end_time_hour != 12) {
|
550 |
+
$end_time_hour += 12;
|
551 |
+
}
|
552 |
+
if ($end_time_ampm == 'AM' and $end_time_hour == 12) {
|
553 |
+
$end_time_hour += 12;
|
554 |
+
}
|
555 |
+
?>
|
556 |
+
<select name="mec[date][end][hour]" id="mec_end_hour">
|
557 |
+
<?php for ($i = 0; $i <= 23; $i++) : ?>
|
558 |
+
<option
|
559 |
+
<?php
|
560 |
+
if ($end_time_hour == $i) {
|
561 |
+
echo 'selected="selected"';
|
562 |
+
}
|
563 |
+
?>
|
564 |
+
value="<?php echo $i; ?>"><?php echo $i; ?></option>
|
565 |
+
<?php endfor; ?>
|
566 |
+
</select>
|
567 |
+
<span class="time-dv">:</span>
|
568 |
+
<select name="mec[date][end][minutes]" id="mec_end_minutes">
|
569 |
+
<?php for ($i = 0; $i <= 11; $i++) : ?>
|
570 |
+
<option
|
571 |
+
<?php
|
572 |
+
if ($end_time_minutes == ($i * 5)) {
|
573 |
+
echo 'selected="selected"';
|
574 |
+
}
|
575 |
+
?>
|
576 |
+
value="<?php echo($i * 5); ?>"><?php echo sprintf('%02d', ($i * 5)); ?></option>
|
577 |
+
<?php endfor; ?>
|
578 |
+
</select>
|
579 |
+
<?php else : ?>
|
580 |
+
<select name="mec[date][end][hour]" id="mec_end_hour">
|
581 |
+
<?php for ($i = 1; $i <= 12; $i++) : ?>
|
582 |
+
<option
|
583 |
+
<?php
|
584 |
+
if ($end_time_hour == $i) {
|
585 |
+
echo 'selected="selected"';
|
586 |
+
}
|
587 |
+
?>
|
588 |
+
value="<?php echo $i; ?>"><?php echo $i; ?></option>
|
589 |
+
<?php endfor; ?>
|
590 |
+
</select>
|
591 |
+
<span class="time-dv">:</span>
|
592 |
+
<select name="mec[date][end][minutes]" id="mec_end_minutes">
|
593 |
+
<?php for ($i = 0; $i <= 11; $i++) : ?>
|
594 |
+
<option
|
595 |
+
<?php
|
596 |
+
if ($end_time_minutes == ($i * 5)) {
|
597 |
+
echo 'selected="selected"';
|
598 |
+
}
|
599 |
+
?>
|
600 |
+
value="<?php echo($i * 5); ?>"><?php echo sprintf('%02d', ($i * 5)); ?></option>
|
601 |
+
<?php endfor; ?>
|
602 |
+
</select>
|
603 |
+
<select name="mec[date][end][ampm]" id="mec_end_ampm">
|
604 |
+
<option
|
605 |
+
<?php
|
606 |
+
if ($end_time_ampm == 'AM') {
|
607 |
+
echo 'selected="selected"';
|
608 |
+
}
|
609 |
+
?>
|
610 |
+
value="AM"><?php _e('AM', 'modern-events-calendar-lite'); ?></option>
|
611 |
+
<option
|
612 |
+
<?php
|
613 |
+
if ($end_time_ampm == 'PM') {
|
614 |
+
echo 'selected="selected"';
|
615 |
+
}
|
616 |
+
?>
|
617 |
+
value="PM"><?php _e('PM', 'modern-events-calendar-lite'); ?></option>
|
618 |
+
</select>
|
619 |
+
<?php endif; ?>
|
620 |
+
</div>
|
621 |
+
</div>
|
622 |
+
<div class="mec-form-row">
|
623 |
+
<input
|
624 |
+
<?php
|
625 |
+
if ($allday == '1') {
|
626 |
+
echo 'checked="checked"';
|
627 |
+
}
|
628 |
+
?>
|
629 |
+
type="checkbox" name="mec[date][allday]" id="mec_allday" value="1"
|
630 |
+
onchange="jQuery('.mec-time-picker').toggle();"/><label
|
631 |
+
for="mec_allday"><?php _e('All Day Event', 'modern-events-calendar-lite'); ?></label>
|
632 |
+
</div>
|
633 |
+
<div class="mec-form-row">
|
634 |
+
<input
|
635 |
+
<?php
|
636 |
+
if ($hide_time == '1') {
|
637 |
+
echo 'checked="checked"';
|
638 |
+
}
|
639 |
+
?>
|
640 |
+
type="checkbox" name="mec[date][hide_time]" id="mec_hide_time" value="1"/><label
|
641 |
+
for="mec_hide_time"><?php _e('Hide Event Time', 'modern-events-calendar-lite'); ?></label>
|
642 |
+
</div>
|
643 |
+
<div class="mec-form-row">
|
644 |
+
<input
|
645 |
+
<?php
|
646 |
+
if ($hide_end_time == '1') {
|
647 |
+
echo 'checked="checked"';
|
648 |
+
}
|
649 |
+
?>
|
650 |
+
type="checkbox" name="mec[date][hide_end_time]" id="mec_hide_end_time" value="1"/><label
|
651 |
+
for="mec_hide_end_time"><?php _e('Hide Event End Time', 'modern-events-calendar-lite'); ?></label>
|
652 |
+
</div>
|
653 |
+
<div class="mec-form-row">
|
654 |
+
<div class="mec-col-4">
|
655 |
+
<input type="text" class="" name="mec[date][comment]" id="mec_comment"
|
656 |
+
placeholder="<?php _e('Time Comment', 'modern-events-calendar-lite'); ?>"
|
657 |
+
value="<?php echo esc_attr($comment); ?>"/>
|
658 |
+
<span class="mec-tooltip">
|
659 |
<div class="box top">
|
660 |
<h5 class="title"><?php _e('Time Comment', 'modern-events-calendar-lite'); ?></h5>
|
661 |
+
<div class="content"><p><?php esc_attr_e('It shows next to event time on single event page. You can insert Timezone etc. in this field.', 'modern-events-calendar-lite'); ?>
|
662 |
+
<a href="https://webnus.net/dox/modern-events-calendar/add-event/"
|
663 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
664 |
</div>
|
665 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
666 |
+
</span>
|
667 |
+
</div>
|
668 |
+
</div>
|
669 |
+
</div>
|
670 |
+
<div id="mec_meta_box_repeat_form">
|
671 |
+
<div class="mec-form-row">
|
672 |
+
<input
|
673 |
+
<?php
|
674 |
+
if ($repeat_status == '1') {
|
675 |
+
echo 'checked="checked"';
|
676 |
+
}
|
677 |
+
?>
|
678 |
+
type="checkbox" name="mec[date][repeat][status]" id="mec_repeat" value="1"/><label
|
679 |
+
for="mec_repeat"><?php _e('Event Repeating', 'modern-events-calendar-lite'); ?></label>
|
680 |
+
</div>
|
681 |
+
<div class="mec-form-repeating-event-row">
|
682 |
+
<div class="mec-form-row">
|
683 |
+
<label class="mec-col-3" for="mec_repeat_type"><?php _e('Repeats', 'modern-events-calendar-lite'); ?></label>
|
684 |
+
<select class="mec-col-2" name="mec[date][repeat][type]" id="mec_repeat_type">
|
685 |
+
<option
|
686 |
+
<?php
|
687 |
+
if ($repeat_type == 'daily') {
|
688 |
+
echo 'selected="selected"';
|
689 |
+
}
|
690 |
+
?>
|
691 |
+
value="daily"><?php _e('Daily', 'modern-events-calendar-lite'); ?></option>
|
692 |
+
<option
|
693 |
+
<?php
|
694 |
+
if ($repeat_type == 'weekday') {
|
695 |
+
echo 'selected="selected"';
|
696 |
+
}
|
697 |
+
?>
|
698 |
+
value="weekday"><?php _e('Every Weekday', 'modern-events-calendar-lite'); ?></option>
|
699 |
+
<option
|
700 |
+
<?php
|
701 |
+
if ($repeat_type == 'weekend') {
|
702 |
+
echo 'selected="selected"';
|
703 |
+
}
|
704 |
+
?>
|
705 |
+
value="weekend"><?php _e('Every Weekend', 'modern-events-calendar-lite'); ?></option>
|
706 |
+
<option
|
707 |
+
<?php
|
708 |
+
if ($repeat_type == 'certain_weekdays') {
|
709 |
+
echo 'selected="selected"';
|
710 |
+
}
|
711 |
+
?>
|
712 |
+
value="certain_weekdays"><?php _e('Certain Weekdays', 'modern-events-calendar-lite'); ?></option>
|
713 |
+
<option
|
714 |
+
<?php
|
715 |
+
if ($repeat_type == 'weekly') {
|
716 |
+
echo 'selected="selected"';
|
717 |
+
}
|
718 |
+
?>
|
719 |
+
value="weekly"><?php _e('Weekly', 'modern-events-calendar-lite'); ?></option>
|
720 |
+
<option
|
721 |
+
<?php
|
722 |
+
if ($repeat_type == 'monthly') {
|
723 |
+
echo 'selected="selected"';
|
724 |
+
}
|
725 |
+
?>
|
726 |
+
value="monthly"><?php _e('Monthly', 'modern-events-calendar-lite'); ?></option>
|
727 |
+
<option
|
728 |
+
<?php
|
729 |
+
if ($repeat_type == 'yearly') {
|
730 |
+
echo 'selected="selected"';
|
731 |
+
}
|
732 |
+
?>
|
733 |
+
value="yearly"><?php _e('Yearly', 'modern-events-calendar-lite'); ?></option>
|
734 |
+
<option
|
735 |
+
<?php
|
736 |
+
if ($repeat_type == 'custom_days') {
|
737 |
+
echo 'selected="selected"';
|
738 |
+
}
|
739 |
+
?>
|
740 |
+
value="custom_days"><?php _e('Custom Days', 'modern-events-calendar-lite'); ?></option>
|
741 |
+
<option
|
742 |
+
<?php
|
743 |
+
if ($repeat_type == 'advanced') {
|
744 |
+
echo 'selected="selected"';
|
745 |
+
}
|
746 |
+
?>
|
747 |
+
value="advanced"><?php _e('Advanced', 'modern-events-calendar-lite'); ?></option>
|
748 |
+
</select>
|
749 |
+
</div>
|
750 |
+
<div class="mec-form-row" id="mec_repeat_interval_container">
|
751 |
+
<label class="mec-col-3"
|
752 |
+
for="mec_repeat_interval"><?php _e('Repeat Interval', 'modern-events-calendar-lite'); ?></label>
|
753 |
+
<input class="mec-col-2" type="text" name="mec[date][repeat][interval]" id="mec_repeat_interval"
|
754 |
+
placeholder="<?php _e('Repeat interval', 'modern-events-calendar-lite'); ?>"
|
755 |
+
value="<?php echo($repeat_type == 'weekly' ? ($repeat_interval / 7) : $repeat_interval); ?>"/>
|
756 |
+
</div>
|
757 |
+
<div class="mec-form-row" id="mec_repeat_certain_weekdays_container">
|
758 |
+
<label class="mec-col-3"><?php _e('Week Days', 'modern-events-calendar-lite'); ?></label>
|
759 |
+
<label> <input type="checkbox" name="mec[date][repeat][certain_weekdays][]"
|
760 |
+
value="1" <?php echo(in_array(1, $certain_weekdays) ? 'checked="checked"' : ''); ?> /><?php _e('Monday', 'modern-events-calendar-lite'); ?>
|
761 |
+
</label>
|
762 |
+
<label> <input type="checkbox" name="mec[date][repeat][certain_weekdays][]"
|
763 |
+
value="2" <?php echo(in_array(2, $certain_weekdays) ? 'checked="checked"' : ''); ?> /><?php _e('Tuesday', 'modern-events-calendar-lite'); ?>
|
764 |
+
</label>
|
765 |
+
<label> <input type="checkbox" name="mec[date][repeat][certain_weekdays][]"
|
766 |
+
value="3" <?php echo(in_array(3, $certain_weekdays) ? 'checked="checked"' : ''); ?> /><?php _e('Wednesday', 'modern-events-calendar-lite'); ?>
|
767 |
+
</label>
|
768 |
+
<label> <input type="checkbox" name="mec[date][repeat][certain_weekdays][]"
|
769 |
+
value="4" <?php echo(in_array(4, $certain_weekdays) ? 'checked="checked"' : ''); ?> /><?php _e('Thursday', 'modern-events-calendar-lite'); ?>
|
770 |
+
</label>
|
771 |
+
<label> <input type="checkbox" name="mec[date][repeat][certain_weekdays][]"
|
772 |
+
value="5" <?php echo(in_array(5, $certain_weekdays) ? 'checked="checked"' : ''); ?> /><?php _e('Friday', 'modern-events-calendar-lite'); ?>
|
773 |
+
</label>
|
774 |
+
<label> <input type="checkbox" name="mec[date][repeat][certain_weekdays][]"
|
775 |
+
value="6" <?php echo(in_array(6, $certain_weekdays) ? 'checked="checked"' : ''); ?> /><?php _e('Saturday', 'modern-events-calendar-lite'); ?>
|
776 |
+
</label>
|
777 |
+
<label> <input type="checkbox" name="mec[date][repeat][certain_weekdays][]"
|
778 |
+
value="7" <?php echo(in_array(7, $certain_weekdays) ? 'checked="checked"' : ''); ?> /><?php _e('Sunday', 'modern-events-calendar-lite'); ?>
|
779 |
+
</label>
|
780 |
+
</div>
|
781 |
+
<div class="mec-form-row" id="mec_exceptions_in_days_container">
|
782 |
+
<div class="mec-form-row">
|
783 |
+
<div class="mec-col-6">
|
784 |
+
<input type="text" id="mec_exceptions_in_days_start_date" value=""
|
785 |
+
placeholder="<?php _e('Start', 'modern-events-calendar-lite'); ?>" class="mec_date_picker"/>
|
786 |
+
<input type="text" id="mec_exceptions_in_days_end_date" value=""
|
787 |
+
placeholder="<?php _e('End', 'modern-events-calendar-lite'); ?>" class="mec_date_picker"/>
|
788 |
+
<button class="button" type="button"
|
789 |
+
id="mec_add_in_days"><?php _e('Add', 'modern-events-calendar-lite'); ?></button>
|
790 |
+
<span class="mec-tooltip">
|
791 |
<div class="box top">
|
792 |
<h5 class="title"><?php _e('Custom Days Repeating', 'modern-events-calendar-lite'); ?></h5>
|
793 |
+
<div class="content"><p><?php esc_attr_e('Add certain days to event occurrence dates. If you have single day event, start and end date should be the same, If you have multiple day event the start and end dates must be commensurate with the initial date.', 'modern-events-calendar-lite'); ?>
|
794 |
+
<a href="https://webnus.net/dox/modern-events-calendar/date-and-time/"
|
795 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
796 |
</div>
|
797 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
798 |
+
</span>
|
799 |
+
</div>
|
800 |
+
</div>
|
801 |
+
<div class="mec-form-row mec-certain-day" id="mec_in_days">
|
802 |
+
<?php $i = 1;
|
803 |
+
foreach ($in_days as $in_day) : ?>
|
804 |
+
<div class="mec-form-row" id="mec_in_days_row<?php echo $i; ?>">
|
805 |
+
<input type="hidden" name="mec[in_days][<?php echo $i; ?>]"
|
806 |
+
value="<?php echo $in_day; ?>"/>
|
807 |
+
<span class="mec-in-days-day"><?php echo str_replace(':', ' - ', $in_day); ?></span>
|
808 |
+
<span class="mec-not-in-days-remove"
|
809 |
+
onclick="mec_in_days_remove(<?php echo $i; ?>);">x</span>
|
810 |
+
</div>
|
811 |
+
<?php
|
812 |
+
$i++;
|
813 |
+
endforeach;
|
814 |
+
?>
|
815 |
+
</div>
|
816 |
+
<input type="hidden" id="mec_new_in_days_key" value="<?php echo $i + 1; ?>"/>
|
817 |
+
<div class="mec-util-hidden" id="mec_new_in_days_raw">
|
818 |
+
<div class="mec-form-row" id="mec_in_days_row:i:">
|
819 |
+
<input type="hidden" name="mec[in_days][:i:]" value=":val:"/>
|
820 |
+
<span class="mec-in-days-day">:label:</span>
|
821 |
+
<span class="mec-not-in-days-remove" onclick="mec_in_days_remove(:i:);">x</span>
|
822 |
+
</div>
|
823 |
+
</div>
|
824 |
+
</div>
|
825 |
+
<div id="mec_end_wrapper">
|
826 |
+
<div class="mec-form-row">
|
827 |
+
<label for="mec_repeat_ends_never"><h4
|
828 |
+
class="mec-title"><?php _e('Ends Repeat', 'modern-events-calendar-lite'); ?></h4></label>
|
829 |
+
</div>
|
830 |
+
<div class="mec-form-row">
|
831 |
+
<input
|
832 |
+
<?php
|
833 |
+
if ($mec_repeat_end == 'never') {
|
834 |
+
echo 'checked="checked"';
|
835 |
+
}
|
836 |
+
?>
|
837 |
+
type="radio" value="never" name="mec[date][repeat][end]"
|
838 |
+
id="mec_repeat_ends_never"/>
|
839 |
+
<label for="mec_repeat_ends_never"><?php _e('Never', 'modern-events-calendar-lite'); ?></label>
|
840 |
+
</div>
|
841 |
+
<div class="mec-form-row">
|
842 |
+
<div class="mec-col-3">
|
843 |
+
<input
|
844 |
+
<?php
|
845 |
+
if ($mec_repeat_end == 'date') {
|
846 |
+
echo 'checked="checked"';
|
847 |
+
}
|
848 |
+
?>
|
849 |
+
type="radio" value="date" name="mec[date][repeat][end]"
|
850 |
+
id="mec_repeat_ends_date"/>
|
851 |
+
<label for="mec_repeat_ends_date"><?php _e('On', 'modern-events-calendar-lite'); ?></label>
|
852 |
+
</div>
|
853 |
+
<input class="mec-col-2" type="text" name="mec[date][repeat][end_at_date]"
|
854 |
+
id="mec_date_repeat_end_at_date"
|
855 |
+
value="<?php echo esc_attr($repeat_end_at_date); ?>"/>
|
856 |
+
</div>
|
857 |
+
<div class="mec-form-row">
|
858 |
+
<div class="mec-col-3">
|
859 |
+
<input
|
860 |
+
<?php
|
861 |
+
if ($mec_repeat_end == 'occurrences') {
|
862 |
+
echo 'checked="checked"';
|
863 |
+
}
|
864 |
+
?>
|
865 |
+
type="radio" value="occurrences" name="mec[date][repeat][end]"
|
866 |
+
id="mec_repeat_ends_occurrences"/>
|
867 |
+
<label for="mec_repeat_ends_occurrences"><?php _e('After', 'modern-events-calendar-lite'); ?></label>
|
868 |
+
</div>
|
869 |
+
<input class="mec-col-2" type="text" name="mec[date][repeat][end_at_occurrences]"
|
870 |
+
id="mec_date_repeat_end_at_occurrences"
|
871 |
+
placeholder="<?php _e('Occurrences times', 'modern-events-calendar-lite'); ?>"
|
872 |
+
value="<?php echo esc_attr(($repeat_end_at_occurrences + 1)); ?>"/>
|
873 |
+
<span class="mec-tooltip">
|
874 |
<div class="box top">
|
875 |
<h5 class="title"><?php _e('Occurrences times', 'modern-events-calendar-lite'); ?></h5>
|
876 |
+
<div class="content"><p><?php esc_attr_e('The event will finish after certain repeats. For example if you set it to 10, the event will finish after 10 repeats.', 'modern-events-calendar-lite'); ?>
|
877 |
+
<a href="https://webnus.net/dox/modern-events-calendar/date-and-time/"
|
878 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
879 |
</div>
|
880 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
881 |
+
</span>
|
882 |
+
</div>
|
883 |
+
</div>
|
884 |
+
<div id="mec-advanced-wraper">
|
885 |
+
<div class="mec-form-row">
|
886 |
+
<ul>
|
887 |
+
<li>
|
888 |
+
<?php _e('First', 'modern-events-calendar-lite'); ?>
|
889 |
+
</li>
|
890 |
+
<ul>
|
891 |
+
<?php $day_1th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 1); ?>
|
892 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_1th}.1"); ?>">
|
893 |
+
<?php _e($day_1th, 'modern-events-calendar-lite'); ?>
|
894 |
+
<span class="key"><?php echo $day_1th ?>.1-</span>
|
895 |
+
</li>
|
896 |
+
<?php $day_2th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 2); ?>
|
897 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_2th}.1"); ?>">
|
898 |
+
<?php _e($day_2th, 'modern-events-calendar-lite'); ?>
|
899 |
+
<span class="key"><?php echo $day_2th ?>.1-</span>
|
900 |
+
</li>
|
901 |
+
<?php $day_3th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 3); ?>
|
902 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_3th}.1"); ?>">
|
903 |
+
<?php _e($day_3th, 'modern-events-calendar-lite'); ?>
|
904 |
+
<span class="key"><?php echo $day_3th ?>.1-</span>
|
905 |
+
</li>
|
906 |
+
<?php $day_4th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 4); ?>
|
907 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_4th}.1"); ?>">
|
908 |
+
<?php _e($day_4th, 'modern-events-calendar-lite'); ?>
|
909 |
+
<span class="key"><?php echo $day_4th ?>.1-</span>
|
910 |
+
</li>
|
911 |
+
<?php $day_5th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 5); ?>
|
912 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_5th}.1"); ?>">
|
913 |
+
<?php _e($day_5th, 'modern-events-calendar-lite'); ?>
|
914 |
+
<span class="key"><?php echo $day_5th ?>.1-</span>
|
915 |
+
</li>
|
916 |
+
<?php $day_6th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 6); ?>
|
917 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_6th}.1"); ?>">
|
918 |
+
<?php _e($day_6th, 'modern-events-calendar-lite'); ?>
|
919 |
+
<span class="key"><?php echo $day_6th ?>.1-</span>
|
920 |
+
</li>
|
921 |
+
<?php $day_7th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 7); ?>
|
922 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_7th}.1"); ?>">
|
923 |
+
<?php _e($day_7th, 'modern-events-calendar-lite'); ?>
|
924 |
+
<span class="key"><?php echo $day_7th ?>.1-</span>
|
925 |
+
</li>
|
926 |
+
</ul>
|
927 |
+
</ul>
|
928 |
+
<ul>
|
929 |
+
<li>
|
930 |
+
<?php _e('Second', 'modern-events-calendar-lite'); ?>
|
931 |
+
</li>
|
932 |
+
<ul>
|
933 |
+
<?php $day_1th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 1); ?>
|
934 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_1th}.2"); ?>">
|
935 |
+
<?php _e($day_1th, 'modern-events-calendar-lite'); ?>
|
936 |
+
<span class="key"><?php echo $day_1th ?>.2-</span>
|
937 |
+
</li>
|
938 |
+
<?php $day_2th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 2); ?>
|
939 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_2th}.2"); ?>">
|
940 |
+
<?php _e($day_2th, 'modern-events-calendar-lite'); ?>
|
941 |
+
<span class="key"><?php echo $day_2th ?>.2-</span>
|
942 |
+
</li>
|
943 |
+
<?php $day_3th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 3); ?>
|
944 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_3th}.2"); ?>">
|
945 |
+
<?php _e($day_3th, 'modern-events-calendar-lite'); ?>
|
946 |
+
<span class="key"><?php echo $day_3th ?>.2-</span>
|
947 |
+
</li>
|
948 |
+
<?php $day_4th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 4); ?>
|
949 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_4th}.2"); ?>">
|
950 |
+
<?php _e($day_4th, 'modern-events-calendar-lite'); ?>
|
951 |
+
<span class="key"><?php echo $day_4th ?>.2-</span>
|
952 |
+
</li>
|
953 |
+
<?php $day_5th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 5); ?>
|
954 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_5th}.2"); ?>">
|
955 |
+
<?php _e($day_5th, 'modern-events-calendar-lite'); ?>
|
956 |
+
<span class="key"><?php echo $day_5th ?>.2-</span>
|
957 |
+
</li>
|
958 |
+
<?php $day_6th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 6); ?>
|
959 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_6th}.2"); ?>">
|
960 |
+
<?php _e($day_6th, 'modern-events-calendar-lite'); ?>
|
961 |
+
<span class="key"><?php echo $day_6th ?>.2-</span>
|
962 |
+
</li>
|
963 |
+
<?php $day_7th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 7); ?>
|
964 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_7th}.2"); ?>">
|
965 |
+
<?php _e($day_7th, 'modern-events-calendar-lite'); ?>
|
966 |
+
<span class="key"><?php echo $day_7th ?>.2-</span>
|
967 |
+
</li>
|
968 |
+
</ul>
|
969 |
+
</ul>
|
970 |
+
<ul>
|
971 |
+
<li>
|
972 |
+
<?php _e('Third', 'modern-events-calendar-lite'); ?>
|
973 |
+
</li>
|
974 |
+
<ul>
|
975 |
+
<?php $day_1th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 1); ?>
|
976 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_1th}.3"); ?>">
|
977 |
+
<?php _e($day_1th, 'modern-events-calendar-lite'); ?>
|
978 |
+
<span class="key"><?php echo $day_1th ?>.3-</span>
|
979 |
+
</li>
|
980 |
+
<?php $day_2th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 2); ?>
|
981 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_2th}.3"); ?>">
|
982 |
+
<?php _e($day_2th, 'modern-events-calendar-lite'); ?>
|
983 |
+
<span class="key"><?php echo $day_2th ?>.3-</span>
|
984 |
+
</li>
|
985 |
+
<?php $day_3th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 3); ?>
|
986 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_3th}.3"); ?>">
|
987 |
+
<?php _e($day_3th, 'modern-events-calendar-lite'); ?>
|
988 |
+
<span class="key"><?php echo $day_3th ?>.3-</span>
|
989 |
+
</li>
|
990 |
+
<?php $day_4th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 4); ?>
|
991 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_4th}.3"); ?>">
|
992 |
+
<?php _e($day_4th, 'modern-events-calendar-lite'); ?>
|
993 |
+
<span class="key"><?php echo $day_4th ?>.3-</span>
|
994 |
+
</li>
|
995 |
+
<?php $day_5th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 5); ?>
|
996 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_5th}.3"); ?>">
|
997 |
+
<?php _e($day_5th, 'modern-events-calendar-lite'); ?>
|
998 |
+
<span class="key"><?php echo $day_5th ?>.3-</span>
|
999 |
+
</li>
|
1000 |
+
<?php $day_6th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 6); ?>
|
1001 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_6th}.3"); ?>">
|
1002 |
+
<?php _e($day_6th, 'modern-events-calendar-lite'); ?>
|
1003 |
+
<span class="key"><?php echo $day_6th ?>.3-</span>
|
1004 |
+
</li>
|
1005 |
+
<?php $day_7th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 7); ?>
|
1006 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_7th}.3"); ?>">
|
1007 |
+
<?php _e($day_7th, 'modern-events-calendar-lite'); ?>
|
1008 |
+
<span class="key"><?php echo $day_7th ?>.3-</span>
|
1009 |
+
</li>
|
1010 |
+
</ul>
|
1011 |
+
</ul>
|
1012 |
+
<ul>
|
1013 |
+
<li>
|
1014 |
+
<?php _e('Fourth', 'modern-events-calendar-lite'); ?>
|
1015 |
+
</li>
|
1016 |
+
<ul>
|
1017 |
+
<?php $day_1th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 1); ?>
|
1018 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_1th}.4"); ?>">
|
1019 |
+
<?php _e($day_1th, 'modern-events-calendar-lite'); ?>
|
1020 |
+
<span class="key"><?php echo $day_1th ?>.4-</span>
|
1021 |
+
</li>
|
1022 |
+
<?php $day_2th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 2); ?>
|
1023 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_2th}.4"); ?>">
|
1024 |
+
<?php _e($day_2th, 'modern-events-calendar-lite'); ?>
|
1025 |
+
<span class="key"><?php echo $day_2th ?>.4-</span>
|
1026 |
+
</li>
|
1027 |
+
<?php $day_3th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 3); ?>
|
1028 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_3th}.4"); ?>">
|
1029 |
+
<?php _e($day_3th, 'modern-events-calendar-lite'); ?>
|
1030 |
+
<span class="key"><?php echo $day_3th ?>.4-</span>
|
1031 |
+
</li>
|
1032 |
+
<?php $day_4th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 4); ?>
|
1033 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_4th}.4"); ?>">
|
1034 |
+
<?php _e($day_4th, 'modern-events-calendar-lite'); ?>
|
1035 |
+
<span class="key"><?php echo $day_4th ?>.4-</span>
|
1036 |
+
</li>
|
1037 |
+
<?php $day_5th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 5); ?>
|
1038 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_5th}.4"); ?>">
|
1039 |
+
<?php _e($day_5th, 'modern-events-calendar-lite'); ?>
|
1040 |
+
<span class="key"><?php echo $day_5th ?>.4-</span>
|
1041 |
+
</li>
|
1042 |
+
<?php $day_6th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 6); ?>
|
1043 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_6th}.4"); ?>">
|
1044 |
+
<?php _e($day_6th, 'modern-events-calendar-lite'); ?>
|
1045 |
+
<span class="key"><?php echo $day_6th ?>.4-</span>
|
1046 |
+
</li>
|
1047 |
+
<?php $day_7th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 7); ?>
|
1048 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_7th}.4"); ?>">
|
1049 |
+
<?php _e($day_7th, 'modern-events-calendar-lite'); ?>
|
1050 |
+
<span class="key"><?php echo $day_7th ?>.4-</span>
|
1051 |
+
</li>
|
1052 |
+
</ul>
|
1053 |
+
</ul>
|
1054 |
+
<ul>
|
1055 |
+
<li>
|
1056 |
+
<?php _e('Last', 'modern-events-calendar-lite'); ?>
|
1057 |
+
</li>
|
1058 |
+
<ul>
|
1059 |
+
<?php $day_1th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 1); ?>
|
1060 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_1th}.l"); ?>">
|
1061 |
+
<?php _e($day_1th, 'modern-events-calendar-lite'); ?>
|
1062 |
+
<span class="key"><?php echo $day_1th ?>.l-</span>
|
1063 |
+
</li>
|
1064 |
+
<?php $day_2th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 2); ?>
|
1065 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_2th}.l"); ?>">
|
1066 |
+
<?php _e($day_2th, 'modern-events-calendar-lite'); ?>
|
1067 |
+
<span class="key"><?php echo $day_2th ?>.l-</span>
|
1068 |
+
</li>
|
1069 |
+
<?php $day_3th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 3); ?>
|
1070 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_3th}.l"); ?>">
|
1071 |
+
<?php _e($day_3th, 'modern-events-calendar-lite'); ?>
|
1072 |
+
<span class="key"><?php echo $day_3th ?>.l-</span>
|
1073 |
+
</li>
|
1074 |
+
<?php $day_4th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 4); ?>
|
1075 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_4th}.l"); ?>">
|
1076 |
+
<?php _e($day_4th, 'modern-events-calendar-lite'); ?>
|
1077 |
+
<span class="key"><?php echo $day_4th ?>.l-</span>
|
1078 |
+
</li>
|
1079 |
+
<?php $day_5th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 5); ?>
|
1080 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_5th}.l"); ?>">
|
1081 |
+
<?php _e($day_5th, 'modern-events-calendar-lite'); ?>
|
1082 |
+
<span class="key"><?php echo $day_5th ?>.l-</span>
|
1083 |
+
</li>
|
1084 |
+
<?php $day_6th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 6); ?>
|
1085 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_6th}.l"); ?>">
|
1086 |
+
<?php _e($day_6th, 'modern-events-calendar-lite'); ?>
|
1087 |
+
<span class="key"><?php echo $day_6th ?>.l-</span>
|
1088 |
+
</li>
|
1089 |
+
<?php $day_7th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 7); ?>
|
1090 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_7th}.l"); ?>">
|
1091 |
+
<?php _e($day_7th, 'modern-events-calendar-lite'); ?>
|
1092 |
+
<span class="key"><?php echo $day_7th ?>.l-</span>
|
1093 |
+
</li>
|
1094 |
+
</ul>
|
1095 |
+
</ul>
|
1096 |
+
<input class="mec-col-2" type="hidden" name="mec[date][repeat][advanced]"
|
1097 |
+
id="mec_date_repeat_advanced" value="<?php echo esc_attr($advanced_str); ?>"/>
|
1098 |
+
</div>
|
1099 |
+
</div>
|
1100 |
+
</div>
|
1101 |
+
</div>
|
1102 |
+
</div>
|
1103 |
+
<?php
|
1104 |
+
}
|
1105 |
+
|
1106 |
+
/**
|
1107 |
+
* Show exceptions options of event into the Add/Edit event page
|
1108 |
+
*
|
1109 |
+
* @author Webnus <info@webnus.biz>
|
1110 |
+
* @param object $post
|
1111 |
+
*/
|
1112 |
+
public function meta_box_exceptional_days($post)
|
1113 |
+
{
|
1114 |
+
$not_in_days_str = get_post_meta($post->ID, 'mec_not_in_days', true);
|
1115 |
+
$not_in_days = trim($not_in_days_str) ? explode(',', $not_in_days_str) : array();
|
1116 |
+
?>
|
1117 |
+
<div class="mec-meta-box-fields" id="mec-exceptional-days">
|
1118 |
+
<h4><?php _e('Exceptional Days', 'modern-events-calendar-lite'); ?></h4>
|
1119 |
+
<div id="mec_meta_box_exceptions_form">
|
1120 |
+
|
1121 |
+
<div id="mec_exceptions_not_in_days_container">
|
1122 |
+
<div class="mec-title">
|
1123 |
+
<span class="mec-dashicons dashicons dashicons-calendar-alt"></span>
|
1124 |
+
<label for="mec_exceptions_not_in_days_date"><?php _e('Exclude certain days', 'modern-events-calendar-lite'); ?></label>
|
1125 |
+
</div>
|
1126 |
+
<div class="mec-form-row">
|
1127 |
+
<div class="mec-col-6">
|
1128 |
+
<input type="text" id="mec_exceptions_not_in_days_date" value=""
|
1129 |
+
placeholder="<?php _e('Date', 'modern-events-calendar-lite'); ?>" class="mec_date_picker" autocomplete="off"/>
|
1130 |
+
<button class="button" type="button"
|
1131 |
+
id="mec_add_not_in_days"><?php _e('Add', 'modern-events-calendar-lite'); ?></button>
|
1132 |
+
<span class="mec-tooltip">
|
1133 |
<div class="box top">
|
1134 |
<h5 class="title"><?php _e('Exclude certain days', 'modern-events-calendar-lite'); ?></h5>
|
1135 |
+
<div class="content"><p><?php esc_attr_e('Exclude certain days from event occurrence dates. Please note that you can exclude only single day occurrences and you cannot exclude one day from multiple day occurrences.', 'modern-events-calendar-lite'); ?>
|
1136 |
+
<a href="https://webnus.net/dox/modern-events-calendar/exceptional-days/"
|
1137 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1138 |
</div>
|
1139 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1140 |
+
</span>
|
1141 |
+
</div>
|
1142 |
+
</div>
|
1143 |
+
<div class="mec-form-row mec-certain-day" id="mec_not_in_days">
|
1144 |
+
<?php $i = 1;
|
1145 |
+
foreach ($not_in_days as $not_in_day) : ?>
|
1146 |
+
<div class="mec-form-row" id="mec_not_in_days_row<?php echo $i; ?>">
|
1147 |
+
<input type="hidden" name="mec[not_in_days][<?php echo $i; ?>]"
|
1148 |
+
value="<?php echo $not_in_day; ?>"/>
|
1149 |
+
<span class="mec-not-in-days-day"><?php echo $not_in_day; ?></span>
|
1150 |
+
<span class="mec-not-in-days-remove"
|
1151 |
+
onclick="mec_not_in_days_remove(<?php echo $i; ?>);">x</span>
|
1152 |
+
</div>
|
1153 |
+
<?php
|
1154 |
+
$i++;
|
1155 |
+
endforeach;
|
1156 |
+
?>
|
1157 |
+
</div>
|
1158 |
+
<input type="hidden" id="mec_new_not_in_days_key" value="<?php echo $i + 1; ?>"/>
|
1159 |
+
<div class="mec-util-hidden" id="mec_new_not_in_days_raw">
|
1160 |
+
<div class="mec-form-row" id="mec_not_in_days_row:i:">
|
1161 |
+
<input type="hidden" name="mec[not_in_days][:i:]" value=":val:"/>
|
1162 |
+
<span class="mec-not-in-days-day">:val:</span>
|
1163 |
+
<span class="mec-not-in-days-remove" onclick="mec_not_in_days_remove(:i:);">x</span>
|
1164 |
+
</div>
|
1165 |
+
</div>
|
1166 |
+
</div>
|
1167 |
+
|
1168 |
+
</div>
|
1169 |
+
</div>
|
1170 |
+
<?php
|
1171 |
+
}
|
1172 |
+
|
1173 |
+
/**
|
1174 |
+
* Show hourly schedule options of event into the Add/Edit event page
|
1175 |
+
*
|
1176 |
+
* @author Webnus <info@webnus.biz>
|
1177 |
+
* @param object $post
|
1178 |
+
*/
|
1179 |
+
public function meta_box_hourly_schedule($post)
|
1180 |
+
{
|
1181 |
+
$meta_hourly_schedules = get_post_meta($post->ID, 'mec_hourly_schedules', true);
|
1182 |
+
|
1183 |
+
if (is_array($meta_hourly_schedules) and count($meta_hourly_schedules)) {
|
1184 |
+
$first_key = key($meta_hourly_schedules);
|
1185 |
+
|
1186 |
+
$hourly_schedules = array();
|
1187 |
+
if (!isset($meta_hourly_schedules[$first_key]['schedules'])) {
|
1188 |
+
$hourly_schedules[] = array(
|
1189 |
+
'title' => __('Day 1', 'modern-events-calendar-lite'),
|
1190 |
+
'schedules' => $meta_hourly_schedules,
|
1191 |
+
);
|
1192 |
+
} else {
|
1193 |
+
$hourly_schedules = $meta_hourly_schedules;
|
1194 |
+
}
|
1195 |
+
} else {
|
1196 |
+
$hourly_schedules = array();
|
1197 |
+
}
|
1198 |
+
|
1199 |
+
// Status of Speakers Feature
|
1200 |
+
$speakers_status = (!isset($this->settings['speakers_status']) or (isset($this->settings['speakers_status']) and !$this->settings['speakers_status'])) ? false : true;
|
1201 |
+
$speakers = get_terms(
|
1202 |
+
'mec_speaker',
|
1203 |
+
array(
|
1204 |
+
'orderby' => 'name',
|
1205 |
+
'order' => 'ASC',
|
1206 |
+
'hide_empty' => '0',
|
1207 |
+
)
|
1208 |
+
);
|
1209 |
+
?>
|
1210 |
+
<div class="mec-meta-box-fields" id="mec-hourly-schedule">
|
1211 |
+
<h4><?php _e('Hourly Schedule', 'modern-events-calendar-lite'); ?></h4>
|
1212 |
+
<div id="mec_meta_box_hourly_schedule_day_form">
|
1213 |
+
<div class="mec-form-row">
|
1214 |
+
<button class="button" type="button"
|
1215 |
+
id="mec_add_hourly_schedule_day_button"><?php _e('Add Day', 'modern-events-calendar-lite'); ?></button>
|
1216 |
+
<span class="description"><?php esc_attr_e('Add new days for schedule. For example if your event is multiple days, you can add a different schedule for each day!', 'modern-events-calendar-lite'); ?></span>
|
1217 |
+
</div>
|
1218 |
+
</div>
|
1219 |
+
<div id="mec_meta_box_hourly_schedule_days">
|
1220 |
+
<?php $d = 0;
|
1221 |
+
foreach ($hourly_schedules as $day) : ?>
|
1222 |
+
<div id="mec_meta_box_hourly_schedule_day_<?php echo $d; ?>">
|
1223 |
+
<h4><?php echo isset($day['title']) ? $day['title'] : sprintf(__('Day %s', 'modern-events-calendar-lite'), $d + 1); ?></h4>
|
1224 |
+
<div id="mec_meta_box_hourly_schedule_form<?php echo $d; ?>">
|
1225 |
+
<div class="mec-form-row">
|
1226 |
+
<div class="mec-col-1"><label
|
1227 |
+
for="mec_add_hourly_schedule_day<?php echo $d; ?>_title"><?php echo __('Title', 'modern-events-calendar-lite'); ?></label>
|
1228 |
+
</div>
|
1229 |
+
<div class="mec-col-10"><input type="text"
|
1230 |
+
id="mec_add_hourly_schedule_day<?php echo $d; ?>_title"
|
1231 |
+
name="mec[hourly_schedules][<?php echo $d; ?>][title]"
|
1232 |
+
value="<?php echo isset($day['title']) ? $day['title'] : ''; ?>"
|
1233 |
+
class="widefat"></div>
|
1234 |
+
<div class="mec-col-1">
|
1235 |
+
<button class="button" type="button"
|
1236 |
+
onclick="mec_hourly_schedule_day_remove(<?php echo $d; ?>)"><?php echo __('Remove', 'modern-events-calendar-lite'); ?></button>
|
1237 |
+
</div>
|
1238 |
+
</div>
|
1239 |
+
<div class="mec-form-row">
|
1240 |
+
<button class="button mec-add-hourly-schedule-button" type="button"
|
1241 |
+
id="mec_add_hourly_schedule_button<?php echo $d; ?>"
|
1242 |
+
data-day="<?php echo $d; ?>"><?php _e('Add', 'modern-events-calendar-lite'); ?></button>
|
1243 |
+
<span class="description"><?php esc_attr_e('Add new hourly schedule row', 'modern-events-calendar-lite'); ?></span>
|
1244 |
+
</div>
|
1245 |
+
<div id="mec_hourly_schedules<?php echo $d; ?>">
|
1246 |
+
<?php
|
1247 |
+
$i = 0;
|
1248 |
+
foreach ($day['schedules'] as $key => $hourly_schedule) :
|
1249 |
+
if (!is_numeric($key)) {
|
1250 |
+
continue;
|
1251 |
+
}
|
1252 |
+
$i = max($i, $key);
|
1253 |
+
?>
|
1254 |
+
<div class="mec-form-row mec-box"
|
1255 |
+
id="mec_hourly_schedule_row<?php echo $d; ?>_<?php echo $key; ?>">
|
1256 |
+
<input class="mec-col-1" type="text"
|
1257 |
+
name="mec[hourly_schedules][<?php echo $d; ?>][schedules][<?php echo $key; ?>][from]"
|
1258 |
+
placeholder="<?php esc_attr_e('From e.g. 8:15', 'modern-events-calendar-lite'); ?>"
|
1259 |
+
value="<?php echo esc_attr($hourly_schedule['from']); ?>"/>
|
1260 |
+
<input class="mec-col-1" type="text"
|
1261 |
+
name="mec[hourly_schedules][<?php echo $d; ?>][schedules][<?php echo $key; ?>][to]"
|
1262 |
+
placeholder="<?php esc_attr_e('To e.g. 8:45', 'modern-events-calendar-lite'); ?>"
|
1263 |
+
value="<?php echo esc_attr($hourly_schedule['to']); ?>"/>
|
1264 |
+
<input class="mec-col-3" type="text"
|
1265 |
+
name="mec[hourly_schedules][<?php echo $d; ?>][schedules][<?php echo $key; ?>][title]"
|
1266 |
+
placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>"
|
1267 |
+
value="<?php echo esc_attr($hourly_schedule['title']); ?>"/>
|
1268 |
+
<input class="mec-col-6" type="text"
|
1269 |
+
name="mec[hourly_schedules][<?php echo $d; ?>][schedules][<?php echo $key; ?>][description]"
|
1270 |
+
placeholder="<?php esc_attr_e('Description', 'modern-events-calendar-lite'); ?>"
|
1271 |
+
value="<?php echo esc_attr($hourly_schedule['description']); ?>"/>
|
1272 |
+
<button class="button" type="button"
|
1273 |
+
onclick="mec_hourly_schedule_remove(<?php echo $d; ?>, <?php echo $key; ?>)"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
1274 |
+
<?php if ($speakers_status) : ?>
|
1275 |
+
<div class="mec-col-12 mec-hourly-schedule-form-speakers">
|
1276 |
+
<strong><?php echo $this->main->m('taxonomy_speakers', __('Speakers', 'modern-events-calendar-lite')); ?></strong>
|
1277 |
+
<?php foreach ($speakers as $speaker) : ?>
|
1278 |
+
<label><input type="checkbox"
|
1279 |
+
name="mec[hourly_schedules][<?php echo $d; ?>][schedules][<?php echo $key; ?>][speakers][]"
|
1280 |
+
value="<?php echo $speaker->term_id; ?>" <?php echo (isset($hourly_schedule['speakers']) and in_array($speaker->term_id, $hourly_schedule['speakers'])) ? 'checked="checked"' : ''; ?>><?php echo $speaker->name; ?>
|
1281 |
+
</label>
|
1282 |
+
<?php endforeach; ?>
|
1283 |
+
</div>
|
1284 |
+
<?php endif; ?>
|
1285 |
+
</div>
|
1286 |
+
<?php endforeach; ?>
|
1287 |
+
</div>
|
1288 |
+
</div>
|
1289 |
+
<input type="hidden" id="mec_new_hourly_schedule_key<?php echo $d; ?>"
|
1290 |
+
value="<?php echo $i + 1; ?>"/>
|
1291 |
+
<div class="mec-util-hidden" id="mec_new_hourly_schedule_raw<?php echo $d; ?>">
|
1292 |
+
<div class="mec-form-row mec-box" id="mec_hourly_schedule_row<?php echo $d; ?>_:i:">
|
1293 |
+
<input class="mec-col-1" type="text"
|
1294 |
+
name="mec[hourly_schedules][<?php echo $d; ?>][schedules][:i:][from]"
|
1295 |
+
placeholder="<?php esc_attr_e('From e.g. 8:15', 'modern-events-calendar-lite'); ?>"/>
|
1296 |
+
<input class="mec-col-1" type="text"
|
1297 |
+
name="mec[hourly_schedules][<?php echo $d; ?>][schedules][:i:][to]"
|
1298 |
+
placeholder="<?php esc_attr_e('To e.g. 8:45', 'modern-events-calendar-lite'); ?>"/>
|
1299 |
+
<input class="mec-col-3" type="text"
|
1300 |
+
name="mec[hourly_schedules][<?php echo $d; ?>][schedules][:i:][title]"
|
1301 |
+
placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>"/>
|
1302 |
+
<input class="mec-col-6" type="text"
|
1303 |
+
name="mec[hourly_schedules][<?php echo $d; ?>][schedules][:i:][description]"
|
1304 |
+
placeholder="<?php esc_attr_e('Description', 'modern-events-calendar-lite'); ?>"/>
|
1305 |
+
<button class="button" type="button"
|
1306 |
+
onclick="mec_hourly_schedule_remove(<?php echo $d; ?>, :i:)"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
1307 |
+
<?php if ($speakers_status) : ?>
|
1308 |
+
<div class="mec-col-12 mec-hourly-schedule-form-speakers">
|
1309 |
+
<strong><?php echo $this->main->m('taxonomy_speakers', __('Speakers', 'modern-events-calendar-lite')); ?></strong>
|
1310 |
+
<?php foreach ($speakers as $speaker) : ?>
|
1311 |
+
<label><input type="checkbox"
|
1312 |
+
name="mec[hourly_schedules][<?php echo $d; ?>][schedules][:i:][speakers][]"
|
1313 |
+
value="<?php echo $speaker->term_id; ?>"><?php echo $speaker->name; ?>
|
1314 |
+
</label>
|
1315 |
+
<?php endforeach; ?>
|
1316 |
+
</div>
|
1317 |
+
<?php endif; ?>
|
1318 |
+
</div>
|
1319 |
+
</div>
|
1320 |
+
</div>
|
1321 |
+
<?php
|
1322 |
+
$d++;
|
1323 |
+
endforeach;
|
1324 |
+
?>
|
1325 |
+
</div>
|
1326 |
+
<input type="hidden" id="mec_new_hourly_schedule_day_key" value="<?php echo $d; ?>"/>
|
1327 |
+
<div class="mec-util-hidden" id="mec_new_hourly_schedule_day_raw">
|
1328 |
+
<div id="mec_meta_box_hourly_schedule_day_:d:">
|
1329 |
+
<h4><?php echo __('New Day', 'modern-events-calendar-lite'); ?></h4>
|
1330 |
+
<div id="mec_meta_box_hourly_schedule_form:d:">
|
1331 |
+
<div class="mec-form-row">
|
1332 |
+
<div class="mec-col-1"><label
|
1333 |
+
for="mec_add_hourly_schedule_day:d:_title"><?php echo __('Title', 'modern-events-calendar-lite'); ?></label>
|
1334 |
+
</div>
|
1335 |
+
<div class="mec-col-10"><input type="text" id="mec_add_hourly_schedule_day:d:_title"
|
1336 |
+
name="mec[hourly_schedules][:d:][title]"
|
1337 |
+
value="<?php echo __('New Day', 'modern-events-calendar-lite'); ?>" class="widefat">
|
1338 |
+
</div>
|
1339 |
+
<div class="mec-col-1">
|
1340 |
+
<button class="button" type="button"
|
1341 |
+
onclick="mec_hourly_schedule_day_remove(:d:)"><?php echo __('Remove', 'modern-events-calendar-lite'); ?></button>
|
1342 |
+
</div>
|
1343 |
+
</div>
|
1344 |
+
<div class="mec-form-row">
|
1345 |
+
<button class="button mec-add-hourly-schedule-button" type="button"
|
1346 |
+
id="mec_add_hourly_schedule_button:d:"
|
1347 |
+
data-day=":d:"><?php _e('Add', 'modern-events-calendar-lite'); ?></button>
|
1348 |
+
<span class="description"><?php esc_attr_e('Add new hourly schedule row', 'modern-events-calendar-lite'); ?></span>
|
1349 |
+
</div>
|
1350 |
+
<div id="mec_hourly_schedules:d:">
|
1351 |
+
</div>
|
1352 |
+
</div>
|
1353 |
+
<input type="hidden" id="mec_new_hourly_schedule_key:d:" value="1"/>
|
1354 |
+
<div class="mec-util-hidden" id="mec_new_hourly_schedule_raw:d:">
|
1355 |
+
<div class="mec-form-row mec-box" id="mec_hourly_schedule_row:d:_:i:">
|
1356 |
+
<input class="mec-col-1" type="text" name="mec[hourly_schedules][:d:][schedules][:i:][from]"
|
1357 |
+
placeholder="<?php esc_attr_e('From e.g. 8:15', 'modern-events-calendar-lite'); ?>"/>
|
1358 |
+
<input class="mec-col-1" type="text" name="mec[hourly_schedules][:d:][schedules][:i:][to]"
|
1359 |
+
placeholder="<?php esc_attr_e('To e.g. 8:45', 'modern-events-calendar-lite'); ?>"/>
|
1360 |
+
<input class="mec-col-3" type="text"
|
1361 |
+
name="mec[hourly_schedules][:d:][schedules][:i:][title]"
|
1362 |
+
placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>"/>
|
1363 |
+
<input class="mec-col-6" type="text"
|
1364 |
+
name="mec[hourly_schedules][:d:][schedules][:i:][description]"
|
1365 |
+
placeholder="<?php esc_attr_e('Description', 'modern-events-calendar-lite'); ?>"/>
|
1366 |
+
<button class="button" type="button"
|
1367 |
+
onclick="mec_hourly_schedule_remove(:d:, :i:)"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
1368 |
+
<?php if ($speakers_status) : ?>
|
1369 |
+
<div class="mec-col-12 mec-hourly-schedule-form-speakers">
|
1370 |
+
<strong><?php echo $this->main->m('taxonomy_speakers', __('Speakers', 'modern-events-calendar-lite')); ?></strong>
|
1371 |
+
<?php foreach ($speakers as $speaker) : ?>
|
1372 |
+
<label><input type="checkbox"
|
1373 |
+
name="mec[hourly_schedules][:d:][schedules][:i:][speakers][]"
|
1374 |
+
value="<?php echo $speaker->term_id; ?>"><?php echo $speaker->name; ?>
|
1375 |
+
</label>
|
1376 |
+
<?php endforeach; ?>
|
1377 |
+
</div>
|
1378 |
+
<?php endif; ?>
|
1379 |
+
</div>
|
1380 |
+
</div>
|
1381 |
+
</div>
|
1382 |
+
</div>
|
1383 |
+
</div>
|
1384 |
+
<?php
|
1385 |
+
}
|
1386 |
+
|
1387 |
+
/**
|
1388 |
+
* Show read more option of event into the Add/Edit event page
|
1389 |
+
*
|
1390 |
+
* @author Webnus <info@webnus.biz>
|
1391 |
+
* @param object $post
|
1392 |
+
*/
|
1393 |
+
public function meta_box_links($post)
|
1394 |
+
{
|
1395 |
+
$read_more = get_post_meta($post->ID, 'mec_read_more', true);
|
1396 |
+
$more_info = get_post_meta($post->ID, 'mec_more_info', true);
|
1397 |
+
$more_info_title = get_post_meta($post->ID, 'mec_more_info_title', true);
|
1398 |
+
$more_info_target = get_post_meta($post->ID, 'mec_more_info_target', true);
|
1399 |
+
?>
|
1400 |
+
<div class="mec-meta-box-fields" id="mec-read-more">
|
1401 |
+
<h4><?php _e('Event Links', 'modern-events-calendar-lite'); ?></h4>
|
1402 |
+
<div class="mec-form-row">
|
1403 |
+
<label class="mec-col-2"
|
1404 |
+
for="mec_read_more_link"><?php echo $this->main->m('read_more_link', __('Event Link', 'modern-events-calendar-lite')); ?></label>
|
1405 |
+
<input class="mec-col-7" type="text" name="mec[read_more]" id="mec_read_more_link"
|
1406 |
+
value="<?php echo esc_attr($read_more); ?>"
|
1407 |
+
placeholder="<?php _e('eg. http://yoursite.com/your-event', 'modern-events-calendar-lite'); ?>"/>
|
1408 |
+
<span class="mec-tooltip">
|
1409 |
<div class="box top">
|
1410 |
<h5 class="title"><?php _e('Event Link', 'modern-events-calendar-lite'); ?></h5>
|
1411 |
+
<div class="content"><p><?php esc_attr_e('If you fill it, it will be replaced instead of default event page link. Insert full link including http(s):// - Also, if you use advertising URL, can use URL Shortener', 'modern-events-calendar-lite'); ?>
|
1412 |
+
<a href="https://bit.ly/"
|
1413 |
+
target="_blank"><?php _e('URL Shortener', 'modern-events-calendar-lite'); ?></a></p></div>
|
1414 |
</div>
|
1415 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1416 |
+
</span>
|
1417 |
+
</div>
|
1418 |
+
<div class="mec-form-row">
|
1419 |
+
<label class="mec-col-2"
|
1420 |
+
for="mec_more_info_link"><?php echo $this->main->m('more_info_link', __('More Info', 'modern-events-calendar-lite')); ?></label>
|
1421 |
+
<input class="mec-col-5" type="text" name="mec[more_info]" id="mec_more_info_link"
|
1422 |
+
value="<?php echo esc_attr($more_info); ?>"
|
1423 |
+
placeholder="<?php _e('eg. http://yoursite.com/your-event', 'modern-events-calendar-lite'); ?>"/>
|
1424 |
+
<input class="mec-col-2" type="text" name="mec[more_info_title]" id="mec_more_info_title"
|
1425 |
+
value="<?php echo esc_attr($more_info_title); ?>"
|
1426 |
+
placeholder="<?php _e('More Information', 'modern-events-calendar-lite'); ?>"/>
|
1427 |
+
<select class="mec-col-2" name="mec[more_info_target]" id="mec_more_info_target">
|
1428 |
+
<option value="_self" <?php echo($more_info_target == '_self' ? 'selected="selected"' : ''); ?>><?php _e('Current Window', 'modern-events-calendar-lite'); ?></option>
|
1429 |
+
<option value="_blank" <?php echo($more_info_target == '_blank' ? 'selected="selected"' : ''); ?>><?php _e('New Window', 'modern-events-calendar-lite'); ?></option>
|
1430 |
+
</select>
|
1431 |
+
<span class="mec-tooltip">
|
1432 |
<div class="box top">
|
1433 |
<h5 class="title"><?php _e('More Info', 'modern-events-calendar-lite'); ?></h5>
|
1434 |
+
<div class="content"><p><?php esc_attr_e('If you fill it, it will be shown in event details page as an optional link. Insert full link including http(s)://', 'modern-events-calendar-lite'); ?>
|
1435 |
+
<a href="https://webnus.net/dox/modern-events-calendar/add-event/"
|
1436 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1437 |
</div>
|
1438 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1439 |
+
</span>
|
1440 |
+
</div>
|
1441 |
+
</div>
|
1442 |
+
<?php
|
1443 |
+
}
|
1444 |
+
|
1445 |
+
/**
|
1446 |
+
* Show booking meta box contents
|
1447 |
+
*
|
1448 |
+
* @author Webnus <info@webnus.biz>
|
1449 |
+
* @param object $post
|
1450 |
+
*/
|
1451 |
+
public function meta_box_booking($post)
|
1452 |
+
{
|
1453 |
+
do_action('mec_metabox_booking', $post);
|
1454 |
+
}
|
1455 |
+
|
1456 |
+
/**
|
1457 |
+
* Show booking options of event into the Add/Edit event page
|
1458 |
+
*
|
1459 |
+
* @author Webnus <info@webnus.biz>
|
1460 |
+
* @param object $post
|
1461 |
+
*/
|
1462 |
+
public function meta_box_booking_options($post)
|
1463 |
+
{
|
1464 |
+
$booking_options = get_post_meta($post->ID, 'mec_booking', true);
|
1465 |
+
if (!is_array($booking_options)) {
|
1466 |
+
$booking_options = array();
|
1467 |
+
}
|
1468 |
+
|
1469 |
+
$bookings_limit = isset($booking_options['bookings_limit']) ? $booking_options['bookings_limit'] : '';
|
1470 |
+
$bookings_limit_unlimited = isset($booking_options['bookings_limit_unlimited']) ? $booking_options['bookings_limit_unlimited'] : 0;
|
1471 |
+
?>
|
1472 |
+
<div id="mec-booking">
|
1473 |
+
<div class="mec-meta-box-fields" id="mec_meta_box_booking_options_form">
|
1474 |
+
<label for="mec_bookings_limit"><h4 class="mec-title"><?php _e('Total booking limits', 'modern-events-calendar-lite'); ?></h4>
|
1475 |
+
</label>
|
1476 |
+
<div class="mec-form-row">
|
1477 |
+
<label class="mec-col-4" for="mec_bookings_limit_unlimited" id="mec_bookings_limit_unlimited_label">
|
1478 |
+
<input type="hidden" name="mec[booking][bookings_limit_unlimited]" value="0"/>
|
1479 |
+
<input id="mec_bookings_limit_unlimited"
|
1480 |
+
<?php
|
1481 |
+
if ($bookings_limit_unlimited == 1) {
|
1482 |
+
echo 'checked="checked"';
|
1483 |
+
}
|
1484 |
+
?>
|
1485 |
+
type="checkbox" value="1" name="mec[booking][bookings_limit_unlimited]"/>
|
1486 |
+
<?php _e('Unlimited', 'modern-events-calendar-lite'); ?>
|
1487 |
+
</label>
|
1488 |
+
<input class="mec-col-4" type="text" name="mec[booking][bookings_limit]" id="mec_bookings_limit"
|
1489 |
+
value="<?php echo esc_attr($bookings_limit); ?>" placeholder="<?php _e('100', 'modern-events-calendar-lite'); ?>"
|
1490 |
+
class="
|
1491 |
<?php
|
1492 |
+
if ($bookings_limit_unlimited == 1) {
|
1493 |
+
echo 'mec-util-hidden';
|
1494 |
+
}
|
1495 |
+
?>
|
1496 |
+
"/>
|
1497 |
+
</div>
|
1498 |
+
<span class="mec-tooltip">
|
1499 |
<div class="box">
|
1500 |
<h5 class="title"><?php _e('Total booking limits', 'modern-events-calendar-lite'); ?></h5>
|
1501 |
+
<div class="content"><p><?php esc_attr_e('If you want to set a limit to all tickets, uncheck this checkbox and put a limitation number.', 'modern-events-calendar-lite'); ?>
|
1502 |
+
<a href="https://webnus.net/dox/modern-events-calendar/total-booking-limits/"
|
1503 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a><a
|
1504 |
+
href="https://webnus.net/dox/modern-events-calendar/add-a-booking-system/"
|
1505 |
+
target="_blank"><?php _e('Read About A Booking System', 'modern-events-calendar-lite'); ?></a></p></div>
|
1506 |
</div>
|
1507 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1508 |
+
</span>
|
1509 |
+
</div>
|
1510 |
+
</div>
|
1511 |
+
<?php
|
1512 |
+
}
|
1513 |
+
|
1514 |
+
/**
|
1515 |
+
* Show tickets options of event into the Add/Edit event page
|
1516 |
+
*
|
1517 |
+
* @author Webnus <info@webnus.biz>
|
1518 |
+
* @param object $post
|
1519 |
+
*/
|
1520 |
+
public function meta_box_tickets($post)
|
1521 |
+
{
|
1522 |
+
$tickets = get_post_meta($post->ID, 'mec_tickets', true);
|
1523 |
+
if (!is_array($tickets)) {
|
1524 |
+
$tickets = array();
|
1525 |
+
}
|
1526 |
+
?>
|
1527 |
+
<div class="mec-meta-box-fields" id="mec-tickets">
|
1528 |
+
<h4 class="mec-meta-box-header"><?php echo $this->main->m('tickets', __('Tickets', 'modern-events-calendar-lite')); ?></h4>
|
1529 |
+
|
1530 |
+
<?php if ($post->ID != $this->main->get_original_event($post->ID)) : ?>
|
1531 |
+
<p class="warning-msg"><?php _e("You're translating an event so MEC will use the original event for tickets and booking. You can only translate the ticket name and description. Please define exact tickets that you defined in the original event here.", 'modern-events-calendar-lite'); ?></p>
|
1532 |
+
<?php endif; ?>
|
1533 |
+
|
1534 |
+
<div id="mec_meta_box_tickets_form">
|
1535 |
+
<div class="mec-form-row">
|
1536 |
+
<button class="button" type="button" id="mec_add_ticket_button"><?php _e('Add', 'modern-events-calendar-lite'); ?></button>
|
1537 |
+
</div>
|
1538 |
+
<div id="mec_tickets">
|
1539 |
+
<?php
|
1540 |
+
$i = 0;
|
1541 |
+
foreach ($tickets as $key => $ticket) :
|
1542 |
+
if (!is_numeric($key)) {
|
1543 |
+
continue;
|
1544 |
+
}
|
1545 |
+
$i = max($i, $key);
|
1546 |
+
?>
|
1547 |
+
<div class="mec-box" id="mec_ticket_row<?php echo $key; ?>">
|
1548 |
+
<div class="mec-form-row">
|
1549 |
+
<input type="text" class="mec-col-12" name="mec[tickets][<?php echo $key; ?>][name]"
|
1550 |
+
placeholder="<?php esc_attr_e('Ticket Name', 'modern-events-calendar-lite'); ?>"
|
1551 |
+
value="<?php echo(isset($ticket['name']) ? esc_attr($ticket['name']) : ''); ?>"/>
|
1552 |
+
</div>
|
1553 |
+
<div class="mec-form-row wn-ticket-time">
|
1554 |
+
<div class="mec-ticket-start-time mec-col-12">
|
1555 |
+
<span><?php esc_html_e('Start Time', 'modern-events-calendar-lite'); ?></span>
|
1556 |
+
<select name="mec[tickets][<?php echo $key; ?>][ticket_start_time_hour]">
|
1557 |
+
<?php for ($j = 1; $j <= 12; $j++) : ?>
|
1558 |
+
<option
|
1559 |
+
<?php
|
1560 |
+
if ($ticket['ticket_start_time_hour'] == $j) {
|
1561 |
+
echo 'selected="selected"';
|
1562 |
+
}
|
1563 |
+
?>
|
1564 |
+
value="<?php echo $j; ?>"><?php echo $j; ?></option>
|
1565 |
+
<?php endfor; ?>
|
1566 |
+
</select>
|
1567 |
+
<span class="time-dv">:</span>
|
1568 |
+
<select name="mec[tickets][<?php echo $key; ?>][ticket_start_time_minute]">
|
1569 |
+
<?php for ($k = 0; $k <= 11; $k++) : ?>
|
1570 |
+
<option
|
1571 |
+
<?php
|
1572 |
+
if ($ticket['ticket_start_time_minute'] == ($k * 5)) {
|
1573 |
+
echo 'selected="selected"';
|
1574 |
+
}
|
1575 |
+
?>
|
1576 |
+
value="<?php echo($k * 5); ?>"><?php echo sprintf('%02d', ($k * 5)); ?></option>
|
1577 |
+
<?php endfor; ?>
|
1578 |
+
</select>
|
1579 |
+
<select name="mec[tickets][<?php echo $key; ?>][ticket_start_time_ampm]">
|
1580 |
+
<option
|
1581 |
+
<?php
|
1582 |
+
if ($ticket['ticket_start_time_ampm'] == 'AM') {
|
1583 |
+
echo 'selected="selected"';
|
1584 |
+
}
|
1585 |
+
?>
|
1586 |
+
value="AM"><?php _e('AM', 'modern-events-calendar-lite'); ?></option>
|
1587 |
+
<option
|
1588 |
+
<?php
|
1589 |
+
if ($ticket['ticket_start_time_ampm'] == 'PM') {
|
1590 |
+
echo 'selected="selected"';
|
1591 |
+
}
|
1592 |
+
?>
|
1593 |
+
value="PM"><?php _e('PM', 'modern-events-calendar-lite'); ?></option>
|
1594 |
+
</select>
|
1595 |
+
</div>
|
1596 |
+
<div class="mec-ticket-end-time mec-col-12">
|
1597 |
+
<span><?php esc_html_e('End Time', 'modern-events-calendar-lite'); ?></span>
|
1598 |
+
<select name="mec[tickets][<?php echo $key; ?>][ticket_end_time_hour]">
|
1599 |
+
<?php for ($j = 1; $j <= 12; $j++) : ?>
|
1600 |
+
<option
|
1601 |
+
<?php
|
1602 |
+
if ($ticket['ticket_end_time_hour'] == $j) {
|
1603 |
+
echo 'selected="selected"';
|
1604 |
+
}
|
1605 |
+
?>
|
1606 |
+
value="<?php echo $j; ?>"><?php echo $j; ?></option>
|
1607 |
+
<?php endfor; ?>
|
1608 |
+
</select>
|
1609 |
+
<span class="time-dv">:</span>
|
1610 |
+
<select name="mec[tickets][<?php echo $key; ?>][ticket_end_time_minute]">
|
1611 |
+
<?php for ($k = 0; $k <= 11; $k++) : ?>
|
1612 |
+
<option
|
1613 |
+
<?php
|
1614 |
+
if ($ticket['ticket_end_time_minute'] == ($k * 5)) {
|
1615 |
+
echo 'selected="selected"';
|
1616 |
+
}
|
1617 |
+
?>
|
1618 |
+
value="<?php echo($k * 5); ?>"><?php echo sprintf('%02d', ($k * 5)); ?></option>
|
1619 |
+
<?php endfor; ?>
|
1620 |
+
</select>
|
1621 |
+
<select name="mec[tickets][<?php echo $key; ?>][ticket_end_time_ampm]">
|
1622 |
+
<option
|
1623 |
+
<?php
|
1624 |
+
if ($ticket['ticket_end_time_ampm'] == 'AM') {
|
1625 |
+
echo 'selected="selected"';
|
1626 |
+
}
|
1627 |
+
?>
|
1628 |
+
value="AM"><?php _e('AM', 'modern-events-calendar-lite'); ?></option>
|
1629 |
+
<option
|
1630 |
+
<?php
|
1631 |
+
if ($ticket['ticket_end_time_ampm'] == 'PM') {
|
1632 |
+
echo 'selected="selected"';
|
1633 |
+
}
|
1634 |
+
?>
|
1635 |
+
value="PM"><?php _e('PM', 'modern-events-calendar-lite'); ?></option>
|
1636 |
+
</select>
|
1637 |
+
</div>
|
1638 |
+
</div>
|
1639 |
+
<div class="mec-form-row">
|
1640 |
+
<input type="text" class="mec-col-12"
|
1641 |
+
name="mec[tickets][<?php echo $key; ?>][description]"
|
1642 |
+
placeholder="<?php esc_attr_e('Description', 'modern-events-calendar-lite'); ?>"
|
1643 |
+
value="<?php echo(isset($ticket['description']) ? esc_attr($ticket['description']) : ''); ?>"/>
|
1644 |
+
</div>
|
1645 |
+
<div class="mec-form-row">
|
1646 |
<span class="mec-col-4">
|
1647 |
+
<input type="text" name="mec[tickets][<?php echo $key; ?>][price]"
|
1648 |
+
placeholder="<?php esc_attr_e('Price', 'modern-events-calendar-lite'); ?>"
|
1649 |
+
value="<?php echo(isset($ticket['price']) ? esc_attr($ticket['price']) : ''); ?>"/>
|
1650 |
<span class="mec-tooltip">
|
1651 |
<div class="box top">
|
1652 |
<h5 class="title"><?php _e('Price', 'modern-events-calendar-lite'); ?></h5>
|
1653 |
+
<div class="content"><p><?php esc_attr_e('Insert 0 for free ticket. Only numbers please.', 'modern-events-calendar-lite'); ?>
|
1654 |
+
<a href="https://webnus.net/dox/modern-events-calendar/add-a-booking-system/"
|
1655 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1656 |
</div>
|
1657 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1658 |
+
</span>
|
1659 |
</span>
|
1660 |
+
<span class="mec-col-8">
|
1661 |
+
<input type="text" name="mec[tickets][<?php echo $key; ?>][price_label]"
|
1662 |
+
placeholder="<?php esc_attr_e('Price Label', 'modern-events-calendar-lite'); ?>"
|
1663 |
+
value="<?php echo(isset($ticket['price_label']) ? esc_attr($ticket['price_label']) : ''); ?>"
|
1664 |
+
class="mec-col-12"/>
|
1665 |
<span class="mec-tooltip">
|
1666 |
<div class="box top">
|
1667 |
<h5 class="title"><?php _e('Price Label', 'modern-events-calendar-lite'); ?></h5>
|
1668 |
+
<div class="content"><p><?php esc_attr_e('For showing on website. e.g. $15', 'modern-events-calendar-lite'); ?>
|
1669 |
+
<a href="https://webnus.net/dox/modern-events-calendar/add-a-booking-system/"
|
1670 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1671 |
</div>
|
1672 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1673 |
+
</span>
|
1674 |
</span>
|
1675 |
+
</div>
|
1676 |
+
<div class="mec-form-row">
|
1677 |
+
<input class="mec-col-4" type="text" name="mec[tickets][<?php echo $key; ?>][limit]"
|
1678 |
+
placeholder="<?php esc_attr_e('Available Tickets', 'modern-events-calendar-lite'); ?>"
|
1679 |
+
value="<?php echo(isset($ticket['limit']) ? esc_attr($ticket['limit']) : '100'); ?>"/>
|
1680 |
+
<label class="mec-col-2" for="mec_tickets_unlimited_<?php echo $key; ?>"
|
1681 |
+
id="mec_bookings_limit_unlimited_label<?php echo $key; ?>">
|
1682 |
+
<input type="hidden" name="mec[tickets][<?php echo $key; ?>][unlimited]" value="0"/>
|
1683 |
+
<input id="mec_tickets_unlimited_<?php echo $key; ?>" type="checkbox" value="1"
|
1684 |
+
name="mec[tickets][<?php echo $key; ?>][unlimited]"
|
1685 |
+
<?php
|
1686 |
+
if (isset($ticket['unlimited']) and $ticket['unlimited']) {
|
1687 |
+
echo 'checked="checked"';
|
1688 |
+
}
|
1689 |
+
?>
|
1690 |
+
/>
|
1691 |
+
<?php _e('Unlimited', 'modern-events-calendar-lite'); ?>
|
1692 |
+
</label>
|
1693 |
+
<button class="button" type="button"
|
1694 |
+
onclick="mec_ticket_remove(<?php echo $key; ?>);"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
1695 |
+
</div>
|
1696 |
+
<?php do_action('custom_field_ticket', $ticket, $key); ?>
|
1697 |
+
<div id="mec_price_per_dates_container">
|
1698 |
+
<div class="mec-form-row">
|
1699 |
+
<h4><?php _e('Price per Date', 'modern-events-calendar-lite'); ?></h4>
|
1700 |
+
<button class="button mec_add_price_date_button" type="button"
|
1701 |
+
data-key="<?php echo $key; ?>"><?php _e('Add', 'modern-events-calendar-lite'); ?></button>
|
1702 |
+
</div>
|
1703 |
+
<div id="mec-ticket-price-dates-<?php echo $key; ?>">
|
1704 |
+
<?php if (isset($ticket['dates']) and count($ticket['dates'])) : ?>
|
1705 |
+
<?php
|
1706 |
+
$j = 0;
|
1707 |
+
foreach ($ticket['dates'] as $p => $price_date) :
|
1708 |
+
if (!is_numeric($p)) {
|
1709 |
+
continue;
|
1710 |
+
}
|
1711 |
+
$j = max($j, $p);
|
1712 |
+
?>
|
1713 |
+
<div id="mec_ticket_price_raw_<?php echo $key; ?>_<?php echo $p; ?>">
|
1714 |
+
<div class="mec-form-row">
|
1715 |
+
<input class="mec-col-3 mec_date_picker" type="text"
|
1716 |
+
name="mec[tickets][<?php echo $key; ?>][dates][<?php echo $p; ?>][start]"
|
1717 |
+
value="<?php echo isset($price_date['start']) ? $price_date['start'] : date('Y-m-d'); ?>"
|
1718 |
+
placeholder="<?php esc_attr_e('Start', 'modern-events-calendar-lite'); ?>"/>
|
1719 |
+
<input class="mec-col-3 mec_date_picker" type="text"
|
1720 |
+
name="mec[tickets][<?php echo $key; ?>][dates][<?php echo $p; ?>][end]"
|
1721 |
+
value="<?php echo isset($price_date['end']) ? $price_date['end'] : date('Y-m-d', strtotime('+10 days')); ?>"
|
1722 |
+
placeholder="<?php esc_attr_e('End', 'modern-events-calendar-lite'); ?>"/>
|
1723 |
+
<input class="mec-col-3" type="text"
|
1724 |
+
name="mec[tickets][<?php echo $key; ?>][dates][<?php echo $p; ?>][price]"
|
1725 |
+
value="<?php echo isset($price_date['price']) ? $price_date['price'] : ''; ?>"
|
1726 |
+
placeholder="<?php esc_attr_e('Price', 'modern-events-calendar-lite'); ?>"/>
|
1727 |
+
<input class="mec-col-2" type="text"
|
1728 |
+
name="mec[tickets][<?php echo $key; ?>][dates][<?php echo $p; ?>][label]"
|
1729 |
+
value="<?php echo isset($price_date['label']) ? $price_date['label'] : ''; ?>"
|
1730 |
+
placeholder="<?php esc_attr_e('Label', 'modern-events-calendar-lite'); ?>"/>
|
1731 |
+
<button class="button mec-col-1" type="button"
|
1732 |
+
onclick="mec_ticket_price_remove(<?php echo $key; ?>, <?php echo $p; ?>)"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
1733 |
+
</div>
|
1734 |
+
</div>
|
1735 |
+
<?php endforeach; ?>
|
1736 |
+
<?php endif; ?>
|
1737 |
+
</div>
|
1738 |
+
<input type="hidden" id="mec_new_ticket_price_key_<?php echo $key; ?>"
|
1739 |
+
value="<?php echo $j + 1; ?>"/>
|
1740 |
+
<div class="mec-util-hidden" id="mec_new_ticket_price_raw_<?php echo $key; ?>">
|
1741 |
+
<div id="mec_ticket_price_raw_<?php echo $key; ?>_:j:">
|
1742 |
+
<div class="mec-form-row">
|
1743 |
+
<input class="mec-col-3 new_added" type="text"
|
1744 |
+
name="mec[tickets][<?php echo $key; ?>][dates][:j:][start]"
|
1745 |
+
value="<?php echo date('Y-m-d'); ?>"
|
1746 |
+
placeholder="<?php esc_attr_e('Start', 'modern-events-calendar-lite'); ?>"/>
|
1747 |
+
<input class="mec-col-3 new_added" type="text"
|
1748 |
+
name="mec[tickets][<?php echo $key; ?>][dates][:j:][end]"
|
1749 |
+
value="<?php echo date('Y-m-d', strtotime('+10 days')); ?>"
|
1750 |
+
placeholder="<?php esc_attr_e('End', 'modern-events-calendar-lite'); ?>"/>
|
1751 |
+
<input class="mec-col-3" type="text"
|
1752 |
+
name="mec[tickets][<?php echo $key; ?>][dates][:j:][price]"
|
1753 |
+
placeholder="<?php esc_attr_e('Price', 'modern-events-calendar-lite'); ?>"/>
|
1754 |
+
<input class="mec-col-2" type="text"
|
1755 |
+
name="mec[tickets][<?php echo $key; ?>][dates][:j:][label]"
|
1756 |
+
placeholder="<?php esc_attr_e('Label', 'modern-events-calendar-lite'); ?>"/>
|
1757 |
+
<button class="button mec-col-1" type="button"
|
1758 |
+
onclick="mec_ticket_price_remove(<?php echo $key; ?>, :j:)"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
1759 |
+
</div>
|
1760 |
+
</div>
|
1761 |
+
</div>
|
1762 |
+
</div>
|
1763 |
</div>
|
1764 |
+
<?php endforeach; ?>
|
1765 |
+
</div>
|
1766 |
+
</div>
|
1767 |
+
<input type="hidden" id="mec_new_ticket_key" value="<?php echo $i + 1; ?>"/>
|
1768 |
+
<div class="mec-util-hidden" id="mec_new_ticket_raw">
|
1769 |
+
<div class="mec-box" id="mec_ticket_row:i:">
|
1770 |
+
<div class="mec-form-row">
|
1771 |
+
<input class="mec-col-12" type="text" name="mec[tickets][:i:][name]"
|
1772 |
+
placeholder="<?php esc_attr_e('Ticket Name', 'modern-events-calendar-lite'); ?>"/>
|
1773 |
+
</div>
|
1774 |
+
<div class="mec-form-row wn-ticket-time">
|
1775 |
+
<div class="mec-ticket-start-time mec-col-12">
|
1776 |
+
<span><?php esc_html_e('Start Time', 'modern-events-calendar-lite'); ?></span>
|
1777 |
+
<select name="mec[tickets][:i:][ticket_start_time_hour]">
|
1778 |
+
<?php for ($j = 1; $j <= 12; $j++) : ?>
|
1779 |
+
<option
|
1780 |
+
<?php
|
1781 |
+
if (8 == $j) {
|
1782 |
+
echo 'selected="selected"';
|
1783 |
+
}
|
1784 |
+
?>
|
1785 |
+
value="<?php echo $j; ?>"><?php echo $j; ?></option>
|
1786 |
+
<?php endfor; ?>
|
1787 |
+
</select>
|
1788 |
+
<span class="time-dv">:</span>
|
1789 |
+
<select name="mec[tickets][:i:][ticket_start_time_minute]">
|
1790 |
+
<?php for ($k = 0; $k <= 11; $k++) : ?>
|
1791 |
+
<option value="<?php echo($k * 5); ?>"><?php echo sprintf('%02d', ($k * 5)); ?></option>
|
1792 |
+
<?php endfor; ?>
|
1793 |
+
</select>
|
1794 |
+
<select name="mec[tickets][:i:][ticket_start_time_ampm]">
|
1795 |
+
<option selected="selected" value="AM"><?php _e('AM', 'modern-events-calendar-lite'); ?></option>
|
1796 |
+
<option value="PM"><?php _e('PM', 'modern-events-calendar-lite'); ?></option>
|
1797 |
+
</select>
|
1798 |
+
</div>
|
1799 |
+
<div class="mec-ticket-start-time mec-col-12">
|
1800 |
+
<span><?php esc_html_e('End Time', 'modern-events-calendar-lite'); ?></span>
|
1801 |
+
<select name="mec[tickets][:i:][ticket_end_time_hour]">
|
1802 |
+
<?php for ($j = 1; $j <= 12; $j++) : ?>
|
1803 |
+
<option
|
1804 |
+
<?php
|
1805 |
+
if (6 == $j) {
|
1806 |
+
echo 'selected="selected"';
|
1807 |
+
}
|
1808 |
+
?>
|
1809 |
+
value="<?php echo $j; ?>"><?php echo $j; ?></option>
|
1810 |
+
<?php endfor; ?>
|
1811 |
+
</select>
|
1812 |
+
<span class="time-dv">:</span>
|
1813 |
+
<select name="mec[tickets][:i:][ticket_end_time_minute]">
|
1814 |
+
<?php for ($k = 0; $k <= 11; $k++) : ?>
|
1815 |
+
<option value="<?php echo($k * 5); ?>"><?php echo sprintf('%02d', ($k * 5)); ?></option>
|
1816 |
+
<?php endfor; ?>
|
1817 |
+
</select>
|
1818 |
+
<select name="mec[tickets][:i:][ticket_end_time_ampm]">
|
1819 |
+
<option value="AM"><?php _e('AM', 'modern-events-calendar-lite'); ?></option>
|
1820 |
+
<option selected="selected" value="PM"><?php _e('PM', 'modern-events-calendar-lite'); ?></option>
|
1821 |
+
</select>
|
1822 |
+
</div>
|
1823 |
+
</div>
|
1824 |
+
<div class="mec-form-row">
|
1825 |
+
<input class="mec-col-12" type="text" name="mec[tickets][:i:][description]"
|
1826 |
+
placeholder="<?php esc_attr_e('Description', 'modern-events-calendar-lite'); ?>"/>
|
1827 |
+
</div>
|
1828 |
+
<div class="mec-form-row">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1829 |
<span class="mec-col-4">
|
1830 |
+
<input type="text" name="mec[tickets][:i:][price]"
|
1831 |
+
placeholder="<?php esc_attr_e('Price', 'modern-events-calendar-lite'); ?>"/>
|
1832 |
<span class="mec-tooltip">
|
1833 |
<div class="box top">
|
1834 |
<h5 class="title"><?php _e('Price', 'modern-events-calendar-lite'); ?></h5>
|
1835 |
+
<div class="content"><p><?php esc_attr_e('Insert 0 for free ticket. Only numbers please.', 'modern-events-calendar-lite'); ?>
|
1836 |
+
<a href="https://webnus.net/dox/modern-events-calendar/add-a-booking-system/"
|
1837 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1838 |
</div>
|
1839 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1840 |
+
</span>
|
1841 |
</span>
|
1842 |
+
<span class="mec-col-8">
|
1843 |
+
<input type="text" name="mec[tickets][:i:][price_label]"
|
1844 |
+
placeholder="<?php esc_attr_e('Price Label', 'modern-events-calendar-lite'); ?>" class="mec-col-12"/>
|
1845 |
<span class="mec-tooltip">
|
1846 |
<div class="box top">
|
1847 |
<h5 class="title"><?php _e('Price Label', 'modern-events-calendar-lite'); ?></h5>
|
1848 |
+
<div class="content"><p><?php esc_attr_e('For showing on website. e.g. $15', 'modern-events-calendar-lite'); ?>
|
1849 |
+
<a href="https://webnus.net/dox/modern-events-calendar/add-a-booking-system/"
|
1850 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1851 |
</div>
|
1852 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1853 |
+
</span>
|
1854 |
</span>
|
1855 |
+
</div>
|
1856 |
+
<div class="mec-form-row">
|
1857 |
+
<input class="mec-col-4" type="text" name="mec[tickets][:i:][limit]"
|
1858 |
+
placeholder="<?php esc_attr_e('Available Tickets', 'modern-events-calendar-lite'); ?>"/>
|
1859 |
+
<label class="mec-col-4" for="mec_tickets_unlimited_:i:"
|
1860 |
+
id="mec_bookings_limit_unlimited_label">
|
1861 |
+
<input type="hidden" name="mec[tickets][:i:][unlimited]" value="0"/>
|
1862 |
+
<input id="mec_tickets_unlimited_:i:" type="checkbox" value="1"
|
1863 |
+
name="mec[tickets][:i:][unlimited]"/>
|
1864 |
+
<?php _e('Unlimited', 'modern-events-calendar-lite'); ?>
|
1865 |
+
</label>
|
1866 |
+
<button class="button" type="button"
|
1867 |
+
onclick="mec_ticket_remove(:i:)"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
1868 |
+
</div>
|
1869 |
+
<div id="mec_price_per_dates_container_:i:">
|
1870 |
+
<div class="mec-form-row">
|
1871 |
+
<h4><?php _e('Price per Date', 'modern-events-calendar-lite'); ?></h4>
|
1872 |
+
<button class="button mec_add_price_date_button" type="button"
|
1873 |
+
data-key=":i:"><?php _e('Add', 'modern-events-calendar-lite'); ?></button>
|
1874 |
+
</div>
|
1875 |
+
<div id="mec-ticket-price-dates-:i:">
|
1876 |
+
</div>
|
1877 |
+
<input type="hidden" id="mec_new_ticket_price_key_:i:" value="1"/>
|
1878 |
+
<div class="mec-util-hidden" id="mec_new_ticket_price_raw_:i:">
|
1879 |
+
<div id="mec_ticket_price_raw_:i:_:j:">
|
1880 |
+
<div class="mec-form-row">
|
1881 |
+
<input class="mec-col-3 new_added" type="text"
|
1882 |
+
name="mec[tickets][:i:][dates][:j:][start]"
|
1883 |
+
value="<?php echo date('Y-m-d'); ?>"
|
1884 |
+
placeholder="<?php esc_attr_e('Start', 'modern-events-calendar-lite'); ?>"/>
|
1885 |
+
<input class="mec-col-3 new_added" type="text"
|
1886 |
+
name="mec[tickets][:i:][dates][:j:][end]"
|
1887 |
+
value="<?php echo date('Y-m-d', strtotime('+10 days')); ?>"
|
1888 |
+
placeholder="<?php esc_attr_e('End', 'modern-events-calendar-lite'); ?>"/>
|
1889 |
+
<input class="mec-col-3" type="text" name="mec[tickets][:i:][dates][:j:][price]"
|
1890 |
+
placeholder="<?php esc_attr_e('Price', 'modern-events-calendar-lite'); ?>"/>
|
1891 |
+
<input class="mec-col-2" type="text" name="mec[tickets][:i:][dates][:j:][label]"
|
1892 |
+
placeholder="<?php esc_attr_e('Label', 'modern-events-calendar-lite'); ?>"/>
|
1893 |
+
<button class="button mec-col-1" type="button"
|
1894 |
+
onclick="mec_ticket_price_remove(:i:, :j:)"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
1895 |
+
</div>
|
1896 |
+
</div>
|
1897 |
+
</div>
|
1898 |
+
</div>
|
1899 |
+
</div>
|
1900 |
+
</div>
|
1901 |
+
</div>
|
1902 |
+
<?php
|
1903 |
+
}
|
1904 |
+
|
1905 |
+
/**
|
1906 |
+
* Show fees of event into the Add/Edit event page
|
1907 |
+
*
|
1908 |
+
* @author Webnus <info@webnus.biz>
|
1909 |
+
* @param object $post
|
1910 |
+
*/
|
1911 |
+
public function meta_box_fees($post)
|
1912 |
+
{
|
1913 |
+
$global_inheritance = get_post_meta($post->ID, 'mec_fees_global_inheritance', true);
|
1914 |
+
if (trim($global_inheritance) == '') {
|
1915 |
+
$global_inheritance = 1;
|
1916 |
+
}
|
1917 |
+
|
1918 |
+
$fees = get_post_meta($post->ID, 'mec_fees', true);
|
1919 |
+
|
1920 |
+
$global_fees = isset($this->settings['fees']) ? $this->settings['fees'] : array();
|
1921 |
+
if (!is_array($fees) and trim($fees) == '') {
|
1922 |
+
$fees = $global_fees;
|
1923 |
+
}
|
1924 |
+
|
1925 |
+
if (!is_array($fees)) {
|
1926 |
+
$fees = array();
|
1927 |
+
}
|
1928 |
+
?>
|
1929 |
+
<div class="mec-meta-box-fields" id="mec-fees">
|
1930 |
+
<h4 class="mec-meta-box-header"><?php _e('Fees', 'modern-events-calendar-lite'); ?></h4>
|
1931 |
+
<div id="mec_meta_box_fees_form">
|
1932 |
+
<div class="mec-form-row">
|
1933 |
+
<label>
|
1934 |
+
<input type="hidden" name="mec[fees_global_inheritance]" value="0"/>
|
1935 |
+
<input onchange="jQuery('#mec_taxes_fees_container_toggle').toggle();" value="1" type="checkbox"
|
1936 |
+
name="mec[fees_global_inheritance]"
|
1937 |
+
<?php
|
1938 |
+
if ($global_inheritance) {
|
1939 |
+
echo 'checked="checked"';
|
1940 |
+
}
|
1941 |
+
?>
|
1942 |
+
/> <?php _e('Inherit from global options', 'modern-events-calendar-lite'); ?>
|
1943 |
+
</label>
|
1944 |
+
</div>
|
1945 |
+
<div id="mec_taxes_fees_container_toggle" class="
|
1946 |
<?php
|
1947 |
+
if ($global_inheritance) {
|
1948 |
+
echo 'mec-util-hidden';
|
1949 |
+
}
|
1950 |
+
?>
|
1951 |
">
|
1952 |
+
<div class="mec-form-row">
|
1953 |
+
<button class="button" type="button" id="mec_add_fee_button"><?php _e('Add', 'modern-events-calendar-lite'); ?></button>
|
1954 |
+
</div>
|
1955 |
+
<div id="mec_fees_list">
|
1956 |
+
<?php
|
1957 |
+
$i = 0;
|
1958 |
+
foreach ($fees as $key => $fee) :
|
1959 |
+
if (!is_numeric($key)) {
|
1960 |
+
continue;
|
1961 |
+
}
|
1962 |
+
$i = max($i, $key);
|
1963 |
+
?>
|
1964 |
+
<div class="mec-box" id="mec_fee_row<?php echo $i; ?>">
|
1965 |
+
<div class="mec-form-row">
|
1966 |
+
<input class="mec-col-12" type="text" name="mec[fees][<?php echo $i; ?>][title]"
|
1967 |
+
placeholder="<?php esc_attr_e('Fee Title', 'modern-events-calendar-lite'); ?>"
|
1968 |
+
value="<?php echo(isset($fee['title']) ? esc_attr($fee['title']) : ''); ?>"/>
|
1969 |
+
</div>
|
1970 |
+
<div class="mec-form-row">
|
1971 |
<span class="mec-col-4">
|
1972 |
+
<input type="text" name="mec[fees][<?php echo $i; ?>][amount]"
|
1973 |
+
placeholder="<?php esc_attr_e('Amount', 'modern-events-calendar-lite'); ?>"
|
1974 |
+
value="<?php echo(isset($fee['amount']) ? esc_attr($fee['amount']) : ''); ?>"/>
|
1975 |
<span class="mec-tooltip">
|
1976 |
<div class="box top">
|
1977 |
<h5 class="title"><?php _e('Amount', 'modern-events-calendar-lite'); ?></h5>
|
1978 |
+
<div class="content"><p><?php esc_attr_e('Fee amount, considered as fixed amount if you set the type to amount otherwise considered as percentage', 'modern-events-calendar-lite'); ?>
|
1979 |
+
<a href="https://webnus.net/dox/modern-events-calendar/tickets-and-taxes-fees/"
|
1980 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1981 |
</div>
|
1982 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1983 |
+
</span>
|
1984 |
</span>
|
1985 |
+
<span class="mec-col-4">
|
1986 |
<select name="mec[fees][<?php echo $i; ?>][type]">
|
1987 |
+
<option value="percent" <?php echo((isset($fee['type']) and $fee['type'] == 'percent') ? 'selected="selected"' : ''); ?>><?php _e('Percent', 'modern-events-calendar-lite'); ?></option>
|
1988 |
+
<option value="amount" <?php echo((isset($fee['type']) and $fee['type'] == 'amount') ? 'selected="selected"' : ''); ?>><?php _e('Amount (Per Ticket)', 'modern-events-calendar-lite'); ?></option>
|
1989 |
+
<option value="amount_per_booking" <?php echo((isset($fee['type']) and $fee['type'] == 'amount_per_booking') ? 'selected="selected"' : ''); ?>><?php _e('Amount (Per Booking)', 'modern-events-calendar-lite'); ?></option>
|
1990 |
</select>
|
1991 |
</span>
|
1992 |
+
<button class="button" type="button" id="mec_remove_fee_button<?php echo $i; ?>"
|
1993 |
+
onclick="mec_remove_fee(<?php echo $i; ?>);"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
1994 |
+
</div>
|
1995 |
+
</div>
|
1996 |
+
<?php endforeach; ?>
|
1997 |
+
</div>
|
1998 |
+
</div>
|
1999 |
+
</div>
|
2000 |
+
<input type="hidden" id="mec_new_fee_key" value="<?php echo $i + 1; ?>"/>
|
2001 |
+
<div class="mec-util-hidden" id="mec_new_fee_raw">
|
2002 |
+
<div class="mec-box" id="mec_fee_row:i:">
|
2003 |
+
<div class="mec-form-row">
|
2004 |
+
<input class="mec-col-12" type="text" name="mec[fees][:i:][title]"
|
2005 |
+
placeholder="<?php esc_attr_e('Fee Title', 'modern-events-calendar-lite'); ?>"/>
|
2006 |
+
</div>
|
2007 |
+
<div class="mec-form-row">
|
2008 |
<span class="mec-col-4">
|
2009 |
+
<input type="text" name="mec[fees][:i:][amount]"
|
2010 |
+
placeholder="<?php esc_attr_e('Amount', 'modern-events-calendar-lite'); ?>"/>
|
2011 |
<span class="mec-tooltip">
|
2012 |
<div class="box top">
|
2013 |
<h5 class="title"><?php _e('Amount', 'modern-events-calendar-lite'); ?></h5>
|
2014 |
+
<div class="content"><p><?php esc_attr_e('Fee amount, considered as fixed amount if you set the type to amount otherwise considered as percentage', 'modern-events-calendar-lite'); ?>
|
2015 |
+
<a href="https://webnus.net/dox/modern-events-calendar/tickets-and-taxes-fees/"
|
2016 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
2017 |
</div>
|
2018 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
2019 |
+
</span>
|
2020 |
</span>
|
2021 |
+
<span class="mec-col-4">
|
2022 |
<select name="mec[fees][:i:][type]">
|
2023 |
+
<option value="percent"><?php _e('Percent', 'modern-events-calendar-lite'); ?></option>
|
2024 |
+
<option value="amount"><?php _e('Amount (Per Ticket)', 'modern-events-calendar-lite'); ?></option>
|
2025 |
+
<option value="amount_per_booking"><?php _e('Amount (Per Booking)', 'modern-events-calendar-lite'); ?></option>
|
2026 |
</select>
|
2027 |
</span>
|
2028 |
+
<button class="button" type="button" id="mec_remove_fee_button:i:"
|
2029 |
+
onclick="mec_remove_fee(:i:);"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
2030 |
+
</div>
|
2031 |
+
</div>
|
2032 |
+
</div>
|
2033 |
+
</div>
|
2034 |
+
<?php
|
2035 |
+
}
|
2036 |
+
|
2037 |
+
/**
|
2038 |
+
* Show ticket variations into the Add/Edit event page
|
2039 |
+
*
|
2040 |
+
* @author Webnus <info@webnus.biz>
|
2041 |
+
* @param object $post
|
2042 |
+
*/
|
2043 |
+
public function meta_box_ticket_variations($post)
|
2044 |
+
{
|
2045 |
+
$global_inheritance = get_post_meta($post->ID, 'mec_ticket_variations_global_inheritance', true);
|
2046 |
+
if (trim($global_inheritance) == '') {
|
2047 |
+
$global_inheritance = 1;
|
2048 |
+
}
|
2049 |
+
|
2050 |
+
$ticket_variations = get_post_meta($post->ID, 'mec_ticket_variations', true);
|
2051 |
+
|
2052 |
+
$global_variations = isset($this->settings['ticket_variations']) ? $this->settings['ticket_variations'] : array();
|
2053 |
+
if (!is_array($ticket_variations) and trim($ticket_variations) == '') {
|
2054 |
+
$ticket_variations = $global_variations;
|
2055 |
+
}
|
2056 |
+
|
2057 |
+
if (!is_array($ticket_variations)) {
|
2058 |
+
$ticket_variations = array();
|
2059 |
+
}
|
2060 |
+
?>
|
2061 |
+
<div class="mec-meta-box-fields" id="mec-ticket-variations">
|
2062 |
+
<h4 class="mec-meta-box-header"><?php _e('Ticket Variations / Options', 'modern-events-calendar-lite'); ?></h4>
|
2063 |
+
<div id="mec_meta_box_ticket_variations_form">
|
2064 |
+
<div class="mec-form-row">
|
2065 |
+
<label>
|
2066 |
+
<input type="hidden" name="mec[ticket_variations_global_inheritance]" value="0"/>
|
2067 |
+
<input onchange="jQuery('#mec_taxes_ticket_variations_container_toggle').toggle();" value="1"
|
2068 |
+
type="checkbox" name="mec[ticket_variations_global_inheritance]"
|
2069 |
+
<?php
|
2070 |
+
if ($global_inheritance) {
|
2071 |
+
echo 'checked="checked"';
|
2072 |
+
}
|
2073 |
+
?>
|
2074 |
+
/> <?php _e('Inherit from global options', 'modern-events-calendar-lite'); ?>
|
2075 |
+
</label>
|
2076 |
+
</div>
|
2077 |
+
<div id="mec_taxes_ticket_variations_container_toggle" class="
|
2078 |
<?php
|
2079 |
+
if ($global_inheritance) {
|
2080 |
+
echo 'mec-util-hidden';
|
2081 |
+
}
|
2082 |
+
?>
|
2083 |
">
|
2084 |
+
<div class="mec-form-row">
|
2085 |
+
<button class="button" type="button"
|
2086 |
+
id="mec_add_ticket_variation_button"><?php _e('Add', 'modern-events-calendar-lite'); ?></button>
|
2087 |
+
</div>
|
2088 |
+
<div id="mec_ticket_variations_list">
|
2089 |
+
<?php
|
2090 |
+
$i = 0;
|
2091 |
+
foreach ($ticket_variations as $key => $ticket_variation) :
|
2092 |
+
if (!is_numeric($key)) {
|
2093 |
+
continue;
|
2094 |
+
}
|
2095 |
+
$i = max($i, $key);
|
2096 |
+
?>
|
2097 |
+
<div class="mec-box" id="mec_ticket_variation_row<?php echo $i; ?>">
|
2098 |
+
<div class="mec-form-row">
|
2099 |
+
<input class="mec-col-12" type="text"
|
2100 |
+
name="mec[ticket_variations][<?php echo $i; ?>][title]"
|
2101 |
+
placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>"
|
2102 |
+
value="<?php echo(isset($ticket_variation['title']) ? esc_attr($ticket_variation['title']) : ''); ?>"/>
|
2103 |
+
</div>
|
2104 |
+
<div class="mec-form-row">
|
2105 |
<span class="mec-col-4">
|
2106 |
+
<input type="text" name="mec[ticket_variations][<?php echo $i; ?>][price]"
|
2107 |
+
placeholder="<?php esc_attr_e('Price', 'modern-events-calendar-lite'); ?>"
|
2108 |
+
value="<?php echo(isset($ticket_variation['price']) ? esc_attr($ticket_variation['price']) : ''); ?>"/>
|
2109 |
<span class="mec-tooltip">
|
2110 |
<div class="box top">
|
2111 |
<h5 class="title"><?php _e('Price', 'modern-events-calendar-lite'); ?></h5>
|
2112 |
+
<div class="content"><p><?php esc_attr_e('Option Price', 'modern-events-calendar-lite'); ?><a
|
2113 |
+
href="https://webnus.net/dox/modern-events-calendar/ticket-variations/"
|
2114 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
2115 |
</div>
|
2116 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
2117 |
+
</span>
|
2118 |
</span>
|
2119 |
+
<span class="mec-col-4">
|
2120 |
+
<input type="number" min="0"
|
2121 |
+
name="mec[ticket_variations][<?php echo $i; ?>][max]"
|
2122 |
+
placeholder="<?php esc_attr_e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?>"
|
2123 |
+
value="<?php echo(isset($ticket_variation['max']) ? $ticket_variation['max'] : ''); ?>"/>
|
2124 |
<span class="mec-tooltip">
|
2125 |
<div class="box top">
|
2126 |
<h5 class="title"><?php _e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?></h5>
|
2127 |
+
<div class="content"><p><?php esc_attr_e('Maximum Per Ticket. Leave it blank for unlimited.', 'modern-events-calendar-lite'); ?>
|
2128 |
+
<a href="https://webnus.net/dox/modern-events-calendar/ticket-variations/"
|
2129 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
2130 |
</div>
|
2131 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
2132 |
+
</span>
|
2133 |
</span>
|
2134 |
+
<button class="button" type="button"
|
2135 |
+
id="mec_remove_ticket_variation_button<?php echo $i; ?>"
|
2136 |
+
onclick="mec_remove_ticket_variation(<?php echo $i; ?>);"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
2137 |
+
</div>
|
2138 |
+
</div>
|
2139 |
+
<?php endforeach; ?>
|
2140 |
+
</div>
|
2141 |
+
</div>
|
2142 |
+
</div>
|
2143 |
+
<input type="hidden" id="mec_new_ticket_variation_key" value="<?php echo $i + 1; ?>"/>
|
2144 |
+
<div class="mec-util-hidden" id="mec_new_ticket_variation_raw">
|
2145 |
+
<div class="mec-box" id="mec_ticket_variation_row:i:">
|
2146 |
+
<div class="mec-form-row">
|
2147 |
+
<input class="mec-col-12" type="text" name="mec[ticket_variations][:i:][title]"
|
2148 |
+
placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>"/>
|
2149 |
+
</div>
|
2150 |
+
<div class="mec-form-row">
|
2151 |
<span class="mec-col-4">
|
2152 |
+
<input type="text" name="mec[ticket_variations][:i:][price]"
|
2153 |
+
placeholder="<?php esc_attr_e('Price', 'modern-events-calendar-lite'); ?>"/>
|
2154 |
<span class="mec-tooltip">
|
2155 |
<div class="box top">
|
2156 |
<h5 class="title"><?php _e('Price', 'modern-events-calendar-lite'); ?></h5>
|
2157 |
+
<div class="content"><p><?php esc_attr_e('Option Price', 'modern-events-calendar-lite'); ?><a
|
2158 |
+
href="https://webnus.net/dox/modern-events-calendar/ticket-variations/"
|
2159 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
2160 |
</div>
|
2161 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
2162 |
+
</span>
|
2163 |
</span>
|
2164 |
+
<span class="mec-col-4">
|
2165 |
+
<input type="number" min="0" name="mec[ticket_variations][:i:][max]"
|
2166 |
+
placeholder="<?php esc_attr_e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?>" value="1"/>
|
2167 |
<span class="mec-tooltip">
|
2168 |
<div class="box top">
|
2169 |
<h5 class="title"><?php _e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?></h5>
|
2170 |
+
<div class="content"><p><?php esc_attr_e('Maximum Per Ticket. Leave it blank for unlimited.', 'modern-events-calendar-lite'); ?>
|
2171 |
+
<a href="https://webnus.net/dox/modern-events-calendar/ticket-variations/"
|
2172 |
+
target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
2173 |
</div>
|
2174 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
2175 |
+
</span>
|
2176 |
</span>
|
2177 |
+
<button class="button" type="button" id="mec_remove_ticket_variation_button:i:"
|
2178 |
+
onclick="mec_remove_ticket_variation(:i:);"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
2179 |
+
</div>
|
2180 |
+
</div>
|
2181 |
+
</div>
|
2182 |
+
</div>
|
2183 |
+
<?php
|
2184 |
+
}
|
2185 |
+
|
2186 |
+
/**
|
2187 |
+
* Show registration form of event into the Add/Edit event page
|
2188 |
+
*
|
2189 |
+
* @author Webnus <info@webnus.biz>
|
2190 |
+
* @param object $post
|
2191 |
+
*/
|
2192 |
+
public function meta_box_regform($post)
|
2193 |
+
{
|
2194 |
+
do_action('mec_events_meta_box_regform_start', $post);
|
2195 |
+
$global_inheritance = get_post_meta($post->ID, 'mec_reg_fields_global_inheritance', true);
|
2196 |
+
|
2197 |
+
if (trim($global_inheritance) == '') {
|
2198 |
+
$global_inheritance = 1;
|
2199 |
+
}
|
2200 |
+
$reg_fields = get_post_meta($post->ID, 'mec_reg_fields', true);
|
2201 |
+
|
2202 |
+
$global_reg_fields = $this->main->get_reg_fields();
|
2203 |
+
if ((is_array($reg_fields) and !count($reg_fields)) or (!is_array($reg_fields) and trim($reg_fields) == '')) {
|
2204 |
+
$reg_fields = $global_reg_fields;
|
2205 |
+
}
|
2206 |
+
|
2207 |
+
if (!is_array($reg_fields)) {
|
2208 |
+
$reg_fields = array();
|
2209 |
+
}
|
2210 |
+
|
2211 |
+
$mec_name = false;
|
2212 |
+
$mec_email = false;
|
2213 |
+
foreach ($reg_fields as $field) {
|
2214 |
+
if (isset($field['type'])) {
|
2215 |
+
if ($field['type'] == 'mec_email') {
|
2216 |
+
$mec_email = true;
|
2217 |
+
}
|
2218 |
+
if ($field['type'] == 'name') {
|
2219 |
+
$mec_name = true;
|
2220 |
+
}
|
2221 |
+
} else {
|
2222 |
+
break;
|
2223 |
+
}
|
2224 |
+
}
|
2225 |
+
|
2226 |
+
if (!$mec_name) {
|
2227 |
+
array_unshift(
|
2228 |
+
$reg_fields,
|
2229 |
+
[
|
2230 |
+
'mandatory' => '0',
|
2231 |
+
'type' => 'name',
|
2232 |
+
'label' => esc_html__('Name', 'modern-events-calendar-lite'),
|
2233 |
+
]
|
2234 |
+
);
|
2235 |
+
}
|
2236 |
+
|
2237 |
+
if (!$mec_email) {
|
2238 |
+
array_unshift(
|
2239 |
+
$reg_fields,
|
2240 |
+
[
|
2241 |
+
'mandatory' => '0',
|
2242 |
+
'type' => 'mec_email',
|
2243 |
+
'label' => esc_html__('Email', 'modern-events-calendar-lite'),
|
2244 |
+
]
|
2245 |
+
);
|
2246 |
+
}
|
2247 |
+
|
2248 |
+
?>
|
2249 |
+
<div class="mec-meta-box-fields" id="mec-reg-fields">
|
2250 |
+
<h4 class="mec-meta-box-header"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></h4>
|
2251 |
+
<div id="mec_meta_box_reg_fields_form">
|
2252 |
+
<div class="mec-form-row">
|
2253 |
+
<label>
|
2254 |
+
<input type="hidden" name="mec[reg_fields_global_inheritance]" value="0"/>
|
2255 |
+
<input onchange="jQuery('#mec_regform_container_toggle').toggle();" value="1" type="checkbox"
|
2256 |
+
name="mec[reg_fields_global_inheritance]"
|
2257 |
+
<?php
|
2258 |
+
if ($global_inheritance) {
|
2259 |
+
echo 'checked="checked"';
|
2260 |
+
}
|
2261 |
+
?>
|
2262 |
+
/> <?php _e('Inherit from global options', 'modern-events-calendar-lite'); ?>
|
2263 |
+
</label>
|
2264 |
+
</div>
|
2265 |
+
<?php do_action('mec_meta_box_reg_fields_form', $post->ID); ?>
|
2266 |
+
<div id="mec_regform_container_toggle" class="
|
2267 |
<?php
|
2268 |
+
if ($global_inheritance) {
|
2269 |
+
echo 'mec-util-hidden';
|
2270 |
+
}
|
2271 |
+
?>
|
2272 |
">
|
2273 |
|
2274 |
+
<?php /** Don't remove this hidden field **/ ?>
|
2275 |
+
<input type="hidden" name="mec[reg_fields]" value=""/>
|
2276 |
+
|
2277 |
+
<ul id="mec_reg_form_fields">
|
2278 |
+
<?php
|
2279 |
+
$i = 0;
|
2280 |
+
foreach ($reg_fields as $key => $reg_field) {
|
2281 |
+
if (!is_numeric($key)) {
|
2282 |
+
continue;
|
2283 |
+
}
|
2284 |
+
$i = max($i, $key);
|
2285 |
+
if ($reg_field['type'] == 'text') {
|
2286 |
+
echo $this->main->field_text($key, $reg_field);
|
2287 |
+
} elseif ($reg_field['type'] == 'mec_email') {
|
2288 |
+
echo $this->main->field_mec_email($key, $reg_field);
|
2289 |
+
} elseif ($reg_field['type'] == 'name') {
|
2290 |
+
echo $this->main->field_name($key, $reg_field);
|
2291 |
+
} elseif ($reg_field['type'] == 'email') {
|
2292 |
+
echo $this->main->field_email($key, $reg_field);
|
2293 |
+
} elseif ($reg_field['type'] == 'date') {
|
2294 |
+
echo $this->main->field_date($key, $reg_field);
|
2295 |
+
} elseif ($reg_field['type'] == 'file') {
|
2296 |
+
echo $this->main->field_file($key, $reg_field);
|
2297 |
+
} elseif ($reg_field['type'] == 'tel') {
|
2298 |
+
echo $this->main->field_tel($key, $reg_field);
|
2299 |
+
} elseif ($reg_field['type'] == 'textarea') {
|
2300 |
+
echo $this->main->field_textarea($key, $reg_field);
|
2301 |
+
} elseif ($reg_field['type'] == 'p') {
|
2302 |
+
echo $this->main->field_p($key, $reg_field);
|
2303 |
+
} elseif ($reg_field['type'] == 'checkbox') {
|
2304 |
+
echo $this->main->field_checkbox($key, $reg_field);
|
2305 |
+
} elseif ($reg_field['type'] == 'radio') {
|
2306 |
+
echo $this->main->field_radio($key, $reg_field);
|
2307 |
+
} elseif ($reg_field['type'] == 'select') {
|
2308 |
+
echo $this->main->field_select($key, $reg_field);
|
2309 |
+
} elseif ($reg_field['type'] == 'agreement') {
|
2310 |
+
echo $this->main->field_agreement($key, $reg_field);
|
2311 |
+
}
|
2312 |
+
}
|
2313 |
+
?>
|
2314 |
+
</ul>
|
2315 |
+
<div id="mec_reg_form_field_types">
|
2316 |
+
<button type="button" class="button red"
|
2317 |
+
data-type="name"><?php _e('MEC Name', 'modern-events-calendar-lite'); ?></button>
|
2318 |
+
<button type="button" class="button red"
|
2319 |
+
data-type="mec_email"><?php _e('MEC Email', 'modern-events-calendar-lite'); ?></button>
|
2320 |
+
<button type="button" class="button" data-type="text"><?php _e('Text', 'modern-events-calendar-lite'); ?></button>
|
2321 |
+
<button type="button" class="button" data-type="email"><?php _e('Email', 'modern-events-calendar-lite'); ?></button>
|
2322 |
+
<button type="button" class="button" data-type="date"><?php _e('Date', 'modern-events-calendar-lite'); ?></button>
|
2323 |
+
<button type="button" class="button" data-type="tel"><?php _e('Tel', 'modern-events-calendar-lite'); ?></button>
|
2324 |
+
<button type="button" class="button" data-type="file"><?php _e('File', 'modern-events-calendar-lite'); ?></button>
|
2325 |
+
<button type="button" class="button"
|
2326 |
+
data-type="textarea"><?php _e('Textarea', 'modern-events-calendar-lite'); ?></button>
|
2327 |
+
<button type="button" class="button"
|
2328 |
+
data-type="checkbox"><?php _e('Checkboxes', 'modern-events-calendar-lite'); ?></button>
|
2329 |
+
<button type="button" class="button"
|
2330 |
+
data-type="radio"><?php _e('Radio Buttons', 'modern-events-calendar-lite'); ?></button>
|
2331 |
+
<button type="button" class="button" data-type="select"><?php _e('Dropdown', 'modern-events-calendar-lite'); ?></button>
|
2332 |
+
<button type="button" class="button"
|
2333 |
+
data-type="agreement"><?php _e('Agreement', 'modern-events-calendar-lite'); ?></button>
|
2334 |
+
<button type="button" class="button" data-type="p"><?php _e('Paragraph', 'modern-events-calendar-lite'); ?></button>
|
2335 |
+
</div>
|
2336 |
+
<input type="hidden" id="mec_new_reg_field_key" value="<?php echo $i + 1; ?>"/>
|
2337 |
+
<div class="mec-util-hidden">
|
2338 |
+
<div id="mec_reg_field_text">
|
2339 |
+
<?php echo $this->main->field_text(':i:'); ?>
|
2340 |
+
</div>
|
2341 |
+
<div id="mec_reg_field_email">
|
2342 |
+
<?php echo $this->main->field_email(':i:'); ?>
|
2343 |
+
</div>
|
2344 |
+
<div id="mec_reg_field_mec_email">
|
2345 |
+
<?php echo $this->main->field_mec_email(':i:'); ?>
|
2346 |
+
</div>
|
2347 |
+
<div id="mec_reg_field_name">
|
2348 |
+
<?php echo $this->main->field_name(':i:'); ?>
|
2349 |
+
</div>
|
2350 |
+
<div id="mec_reg_field_tel">
|
2351 |
+
<?php echo $this->main->field_tel(':i:'); ?>
|
2352 |
+
</div>
|
2353 |
+
<div id="mec_reg_field_date">
|
2354 |
+
<?php echo $this->main->field_date(':i:'); ?>
|
2355 |
+
</div>
|
2356 |
+
<div id="mec_reg_field_file">
|
2357 |
+
<?php echo $this->main->field_file(':i:'); ?>
|
2358 |
+
</div>
|
2359 |
+
<div id="mec_reg_field_textarea">
|
2360 |
+
<?php echo $this->main->field_textarea(':i:'); ?>
|
2361 |
+
</div>
|
2362 |
+
<div id="mec_reg_field_checkbox">
|
2363 |
+
<?php echo $this->main->field_checkbox(':i:'); ?>
|
2364 |
+
</div>
|
2365 |
+
<div id="mec_reg_field_radio">
|
2366 |
+
<?php echo $this->main->field_radio(':i:'); ?>
|
2367 |
+
</div>
|
2368 |
+
<div id="mec_reg_field_select">
|
2369 |
+
<?php echo $this->main->field_select(':i:'); ?>
|
2370 |
+
</div>
|
2371 |
+
<div id="mec_reg_field_agreement">
|
2372 |
+
<?php echo $this->main->field_agreement(':i:'); ?>
|
2373 |
+
</div>
|
2374 |
+
<div id="mec_reg_field_p">
|
2375 |
+
<?php echo $this->main->field_p(':i:'); ?>
|
2376 |
+
</div>
|
2377 |
+
<div id="mec_reg_field_option">
|
2378 |
+
<?php echo $this->main->field_option(':fi:', ':i:'); ?>
|
2379 |
+
</div>
|
2380 |
+
</div>
|
2381 |
+
</div>
|
2382 |
+
</div>
|
2383 |
+
</div>
|
2384 |
+
<?php
|
2385 |
+
do_action('mec_events_meta_box_regform_end', $post->ID);
|
2386 |
+
}
|
2387 |
+
|
2388 |
+
/**
|
2389 |
+
* Save event data
|
2390 |
+
*
|
2391 |
+
* @author Webnus <info@webnus.biz>
|
2392 |
+
* @param int $post_id
|
2393 |
+
* @return void
|
2394 |
+
*/
|
2395 |
+
public function save_event($post_id)
|
2396 |
+
{
|
2397 |
+
// Check if our nonce is set.
|
2398 |
+
if (!isset($_POST['mec_event_nonce'])) {
|
2399 |
+
return;
|
2400 |
+
}
|
2401 |
+
|
2402 |
+
// Verify that the nonce is valid.
|
2403 |
+
if (!wp_verify_nonce($_POST['mec_event_nonce'], 'mec_event_data')) {
|
2404 |
+
return;
|
2405 |
+
}
|
2406 |
+
|
2407 |
+
// If this is an autosave, our form has not been submitted, so we don't want to do anything.
|
2408 |
+
if (defined('DOING_AUTOSAVE') and DOING_AUTOSAVE) {
|
2409 |
+
return;
|
2410 |
+
}
|
2411 |
+
|
2412 |
+
// Get Modern Events Calendar Data
|
2413 |
+
$_mec = isset($_POST['mec']) ? $_POST['mec'] : array();
|
2414 |
+
|
2415 |
+
// Remove Cached Data
|
2416 |
+
wp_cache_delete($post_id, 'mec-events-data');
|
2417 |
+
|
2418 |
+
$location_id = isset($_mec['location_id']) ? sanitize_text_field($_mec['location_id']) : 0;
|
2419 |
+
$dont_show_map = isset($_mec['dont_show_map']) ? sanitize_text_field($_mec['dont_show_map']) : 0;
|
2420 |
+
$organizer_id = isset($_mec['organizer_id']) ? sanitize_text_field($_mec['organizer_id']) : 0;
|
2421 |
+
$read_more = isset($_mec['read_more']) ? sanitize_text_field($_mec['read_more']) : '';
|
2422 |
+
$more_info = (isset($_mec['more_info']) and trim($_mec['more_info'])) ? (strpos($_mec['more_info'], 'http') === false ? 'http://' . sanitize_text_field($_mec['more_info']) : sanitize_text_field($_mec['more_info'])) : '';
|
2423 |
+
$more_info_title = isset($_mec['more_info_title']) ? sanitize_text_field($_mec['more_info_title']) : '';
|
2424 |
+
$more_info_target = isset($_mec['more_info_target']) ? sanitize_text_field($_mec['more_info_target']) : '';
|
2425 |
+
$cost = isset($_mec['cost']) ? sanitize_text_field($_mec['cost']) : '';
|
2426 |
+
|
2427 |
+
update_post_meta($post_id, 'mec_location_id', $location_id);
|
2428 |
+
update_post_meta($post_id, 'mec_dont_show_map', $dont_show_map);
|
2429 |
+
update_post_meta($post_id, 'mec_organizer_id', $organizer_id);
|
2430 |
+
update_post_meta($post_id, 'mec_read_more', $read_more);
|
2431 |
+
update_post_meta($post_id, 'mec_more_info', $more_info);
|
2432 |
+
update_post_meta($post_id, 'mec_more_info_title', $more_info_title);
|
2433 |
+
update_post_meta($post_id, 'mec_more_info_target', $more_info_target);
|
2434 |
+
update_post_meta($post_id, 'mec_cost', $cost);
|
2435 |
+
|
2436 |
+
do_action('update_custom_dev_post_meta', $_mec, $post_id);
|
2437 |
+
|
2438 |
+
// Additional Organizers
|
2439 |
+
$additional_organizer_ids = isset($_mec['additional_organizer_ids']) ? $_mec['additional_organizer_ids'] : array();
|
2440 |
+
|
2441 |
+
foreach ($additional_organizer_ids as $additional_organizer_id) {
|
2442 |
+
wp_set_object_terms($post_id, (int)$additional_organizer_id, 'mec_organizer', true);
|
2443 |
+
}
|
2444 |
+
update_post_meta($post_id, 'mec_additional_organizer_ids', $additional_organizer_ids);
|
2445 |
+
|
2446 |
+
// Additional locations
|
2447 |
+
$additional_location_ids = isset($_mec['additional_location_ids']) ? $_mec['additional_location_ids'] : array();
|
2448 |
+
|
2449 |
+
foreach ($additional_location_ids as $additional_location_id) {
|
2450 |
+
wp_set_object_terms($post_id, (int)$additional_location_id, 'mec_location', true);
|
2451 |
+
}
|
2452 |
+
update_post_meta($post_id, 'mec_additional_location_ids', $additional_location_ids);
|
2453 |
+
|
2454 |
+
// Date Options
|
2455 |
+
$date = isset($_mec['date']) ? $_mec['date'] : array();
|
2456 |
+
|
2457 |
+
$start_date = (isset($date['start']) and trim($date['start']['date'])) ? $date['start']['date'] : date('Y-m-d');
|
2458 |
+
$start_date = date('Y-m-d', strtotime($start_date));
|
2459 |
+
|
2460 |
+
// Set the date if it's empty
|
2461 |
+
if (trim($date['start']['date']) == '') {
|
2462 |
+
$date['start']['date'] = $start_date;
|
2463 |
+
}
|
2464 |
+
|
2465 |
+
$start_time_hour = isset($date['start']) ? $date['start']['hour'] : '8';
|
2466 |
+
$start_time_minutes = isset($date['start']) ? $date['start']['minutes'] : '00';
|
2467 |
+
$start_time_ampm = (isset($date['start']) and isset($date['start']['ampm'])) ? $date['start']['ampm'] : 'AM';
|
2468 |
+
|
2469 |
+
$end_date = (isset($date['end']) and trim($date['end']['date'])) ? $date['end']['date'] : date('Y-m-d');
|
2470 |
+
$end_date = date('Y-m-d', strtotime($end_date));
|
2471 |
+
|
2472 |
+
// Fix end_date if it's smaller than start_date
|
2473 |
+
if (strtotime($end_date) < strtotime($start_date)) {
|
2474 |
+
$end_date = $start_date;
|
2475 |
+
}
|
2476 |
+
|
2477 |
+
// Set the date if it's empty
|
2478 |
+
if (trim($date['end']['date']) == '') {
|
2479 |
+
$date['end']['date'] = $end_date;
|
2480 |
+
}
|
2481 |
+
|
2482 |
+
$end_time_hour = isset($date['end']) ? $date['end']['hour'] : '6';
|
2483 |
+
$end_time_minutes = isset($date['end']) ? $date['end']['minutes'] : '00';
|
2484 |
+
$end_time_ampm = (isset($date['end']) and isset($date['end']['ampm'])) ? $date['end']['ampm'] : 'PM';
|
2485 |
+
|
2486 |
+
// If 24 hours format is enabled then convert it back to 12 hours
|
2487 |
+
if (isset($this->settings['time_format']) and $this->settings['time_format'] == 24) {
|
2488 |
+
if ($start_time_hour < 12) {
|
2489 |
+
$start_time_ampm = 'AM';
|
2490 |
+
} elseif ($start_time_hour == 12) {
|
2491 |
+
$start_time_ampm = 'PM';
|
2492 |
+
} elseif ($start_time_hour > 12) {
|
2493 |
+
$start_time_hour -= 12;
|
2494 |
+
$start_time_ampm = 'PM';
|
2495 |
+
} elseif ($start_time_hour == 0) {
|
2496 |
+
$start_time_hour = 12;
|
2497 |
+
$start_time_ampm = 'AM';
|
2498 |
+
}
|
2499 |
+
|
2500 |
+
if ($end_time_hour < 12) {
|
2501 |
+
$end_time_ampm = 'AM';
|
2502 |
+
} elseif ($end_time_hour == 12) {
|
2503 |
+
$end_time_ampm = 'PM';
|
2504 |
+
} elseif ($end_time_hour > 12) {
|
2505 |
+
$end_time_hour -= 12;
|
2506 |
+
$end_time_ampm = 'PM';
|
2507 |
+
} elseif ($end_time_hour == 0) {
|
2508 |
+
$end_time_hour = 12;
|
2509 |
+
$end_time_ampm = 'AM';
|
2510 |
+
}
|
2511 |
+
|
2512 |
+
// Set converted values to date array
|
2513 |
+
$date['start']['hour'] = $start_time_hour;
|
2514 |
+
$date['start']['ampm'] = $start_time_ampm;
|
2515 |
+
|
2516 |
+
$date['end']['hour'] = $end_time_hour;
|
2517 |
+
$date['end']['ampm'] = $end_time_ampm;
|
2518 |
+
}
|
2519 |
+
|
2520 |
+
$allday = isset($date['allday']) ? 1 : 0;
|
2521 |
+
$hide_time = isset($date['hide_time']) ? 1 : 0;
|
2522 |
+
$hide_end_time = isset($date['hide_end_time']) ? 1 : 0;
|
2523 |
+
$comment = isset($date['comment']) ? $date['comment'] : '';
|
2524 |
+
|
2525 |
+
// Set start time and end time if event is all day
|
2526 |
+
if ($allday == 1) {
|
2527 |
+
$start_time_hour = '8';
|
2528 |
+
$start_time_minutes = '00';
|
2529 |
+
$start_time_ampm = 'AM';
|
2530 |
+
|
2531 |
+
$end_time_hour = '6';
|
2532 |
+
$end_time_minutes = '00';
|
2533 |
+
$end_time_ampm = 'PM';
|
2534 |
+
}
|
2535 |
+
|
2536 |
+
// Repeat Options
|
2537 |
+
$repeat = isset($date['repeat']) ? $date['repeat'] : array();
|
2538 |
+
$certain_weekdays = isset($repeat['certain_weekdays']) ? $repeat['certain_weekdays'] : array();
|
2539 |
+
|
2540 |
+
$repeat_status = isset($repeat['status']) ? 1 : 0;
|
2541 |
+
$repeat_type = ($repeat_status and isset($repeat['type'])) ? $repeat['type'] : '';
|
2542 |
+
|
2543 |
+
$repeat_interval = ($repeat_status and isset($repeat['interval']) and trim($repeat['interval'])) ? $repeat['interval'] : 1;
|
2544 |
+
|
2545 |
+
// Advanced Repeat
|
2546 |
+
$advanced = isset($repeat['advanced']) ? sanitize_text_field($repeat['advanced']) : '';
|
2547 |
+
|
2548 |
+
if (!is_numeric($repeat_interval)) {
|
2549 |
+
$repeat_interval = null;
|
2550 |
+
}
|
2551 |
+
|
2552 |
+
if ($repeat_type == 'weekly') {
|
2553 |
+
$interval_multiply = 7;
|
2554 |
+
} else {
|
2555 |
+
$interval_multiply = 1;
|
2556 |
+
}
|
2557 |
+
|
2558 |
+
// Reset certain weekdays if repeat type is not set to certain weekdays
|
2559 |
+
if ($repeat_type != 'certain_weekdays') {
|
2560 |
+
$certain_weekdays = array();
|
2561 |
+
}
|
2562 |
+
|
2563 |
+
if (!is_null($repeat_interval)) {
|
2564 |
+
$repeat_interval = $repeat_interval * $interval_multiply;
|
2565 |
+
}
|
2566 |
+
|
2567 |
+
// String To Array
|
2568 |
+
if ($repeat_type == 'advanced' and trim($advanced)) $advanced = explode('-', $advanced);
|
2569 |
+
else $advanced = array();
|
2570 |
+
|
2571 |
+
$repeat_end = ($repeat_status and isset($repeat['end'])) ? $repeat['end'] : '';
|
2572 |
+
$repeat_end_at_occurrences = ($repeat_status and isset($repeat['end_at_occurrences'])) ? ($repeat['end_at_occurrences'] - 1) : '';
|
2573 |
+
$repeat_end_at_date = ($repeat_status and isset($repeat['end_at_date'])) ? $repeat['end_at_date'] : '';
|
2574 |
+
if (trim($repeat_end_at_date) != '') {
|
2575 |
+
$repeat_end_at_date = date('Y-m-d', strtotime($repeat_end_at_date));
|
2576 |
+
}
|
2577 |
+
|
2578 |
+
$day_start_seconds = $this->main->time_to_seconds($this->main->to_24hours($start_time_hour, $start_time_ampm), $start_time_minutes);
|
2579 |
+
$day_end_seconds = $this->main->time_to_seconds($this->main->to_24hours($end_time_hour, $end_time_ampm), $end_time_minutes);
|
2580 |
+
|
2581 |
+
update_post_meta($post_id, 'mec_date', $date);
|
2582 |
+
update_post_meta($post_id, 'mec_repeat', $repeat);
|
2583 |
+
update_post_meta($post_id, 'mec_certain_weekdays', $certain_weekdays);
|
2584 |
+
update_post_meta($post_id, 'mec_allday', $allday);
|
2585 |
+
update_post_meta($post_id, 'mec_hide_time', $hide_time);
|
2586 |
+
update_post_meta($post_id, 'mec_hide_end_time', $hide_end_time);
|
2587 |
+
update_post_meta($post_id, 'mec_comment', $comment);
|
2588 |
+
|
2589 |
+
do_action('update_custom_post_meta', $date, $post_id);
|
2590 |
+
|
2591 |
+
update_post_meta($post_id, 'mec_start_date', $start_date);
|
2592 |
+
update_post_meta($post_id, 'mec_start_time_hour', $start_time_hour);
|
2593 |
+
update_post_meta($post_id, 'mec_start_time_minutes', $start_time_minutes);
|
2594 |
+
update_post_meta($post_id, 'mec_start_time_ampm', $start_time_ampm);
|
2595 |
+
update_post_meta($post_id, 'mec_start_day_seconds', $day_start_seconds);
|
2596 |
+
|
2597 |
+
update_post_meta($post_id, 'mec_end_date', $end_date);
|
2598 |
+
update_post_meta($post_id, 'mec_end_time_hour', $end_time_hour);
|
2599 |
+
update_post_meta($post_id, 'mec_end_time_minutes', $end_time_minutes);
|
2600 |
+
update_post_meta($post_id, 'mec_end_time_ampm', $end_time_ampm);
|
2601 |
+
update_post_meta($post_id, 'mec_end_day_seconds', $day_end_seconds);
|
2602 |
+
|
2603 |
+
update_post_meta($post_id, 'mec_repeat_status', $repeat_status);
|
2604 |
+
update_post_meta($post_id, 'mec_repeat_type', $repeat_type);
|
2605 |
+
update_post_meta($post_id, 'mec_repeat_interval', $repeat_interval);
|
2606 |
+
update_post_meta($post_id, 'mec_repeat_end', $repeat_end);
|
2607 |
+
update_post_meta($post_id, 'mec_repeat_end_at_occurrences', $repeat_end_at_occurrences);
|
2608 |
+
update_post_meta($post_id, 'mec_repeat_end_at_date', $repeat_end_at_date);
|
2609 |
+
update_post_meta($post_id, 'mec_advanced_days', $advanced);
|
2610 |
+
|
2611 |
+
// Creating $event array for inserting in mec_events table
|
2612 |
+
$event = array(
|
2613 |
+
'post_id' => $post_id,
|
2614 |
+
'start' => $start_date,
|
2615 |
+
'repeat' => $repeat_status,
|
2616 |
+
'rinterval' => (!in_array($repeat_type, array('daily', 'weekly')) ? null : $repeat_interval),
|
2617 |
+
'time_start' => $day_start_seconds,
|
2618 |
+
'time_end' => $day_end_seconds,
|
2619 |
+
);
|
2620 |
+
|
2621 |
+
$year = null;
|
2622 |
+
$month = null;
|
2623 |
+
$day = null;
|
2624 |
+
$week = null;
|
2625 |
+
$weekday = null;
|
2626 |
+
$weekdays = null;
|
2627 |
+
|
2628 |
+
// MEC weekdays
|
2629 |
+
$mec_weekdays = $this->main->get_weekdays();
|
2630 |
+
|
2631 |
+
// MEC weekends
|
2632 |
+
$mec_weekends = $this->main->get_weekends();
|
2633 |
+
|
2634 |
+
$plus_date = '';
|
2635 |
+
if ($repeat_type == 'daily') {
|
2636 |
+
$plus_date = '+' . $repeat_end_at_occurrences * $repeat_interval . ' Days';
|
2637 |
+
} elseif ($repeat_type == 'weekly') {
|
2638 |
+
$plus_date = '+' . $repeat_end_at_occurrences * ($repeat_interval) . ' Days';
|
2639 |
+
} elseif ($repeat_type == 'weekday') {
|
2640 |
+
$repeat_interval = 1;
|
2641 |
+
$plus_date = '+' . $repeat_end_at_occurrences * $repeat_interval . ' Weekdays';
|
2642 |
+
|
2643 |
+
$weekdays = ',' . implode(',', $mec_weekdays) . ',';
|
2644 |
+
} elseif ($repeat_type == 'weekend') {
|
2645 |
+
$repeat_interval = 1;
|
2646 |
+
$plus_date = '+' . round($repeat_end_at_occurrences / 2) * ($repeat_interval * 7) . ' Days';
|
2647 |
+
|
2648 |
+
$weekdays = ',' . implode(',', $mec_weekends) . ',';
|
2649 |
+
} elseif ($repeat_type == 'certain_weekdays') {
|
2650 |
+
|
2651 |
+
$repeat_interval = 1;
|
2652 |
+
$plus_date = '+' . ceil(($repeat_end_at_occurrences * $repeat_interval) * (7 / count($certain_weekdays))) . ' days';
|
2653 |
+
|
2654 |
+
$weekdays = ',' . implode(',', $certain_weekdays) . ',';
|
2655 |
+
} elseif ($repeat_type == 'monthly') {
|
2656 |
+
$plus_date = '+' . $repeat_end_at_occurrences * $repeat_interval . ' Months';
|
2657 |
+
|
2658 |
+
$year = '*';
|
2659 |
+
$month = '*';
|
2660 |
+
|
2661 |
+
$s = $start_date;
|
2662 |
+
$e = $end_date;
|
2663 |
+
|
2664 |
+
$_days = array();
|
2665 |
+
while (strtotime($s) <= strtotime($e)) {
|
2666 |
+
$_days[] = date('d', strtotime($s));
|
2667 |
+
$s = date('Y-m-d', strtotime('+1 Day', strtotime($s)));
|
2668 |
+
}
|
2669 |
+
|
2670 |
+
$day = ',' . implode(',', array_unique($_days)) . ',';
|
2671 |
+
|
2672 |
+
$week = '*';
|
2673 |
+
$weekday = '*';
|
2674 |
+
} elseif ($repeat_type == 'yearly') {
|
2675 |
+
$plus_date = '+' . $repeat_end_at_occurrences * $repeat_interval . ' Years';
|
2676 |
+
|
2677 |
+
$year = '*';
|
2678 |
+
|
2679 |
+
$s = $start_date;
|
2680 |
+
$e = $end_date;
|
2681 |
+
|
2682 |
+
$_months = array();
|
2683 |
+
$_days = array();
|
2684 |
+
while (strtotime($s) <= strtotime($e)) {
|
2685 |
+
$_months[] = date('m', strtotime($s));
|
2686 |
+
$_days[] = date('d', strtotime($s));
|
2687 |
+
|
2688 |
+
$s = date('Y-m-d', strtotime('+1 Day', strtotime($s)));
|
2689 |
+
}
|
2690 |
+
|
2691 |
+
$_months = array_unique($_months);
|
2692 |
+
|
2693 |
+
$month = ',' . implode(',', array($_months[0])) . ',';
|
2694 |
+
$day = ',' . implode(',', array_unique($_days)) . ',';
|
2695 |
+
|
2696 |
+
$week = '*';
|
2697 |
+
$weekday = '*';
|
2698 |
+
}
|
2699 |
+
|
2700 |
+
$in_days_arr = (isset($_mec['in_days']) and is_array($_mec['in_days']) and count($_mec['in_days'])) ? array_unique($_mec['in_days']) : array();
|
2701 |
+
$not_in_days_arr = (isset($_mec['not_in_days']) and is_array($_mec['not_in_days']) and count($_mec['not_in_days'])) ? array_unique($_mec['not_in_days']) : array();
|
2702 |
+
|
2703 |
+
$in_days = '';
|
2704 |
+
if (count($in_days_arr)) {
|
2705 |
+
foreach ($in_days_arr as $key => $in_day_arr) {
|
2706 |
+
if (is_numeric($key)) {
|
2707 |
+
$in_days .= $in_day_arr . ',';
|
2708 |
+
}
|
2709 |
+
}
|
2710 |
+
}
|
2711 |
+
|
2712 |
+
$not_in_days = '';
|
2713 |
+
if (count($not_in_days_arr)) {
|
2714 |
+
foreach ($not_in_days_arr as $key => $not_in_day_arr) {
|
2715 |
+
if (is_numeric($key)) {
|
2716 |
+
$not_in_days .= $not_in_day_arr . ',';
|
2717 |
+
}
|
2718 |
+
}
|
2719 |
+
}
|
2720 |
+
|
2721 |
+
$in_days = trim($in_days, ', ');
|
2722 |
+
$not_in_days = trim($not_in_days, ', ');
|
2723 |
+
|
2724 |
+
update_post_meta($post_id, 'mec_in_days', $in_days);
|
2725 |
+
update_post_meta($post_id, 'mec_not_in_days', $not_in_days);
|
2726 |
+
|
2727 |
+
// Repeat End Date
|
2728 |
+
if ($repeat_end == 'never') {
|
2729 |
+
$repeat_end_date = '0000-00-00';
|
2730 |
+
} elseif ($repeat_end == 'date') {
|
2731 |
+
$repeat_end_date = $repeat_end_at_date;
|
2732 |
+
} elseif ($repeat_end == 'occurrences') {
|
2733 |
+
if ($plus_date) {
|
2734 |
+
$repeat_end_date = date('Y-m-d', strtotime($plus_date, strtotime($end_date)));
|
2735 |
+
} else {
|
2736 |
+
$repeat_end_date = '0000-00-00';
|
2737 |
+
}
|
2738 |
+
} else {
|
2739 |
+
$repeat_end_date = '0000-00-00';
|
2740 |
+
}
|
2741 |
+
|
2742 |
+
// If event is not repeating then set the end date of event correctly
|
2743 |
+
if (!$repeat_status or $repeat_type == 'custom_days') {
|
2744 |
+
$repeat_end_date = $end_date;
|
2745 |
+
}
|
2746 |
+
|
2747 |
+
// Add parameters to the $event
|
2748 |
+
$event['end'] = $repeat_end_date;
|
2749 |
+
$event['year'] = $year;
|
2750 |
+
$event['month'] = $month;
|
2751 |
+
$event['day'] = $day;
|
2752 |
+
$event['week'] = $week;
|
2753 |
+
$event['weekday'] = $weekday;
|
2754 |
+
$event['weekdays'] = $weekdays;
|
2755 |
+
$event['days'] = $in_days;
|
2756 |
+
$event['not_in_days'] = $not_in_days;
|
2757 |
+
|
2758 |
+
// Update MEC Events Table
|
2759 |
+
$mec_event_id = $this->db->select("SELECT `id` FROM `#__mec_events` WHERE `post_id`='$post_id'", 'loadResult');
|
2760 |
+
|
2761 |
+
if (!$mec_event_id) {
|
2762 |
+
$q1 = '';
|
2763 |
+
$q2 = '';
|
2764 |
+
|
2765 |
+
foreach ($event as $key => $value) {
|
2766 |
+
$q1 .= "`$key`,";
|
2767 |
+
|
2768 |
+
if (is_null($value)) {
|
2769 |
+
$q2 .= 'NULL,';
|
2770 |
+
} else {
|
2771 |
+
$q2 .= "'$value',";
|
2772 |
+
}
|
2773 |
+
}
|
2774 |
+
|
2775 |
+
$this->db->q('INSERT INTO `#__mec_events` (' . trim($q1, ', ') . ') VALUES (' . trim($q2, ', ') . ')', 'INSERT');
|
2776 |
+
} else {
|
2777 |
+
$q = '';
|
2778 |
+
|
2779 |
+
foreach ($event as $key => $value) {
|
2780 |
+
if (is_null($value)) {
|
2781 |
+
$q .= "`$key`=NULL,";
|
2782 |
+
} else {
|
2783 |
+
$q .= "`$key`='$value',";
|
2784 |
+
}
|
2785 |
+
}
|
2786 |
+
|
2787 |
+
$this->db->q('UPDATE `#__mec_events` SET ' . trim($q, ', ') . " WHERE `id`='$mec_event_id'");
|
2788 |
+
}
|
2789 |
+
|
2790 |
+
// Update Schedule
|
2791 |
+
$schedule = $this->getSchedule();
|
2792 |
+
$schedule->reschedule($post_id, $schedule->get_reschedule_maximum($repeat_type));
|
2793 |
+
|
2794 |
+
// Hourly Schedule Options
|
2795 |
+
$raw_hourly_schedules = isset($_mec['hourly_schedules']) ? $_mec['hourly_schedules'] : array();
|
2796 |
+
unset($raw_hourly_schedules[':d:']);
|
2797 |
+
|
2798 |
+
$hourly_schedules = array();
|
2799 |
+
foreach ($raw_hourly_schedules as $raw_hourly_schedule) {
|
2800 |
+
unset($raw_hourly_schedule['schedules'][':i:']);
|
2801 |
+
$hourly_schedules[] = $raw_hourly_schedule;
|
2802 |
+
}
|
2803 |
+
|
2804 |
+
update_post_meta($post_id, 'mec_hourly_schedules', $hourly_schedules);
|
2805 |
+
|
2806 |
+
// Booking and Ticket Options
|
2807 |
+
$booking = isset($_mec['booking']) ? $_mec['booking'] : array();
|
2808 |
+
update_post_meta($post_id, 'mec_booking', $booking);
|
2809 |
+
|
2810 |
+
$tickets = isset($_mec['tickets']) ? $_mec['tickets'] : array();
|
2811 |
+
unset($tickets[':i:']);
|
2812 |
+
|
2813 |
+
// Unset Ticket Dats
|
2814 |
+
if (count($tickets)) {
|
2815 |
+
$new_tickets = array();
|
2816 |
+
foreach ($tickets as $key => $ticket) {
|
2817 |
+
unset($ticket['dates'][':j:']);
|
2818 |
+
$new_tickets[$key] = $ticket;
|
2819 |
+
}
|
2820 |
+
|
2821 |
+
$tickets = $new_tickets;
|
2822 |
+
}
|
2823 |
+
|
2824 |
+
update_post_meta($post_id, 'mec_tickets', $tickets);
|
2825 |
+
|
2826 |
+
// Fee options
|
2827 |
+
$fees_global_inheritance = isset($_mec['fees_global_inheritance']) ? $_mec['fees_global_inheritance'] : 1;
|
2828 |
+
update_post_meta($post_id, 'mec_fees_global_inheritance', $fees_global_inheritance);
|
2829 |
+
|
2830 |
+
$fees = isset($_mec['fees']) ? $_mec['fees'] : array();
|
2831 |
+
update_post_meta($post_id, 'mec_fees', $fees);
|
2832 |
+
|
2833 |
+
// Ticket Variations options
|
2834 |
+
$ticket_variations_global_inheritance = isset($_mec['ticket_variations_global_inheritance']) ? $_mec['ticket_variations_global_inheritance'] : 1;
|
2835 |
+
update_post_meta($post_id, 'mec_ticket_variations_global_inheritance', $ticket_variations_global_inheritance);
|
2836 |
+
|
2837 |
+
$ticket_variations = isset($_mec['ticket_variations']) ? $_mec['ticket_variations'] : array();
|
2838 |
+
unset($ticket_variations[':i:']);
|
2839 |
+
|
2840 |
+
update_post_meta($post_id, 'mec_ticket_variations', $ticket_variations);
|
2841 |
+
|
2842 |
+
// Registration Fields options
|
2843 |
+
$reg_fields_global_inheritance = isset($_mec['reg_fields_global_inheritance']) ? $_mec['reg_fields_global_inheritance'] : 1;
|
2844 |
+
update_post_meta($post_id, 'mec_reg_fields_global_inheritance', $reg_fields_global_inheritance);
|
2845 |
+
|
2846 |
+
$reg_fields = isset($_mec['reg_fields']) ? $_mec['reg_fields'] : array();
|
2847 |
+
if ($reg_fields_global_inheritance) {
|
2848 |
+
$reg_fields = array();
|
2849 |
+
}
|
2850 |
+
do_action('mec_save_reg_fields', $post_id, $reg_fields);
|
2851 |
+
update_post_meta($post_id, 'mec_reg_fields', $reg_fields);
|
2852 |
+
}
|
2853 |
+
|
2854 |
+
/**
|
2855 |
+
* Remove MEC event data after deleting a post permanently
|
2856 |
+
*
|
2857 |
+
* @author Webnus <info@webnus.biz>
|
2858 |
+
* @param int $post_id
|
2859 |
+
* @return boolean
|
2860 |
+
*/
|
2861 |
+
public function delete_event($post_id)
|
2862 |
+
{
|
2863 |
+
$this->db->q("DELETE FROM `#__mec_events` WHERE `post_id`='$post_id'");
|
2864 |
+
$this->db->q("DELETE FROM `#__mec_dates` WHERE `post_id`='$post_id'");
|
2865 |
+
|
2866 |
+
return true;
|
2867 |
+
}
|
2868 |
+
|
2869 |
+
/**
|
2870 |
+
* Add filter options in manage events page
|
2871 |
+
*
|
2872 |
+
* @author Webnus <info@webnus.biz>
|
2873 |
+
* @param string $post_type
|
2874 |
+
* @return void
|
2875 |
+
*/
|
2876 |
+
public function add_filters($post_type)
|
2877 |
+
{
|
2878 |
+
if ($post_type != $this->PT) {
|
2879 |
+
return;
|
2880 |
+
}
|
2881 |
+
|
2882 |
+
$taxonomy = 'mec_label';
|
2883 |
+
if (wp_count_terms($taxonomy)) {
|
2884 |
+
wp_dropdown_categories(
|
2885 |
+
array(
|
2886 |
+
'show_option_all' => sprintf(__('Show all %s', 'modern-events-calendar-lite'), $this->main->m('taxonomy_labels', __('labels', 'modern-events-calendar-lite'))),
|
2887 |
+
'taxonomy' => $taxonomy,
|
2888 |
+
'name' => $taxonomy,
|
2889 |
+
'value_field' => 'slug',
|
2890 |
+
'orderby' => 'name',
|
2891 |
+
'order' => 'ASC',
|
2892 |
+
'selected' => (isset($_GET[$taxonomy]) ? sanitize_text_field($_GET[$taxonomy]) : ''),
|
2893 |
+
'show_count' => false,
|
2894 |
+
'hide_empty' => false,
|
2895 |
+
)
|
2896 |
+
);
|
2897 |
+
}
|
2898 |
+
|
2899 |
+
$taxonomy = 'mec_location';
|
2900 |
+
if (wp_count_terms($taxonomy)) {
|
2901 |
+
wp_dropdown_categories(
|
2902 |
+
array(
|
2903 |
+
'show_option_all' => sprintf(__('Show all %s', 'modern-events-calendar-lite'), $this->main->m('taxonomy_locations', __('locations', 'modern-events-calendar-lite'))),
|
2904 |
+
'taxonomy' => $taxonomy,
|
2905 |
+
'name' => $taxonomy,
|
2906 |
+
'value_field' => 'slug',
|
2907 |
+
'orderby' => 'name',
|
2908 |
+
'order' => 'ASC',
|
2909 |
+
'selected' => (isset($_GET[$taxonomy]) ? sanitize_text_field($_GET[$taxonomy]) : ''),
|
2910 |
+
'show_count' => false,
|
2911 |
+
'hide_empty' => false,
|
2912 |
+
)
|
2913 |
+
);
|
2914 |
+
}
|
2915 |
+
|
2916 |
+
$taxonomy = 'mec_organizer';
|
2917 |
+
if (wp_count_terms($taxonomy)) {
|
2918 |
+
wp_dropdown_categories(
|
2919 |
+
array(
|
2920 |
+
'show_option_all' => sprintf(__('Show all %s', 'modern-events-calendar-lite'), $this->main->m('taxonomy_organizers', __('organizers', 'modern-events-calendar-lite'))),
|
2921 |
+
'taxonomy' => $taxonomy,
|
2922 |
+
'name' => $taxonomy,
|
2923 |
+
'value_field' => 'slug',
|
2924 |
+
'orderby' => 'name',
|
2925 |
+
'order' => 'ASC',
|
2926 |
+
'selected' => (isset($_GET[$taxonomy]) ? sanitize_text_field($_GET[$taxonomy]) : ''),
|
2927 |
+
'show_count' => false,
|
2928 |
+
'hide_empty' => false,
|
2929 |
+
)
|
2930 |
+
);
|
2931 |
+
}
|
2932 |
+
}
|
2933 |
+
|
2934 |
+
/**
|
2935 |
+
* Filters columns of events feature
|
2936 |
+
*
|
2937 |
+
* @author Webnus <info@webnus.biz>
|
2938 |
+
* @param array $columns
|
2939 |
+
* @return array
|
2940 |
+
*/
|
2941 |
+
public function filter_columns($columns)
|
2942 |
+
{
|
2943 |
+
unset($columns['comments']);
|
2944 |
+
unset($columns['date']);
|
2945 |
+
unset($columns['author']);
|
2946 |
+
unset($columns['tags']);
|
2947 |
+
|
2948 |
+
$columns['title'] = __('Title', 'modern-events-calendar-lite');
|
2949 |
+
$columns['location'] = $this->main->m('taxonomy_location', __('Location', 'modern-events-calendar-lite'));
|
2950 |
+
$columns['organizer'] = $this->main->m('taxonomy_organizer', __('Organizer', 'modern-events-calendar-lite'));
|
2951 |
+
$columns['start_date'] = __('Start Date', 'modern-events-calendar-lite');
|
2952 |
+
$columns['end_date'] = __('End Date', 'modern-events-calendar-lite');
|
2953 |
+
|
2954 |
+
$columns['repeat'] = __('Repeat', 'modern-events-calendar-lite');
|
2955 |
+
$columns['author'] = __('Author', 'modern-events-calendar-lite');
|
2956 |
+
|
2957 |
+
return $columns;
|
2958 |
+
}
|
2959 |
+
|
2960 |
+
/**
|
2961 |
+
* Filters sortable columns of events feature
|
2962 |
+
*
|
2963 |
+
* @author Webnus <info@webnus.biz>
|
2964 |
+
* @param array $columns
|
2965 |
+
* @return array
|
2966 |
+
*/
|
2967 |
+
public function filter_sortable_columns($columns)
|
2968 |
+
{
|
2969 |
+
$columns['start_date'] = 'start_date';
|
2970 |
+
$columns['end_date'] = 'end_date';
|
2971 |
+
|
2972 |
+
return $columns;
|
2973 |
+
}
|
2974 |
+
|
2975 |
+
/**
|
2976 |
+
* Filters columns content of events feature
|
2977 |
+
*
|
2978 |
+
* @author Webnus <info@webnus.biz>
|
2979 |
+
* @param string $column_name
|
2980 |
+
* @param int $post_id
|
2981 |
+
* @return string
|
2982 |
+
*/
|
2983 |
+
public function filter_columns_content($column_name, $post_id)
|
2984 |
+
{
|
2985 |
+
if ($column_name == 'location') {
|
2986 |
+
$location = get_term(get_post_meta($post_id, 'mec_location_id', true));
|
2987 |
+
echo(isset($location->name) ? $location->name : '----');
|
2988 |
+
} elseif ($column_name == 'organizer') {
|
2989 |
+
$organizer = get_term(get_post_meta($post_id, 'mec_organizer_id', true));
|
2990 |
+
echo(isset($organizer->name) ? $organizer->name : '----');
|
2991 |
+
} elseif ($column_name == 'start_date') {
|
2992 |
+
echo date('Y-n-d', strtotime(get_post_meta($post_id, 'mec_start_date', true)));
|
2993 |
+
} elseif ($column_name == 'end_date') {
|
2994 |
+
echo date('Y-n-d', strtotime(get_post_meta($post_id, 'mec_end_date', true)));
|
2995 |
+
} elseif ($column_name == 'repeat') {
|
2996 |
+
$repeat_type = get_post_meta($post_id, 'mec_repeat_type', true);
|
2997 |
+
|
2998 |
+
echo ucwords(str_replace('_', ' ', $repeat_type));
|
2999 |
+
}
|
3000 |
+
}
|
3001 |
+
|
3002 |
+
/**
|
3003 |
+
* Sort events if sorted by custom columns
|
3004 |
+
*
|
3005 |
+
* @author Webnus <info@webnus.biz>
|
3006 |
+
* @param object $query
|
3007 |
+
* @return void
|
3008 |
+
*/
|
3009 |
+
public function sort($query)
|
3010 |
+
{
|
3011 |
+
if (!is_admin() or $query->get('post_type') != $this->PT) {
|
3012 |
+
return;
|
3013 |
+
}
|
3014 |
+
|
3015 |
+
$orderby = $query->get('orderby');
|
3016 |
+
|
3017 |
+
if ($orderby == 'start_date') {
|
3018 |
+
$query->set(
|
3019 |
+
'meta_query',
|
3020 |
+
array(
|
3021 |
+
'mec_start_date' => array(
|
3022 |
+
'key' => 'mec_start_date',
|
3023 |
+
),
|
3024 |
+
'mec_start_day_seconds' => array(
|
3025 |
+
'key' => 'mec_start_day_seconds',
|
3026 |
+
),
|
3027 |
+
)
|
3028 |
+
);
|
3029 |
+
|
3030 |
+
$query->set(
|
3031 |
+
'orderby',
|
3032 |
+
array(
|
3033 |
+
'mec_start_date' => $query->get('order'),
|
3034 |
+
'mec_start_day_seconds' => $query->get('order'),
|
3035 |
+
)
|
3036 |
+
);
|
3037 |
+
} elseif ($orderby == 'end_date') {
|
3038 |
+
$query->set(
|
3039 |
+
'meta_query',
|
3040 |
+
array(
|
3041 |
+
'mec_end_date' => array(
|
3042 |
+
'key' => 'mec_end_date',
|
3043 |
+
),
|
3044 |
+
'mec_end_day_seconds' => array(
|
3045 |
+
'key' => 'mec_end_day_seconds',
|
3046 |
+
),
|
3047 |
+
)
|
3048 |
+
);
|
3049 |
+
|
3050 |
+
$query->set(
|
3051 |
+
'orderby',
|
3052 |
+
array(
|
3053 |
+
'mec_end_date' => $query->get('order'),
|
3054 |
+
'mec_end_day_seconds' => $query->get('order'),
|
3055 |
+
)
|
3056 |
+
);
|
3057 |
+
}
|
3058 |
+
}
|
3059 |
+
|
3060 |
+
public function add_bulk_actions()
|
3061 |
+
{
|
3062 |
+
global $post_type;
|
3063 |
+
|
3064 |
+
if ($post_type == $this->PT) {
|
3065 |
+
?>
|
3066 |
+
<script type="text/javascript">
|
3067 |
+
jQuery(document).ready(function () {
|
3068 |
+
jQuery('<option>').val('ical-export').text('<?php echo __('iCal Export', 'modern-events-calendar-lite'); ?>').appendTo("select[name='action']");
|
3069 |
+
jQuery('<option>').val('ical-export').text('<?php echo __('iCal Export', 'modern-events-calendar-lite'); ?>').appendTo("select[name='action2']");
|
3070 |
+
|
3071 |
+
jQuery('<option>').val('csv-export').text('<?php echo __('CSV Export', 'modern-events-calendar-lite'); ?>').appendTo("select[name='action']");
|
3072 |
+
jQuery('<option>').val('csv-export').text('<?php echo __('CSV Export', 'modern-events-calendar-lite'); ?>').appendTo("select[name='action2']");
|
3073 |
+
|
3074 |
+
jQuery('<option>').val('ms-excel-export').text('<?php echo __('MS Excel Export', 'modern-events-calendar-lite'); ?>').appendTo("select[name='action']");
|
3075 |
+
jQuery('<option>').val('ms-excel-export').text('<?php echo __('MS Excel Export', 'modern-events-calendar-lite'); ?>').appendTo("select[name='action2']");
|
3076 |
+
|
3077 |
+
jQuery('<option>').val('xml-export').text('<?php echo __('XML Export', 'modern-events-calendar-lite'); ?>').appendTo("select[name='action']");
|
3078 |
+
jQuery('<option>').val('xml-export').text('<?php echo __('XML Export', 'modern-events-calendar-lite'); ?>').appendTo("select[name='action2']");
|
3079 |
+
|
3080 |
+
jQuery('<option>').val('json-export').text('<?php echo __('JSON Export', 'modern-events-calendar-lite'); ?>').appendTo("select[name='action']");
|
3081 |
+
jQuery('<option>').val('json-export').text('<?php echo __('JSON Export', 'modern-events-calendar-lite'); ?>').appendTo("select[name='action2']");
|
3082 |
+
|
3083 |
+
jQuery('<option>').val('duplicate').text('<?php echo __('Duplicate', 'modern-events-calendar-lite'); ?>').appendTo("select[name='action']");
|
3084 |
+
jQuery('<option>').val('duplicate').text('<?php echo __('Duplicate', 'modern-events-calendar-lite'); ?>').appendTo("select[name='action2']");
|
3085 |
+
});
|
3086 |
+
</script>
|
3087 |
+
<?php
|
3088 |
+
}
|
3089 |
+
}
|
3090 |
+
|
3091 |
+
public function do_bulk_actions()
|
3092 |
+
{
|
3093 |
+
$wp_list_table = _get_list_table('WP_Posts_List_Table');
|
3094 |
+
|
3095 |
+
$action = $wp_list_table->current_action();
|
3096 |
+
if (!$action) {
|
3097 |
+
return false;
|
3098 |
+
}
|
3099 |
+
|
3100 |
+
$post_type = isset($_GET['post_type']) ? sanitize_text_field($_GET['post_type']) : 'post';
|
3101 |
+
if ($post_type != $this->PT) {
|
3102 |
+
return false;
|
3103 |
+
}
|
3104 |
+
|
3105 |
+
check_admin_referer('bulk-posts');
|
3106 |
+
|
3107 |
+
// MEC Render Library
|
3108 |
+
$render = $this->getRender();
|
3109 |
+
|
3110 |
+
switch ($action) {
|
3111 |
+
case 'ical-export':
|
3112 |
+
$post_ids = $_GET['post'];
|
3113 |
+
$events = '';
|
3114 |
+
|
3115 |
+
foreach ($post_ids as $post_id) {
|
3116 |
+
$events .= $this->main->ical_single((int)$post_id);
|
3117 |
+
}
|
3118 |
+
|
3119 |
+
$ical_calendar = $this->main->ical_calendar($events);
|
3120 |
+
|
3121 |
+
header('Content-type: application/force-download; charset=utf-8');
|
3122 |
+
header('Content-Disposition: attachment; filename="mec-events-' . date('YmdTHi') . '.ics"');
|
3123 |
+
|
3124 |
+
echo $ical_calendar;
|
3125 |
+
exit;
|
3126 |
+
|
3127 |
+
break;
|
3128 |
+
case 'csv-export':
|
3129 |
+
header('Content-Type: text/csv; charset=utf-8');
|
3130 |
+
header('Content-Disposition: attachment; filename=bookings-' . md5(time() . mt_rand(100, 999)) . '.csv');
|
3131 |
+
|
3132 |
+
$post_ids = $_GET['post'];
|
3133 |
+
$columns = array(__('ID', 'modern-events-calendar-lite'), __('Title', 'modern-events-calendar-lite'), __('Start Date', 'modern-events-calendar-lite'), __('Start Time', 'modern-events-calendar-lite'), __('End Date', 'modern-events-calendar-lite'), __('End Time', 'modern-events-calendar-lite'), __('Link', 'modern-events-calendar-lite'), $this->main->m('taxonomy_location', __('Location', 'modern-events-calendar-lite')), $this->main->m('taxonomy_organizer', __('Organizer', 'modern-events-calendar-lite')), sprintf(__('%s Tel', 'modern-events-calendar-lite'), $this->main->m('taxonomy_organizer', __('Organizer', 'modern-events-calendar-lite'))), sprintf(__('%s Email', 'modern-events-calendar-lite'), $this->main->m('taxonomy_organizer', __('Organizer', 'modern-events-calendar-lite'))), $this->main->m('event_cost', __('Event Cost', 'modern-events-calendar-lite')));
|
3134 |
+
|
3135 |
+
$output = fopen('php://output', 'w');
|
3136 |
+
fputcsv($output, $columns);
|
3137 |
+
|
3138 |
+
foreach ($post_ids as $post_id) {
|
3139 |
+
$post_id = (int)$post_id;
|
3140 |
+
|
3141 |
+
$data = $render->data($post_id);
|
3142 |
+
|
3143 |
+
$dates = $render->dates($post_id, $data);
|
3144 |
+
$date = $dates[0];
|
3145 |
+
|
3146 |
+
$location = isset($data->locations[$data->meta['mec_location_id']]) ? $data->locations[$data->meta['mec_location_id']] : array();
|
3147 |
+
$organizer = isset($data->organizers[$data->meta['mec_organizer_id']]) ? $data->organizers[$data->meta['mec_organizer_id']] : array();
|
3148 |
+
|
3149 |
+
$event = array(
|
3150 |
+
$post_id,
|
3151 |
+
$data->title,
|
3152 |
+
$date['start']['date'],
|
3153 |
+
$data->time['start'],
|
3154 |
+
$date['end']['date'],
|
3155 |
+
$data->time['end'],
|
3156 |
+
$data->permalink,
|
3157 |
+
(isset($location['address']) ? $location['address'] : (isset($location['name']) ? $location['name'] : '')),
|
3158 |
+
(isset($organizer['name']) ? $organizer['name'] : ''),
|
3159 |
+
(isset($organizer['tel']) ? $organizer['tel'] : ''),
|
3160 |
+
(isset($organizer['email']) ? $organizer['email'] : ''),
|
3161 |
+
(is_numeric($data->meta['mec_cost']) ? $this->main->render_price($data->meta['mec_cost']) : $data->meta['mec_cost']),
|
3162 |
+
);
|
3163 |
+
|
3164 |
+
fputcsv($output, $event);
|
3165 |
+
}
|
3166 |
+
|
3167 |
+
exit;
|
3168 |
+
|
3169 |
+
break;
|
3170 |
+
case 'ms-excel-export':
|
3171 |
+
header('Content-Type: application/vnd.ms-excel; charset=utf-8');
|
3172 |
+
header('Content-Disposition: attachment; filename=bookings-' . md5(time() . mt_rand(100, 999)) . '.csv');
|
3173 |
+
|
3174 |
+
$post_ids = $_GET['post'];
|
3175 |
+
$columns = array(__('ID', 'modern-events-calendar-lite'), __('Title', 'modern-events-calendar-lite'), __('Start Date', 'modern-events-calendar-lite'), __('Start Time', 'modern-events-calendar-lite'), __('End Date', 'modern-events-calendar-lite'), __('End Time', 'modern-events-calendar-lite'), __('Link', 'modern-events-calendar-lite'), $this->main->m('taxonomy_location', __('Location', 'modern-events-calendar-lite')), $this->main->m('taxonomy_organizer', __('Organizer', 'modern-events-calendar-lite')), sprintf(__('%s Tel', 'modern-events-calendar-lite'), $this->main->m('taxonomy_organizer', __('Organizer', 'modern-events-calendar-lite'))), sprintf(__('%s Email', 'modern-events-calendar-lite'), $this->main->m('taxonomy_organizer', __('Organizer', 'modern-events-calendar-lite'))), $this->main->m('event_cost', __('Event Cost', 'modern-events-calendar-lite')));
|
3176 |
+
|
3177 |
+
$output = fopen('php://output', 'w');
|
3178 |
+
fwrite($output, "sep=\t" . PHP_EOL);
|
3179 |
+
fputcsv($output, $columns, "\t");
|
3180 |
+
|
3181 |
+
foreach ($post_ids as $post_id) {
|
3182 |
+
$post_id = (int)$post_id;
|
3183 |
+
|
3184 |
+
$data = $render->data($post_id);
|
3185 |
|
3186 |
+
$dates = $render->dates($post_id, $data);
|
3187 |
+
$date = $dates[0];
|
3188 |
|
3189 |
+
$location = isset($data->locations[$data->meta['mec_location_id']]) ? $data->locations[$data->meta['mec_location_id']] : array();
|
3190 |
+
$organizer = isset($data->organizers[$data->meta['mec_organizer_id']]) ? $data->organizers[$data->meta['mec_organizer_id']] : array();
|
3191 |
|
3192 |
+
$event = array(
|
3193 |
+
$post_id,
|
3194 |
+
$data->title,
|
3195 |
+
$date['start']['date'],
|
3196 |
+
$data->time['start'],
|
3197 |
+
$date['end']['date'],
|
3198 |
+
$data->time['end'],
|
3199 |
+
$data->permalink,
|
3200 |
+
(isset($location['address']) ? $location['address'] : (isset($location['name']) ? $location['name'] : '')),
|
3201 |
+
(isset($organizer['name']) ? $organizer['name'] : ''),
|
3202 |
+
(isset($organizer['tel']) ? $organizer['tel'] : ''),
|
3203 |
+
(isset($organizer['email']) ? $organizer['email'] : ''),
|
3204 |
+
(is_numeric($data->meta['mec_cost']) ? $this->main->render_price($data->meta['mec_cost']) : $data->meta['mec_cost']),
|
3205 |
+
);
|
3206 |
|
3207 |
+
fputcsv($output, $event, "\t");
|
3208 |
+
}
|
3209 |
|
3210 |
+
exit;
|
3211 |
|
3212 |
+
break;
|
3213 |
+
case 'xml-export':
|
3214 |
+
$post_ids = $_GET['post'];
|
3215 |
+
$events = array();
|
3216 |
|
3217 |
+
foreach ($post_ids as $post_id) {
|
3218 |
+
$events[] = $this->main->export_single((int)$post_id);
|
3219 |
+
}
|
3220 |
|
3221 |
+
$xml_feed = $this->main->xml_convert(array('events' => $events));
|
3222 |
|
3223 |
+
header('Content-type: application/force-download; charset=utf-8');
|
3224 |
+
header('Content-Disposition: attachment; filename="mec-events-' . date('YmdTHi') . '.xml"');
|
3225 |
|
3226 |
+
echo $xml_feed;
|
3227 |
+
exit;
|
3228 |
+
|
3229 |
+
break;
|
3230 |
+
case 'json-export':
|
3231 |
+
$post_ids = $_GET['post'];
|
3232 |
+
$events = array();
|
3233 |
|
3234 |
+
foreach ($post_ids as $post_id) {
|
3235 |
+
$events[] = $this->main->export_single((int)$post_id);
|
3236 |
+
}
|
3237 |
|
3238 |
+
header('Content-type: application/force-download; charset=utf-8');
|
3239 |
+
header('Content-Disposition: attachment; filename="mec-events-' . date('YmdTHi') . '.json"');
|
3240 |
+
|
3241 |
+
echo json_encode($events);
|
3242 |
+
exit;
|
3243 |
+
|
3244 |
+
break;
|
3245 |
+
case 'duplicate':
|
3246 |
+
$post_ids = $_GET['post'];
|
3247 |
+
|
3248 |
+
foreach ($post_ids as $post_id) {
|
3249 |
+
$this->main->duplicate((int)$post_id);
|
3250 |
+
}
|
3251 |
+
|
3252 |
+
break;
|
3253 |
+
default:
|
3254 |
+
return;
|
3255 |
+
}
|
3256 |
+
|
3257 |
+
wp_redirect('edit.php?post_type=' . $this->main->get_main_post_type());
|
3258 |
+
exit;
|
3259 |
+
}
|
3260 |
}
|
app/features/fes.php
CHANGED
@@ -549,6 +549,10 @@ class MEC_feature_fes extends MEC_base
|
|
549 |
$repeat_type = ($repeat_status and isset($repeat['type'])) ? $repeat['type'] : '';
|
550 |
|
551 |
$repeat_interval = ($repeat_status and isset($repeat['interval']) and trim($repeat['interval'])) ? $repeat['interval'] : 1;
|
|
|
|
|
|
|
|
|
552 |
if(!is_numeric($repeat_interval)) $repeat_interval = NULL;
|
553 |
|
554 |
if($repeat_type == 'weekly') $interval_multiply = 7;
|
@@ -559,6 +563,10 @@ class MEC_feature_fes extends MEC_base
|
|
559 |
|
560 |
if(!is_null($repeat_interval)) $repeat_interval = $repeat_interval*$interval_multiply;
|
561 |
|
|
|
|
|
|
|
|
|
562 |
$repeat_end = ($repeat_status and isset($repeat['end'])) ? $repeat['end'] : '';
|
563 |
$repeat_end_at_occurrences = ($repeat_status and isset($repeat['end_at_occurrences'])) ? ($repeat['end_at_occurrences']-1) : '';
|
564 |
$repeat_end_at_date = ($repeat_status and isset($repeat['end_at_date'])) ? $repeat['end_at_date'] : '';
|
@@ -577,6 +585,7 @@ class MEC_feature_fes extends MEC_base
|
|
577 |
update_post_meta($post_id, 'mec_repeat_end', $repeat_end);
|
578 |
update_post_meta($post_id, 'mec_repeat_end_at_occurrences', $repeat_end_at_occurrences);
|
579 |
update_post_meta($post_id, 'mec_repeat_end_at_date', $repeat_end_at_date);
|
|
|
580 |
|
581 |
// Creating $event array for inserting in mec_events table
|
582 |
$event = array('post_id'=>$post_id, 'start'=>$start_date, 'repeat'=>$repeat_status, 'rinterval'=>(!in_array($repeat_type, array('daily', 'weekly')) ? NULL : $repeat_interval), 'time_start'=>$day_start_seconds, 'time_end'=>$day_end_seconds);
|
549 |
$repeat_type = ($repeat_status and isset($repeat['type'])) ? $repeat['type'] : '';
|
550 |
|
551 |
$repeat_interval = ($repeat_status and isset($repeat['interval']) and trim($repeat['interval'])) ? $repeat['interval'] : 1;
|
552 |
+
|
553 |
+
// Advanced Repeat
|
554 |
+
$advanced = isset( $repeat['advanced'] ) ? sanitize_text_field($repeat['advanced']) : '';
|
555 |
+
|
556 |
if(!is_numeric($repeat_interval)) $repeat_interval = NULL;
|
557 |
|
558 |
if($repeat_type == 'weekly') $interval_multiply = 7;
|
563 |
|
564 |
if(!is_null($repeat_interval)) $repeat_interval = $repeat_interval*$interval_multiply;
|
565 |
|
566 |
+
// String To Array
|
567 |
+
if($repeat_type == 'advanced' and trim($advanced)) $advanced = explode('-', $advanced);
|
568 |
+
else $advanced = array();
|
569 |
+
|
570 |
$repeat_end = ($repeat_status and isset($repeat['end'])) ? $repeat['end'] : '';
|
571 |
$repeat_end_at_occurrences = ($repeat_status and isset($repeat['end_at_occurrences'])) ? ($repeat['end_at_occurrences']-1) : '';
|
572 |
$repeat_end_at_date = ($repeat_status and isset($repeat['end_at_date'])) ? $repeat['end_at_date'] : '';
|
585 |
update_post_meta($post_id, 'mec_repeat_end', $repeat_end);
|
586 |
update_post_meta($post_id, 'mec_repeat_end_at_occurrences', $repeat_end_at_occurrences);
|
587 |
update_post_meta($post_id, 'mec_repeat_end_at_date', $repeat_end_at_date);
|
588 |
+
update_post_meta($post_id, 'mec_advanced_days', $advanced);
|
589 |
|
590 |
// Creating $event array for inserting in mec_events table
|
591 |
$event = array('post_id'=>$post_id, 'start'=>$start_date, 'repeat'=>$repeat_status, 'rinterval'=>(!in_array($repeat_type, array('daily', 'weekly')) ? NULL : $repeat_interval), 'time_start'=>$day_start_seconds, 'time_end'=>$day_end_seconds);
|
app/features/fes/form.php
CHANGED
@@ -174,6 +174,11 @@ $this->factory->params('footer', $javascript);
|
|
174 |
|
175 |
$start_date = get_post_meta($post_id, 'mec_start_date', true);
|
176 |
|
|
|
|
|
|
|
|
|
|
|
177 |
$start_time_hour = get_post_meta($post_id, 'mec_start_time_hour', true);
|
178 |
if(trim($start_time_hour) == '') $start_time_hour = 8;
|
179 |
|
@@ -338,6 +343,7 @@ $this->factory->params('footer', $javascript);
|
|
338 |
<option <?php if($repeat_type == 'monthly') echo 'selected="selected"'; ?> value="monthly"><?php _e('Monthly', 'modern-events-calendar-lite'); ?></option>
|
339 |
<option <?php if($repeat_type == 'yearly') echo 'selected="selected"'; ?> value="yearly"><?php _e('Yearly', 'modern-events-calendar-lite'); ?></option>
|
340 |
<option <?php if($repeat_type == 'custom_days') echo 'selected="selected"'; ?> value="custom_days"><?php _e('Custom Days', 'modern-events-calendar-lite'); ?></option>
|
|
|
341 |
</select>
|
342 |
</div>
|
343 |
<div class="mec-form-row" id="mec_repeat_interval_container">
|
@@ -411,6 +417,222 @@ $this->factory->params('footer', $javascript);
|
|
411 |
</span>
|
412 |
</div>
|
413 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
414 |
</div>
|
415 |
</div>
|
416 |
</div>
|
174 |
|
175 |
$start_date = get_post_meta($post_id, 'mec_start_date', true);
|
176 |
|
177 |
+
// Advanced Repeating Day
|
178 |
+
$advanced_days = get_post_meta( $post->ID, 'mec_advanced_days', true );
|
179 |
+
$advanced_days = (is_array($advanced_days)) ? $advanced_days : array();
|
180 |
+
$advanced_str = (count($advanced_days)) ? implode('-', $advanced_days) : '';
|
181 |
+
|
182 |
$start_time_hour = get_post_meta($post_id, 'mec_start_time_hour', true);
|
183 |
if(trim($start_time_hour) == '') $start_time_hour = 8;
|
184 |
|
343 |
<option <?php if($repeat_type == 'monthly') echo 'selected="selected"'; ?> value="monthly"><?php _e('Monthly', 'modern-events-calendar-lite'); ?></option>
|
344 |
<option <?php if($repeat_type == 'yearly') echo 'selected="selected"'; ?> value="yearly"><?php _e('Yearly', 'modern-events-calendar-lite'); ?></option>
|
345 |
<option <?php if($repeat_type == 'custom_days') echo 'selected="selected"'; ?> value="custom_days"><?php _e('Custom Days', 'modern-events-calendar-lite'); ?></option>
|
346 |
+
<option <?php if($repeat_type == 'advanced') echo 'selected="selected"'; ?> value="advanced"><?php _e('Advanced', 'modern-events-calendar-lite'); ?></option>
|
347 |
</select>
|
348 |
</div>
|
349 |
<div class="mec-form-row" id="mec_repeat_interval_container">
|
417 |
</span>
|
418 |
</div>
|
419 |
</div>
|
420 |
+
<div id="mec-advanced-wraper">
|
421 |
+
<div class="mec-form-row">
|
422 |
+
<ul>
|
423 |
+
<li>
|
424 |
+
<?php _e('First', 'modern-events-calendar-lite'); ?>
|
425 |
+
</li>
|
426 |
+
<ul>
|
427 |
+
<?php $day_1th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 1); ?>
|
428 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_1th}.1"); ?>">
|
429 |
+
<?php _e($day_1th, 'modern-events-calendar-lite'); ?>
|
430 |
+
<span class="key"><?php echo $day_1th ?>.1-</span>
|
431 |
+
</li>
|
432 |
+
<?php $day_2th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 2); ?>
|
433 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_2th}.1"); ?>">
|
434 |
+
<?php _e($day_2th, 'modern-events-calendar-lite'); ?>
|
435 |
+
<span class="key"><?php echo $day_2th ?>.1-</span>
|
436 |
+
</li>
|
437 |
+
<?php $day_3th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 3); ?>
|
438 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_3th}.1"); ?>">
|
439 |
+
<?php _e($day_3th, 'modern-events-calendar-lite'); ?>
|
440 |
+
<span class="key"><?php echo $day_3th ?>.1-</span>
|
441 |
+
</li>
|
442 |
+
<?php $day_4th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 4); ?>
|
443 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_4th}.1"); ?>">
|
444 |
+
<?php _e($day_4th, 'modern-events-calendar-lite'); ?>
|
445 |
+
<span class="key"><?php echo $day_4th ?>.1-</span>
|
446 |
+
</li>
|
447 |
+
<?php $day_5th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 5); ?>
|
448 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_5th}.1"); ?>">
|
449 |
+
<?php _e($day_5th, 'modern-events-calendar-lite'); ?>
|
450 |
+
<span class="key"><?php echo $day_5th ?>.1-</span>
|
451 |
+
</li>
|
452 |
+
<?php $day_6th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 6); ?>
|
453 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_6th}.1"); ?>">
|
454 |
+
<?php _e($day_6th, 'modern-events-calendar-lite'); ?>
|
455 |
+
<span class="key"><?php echo $day_6th ?>.1-</span>
|
456 |
+
</li>
|
457 |
+
<?php $day_7th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 7); ?>
|
458 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_7th}.1"); ?>">
|
459 |
+
<?php _e($day_7th, 'modern-events-calendar-lite'); ?>
|
460 |
+
<span class="key"><?php echo $day_7th ?>.1-</span>
|
461 |
+
</li>
|
462 |
+
</ul>
|
463 |
+
</ul>
|
464 |
+
<ul>
|
465 |
+
<li>
|
466 |
+
<?php _e('Second', 'modern-events-calendar-lite'); ?>
|
467 |
+
</li>
|
468 |
+
<ul>
|
469 |
+
<?php $day_1th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 1); ?>
|
470 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_1th}.2"); ?>">
|
471 |
+
<?php _e($day_1th, 'modern-events-calendar-lite'); ?>
|
472 |
+
<span class="key"><?php echo $day_1th ?>.2-</span>
|
473 |
+
</li>
|
474 |
+
<?php $day_2th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 2); ?>
|
475 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_2th}.2"); ?>">
|
476 |
+
<?php _e($day_2th, 'modern-events-calendar-lite'); ?>
|
477 |
+
<span class="key"><?php echo $day_2th ?>.2-</span>
|
478 |
+
</li>
|
479 |
+
<?php $day_3th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 3); ?>
|
480 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_3th}.2"); ?>">
|
481 |
+
<?php _e($day_3th, 'modern-events-calendar-lite'); ?>
|
482 |
+
<span class="key"><?php echo $day_3th ?>.2-</span>
|
483 |
+
</li>
|
484 |
+
<?php $day_4th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 4); ?>
|
485 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_4th}.2"); ?>">
|
486 |
+
<?php _e($day_4th, 'modern-events-calendar-lite'); ?>
|
487 |
+
<span class="key"><?php echo $day_4th ?>.2-</span>
|
488 |
+
</li>
|
489 |
+
<?php $day_5th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 5); ?>
|
490 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_5th}.2"); ?>">
|
491 |
+
<?php _e($day_5th, 'modern-events-calendar-lite'); ?>
|
492 |
+
<span class="key"><?php echo $day_5th ?>.2-</span>
|
493 |
+
</li>
|
494 |
+
<?php $day_6th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 6); ?>
|
495 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_6th}.2"); ?>">
|
496 |
+
<?php _e($day_6th, 'modern-events-calendar-lite'); ?>
|
497 |
+
<span class="key"><?php echo $day_6th ?>.2-</span>
|
498 |
+
</li>
|
499 |
+
<?php $day_7th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 7); ?>
|
500 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_7th}.2"); ?>">
|
501 |
+
<?php _e($day_7th, 'modern-events-calendar-lite'); ?>
|
502 |
+
<span class="key"><?php echo $day_7th ?>.2-</span>
|
503 |
+
</li>
|
504 |
+
</ul>
|
505 |
+
</ul>
|
506 |
+
<ul>
|
507 |
+
<li>
|
508 |
+
<?php _e('Third', 'modern-events-calendar-lite'); ?>
|
509 |
+
</li>
|
510 |
+
<ul>
|
511 |
+
<?php $day_1th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 1); ?>
|
512 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_1th}.3"); ?>">
|
513 |
+
<?php _e($day_1th, 'modern-events-calendar-lite'); ?>
|
514 |
+
<span class="key"><?php echo $day_1th ?>.3-</span>
|
515 |
+
</li>
|
516 |
+
<?php $day_2th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 2); ?>
|
517 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_2th}.3"); ?>">
|
518 |
+
<?php _e($day_2th, 'modern-events-calendar-lite'); ?>
|
519 |
+
<span class="key"><?php echo $day_2th ?>.3-</span>
|
520 |
+
</li>
|
521 |
+
<?php $day_3th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 3); ?>
|
522 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_3th}.3"); ?>">
|
523 |
+
<?php _e($day_3th, 'modern-events-calendar-lite'); ?>
|
524 |
+
<span class="key"><?php echo $day_3th ?>.3-</span>
|
525 |
+
</li>
|
526 |
+
<?php $day_4th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 4); ?>
|
527 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_4th}.3"); ?>">
|
528 |
+
<?php _e($day_4th, 'modern-events-calendar-lite'); ?>
|
529 |
+
<span class="key"><?php echo $day_4th ?>.3-</span>
|
530 |
+
</li>
|
531 |
+
<?php $day_5th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 5); ?>
|
532 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_5th}.3"); ?>">
|
533 |
+
<?php _e($day_5th, 'modern-events-calendar-lite'); ?>
|
534 |
+
<span class="key"><?php echo $day_5th ?>.3-</span>
|
535 |
+
</li>
|
536 |
+
<?php $day_6th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 6); ?>
|
537 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_6th}.3"); ?>">
|
538 |
+
<?php _e($day_6th, 'modern-events-calendar-lite'); ?>
|
539 |
+
<span class="key"><?php echo $day_6th ?>.3-</span>
|
540 |
+
</li>
|
541 |
+
<?php $day_7th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 7); ?>
|
542 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_7th}.3"); ?>">
|
543 |
+
<?php _e($day_7th, 'modern-events-calendar-lite'); ?>
|
544 |
+
<span class="key"><?php echo $day_7th ?>.3-</span>
|
545 |
+
</li>
|
546 |
+
</ul>
|
547 |
+
</ul>
|
548 |
+
<ul>
|
549 |
+
<li>
|
550 |
+
<?php _e('Fourth', 'modern-events-calendar-lite'); ?>
|
551 |
+
</li>
|
552 |
+
<ul>
|
553 |
+
<?php $day_1th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 1); ?>
|
554 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_1th}.4"); ?>">
|
555 |
+
<?php _e($day_1th, 'modern-events-calendar-lite'); ?>
|
556 |
+
<span class="key"><?php echo $day_1th ?>.4-</span>
|
557 |
+
</li>
|
558 |
+
<?php $day_2th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 2); ?>
|
559 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_2th}.4"); ?>">
|
560 |
+
<?php _e($day_2th, 'modern-events-calendar-lite'); ?>
|
561 |
+
<span class="key"><?php echo $day_2th ?>.4-</span>
|
562 |
+
</li>
|
563 |
+
<?php $day_3th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 3); ?>
|
564 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_3th}.4"); ?>">
|
565 |
+
<?php _e($day_3th, 'modern-events-calendar-lite'); ?>
|
566 |
+
<span class="key"><?php echo $day_3th ?>.4-</span>
|
567 |
+
</li>
|
568 |
+
<?php $day_4th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 4); ?>
|
569 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_4th}.4"); ?>">
|
570 |
+
<?php _e($day_4th, 'modern-events-calendar-lite'); ?>
|
571 |
+
<span class="key"><?php echo $day_4th ?>.4-</span>
|
572 |
+
</li>
|
573 |
+
<?php $day_5th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 5); ?>
|
574 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_5th}.4"); ?>">
|
575 |
+
<?php _e($day_5th, 'modern-events-calendar-lite'); ?>
|
576 |
+
<span class="key"><?php echo $day_5th ?>.4-</span>
|
577 |
+
</li>
|
578 |
+
<?php $day_6th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 6); ?>
|
579 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_6th}.4"); ?>">
|
580 |
+
<?php _e($day_6th, 'modern-events-calendar-lite'); ?>
|
581 |
+
<span class="key"><?php echo $day_6th ?>.4-</span>
|
582 |
+
</li>
|
583 |
+
<?php $day_7th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 7); ?>
|
584 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_7th}.4"); ?>">
|
585 |
+
<?php _e($day_7th, 'modern-events-calendar-lite'); ?>
|
586 |
+
<span class="key"><?php echo $day_7th ?>.4-</span>
|
587 |
+
</li>
|
588 |
+
</ul>
|
589 |
+
</ul>
|
590 |
+
<ul>
|
591 |
+
<li>
|
592 |
+
<?php _e('Last', 'modern-events-calendar-lite'); ?>
|
593 |
+
</li>
|
594 |
+
<ul>
|
595 |
+
<?php $day_1th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 1); ?>
|
596 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_1th}.l"); ?>">
|
597 |
+
<?php _e($day_1th, 'modern-events-calendar-lite'); ?>
|
598 |
+
<span class="key"><?php echo $day_1th ?>.l-</span>
|
599 |
+
</li>
|
600 |
+
<?php $day_2th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 2); ?>
|
601 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_2th}.l"); ?>">
|
602 |
+
<?php _e($day_2th, 'modern-events-calendar-lite'); ?>
|
603 |
+
<span class="key"><?php echo $day_2th ?>.l-</span>
|
604 |
+
</li>
|
605 |
+
<?php $day_3th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 3); ?>
|
606 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_3th}.l"); ?>">
|
607 |
+
<?php _e($day_3th, 'modern-events-calendar-lite'); ?>
|
608 |
+
<span class="key"><?php echo $day_3th ?>.l-</span>
|
609 |
+
</li>
|
610 |
+
<?php $day_4th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 4); ?>
|
611 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_4th}.l"); ?>">
|
612 |
+
<?php _e($day_4th, 'modern-events-calendar-lite'); ?>
|
613 |
+
<span class="key"><?php echo $day_4th ?>.l-</span>
|
614 |
+
</li>
|
615 |
+
<?php $day_5th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 5); ?>
|
616 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_5th}.l"); ?>">
|
617 |
+
<?php _e($day_5th, 'modern-events-calendar-lite'); ?>
|
618 |
+
<span class="key"><?php echo $day_5th ?>.l-</span>
|
619 |
+
</li>
|
620 |
+
<?php $day_6th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 6); ?>
|
621 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_6th}.l"); ?>">
|
622 |
+
<?php _e($day_6th, 'modern-events-calendar-lite'); ?>
|
623 |
+
<span class="key"><?php echo $day_6th ?>.l-</span>
|
624 |
+
</li>
|
625 |
+
<?php $day_7th = $this->main->advanced_repeating_sort_day($this->main->get_first_day_of_week(), 7); ?>
|
626 |
+
<li class="<?php $this->main->mec_active($advanced_days, "{$day_7th}.l"); ?>">
|
627 |
+
<?php _e($day_7th, 'modern-events-calendar-lite'); ?>
|
628 |
+
<span class="key"><?php echo $day_7th ?>.l-</span>
|
629 |
+
</li>
|
630 |
+
</ul>
|
631 |
+
</ul>
|
632 |
+
<input class="mec-col-2" type="hidden" name="mec[date][repeat][advanced]"
|
633 |
+
id="mec_date_repeat_advanced" value="<?php echo esc_attr($advanced_str); ?>" />
|
634 |
+
</div>
|
635 |
+
</div>
|
636 |
</div>
|
637 |
</div>
|
638 |
</div>
|
app/features/mec.php
CHANGED
@@ -118,6 +118,10 @@ class MEC_feature_mec extends MEC_base
|
|
118 |
$this->factory->action('wp_ajax_activate_license', array($this, 'activate_license'));
|
119 |
$this->factory->action('wp_ajax_nopriv_activate_license', array($this, 'activate_license'));
|
120 |
|
|
|
|
|
|
|
|
|
121 |
// Scheduler Cronjob
|
122 |
$schedule = $this->getSchedule();
|
123 |
$this->factory->action('mec_scheduler', array($schedule, 'cron'));
|
@@ -179,6 +183,17 @@ class MEC_feature_mec extends MEC_base
|
|
179 |
wp_die();
|
180 |
}
|
181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
/* Download MEC settings */
|
183 |
public function import_settings()
|
184 |
{
|
@@ -586,6 +601,9 @@ class MEC_feature_mec extends MEC_base
|
|
586 |
elseif($tab == 'MEC-notifications') $this->notifications();
|
587 |
elseif($tab == 'MEC-messages') $this->messages();
|
588 |
elseif($tab == 'MEC-styling') $this->styling();
|
|
|
|
|
|
|
589 |
else $this->settings();
|
590 |
}
|
591 |
|
@@ -630,6 +648,48 @@ class MEC_feature_mec extends MEC_base
|
|
630 |
include $path;
|
631 |
echo $output = ob_get_clean();
|
632 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
633 |
|
634 |
/**
|
635 |
* Show content of import/export tab
|
118 |
$this->factory->action('wp_ajax_activate_license', array($this, 'activate_license'));
|
119 |
$this->factory->action('wp_ajax_nopriv_activate_license', array($this, 'activate_license'));
|
120 |
|
121 |
+
// Close Notification
|
122 |
+
$this->factory->action('wp_ajax_close_notification', array($this, 'close_notification'));
|
123 |
+
$this->factory->action('wp_ajax_nopriv_close_notification', array($this, 'close_notification'));
|
124 |
+
|
125 |
// Scheduler Cronjob
|
126 |
$schedule = $this->getSchedule();
|
127 |
$this->factory->action('mec_scheduler', array($schedule, 'cron'));
|
183 |
wp_die();
|
184 |
}
|
185 |
|
186 |
+
/* Close addons notification */
|
187 |
+
public function close_notification()
|
188 |
+
{
|
189 |
+
if(!wp_verify_nonce( $_REQUEST['nonce'], 'mec_settings_nonce'))
|
190 |
+
{
|
191 |
+
exit();
|
192 |
+
}
|
193 |
+
update_option('mec_addons_notification_option', 'open');
|
194 |
+
wp_die();
|
195 |
+
}
|
196 |
+
|
197 |
/* Download MEC settings */
|
198 |
public function import_settings()
|
199 |
{
|
601 |
elseif($tab == 'MEC-notifications') $this->notifications();
|
602 |
elseif($tab == 'MEC-messages') $this->messages();
|
603 |
elseif($tab == 'MEC-styling') $this->styling();
|
604 |
+
elseif($tab == 'MEC-single') $this->single();
|
605 |
+
elseif($tab == 'MEC-booking') $this->booking();
|
606 |
+
elseif($tab == 'MEC-modules') $this->modules();
|
607 |
else $this->settings();
|
608 |
}
|
609 |
|
648 |
include $path;
|
649 |
echo $output = ob_get_clean();
|
650 |
}
|
651 |
+
|
652 |
+
/**
|
653 |
+
* Show content of single tab
|
654 |
+
* @author Webnus <info@webnus.biz>
|
655 |
+
* @return void
|
656 |
+
*/
|
657 |
+
public function single()
|
658 |
+
{
|
659 |
+
$path = MEC::import('app.features.mec.single', true, true);
|
660 |
+
|
661 |
+
ob_start();
|
662 |
+
include $path;
|
663 |
+
echo $output = ob_get_clean();
|
664 |
+
}
|
665 |
+
|
666 |
+
/**
|
667 |
+
* Show content of booking tab
|
668 |
+
* @author Webnus <info@webnus.biz>
|
669 |
+
* @return void
|
670 |
+
*/
|
671 |
+
public function booking()
|
672 |
+
{
|
673 |
+
$path = MEC::import('app.features.mec.booking', true, true);
|
674 |
+
|
675 |
+
ob_start();
|
676 |
+
include $path;
|
677 |
+
echo $output = ob_get_clean();
|
678 |
+
}
|
679 |
+
|
680 |
+
/**
|
681 |
+
* Show content of modules tab
|
682 |
+
* @author Webnus <info@webnus.biz>
|
683 |
+
* @return void
|
684 |
+
*/
|
685 |
+
public function modules()
|
686 |
+
{
|
687 |
+
$path = MEC::import('app.features.mec.modules', true, true);
|
688 |
+
|
689 |
+
ob_start();
|
690 |
+
include $path;
|
691 |
+
echo $output = ob_get_clean();
|
692 |
+
}
|
693 |
|
694 |
/**
|
695 |
* Show content of import/export tab
|
app/features/mec/booking.php
ADDED
@@ -0,0 +1,609 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/** no direct access **/
|
3 |
+
defined('MECEXEC') or die();
|
4 |
+
|
5 |
+
$settings = $this->main->get_settings();
|
6 |
+
|
7 |
+
$fees = isset($settings['fees']) ? $settings['fees'] : array();
|
8 |
+
$ticket_variations = isset($settings['ticket_variations']) ? $settings['ticket_variations'] : array();
|
9 |
+
|
10 |
+
// WordPress Pages
|
11 |
+
$pages = get_pages();
|
12 |
+
|
13 |
+
// Verify the Purchase Code
|
14 |
+
$verify = NULL;
|
15 |
+
if($this->getPRO())
|
16 |
+
{
|
17 |
+
$envato = $this->getEnvato();
|
18 |
+
$verify = $envato->get_MEC_info('dl');
|
19 |
+
}
|
20 |
+
?>
|
21 |
+
<div class="wns-be-container wns-be-container-sticky">
|
22 |
+
<div id="wns-be-infobar">
|
23 |
+
<input id="mec-search-settings" type="text" placeholder="Search..">
|
24 |
+
<a id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
25 |
+
</div>
|
26 |
+
|
27 |
+
<div class="wns-be-sidebar">
|
28 |
+
<ul class="wns-be-group-menu">
|
29 |
+
|
30 |
+
<li class="wns-be-group-menu-li">
|
31 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>" id="" class="wns-be-group-tab-link-a">
|
32 |
+
<i class="mec-sl-settings"></i>
|
33 |
+
<span class="wns-be-group-menu-title"><?php echo __('Settings', 'modern-events-calendar-lite'); ?></span>
|
34 |
+
</a>
|
35 |
+
<ul id="" class="submneu-hover">
|
36 |
+
<li class="submenu-item">
|
37 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#general_option"><?php _e('General Options', 'modern-events-calendar-lite'); ?></a>
|
38 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#archive_options"><?php _e('Archive Pages', 'modern-events-calendar-lite'); ?></a>
|
39 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#slug_option"><?php _e('Slugs/Permalinks', 'modern-events-calendar-lite'); ?></a>
|
40 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#currency_option"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></a>
|
41 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#recaptcha_option"><?php _e('Google Recaptcha Options', 'modern-events-calendar-lite'); ?></a>
|
42 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#fes_option"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></a>
|
43 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#user_profile_options"><?php _e('User Profile', 'modern-events-calendar-lite'); ?></a>
|
44 |
+
<?php if($this->main->getPRO()): ?>
|
45 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#mailchimp_option"><?php _e('Mailchimp Integration', 'modern-events-calendar-lite'); ?></a>
|
46 |
+
<?php endif; ?>
|
47 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#uploadfield_option"><?php _e('Upload Field', 'modern-events-calendar-lite'); ?></a>
|
48 |
+
</li>
|
49 |
+
</ul>
|
50 |
+
</li>
|
51 |
+
|
52 |
+
<li class="wns-be-group-menu-li">
|
53 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>" id="" class="wns-be-group-tab-link-a">
|
54 |
+
<i class="mec-sl-note"></i>
|
55 |
+
<span class="wns-be-group-menu-title"><?php echo __('Single Event', 'modern-events-calendar-lite'); ?></span>
|
56 |
+
</a>
|
57 |
+
<ul id="" class="submneu-hover">
|
58 |
+
<li class="submenu-item">
|
59 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#event_options"><?php _e('Single Event Page', 'modern-events-calendar-lite'); ?></a>
|
60 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#countdown_option"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></a>
|
61 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#exceptional_option"><?php _e('Exceptional Days', 'modern-events-calendar-lite'); ?></a>
|
62 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_organizers"><?php _e('Additional Organizers', 'modern-events-calendar-lite'); ?></a>
|
63 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_locations"><?php _e('Additional Locations', 'modern-events-calendar-lite'); ?></a>
|
64 |
+
</li>
|
65 |
+
</ul>
|
66 |
+
</li>
|
67 |
+
|
68 |
+
<?php if($this->main->getPRO()): ?>
|
69 |
+
|
70 |
+
<li class="wns-be-group-menu-li has-sub active">
|
71 |
+
|
72 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>" id="" class="wns-be-group-tab-link-a">
|
73 |
+
<span class="extra-icon">
|
74 |
+
<i class="mec-sl-arrow-down"></i>
|
75 |
+
</span>
|
76 |
+
<i class="mec-sl-credit-card"></i>
|
77 |
+
<span class="wns-be-group-menu-title"><?php echo __('Booking', 'modern-events-calendar-lite'); ?></span>
|
78 |
+
</a>
|
79 |
+
|
80 |
+
<ul id="" class="subsection" style="display: block;">
|
81 |
+
|
82 |
+
<li id="" class="pr-be-group-menu-li active">
|
83 |
+
<a data-id="booking_option" class="wns-be-group-tab-link-a WnTabLinks">
|
84 |
+
<span class="pr-be-group-menu-title"><?php _e('Booking', 'modern-events-calendar-lite'); ?></span>
|
85 |
+
</a>
|
86 |
+
</li>
|
87 |
+
|
88 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
89 |
+
|
90 |
+
<li id="" class="pr-be-group-menu-li">
|
91 |
+
<a data-id="coupon_option" class="wns-be-group-tab-link-a WnTabLinks">
|
92 |
+
<span class="pr-be-group-menu-title"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></span>
|
93 |
+
</a>
|
94 |
+
</li>
|
95 |
+
|
96 |
+
<li id="" class="pr-be-group-menu-li">
|
97 |
+
<a data-id="taxes_option" class="wns-be-group-tab-link-a WnTabLinks">
|
98 |
+
<span class="pr-be-group-menu-title"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></span>
|
99 |
+
</a>
|
100 |
+
</li>
|
101 |
+
|
102 |
+
<li id="" class="pr-be-group-menu-li">
|
103 |
+
<a data-id="ticket_variations_option" class="wns-be-group-tab-link-a WnTabLinks">
|
104 |
+
<span class="pr-be-group-menu-title"><?php _e('Ticket Variations & Options', 'modern-events-calendar-lite'); ?></span>
|
105 |
+
</a>
|
106 |
+
</li>
|
107 |
+
|
108 |
+
<?php endif; ?>
|
109 |
+
|
110 |
+
</ul>
|
111 |
+
</li>
|
112 |
+
|
113 |
+
<?php endif; ?>
|
114 |
+
|
115 |
+
<li class="wns-be-group-menu-li">
|
116 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>" id="" class="wns-be-group-tab-link-a">
|
117 |
+
<i class="mec-sl-grid"></i>
|
118 |
+
<span class="wns-be-group-menu-title"><?php echo __('Modules', 'modern-events-calendar-lite'); ?></span>
|
119 |
+
</a>
|
120 |
+
<ul id="" class="submneu-hover">
|
121 |
+
<li class="submenu-item">
|
122 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#speakers_option"><?php _e('Speakers', 'modern-events-calendar-lite'); ?></a>
|
123 |
+
<?php if($this->main->getPRO()): ?>
|
124 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#googlemap_option"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></a>
|
125 |
+
<?php endif; ?>
|
126 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#export_module_option"><?php _e('Export Options', 'modern-events-calendar-lite'); ?></a>
|
127 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#time_module_option"><?php _e('Local Time', 'modern-events-calendar-lite'); ?></a>
|
128 |
+
<?php if($this->main->getPRO()): ?>
|
129 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#qrcode_module_option"><?php _e('QR Code', 'modern-events-calendar-lite'); ?></a>
|
130 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#weather_module_option"><?php _e('Weather', 'modern-events-calendar-lite'); ?></a>
|
131 |
+
<?php endif; ?>
|
132 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#social_options"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></a>
|
133 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#next_event_option"><?php _e('Next Event', 'modern-events-calendar-lite'); ?></a>
|
134 |
+
<?php if($this->main->getPRO()): ?>
|
135 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#buddy_option"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></a>
|
136 |
+
<?php endif; ?>
|
137 |
+
</li>
|
138 |
+
</ul>
|
139 |
+
</li>
|
140 |
+
|
141 |
+
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
142 |
+
|
143 |
+
<li class="wns-be-group-menu-li">
|
144 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-reg-form'); ?>" id="" class="wns-be-group-tab-link-a">
|
145 |
+
<i class="mec-sl-layers"></i>
|
146 |
+
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
147 |
+
</a>
|
148 |
+
</li>
|
149 |
+
|
150 |
+
<li class="wns-be-group-menu-li">
|
151 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
152 |
+
<i class="mec-sl-wallet"></i>
|
153 |
+
<span class="wns-be-group-menu-title"><?php _e('Payment Gateways', 'modern-events-calendar-lite'); ?></span>
|
154 |
+
</a>
|
155 |
+
</li>
|
156 |
+
|
157 |
+
<?php endif;?>
|
158 |
+
|
159 |
+
<li class="wns-be-group-menu-li">
|
160 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>" id="" class="wns-be-group-tab-link-a">
|
161 |
+
<i class="mec-sl-envelope"></i>
|
162 |
+
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
163 |
+
</a>
|
164 |
+
<ul id="" class="submneu-hover">
|
165 |
+
<li class="submenu-item">
|
166 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
167 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_notification"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
168 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_verification"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></a>
|
169 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_confirmation"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></a>
|
170 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#cancellation_notification"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></a>
|
171 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#admin_notification"><?php _e('Admin', 'modern-events-calendar-lite'); ?></a>
|
172 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_reminder"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></a>
|
173 |
+
<?php endif; ?>
|
174 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#new_event"><?php _e('New Event', 'modern-events-calendar-lite'); ?></a>
|
175 |
+
</li>
|
176 |
+
</ul>
|
177 |
+
</li>
|
178 |
+
|
179 |
+
<li class="wns-be-group-menu-li">
|
180 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-styling'); ?>" id="" class="wns-be-group-tab-link-a">
|
181 |
+
<i class="mec-sl-equalizer"></i>
|
182 |
+
<span class="wns-be-group-menu-title"><?php _e('Styling Options', 'modern-events-calendar-lite'); ?></span>
|
183 |
+
</a>
|
184 |
+
</li>
|
185 |
+
|
186 |
+
<li class="wns-be-group-menu-li">
|
187 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-customcss'); ?>" id="" class="wns-be-group-tab-link-a">
|
188 |
+
<i class="mec-sl-wrench"></i>
|
189 |
+
<span class="wns-be-group-menu-title"><?php _e('Custom CSS', 'modern-events-calendar-lite'); ?></span>
|
190 |
+
</a>
|
191 |
+
</li>
|
192 |
+
|
193 |
+
<li class="wns-be-group-menu-li">
|
194 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-messages'); ?>" id="" class="wns-be-group-tab-link-a">
|
195 |
+
<i class="mec-sl-bubble"></i>
|
196 |
+
<span class="wns-be-group-menu-title"><?php _e('Messages', 'modern-events-calendar-lite'); ?></span>
|
197 |
+
</a>
|
198 |
+
</li>
|
199 |
+
|
200 |
+
<li class="wns-be-group-menu-li">
|
201 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-ie'); ?>" id="" class="wns-be-group-tab-link-a">
|
202 |
+
<i class="mec-sl-refresh"></i>
|
203 |
+
<span class="wns-be-group-menu-title"><?php _e('Import / Export', 'modern-events-calendar-lite'); ?></span>
|
204 |
+
</a>
|
205 |
+
</li>
|
206 |
+
|
207 |
+
</ul>
|
208 |
+
</div>
|
209 |
+
|
210 |
+
<div class="wns-be-main">
|
211 |
+
<div id="wns-be-notification"></div>
|
212 |
+
<div id="wns-be-content">
|
213 |
+
<div class="wns-be-group-tab">
|
214 |
+
<div class="mec-container">
|
215 |
+
|
216 |
+
<form id="mec_booking_form">
|
217 |
+
|
218 |
+
<div id="booking_option" class="mec-options-fields active">
|
219 |
+
<h4 class="mec-form-subtitle"><?php _e('Booking', 'modern-events-calendar-lite'); ?></h4>
|
220 |
+
|
221 |
+
<?php if(!$this->main->getPRO()): ?>
|
222 |
+
<div class="info-msg"><?php echo sprintf(__("%s is required to use this feature.", 'modern-events-calendar-lite'), '<a href="'.$this->main->get_pro_link().'" target="_blank">'.__('Pro version of Modern Events Calendar', 'modern-events-calendar-lite').'</a>'); ?></div>
|
223 |
+
<?php else: ?>
|
224 |
+
<div class="mec-form-row">
|
225 |
+
<label>
|
226 |
+
<input type="hidden" name="mec[settings][booking_status]" value="0" />
|
227 |
+
<input onchange="jQuery('#mec_booking_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][booking_status]" <?php if(isset($settings['booking_status']) and $settings['booking_status']) echo 'checked="checked"'; ?> /> <?php _e('Enable booking module', 'modern-events-calendar-lite'); ?>
|
228 |
+
<p><?php esc_attr_e("After enable it, you should reloading this page to see Payment Gateways on settings and see a new menu on Dashboard", 'modern-events-calendar-lite'); ?></p>
|
229 |
+
</label>
|
230 |
+
</div>
|
231 |
+
<div id="mec_booking_container_toggle" class="<?php if((isset($settings['booking_status']) and !$settings['booking_status']) or !isset($settings['booking_status'])) echo 'mec-util-hidden'; ?>">
|
232 |
+
<div class="mec-form-row">
|
233 |
+
<label class="mec-col-3" for="mec_settings_booking_date_format1"><?php _e('Date Format', 'modern-events-calendar-lite'); ?></label>
|
234 |
+
<div class="mec-col-4">
|
235 |
+
<input type="text" id="mec_settings_booking_date_format1" name="mec[settings][booking_date_format1]" value="<?php echo ((isset($settings['booking_date_format1']) and trim($settings['booking_date_format1']) != '') ? $settings['booking_date_format1'] : 'Y-m-d'); ?>" />
|
236 |
+
<span class="mec-tooltip">
|
237 |
+
<div class="box">
|
238 |
+
<h5 class="title"><?php _e('Date Format', 'modern-events-calendar-lite'); ?></h5>
|
239 |
+
<div class="content"><p><?php esc_attr_e("Default is Y-m-d", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/booking/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
240 |
+
</div>
|
241 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
242 |
+
</span>
|
243 |
+
</div>
|
244 |
+
</div>
|
245 |
+
<div class="mec-form-row">
|
246 |
+
<label class="mec-col-3" for="mec_settings_booking_maximum_dates"><?php _e('Maximum Dates', 'modern-events-calendar-lite'); ?></label>
|
247 |
+
<div class="mec-col-4">
|
248 |
+
<input type="number" id="mec_settings_booking_maximum_dates" name="mec[settings][booking_maximum_dates]" value="<?php echo ((isset($settings['booking_maximum_dates']) and trim($settings['booking_maximum_dates']) != '') ? $settings['booking_maximum_dates'] : '6'); ?>" placeholder="<?php esc_attr_e('Default is 6', 'modern-events-calendar-lite'); ?>" min="1" />
|
249 |
+
</div>
|
250 |
+
</div>
|
251 |
+
<div class="mec-form-row">
|
252 |
+
<label class="mec-col-3" for="mec_settings_booking_thankyou_page"><?php _e('Thank You Page', 'modern-events-calendar-lite'); ?></label>
|
253 |
+
<div class="mec-col-4">
|
254 |
+
<select id="mec_settings_booking_thankyou_page" name="mec[settings][booking_thankyou_page]">
|
255 |
+
<option value="">----</option>
|
256 |
+
<?php foreach($pages as $page): ?>
|
257 |
+
<option <?php echo ((isset($settings['booking_thankyou_page']) and $settings['booking_thankyou_page'] == $page->ID) ? 'selected="selected"' : ''); ?> value="<?php echo $page->ID; ?>"><?php echo $page->post_title; ?></option>
|
258 |
+
<?php endforeach; ?>
|
259 |
+
</select>
|
260 |
+
<span class="mec-tooltip">
|
261 |
+
<div class="box top">
|
262 |
+
<h5 class="title"><?php _e('Thank You Page', 'modern-events-calendar-lite'); ?></h5>
|
263 |
+
<div class="content"><p><?php esc_attr_e("User redirects to this page after booking. Leave it empty if you want to disable it.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/booking/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
264 |
+
</div>
|
265 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
266 |
+
</span>
|
267 |
+
</div>
|
268 |
+
</div>
|
269 |
+
<div class="mec-form-row">
|
270 |
+
<div class="mec-col-12">
|
271 |
+
<label for="mec_settings_booking_first_for_all">
|
272 |
+
<input type="hidden" name="mec[settings][booking_first_for_all]" value="0" />
|
273 |
+
<input type="checkbox" name="mec[settings][booking_first_for_all]" id="mec_settings_booking_first_for_all" <?php echo ((!isset($settings['booking_first_for_all']) or (isset($settings['booking_first_for_all']) and $settings['booking_first_for_all'] == '1')) ? 'checked="checked"' : ''); ?> value="1" />
|
274 |
+
<?php _e('Enable Express Attendees Form', 'modern-events-calendar-lite'); ?>
|
275 |
+
</label>
|
276 |
+
<span class="mec-tooltip">
|
277 |
+
<div class="box top">
|
278 |
+
<h5 class="title"><?php _e('Attendees Form', 'modern-events-calendar-lite'); ?></h5>
|
279 |
+
<div class="content"><p><?php esc_attr_e("Users are able to apply first attendee information for other attendees in the booking form.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/booking/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
280 |
+
</div>
|
281 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
282 |
+
</span>
|
283 |
+
</div>
|
284 |
+
</div>
|
285 |
+
<h5 class="mec-form-subtitle"><?php _e('Email verification', 'modern-events-calendar-lite'); ?></h5>
|
286 |
+
<div class="mec-form-row">
|
287 |
+
<div class="mec-col-12">
|
288 |
+
<label for="mec_settings_booking_auto_verify_free">
|
289 |
+
<input type="hidden" name="mec[settings][booking_auto_verify_free]" value="0" />
|
290 |
+
<input type="checkbox" name="mec[settings][booking_auto_verify_free]" id="mec_settings_booking_auto_verify_free" <?php echo ((isset($settings['booking_auto_verify_free']) and $settings['booking_auto_verify_free'] == '1') ? 'checked="checked"' : ''); ?> value="1" />
|
291 |
+
<?php _e('Auto verification for free bookings', 'modern-events-calendar-lite'); ?>
|
292 |
+
</label>
|
293 |
+
</div>
|
294 |
+
</div>
|
295 |
+
<div class="mec-form-row">
|
296 |
+
<div class="mec-col-12">
|
297 |
+
<label for="mec_settings_booking_auto_verify_paid">
|
298 |
+
<input type="hidden" name="mec[settings][booking_auto_verify_paid]" value="0" />
|
299 |
+
<input type="checkbox" name="mec[settings][booking_auto_verify_paid]" id="mec_settings_booking_auto_verify_paid" <?php echo ((isset($settings['booking_auto_verify_paid']) and $settings['booking_auto_verify_paid'] == '1') ? 'checked="checked"' : ''); ?> value="1" />
|
300 |
+
<?php _e('Auto verification for paid bookings', 'modern-events-calendar-lite'); ?>
|
301 |
+
</label>
|
302 |
+
</div>
|
303 |
+
</div>
|
304 |
+
<h5 class="mec-form-subtitle"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></h5>
|
305 |
+
<div class="mec-form-row">
|
306 |
+
<div class="mec-col-12">
|
307 |
+
<label for="mec_settings_booking_auto_confirm_free">
|
308 |
+
<input type="hidden" name="mec[settings][booking_auto_confirm_free]" value="0" />
|
309 |
+
<input type="checkbox" name="mec[settings][booking_auto_confirm_free]" id="mec_settings_booking_auto_confirm_free" <?php echo ((isset($settings['booking_auto_confirm_free']) and $settings['booking_auto_confirm_free'] == '1') ? 'checked="checked"' : ''); ?> value="1" />
|
310 |
+
<?php _e('Auto confirmation for free bookings', 'modern-events-calendar-lite'); ?>
|
311 |
+
</label>
|
312 |
+
</div>
|
313 |
+
</div>
|
314 |
+
<div class="mec-form-row">
|
315 |
+
<div class="mec-col-12">
|
316 |
+
<label for="mec_settings_booking_auto_confirm_paid">
|
317 |
+
<input type="hidden" name="mec[settings][booking_auto_confirm_paid]" value="0" />
|
318 |
+
<input type="checkbox" name="mec[settings][booking_auto_confirm_paid]" id="mec_settings_booking_auto_confirm_paid" <?php echo ((isset($settings['booking_auto_confirm_paid']) and $settings['booking_auto_confirm_paid'] == '1') ? 'checked="checked"' : ''); ?> value="1" />
|
319 |
+
<?php _e('Auto confirmation for paid bookings', 'modern-events-calendar-lite'); ?>
|
320 |
+
</label>
|
321 |
+
</div>
|
322 |
+
</div>
|
323 |
+
</div>
|
324 |
+
<?php endif; ?>
|
325 |
+
</div>
|
326 |
+
|
327 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
328 |
+
|
329 |
+
<div id="coupon_option" class="mec-options-fields">
|
330 |
+
<h4 class="mec-form-subtitle"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></h4>
|
331 |
+
|
332 |
+
<?php if(!$this->main->getPRO()): ?>
|
333 |
+
<div class="info-msg"><?php echo sprintf(__("%s is required to use this feature.", 'modern-events-calendar-lite'), '<a href="'.$this->main->get_pro_link().'" target="_blank">'.__('Pro version of Modern Events Calendar', 'modern-events-calendar-lite').'</a>'); ?></div>
|
334 |
+
<?php else: ?>
|
335 |
+
<div class="mec-form-row">
|
336 |
+
<label>
|
337 |
+
<input type="hidden" name="mec[settings][coupons_status]" value="0" />
|
338 |
+
<input onchange="jQuery('#mec_coupons_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][coupons_status]" <?php if(isset($settings['coupons_status']) and $settings['coupons_status']) echo 'checked="checked"'; ?> /> <?php _e('Enable coupons module', 'modern-events-calendar-lite'); ?>
|
339 |
+
</label>
|
340 |
+
<p><?php esc_attr_e("After enable it, you should reloading this page to see a new menu on Dashboard > Booking", 'modern-events-calendar-lite'); ?></p>
|
341 |
+
</div>
|
342 |
+
<div id="mec_coupons_container_toggle" class="<?php if((isset($settings['coupons_status']) and !$settings['coupons_status']) or !isset($settings['coupons_status'])) echo 'mec-util-hidden'; ?>">
|
343 |
+
</div>
|
344 |
+
<?php endif; ?>
|
345 |
+
</div>
|
346 |
+
|
347 |
+
<div id="taxes_option" class="mec-options-fields">
|
348 |
+
<h4 class="mec-form-subtitle"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></h4>
|
349 |
+
|
350 |
+
<?php if(!$this->main->getPRO()): ?>
|
351 |
+
<div class="info-msg"><?php echo sprintf(__("%s is required to use this feature.", 'modern-events-calendar-lite'), '<a href="'.$this->main->get_pro_link().'" target="_blank">'.__('Pro version of Modern Events Calendar', 'modern-events-calendar-lite').'</a>'); ?></div>
|
352 |
+
<?php else: ?>
|
353 |
+
<div class="mec-form-row">
|
354 |
+
<label>
|
355 |
+
<input type="hidden" name="mec[settings][taxes_fees_status]" value="0" />
|
356 |
+
<input onchange="jQuery('#mec_taxes_fees_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][taxes_fees_status]" <?php if(isset($settings['taxes_fees_status']) and $settings['taxes_fees_status']) echo 'checked="checked"'; ?> /> <?php _e('Enable taxes / fees module', 'modern-events-calendar-lite'); ?>
|
357 |
+
</label>
|
358 |
+
</div>
|
359 |
+
<div id="mec_taxes_fees_container_toggle" class="<?php if((isset($settings['taxes_fees_status']) and !$settings['taxes_fees_status']) or !isset($settings['taxes_fees_status'])) echo 'mec-util-hidden'; ?>">
|
360 |
+
<div class="mec-form-row">
|
361 |
+
<button class="button" type="button" id="mec_add_fee_button"><?php _e('Add Fee', 'modern-events-calendar-lite'); ?></button>
|
362 |
+
</div>
|
363 |
+
<div class="mec-form-row" id="mec_fees_list">
|
364 |
+
<?php $i = 0; foreach($fees as $key=>$fee): if(!is_numeric($key)) continue; $i = max($i, $key); ?>
|
365 |
+
<div class="mec-box" id="mec_fee_row<?php echo $i; ?>">
|
366 |
+
<div class="mec-form-row">
|
367 |
+
<input class="mec-col-12" type="text" name="mec[settings][fees][<?php echo $i; ?>][title]" placeholder="<?php esc_attr_e('Fee Title', 'modern-events-calendar-lite'); ?>" value="<?php echo (isset($fee['title']) ? $fee['title'] : ''); ?>" />
|
368 |
+
</div>
|
369 |
+
<div class="mec-form-row">
|
370 |
+
<span class="mec-col-4">
|
371 |
+
<input type="text" name="mec[settings][fees][<?php echo $i; ?>][amount]" placeholder="<?php esc_attr_e('Amount', 'modern-events-calendar-lite'); ?>" value="<?php echo (isset($fee['amount']) ? $fee['amount'] : ''); ?>" />
|
372 |
+
<span class="mec-tooltip">
|
373 |
+
<div class="box top">
|
374 |
+
<h5 class="title"><?php _e('Amount', 'modern-events-calendar-lite'); ?></h5>
|
375 |
+
<div class="content"><p><?php esc_attr_e("Fee amount, considered as fixed amount if you set the type to amount otherwise considered as percentage", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/taxes-or-fees/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
376 |
+
</div>
|
377 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
378 |
+
</span>
|
379 |
+
</span>
|
380 |
+
<span class="mec-col-4">
|
381 |
+
<select name="mec[settings][fees][<?php echo $i; ?>][type]">
|
382 |
+
<option value="percent" <?php echo ((isset($fee['type']) and $fee['type'] == 'percent') ? 'selected="selected"' : ''); ?>><?php _e('Percent', 'modern-events-calendar-lite'); ?></option>
|
383 |
+
<option value="amount" <?php echo ((isset($fee['type']) and $fee['type'] == 'amount') ? 'selected="selected"' : ''); ?>><?php _e('Amount (Per Ticket)', 'modern-events-calendar-lite'); ?></option>
|
384 |
+
<option value="amount_per_booking" <?php echo ((isset($fee['type']) and $fee['type'] == 'amount_per_booking') ? 'selected="selected"' : ''); ?>><?php _e('Amount (Per Booking)', 'modern-events-calendar-lite'); ?></option>
|
385 |
+
</select>
|
386 |
+
</span>
|
387 |
+
<button class="button" type="button" id="mec_remove_fee_button<?php echo $i; ?>" onclick="mec_remove_fee(<?php echo $i; ?>);"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
388 |
+
</div>
|
389 |
+
</div>
|
390 |
+
<?php endforeach; ?>
|
391 |
+
</div>
|
392 |
+
<input type="hidden" id="mec_new_fee_key" value="<?php echo $i+1; ?>" />
|
393 |
+
<div class="mec-util-hidden" id="mec_new_fee_raw">
|
394 |
+
<div class="mec-box" id="mec_fee_row:i:">
|
395 |
+
<div class="mec-form-row">
|
396 |
+
<input class="mec-col-12" type="text" name="mec[settings][fees][:i:][title]" placeholder="<?php esc_attr_e('Fee Title', 'modern-events-calendar-lite'); ?>" />
|
397 |
+
</div>
|
398 |
+
<div class="mec-form-row">
|
399 |
+
<span class="mec-col-4">
|
400 |
+
<input type="text" name="mec[settings][fees][:i:][amount]" placeholder="<?php esc_attr_e('Amount', 'modern-events-calendar-lite'); ?>" />
|
401 |
+
<span class="mec-tooltip">
|
402 |
+
<div class="box top">
|
403 |
+
<h5 class="title"><?php _e('Amount', 'modern-events-calendar-lite'); ?></h5>
|
404 |
+
<div class="content"><p><?php esc_attr_e("Fee amount, considered as fixed amount if you set the type to amount otherwise considered as percentage", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/taxes-or-fees/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
405 |
+
</div>
|
406 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
407 |
+
</span>
|
408 |
+
</span>
|
409 |
+
<span class="mec-col-4">
|
410 |
+
<select name="mec[settings][fees][:i:][type]">
|
411 |
+
<option value="percent"><?php _e('Percent', 'modern-events-calendar-lite'); ?></option>
|
412 |
+
<option value="amount"><?php _e('Amount (Per Ticket)', 'modern-events-calendar-lite'); ?></option>
|
413 |
+
<option value="amount_per_booking"><?php _e('Amount (Per Booking)', 'modern-events-calendar-lite'); ?></option>
|
414 |
+
</select>
|
415 |
+
</span>
|
416 |
+
<button class="button" type="button" id="mec_remove_fee_button:i:" onclick="mec_remove_fee(:i:);"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
417 |
+
</div>
|
418 |
+
</div>
|
419 |
+
</div>
|
420 |
+
</div>
|
421 |
+
<?php endif; ?>
|
422 |
+
</div>
|
423 |
+
|
424 |
+
<div id="ticket_variations_option" class="mec-options-fields">
|
425 |
+
<h4 class="mec-form-subtitle"><?php _e('Ticket Variations & Options', 'modern-events-calendar-lite'); ?></h4>
|
426 |
+
|
427 |
+
<?php if(!$this->main->getPRO()): ?>
|
428 |
+
<div class="info-msg"><?php echo sprintf(__("%s is required to use this feature.", 'modern-events-calendar-lite'), '<a href="'.$this->main->get_pro_link().'" target="_blank">'.__('Pro version of Modern Events Calendar', 'modern-events-calendar-lite').'</a>'); ?></div>
|
429 |
+
<?php else: ?>
|
430 |
+
<div class="mec-form-row">
|
431 |
+
<label>
|
432 |
+
<input type="hidden" name="mec[settings][ticket_variations_status]" value="0" />
|
433 |
+
<input onchange="jQuery('#mec_ticket_variations_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][ticket_variations_status]" <?php if(isset($settings['ticket_variations_status']) and $settings['ticket_variations_status']) echo 'checked="checked"'; ?> /> <?php _e('Enable ticket options module', 'modern-events-calendar-lite'); ?>
|
434 |
+
</label>
|
435 |
+
</div>
|
436 |
+
<div id="mec_ticket_variations_container_toggle" class="<?php if((isset($settings['ticket_variations_status']) and !$settings['ticket_variations_status']) or !isset($settings['ticket_variations_status'])) echo 'mec-util-hidden'; ?>">
|
437 |
+
<div class="mec-form-row">
|
438 |
+
<button class="button" type="button" id="mec_add_ticket_variation_button"><?php _e('Add Variation / Option', 'modern-events-calendar-lite'); ?></button>
|
439 |
+
</div>
|
440 |
+
<div class="mec-form-row" id="mec_ticket_variations_list">
|
441 |
+
<?php $i = 0; foreach($ticket_variations as $key=>$ticket_variation): if(!is_numeric($key)) continue; $i = max($i, $key); ?>
|
442 |
+
<div class="mec-box" id="mec_ticket_variation_row<?php echo $i; ?>">
|
443 |
+
<div class="mec-form-row">
|
444 |
+
<input class="mec-col-12" type="text" name="mec[settings][ticket_variations][<?php echo $i; ?>][title]" placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>" value="<?php echo (isset($ticket_variation['title']) ? $ticket_variation['title'] : ''); ?>" />
|
445 |
+
</div>
|
446 |
+
<div class="mec-form-row">
|
447 |
+
<span class="mec-col-4">
|
448 |
+
<input type="text" name="mec[settings][ticket_variations][<?php echo $i; ?>][price]" placeholder="<?php esc_attr_e('Price', 'modern-events-calendar-lite'); ?>" value="<?php echo (isset($ticket_variation['price']) ? $ticket_variation['price'] : ''); ?>" />
|
449 |
+
<span class="mec-tooltip">
|
450 |
+
<div class="box top">
|
451 |
+
<h5 class="title"><?php _e('Price', 'modern-events-calendar-lite'); ?></h5>
|
452 |
+
<div class="content"><p><?php esc_attr_e("Option Price", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/ticket-variations/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
453 |
+
</div>
|
454 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
455 |
+
</span>
|
456 |
+
</span>
|
457 |
+
<span class="mec-col-4">
|
458 |
+
<input type="number" min="0" name="mec[settings][ticket_variations][<?php echo $i; ?>][max]" placeholder="<?php esc_attr_e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?>" value="<?php echo (isset($ticket_variation['max']) ? $ticket_variation['max'] : ''); ?>" />
|
459 |
+
<span class="mec-tooltip">
|
460 |
+
<div class="box top">
|
461 |
+
<h5 class="title"><?php _e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?></h5>
|
462 |
+
<div class="content"><p><?php esc_attr_e("Maximum Per Ticket. Leave it blank for unlimited.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/ticket-variations/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
463 |
+
</div>
|
464 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
465 |
+
</span>
|
466 |
+
</span>
|
467 |
+
<button class="button" type="button" id="mec_remove_ticket_variation_button<?php echo $i; ?>" onclick="mec_remove_ticket_variation(<?php echo $i; ?>);"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
468 |
+
</div>
|
469 |
+
</div>
|
470 |
+
<?php endforeach; ?>
|
471 |
+
</div>
|
472 |
+
<input type="hidden" id="mec_new_ticket_variation_key" value="<?php echo $i+1; ?>" />
|
473 |
+
<div class="mec-util-hidden" id="mec_new_ticket_variation_raw">
|
474 |
+
<div class="mec-box" id="mec_ticket_variation_row:i:">
|
475 |
+
<div class="mec-form-row">
|
476 |
+
<input class="mec-col-12" type="text" name="mec[settings][ticket_variations][:i:][title]" placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>" />
|
477 |
+
</div>
|
478 |
+
<div class="mec-form-row">
|
479 |
+
<span class="mec-col-4">
|
480 |
+
<input type="text" name="mec[settings][ticket_variations][:i:][price]" placeholder="<?php esc_attr_e('Price', 'modern-events-calendar-lite'); ?>" />
|
481 |
+
<span class="mec-tooltip">
|
482 |
+
<div class="box top">
|
483 |
+
<h5 class="title"><?php _e('Price', 'modern-events-calendar-lite'); ?></h5>
|
484 |
+
<div class="content"><p><?php esc_attr_e("Option Price", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/ticket-variations/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
485 |
+
</div>
|
486 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
487 |
+
</span>
|
488 |
+
</span>
|
489 |
+
<span class="mec-col-4">
|
490 |
+
<input type="number" min="0" name="mec[settings][ticket_variations][:i:][max]" placeholder="<?php esc_attr_e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?>" value="1" />
|
491 |
+
<span class="mec-tooltip">
|
492 |
+
<div class="box top">
|
493 |
+
<h5 class="title"><?php _e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?></h5>
|
494 |
+
<div class="content"><p><?php esc_attr_e("Maximum Per Ticket. Leave it blank for unlimited.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/ticket-variations/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
495 |
+
</div>
|
496 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
497 |
+
</span>
|
498 |
+
</span>
|
499 |
+
<button class="button" type="button" id="mec_remove_ticket_variation_button:i:" onclick="mec_remove_ticket_variation(:i:);"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
500 |
+
</div>
|
501 |
+
</div>
|
502 |
+
</div>
|
503 |
+
</div>
|
504 |
+
<?php endif; ?>
|
505 |
+
</div>
|
506 |
+
|
507 |
+
<?php endif; ?>
|
508 |
+
|
509 |
+
<div class="mec-options-fields">
|
510 |
+
<?php wp_nonce_field('mec_options_form'); ?>
|
511 |
+
<button style="display: none;" id="mec_booking_form_button" class="button button-primary mec-button-primary" type="submit"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></button>
|
512 |
+
</div>
|
513 |
+
</form>
|
514 |
+
|
515 |
+
</div>
|
516 |
+
</div>
|
517 |
+
</div>
|
518 |
+
</div>
|
519 |
+
|
520 |
+
<div id="wns-be-footer">
|
521 |
+
<a id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
522 |
+
</div>
|
523 |
+
|
524 |
+
</div>
|
525 |
+
|
526 |
+
<script type="text/javascript">
|
527 |
+
jQuery(document).ready(function()
|
528 |
+
{
|
529 |
+
jQuery('.WnTabLinks').each(function()
|
530 |
+
{
|
531 |
+
var ContentId = jQuery(this).attr('data-id');
|
532 |
+
jQuery(this).click(function()
|
533 |
+
{
|
534 |
+
jQuery('.pr-be-group-menu-li').removeClass('active');
|
535 |
+
jQuery(this).parent().addClass('active');
|
536 |
+
jQuery(".mec-options-fields").hide();
|
537 |
+
jQuery(".mec-options-fields").removeClass('active');
|
538 |
+
jQuery("#"+ContentId+"").show();
|
539 |
+
jQuery("#"+ContentId+"").addClass('active');
|
540 |
+
jQuery('html, body').animate({
|
541 |
+
scrollTop: jQuery("#"+ContentId+"").offset().top - 140
|
542 |
+
}, 300);
|
543 |
+
});
|
544 |
+
var hash = window.location.hash.replace('#', '');
|
545 |
+
$('[data-id="'+hash+'"]').trigger('click');
|
546 |
+
});
|
547 |
+
|
548 |
+
jQuery(".dpr-save-btn").on('click', function(event)
|
549 |
+
{
|
550 |
+
event.preventDefault();
|
551 |
+
jQuery("#mec_booking_form_button").trigger('click');
|
552 |
+
});
|
553 |
+
|
554 |
+
jQuery(".wns-be-sidebar .pr-be-group-menu-li").on('click', function(event)
|
555 |
+
{
|
556 |
+
jQuery(".wns-be-sidebar .pr-be-group-menu-li").removeClass('active');
|
557 |
+
jQuery(this).addClass('active');
|
558 |
+
});
|
559 |
+
});
|
560 |
+
|
561 |
+
jQuery("#mec_booking_form").on('submit', function(event)
|
562 |
+
{
|
563 |
+
event.preventDefault();
|
564 |
+
|
565 |
+
// Add loading Class to the button
|
566 |
+
jQuery(".dpr-save-btn").addClass('loading').text("<?php echo esc_js(esc_attr__('Saved', 'modern-events-calendar-lite')); ?>");
|
567 |
+
jQuery('<div class="wns-saved-settings"><?php echo esc_js(esc_attr__('Settings Saved!', 'modern-events-calendar-lite')); ?></div>').insertBefore('#wns-be-content');
|
568 |
+
|
569 |
+
if(jQuery(".mec-purchase-verify").text() != '<?php echo esc_js(esc_attr__('Verified', 'modern-events-calendar-lite')); ?>')
|
570 |
+
{
|
571 |
+
jQuery(".mec-purchase-verify").text("<?php echo esc_js(esc_attr__('Checking ...', 'modern-events-calendar-lite')); ?>");
|
572 |
+
}
|
573 |
+
|
574 |
+
var settings = jQuery("#mec_booking_form").serialize();
|
575 |
+
jQuery.ajax(
|
576 |
+
{
|
577 |
+
type: "POST",
|
578 |
+
url: ajaxurl,
|
579 |
+
data: "action=mec_save_settings&"+settings,
|
580 |
+
beforeSend: function () {
|
581 |
+
jQuery('.wns-be-main').append('<div class="mec-loarder-wrap mec-settings-loader"><div class="mec-loarder"><div></div><div></div><div></div></div></div>');
|
582 |
+
},
|
583 |
+
success: function(data)
|
584 |
+
{
|
585 |
+
// Remove the loading Class to the button
|
586 |
+
setTimeout(function()
|
587 |
+
{
|
588 |
+
jQuery(".dpr-save-btn").removeClass('loading').text("<?php echo esc_js(esc_attr__('Save Changes', 'modern-events-calendar-lite')); ?>");
|
589 |
+
jQuery('.wns-saved-settings').remove();
|
590 |
+
jQuery('.mec-loarder-wrap').remove();
|
591 |
+
if(jQuery(".mec-purchase-verify").text() != '<?php echo esc_js(esc_attr__('Verified', 'modern-events-calendar-lite')); ?>')
|
592 |
+
{
|
593 |
+
jQuery(".mec-purchase-verify").text("<?php echo esc_js(esc_attr__('Please Refresh Page', 'modern-events-calendar-lite')); ?>");
|
594 |
+
}
|
595 |
+
}, 1000);
|
596 |
+
},
|
597 |
+
error: function(jqXHR, textStatus, errorThrown)
|
598 |
+
{
|
599 |
+
// Remove the loading Class to the button
|
600 |
+
setTimeout(function()
|
601 |
+
{
|
602 |
+
jQuery(".dpr-save-btn").removeClass('loading').text("<?php echo esc_js(esc_attr__('Save Changes', 'modern-events-calendar-lite')); ?>");
|
603 |
+
jQuery('.wns-saved-settings').remove();
|
604 |
+
jQuery('.mec-loarder-wrap').remove();
|
605 |
+
}, 1000);
|
606 |
+
}
|
607 |
+
});
|
608 |
+
});
|
609 |
+
</script>
|
app/features/mec/dashboard.php
CHANGED
@@ -91,6 +91,7 @@ $box_stats = apply_filters('mec_dashboard_box_stats', true);
|
|
91 |
</div>
|
92 |
</div>
|
93 |
<?php endif; ?>
|
|
|
94 |
|
95 |
<div class="w-row">
|
96 |
<div class="w-col-sm-12">
|
91 |
</div>
|
92 |
</div>
|
93 |
<?php endif; ?>
|
94 |
+
<?php echo $this->addons_msg(); ?>
|
95 |
|
96 |
<div class="w-row">
|
97 |
<div class="w-col-sm-12">
|
app/features/mec/gateways.php
CHANGED
@@ -5,7 +5,7 @@ defined('MECEXEC') or die();
|
|
5 |
$gateways = $this->main->get_gateways();
|
6 |
?>
|
7 |
|
8 |
-
<div class="wns-be-container">
|
9 |
|
10 |
<div id="wns-be-infobar">
|
11 |
<a href="" id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
@@ -23,6 +23,84 @@ $gateways = $this->main->get_gateways();
|
|
23 |
<i class="mec-sl-settings"></i>
|
24 |
<span class="wns-be-group-menu-title"><?php _e('Settings', 'modern-events-calendar-lite'); ?></span>
|
25 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
</li>
|
27 |
|
28 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
@@ -32,7 +110,7 @@ $gateways = $this->main->get_gateways();
|
|
32 |
<i class="mec-sl-layers"></i>
|
33 |
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
34 |
</a>
|
35 |
-
</li>
|
36 |
|
37 |
<li class="wns-be-group-menu-li active">
|
38 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
@@ -48,6 +126,19 @@ $gateways = $this->main->get_gateways();
|
|
48 |
<i class="mec-sl-envelope"></i>
|
49 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
50 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
</li>
|
52 |
|
53 |
<li class="wns-be-group-menu-li">
|
@@ -78,13 +169,6 @@ $gateways = $this->main->get_gateways();
|
|
78 |
</a>
|
79 |
</li>
|
80 |
|
81 |
-
<!-- <li class="wns-be-group-menu-li">
|
82 |
-
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-support'); ?>" id="" class="wns-be-group-tab-link-a">
|
83 |
-
<i class="mec-sl-support"></i>
|
84 |
-
<span class="wns-be-group-menu-title"><?php _e('Support', 'modern-events-calendar-lite'); ?></span>
|
85 |
-
</a>
|
86 |
-
</li> -->
|
87 |
-
|
88 |
</ul>
|
89 |
</div>
|
90 |
|
5 |
$gateways = $this->main->get_gateways();
|
6 |
?>
|
7 |
|
8 |
+
<div class="wns-be-container wns-be-container-sticky">
|
9 |
|
10 |
<div id="wns-be-infobar">
|
11 |
<a href="" id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
23 |
<i class="mec-sl-settings"></i>
|
24 |
<span class="wns-be-group-menu-title"><?php _e('Settings', 'modern-events-calendar-lite'); ?></span>
|
25 |
</a>
|
26 |
+
<ul id="" class="submneu-hover">
|
27 |
+
<li class="submenu-item">
|
28 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#general_option"><?php _e('General Options', 'modern-events-calendar-lite'); ?></a>
|
29 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#archive_options"><?php _e('Archive Pages', 'modern-events-calendar-lite'); ?></a>
|
30 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#slug_option"><?php _e('Slugs/Permalinks', 'modern-events-calendar-lite'); ?></a>
|
31 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#currency_option"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></a>
|
32 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#recaptcha_option"><?php _e('Google Recaptcha Options', 'modern-events-calendar-lite'); ?></a>
|
33 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#fes_option"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></a>
|
34 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#user_profile_options"><?php _e('User Profile', 'modern-events-calendar-lite'); ?></a>
|
35 |
+
<?php if($this->main->getPRO()): ?>
|
36 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#mailchimp_option"><?php _e('Mailchimp Integration', 'modern-events-calendar-lite'); ?></a>
|
37 |
+
<?php endif; ?>
|
38 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#uploadfield_option"><?php _e('Upload Field', 'modern-events-calendar-lite'); ?></a>
|
39 |
+
</li>
|
40 |
+
</ul>
|
41 |
+
</li>
|
42 |
+
|
43 |
+
<li class="wns-be-group-menu-li">
|
44 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>" id="" class="wns-be-group-tab-link-a">
|
45 |
+
<i class="mec-sl-note"></i>
|
46 |
+
<span class="wns-be-group-menu-title"><?php echo __('Single Event', 'modern-events-calendar-lite'); ?></span>
|
47 |
+
</a>
|
48 |
+
<ul id="" class="submneu-hover">
|
49 |
+
<li class="submenu-item">
|
50 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#event_options"><?php _e('Single Event Page', 'modern-events-calendar-lite'); ?></a>
|
51 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#countdown_option"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></a>
|
52 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#exceptional_option"><?php _e('Exceptional Days', 'modern-events-calendar-lite'); ?></a>
|
53 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_organizers"><?php _e('Additional Organizers', 'modern-events-calendar-lite'); ?></a>
|
54 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_locations"><?php _e('Additional Locations', 'modern-events-calendar-lite'); ?></a>
|
55 |
+
</li>
|
56 |
+
</ul>
|
57 |
+
</li>
|
58 |
+
|
59 |
+
<?php if($this->main->getPRO()): ?>
|
60 |
+
|
61 |
+
<li class="wns-be-group-menu-li">
|
62 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>" id="" class="wns-be-group-tab-link-a">
|
63 |
+
<i class="mec-sl-credit-card"></i>
|
64 |
+
<span class="wns-be-group-menu-title"><?php echo __('Booking', 'modern-events-calendar-lite'); ?></span>
|
65 |
+
</a>
|
66 |
+
<ul id="" class="submneu-hover">
|
67 |
+
<li class="submenu-item">
|
68 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#booking_option"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
69 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
70 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#coupon_option"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></a>
|
71 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#taxes_option"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></a>
|
72 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#ticket_variations_option"><?php _e('Ticket Variations & Options', 'modern-events-calendar-lite'); ?></a>
|
73 |
+
<?php endif; ?>
|
74 |
+
</li>
|
75 |
+
</ul>
|
76 |
+
</li>
|
77 |
+
|
78 |
+
<?php endif; ?>
|
79 |
+
|
80 |
+
<li class="wns-be-group-menu-li">
|
81 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>" id="" class="wns-be-group-tab-link-a">
|
82 |
+
<i class="mec-sl-grid"></i>
|
83 |
+
<span class="wns-be-group-menu-title"><?php echo __('Modules', 'modern-events-calendar-lite'); ?></span>
|
84 |
+
</a>
|
85 |
+
<ul id="" class="submneu-hover">
|
86 |
+
<li class="submenu-item">
|
87 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#speakers_option"><?php _e('Speakers', 'modern-events-calendar-lite'); ?></a>
|
88 |
+
<?php if($this->main->getPRO()): ?>
|
89 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#googlemap_option"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></a>
|
90 |
+
<?php endif; ?>
|
91 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#export_module_option"><?php _e('Export Options', 'modern-events-calendar-lite'); ?></a>
|
92 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#time_module_option"><?php _e('Local Time', 'modern-events-calendar-lite'); ?></a>
|
93 |
+
<?php if($this->main->getPRO()): ?>
|
94 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#qrcode_module_option"><?php _e('QR Code', 'modern-events-calendar-lite'); ?></a>
|
95 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#weather_module_option"><?php _e('Weather', 'modern-events-calendar-lite'); ?></a>
|
96 |
+
<?php endif; ?>
|
97 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#social_options"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></a>
|
98 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#next_event_option"><?php _e('Next Event', 'modern-events-calendar-lite'); ?></a>
|
99 |
+
<?php if($this->main->getPRO()): ?>
|
100 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#buddy_option"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></a>
|
101 |
+
<?php endif; ?>
|
102 |
+
</li>
|
103 |
+
</ul>
|
104 |
</li>
|
105 |
|
106 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
110 |
<i class="mec-sl-layers"></i>
|
111 |
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
112 |
</a>
|
113 |
+
</li>
|
114 |
|
115 |
<li class="wns-be-group-menu-li active">
|
116 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
126 |
<i class="mec-sl-envelope"></i>
|
127 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
128 |
</a>
|
129 |
+
<ul id="" class="submneu-hover">
|
130 |
+
<li class="submenu-item">
|
131 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
132 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_notification"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
133 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_verification"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></a>
|
134 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_confirmation"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></a>
|
135 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#cancellation_notification"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></a>
|
136 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#admin_notification"><?php _e('Admin', 'modern-events-calendar-lite'); ?></a>
|
137 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_reminder"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></a>
|
138 |
+
<?php endif; ?>
|
139 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#new_event"><?php _e('New Event', 'modern-events-calendar-lite'); ?></a>
|
140 |
+
</li>
|
141 |
+
</ul>
|
142 |
</li>
|
143 |
|
144 |
<li class="wns-be-group-menu-li">
|
169 |
</a>
|
170 |
</li>
|
171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
</ul>
|
173 |
</div>
|
174 |
|
app/features/mec/ie.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
defined('MECEXEC') or die();
|
4 |
?>
|
5 |
|
6 |
-
<div class="wns-be-container">
|
7 |
|
8 |
<div id="wns-be-infobar"></div>
|
9 |
|
@@ -19,6 +19,84 @@ defined('MECEXEC') or die();
|
|
19 |
<i class="mec-sl-settings"></i>
|
20 |
<span class="wns-be-group-menu-title"><?php _e('Settings', 'modern-events-calendar-lite'); ?></span>
|
21 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
</li>
|
23 |
|
24 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
@@ -28,7 +106,7 @@ defined('MECEXEC') or die();
|
|
28 |
<i class="mec-sl-layers"></i>
|
29 |
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
30 |
</a>
|
31 |
-
</li>
|
32 |
|
33 |
<li class="wns-be-group-menu-li">
|
34 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
@@ -44,6 +122,19 @@ defined('MECEXEC') or die();
|
|
44 |
<i class="mec-sl-envelope"></i>
|
45 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
46 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
</li>
|
48 |
|
49 |
<li class="wns-be-group-menu-li">
|
@@ -51,14 +142,14 @@ defined('MECEXEC') or die();
|
|
51 |
<i class="mec-sl-equalizer"></i>
|
52 |
<span class="wns-be-group-menu-title"><?php _e('Styling Options', 'modern-events-calendar-lite'); ?></span>
|
53 |
</a>
|
54 |
-
</li>
|
55 |
|
56 |
<li class="wns-be-group-menu-li">
|
57 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-customcss'); ?>" id="" class="wns-be-group-tab-link-a">
|
58 |
<i class="mec-sl-wrench"></i>
|
59 |
<span class="wns-be-group-menu-title"><?php _e('Custom CSS', 'modern-events-calendar-lite'); ?></span>
|
60 |
</a>
|
61 |
-
</li>
|
62 |
|
63 |
<li class="wns-be-group-menu-li">
|
64 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-messages'); ?>" id="" class="wns-be-group-tab-link-a">
|
@@ -74,13 +165,6 @@ defined('MECEXEC') or die();
|
|
74 |
</a>
|
75 |
</li>
|
76 |
|
77 |
-
<!-- <li class="wns-be-group-menu-li">
|
78 |
-
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-support'); ?>" id="" class="wns-be-group-tab-link-a">
|
79 |
-
<i class="mec-sl-support"></i>
|
80 |
-
<span class="wns-be-group-menu-title"><?php _e('Support', 'modern-events-calendar-lite'); ?></span>
|
81 |
-
</a>
|
82 |
-
</li> -->
|
83 |
-
|
84 |
</ul>
|
85 |
</div>
|
86 |
|
3 |
defined('MECEXEC') or die();
|
4 |
?>
|
5 |
|
6 |
+
<div class="wns-be-container wns-be-container-sticky">
|
7 |
|
8 |
<div id="wns-be-infobar"></div>
|
9 |
|
19 |
<i class="mec-sl-settings"></i>
|
20 |
<span class="wns-be-group-menu-title"><?php _e('Settings', 'modern-events-calendar-lite'); ?></span>
|
21 |
</a>
|
22 |
+
<ul id="" class="submneu-hover">
|
23 |
+
<li class="submenu-item">
|
24 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#general_option"><?php _e('General Options', 'modern-events-calendar-lite'); ?></a>
|
25 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#archive_options"><?php _e('Archive Pages', 'modern-events-calendar-lite'); ?></a>
|
26 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#slug_option"><?php _e('Slugs/Permalinks', 'modern-events-calendar-lite'); ?></a>
|
27 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#currency_option"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></a>
|
28 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#recaptcha_option"><?php _e('Google Recaptcha Options', 'modern-events-calendar-lite'); ?></a>
|
29 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#fes_option"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></a>
|
30 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#user_profile_options"><?php _e('User Profile', 'modern-events-calendar-lite'); ?></a>
|
31 |
+
<?php if($this->main->getPRO()): ?>
|
32 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#mailchimp_option"><?php _e('Mailchimp Integration', 'modern-events-calendar-lite'); ?></a>
|
33 |
+
<?php endif; ?>
|
34 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#uploadfield_option"><?php _e('Upload Field', 'modern-events-calendar-lite'); ?></a>
|
35 |
+
</li>
|
36 |
+
</ul>
|
37 |
+
</li>
|
38 |
+
|
39 |
+
<li class="wns-be-group-menu-li">
|
40 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>" id="" class="wns-be-group-tab-link-a">
|
41 |
+
<i class="mec-sl-note"></i>
|
42 |
+
<span class="wns-be-group-menu-title"><?php echo __('Single Event', 'modern-events-calendar-lite'); ?></span>
|
43 |
+
</a>
|
44 |
+
<ul id="" class="submneu-hover">
|
45 |
+
<li class="submenu-item">
|
46 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#event_options"><?php _e('Single Event Page', 'modern-events-calendar-lite'); ?></a>
|
47 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#countdown_option"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></a>
|
48 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#exceptional_option"><?php _e('Exceptional Days', 'modern-events-calendar-lite'); ?></a>
|
49 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_organizers"><?php _e('Additional Organizers', 'modern-events-calendar-lite'); ?></a>
|
50 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_locations"><?php _e('Additional Locations', 'modern-events-calendar-lite'); ?></a>
|
51 |
+
</li>
|
52 |
+
</ul>
|
53 |
+
</li>
|
54 |
+
|
55 |
+
<?php if($this->main->getPRO()): ?>
|
56 |
+
|
57 |
+
<li class="wns-be-group-menu-li">
|
58 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>" id="" class="wns-be-group-tab-link-a">
|
59 |
+
<i class="mec-sl-credit-card"></i>
|
60 |
+
<span class="wns-be-group-menu-title"><?php echo __('Booking', 'modern-events-calendar-lite'); ?></span>
|
61 |
+
</a>
|
62 |
+
<ul id="" class="submneu-hover">
|
63 |
+
<li class="submenu-item">
|
64 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#booking_option"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
65 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
66 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#coupon_option"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></a>
|
67 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#taxes_option"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></a>
|
68 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#ticket_variations_option"><?php _e('Ticket Variations & Options', 'modern-events-calendar-lite'); ?></a>
|
69 |
+
<?php endif; ?>
|
70 |
+
</li>
|
71 |
+
</ul>
|
72 |
+
</li>
|
73 |
+
|
74 |
+
<?php endif; ?>
|
75 |
+
|
76 |
+
<li class="wns-be-group-menu-li">
|
77 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>" id="" class="wns-be-group-tab-link-a">
|
78 |
+
<i class="mec-sl-grid"></i>
|
79 |
+
<span class="wns-be-group-menu-title"><?php echo __('Modules', 'modern-events-calendar-lite'); ?></span>
|
80 |
+
</a>
|
81 |
+
<ul id="" class="submneu-hover">
|
82 |
+
<li class="submenu-item">
|
83 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#speakers_option"><?php _e('Speakers', 'modern-events-calendar-lite'); ?></a>
|
84 |
+
<?php if($this->main->getPRO()): ?>
|
85 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#googlemap_option"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></a>
|
86 |
+
<?php endif; ?>
|
87 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#export_module_option"><?php _e('Export Options', 'modern-events-calendar-lite'); ?></a>
|
88 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#time_module_option"><?php _e('Local Time', 'modern-events-calendar-lite'); ?></a>
|
89 |
+
<?php if($this->main->getPRO()): ?>
|
90 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#qrcode_module_option"><?php _e('QR Code', 'modern-events-calendar-lite'); ?></a>
|
91 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#weather_module_option"><?php _e('Weather', 'modern-events-calendar-lite'); ?></a>
|
92 |
+
<?php endif; ?>
|
93 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#social_options"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></a>
|
94 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#next_event_option"><?php _e('Next Event', 'modern-events-calendar-lite'); ?></a>
|
95 |
+
<?php if($this->main->getPRO()): ?>
|
96 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#buddy_option"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></a>
|
97 |
+
<?php endif; ?>
|
98 |
+
</li>
|
99 |
+
</ul>
|
100 |
</li>
|
101 |
|
102 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
106 |
<i class="mec-sl-layers"></i>
|
107 |
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
108 |
</a>
|
109 |
+
</li>
|
110 |
|
111 |
<li class="wns-be-group-menu-li">
|
112 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
122 |
<i class="mec-sl-envelope"></i>
|
123 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
124 |
</a>
|
125 |
+
<ul id="" class="submneu-hover">
|
126 |
+
<li class="submenu-item">
|
127 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
128 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_notification"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
129 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_verification"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></a>
|
130 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_confirmation"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></a>
|
131 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#cancellation_notification"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></a>
|
132 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#admin_notification"><?php _e('Admin', 'modern-events-calendar-lite'); ?></a>
|
133 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_reminder"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></a>
|
134 |
+
<?php endif; ?>
|
135 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#new_event"><?php _e('New Event', 'modern-events-calendar-lite'); ?></a>
|
136 |
+
</li>
|
137 |
+
</ul>
|
138 |
</li>
|
139 |
|
140 |
<li class="wns-be-group-menu-li">
|
142 |
<i class="mec-sl-equalizer"></i>
|
143 |
<span class="wns-be-group-menu-title"><?php _e('Styling Options', 'modern-events-calendar-lite'); ?></span>
|
144 |
</a>
|
145 |
+
</li>
|
146 |
|
147 |
<li class="wns-be-group-menu-li">
|
148 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-customcss'); ?>" id="" class="wns-be-group-tab-link-a">
|
149 |
<i class="mec-sl-wrench"></i>
|
150 |
<span class="wns-be-group-menu-title"><?php _e('Custom CSS', 'modern-events-calendar-lite'); ?></span>
|
151 |
</a>
|
152 |
+
</li>
|
153 |
|
154 |
<li class="wns-be-group-menu-li">
|
155 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-messages'); ?>" id="" class="wns-be-group-tab-link-a">
|
165 |
</a>
|
166 |
</li>
|
167 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
</ul>
|
169 |
</div>
|
170 |
|
app/features/mec/messages.php
CHANGED
@@ -5,7 +5,7 @@ defined('MECEXEC') or die();
|
|
5 |
$messages = $this->main->get_messages();
|
6 |
$values = $this->main->get_messages_options();
|
7 |
?>
|
8 |
-
<div class="wns-be-container">
|
9 |
|
10 |
<div id="wns-be-infobar">
|
11 |
<a href="" id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
@@ -23,6 +23,84 @@ $values = $this->main->get_messages_options();
|
|
23 |
<i class="mec-sl-settings"></i>
|
24 |
<span class="wns-be-group-menu-title"><?php _e('Settings', 'modern-events-calendar-lite'); ?></span>
|
25 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
</li>
|
27 |
|
28 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
@@ -32,7 +110,7 @@ $values = $this->main->get_messages_options();
|
|
32 |
<i class="mec-sl-layers"></i>
|
33 |
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
34 |
</a>
|
35 |
-
</li>
|
36 |
|
37 |
<li class="wns-be-group-menu-li">
|
38 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
@@ -48,6 +126,19 @@ $values = $this->main->get_messages_options();
|
|
48 |
<i class="mec-sl-envelope"></i>
|
49 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
50 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
</li>
|
52 |
|
53 |
<li class="wns-be-group-menu-li">
|
@@ -55,14 +146,14 @@ $values = $this->main->get_messages_options();
|
|
55 |
<i class="mec-sl-equalizer"></i>
|
56 |
<span class="wns-be-group-menu-title"><?php _e('Styling Options', 'modern-events-calendar-lite'); ?></span>
|
57 |
</a>
|
58 |
-
</li>
|
59 |
|
60 |
<li class="wns-be-group-menu-li">
|
61 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-customcss'); ?>" id="" class="wns-be-group-tab-link-a">
|
62 |
<i class="mec-sl-wrench"></i>
|
63 |
<span class="wns-be-group-menu-title"><?php _e('Custom CSS', 'modern-events-calendar-lite'); ?></span>
|
64 |
</a>
|
65 |
-
</li>
|
66 |
|
67 |
<li class="wns-be-group-menu-li active">
|
68 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-messages'); ?>" id="" class="wns-be-group-tab-link-a">
|
@@ -78,13 +169,6 @@ $values = $this->main->get_messages_options();
|
|
78 |
</a>
|
79 |
</li>
|
80 |
|
81 |
-
<!-- <li class="wns-be-group-menu-li">
|
82 |
-
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-support'); ?>" id="" class="wns-be-group-tab-link-a">
|
83 |
-
<i class="mec-sl-support"></i>
|
84 |
-
<span class="wns-be-group-menu-title"><?php _e('Support', 'modern-events-calendar-lite'); ?></span>
|
85 |
-
</a>
|
86 |
-
</li> -->
|
87 |
-
|
88 |
</ul>
|
89 |
</div>
|
90 |
|
5 |
$messages = $this->main->get_messages();
|
6 |
$values = $this->main->get_messages_options();
|
7 |
?>
|
8 |
+
<div class="wns-be-container wns-be-container-sticky">
|
9 |
|
10 |
<div id="wns-be-infobar">
|
11 |
<a href="" id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
23 |
<i class="mec-sl-settings"></i>
|
24 |
<span class="wns-be-group-menu-title"><?php _e('Settings', 'modern-events-calendar-lite'); ?></span>
|
25 |
</a>
|
26 |
+
<ul id="" class="submneu-hover">
|
27 |
+
<li class="submenu-item">
|
28 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#general_option"><?php _e('General Options', 'modern-events-calendar-lite'); ?></a>
|
29 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#archive_options"><?php _e('Archive Pages', 'modern-events-calendar-lite'); ?></a>
|
30 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#slug_option"><?php _e('Slugs/Permalinks', 'modern-events-calendar-lite'); ?></a>
|
31 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#currency_option"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></a>
|
32 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#recaptcha_option"><?php _e('Google Recaptcha Options', 'modern-events-calendar-lite'); ?></a>
|
33 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#fes_option"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></a>
|
34 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#user_profile_options"><?php _e('User Profile', 'modern-events-calendar-lite'); ?></a>
|
35 |
+
<?php if($this->main->getPRO()): ?>
|
36 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#mailchimp_option"><?php _e('Mailchimp Integration', 'modern-events-calendar-lite'); ?></a>
|
37 |
+
<?php endif; ?>
|
38 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#uploadfield_option"><?php _e('Upload Field', 'modern-events-calendar-lite'); ?></a>
|
39 |
+
</li>
|
40 |
+
</ul>
|
41 |
+
</li>
|
42 |
+
|
43 |
+
<li class="wns-be-group-menu-li">
|
44 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>" id="" class="wns-be-group-tab-link-a">
|
45 |
+
<i class="mec-sl-note"></i>
|
46 |
+
<span class="wns-be-group-menu-title"><?php echo __('Single Event', 'modern-events-calendar-lite'); ?></span>
|
47 |
+
</a>
|
48 |
+
<ul id="" class="submneu-hover">
|
49 |
+
<li class="submenu-item">
|
50 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#event_options"><?php _e('Single Event Page', 'modern-events-calendar-lite'); ?></a>
|
51 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#countdown_option"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></a>
|
52 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#exceptional_option"><?php _e('Exceptional Days', 'modern-events-calendar-lite'); ?></a>
|
53 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_organizers"><?php _e('Additional Organizers', 'modern-events-calendar-lite'); ?></a>
|
54 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_locations"><?php _e('Additional Locations', 'modern-events-calendar-lite'); ?></a>
|
55 |
+
</li>
|
56 |
+
</ul>
|
57 |
+
</li>
|
58 |
+
|
59 |
+
<?php if($this->main->getPRO()): ?>
|
60 |
+
|
61 |
+
<li class="wns-be-group-menu-li">
|
62 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>" id="" class="wns-be-group-tab-link-a">
|
63 |
+
<i class="mec-sl-credit-card"></i>
|
64 |
+
<span class="wns-be-group-menu-title"><?php echo __('Booking', 'modern-events-calendar-lite'); ?></span>
|
65 |
+
</a>
|
66 |
+
<ul id="" class="submneu-hover">
|
67 |
+
<li class="submenu-item">
|
68 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#booking_option"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
69 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
70 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#coupon_option"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></a>
|
71 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#taxes_option"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></a>
|
72 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#ticket_variations_option"><?php _e('Ticket Variations & Options', 'modern-events-calendar-lite'); ?></a>
|
73 |
+
<?php endif; ?>
|
74 |
+
</li>
|
75 |
+
</ul>
|
76 |
+
</li>
|
77 |
+
|
78 |
+
<?php endif; ?>
|
79 |
+
|
80 |
+
<li class="wns-be-group-menu-li">
|
81 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>" id="" class="wns-be-group-tab-link-a">
|
82 |
+
<i class="mec-sl-grid"></i>
|
83 |
+
<span class="wns-be-group-menu-title"><?php echo __('Modules', 'modern-events-calendar-lite'); ?></span>
|
84 |
+
</a>
|
85 |
+
<ul id="" class="submneu-hover">
|
86 |
+
<li class="submenu-item">
|
87 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#speakers_option"><?php _e('Speakers', 'modern-events-calendar-lite'); ?></a>
|
88 |
+
<?php if($this->main->getPRO()): ?>
|
89 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#googlemap_option"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></a>
|
90 |
+
<?php endif; ?>
|
91 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#export_module_option"><?php _e('Export Options', 'modern-events-calendar-lite'); ?></a>
|
92 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#time_module_option"><?php _e('Local Time', 'modern-events-calendar-lite'); ?></a>
|
93 |
+
<?php if($this->main->getPRO()): ?>
|
94 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#qrcode_module_option"><?php _e('QR Code', 'modern-events-calendar-lite'); ?></a>
|
95 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#weather_module_option"><?php _e('Weather', 'modern-events-calendar-lite'); ?></a>
|
96 |
+
<?php endif; ?>
|
97 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#social_options"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></a>
|
98 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#next_event_option"><?php _e('Next Event', 'modern-events-calendar-lite'); ?></a>
|
99 |
+
<?php if($this->main->getPRO()): ?>
|
100 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#buddy_option"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></a>
|
101 |
+
<?php endif; ?>
|
102 |
+
</li>
|
103 |
+
</ul>
|
104 |
</li>
|
105 |
|
106 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
110 |
<i class="mec-sl-layers"></i>
|
111 |
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
112 |
</a>
|
113 |
+
</li>
|
114 |
|
115 |
<li class="wns-be-group-menu-li">
|
116 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
126 |
<i class="mec-sl-envelope"></i>
|
127 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
128 |
</a>
|
129 |
+
<ul id="" class="submneu-hover">
|
130 |
+
<li class="submenu-item">
|
131 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
132 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_notification"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
133 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_verification"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></a>
|
134 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_confirmation"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></a>
|
135 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#cancellation_notification"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></a>
|
136 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#admin_notification"><?php _e('Admin', 'modern-events-calendar-lite'); ?></a>
|
137 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_reminder"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></a>
|
138 |
+
<?php endif; ?>
|
139 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#new_event"><?php _e('New Event', 'modern-events-calendar-lite'); ?></a>
|
140 |
+
</li>
|
141 |
+
</ul>
|
142 |
</li>
|
143 |
|
144 |
<li class="wns-be-group-menu-li">
|
146 |
<i class="mec-sl-equalizer"></i>
|
147 |
<span class="wns-be-group-menu-title"><?php _e('Styling Options', 'modern-events-calendar-lite'); ?></span>
|
148 |
</a>
|
149 |
+
</li>
|
150 |
|
151 |
<li class="wns-be-group-menu-li">
|
152 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-customcss'); ?>" id="" class="wns-be-group-tab-link-a">
|
153 |
<i class="mec-sl-wrench"></i>
|
154 |
<span class="wns-be-group-menu-title"><?php _e('Custom CSS', 'modern-events-calendar-lite'); ?></span>
|
155 |
</a>
|
156 |
+
</li>
|
157 |
|
158 |
<li class="wns-be-group-menu-li active">
|
159 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-messages'); ?>" id="" class="wns-be-group-tab-link-a">
|
169 |
</a>
|
170 |
</li>
|
171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
</ul>
|
173 |
</div>
|
174 |
|
app/features/mec/modules.php
ADDED
@@ -0,0 +1,640 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/** no direct access **/
|
3 |
+
defined('MECEXEC') or die();
|
4 |
+
|
5 |
+
$settings = $this->main->get_settings();
|
6 |
+
$socials = $this->main->get_social_networks();
|
7 |
+
|
8 |
+
// WordPress Pages
|
9 |
+
$pages = get_pages();
|
10 |
+
|
11 |
+
// Verify the Purchase Code
|
12 |
+
$verify = NULL;
|
13 |
+
if($this->getPRO())
|
14 |
+
{
|
15 |
+
$envato = $this->getEnvato();
|
16 |
+
$verify = $envato->get_MEC_info('dl');
|
17 |
+
}
|
18 |
+
?>
|
19 |
+
<div class="wns-be-container wns-be-container-sticky">
|
20 |
+
<div id="wns-be-infobar">
|
21 |
+
<input id="mec-search-settings" type="text" placeholder="Search..">
|
22 |
+
<a id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
23 |
+
</div>
|
24 |
+
|
25 |
+
<div class="wns-be-sidebar">
|
26 |
+
<ul class="wns-be-group-menu">
|
27 |
+
|
28 |
+
<li class="wns-be-group-menu-li">
|
29 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>" id="" class="wns-be-group-tab-link-a">
|
30 |
+
<i class="mec-sl-settings"></i>
|
31 |
+
<span class="wns-be-group-menu-title"><?php echo __('Settings', 'modern-events-calendar-lite'); ?></span>
|
32 |
+
</a>
|
33 |
+
<ul id="" class="submneu-hover">
|
34 |
+
<li class="submenu-item">
|
35 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#general_option"><?php _e('General Options', 'modern-events-calendar-lite'); ?></a>
|
36 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#archive_options"><?php _e('Archive Pages', 'modern-events-calendar-lite'); ?></a>
|
37 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#slug_option"><?php _e('Slugs/Permalinks', 'modern-events-calendar-lite'); ?></a>
|
38 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#currency_option"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></a>
|
39 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#recaptcha_option"><?php _e('Google Recaptcha Options', 'modern-events-calendar-lite'); ?></a>
|
40 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#fes_option"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></a>
|
41 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#user_profile_options"><?php _e('User Profile', 'modern-events-calendar-lite'); ?></a>
|
42 |
+
<?php if($this->main->getPRO()): ?>
|
43 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#mailchimp_option"><?php _e('Mailchimp Integration', 'modern-events-calendar-lite'); ?></a>
|
44 |
+
<?php endif; ?>
|
45 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#uploadfield_option"><?php _e('Upload Field', 'modern-events-calendar-lite'); ?></a>
|
46 |
+
</li>
|
47 |
+
</ul>
|
48 |
+
</li>
|
49 |
+
|
50 |
+
<li class="wns-be-group-menu-li">
|
51 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>" id="" class="wns-be-group-tab-link-a">
|
52 |
+
<i class="mec-sl-note"></i>
|
53 |
+
<span class="wns-be-group-menu-title"><?php echo __('Single Event', 'modern-events-calendar-lite'); ?></span>
|
54 |
+
</a>
|
55 |
+
<ul id="" class="submneu-hover">
|
56 |
+
<li class="submenu-item">
|
57 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#event_options"><?php _e('Single Event Page', 'modern-events-calendar-lite'); ?></a>
|
58 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#countdown_option"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></a>
|
59 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#exceptional_option"><?php _e('Exceptional Days', 'modern-events-calendar-lite'); ?></a>
|
60 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_organizers"><?php _e('Additional Organizers', 'modern-events-calendar-lite'); ?></a>
|
61 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_locations"><?php _e('Additional Locations', 'modern-events-calendar-lite'); ?></a>
|
62 |
+
</li>
|
63 |
+
</ul>
|
64 |
+
</li>
|
65 |
+
|
66 |
+
<?php if($this->main->getPRO()): ?>
|
67 |
+
|
68 |
+
<li class="wns-be-group-menu-li">
|
69 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>" id="" class="wns-be-group-tab-link-a">
|
70 |
+
<i class="mec-sl-credit-card"></i>
|
71 |
+
<span class="wns-be-group-menu-title"><?php echo __('Booking', 'modern-events-calendar-lite'); ?></span>
|
72 |
+
</a>
|
73 |
+
<ul id="" class="submneu-hover">
|
74 |
+
<li class="submenu-item">
|
75 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#booking_option"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
76 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
77 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#coupon_option"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></a>
|
78 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#taxes_option"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></a>
|
79 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#ticket_variations_option"><?php _e('Ticket Variations & Options', 'modern-events-calendar-lite'); ?></a>
|
80 |
+
<?php endif; ?>
|
81 |
+
</li>
|
82 |
+
</ul>
|
83 |
+
</li>
|
84 |
+
|
85 |
+
<?php endif; ?>
|
86 |
+
|
87 |
+
<li class="wns-be-group-menu-li has-sub active">
|
88 |
+
|
89 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>" id="" class="wns-be-group-tab-link-a">
|
90 |
+
<span class="extra-icon">
|
91 |
+
<i class="mec-sl-arrow-down"></i>
|
92 |
+
</span>
|
93 |
+
<i class="mec-sl-grid"></i>
|
94 |
+
<span class="wns-be-group-menu-title"><?php echo __('Modules', 'modern-events-calendar-lite'); ?></span>
|
95 |
+
</a>
|
96 |
+
|
97 |
+
<ul id="" class="subsection" style="display: block;">
|
98 |
+
|
99 |
+
<li id="" class="pr-be-group-menu-li active">
|
100 |
+
<a data-id="speakers_option" class="wns-be-group-tab-link-a WnTabLinks">
|
101 |
+
<span class="pr-be-group-menu-title"><?php _e('Speakers', 'modern-events-calendar-lite'); ?></span>
|
102 |
+
</a>
|
103 |
+
</li>
|
104 |
+
|
105 |
+
<?php if($this->main->getPRO()): ?>
|
106 |
+
|
107 |
+
<li id="" class="pr-be-group-menu-li">
|
108 |
+
<a data-id="googlemap_option" class="wns-be-group-tab-link-a WnTabLinks">
|
109 |
+
<span class="pr-be-group-menu-title"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></span>
|
110 |
+
</a>
|
111 |
+
</li>
|
112 |
+
|
113 |
+
<?php endif; ?>
|
114 |
+
|
115 |
+
<li id="" class="pr-be-group-menu-li">
|
116 |
+
<a data-id="export_module_option" class="wns-be-group-tab-link-a WnTabLinks">
|
117 |
+
<span class="pr-be-group-menu-title"><?php _e('Export Options', 'modern-events-calendar-lite'); ?></span>
|
118 |
+
</a>
|
119 |
+
</li>
|
120 |
+
|
121 |
+
<li id="" class="pr-be-group-menu-li">
|
122 |
+
<a data-id="time_module_option" class="wns-be-group-tab-link-a WnTabLinks">
|
123 |
+
<span class="pr-be-group-menu-title"><?php _e('Local Time', 'modern-events-calendar-lite'); ?></span>
|
124 |
+
</a>
|
125 |
+
</li>
|
126 |
+
|
127 |
+
<?php if($this->main->getPRO()): ?>
|
128 |
+
|
129 |
+
<li id="" class="pr-be-group-menu-li">
|
130 |
+
<a data-id="qrcode_module_option" class="wns-be-group-tab-link-a WnTabLinks">
|
131 |
+
<span class="pr-be-group-menu-title"><?php _e('QR Code', 'modern-events-calendar-lite'); ?></span>
|
132 |
+
</a>
|
133 |
+
</li>
|
134 |
+
|
135 |
+
<li id="" class="pr-be-group-menu-li">
|
136 |
+
<a data-id="weather_module_option" class="wns-be-group-tab-link-a WnTabLinks">
|
137 |
+
<span class="pr-be-group-menu-title"><?php _e('Weather', 'modern-events-calendar-lite'); ?></span>
|
138 |
+
</a>
|
139 |
+
</li>
|
140 |
+
|
141 |
+
<?php endif; ?>
|
142 |
+
|
143 |
+
<li id="" class="pr-be-group-menu-li">
|
144 |
+
<a data-id="social_options" class="wns-be-group-tab-link-a WnTabLinks">
|
145 |
+
<span class="pr-be-group-menu-title"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></span>
|
146 |
+
</a>
|
147 |
+
</li>
|
148 |
+
|
149 |
+
<li id="" class="pr-be-group-menu-li">
|
150 |
+
<a data-id="next_event_option" class="wns-be-group-tab-link-a WnTabLinks">
|
151 |
+
<span class="pr-be-group-menu-title"><?php _e('Next Event', 'modern-events-calendar-lite'); ?></span>
|
152 |
+
</a>
|
153 |
+
</li>
|
154 |
+
|
155 |
+
<?php if($this->main->getPRO()): ?>
|
156 |
+
|
157 |
+
<li id="" class="pr-be-group-menu-li">
|
158 |
+
<a data-id="buddy_option" class="wns-be-group-tab-link-a WnTabLinks">
|
159 |
+
<span class="pr-be-group-menu-title"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></span>
|
160 |
+
</a>
|
161 |
+
</li>
|
162 |
+
|
163 |
+
<?php endif; ?>
|
164 |
+
|
165 |
+
</ul>
|
166 |
+
</li>
|
167 |
+
|
168 |
+
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
169 |
+
|
170 |
+
<li class="wns-be-group-menu-li">
|
171 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-reg-form'); ?>" id="" class="wns-be-group-tab-link-a">
|
172 |
+
<i class="mec-sl-layers"></i>
|
173 |
+
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
174 |
+
</a>
|
175 |
+
</li>
|
176 |
+
|
177 |
+
<li class="wns-be-group-menu-li">
|
178 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
179 |
+
<i class="mec-sl-wallet"></i>
|
180 |
+
<span class="wns-be-group-menu-title"><?php _e('Payment Gateways', 'modern-events-calendar-lite'); ?></span>
|
181 |
+
</a>
|
182 |
+
</li>
|
183 |
+
|
184 |
+
<?php endif;?>
|
185 |
+
|
186 |
+
<li class="wns-be-group-menu-li">
|
187 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>" id="" class="wns-be-group-tab-link-a">
|
188 |
+
<i class="mec-sl-envelope"></i>
|
189 |
+
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
190 |
+
</a>
|
191 |
+
<ul id="" class="submneu-hover">
|
192 |
+
<li class="submenu-item">
|
193 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
194 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_notification"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
195 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_verification"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></a>
|
196 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_confirmation"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></a>
|
197 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#cancellation_notification"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></a>
|
198 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#admin_notification"><?php _e('Admin', 'modern-events-calendar-lite'); ?></a>
|
199 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_reminder"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></a>
|
200 |
+
<?php endif; ?>
|
201 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#new_event"><?php _e('New Event', 'modern-events-calendar-lite'); ?></a>
|
202 |
+
</li>
|
203 |
+
</ul>
|
204 |
+
</li>
|
205 |
+
|
206 |
+
<li class="wns-be-group-menu-li">
|
207 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-styling'); ?>" id="" class="wns-be-group-tab-link-a">
|
208 |
+
<i class="mec-sl-equalizer"></i>
|
209 |
+
<span class="wns-be-group-menu-title"><?php _e('Styling Options', 'modern-events-calendar-lite'); ?></span>
|
210 |
+
</a>
|
211 |
+
</li>
|
212 |
+
|
213 |
+
<li class="wns-be-group-menu-li">
|
214 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-customcss'); ?>" id="" class="wns-be-group-tab-link-a">
|
215 |
+
<i class="mec-sl-wrench"></i>
|
216 |
+
<span class="wns-be-group-menu-title"><?php _e('Custom CSS', 'modern-events-calendar-lite'); ?></span>
|
217 |
+
</a>
|
218 |
+
</li>
|
219 |
+
|
220 |
+
<li class="wns-be-group-menu-li">
|
221 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-messages'); ?>" id="" class="wns-be-group-tab-link-a">
|
222 |
+
<i class="mec-sl-bubble"></i>
|
223 |
+
<span class="wns-be-group-menu-title"><?php _e('Messages', 'modern-events-calendar-lite'); ?></span>
|
224 |
+
</a>
|
225 |
+
</li>
|
226 |
+
|
227 |
+
<li class="wns-be-group-menu-li">
|
228 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-ie'); ?>" id="" class="wns-be-group-tab-link-a">
|
229 |
+
<i class="mec-sl-refresh"></i>
|
230 |
+
<span class="wns-be-group-menu-title"><?php _e('Import / Export', 'modern-events-calendar-lite'); ?></span>
|
231 |
+
</a>
|
232 |
+
</li>
|
233 |
+
|
234 |
+
</ul>
|
235 |
+
</div>
|
236 |
+
|
237 |
+
<div class="wns-be-main">
|
238 |
+
<div id="wns-be-notification"></div>
|
239 |
+
<div id="wns-be-content">
|
240 |
+
<div class="wns-be-group-tab">
|
241 |
+
<div class="mec-container">
|
242 |
+
|
243 |
+
<form id="mec_modules_form">
|
244 |
+
|
245 |
+
<div id="speakers_option" class="mec-options-fields active">
|
246 |
+
|
247 |
+
<h4 class="mec-form-subtitle"><?php _e('Speakers Options', 'modern-events-calendar-lite'); ?></h4>
|
248 |
+
<div class="mec-form-row">
|
249 |
+
<div class="mec-col-12">
|
250 |
+
<label for="mec_settings_speakers_status">
|
251 |
+
<input type="hidden" name="mec[settings][speakers_status]" value="0" />
|
252 |
+
<input type="checkbox" name="mec[settings][speakers_status]" id="mec_settings_speakers_status" <?php echo ((isset($settings['speakers_status']) and $settings['speakers_status']) ? 'checked="checked"' : ''); ?> value="1" />
|
253 |
+
<?php _e('Enable speakers feature', 'modern-events-calendar-lite'); ?>
|
254 |
+
</label>
|
255 |
+
<p><?php esc_attr_e("After enable it, you should reloading this page to see a new menu on Dashboard > MEC", 'modern-events-calendar-lite'); ?></p>
|
256 |
+
</div>
|
257 |
+
</div>
|
258 |
+
|
259 |
+
</div>
|
260 |
+
|
261 |
+
<?php if($this->main->getPRO()): ?>
|
262 |
+
|
263 |
+
<div id="googlemap_option" class="mec-options-fields">
|
264 |
+
<h4 class="mec-form-subtitle"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></h4>
|
265 |
+
|
266 |
+
<?php if(!$this->main->getPRO()): ?>
|
267 |
+
<div class="info-msg"><?php echo sprintf(__("%s is required to use this feature.", 'modern-events-calendar-lite'), '<a href="'.$this->main->get_pro_link().'" target="_blank">'.__('Pro version of Modern Events Calendar', 'modern-events-calendar-lite').'</a>'); ?></div>
|
268 |
+
<?php else: ?>
|
269 |
+
<div class="mec-form-row">
|
270 |
+
<label>
|
271 |
+
<input type="hidden" name="mec[settings][google_maps_status]" value="0" />
|
272 |
+
<input onchange="jQuery('#mec_google_maps_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][google_maps_status]" <?php if(isset($settings['google_maps_status']) and $settings['google_maps_status']) echo 'checked="checked"'; ?> /> <?php _e('Show Google Maps on event page', 'modern-events-calendar-lite'); ?>
|
273 |
+
</label>
|
274 |
+
</div>
|
275 |
+
<div id="mec_google_maps_container_toggle" class="<?php if((isset($settings['google_maps_status']) and !$settings['google_maps_status']) or !isset($settings['google_maps_status'])) echo 'mec-util-hidden'; ?>">
|
276 |
+
<div class="mec-form-row">
|
277 |
+
<label class="mec-col-3" for="mec_settings_google_maps_api_key"><?php _e('API Key', 'modern-events-calendar-lite'); ?></label>
|
278 |
+
<div class="mec-col-4">
|
279 |
+
<input type="text" id="mec_settings_google_maps_api_key" name="mec[settings][google_maps_api_key]" value="<?php echo ((isset($settings['google_maps_api_key']) and trim($settings['google_maps_api_key']) != '') ? $settings['google_maps_api_key'] : ''); ?>" />
|
280 |
+
<span class="mec-tooltip">
|
281 |
+
<div class="box">
|
282 |
+
<h5 class="title"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></h5>
|
283 |
+
<div class="content"><p><?php esc_attr_e("Required!", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/google-maps-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
284 |
+
</div>
|
285 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
286 |
+
</span>
|
287 |
+
</div>
|
288 |
+
</div>
|
289 |
+
<div class="mec-form-row">
|
290 |
+
<label class="mec-col-3"><?php _e('Zoom level', 'modern-events-calendar-lite'); ?></label>
|
291 |
+
<div class="mec-col-4">
|
292 |
+
<select name="mec[settings][google_maps_zoomlevel]">
|
293 |
+
<?php for($i = 5; $i <= 21; $i++): ?>
|
294 |
+
<option value="<?php echo $i; ?>" <?php if(isset($settings['google_maps_zoomlevel']) and $settings['google_maps_zoomlevel'] == $i) echo 'selected="selected"'; ?>><?php echo $i; ?></option>
|
295 |
+
<?php endfor; ?>
|
296 |
+
</select>
|
297 |
+
<span class="mec-tooltip">
|
298 |
+
<div class="box">
|
299 |
+
<h5 class="title"><?php _e('Zoom level', 'modern-events-calendar-lite'); ?></h5>
|
300 |
+
<div class="content"><p><?php esc_attr_e("For Google Maps module in single event page. In Google Maps skin, it will caculate the zoom level automatically based on event boundaries.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/google-maps-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
301 |
+
</div>
|
302 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
303 |
+
</span>
|
304 |
+
</div>
|
305 |
+
</div>
|
306 |
+
<div class="mec-form-row">
|
307 |
+
<label class="mec-col-3"><?php _e('Google Maps Style', 'modern-events-calendar-lite'); ?></label>
|
308 |
+
<?php $styles = $this->main->get_googlemap_styles(); ?>
|
309 |
+
<div class="mec-col-4">
|
310 |
+
<select name="mec[settings][google_maps_style]">
|
311 |
+
<option value=""><?php _e('Default', 'modern-events-calendar-lite'); ?></option>
|
312 |
+
<?php foreach($styles as $style): ?>
|
313 |
+
<option value="<?php echo $style['key']; ?>" <?php if(isset($settings['google_maps_style']) and $settings['google_maps_style'] == $style['key']) echo 'selected="selected"'; ?>><?php echo $style['name']; ?></option>
|
314 |
+
<?php endforeach; ?>
|
315 |
+
</select>
|
316 |
+
</div>
|
317 |
+
</div>
|
318 |
+
<div class="mec-form-row">
|
319 |
+
<label class="mec-col-3"><?php _e('Direction on single event', 'modern-events-calendar-lite'); ?></label>
|
320 |
+
<div class="mec-col-4">
|
321 |
+
<select name="mec[settings][google_maps_get_direction_status]">
|
322 |
+
<option value="0"><?php _e('Disabled', 'modern-events-calendar-lite'); ?></option>
|
323 |
+
<option value="1" <?php if(isset($settings['google_maps_get_direction_status']) and $settings['google_maps_get_direction_status'] == 1) echo 'selected="selected"'; ?>><?php _e('Simple Method', 'modern-events-calendar-lite'); ?></option>
|
324 |
+
<option value="2" <?php if(isset($settings['google_maps_get_direction_status']) and $settings['google_maps_get_direction_status'] == 2) echo 'selected="selected"'; ?>><?php _e('Advanced Method', 'modern-events-calendar-lite'); ?></option>
|
325 |
+
</select>
|
326 |
+
</div>
|
327 |
+
</div>
|
328 |
+
<div class="mec-form-row">
|
329 |
+
<label class="mec-col-3" for="mec_settings_google_maps_date_format1"><?php _e('Lightbox Date Format', 'modern-events-calendar-lite'); ?></label>
|
330 |
+
<div class="mec-col-4">
|
331 |
+
<input type="text" id="mec_settings_google_maps_date_format1" name="mec[settings][google_maps_date_format1]" value="<?php echo ((isset($settings['google_maps_date_format1']) and trim($settings['google_maps_date_format1']) != '') ? $settings['google_maps_date_format1'] : 'M d Y'); ?>" />
|
332 |
+
<span class="mec-tooltip">
|
333 |
+
<div class="box top">
|
334 |
+
<h5 class="title"><?php _e('Lightbox Date Format', 'modern-events-calendar-lite'); ?></h5>
|
335 |
+
<div class="content"><p><?php esc_attr_e("Default value is M d Y", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/google-maps-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
336 |
+
</div>
|
337 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
338 |
+
</span>
|
339 |
+
</div>
|
340 |
+
</div>
|
341 |
+
<div class="mec-form-row">
|
342 |
+
<label class="mec-col-3"><?php _e('Google Maps API', 'modern-events-calendar-lite'); ?></label>
|
343 |
+
<div class="mec-col-4">
|
344 |
+
<label>
|
345 |
+
<input type="hidden" name="mec[settings][google_maps_dont_load_api]" value="0" />
|
346 |
+
<input value="1" type="checkbox" name="mec[settings][google_maps_dont_load_api]" <?php if(isset($settings['google_maps_dont_load_api']) and $settings['google_maps_dont_load_api']) echo 'checked="checked"'; ?> /> <?php _e("Don't load Google Maps API library", 'modern-events-calendar-lite'); ?>
|
347 |
+
</label>
|
348 |
+
<span class="mec-tooltip">
|
349 |
+
<div class="box top">
|
350 |
+
<h5 class="title"><?php _e('Google Maps API', 'modern-events-calendar-lite'); ?></h5>
|
351 |
+
<div class="content"><p><?php esc_attr_e("Check it only if another plugin/theme is loading the Google Maps API", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/google-maps-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
352 |
+
</div>
|
353 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
354 |
+
</span>
|
355 |
+
</div>
|
356 |
+
</div>
|
357 |
+
</div>
|
358 |
+
<?php endif; ?>
|
359 |
+
</div>
|
360 |
+
|
361 |
+
<?php endif; ?>
|
362 |
+
|
363 |
+
<div id="export_module_option" class="mec-options-fields">
|
364 |
+
<h4 class="mec-form-subtitle"><?php _e('Export Options', 'modern-events-calendar-lite'); ?></h4>
|
365 |
+
<div class="mec-form-row">
|
366 |
+
<label>
|
367 |
+
<input type="hidden" name="mec[settings][export_module_status]" value="0" />
|
368 |
+
<input onchange="jQuery('#mec_export_module_options_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][export_module_status]" <?php if(isset($settings['export_module_status']) and $settings['export_module_status']) echo 'checked="checked"'; ?> /> <?php _e('Show export module (iCal export and add to Google calendars) on event page', 'modern-events-calendar-lite'); ?>
|
369 |
+
</label>
|
370 |
+
</div>
|
371 |
+
<div id="mec_export_module_options_container_toggle" class="<?php if((isset($settings['export_module_status']) and !$settings['export_module_status']) or !isset($settings['export_module_status'])) echo 'mec-util-hidden'; ?>">
|
372 |
+
<div class="mec-form-row">
|
373 |
+
<ul id="mec_export_module_options" class="mec-form-row">
|
374 |
+
<?php
|
375 |
+
$event_options = array('googlecal'=>__('Google Calendar', 'modern-events-calendar-lite'), 'ical'=>__('iCal', 'modern-events-calendar-lite'));
|
376 |
+
foreach($event_options as $event_key=>$event_option): ?>
|
377 |
+
<li id="mec_sn_<?php echo esc_attr($event_key); ?>" data-id="<?php echo esc_attr($event_key); ?>" class="mec-form-row mec-switcher <?php echo ((isset($settings['sn'][$event_key]) and $settings['sn'][$event_key]) ? 'mec-enabled' : 'mec-disabled'); ?>">
|
378 |
+
<label class="mec-col-3"><?php echo esc_html($event_option); ?></label>
|
379 |
+
<div class="mec-col-2">
|
380 |
+
<input class="mec-status" type="hidden" name="mec[settings][sn][<?php echo esc_attr($event_key); ?>]" value="<?php echo (isset($settings['sn'][$event_key]) ? $settings['sn'][$event_key] : '1'); ?>" />
|
381 |
+
<label for="mec[settings][sn][<?php echo esc_attr($event_key); ?>]"></label>
|
382 |
+
</div>
|
383 |
+
</li>
|
384 |
+
<?php endforeach; ?>
|
385 |
+
</ul>
|
386 |
+
</div>
|
387 |
+
</div>
|
388 |
+
</div>
|
389 |
+
|
390 |
+
<div id="time_module_option" class="mec-options-fields">
|
391 |
+
<h4 class="mec-form-subtitle"><?php _e('Local Time', 'modern-events-calendar-lite'); ?></h4>
|
392 |
+
<div class="mec-form-row">
|
393 |
+
<label>
|
394 |
+
<input type="hidden" name="mec[settings][local_time_module_status]" value="0" />
|
395 |
+
<input onchange="jQuery('#mec_local_time_module_options_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][local_time_module_status]" <?php if(isset($settings['local_time_module_status']) and $settings['local_time_module_status']) echo 'checked="checked"'; ?> /> <?php _e('Show event time based on local time of visitor on event page', 'modern-events-calendar-lite'); ?>
|
396 |
+
</label>
|
397 |
+
</div>
|
398 |
+
<div id="mec_local_time_module_options_container_toggle" class="<?php if((isset($settings['local_time_module_status']) and !$settings['local_time_module_status']) or !isset($settings['local_time_module_status'])) echo 'mec-util-hidden'; ?>">
|
399 |
+
</div>
|
400 |
+
</div>
|
401 |
+
|
402 |
+
<?php if($this->main->getPRO()): ?>
|
403 |
+
|
404 |
+
<div id="qrcode_module_option" class="mec-options-fields">
|
405 |
+
<h4 class="mec-form-subtitle"><?php _e('QR Code', 'modern-events-calendar-lite'); ?></h4>
|
406 |
+
|
407 |
+
<?php if(!$this->main->getPRO()): ?>
|
408 |
+
<div class="info-msg"><?php echo sprintf(__("%s is required to use this feature.", 'modern-events-calendar-lite'), '<a href="'.$this->main->get_pro_link().'" target="_blank">'.__('Pro version of Modern Events Calendar', 'modern-events-calendar-lite').'</a>'); ?></div>
|
409 |
+
<?php else: ?>
|
410 |
+
<div class="mec-form-row">
|
411 |
+
<label>
|
412 |
+
<input type="hidden" name="mec[settings][qrcode_module_status]" value="0" />
|
413 |
+
<input onchange="jQuery('#mec_qrcode_module_options_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][qrcode_module_status]" <?php if(!isset($settings['qrcode_module_status']) or (isset($settings['qrcode_module_status']) and $settings['qrcode_module_status'])) echo 'checked="checked"'; ?> /> <?php _e('Show QR code of event in details page and booking invoice', 'modern-events-calendar-lite'); ?>
|
414 |
+
</label>
|
415 |
+
</div>
|
416 |
+
<div id="mec_qrcode_module_options_container_toggle" class="<?php if((isset($settings['qrcode_module_status']) and !$settings['qrcode_module_status']) or !isset($settings['qrcode_module_status'])) echo 'mec-util-hidden'; ?>">
|
417 |
+
</div>
|
418 |
+
<?php endif; ?>
|
419 |
+
|
420 |
+
</div>
|
421 |
+
|
422 |
+
<div id="weather_module_option" class="mec-options-fields">
|
423 |
+
<h4 class="mec-form-subtitle"><?php _e('Weather', 'modern-events-calendar-lite'); ?></h4>
|
424 |
+
<?php if(!$this->main->getPRO()): ?>
|
425 |
+
<div class="info-msg"><?php echo sprintf(__("%s is required to use this feature.", 'modern-events-calendar-lite'), '<a href="'.$this->main->get_pro_link().'" target="_blank">'.__('Pro version of Modern Events Calendar', 'modern-events-calendar-lite').'</a>'); ?></div>
|
426 |
+
<?php else: ?>
|
427 |
+
<div class="mec-form-row">
|
428 |
+
<label>
|
429 |
+
<input type="hidden" name="mec[settings][weather_module_status]" value="0" />
|
430 |
+
<input onchange="jQuery('#mec_weather_module_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][weather_module_status]" <?php if(isset($settings['weather_module_status']) and $settings['weather_module_status']) echo 'checked="checked"'; ?> /> <?php _e('Show weather module on event page', 'modern-events-calendar-lite'); ?>
|
431 |
+
</label>
|
432 |
+
</div>
|
433 |
+
<div id="mec_weather_module_container_toggle" class="<?php if((isset($settings['weather_module_status']) and !$settings['weather_module_status']) or !isset($settings['weather_module_status'])) echo 'mec-util-hidden'; ?>">
|
434 |
+
<div class="mec-form-row">
|
435 |
+
<label class="mec-col-3" for="mec_settings_weather_module_api_key"><?php _e('API Key', 'modern-events-calendar-lite'); ?></label>
|
436 |
+
<div class="mec-col-8">
|
437 |
+
<input type="text" name="mec[settings][weather_module_api_key]" id="mec_settings_weather_module_api_key" value="<?php echo ((isset($settings['weather_module_api_key']) and trim($settings['weather_module_api_key']) != '') ? $settings['weather_module_api_key'] : ''); ?>">
|
438 |
+
<p><?php echo sprintf(__('You can get a free API Key from %s', 'modern-events-calendar-lite'), '<a target="_blank" href="https://darksky.net/dev/register">https://darksky.net/dev/register</a>'); ?></p>
|
439 |
+
</div>
|
440 |
+
</div>
|
441 |
+
</div>
|
442 |
+
<?php endif; ?>
|
443 |
+
</div>
|
444 |
+
|
445 |
+
<?php endif; ?>
|
446 |
+
|
447 |
+
<div id="social_options" class="mec-options-fields">
|
448 |
+
<h4 class="mec-form-subtitle"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></h4>
|
449 |
+
<div class="mec-form-row">
|
450 |
+
<label>
|
451 |
+
<input type="hidden" name="mec[settings][social_network_status]" value="0" />
|
452 |
+
<input onchange="jQuery('#mec_social_network_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][social_network_status]" <?php if(isset($settings['social_network_status']) and $settings['social_network_status']) echo 'checked="checked"'; ?> /> <?php _e('Show social network module', 'modern-events-calendar-lite'); ?>
|
453 |
+
</label>
|
454 |
+
</div>
|
455 |
+
<div id="mec_social_network_container_toggle" class="<?php if((isset($settings['social_network_status']) and !$settings['social_network_status']) or !isset($settings['social_network_status'])) echo 'mec-util-hidden'; ?>">
|
456 |
+
<div class="mec-form-row">
|
457 |
+
<ul id="mec_social_networks" class="mec-form-row">
|
458 |
+
<?php foreach($socials as $social): ?>
|
459 |
+
<li id="mec_sn_<?php echo esc_attr($social['id']); ?>" data-id="<?php echo esc_attr($social['id']); ?>" class="mec-form-row mec-switcher <?php echo ((isset($settings['sn'][$social['id']]) and $settings['sn'][$social['id']]) ? 'mec-enabled' : 'mec-disabled'); ?>">
|
460 |
+
<label class="mec-col-3"><?php echo esc_html($social['name']); ?></label>
|
461 |
+
<div class="mec-col-2">
|
462 |
+
<input class="mec-status" type="hidden" name="mec[settings][sn][<?php echo esc_attr($social['id']); ?>]" value="<?php echo (isset($settings['sn'][$social['id']]) ? $settings['sn'][$social['id']] : '1'); ?>" />
|
463 |
+
<label for="mec[settings][sn][<?php echo esc_attr($social['id']); ?>]"></label>
|
464 |
+
</div>
|
465 |
+
</li>
|
466 |
+
<?php endforeach; ?>
|
467 |
+
</ul>
|
468 |
+
</div>
|
469 |
+
</div>
|
470 |
+
</div>
|
471 |
+
|
472 |
+
<div id="next_event_option" class="mec-options-fields">
|
473 |
+
<h4 class="mec-form-subtitle"><?php _e('Next Event', 'modern-events-calendar-lite'); ?></h4>
|
474 |
+
<div class="mec-form-row">
|
475 |
+
<label>
|
476 |
+
<input type="hidden" name="mec[settings][next_event_module_status]" value="0" />
|
477 |
+
<input onchange="jQuery('#mec_next_previous_event_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][next_event_module_status]" <?php if(isset($settings['next_event_module_status']) and $settings['next_event_module_status']) echo 'checked="checked"'; ?> /> <?php _e('Show next event module on event page', 'modern-events-calendar-lite'); ?>
|
478 |
+
</label>
|
479 |
+
</div>
|
480 |
+
<div id="mec_next_previous_event_container_toggle" class="<?php if((isset($settings['next_event_module_status']) and !$settings['next_event_module_status']) or !isset($settings['next_event_module_status'])) echo 'mec-util-hidden'; ?>">
|
481 |
+
<div class="mec-form-row">
|
482 |
+
<label class="mec-col-3" for="mec_settings_next_event_module_method"><?php _e('Method', 'modern-events-calendar-lite'); ?></label>
|
483 |
+
<div class="mec-col-4">
|
484 |
+
<select id="mec_settings_next_event_module_method" name="mec[settings][next_event_module_method]">
|
485 |
+
<option value="occurrence" <?php echo ((isset($settings['next_event_module_method']) and $settings['next_event_module_method'] == 'occurrence') ? 'selected="selected"' : ''); ?>><?php _e('Next Occurrence of Current Event', 'modern-events-calendar-lite'); ?></option>
|
486 |
+
<option value="event" <?php echo ((isset($settings['next_event_module_method']) and $settings['next_event_module_method'] == 'event') ? 'selected="selected"' : ''); ?>><?php _e('Next Occurrence of Other Events', 'modern-events-calendar-lite'); ?></option>
|
487 |
+
</select>
|
488 |
+
</div>
|
489 |
+
</div>
|
490 |
+
<div class="mec-form-row">
|
491 |
+
<label class="mec-col-3" for="mec_settings_next_event_module_date_format1"><?php _e('Date Format', 'modern-events-calendar-lite'); ?></label>
|
492 |
+
<div class="mec-col-4">
|
493 |
+
<input type="text" id="mec_settings_next_event_module_date_format1" name="mec[settings][next_event_module_date_format1]" value="<?php echo ((isset($settings['next_event_module_date_format1']) and trim($settings['next_event_module_date_format1']) != '') ? $settings['next_event_module_date_format1'] : 'M d Y'); ?>" />
|
494 |
+
<span class="mec-tooltip">
|
495 |
+
<div class="box top">
|
496 |
+
<h5 class="title"><?php _e('Date Format', 'modern-events-calendar-lite'); ?></h5>
|
497 |
+
<div class="content"><p><?php esc_attr_e("Default is M d Y", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/next-event-module/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
498 |
+
</div>
|
499 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
500 |
+
</span>
|
501 |
+
</div>
|
502 |
+
</div>
|
503 |
+
</div>
|
504 |
+
</div>
|
505 |
+
|
506 |
+
<?php if($this->main->getPRO()): ?>
|
507 |
+
|
508 |
+
<div id="buddy_option" class="mec-options-fields">
|
509 |
+
<h4 class="mec-form-subtitle"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></h4>
|
510 |
+
<div class="mec-form-row">
|
511 |
+
<label>
|
512 |
+
<input type="hidden" name="mec[settings][bp_status]" value="0" />
|
513 |
+
<input onchange="jQuery('#mec_bp_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][bp_status]" <?php if(isset($settings['bp_status']) and $settings['bp_status']) echo 'checked="checked"'; ?> /> <?php _e('Enable BuddyPress Integration', 'modern-events-calendar-lite'); ?>
|
514 |
+
</label>
|
515 |
+
</div>
|
516 |
+
<div id="mec_bp_container_toggle" class="<?php if((isset($settings['bp_status']) and !$settings['bp_status']) or !isset($settings['bp_status'])) echo 'mec-util-hidden'; ?>">
|
517 |
+
<div class="mec-form-row">
|
518 |
+
<label>
|
519 |
+
<input type="hidden" name="mec[settings][bp_attendees_module]" value="0" />
|
520 |
+
<input value="1" type="checkbox" name="mec[settings][bp_attendees_module]" <?php if(isset($settings['bp_attendees_module']) and $settings['bp_attendees_module']) echo 'checked="checked"'; ?> /> <?php _e('Show "Attendees Module" in event details page', 'modern-events-calendar-lite'); ?>
|
521 |
+
</label>
|
522 |
+
</div>
|
523 |
+
<div class="mec-form-row">
|
524 |
+
<label class="mec-col-3" for="mec_settings_bp_attendees_module_limit"><?php _e('Attendees Limit', 'modern-events-calendar-lite'); ?></label>
|
525 |
+
<div class="mec-col-4">
|
526 |
+
<input type="text" id="mec_settings_bp_attendees_module_limit" name="mec[settings][bp_attendees_module_limit]" value="<?php echo ((isset($settings['bp_attendees_module_limit']) and trim($settings['bp_attendees_module_limit']) != '') ? $settings['bp_attendees_module_limit'] : '20'); ?>" />
|
527 |
+
</div>
|
528 |
+
</div>
|
529 |
+
<div class="mec-form-row">
|
530 |
+
<label>
|
531 |
+
<input type="hidden" name="mec[settings][bp_add_activity]" value="0" />
|
532 |
+
<input value="1" type="checkbox" name="mec[settings][bp_add_activity]" <?php if(isset($settings['bp_add_activity']) and $settings['bp_add_activity']) echo 'checked="checked"'; ?> /> <?php _e('Add booking activity to user profile', 'modern-events-calendar-lite'); ?>
|
533 |
+
</label>
|
534 |
+
</div>
|
535 |
+
</div>
|
536 |
+
</div>
|
537 |
+
|
538 |
+
<?php endif; ?>
|
539 |
+
|
540 |
+
<div class="mec-options-fields">
|
541 |
+
<?php wp_nonce_field('mec_options_form'); ?>
|
542 |
+
<button style="display: none;" id="mec_modules_form_button" class="button button-primary mec-button-primary" type="submit"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></button>
|
543 |
+
</div>
|
544 |
+
</form>
|
545 |
+
|
546 |
+
</div>
|
547 |
+
</div>
|
548 |
+
</div>
|
549 |
+
</div>
|
550 |
+
|
551 |
+
<div id="wns-be-footer">
|
552 |
+
<a id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
553 |
+
</div>
|
554 |
+
|
555 |
+
</div>
|
556 |
+
|
557 |
+
<script type="text/javascript">
|
558 |
+
jQuery(document).ready(function()
|
559 |
+
{
|
560 |
+
jQuery('.WnTabLinks').each(function()
|
561 |
+
{
|
562 |
+
var ContentId = jQuery(this).attr('data-id');
|
563 |
+
jQuery(this).click(function()
|
564 |
+
{
|
565 |
+
jQuery('.pr-be-group-menu-li').removeClass('active');
|
566 |
+
jQuery(this).parent().addClass('active');
|
567 |
+
jQuery(".mec-options-fields").hide();
|
568 |
+
jQuery(".mec-options-fields").removeClass('active');
|
569 |
+
jQuery("#"+ContentId+"").show();
|
570 |
+
jQuery("#"+ContentId+"").addClass('active');
|
571 |
+
jQuery('html, body').animate({
|
572 |
+
scrollTop: jQuery("#"+ContentId+"").offset().top - 140
|
573 |
+
}, 300);
|
574 |
+
});
|
575 |
+
var hash = window.location.hash.replace('#', '');
|
576 |
+
$('[data-id="'+hash+'"]').trigger('click');
|
577 |
+
});
|
578 |
+
|
579 |
+
jQuery(".dpr-save-btn").on('click', function(event)
|
580 |
+
{
|
581 |
+
event.preventDefault();
|
582 |
+
jQuery("#mec_modules_form_button").trigger('click');
|
583 |
+
});
|
584 |
+
|
585 |
+
jQuery(".wns-be-sidebar .pr-be-group-menu-li").on('click', function(event)
|
586 |
+
{
|
587 |
+
jQuery(".wns-be-sidebar .pr-be-group-menu-li").removeClass('active');
|
588 |
+
jQuery(this).addClass('active');
|
589 |
+
});
|
590 |
+
});
|
591 |
+
|
592 |
+
jQuery("#mec_modules_form").on('submit', function(event)
|
593 |
+
{
|
594 |
+
event.preventDefault();
|
595 |
+
|
596 |
+
// Add loading Class to the button
|
597 |
+
jQuery(".dpr-save-btn").addClass('loading').text("<?php echo esc_js(esc_attr__('Saved', 'modern-events-calendar-lite')); ?>");
|
598 |
+
jQuery('<div class="wns-saved-settings"><?php echo esc_js(esc_attr__('Settings Saved!', 'modern-events-calendar-lite')); ?></div>').insertBefore('#wns-be-content');
|
599 |
+
|
600 |
+
if(jQuery(".mec-purchase-verify").text() != '<?php echo esc_js(esc_attr__('Verified', 'modern-events-calendar-lite')); ?>')
|
601 |
+
{
|
602 |
+
jQuery(".mec-purchase-verify").text("<?php echo esc_js(esc_attr__('Checking ...', 'modern-events-calendar-lite')); ?>");
|
603 |
+
}
|
604 |
+
|
605 |
+
var settings = jQuery("#mec_modules_form").serialize();
|
606 |
+
jQuery.ajax(
|
607 |
+
{
|
608 |
+
type: "POST",
|
609 |
+
url: ajaxurl,
|
610 |
+
data: "action=mec_save_settings&"+settings,
|
611 |
+
beforeSend: function () {
|
612 |
+
jQuery('.wns-be-main').append('<div class="mec-loarder-wrap mec-settings-loader"><div class="mec-loarder"><div></div><div></div><div></div></div></div>');
|
613 |
+
},
|
614 |
+
success: function(data)
|
615 |
+
{
|
616 |
+
// Remove the loading Class to the button
|
617 |
+
setTimeout(function()
|
618 |
+
{
|
619 |
+
jQuery(".dpr-save-btn").removeClass('loading').text("<?php echo esc_js(esc_attr__('Save Changes', 'modern-events-calendar-lite')); ?>");
|
620 |
+
jQuery('.wns-saved-settings').remove();
|
621 |
+
jQuery('.mec-loarder-wrap').remove();
|
622 |
+
if(jQuery(".mec-purchase-verify").text() != '<?php echo esc_js(esc_attr__('Verified', 'modern-events-calendar-lite')); ?>')
|
623 |
+
{
|
624 |
+
jQuery(".mec-purchase-verify").text("<?php echo esc_js(esc_attr__('Please Refresh Page', 'modern-events-calendar-lite')); ?>");
|
625 |
+
}
|
626 |
+
}, 1000);
|
627 |
+
},
|
628 |
+
error: function(jqXHR, textStatus, errorThrown)
|
629 |
+
{
|
630 |
+
// Remove the loading Class to the button
|
631 |
+
setTimeout(function()
|
632 |
+
{
|
633 |
+
jQuery(".dpr-save-btn").removeClass('loading').text("<?php echo esc_js(esc_attr__('Save Changes', 'modern-events-calendar-lite')); ?>");
|
634 |
+
jQuery('.wns-saved-settings').remove();
|
635 |
+
jQuery('.mec-loarder-wrap').remove();
|
636 |
+
}, 1000);
|
637 |
+
}
|
638 |
+
});
|
639 |
+
});
|
640 |
+
</script>
|
app/features/mec/notifications.php
CHANGED
@@ -5,7 +5,7 @@ defined('MECEXEC') or die();
|
|
5 |
$notifications = $this->main->get_notifications();
|
6 |
?>
|
7 |
|
8 |
-
<div class="wns-be-container">
|
9 |
<div id="wns-be-infobar">
|
10 |
<a href="" id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
11 |
</div>
|
@@ -22,6 +22,84 @@ $notifications = $this->main->get_notifications();
|
|
22 |
<i class="mec-sl-settings"></i>
|
23 |
<span class="wns-be-group-menu-title"><?php _e('Settings', 'modern-events-calendar-lite'); ?></span>
|
24 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
</li>
|
26 |
|
27 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
@@ -31,7 +109,7 @@ $notifications = $this->main->get_notifications();
|
|
31 |
<i class="mec-sl-layers"></i>
|
32 |
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
33 |
</a>
|
34 |
-
</li>
|
35 |
|
36 |
<li class="wns-be-group-menu-li">
|
37 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
@@ -46,7 +124,7 @@ $notifications = $this->main->get_notifications();
|
|
46 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>" id="" class="wns-be-group-tab-link-a">
|
47 |
<span class="extra-icon">
|
48 |
<i class="mec-sl-arrow-down"></i>
|
49 |
-
</span>
|
50 |
<i class="mec-sl-envelope"></i>
|
51 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
52 |
</a>
|
@@ -54,46 +132,46 @@ $notifications = $this->main->get_notifications();
|
|
54 |
<ul id="" class="subsection" style="display: block;">
|
55 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
56 |
<li id="" class="pr-be-group-menu-li active">
|
57 |
-
<a data-id=
|
58 |
-
<span class="pr-be-group-menu-title"><?php _e('Booking
|
59 |
</a>
|
60 |
</li>
|
61 |
|
62 |
<li id="" class="pr-be-group-menu-li">
|
63 |
-
<a data-id=
|
64 |
<span class="pr-be-group-menu-title"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></span>
|
65 |
</a>
|
66 |
</li>
|
67 |
|
68 |
<li id="" class="pr-be-group-menu-li">
|
69 |
-
<a data-id=
|
70 |
<span class="pr-be-group-menu-title"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></span>
|
71 |
</a>
|
72 |
</li>
|
73 |
|
74 |
<li id="" class="pr-be-group-menu-li">
|
75 |
-
<a data-id=
|
76 |
<span class="pr-be-group-menu-title"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></span>
|
77 |
</a>
|
78 |
</li>
|
79 |
|
80 |
<li id="" class="pr-be-group-menu-li">
|
81 |
-
<a data-id=
|
82 |
-
<span class="pr-be-group-menu-title"><?php _e('Admin
|
83 |
</a>
|
84 |
</li>
|
85 |
|
86 |
<li id="" class="pr-be-group-menu-li">
|
87 |
-
<a data-id=
|
88 |
<span class="pr-be-group-menu-title"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></span>
|
89 |
</a>
|
90 |
</li>
|
91 |
<?php endif;?>
|
92 |
<li id="" class="pr-be-group-menu-li <?php if($this->settings['booking_status'] == 0) echo 'active'; ?>">
|
93 |
-
<a data-id=
|
94 |
<span class="pr-be-group-menu-title"><?php _e('New Event', 'modern-events-calendar-lite'); ?></span>
|
95 |
</a>
|
96 |
-
</li>
|
97 |
|
98 |
</ul>
|
99 |
|
@@ -127,13 +205,6 @@ $notifications = $this->main->get_notifications();
|
|
127 |
</a>
|
128 |
</li>
|
129 |
|
130 |
-
<!-- <li class="wns-be-group-menu-li">
|
131 |
-
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-support'); ?>" id="" class="wns-be-group-tab-link-a">
|
132 |
-
<i class="mec-sl-support"></i>
|
133 |
-
<span class="wns-be-group-menu-title"><?php _e('Support', 'modern-events-calendar-lite'); ?></span>
|
134 |
-
</a>
|
135 |
-
</li> -->
|
136 |
-
|
137 |
</ul>
|
138 |
</div>
|
139 |
|
@@ -151,7 +222,7 @@ $notifications = $this->main->get_notifications();
|
|
151 |
|
152 |
<div id="booking_notification" class="mec-options-fields active">
|
153 |
|
154 |
-
<h4 class="mec-form-subtitle"><?php _e('Booking
|
155 |
<div class="mec-form-row">
|
156 |
<label>
|
157 |
<input type="hidden" name="mec[notifications][booking_notification][status]" value="0" />
|
@@ -196,6 +267,7 @@ $notifications = $this->main->get_notifications();
|
|
196 |
<li><span>%%blog_description%%</span>: <?php _e('Your website description', 'modern-events-calendar-lite'); ?></li>
|
197 |
<li><span>%%event_title%%</span>: <?php _e('Event title', 'modern-events-calendar-lite'); ?></li>
|
198 |
<li><span>%%event_link%%</span>: <?php _e('Event link', 'modern-events-calendar-lite'); ?></li>
|
|
|
199 |
<li><span>%%event_organizer_name%%</span>: <?php _e('Organizer name of booked event', 'modern-events-calendar-lite'); ?></li>
|
200 |
<li><span>%%event_organizer_tel%%</span>: <?php _e('Organizer tel of booked event', 'modern-events-calendar-lite'); ?></li>
|
201 |
<li><span>%%event_organizer_email%%</span>: <?php _e('Organizer email of booked event', 'modern-events-calendar-lite'); ?></li>
|
@@ -212,8 +284,6 @@ $notifications = $this->main->get_notifications();
|
|
212 |
</div>
|
213 |
</div>
|
214 |
|
215 |
-
|
216 |
-
|
217 |
<div id="booking_verification" class="mec-options-fields">
|
218 |
|
219 |
<h4 class="mec-form-subtitle"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></h4>
|
@@ -250,6 +320,7 @@ $notifications = $this->main->get_notifications();
|
|
250 |
<li><span>%%blog_description%%</span>: <?php _e('Your website description', 'modern-events-calendar-lite'); ?></li>
|
251 |
<li><span>%%event_title%%</span>: <?php _e('Event title', 'modern-events-calendar-lite'); ?></li>
|
252 |
<li><span>%%event_link%%</span>: <?php _e('Event link', 'modern-events-calendar-lite'); ?></li>
|
|
|
253 |
<li><span>%%event_organizer_name%%</span>: <?php _e('Organizer name of booked event', 'modern-events-calendar-lite'); ?></li>
|
254 |
<li><span>%%event_organizer_tel%%</span>: <?php _e('Organizer tel of booked event', 'modern-events-calendar-lite'); ?></li>
|
255 |
<li><span>%%event_organizer_email%%</span>: <?php _e('Organizer email of booked event', 'modern-events-calendar-lite'); ?></li>
|
@@ -265,7 +336,6 @@ $notifications = $this->main->get_notifications();
|
|
265 |
|
266 |
</div>
|
267 |
|
268 |
-
|
269 |
<div id="booking_confirmation" class="mec-options-fields">
|
270 |
|
271 |
<h4 class="mec-form-subtitle"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></h4>
|
@@ -283,7 +353,7 @@ $notifications = $this->main->get_notifications();
|
|
283 |
<div class="content"><p><?php esc_attr_e('Insert comma separated emails for multiple recipients.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/notifications/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
284 |
</div>
|
285 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
286 |
-
</span>
|
287 |
</div>
|
288 |
<div class="mec-form-row">
|
289 |
<label for="mec_notifications_booking_confirmation_content"><?php _e('Email Content', 'modern-events-calendar-lite'); ?></label>
|
@@ -302,6 +372,7 @@ $notifications = $this->main->get_notifications();
|
|
302 |
<li><span>%%blog_description%%</span>: <?php _e('Your website description', 'modern-events-calendar-lite'); ?></li>
|
303 |
<li><span>%%event_title%%</span>: <?php _e('Event title', 'modern-events-calendar-lite'); ?></li>
|
304 |
<li><span>%%event_link%%</span>: <?php _e('Event link', 'modern-events-calendar-lite'); ?></li>
|
|
|
305 |
<li><span>%%event_organizer_name%%</span>: <?php _e('Organizer name of booked event', 'modern-events-calendar-lite'); ?></li>
|
306 |
<li><span>%%event_organizer_tel%%</span>: <?php _e('Organizer tel of booked event', 'modern-events-calendar-lite'); ?></li>
|
307 |
<li><span>%%event_organizer_email%%</span>: <?php _e('Organizer email of booked event', 'modern-events-calendar-lite'); ?></li>
|
@@ -318,7 +389,6 @@ $notifications = $this->main->get_notifications();
|
|
318 |
|
319 |
</div>
|
320 |
|
321 |
-
|
322 |
<div id="cancellation_notification" class="mec-options-fields">
|
323 |
<h4 class="mec-form-subtitle"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></h4>
|
324 |
<div class="mec-form-row">
|
@@ -342,7 +412,7 @@ $notifications = $this->main->get_notifications();
|
|
342 |
<div class="content"><p><?php esc_attr_e('Insert comma separated emails for multiple recipients.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/notifications/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
343 |
</div>
|
344 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
345 |
-
</span>
|
346 |
</div>
|
347 |
<div class="mec-form-row">
|
348 |
<input type="checkbox" name="mec[notifications][cancellation_notification][send_to_admin]" value="1" id="mec_notifications_cancellation_notification_send_to_admin" <?php echo ((!isset($notifications['cancellation_notification']['send_to_admin']) or $notifications['cancellation_notification']['send_to_admin'] == 1) ? 'checked="checked"' : ''); ?> />
|
@@ -373,6 +443,7 @@ $notifications = $this->main->get_notifications();
|
|
373 |
<li><span>%%blog_description%%</span>: <?php _e('Your website description', 'modern-events-calendar-lite'); ?></li>
|
374 |
<li><span>%%event_title%%</span>: <?php _e('Event title', 'modern-events-calendar-lite'); ?></li>
|
375 |
<li><span>%%event_link%%</span>: <?php _e('Event link', 'modern-events-calendar-lite'); ?></li>
|
|
|
376 |
<li><span>%%event_organizer_name%%</span>: <?php _e('Organizer name of booked event', 'modern-events-calendar-lite'); ?></li>
|
377 |
<li><span>%%event_organizer_tel%%</span>: <?php _e('Organizer tel of booked event', 'modern-events-calendar-lite'); ?></li>
|
378 |
<li><span>%%event_organizer_email%%</span>: <?php _e('Organizer email of booked event', 'modern-events-calendar-lite'); ?></li>
|
@@ -387,7 +458,7 @@ $notifications = $this->main->get_notifications();
|
|
387 |
|
388 |
<div id="admin_notification" class="mec-options-fields">
|
389 |
|
390 |
-
<h4 class="mec-form-subtitle"><?php _e('Admin
|
391 |
<div class="mec-form-row">
|
392 |
<label>
|
393 |
<input type="hidden" name="mec[notifications][admin_notification][status]" value="0" />
|
@@ -409,7 +480,7 @@ $notifications = $this->main->get_notifications();
|
|
409 |
<div class="content"><p><?php esc_attr_e('Insert comma separated emails for multiple recipients.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/notifications/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
410 |
</div>
|
411 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
412 |
-
</span>
|
413 |
</div>
|
414 |
<div class="mec-form-row">
|
415 |
<input type="checkbox" name="mec[notifications][admin_notification][send_to_organizer]" value="1" id="mec_notifications_admin_notification_send_to_organizer" <?php echo ((isset($notifications['admin_notification']['send_to_organizer']) and $notifications['admin_notification']['send_to_organizer'] == 1) ? 'checked="checked"' : ''); ?> />
|
@@ -432,6 +503,7 @@ $notifications = $this->main->get_notifications();
|
|
432 |
<li><span>%%blog_description%%</span>: <?php _e('Your website description', 'modern-events-calendar-lite'); ?></li>
|
433 |
<li><span>%%event_title%%</span>: <?php _e('Event title', 'modern-events-calendar-lite'); ?></li>
|
434 |
<li><span>%%event_link%%</span>: <?php _e('Event link', 'modern-events-calendar-lite'); ?></li>
|
|
|
435 |
<li><span>%%event_organizer_name%%</span>: <?php _e('Organizer name of booked event', 'modern-events-calendar-lite'); ?></li>
|
436 |
<li><span>%%event_organizer_tel%%</span>: <?php _e('Organizer tel of booked event', 'modern-events-calendar-lite'); ?></li>
|
437 |
<li><span>%%event_organizer_email%%</span>: <?php _e('Organizer email of booked event', 'modern-events-calendar-lite'); ?></li>
|
@@ -444,7 +516,6 @@ $notifications = $this->main->get_notifications();
|
|
444 |
</div>
|
445 |
</div>
|
446 |
|
447 |
-
|
448 |
<div id="booking_reminder" class="mec-options-fields">
|
449 |
|
450 |
<h4 class="mec-form-subtitle"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></h4>
|
@@ -472,7 +543,7 @@ $notifications = $this->main->get_notifications();
|
|
472 |
<div class="content"><p><?php esc_attr_e('Insert comma separated emails for multiple recipients.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/notifications/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
473 |
</div>
|
474 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
475 |
-
</span>
|
476 |
</div>
|
477 |
<div class="mec-form-row">
|
478 |
<label for="mec_notifications_booking_reminder_days"><?php _e('Days', 'modern-events-calendar-lite'); ?></label>
|
@@ -483,7 +554,7 @@ $notifications = $this->main->get_notifications();
|
|
483 |
<div class="content"><p><?php esc_attr_e('Insert comma separated emails for multiple recipients.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/notifications/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
484 |
</div>
|
485 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
486 |
-
</span>
|
487 |
</div>
|
488 |
<div class="mec-form-row">
|
489 |
<label for="mec_notifications_booking_reminder_content"><?php _e('Email Content', 'modern-events-calendar-lite'); ?></label>
|
@@ -502,6 +573,7 @@ $notifications = $this->main->get_notifications();
|
|
502 |
<li><span>%%blog_description%%</span>: <?php _e('Your website description', 'modern-events-calendar-lite'); ?></li>
|
503 |
<li><span>%%event_title%%</span>: <?php _e('Event title', 'modern-events-calendar-lite'); ?></li>
|
504 |
<li><span>%%event_link%%</span>: <?php _e('Event link', 'modern-events-calendar-lite'); ?></li>
|
|
|
505 |
<li><span>%%event_organizer_name%%</span>: <?php _e('Organizer name of booked event', 'modern-events-calendar-lite'); ?></li>
|
506 |
<li><span>%%event_organizer_tel%%</span>: <?php _e('Organizer tel of booked event', 'modern-events-calendar-lite'); ?></li>
|
507 |
<li><span>%%event_organizer_email%%</span>: <?php _e('Organizer email of booked event', 'modern-events-calendar-lite'); ?></li>
|
@@ -520,7 +592,7 @@ $notifications = $this->main->get_notifications();
|
|
520 |
|
521 |
<?php endif; ?>
|
522 |
|
523 |
-
<div id="new_event" class="mec-options-fields
|
524 |
|
525 |
<h4 class="mec-form-subtitle"><?php _e('New Event', 'modern-events-calendar-lite'); ?></h4>
|
526 |
<div class="mec-form-row">
|
@@ -621,9 +693,6 @@ jQuery("#mec_notifications_form").on('submit', function(event)
|
|
621 |
});
|
622 |
</script>
|
623 |
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
<script type="text/javascript">
|
628 |
jQuery(document).ready(function()
|
629 |
{
|
@@ -642,6 +711,8 @@ jQuery(document).ready(function()
|
|
642 |
scrollTop: jQuery("#"+ContentId+"").offset().top - 140
|
643 |
}, 300);
|
644 |
});
|
|
|
|
|
645 |
});
|
646 |
|
647 |
jQuery(".wns-be-sidebar .pr-be-group-menu-li").on('click', function(event)
|
@@ -651,8 +722,6 @@ jQuery(document).ready(function()
|
|
651 |
});
|
652 |
});
|
653 |
|
654 |
-
|
655 |
-
|
656 |
jQuery("#mec_notifications_form").on('submit', function(event)
|
657 |
{
|
658 |
event.preventDefault();
|
@@ -664,7 +733,7 @@ jQuery("#mec_notifications_form").on('submit', function(event)
|
|
664 |
if(jQuery(".mec-purchase-verify").text() != '<?php echo esc_js(esc_attr__('Verified', 'modern-events-calendar-lite')); ?>')
|
665 |
{
|
666 |
jQuery(".mec-purchase-verify").text("<?php echo esc_js(esc_attr__('Checking ...', 'modern-events-calendar-lite')); ?>");
|
667 |
-
}
|
668 |
|
669 |
var settings = jQuery("#mec_notifications_form").serialize();
|
670 |
jQuery.ajax(
|
5 |
$notifications = $this->main->get_notifications();
|
6 |
?>
|
7 |
|
8 |
+
<div class="wns-be-container wns-be-container-sticky">
|
9 |
<div id="wns-be-infobar">
|
10 |
<a href="" id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
11 |
</div>
|
22 |
<i class="mec-sl-settings"></i>
|
23 |
<span class="wns-be-group-menu-title"><?php _e('Settings', 'modern-events-calendar-lite'); ?></span>
|
24 |
</a>
|
25 |
+
<ul id="" class="submneu-hover">
|
26 |
+
<li class="submenu-item">
|
27 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#general_option"><?php _e('General Options', 'modern-events-calendar-lite'); ?></a>
|
28 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#archive_options"><?php _e('Archive Pages', 'modern-events-calendar-lite'); ?></a>
|
29 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#slug_option"><?php _e('Slugs/Permalinks', 'modern-events-calendar-lite'); ?></a>
|
30 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#currency_option"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></a>
|
31 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#recaptcha_option"><?php _e('Google Recaptcha Options', 'modern-events-calendar-lite'); ?></a>
|
32 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#fes_option"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></a>
|
33 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#user_profile_options"><?php _e('User Profile', 'modern-events-calendar-lite'); ?></a>
|
34 |
+
<?php if($this->main->getPRO()): ?>
|
35 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#mailchimp_option"><?php _e('Mailchimp Integration', 'modern-events-calendar-lite'); ?></a>
|
36 |
+
<?php endif; ?>
|
37 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#uploadfield_option"><?php _e('Upload Field', 'modern-events-calendar-lite'); ?></a>
|
38 |
+
</li>
|
39 |
+
</ul>
|
40 |
+
</li>
|
41 |
+
|
42 |
+
<li class="wns-be-group-menu-li">
|
43 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>" id="" class="wns-be-group-tab-link-a">
|
44 |
+
<i class="mec-sl-note"></i>
|
45 |
+
<span class="wns-be-group-menu-title"><?php echo __('Single Event', 'modern-events-calendar-lite'); ?></span>
|
46 |
+
</a>
|
47 |
+
<ul id="" class="submneu-hover">
|
48 |
+
<li class="submenu-item">
|
49 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#event_options"><?php _e('Single Event Page', 'modern-events-calendar-lite'); ?></a>
|
50 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#countdown_option"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></a>
|
51 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#exceptional_option"><?php _e('Exceptional Days', 'modern-events-calendar-lite'); ?></a>
|
52 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_organizers"><?php _e('Additional Organizers', 'modern-events-calendar-lite'); ?></a>
|
53 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_locations"><?php _e('Additional Locations', 'modern-events-calendar-lite'); ?></a>
|
54 |
+
</li>
|
55 |
+
</ul>
|
56 |
+
</li>
|
57 |
+
|
58 |
+
<?php if($this->main->getPRO()): ?>
|
59 |
+
|
60 |
+
<li class="wns-be-group-menu-li">
|
61 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>" id="" class="wns-be-group-tab-link-a">
|
62 |
+
<i class="mec-sl-credit-card"></i>
|
63 |
+
<span class="wns-be-group-menu-title"><?php echo __('Booking', 'modern-events-calendar-lite'); ?></span>
|
64 |
+
</a>
|
65 |
+
<ul id="" class="submneu-hover">
|
66 |
+
<li class="submenu-item">
|
67 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#booking_option"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
68 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
69 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#coupon_option"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></a>
|
70 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#taxes_option"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></a>
|
71 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#ticket_variations_option"><?php _e('Ticket Variations & Options', 'modern-events-calendar-lite'); ?></a>
|
72 |
+
<?php endif; ?>
|
73 |
+
</li>
|
74 |
+
</ul>
|
75 |
+
</li>
|
76 |
+
|
77 |
+
<?php endif; ?>
|
78 |
+
|
79 |
+
<li class="wns-be-group-menu-li">
|
80 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>" id="" class="wns-be-group-tab-link-a">
|
81 |
+
<i class="mec-sl-grid"></i>
|
82 |
+
<span class="wns-be-group-menu-title"><?php echo __('Modules', 'modern-events-calendar-lite'); ?></span>
|
83 |
+
</a>
|
84 |
+
<ul id="" class="submneu-hover">
|
85 |
+
<li class="submenu-item">
|
86 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#speakers_option"><?php _e('Speakers', 'modern-events-calendar-lite'); ?></a>
|
87 |
+
<?php if($this->main->getPRO()): ?>
|
88 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#googlemap_option"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></a>
|
89 |
+
<?php endif; ?>
|
90 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#export_module_option"><?php _e('Export Options', 'modern-events-calendar-lite'); ?></a>
|
91 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#time_module_option"><?php _e('Local Time', 'modern-events-calendar-lite'); ?></a>
|
92 |
+
<?php if($this->main->getPRO()): ?>
|
93 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#qrcode_module_option"><?php _e('QR Code', 'modern-events-calendar-lite'); ?></a>
|
94 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#weather_module_option"><?php _e('Weather', 'modern-events-calendar-lite'); ?></a>
|
95 |
+
<?php endif; ?>
|
96 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#social_options"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></a>
|
97 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#next_event_option"><?php _e('Next Event', 'modern-events-calendar-lite'); ?></a>
|
98 |
+
<?php if($this->main->getPRO()): ?>
|
99 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#buddy_option"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></a>
|
100 |
+
<?php endif; ?>
|
101 |
+
</li>
|
102 |
+
</ul>
|
103 |
</li>
|
104 |
|
105 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
109 |
<i class="mec-sl-layers"></i>
|
110 |
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
111 |
</a>
|
112 |
+
</li>
|
113 |
|
114 |
<li class="wns-be-group-menu-li">
|
115 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
124 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>" id="" class="wns-be-group-tab-link-a">
|
125 |
<span class="extra-icon">
|
126 |
<i class="mec-sl-arrow-down"></i>
|
127 |
+
</span>
|
128 |
<i class="mec-sl-envelope"></i>
|
129 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
130 |
</a>
|
132 |
<ul id="" class="subsection" style="display: block;">
|
133 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
134 |
<li id="" class="pr-be-group-menu-li active">
|
135 |
+
<a data-id="booking_notification" class="wns-be-group-tab-link-a WnTabLinks">
|
136 |
+
<span class="pr-be-group-menu-title"><?php _e('Booking', 'modern-events-calendar-lite'); ?></span>
|
137 |
</a>
|
138 |
</li>
|
139 |
|
140 |
<li id="" class="pr-be-group-menu-li">
|
141 |
+
<a data-id="booking_verification" class="wns-be-group-tab-link-a WnTabLinks">
|
142 |
<span class="pr-be-group-menu-title"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></span>
|
143 |
</a>
|
144 |
</li>
|
145 |
|
146 |
<li id="" class="pr-be-group-menu-li">
|
147 |
+
<a data-id="booking_confirmation" class="wns-be-group-tab-link-a WnTabLinks">
|
148 |
<span class="pr-be-group-menu-title"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></span>
|
149 |
</a>
|
150 |
</li>
|
151 |
|
152 |
<li id="" class="pr-be-group-menu-li">
|
153 |
+
<a data-id="cancellation_notification" class="wns-be-group-tab-link-a WnTabLinks">
|
154 |
<span class="pr-be-group-menu-title"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></span>
|
155 |
</a>
|
156 |
</li>
|
157 |
|
158 |
<li id="" class="pr-be-group-menu-li">
|
159 |
+
<a data-id="admin_notification" class="wns-be-group-tab-link-a WnTabLinks">
|
160 |
+
<span class="pr-be-group-menu-title"><?php _e('Admin', 'modern-events-calendar-lite'); ?></span>
|
161 |
</a>
|
162 |
</li>
|
163 |
|
164 |
<li id="" class="pr-be-group-menu-li">
|
165 |
+
<a data-id="booking_reminder" class="wns-be-group-tab-link-a WnTabLinks">
|
166 |
<span class="pr-be-group-menu-title"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></span>
|
167 |
</a>
|
168 |
</li>
|
169 |
<?php endif;?>
|
170 |
<li id="" class="pr-be-group-menu-li <?php if($this->settings['booking_status'] == 0) echo 'active'; ?>">
|
171 |
+
<a data-id="new_event" class="wns-be-group-tab-link-a WnTabLinks">
|
172 |
<span class="pr-be-group-menu-title"><?php _e('New Event', 'modern-events-calendar-lite'); ?></span>
|
173 |
</a>
|
174 |
+
</li>
|
175 |
|
176 |
</ul>
|
177 |
|
205 |
</a>
|
206 |
</li>
|
207 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
208 |
</ul>
|
209 |
</div>
|
210 |
|
222 |
|
223 |
<div id="booking_notification" class="mec-options-fields active">
|
224 |
|
225 |
+
<h4 class="mec-form-subtitle"><?php _e('Booking', 'modern-events-calendar-lite'); ?></h4>
|
226 |
<div class="mec-form-row">
|
227 |
<label>
|
228 |
<input type="hidden" name="mec[notifications][booking_notification][status]" value="0" />
|
267 |
<li><span>%%blog_description%%</span>: <?php _e('Your website description', 'modern-events-calendar-lite'); ?></li>
|
268 |
<li><span>%%event_title%%</span>: <?php _e('Event title', 'modern-events-calendar-lite'); ?></li>
|
269 |
<li><span>%%event_link%%</span>: <?php _e('Event link', 'modern-events-calendar-lite'); ?></li>
|
270 |
+
<li><span>%%event_speaker_name%%</span>: <?php _e('Speaker name of booked event', 'modern-events-calendar-lite'); ?></li>
|
271 |
<li><span>%%event_organizer_name%%</span>: <?php _e('Organizer name of booked event', 'modern-events-calendar-lite'); ?></li>
|
272 |
<li><span>%%event_organizer_tel%%</span>: <?php _e('Organizer tel of booked event', 'modern-events-calendar-lite'); ?></li>
|
273 |
<li><span>%%event_organizer_email%%</span>: <?php _e('Organizer email of booked event', 'modern-events-calendar-lite'); ?></li>
|
284 |
</div>
|
285 |
</div>
|
286 |
|
|
|
|
|
287 |
<div id="booking_verification" class="mec-options-fields">
|
288 |
|
289 |
<h4 class="mec-form-subtitle"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></h4>
|
320 |
<li><span>%%blog_description%%</span>: <?php _e('Your website description', 'modern-events-calendar-lite'); ?></li>
|
321 |
<li><span>%%event_title%%</span>: <?php _e('Event title', 'modern-events-calendar-lite'); ?></li>
|
322 |
<li><span>%%event_link%%</span>: <?php _e('Event link', 'modern-events-calendar-lite'); ?></li>
|
323 |
+
<li><span>%%event_speaker_name%%</span>: <?php _e('Speaker name of booked event', 'modern-events-calendar-lite'); ?></li>
|
324 |
<li><span>%%event_organizer_name%%</span>: <?php _e('Organizer name of booked event', 'modern-events-calendar-lite'); ?></li>
|
325 |
<li><span>%%event_organizer_tel%%</span>: <?php _e('Organizer tel of booked event', 'modern-events-calendar-lite'); ?></li>
|
326 |
<li><span>%%event_organizer_email%%</span>: <?php _e('Organizer email of booked event', 'modern-events-calendar-lite'); ?></li>
|
336 |
|
337 |
</div>
|
338 |
|
|
|
339 |
<div id="booking_confirmation" class="mec-options-fields">
|
340 |
|
341 |
<h4 class="mec-form-subtitle"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></h4>
|
353 |
<div class="content"><p><?php esc_attr_e('Insert comma separated emails for multiple recipients.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/notifications/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
354 |
</div>
|
355 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
356 |
+
</span>
|
357 |
</div>
|
358 |
<div class="mec-form-row">
|
359 |
<label for="mec_notifications_booking_confirmation_content"><?php _e('Email Content', 'modern-events-calendar-lite'); ?></label>
|
372 |
<li><span>%%blog_description%%</span>: <?php _e('Your website description', 'modern-events-calendar-lite'); ?></li>
|
373 |
<li><span>%%event_title%%</span>: <?php _e('Event title', 'modern-events-calendar-lite'); ?></li>
|
374 |
<li><span>%%event_link%%</span>: <?php _e('Event link', 'modern-events-calendar-lite'); ?></li>
|
375 |
+
<li><span>%%event_speaker_name%%</span>: <?php _e('Speaker name of booked event', 'modern-events-calendar-lite'); ?></li>
|
376 |
<li><span>%%event_organizer_name%%</span>: <?php _e('Organizer name of booked event', 'modern-events-calendar-lite'); ?></li>
|
377 |
<li><span>%%event_organizer_tel%%</span>: <?php _e('Organizer tel of booked event', 'modern-events-calendar-lite'); ?></li>
|
378 |
<li><span>%%event_organizer_email%%</span>: <?php _e('Organizer email of booked event', 'modern-events-calendar-lite'); ?></li>
|
389 |
|
390 |
</div>
|
391 |
|
|
|
392 |
<div id="cancellation_notification" class="mec-options-fields">
|
393 |
<h4 class="mec-form-subtitle"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></h4>
|
394 |
<div class="mec-form-row">
|
412 |
<div class="content"><p><?php esc_attr_e('Insert comma separated emails for multiple recipients.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/notifications/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
413 |
</div>
|
414 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
415 |
+
</span>
|
416 |
</div>
|
417 |
<div class="mec-form-row">
|
418 |
<input type="checkbox" name="mec[notifications][cancellation_notification][send_to_admin]" value="1" id="mec_notifications_cancellation_notification_send_to_admin" <?php echo ((!isset($notifications['cancellation_notification']['send_to_admin']) or $notifications['cancellation_notification']['send_to_admin'] == 1) ? 'checked="checked"' : ''); ?> />
|
443 |
<li><span>%%blog_description%%</span>: <?php _e('Your website description', 'modern-events-calendar-lite'); ?></li>
|
444 |
<li><span>%%event_title%%</span>: <?php _e('Event title', 'modern-events-calendar-lite'); ?></li>
|
445 |
<li><span>%%event_link%%</span>: <?php _e('Event link', 'modern-events-calendar-lite'); ?></li>
|
446 |
+
<li><span>%%event_speaker_name%%</span>: <?php _e('Speaker name of booked event', 'modern-events-calendar-lite'); ?></li>
|
447 |
<li><span>%%event_organizer_name%%</span>: <?php _e('Organizer name of booked event', 'modern-events-calendar-lite'); ?></li>
|
448 |
<li><span>%%event_organizer_tel%%</span>: <?php _e('Organizer tel of booked event', 'modern-events-calendar-lite'); ?></li>
|
449 |
<li><span>%%event_organizer_email%%</span>: <?php _e('Organizer email of booked event', 'modern-events-calendar-lite'); ?></li>
|
458 |
|
459 |
<div id="admin_notification" class="mec-options-fields">
|
460 |
|
461 |
+
<h4 class="mec-form-subtitle"><?php _e('Admin', 'modern-events-calendar-lite'); ?></h4>
|
462 |
<div class="mec-form-row">
|
463 |
<label>
|
464 |
<input type="hidden" name="mec[notifications][admin_notification][status]" value="0" />
|
480 |
<div class="content"><p><?php esc_attr_e('Insert comma separated emails for multiple recipients.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/notifications/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
481 |
</div>
|
482 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
483 |
+
</span>
|
484 |
</div>
|
485 |
<div class="mec-form-row">
|
486 |
<input type="checkbox" name="mec[notifications][admin_notification][send_to_organizer]" value="1" id="mec_notifications_admin_notification_send_to_organizer" <?php echo ((isset($notifications['admin_notification']['send_to_organizer']) and $notifications['admin_notification']['send_to_organizer'] == 1) ? 'checked="checked"' : ''); ?> />
|
503 |
<li><span>%%blog_description%%</span>: <?php _e('Your website description', 'modern-events-calendar-lite'); ?></li>
|
504 |
<li><span>%%event_title%%</span>: <?php _e('Event title', 'modern-events-calendar-lite'); ?></li>
|
505 |
<li><span>%%event_link%%</span>: <?php _e('Event link', 'modern-events-calendar-lite'); ?></li>
|
506 |
+
<li><span>%%event_speaker_name%%</span>: <?php _e('Speaker name of booked event', 'modern-events-calendar-lite'); ?></li>
|
507 |
<li><span>%%event_organizer_name%%</span>: <?php _e('Organizer name of booked event', 'modern-events-calendar-lite'); ?></li>
|
508 |
<li><span>%%event_organizer_tel%%</span>: <?php _e('Organizer tel of booked event', 'modern-events-calendar-lite'); ?></li>
|
509 |
<li><span>%%event_organizer_email%%</span>: <?php _e('Organizer email of booked event', 'modern-events-calendar-lite'); ?></li>
|
516 |
</div>
|
517 |
</div>
|
518 |
|
|
|
519 |
<div id="booking_reminder" class="mec-options-fields">
|
520 |
|
521 |
<h4 class="mec-form-subtitle"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></h4>
|
543 |
<div class="content"><p><?php esc_attr_e('Insert comma separated emails for multiple recipients.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/notifications/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
544 |
</div>
|
545 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
546 |
+
</span>
|
547 |
</div>
|
548 |
<div class="mec-form-row">
|
549 |
<label for="mec_notifications_booking_reminder_days"><?php _e('Days', 'modern-events-calendar-lite'); ?></label>
|
554 |
<div class="content"><p><?php esc_attr_e('Insert comma separated emails for multiple recipients.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/notifications/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
555 |
</div>
|
556 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
557 |
+
</span>
|
558 |
</div>
|
559 |
<div class="mec-form-row">
|
560 |
<label for="mec_notifications_booking_reminder_content"><?php _e('Email Content', 'modern-events-calendar-lite'); ?></label>
|
573 |
<li><span>%%blog_description%%</span>: <?php _e('Your website description', 'modern-events-calendar-lite'); ?></li>
|
574 |
<li><span>%%event_title%%</span>: <?php _e('Event title', 'modern-events-calendar-lite'); ?></li>
|
575 |
<li><span>%%event_link%%</span>: <?php _e('Event link', 'modern-events-calendar-lite'); ?></li>
|
576 |
+
<li><span>%%event_speaker_name%%</span>: <?php _e('Speaker name of booked event', 'modern-events-calendar-lite'); ?></li>
|
577 |
<li><span>%%event_organizer_name%%</span>: <?php _e('Organizer name of booked event', 'modern-events-calendar-lite'); ?></li>
|
578 |
<li><span>%%event_organizer_tel%%</span>: <?php _e('Organizer tel of booked event', 'modern-events-calendar-lite'); ?></li>
|
579 |
<li><span>%%event_organizer_email%%</span>: <?php _e('Organizer email of booked event', 'modern-events-calendar-lite'); ?></li>
|
592 |
|
593 |
<?php endif; ?>
|
594 |
|
595 |
+
<div id="new_event" class="mec-options-fields <?php if($this->settings['booking_status'] == 0) echo 'active'; ?>">
|
596 |
|
597 |
<h4 class="mec-form-subtitle"><?php _e('New Event', 'modern-events-calendar-lite'); ?></h4>
|
598 |
<div class="mec-form-row">
|
693 |
});
|
694 |
</script>
|
695 |
|
|
|
|
|
|
|
696 |
<script type="text/javascript">
|
697 |
jQuery(document).ready(function()
|
698 |
{
|
711 |
scrollTop: jQuery("#"+ContentId+"").offset().top - 140
|
712 |
}, 300);
|
713 |
});
|
714 |
+
var hash = window.location.hash.replace('#', '');
|
715 |
+
$('[data-id="'+hash+'"]').trigger('click');
|
716 |
});
|
717 |
|
718 |
jQuery(".wns-be-sidebar .pr-be-group-menu-li").on('click', function(event)
|
722 |
});
|
723 |
});
|
724 |
|
|
|
|
|
725 |
jQuery("#mec_notifications_form").on('submit', function(event)
|
726 |
{
|
727 |
event.preventDefault();
|
733 |
if(jQuery(".mec-purchase-verify").text() != '<?php echo esc_js(esc_attr__('Verified', 'modern-events-calendar-lite')); ?>')
|
734 |
{
|
735 |
jQuery(".mec-purchase-verify").text("<?php echo esc_js(esc_attr__('Checking ...', 'modern-events-calendar-lite')); ?>");
|
736 |
+
}
|
737 |
|
738 |
var settings = jQuery("#mec_notifications_form").serialize();
|
739 |
jQuery.ajax(
|
app/features/mec/regform.php
CHANGED
@@ -41,7 +41,7 @@ if ( ! $mec_email ) {
|
|
41 |
}
|
42 |
?>
|
43 |
<?php do_action( 'mec_reg_form_start' ); ?>
|
44 |
-
<div class="wns-be-container">
|
45 |
|
46 |
<div id="wns-be-infobar">
|
47 |
<a href="" id="" class="dpr-btn dpr-save-btn"><?php _e( 'Save Changes', 'modern-events-calendar-lite'); ?></a>
|
@@ -59,8 +59,86 @@ if ( ! $mec_email ) {
|
|
59 |
<i class="mec-sl-settings"></i>
|
60 |
<span class="wns-be-group-menu-title"><?php _e( 'Settings', 'modern-events-calendar-lite'); ?></span>
|
61 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
</li>
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
<?php if ( $this->main->getPRO() and isset( $this->settings['booking_status'] ) and $this->settings['booking_status'] ) : ?>
|
65 |
<li class="wns-be-group-menu-li active">
|
66 |
<a href="<?php echo $this->main->add_qs_var( 'tab', 'MEC-reg-form' ); ?>" id="" class="wns-be-group-tab-link-a">
|
@@ -82,6 +160,19 @@ if ( ! $mec_email ) {
|
|
82 |
<i class="mec-sl-envelope"></i>
|
83 |
<span class="wns-be-group-menu-title"><?php _e( 'Notifications', 'modern-events-calendar-lite'); ?></span>
|
84 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
</li>
|
86 |
|
87 |
<li class="wns-be-group-menu-li">
|
@@ -112,13 +203,6 @@ if ( ! $mec_email ) {
|
|
112 |
</a>
|
113 |
</li>
|
114 |
|
115 |
-
<!-- <li class="wns-be-group-menu-li">
|
116 |
-
<a href="<?php echo $this->main->add_qs_var( 'tab', 'MEC-support' ); ?>" id="" class="wns-be-group-tab-link-a">
|
117 |
-
<i class="mec-sl-support"></i>
|
118 |
-
<span class="wns-be-group-menu-title"><?php _e( 'Support', 'modern-events-calendar-lite'); ?></span>
|
119 |
-
</a>
|
120 |
-
</li> -->
|
121 |
-
|
122 |
</ul>
|
123 |
</div>
|
124 |
|
@@ -133,7 +217,7 @@ if ( ! $mec_email ) {
|
|
133 |
<?php do_action( 'before_mec_reg_fields_form' ); ?>
|
134 |
<form id="mec_reg_fields_form">
|
135 |
<?php do_action( 'mec_reg_fields_form_start' ); ?>
|
136 |
-
<div class="mec-form-row" id="mec_reg_form_container">
|
137 |
<?php /** Don't remove this hidden field **/ ?>
|
138 |
<input type="hidden" name="mec[reg_fields]" value="" />
|
139 |
|
41 |
}
|
42 |
?>
|
43 |
<?php do_action( 'mec_reg_form_start' ); ?>
|
44 |
+
<div class="wns-be-container wns-be-container-sticky">
|
45 |
|
46 |
<div id="wns-be-infobar">
|
47 |
<a href="" id="" class="dpr-btn dpr-save-btn"><?php _e( 'Save Changes', 'modern-events-calendar-lite'); ?></a>
|
59 |
<i class="mec-sl-settings"></i>
|
60 |
<span class="wns-be-group-menu-title"><?php _e( 'Settings', 'modern-events-calendar-lite'); ?></span>
|
61 |
</a>
|
62 |
+
<ul id="" class="submneu-hover">
|
63 |
+
<li class="submenu-item">
|
64 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#general_option"><?php _e('General Options', 'modern-events-calendar-lite'); ?></a>
|
65 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#archive_options"><?php _e('Archive Pages', 'modern-events-calendar-lite'); ?></a>
|
66 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#slug_option"><?php _e('Slugs/Permalinks', 'modern-events-calendar-lite'); ?></a>
|
67 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#currency_option"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></a>
|
68 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#recaptcha_option"><?php _e('Google Recaptcha Options', 'modern-events-calendar-lite'); ?></a>
|
69 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#fes_option"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></a>
|
70 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#user_profile_options"><?php _e('User Profile', 'modern-events-calendar-lite'); ?></a>
|
71 |
+
<?php if($this->main->getPRO()): ?>
|
72 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#mailchimp_option"><?php _e('Mailchimp Integration', 'modern-events-calendar-lite'); ?></a>
|
73 |
+
<?php endif; ?>
|
74 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#uploadfield_option"><?php _e('Upload Field', 'modern-events-calendar-lite'); ?></a>
|
75 |
+
</li>
|
76 |
+
</ul>
|
77 |
</li>
|
78 |
|
79 |
+
<li class="wns-be-group-menu-li">
|
80 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>" id="" class="wns-be-group-tab-link-a">
|
81 |
+
<i class="mec-sl-note"></i>
|
82 |
+
<span class="wns-be-group-menu-title"><?php echo __('Single Event', 'modern-events-calendar-lite'); ?></span>
|
83 |
+
</a>
|
84 |
+
<ul id="" class="submneu-hover">
|
85 |
+
<li class="submenu-item">
|
86 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#event_options"><?php _e('Single Event Page', 'modern-events-calendar-lite'); ?></a>
|
87 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#countdown_option"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></a>
|
88 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#exceptional_option"><?php _e('Exceptional Days', 'modern-events-calendar-lite'); ?></a>
|
89 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_organizers"><?php _e('Additional Organizers', 'modern-events-calendar-lite'); ?></a>
|
90 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_locations"><?php _e('Additional Locations', 'modern-events-calendar-lite'); ?></a>
|
91 |
+
</li>
|
92 |
+
</ul>
|
93 |
+
</li>
|
94 |
+
|
95 |
+
<?php if($this->main->getPRO()): ?>
|
96 |
+
|
97 |
+
<li class="wns-be-group-menu-li">
|
98 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>" id="" class="wns-be-group-tab-link-a">
|
99 |
+
<i class="mec-sl-credit-card"></i>
|
100 |
+
<span class="wns-be-group-menu-title"><?php echo __('Booking', 'modern-events-calendar-lite'); ?></span>
|
101 |
+
</a>
|
102 |
+
<ul id="" class="submneu-hover">
|
103 |
+
<li class="submenu-item">
|
104 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#booking_option"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
105 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
106 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#coupon_option"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></a>
|
107 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#taxes_option"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></a>
|
108 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#ticket_variations_option"><?php _e('Ticket Variations & Options', 'modern-events-calendar-lite'); ?></a>
|
109 |
+
<?php endif; ?>
|
110 |
+
</li>
|
111 |
+
</ul>
|
112 |
+
</li>
|
113 |
+
|
114 |
+
<?php endif; ?>
|
115 |
+
|
116 |
+
<li class="wns-be-group-menu-li">
|
117 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>" id="" class="wns-be-group-tab-link-a">
|
118 |
+
<i class="mec-sl-grid"></i>
|
119 |
+
<span class="wns-be-group-menu-title"><?php echo __('Modules', 'modern-events-calendar-lite'); ?></span>
|
120 |
+
</a>
|
121 |
+
<ul id="" class="submneu-hover">
|
122 |
+
<li class="submenu-item">
|
123 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#speakers_option"><?php _e('Speakers', 'modern-events-calendar-lite'); ?></a>
|
124 |
+
<?php if($this->main->getPRO()): ?>
|
125 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#googlemap_option"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></a>
|
126 |
+
<?php endif; ?>
|
127 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#export_module_option"><?php _e('Export Options', 'modern-events-calendar-lite'); ?></a>
|
128 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#time_module_option"><?php _e('Local Time', 'modern-events-calendar-lite'); ?></a>
|
129 |
+
<?php if($this->main->getPRO()): ?>
|
130 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#qrcode_module_option"><?php _e('QR Code', 'modern-events-calendar-lite'); ?></a>
|
131 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#weather_module_option"><?php _e('Weather', 'modern-events-calendar-lite'); ?></a>
|
132 |
+
<?php endif; ?>
|
133 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#social_options"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></a>
|
134 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#next_event_option"><?php _e('Next Event', 'modern-events-calendar-lite'); ?></a>
|
135 |
+
<?php if($this->main->getPRO()): ?>
|
136 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#buddy_option"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></a>
|
137 |
+
<?php endif; ?>
|
138 |
+
</li>
|
139 |
+
</ul>
|
140 |
+
</li>
|
141 |
+
|
142 |
<?php if ( $this->main->getPRO() and isset( $this->settings['booking_status'] ) and $this->settings['booking_status'] ) : ?>
|
143 |
<li class="wns-be-group-menu-li active">
|
144 |
<a href="<?php echo $this->main->add_qs_var( 'tab', 'MEC-reg-form' ); ?>" id="" class="wns-be-group-tab-link-a">
|
160 |
<i class="mec-sl-envelope"></i>
|
161 |
<span class="wns-be-group-menu-title"><?php _e( 'Notifications', 'modern-events-calendar-lite'); ?></span>
|
162 |
</a>
|
163 |
+
<ul id="" class="submneu-hover">
|
164 |
+
<li class="submenu-item">
|
165 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
166 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_notification"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
167 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_verification"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></a>
|
168 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_confirmation"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></a>
|
169 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#cancellation_notification"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></a>
|
170 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#admin_notification"><?php _e('Admin', 'modern-events-calendar-lite'); ?></a>
|
171 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_reminder"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></a>
|
172 |
+
<?php endif; ?>
|
173 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#new_event"><?php _e('New Event', 'modern-events-calendar-lite'); ?></a>
|
174 |
+
</li>
|
175 |
+
</ul>
|
176 |
</li>
|
177 |
|
178 |
<li class="wns-be-group-menu-li">
|
203 |
</a>
|
204 |
</li>
|
205 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
</ul>
|
207 |
</div>
|
208 |
|
217 |
<?php do_action( 'before_mec_reg_fields_form' ); ?>
|
218 |
<form id="mec_reg_fields_form">
|
219 |
<?php do_action( 'mec_reg_fields_form_start' ); ?>
|
220 |
+
<div class="mec-form-row" id="mec_reg_form_container">
|
221 |
<?php /** Don't remove this hidden field **/ ?>
|
222 |
<input type="hidden" name="mec[reg_fields]" value="" />
|
223 |
|
app/features/mec/settings.php
CHANGED
@@ -3,12 +3,9 @@
|
|
3 |
defined('MECEXEC') or die();
|
4 |
|
5 |
$settings = $this->main->get_settings();
|
6 |
-
$socials = $this->main->get_social_networks();
|
7 |
$archive_skins = $this->main->get_archive_skins();
|
8 |
$category_skins = $this->main->get_category_skins();
|
9 |
|
10 |
-
$fees = isset($settings['fees']) ? $settings['fees'] : array();
|
11 |
-
$ticket_variations = isset($settings['ticket_variations']) ? $settings['ticket_variations'] : array();
|
12 |
$currencies = $this->main->get_currencies();
|
13 |
|
14 |
// WordPress Pages
|
@@ -21,8 +18,14 @@ if($this->getPRO())
|
|
21 |
$envato = $this->getEnvato();
|
22 |
$verify = $envato->get_MEC_info('dl');
|
23 |
}
|
|
|
24 |
?>
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
26 |
<div id="wns-be-infobar">
|
27 |
<input id="mec-search-settings" type="text" placeholder="Search..">
|
28 |
<a id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
@@ -30,7 +33,7 @@ if($this->getPRO())
|
|
30 |
|
31 |
<div class="wns-be-sidebar">
|
32 |
<ul class="wns-be-group-menu">
|
33 |
-
|
34 |
<li class="wns-be-group-menu-li has-sub active">
|
35 |
|
36 |
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>" id="" class="wns-be-group-tab-link-a">
|
@@ -44,167 +47,126 @@ if($this->getPRO())
|
|
44 |
<ul id="" class="subsection" style="display: block;">
|
45 |
|
46 |
<li id="" class="pr-be-group-menu-li active">
|
47 |
-
<a data-id=
|
48 |
<span class="pr-be-group-menu-title"><?php _e('General Options', 'modern-events-calendar-lite'); ?></span>
|
49 |
</a>
|
50 |
</li>
|
51 |
|
52 |
<li id="" class="pr-be-group-menu-li">
|
53 |
-
<a data-id=
|
54 |
-
<span class="pr-be-group-menu-title"><?php _e('Archive
|
55 |
</a>
|
56 |
</li>
|
57 |
|
58 |
<li id="" class="pr-be-group-menu-li">
|
59 |
-
<a data-id=
|
60 |
<span class="pr-be-group-menu-title"><?php _e('Slugs/Permalinks', 'modern-events-calendar-lite'); ?></span>
|
61 |
</a>
|
62 |
</li>
|
63 |
|
64 |
<li id="" class="pr-be-group-menu-li">
|
65 |
-
<a data-id=
|
66 |
-
<span class="pr-be-group-menu-title"><?php _e('Event Details/Single Event Page', 'modern-events-calendar-lite'); ?></span>
|
67 |
-
</a>
|
68 |
-
</li>
|
69 |
-
|
70 |
-
<li id="" class="pr-be-group-menu-li">
|
71 |
-
<a id="" data-id= "currency_option" class="wns-be-group-tab-link-a WnTabLinks">
|
72 |
<span class="pr-be-group-menu-title"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></span>
|
73 |
</a>
|
74 |
-
|
75 |
-
|
76 |
-
<li id="" class="pr-be-group-menu-li">
|
77 |
-
<a data-id= "speakers_option" class="wns-be-group-tab-link-a WnTabLinks">
|
78 |
-
<span class="pr-be-group-menu-title"><?php _e('Speakers', 'modern-events-calendar-lite'); ?></span>
|
79 |
-
</a>
|
80 |
-
</li>
|
81 |
|
82 |
<li id="" class="pr-be-group-menu-li">
|
83 |
-
<a data-id=
|
84 |
-
<span class="pr-be-group-menu-title"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></span>
|
85 |
-
</a>
|
86 |
-
</li>
|
87 |
-
|
88 |
-
<li id="" class="pr-be-group-menu-li">
|
89 |
-
<a id="" data-id= "recaptcha_option" class="wns-be-group-tab-link-a WnTabLinks">
|
90 |
<span class="pr-be-group-menu-title"><?php _e('Google Recaptcha Options', 'modern-events-calendar-lite'); ?></span>
|
91 |
</a>
|
92 |
</li>
|
93 |
|
94 |
<li id="" class="pr-be-group-menu-li">
|
95 |
-
<a data-id=
|
96 |
-
<span class="pr-be-group-menu-title"><?php _e('Export Module Options', 'modern-events-calendar-lite'); ?></span>
|
97 |
-
</a>
|
98 |
-
</li>
|
99 |
-
|
100 |
-
<li id="" class="pr-be-group-menu-li">
|
101 |
-
<a data-id= "time_module_option" class="wns-be-group-tab-link-a WnTabLinks">
|
102 |
-
<span class="pr-be-group-menu-title"><?php _e('Local Time Module', 'modern-events-calendar-lite'); ?></span>
|
103 |
-
</a>
|
104 |
-
</li>
|
105 |
-
|
106 |
-
<li id="" class="pr-be-group-menu-li">
|
107 |
-
<a data-id= "qrcode_module_option" class="wns-be-group-tab-link-a WnTabLinks">
|
108 |
-
<span class="pr-be-group-menu-title"><?php _e('QR Code Module', 'modern-events-calendar-lite'); ?></span>
|
109 |
-
</a>
|
110 |
-
</li>
|
111 |
-
|
112 |
-
<li id="" class="pr-be-group-menu-li">
|
113 |
-
<a data-id= "weather_module_option" class="wns-be-group-tab-link-a WnTabLinks">
|
114 |
-
<span class="pr-be-group-menu-title"><?php _e('Weather Module', 'modern-events-calendar-lite'); ?></span>
|
115 |
-
</a>
|
116 |
-
</li>
|
117 |
-
|
118 |
-
<li id="" class="pr-be-group-menu-li">
|
119 |
-
<a data-id= "countdown_option" class="wns-be-group-tab-link-a WnTabLinks">
|
120 |
-
<span class="pr-be-group-menu-title"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></span>
|
121 |
-
</a>
|
122 |
-
</li>
|
123 |
-
|
124 |
-
<li id="" class="pr-be-group-menu-li">
|
125 |
-
<a data-id= "social_options" class="wns-be-group-tab-link-a WnTabLinks">
|
126 |
-
<span class="pr-be-group-menu-title"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></span>
|
127 |
-
</a>
|
128 |
-
</li>
|
129 |
-
|
130 |
-
<li id="" class="pr-be-group-menu-li">
|
131 |
-
<a data-id= "next_event_option" class="wns-be-group-tab-link-a WnTabLinks">
|
132 |
-
<span class="pr-be-group-menu-title"><?php _e('Next Event Module', 'modern-events-calendar-lite'); ?></span>
|
133 |
-
</a>
|
134 |
-
</li>
|
135 |
-
|
136 |
-
<li id="" class="pr-be-group-menu-li">
|
137 |
-
<a data-id= "fes_option" class="wns-be-group-tab-link-a WnTabLinks">
|
138 |
<span class="pr-be-group-menu-title"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></span>
|
139 |
</a>
|
140 |
</li>
|
141 |
|
142 |
<li id="" class="pr-be-group-menu-li">
|
143 |
-
<a data-id=
|
144 |
<span class="pr-be-group-menu-title"><?php _e('User Profile', 'modern-events-calendar-lite'); ?></span>
|
145 |
</a>
|
146 |
</li>
|
147 |
|
148 |
-
|
149 |
-
<a data-id= "exceptional_option" class="wns-be-group-tab-link-a WnTabLinks">
|
150 |
-
<span class="pr-be-group-menu-title"><?php _e('Exceptional Days', 'modern-events-calendar-lite'); ?></span>
|
151 |
-
</a>
|
152 |
-
</li>
|
153 |
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
|
160 |
-
|
161 |
-
<a data-id= "additional_locations" class="wns-be-group-tab-link-a WnTabLinks">
|
162 |
-
<span class="pr-be-group-menu-title"><?php _e('Additional Locations', 'modern-events-calendar-lite'); ?></span>
|
163 |
-
</a>
|
164 |
-
</li>
|
165 |
|
166 |
<li id="" class="pr-be-group-menu-li">
|
167 |
-
<a data-id=
|
168 |
-
<span class="pr-be-group-menu-title"><?php _e('
|
169 |
-
</a>
|
170 |
-
</li>
|
171 |
-
|
172 |
-
<li id="" class="pr-be-group-menu-li">
|
173 |
-
<a data-id= "coupon_option" class="wns-be-group-tab-link-a WnTabLinks">
|
174 |
-
<span class="pr-be-group-menu-title"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></span>
|
175 |
</a>
|
176 |
-
</li>
|
177 |
|
178 |
-
|
179 |
-
|
180 |
-
<span class="pr-be-group-menu-title"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></span>
|
181 |
-
</a>
|
182 |
-
</li>
|
183 |
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
</li>
|
|
|
|
|
189 |
|
190 |
-
|
191 |
-
<a data-id= "buddy_option" class="wns-be-group-tab-link-a WnTabLinks">
|
192 |
-
<span class="pr-be-group-menu-title"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></span>
|
193 |
-
</a>
|
194 |
-
</li>
|
195 |
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
|
202 |
-
|
203 |
-
<a data-id= "uploadfield_option" class="wns-be-group-tab-link-a WnTabLinks">
|
204 |
-
<span class="pr-be-group-menu-title"><?php _e('Upload Field', 'modern-events-calendar-lite'); ?></span>
|
205 |
-
</a>
|
206 |
-
</li>
|
207 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
208 |
</ul>
|
209 |
</li>
|
210 |
|
@@ -226,12 +188,24 @@ if($this->getPRO())
|
|
226 |
|
227 |
<?php endif;?>
|
228 |
|
229 |
-
|
230 |
<li class="wns-be-group-menu-li">
|
231 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>" id="" class="wns-be-group-tab-link-a">
|
232 |
<i class="mec-sl-envelope"></i>
|
233 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
234 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
</li>
|
236 |
|
237 |
<li class="wns-be-group-menu-li">
|
@@ -262,13 +236,6 @@ if($this->getPRO())
|
|
262 |
</a>
|
263 |
</li>
|
264 |
|
265 |
-
<!-- <li class="wns-be-group-menu-li">
|
266 |
-
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-support'); ?>" id="" class="wns-be-group-tab-link-a">
|
267 |
-
<i class="mec-sl-support"></i>
|
268 |
-
<span class="wns-be-group-menu-title"><?php _e('Support', 'modern-events-calendar-lite'); ?></span>
|
269 |
-
</a>
|
270 |
-
</li> -->
|
271 |
-
|
272 |
</ul>
|
273 |
</div>
|
274 |
|
@@ -318,7 +285,7 @@ if($this->getPRO())
|
|
318 |
<div class="content"><p><?php esc_attr_e("For showing all days of multiple day events on frontend or only show the first day.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/general-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
319 |
</div>
|
320 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
321 |
-
</span>
|
322 |
</div>
|
323 |
|
324 |
</div>
|
@@ -345,7 +312,7 @@ if($this->getPRO())
|
|
345 |
<div class="content"><p><?php esc_attr_e("Checked this checkbox to remove 'Th' on calendar ( ex: '12Th' remove Th, showing just '12' )", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/general-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
346 |
</div>
|
347 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
348 |
-
</span>
|
349 |
</div>
|
350 |
|
351 |
<?php $weekdays = $this->main->get_weekday_i18n_labels(); ?>
|
@@ -386,7 +353,7 @@ if($this->getPRO())
|
|
386 |
<div class="content"><p><?php esc_attr_e("Proceed with caution. Default is set to Saturday and Sunday ( you can change 'Week Starts' on WordPress Dashboard > Settings > General - bottom of the page ).", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/general-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
387 |
</div>
|
388 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
389 |
-
</span>
|
390 |
</div>
|
391 |
|
392 |
</div>
|
@@ -591,7 +558,7 @@ if($this->getPRO())
|
|
591 |
<div class="content"><p><?php esc_attr_e("If you disable it, then you should create a page as archive page of MEC. Page's slug must equals to \"Main Slug\" of MEC. Also it will disable all of MEC rewrite rules.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/archive-pages/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
592 |
</div>
|
593 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
594 |
-
</span>
|
595 |
</div>
|
596 |
</div>
|
597 |
|
@@ -607,10 +574,10 @@ if($this->getPRO())
|
|
607 |
<span class="mec-tooltip">
|
608 |
<div class="box">
|
609 |
<h5 class="title"><?php _e('Main Slug', 'modern-events-calendar-lite'); ?></h5>
|
610 |
-
<div class="content"><p><?php esc_attr_e("Default value is events. You can not have a page with this name.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/slug-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
611 |
</div>
|
612 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
613 |
-
</span>
|
614 |
<p><?php esc_attr_e("Valid characters are lowercase a-z, - character and numbers.", 'modern-events-calendar-lite'); ?></p>
|
615 |
</div>
|
616 |
</div>
|
@@ -624,113 +591,13 @@ if($this->getPRO())
|
|
624 |
<div class="content"><p><?php esc_attr_e("It's slug of MEC categories, you can change it to events-cat or something else. Default value is mec-category. You can not have a page with this name.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/slug-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
625 |
</div>
|
626 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
627 |
-
</span>
|
628 |
<p><?php esc_attr_e("Valid characters are lowercase a-z, - character and numbers.", 'modern-events-calendar-lite'); ?></p>
|
629 |
</div>
|
630 |
</div>
|
631 |
-
|
632 |
</div>
|
633 |
|
634 |
-
<div id="event_options" class="mec-options-fields">
|
635 |
-
|
636 |
-
<h4 class="mec-form-subtitle"><?php _e('Event Details/Single Event Page', 'modern-events-calendar-lite'); ?></h4>
|
637 |
-
<div class="mec-form-row">
|
638 |
-
<label class="mec-col-3" for="mec_settings_single_event_date_format1"><?php _e('Single Event Date Format', 'modern-events-calendar-lite'); ?></label>
|
639 |
-
<div class="mec-col-4">
|
640 |
-
<input type="text" id="mec_settings_single_event_date_format1" name="mec[settings][single_date_format1]" value="<?php echo ((isset($settings['single_date_format1']) and trim($settings['single_date_format1']) != '') ? $settings['single_date_format1'] : 'M d Y'); ?>" />
|
641 |
-
<span class="mec-tooltip">
|
642 |
-
<div class="box">
|
643 |
-
<h5 class="title"><?php _e('Single Event Date Format', 'modern-events-calendar-lite'); ?></h5>
|
644 |
-
<div class="content"><p><?php esc_attr_e("Default is M d Y", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/event-detailssingle-event-page/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
645 |
-
</div>
|
646 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
647 |
-
</span>
|
648 |
-
</div>
|
649 |
-
</div>
|
650 |
-
<div class="mec-form-row">
|
651 |
-
<label class="mec-col-3" for="mec_settings_single_event_date_method"><?php _e('Date Method', 'modern-events-calendar-lite'); ?></label>
|
652 |
-
<div class="mec-col-4">
|
653 |
-
<select id="mec_settings_single_event_date_method" name="mec[settings][single_date_method]">
|
654 |
-
<option value="next" <?php echo (isset($settings['single_date_method']) and $settings['single_date_method'] == 'next') ? 'selected="selected"' : ''; ?>><?php _e('Next occurrence date', 'modern-events-calendar-lite'); ?></option>
|
655 |
-
<option value="referred" <?php echo (isset($settings['single_date_method']) and $settings['single_date_method'] == 'referred') ? 'selected="selected"' : ''; ?>><?php _e('Referred date', 'modern-events-calendar-lite'); ?></option>
|
656 |
-
</select>
|
657 |
-
<span class="mec-tooltip">
|
658 |
-
<div class="box">
|
659 |
-
<h5 class="title"><?php _e('Date Method', 'modern-events-calendar-lite'); ?></h5>
|
660 |
-
<div class="content"><p><?php esc_attr_e('Referred date" shows the event date based on referred date in event list.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/event-detailssingle-event-page/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
661 |
-
</div>
|
662 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
663 |
-
</span>
|
664 |
-
</div>
|
665 |
-
</div>
|
666 |
-
<div class="mec-form-row">
|
667 |
-
<label class="mec-col-3" for="mec_settings_single_event_single_style"><?php _e('Single Event Style', 'modern-events-calendar-lite'); ?></label>
|
668 |
-
<div class="mec-col-4">
|
669 |
-
<select id="mec_settings_single_event_single_style" name="mec[settings][single_single_style]">
|
670 |
-
<option value="default" <?php echo (isset($settings['single_single_style']) and $settings['single_single_style'] == 'default') ? 'selected="selected"' : ''; ?>><?php _e('Default Style', 'modern-events-calendar-lite'); ?></option>
|
671 |
-
<option value="modern" <?php echo (isset($settings['single_single_style']) and $settings['single_single_style'] == 'modern') ? 'selected="selected"' : ''; ?>><?php _e('Modern Style', 'modern-events-calendar-lite'); ?></option>
|
672 |
-
<?php if ( is_plugin_active( 'mec-single-builder/mec-single-builder.php' ) ) : ?>
|
673 |
-
<option value="builder" <?php echo (isset($settings['single_single_style']) and $settings['single_single_style'] == 'builder') ? 'selected="selected"' : ''; ?>><?php _e('Elementor Single Builder', 'modern-events-calendar-lite'); ?></option>
|
674 |
-
<?php endif; ?>
|
675 |
-
</select>
|
676 |
-
<span class="mec-tooltip">
|
677 |
-
<div class="box top">
|
678 |
-
<h5 class="title"><?php _e('Single Event Style', 'modern-events-calendar-lite'); ?></h5>
|
679 |
-
<div class="content"><p><?php esc_attr_e("Choose your single event style.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/event-detailssingle-event-page/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
680 |
-
</div>
|
681 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
682 |
-
</span>
|
683 |
-
</div>
|
684 |
-
</div>
|
685 |
-
<div class="mec-form-row">
|
686 |
-
<label class="mec-col-3" for="mec_settings_single_event_booking_style"><?php _e('Booking Style', 'modern-events-calendar-lite'); ?></label>
|
687 |
-
<div class="mec-col-4">
|
688 |
-
<select id="mec_settings_single_event_booking_style" name="mec[settings][single_booking_style]">
|
689 |
-
<option value="default" <?php echo (isset($settings['single_booking_style']) and $settings['single_booking_style'] == 'default') ? 'selected="selected"' : ''; ?>><?php _e('Default', 'modern-events-calendar-lite'); ?></option>
|
690 |
-
<option value="modal" <?php echo (isset($settings['single_booking_style']) and $settings['single_booking_style'] == 'modal') ? 'selected="selected"' : ''; ?>><?php _e('Modal', 'modern-events-calendar-lite'); ?></option>
|
691 |
-
</select>
|
692 |
-
<span class="mec-tooltip">
|
693 |
-
<div class="box top">
|
694 |
-
<h5 class="title"><?php _e('Booking Style', 'modern-events-calendar-lite'); ?></h5>
|
695 |
-
<div class="content"><p><?php esc_attr_e("Choose your Booking style, Please Note: When you set this feature to modal you can not see booking box if you set popoup module view on shortcodes", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/event-detailssingle-event-page/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
696 |
-
</div>
|
697 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
698 |
-
</span>
|
699 |
-
</div>
|
700 |
-
</div>
|
701 |
-
<div class="mec-form-row">
|
702 |
-
<label class="mec-col-3" for="mec_settings_gutenberg"><?php _e('Disable Block Editor (Gutenberg)', 'modern-events-calendar-lite'); ?></label>
|
703 |
-
<label id="mec_settings_gutenberg" >
|
704 |
-
<input type="hidden" name="mec[settings][gutenberg]" value="0" />
|
705 |
-
<input value="1" type="checkbox" name="mec[settings][gutenberg]" <?php if(!isset($settings['gutenberg']) or (isset($settings['gutenberg']) and $settings['gutenberg'])) echo 'checked="checked"'; ?> /> <?php _e('Disable Block Editor', 'modern-events-calendar-lite'); ?>
|
706 |
-
</label>
|
707 |
-
<span class="mec-tooltip">
|
708 |
-
<div class="box top">
|
709 |
-
<h5 class="title"><?php _e('Block Editor', 'modern-events-calendar-lite'); ?></h5>
|
710 |
-
<div class="content"><p><?php esc_attr_e("If you want to use the new WordPress block editor you should keep this checkbox unchecked.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/event-detailssingle-event-page/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
711 |
-
</div>
|
712 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
713 |
-
</span>
|
714 |
-
</div>
|
715 |
-
<div class="mec-form-row">
|
716 |
-
<label class="mec-col-3" for="mec_settings_breadcrumbs"><?php _e('Breadcrumbs', 'modern-events-calendar-lite'); ?></label>
|
717 |
-
<label id="mec_settings_breadcrumbs" >
|
718 |
-
<input type="hidden" name="mec[settings][breadcrumbs]" value="0" />
|
719 |
-
<input type="checkbox" name="mec[settings][breadcrumbs]" id="mec_settings_breadcrumbs" <?php echo ((isset($settings['breadcrumbs']) and $settings['breadcrumbs']) ? 'checked="checked"' : ''); ?> value="1" /><?php _e('Enable Breadcrumbs.', 'modern-events-calendar-lite'); ?>
|
720 |
-
</label>
|
721 |
-
<span class="mec-tooltip">
|
722 |
-
<div class="box top">
|
723 |
-
<h5 class="title"><?php _e('Breadcrumbs', 'modern-events-calendar-lite'); ?></h5>
|
724 |
-
<div class="content"><p><?php esc_attr_e("Check this option, for showing the breadcrumbs on single event page", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/event-detailssingle-event-page/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
725 |
-
</div>
|
726 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
727 |
-
</span>
|
728 |
-
</div>
|
729 |
-
|
730 |
-
</div>
|
731 |
-
|
732 |
<div id="currency_option" class="mec-options-fields">
|
733 |
-
|
734 |
<h4 class="mec-form-subtitle"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></h4>
|
735 |
<div class="mec-form-row">
|
736 |
<label class="mec-col-3" for="mec_settings_currency"><?php _e('Currency', 'modern-events-calendar-lite'); ?></label>
|
@@ -785,121 +652,6 @@ if($this->getPRO())
|
|
785 |
</label>
|
786 |
</div>
|
787 |
</div>
|
788 |
-
|
789 |
-
</div>
|
790 |
-
|
791 |
-
<div id="speakers_option" class="mec-options-fields">
|
792 |
-
|
793 |
-
<h4 class="mec-form-subtitle"><?php _e('Speakers Options', 'modern-events-calendar-lite'); ?></h4>
|
794 |
-
<div class="mec-form-row">
|
795 |
-
<div class="mec-col-12">
|
796 |
-
<label for="mec_settings_speakers_status">
|
797 |
-
<input type="hidden" name="mec[settings][speakers_status]" value="0" />
|
798 |
-
<input type="checkbox" name="mec[settings][speakers_status]" id="mec_settings_speakers_status" <?php echo ((isset($settings['speakers_status']) and $settings['speakers_status']) ? 'checked="checked"' : ''); ?> value="1" />
|
799 |
-
<?php _e('Enable speakers feature', 'modern-events-calendar-lite'); ?>
|
800 |
-
</label>
|
801 |
-
<p><?php esc_attr_e("After enable it, you should reloading this page to see a new menu on Dashboard > MEC", 'modern-events-calendar-lite'); ?></p>
|
802 |
-
</div>
|
803 |
-
</div>
|
804 |
-
|
805 |
-
</div>
|
806 |
-
|
807 |
-
<div id="googlemap_option" class="mec-options-fields">
|
808 |
-
<h4 class="mec-form-subtitle"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></h4>
|
809 |
-
|
810 |
-
<?php if(!$this->main->getPRO()): ?>
|
811 |
-
<div class="info-msg"><?php echo sprintf(__("%s is required to use this feature.", 'modern-events-calendar-lite'), '<a href="'.$this->main->get_pro_link().'" target="_blank">'.__('Pro version of Modern Events Calendar', 'modern-events-calendar-lite').'</a>'); ?></div>
|
812 |
-
<?php else: ?>
|
813 |
-
<div class="mec-form-row">
|
814 |
-
<label>
|
815 |
-
<input type="hidden" name="mec[settings][google_maps_status]" value="0" />
|
816 |
-
<input onchange="jQuery('#mec_google_maps_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][google_maps_status]" <?php if(isset($settings['google_maps_status']) and $settings['google_maps_status']) echo 'checked="checked"'; ?> /> <?php _e('Show Google Maps on event page', 'modern-events-calendar-lite'); ?>
|
817 |
-
</label>
|
818 |
-
</div>
|
819 |
-
<div id="mec_google_maps_container_toggle" class="<?php if((isset($settings['google_maps_status']) and !$settings['google_maps_status']) or !isset($settings['google_maps_status'])) echo 'mec-util-hidden'; ?>">
|
820 |
-
<div class="mec-form-row">
|
821 |
-
<label class="mec-col-3" for="mec_settings_google_maps_api_key"><?php _e('API Key', 'modern-events-calendar-lite'); ?></label>
|
822 |
-
<div class="mec-col-4">
|
823 |
-
<input type="text" id="mec_settings_google_maps_api_key" name="mec[settings][google_maps_api_key]" value="<?php echo ((isset($settings['google_maps_api_key']) and trim($settings['google_maps_api_key']) != '') ? $settings['google_maps_api_key'] : ''); ?>" />
|
824 |
-
<span class="mec-tooltip">
|
825 |
-
<div class="box">
|
826 |
-
<h5 class="title"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></h5>
|
827 |
-
<div class="content"><p><?php esc_attr_e("Required!", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/google-maps-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
828 |
-
</div>
|
829 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
830 |
-
</span>
|
831 |
-
</div>
|
832 |
-
</div>
|
833 |
-
<div class="mec-form-row">
|
834 |
-
<label class="mec-col-3"><?php _e('Zoom level', 'modern-events-calendar-lite'); ?></label>
|
835 |
-
<div class="mec-col-4">
|
836 |
-
<select name="mec[settings][google_maps_zoomlevel]">
|
837 |
-
<?php for($i = 5; $i <= 21; $i++): ?>
|
838 |
-
<option value="<?php echo $i; ?>" <?php if(isset($settings['google_maps_zoomlevel']) and $settings['google_maps_zoomlevel'] == $i) echo 'selected="selected"'; ?>><?php echo $i; ?></option>
|
839 |
-
<?php endfor; ?>
|
840 |
-
</select>
|
841 |
-
<span class="mec-tooltip">
|
842 |
-
<div class="box">
|
843 |
-
<h5 class="title"><?php _e('Zoom level', 'modern-events-calendar-lite'); ?></h5>
|
844 |
-
<div class="content"><p><?php esc_attr_e("For Google Maps module in single event page. In Google Maps skin, it will caculate the zoom level automatically based on event boundaries.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/google-maps-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
845 |
-
</div>
|
846 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
847 |
-
</span>
|
848 |
-
</div>
|
849 |
-
</div>
|
850 |
-
<div class="mec-form-row">
|
851 |
-
<label class="mec-col-3"><?php _e('Google Maps Style', 'modern-events-calendar-lite'); ?></label>
|
852 |
-
<?php $styles = $this->main->get_googlemap_styles(); ?>
|
853 |
-
<div class="mec-col-4">
|
854 |
-
<select name="mec[settings][google_maps_style]">
|
855 |
-
<option value=""><?php _e('Default', 'modern-events-calendar-lite'); ?></option>
|
856 |
-
<?php foreach($styles as $style): ?>
|
857 |
-
<option value="<?php echo $style['key']; ?>" <?php if(isset($settings['google_maps_style']) and $settings['google_maps_style'] == $style['key']) echo 'selected="selected"'; ?>><?php echo $style['name']; ?></option>
|
858 |
-
<?php endforeach; ?>
|
859 |
-
</select>
|
860 |
-
</div>
|
861 |
-
</div>
|
862 |
-
<div class="mec-form-row">
|
863 |
-
<label class="mec-col-3"><?php _e('Direction on single event', 'modern-events-calendar-lite'); ?></label>
|
864 |
-
<div class="mec-col-4">
|
865 |
-
<select name="mec[settings][google_maps_get_direction_status]">
|
866 |
-
<option value="0"><?php _e('Disabled', 'modern-events-calendar-lite'); ?></option>
|
867 |
-
<option value="1" <?php if(isset($settings['google_maps_get_direction_status']) and $settings['google_maps_get_direction_status'] == 1) echo 'selected="selected"'; ?>><?php _e('Simple Method', 'modern-events-calendar-lite'); ?></option>
|
868 |
-
<option value="2" <?php if(isset($settings['google_maps_get_direction_status']) and $settings['google_maps_get_direction_status'] == 2) echo 'selected="selected"'; ?>><?php _e('Advanced Method', 'modern-events-calendar-lite'); ?></option>
|
869 |
-
</select>
|
870 |
-
</div>
|
871 |
-
</div>
|
872 |
-
<div class="mec-form-row">
|
873 |
-
<label class="mec-col-3" for="mec_settings_google_maps_date_format1"><?php _e('Lightbox Date Format', 'modern-events-calendar-lite'); ?></label>
|
874 |
-
<div class="mec-col-4">
|
875 |
-
<input type="text" id="mec_settings_google_maps_date_format1" name="mec[settings][google_maps_date_format1]" value="<?php echo ((isset($settings['google_maps_date_format1']) and trim($settings['google_maps_date_format1']) != '') ? $settings['google_maps_date_format1'] : 'M d Y'); ?>" />
|
876 |
-
<span class="mec-tooltip">
|
877 |
-
<div class="box top">
|
878 |
-
<h5 class="title"><?php _e('Lightbox Date Format', 'modern-events-calendar-lite'); ?></h5>
|
879 |
-
<div class="content"><p><?php esc_attr_e("Default value is M d Y", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/google-maps-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
880 |
-
</div>
|
881 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
882 |
-
</span>
|
883 |
-
</div>
|
884 |
-
</div>
|
885 |
-
<div class="mec-form-row">
|
886 |
-
<label class="mec-col-3"><?php _e('Google Maps API', 'modern-events-calendar-lite'); ?></label>
|
887 |
-
<div class="mec-col-4">
|
888 |
-
<label>
|
889 |
-
<input type="hidden" name="mec[settings][google_maps_dont_load_api]" value="0" />
|
890 |
-
<input value="1" type="checkbox" name="mec[settings][google_maps_dont_load_api]" <?php if(isset($settings['google_maps_dont_load_api']) and $settings['google_maps_dont_load_api']) echo 'checked="checked"'; ?> /> <?php _e("Don't load Google Maps API library", 'modern-events-calendar-lite'); ?>
|
891 |
-
</label>
|
892 |
-
<span class="mec-tooltip">
|
893 |
-
<div class="box top">
|
894 |
-
<h5 class="title"><?php _e('Google Maps API', 'modern-events-calendar-lite'); ?></h5>
|
895 |
-
<div class="content"><p><?php esc_attr_e("Check it only if another plugin/theme is loading the Google Maps API", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/google-maps-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
896 |
-
</div>
|
897 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
898 |
-
</span>
|
899 |
-
</div>
|
900 |
-
</div>
|
901 |
-
</div>
|
902 |
-
<?php endif; ?>
|
903 |
</div>
|
904 |
|
905 |
<div id="recaptcha_option" class="mec-options-fields">
|
@@ -936,169 +688,7 @@ if($this->getPRO())
|
|
936 |
</div>
|
937 |
</div>
|
938 |
</div>
|
939 |
-
|
940 |
-
</div>
|
941 |
-
|
942 |
-
<div id="export_module_option" class="mec-options-fields">
|
943 |
-
<h4 class="mec-form-subtitle"><?php _e('Export Module Options', 'modern-events-calendar-lite'); ?></h4>
|
944 |
-
<div class="mec-form-row">
|
945 |
-
<label>
|
946 |
-
<input type="hidden" name="mec[settings][export_module_status]" value="0" />
|
947 |
-
<input onchange="jQuery('#mec_export_module_options_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][export_module_status]" <?php if(isset($settings['export_module_status']) and $settings['export_module_status']) echo 'checked="checked"'; ?> /> <?php _e('Show export module (iCal export and add to Google calendars) on event page', 'modern-events-calendar-lite'); ?>
|
948 |
-
</label>
|
949 |
-
</div>
|
950 |
-
<div id="mec_export_module_options_container_toggle" class="<?php if((isset($settings['export_module_status']) and !$settings['export_module_status']) or !isset($settings['export_module_status'])) echo 'mec-util-hidden'; ?>">
|
951 |
-
<div class="mec-form-row">
|
952 |
-
<ul id="mec_export_module_options" class="mec-form-row">
|
953 |
-
<?php
|
954 |
-
$event_options = array('googlecal'=>__('Google Calendar', 'modern-events-calendar-lite'), 'ical'=>__('iCal', 'modern-events-calendar-lite'));
|
955 |
-
foreach($event_options as $event_key=>$event_option): ?>
|
956 |
-
<li id="mec_sn_<?php echo esc_attr($event_key); ?>" data-id="<?php echo esc_attr($event_key); ?>" class="mec-form-row mec-switcher <?php echo ((isset($settings['sn'][$event_key]) and $settings['sn'][$event_key]) ? 'mec-enabled' : 'mec-disabled'); ?>">
|
957 |
-
<label class="mec-col-3"><?php echo esc_html($event_option); ?></label>
|
958 |
-
<div class="mec-col-2">
|
959 |
-
<input class="mec-status" type="hidden" name="mec[settings][sn][<?php echo esc_attr($event_key); ?>]" value="<?php echo (isset($settings['sn'][$event_key]) ? $settings['sn'][$event_key] : '1'); ?>" />
|
960 |
-
<label for="mec[settings][sn][<?php echo esc_attr($event_key); ?>]"></label>
|
961 |
-
</div>
|
962 |
-
</li>
|
963 |
-
<?php endforeach; ?>
|
964 |
-
</ul>
|
965 |
-
</div>
|
966 |
-
</div>
|
967 |
-
</div>
|
968 |
-
|
969 |
-
<div id="time_module_option" class="mec-options-fields">
|
970 |
-
<h4 class="mec-form-subtitle"><?php _e('Local Time Module', 'modern-events-calendar-lite'); ?></h4>
|
971 |
-
<div class="mec-form-row">
|
972 |
-
<label>
|
973 |
-
<input type="hidden" name="mec[settings][local_time_module_status]" value="0" />
|
974 |
-
<input onchange="jQuery('#mec_local_time_module_options_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][local_time_module_status]" <?php if(isset($settings['local_time_module_status']) and $settings['local_time_module_status']) echo 'checked="checked"'; ?> /> <?php _e('Show event time based on local time of visitor on event page', 'modern-events-calendar-lite'); ?>
|
975 |
-
</label>
|
976 |
-
</div>
|
977 |
-
<div id="mec_local_time_module_options_container_toggle" class="<?php if((isset($settings['local_time_module_status']) and !$settings['local_time_module_status']) or !isset($settings['local_time_module_status'])) echo 'mec-util-hidden'; ?>">
|
978 |
-
</div>
|
979 |
-
</div>
|
980 |
-
|
981 |
-
<div id="qrcode_module_option" class="mec-options-fields">
|
982 |
-
<h4 class="mec-form-subtitle"><?php _e('QR Code Module', 'modern-events-calendar-lite'); ?></h4>
|
983 |
-
|
984 |
-
<?php if(!$this->main->getPRO()): ?>
|
985 |
-
<div class="info-msg"><?php echo sprintf(__("%s is required to use this feature.", 'modern-events-calendar-lite'), '<a href="'.$this->main->get_pro_link().'" target="_blank">'.__('Pro version of Modern Events Calendar', 'modern-events-calendar-lite').'</a>'); ?></div>
|
986 |
-
<?php else: ?>
|
987 |
-
<div class="mec-form-row">
|
988 |
-
<label>
|
989 |
-
<input type="hidden" name="mec[settings][qrcode_module_status]" value="0" />
|
990 |
-
<input onchange="jQuery('#mec_qrcode_module_options_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][qrcode_module_status]" <?php if(!isset($settings['qrcode_module_status']) or (isset($settings['qrcode_module_status']) and $settings['qrcode_module_status'])) echo 'checked="checked"'; ?> /> <?php _e('Show QR code of event in details page and booking invoice', 'modern-events-calendar-lite'); ?>
|
991 |
-
</label>
|
992 |
-
</div>
|
993 |
-
<div id="mec_qrcode_module_options_container_toggle" class="<?php if((isset($settings['qrcode_module_status']) and !$settings['qrcode_module_status']) or !isset($settings['qrcode_module_status'])) echo 'mec-util-hidden'; ?>">
|
994 |
-
</div>
|
995 |
-
<?php endif; ?>
|
996 |
-
|
997 |
-
</div>
|
998 |
-
|
999 |
-
<div id="weather_module_option" class="mec-options-fields">
|
1000 |
-
<h4 class="mec-form-subtitle"><?php _e('Weather Module', 'modern-events-calendar-lite'); ?></h4>
|
1001 |
-
|
1002 |
-
<?php if(!$this->main->getPRO()): ?>
|
1003 |
-
<div class="info-msg"><?php echo sprintf(__("%s is required to use this feature.", 'modern-events-calendar-lite'), '<a href="'.$this->main->get_pro_link().'" target="_blank">'.__('Pro version of Modern Events Calendar', 'modern-events-calendar-lite').'</a>'); ?></div>
|
1004 |
-
<?php else: ?>
|
1005 |
-
<div class="mec-form-row">
|
1006 |
-
<label>
|
1007 |
-
<input type="hidden" name="mec[settings][weather_module_status]" value="0" />
|
1008 |
-
<input onchange="jQuery('#mec_weather_module_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][weather_module_status]" <?php if(isset($settings['weather_module_status']) and $settings['weather_module_status']) echo 'checked="checked"'; ?> /> <?php _e('Show weather module on event page', 'modern-events-calendar-lite'); ?>
|
1009 |
-
</label>
|
1010 |
-
</div>
|
1011 |
-
<div id="mec_weather_module_container_toggle" class="<?php if((isset($settings['weather_module_status']) and !$settings['weather_module_status']) or !isset($settings['weather_module_status'])) echo 'mec-util-hidden'; ?>">
|
1012 |
-
<div class="mec-form-row">
|
1013 |
-
<label class="mec-col-3" for="mec_settings_weather_module_api_key"><?php _e('API Key', 'modern-events-calendar-lite'); ?></label>
|
1014 |
-
<div class="mec-col-8">
|
1015 |
-
<input type="text" name="mec[settings][weather_module_api_key]" id="mec_settings_weather_module_api_key" value="<?php echo ((isset($settings['weather_module_api_key']) and trim($settings['weather_module_api_key']) != '') ? $settings['weather_module_api_key'] : ''); ?>">
|
1016 |
-
<p><?php echo sprintf(__('You can get a free API Key from %s', 'modern-events-calendar-lite'), '<a target="_blank" href="https://darksky.net/dev/register">https://darksky.net/dev/register</a>'); ?></p>
|
1017 |
-
</div>
|
1018 |
-
</div>
|
1019 |
-
</div>
|
1020 |
-
<?php endif; ?>
|
1021 |
-
</div>
|
1022 |
-
|
1023 |
-
<div id="countdown_option" class="mec-options-fields">
|
1024 |
-
<h4 class="mec-form-subtitle"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></h4>
|
1025 |
-
<div class="mec-form-row">
|
1026 |
-
<label>
|
1027 |
-
<input type="hidden" name="mec[settings][countdown_status]" value="0" />
|
1028 |
-
<input onchange="jQuery('#mec_count_down_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][countdown_status]" <?php if(isset($settings['countdown_status']) and $settings['countdown_status']) echo 'checked="checked"'; ?> /> <?php _e('Show countdown module on event page', 'modern-events-calendar-lite'); ?>
|
1029 |
-
</label>
|
1030 |
-
</div>
|
1031 |
-
<div id="mec_count_down_container_toggle" class="<?php if((isset($settings['countdown_status']) and !$settings['countdown_status']) or !isset($settings['countdown_status'])) echo 'mec-util-hidden'; ?>">
|
1032 |
-
<div class="mec-form-row">
|
1033 |
-
<label class="mec-col-3" for="mec_settings_countdown_list"><?php _e('Countdown Style', 'modern-events-calendar-lite'); ?></label>
|
1034 |
-
<div class="mec-col-4">
|
1035 |
-
<select id="mec_settings_countdown_list" name="mec[settings][countdown_list]">
|
1036 |
-
<option value="default" <?php echo ((isset($settings['countdown_list']) and $settings['countdown_list'] == "default") ? 'selected="selected"' : ''); ?> ><?php _e('Plain Style', 'modern-events-calendar-lite'); ?></option>
|
1037 |
-
<option value="flip" <?php echo ((isset($settings['countdown_list']) and $settings['countdown_list'] == "flip") ? 'selected="selected"' : ''); ?> ><?php _e('Flip Style', 'modern-events-calendar-lite'); ?></option>
|
1038 |
-
</select>
|
1039 |
-
</div>
|
1040 |
-
</div>
|
1041 |
-
</div>
|
1042 |
-
</div>
|
1043 |
-
|
1044 |
-
<div id="social_options" class="mec-options-fields">
|
1045 |
-
<h4 class="mec-form-subtitle"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></h4>
|
1046 |
-
<div class="mec-form-row">
|
1047 |
-
<label>
|
1048 |
-
<input type="hidden" name="mec[settings][social_network_status]" value="0" />
|
1049 |
-
<input onchange="jQuery('#mec_social_network_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][social_network_status]" <?php if(isset($settings['social_network_status']) and $settings['social_network_status']) echo 'checked="checked"'; ?> /> <?php _e('Show social network module', 'modern-events-calendar-lite'); ?>
|
1050 |
-
</label>
|
1051 |
-
</div>
|
1052 |
-
<div id="mec_social_network_container_toggle" class="<?php if((isset($settings['social_network_status']) and !$settings['social_network_status']) or !isset($settings['social_network_status'])) echo 'mec-util-hidden'; ?>">
|
1053 |
-
<div class="mec-form-row">
|
1054 |
-
<ul id="mec_social_networks" class="mec-form-row">
|
1055 |
-
<?php foreach($socials as $social): ?>
|
1056 |
-
<li id="mec_sn_<?php echo esc_attr($social['id']); ?>" data-id="<?php echo esc_attr($social['id']); ?>" class="mec-form-row mec-switcher <?php echo ((isset($settings['sn'][$social['id']]) and $settings['sn'][$social['id']]) ? 'mec-enabled' : 'mec-disabled'); ?>">
|
1057 |
-
<label class="mec-col-3"><?php echo esc_html($social['name']); ?></label>
|
1058 |
-
<div class="mec-col-2">
|
1059 |
-
<input class="mec-status" type="hidden" name="mec[settings][sn][<?php echo esc_attr($social['id']); ?>]" value="<?php echo (isset($settings['sn'][$social['id']]) ? $settings['sn'][$social['id']] : '1'); ?>" />
|
1060 |
-
<label for="mec[settings][sn][<?php echo esc_attr($social['id']); ?>]"></label>
|
1061 |
-
</div>
|
1062 |
-
</li>
|
1063 |
-
<?php endforeach; ?>
|
1064 |
-
</ul>
|
1065 |
-
</div>
|
1066 |
-
</div>
|
1067 |
-
</div>
|
1068 |
-
|
1069 |
-
<div id="next_event_option" class="mec-options-fields">
|
1070 |
-
<h4 class="mec-form-subtitle"><?php _e('Next Event Module', 'modern-events-calendar-lite'); ?></h4>
|
1071 |
-
<div class="mec-form-row">
|
1072 |
-
<label>
|
1073 |
-
<input type="hidden" name="mec[settings][next_event_module_status]" value="0" />
|
1074 |
-
<input onchange="jQuery('#mec_next_previous_event_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][next_event_module_status]" <?php if(isset($settings['next_event_module_status']) and $settings['next_event_module_status']) echo 'checked="checked"'; ?> /> <?php _e('Show next event module on event page', 'modern-events-calendar-lite'); ?>
|
1075 |
-
</label>
|
1076 |
-
</div>
|
1077 |
-
<div id="mec_next_previous_event_container_toggle" class="<?php if((isset($settings['next_event_module_status']) and !$settings['next_event_module_status']) or !isset($settings['next_event_module_status'])) echo 'mec-util-hidden'; ?>">
|
1078 |
-
<div class="mec-form-row">
|
1079 |
-
<label class="mec-col-3" for="mec_settings_next_event_module_method"><?php _e('Method', 'modern-events-calendar-lite'); ?></label>
|
1080 |
-
<div class="mec-col-4">
|
1081 |
-
<select id="mec_settings_next_event_module_method" name="mec[settings][next_event_module_method]">
|
1082 |
-
<option value="occurrence" <?php echo ((isset($settings['next_event_module_method']) and $settings['next_event_module_method'] == 'occurrence') ? 'selected="selected"' : ''); ?>><?php _e('Next Occurrence of Current Event', 'modern-events-calendar-lite'); ?></option>
|
1083 |
-
<option value="event" <?php echo ((isset($settings['next_event_module_method']) and $settings['next_event_module_method'] == 'event') ? 'selected="selected"' : ''); ?>><?php _e('Next Occurrence of Other Events', 'modern-events-calendar-lite'); ?></option>
|
1084 |
-
</select>
|
1085 |
-
</div>
|
1086 |
-
</div>
|
1087 |
-
<div class="mec-form-row">
|
1088 |
-
<label class="mec-col-3" for="mec_settings_next_event_module_date_format1"><?php _e('Date Format', 'modern-events-calendar-lite'); ?></label>
|
1089 |
-
<div class="mec-col-4">
|
1090 |
-
<input type="text" id="mec_settings_next_event_module_date_format1" name="mec[settings][next_event_module_date_format1]" value="<?php echo ((isset($settings['next_event_module_date_format1']) and trim($settings['next_event_module_date_format1']) != '') ? $settings['next_event_module_date_format1'] : 'M d Y'); ?>" />
|
1091 |
-
<span class="mec-tooltip">
|
1092 |
-
<div class="box top">
|
1093 |
-
<h5 class="title"><?php _e('Date Format', 'modern-events-calendar-lite'); ?></h5>
|
1094 |
-
<div class="content"><p><?php esc_attr_e("Default is M d Y", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/next-event-module/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1095 |
-
</div>
|
1096 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1097 |
-
</span>
|
1098 |
-
</div>
|
1099 |
-
</div>
|
1100 |
-
</div>
|
1101 |
-
</div>
|
1102 |
|
1103 |
<div id="fes_option" class="mec-options-fields">
|
1104 |
<h4 class="mec-form-subtitle"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></h4>
|
@@ -1116,7 +706,7 @@ if($this->getPRO())
|
|
1116 |
<div class="content"><p><?php esc_attr_e("This option, affects the selection of Start/End time.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/frontend-event-submission/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1117 |
</div>
|
1118 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1119 |
-
</span>
|
1120 |
</div>
|
1121 |
</div>
|
1122 |
|
@@ -1271,7 +861,7 @@ if($this->getPRO())
|
|
1271 |
<div class="content"><p><?php esc_attr_e("Event Note shows on Frontend Submission Form and Edit Event in backend.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/frontend-event-submission/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1272 |
</div>
|
1273 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1274 |
-
</span>
|
1275 |
</div>
|
1276 |
</div>
|
1277 |
</div>
|
@@ -1283,413 +873,63 @@ if($this->getPRO())
|
|
1283 |
</div>
|
1284 |
</div>
|
1285 |
|
1286 |
-
|
1287 |
-
<h4 class="mec-form-subtitle"><?php _e('Exceptional days', 'modern-events-calendar-lite'); ?></h4>
|
1288 |
-
<div class="mec-form-row">
|
1289 |
-
<label>
|
1290 |
-
<input type="hidden" name="mec[settings][exceptional_days]" value="0" />
|
1291 |
-
<input value="1" type="checkbox" name="mec[settings][exceptional_days]" <?php if(isset($settings['exceptional_days']) and $settings['exceptional_days']) echo 'checked="checked"'; ?> /> <?php _e('Show exceptional days option on Add/Edit events page', 'modern-events-calendar-lite'); ?>
|
1292 |
-
<span class="mec-tooltip">
|
1293 |
-
<div class="box">
|
1294 |
-
<h5 class="title"><?php _e('Exceptional days', 'modern-events-calendar-lite'); ?></h5>
|
1295 |
-
<div class="content"><p><?php esc_attr_e("Using this option you can include/exclude certain days to/from event occurrence dates.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/exceptional-days/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1296 |
-
</div>
|
1297 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1298 |
-
</span>
|
1299 |
-
</label>
|
1300 |
-
</div>
|
1301 |
-
</div>
|
1302 |
-
|
1303 |
-
<div id="additional_organizers" class="mec-options-fields">
|
1304 |
-
<h4 class="mec-form-subtitle"><?php _e('Additional Organizers', 'modern-events-calendar-lite'); ?></h4>
|
1305 |
-
<div class="mec-form-row">
|
1306 |
-
<label>
|
1307 |
-
<input type="hidden" name="mec[settings][additional_organizers]" value="0" />
|
1308 |
-
<input value="1" type="checkbox" name="mec[settings][additional_organizers]" <?php if(!isset($settings['additional_organizers']) or (isset($settings['additional_organizers']) and $settings['additional_organizers'])) echo 'checked="checked"'; ?> /> <?php _e('Show additional organizers option on Add/Edit events page and single event page.', 'modern-events-calendar-lite'); ?>
|
1309 |
-
</label>
|
1310 |
-
</div>
|
1311 |
-
</div>
|
1312 |
-
|
1313 |
-
<div id="additional_locations" class="mec-options-fields">
|
1314 |
-
<h4 class="mec-form-subtitle"><?php _e('Additional locations', 'modern-events-calendar-lite'); ?></h4>
|
1315 |
-
<div class="mec-form-row">
|
1316 |
-
<label>
|
1317 |
-
<input type="hidden" name="mec[settings][additional_locations]" value="0" />
|
1318 |
-
<input value="1" type="checkbox" name="mec[settings][additional_locations]" <?php if(!isset($settings['additional_locations']) or (isset($settings['additional_locations']) and $settings['additional_locations'])) echo 'checked="checked"'; ?> /> <?php _e('Show additional locations option on Add/Edit events page and single event page.', 'modern-events-calendar-lite'); ?>
|
1319 |
-
</label>
|
1320 |
-
</div>
|
1321 |
-
</div>
|
1322 |
-
|
1323 |
-
<div id="booking_option" class="mec-options-fields">
|
1324 |
-
<h4 class="mec-form-subtitle"><?php _e('Booking', 'modern-events-calendar-lite'); ?></h4>
|
1325 |
-
|
1326 |
-
<?php if(!$this->main->getPRO()): ?>
|
1327 |
-
<div class="info-msg"><?php echo sprintf(__("%s is required to use this feature.", 'modern-events-calendar-lite'), '<a href="'.$this->main->get_pro_link().'" target="_blank">'.__('Pro version of Modern Events Calendar', 'modern-events-calendar-lite').'</a>'); ?></div>
|
1328 |
-
<?php else: ?>
|
1329 |
-
<div class="mec-form-row">
|
1330 |
-
<label>
|
1331 |
-
<input type="hidden" name="mec[settings][booking_status]" value="0" />
|
1332 |
-
<input onchange="jQuery('#mec_booking_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][booking_status]" <?php if(isset($settings['booking_status']) and $settings['booking_status']) echo 'checked="checked"'; ?> /> <?php _e('Enable booking module', 'modern-events-calendar-lite'); ?>
|
1333 |
-
<p><?php esc_attr_e("After enable it, you should reloading this page to see Payment Gateways on settings and see a new menu on Dashboard", 'modern-events-calendar-lite'); ?></p>
|
1334 |
-
</label>
|
1335 |
-
</div>
|
1336 |
-
<div id="mec_booking_container_toggle" class="<?php if((isset($settings['booking_status']) and !$settings['booking_status']) or !isset($settings['booking_status'])) echo 'mec-util-hidden'; ?>">
|
1337 |
-
<div class="mec-form-row">
|
1338 |
-
<label class="mec-col-3" for="mec_settings_booking_date_format1"><?php _e('Date Format', 'modern-events-calendar-lite'); ?></label>
|
1339 |
-
<div class="mec-col-4">
|
1340 |
-
<input type="text" id="mec_settings_booking_date_format1" name="mec[settings][booking_date_format1]" value="<?php echo ((isset($settings['booking_date_format1']) and trim($settings['booking_date_format1']) != '') ? $settings['booking_date_format1'] : 'Y-m-d'); ?>" />
|
1341 |
-
<span class="mec-tooltip">
|
1342 |
-
<div class="box">
|
1343 |
-
<h5 class="title"><?php _e('Date Format', 'modern-events-calendar-lite'); ?></h5>
|
1344 |
-
<div class="content"><p><?php esc_attr_e("Default is Y-m-d", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/booking/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1345 |
-
</div>
|
1346 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1347 |
-
</span>
|
1348 |
-
</div>
|
1349 |
-
</div>
|
1350 |
-
<div class="mec-form-row">
|
1351 |
-
<label class="mec-col-3" for="mec_settings_booking_maximum_dates"><?php _e('Maximum Dates', 'modern-events-calendar-lite'); ?></label>
|
1352 |
-
<div class="mec-col-4">
|
1353 |
-
<input type="number" id="mec_settings_booking_maximum_dates" name="mec[settings][booking_maximum_dates]" value="<?php echo ((isset($settings['booking_maximum_dates']) and trim($settings['booking_maximum_dates']) != '') ? $settings['booking_maximum_dates'] : '6'); ?>" placeholder="<?php esc_attr_e('Default is 6', 'modern-events-calendar-lite'); ?>" min="1" />
|
1354 |
-
</div>
|
1355 |
-
</div>
|
1356 |
-
<div class="mec-form-row">
|
1357 |
-
<label class="mec-col-3" for="mec_settings_booking_thankyou_page"><?php _e('Thank You Page', 'modern-events-calendar-lite'); ?></label>
|
1358 |
-
<div class="mec-col-4">
|
1359 |
-
<select id="mec_settings_booking_thankyou_page" name="mec[settings][booking_thankyou_page]">
|
1360 |
-
<option value="">----</option>
|
1361 |
-
<?php foreach($pages as $page): ?>
|
1362 |
-
<option <?php echo ((isset($settings['booking_thankyou_page']) and $settings['booking_thankyou_page'] == $page->ID) ? 'selected="selected"' : ''); ?> value="<?php echo $page->ID; ?>"><?php echo $page->post_title; ?></option>
|
1363 |
-
<?php endforeach; ?>
|
1364 |
-
</select>
|
1365 |
-
<span class="mec-tooltip">
|
1366 |
-
<div class="box top">
|
1367 |
-
<h5 class="title"><?php _e('Thank You Page', 'modern-events-calendar-lite'); ?></h5>
|
1368 |
-
<div class="content"><p><?php esc_attr_e("User redirects to this page after booking. Leave it empty if you want to disable it.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/booking/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1369 |
-
</div>
|
1370 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1371 |
-
</span>
|
1372 |
-
</div>
|
1373 |
-
</div>
|
1374 |
-
<div class="mec-form-row">
|
1375 |
-
<div class="mec-col-12">
|
1376 |
-
<label for="mec_settings_booking_first_for_all">
|
1377 |
-
<input type="hidden" name="mec[settings][booking_first_for_all]" value="0" />
|
1378 |
-
<input type="checkbox" name="mec[settings][booking_first_for_all]" id="mec_settings_booking_first_for_all" <?php echo ((!isset($settings['booking_first_for_all']) or (isset($settings['booking_first_for_all']) and $settings['booking_first_for_all'] == '1')) ? 'checked="checked"' : ''); ?> value="1" />
|
1379 |
-
<?php _e('Enable Express Attendees Form', 'modern-events-calendar-lite'); ?>
|
1380 |
-
</label>
|
1381 |
-
<span class="mec-tooltip">
|
1382 |
-
<div class="box top">
|
1383 |
-
<h5 class="title"><?php _e('Attendees Form', 'modern-events-calendar-lite'); ?></h5>
|
1384 |
-
<div class="content"><p><?php esc_attr_e("Users are able to apply first attendee information for other attendees in the booking form.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/booking/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1385 |
-
</div>
|
1386 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1387 |
-
</span>
|
1388 |
-
</div>
|
1389 |
-
</div>
|
1390 |
-
<h5 class="mec-form-subtitle"><?php _e('Email verification', 'modern-events-calendar-lite'); ?></h5>
|
1391 |
-
<div class="mec-form-row">
|
1392 |
-
<div class="mec-col-12">
|
1393 |
-
<label for="mec_settings_booking_auto_verify_free">
|
1394 |
-
<input type="hidden" name="mec[settings][booking_auto_verify_free]" value="0" />
|
1395 |
-
<input type="checkbox" name="mec[settings][booking_auto_verify_free]" id="mec_settings_booking_auto_verify_free" <?php echo ((isset($settings['booking_auto_verify_free']) and $settings['booking_auto_verify_free'] == '1') ? 'checked="checked"' : ''); ?> value="1" />
|
1396 |
-
<?php _e('Auto verification for free bookings', 'modern-events-calendar-lite'); ?>
|
1397 |
-
</label>
|
1398 |
-
</div>
|
1399 |
-
</div>
|
1400 |
-
<div class="mec-form-row">
|
1401 |
-
<div class="mec-col-12">
|
1402 |
-
<label for="mec_settings_booking_auto_verify_paid">
|
1403 |
-
<input type="hidden" name="mec[settings][booking_auto_verify_paid]" value="0" />
|
1404 |
-
<input type="checkbox" name="mec[settings][booking_auto_verify_paid]" id="mec_settings_booking_auto_verify_paid" <?php echo ((isset($settings['booking_auto_verify_paid']) and $settings['booking_auto_verify_paid'] == '1') ? 'checked="checked"' : ''); ?> value="1" />
|
1405 |
-
<?php _e('Auto verification for paid bookings', 'modern-events-calendar-lite'); ?>
|
1406 |
-
</label>
|
1407 |
-
</div>
|
1408 |
-
</div>
|
1409 |
-
<h5 class="mec-form-subtitle"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></h5>
|
1410 |
-
<div class="mec-form-row">
|
1411 |
-
<div class="mec-col-12">
|
1412 |
-
<label for="mec_settings_booking_auto_confirm_free">
|
1413 |
-
<input type="hidden" name="mec[settings][booking_auto_confirm_free]" value="0" />
|
1414 |
-
<input type="checkbox" name="mec[settings][booking_auto_confirm_free]" id="mec_settings_booking_auto_confirm_free" <?php echo ((isset($settings['booking_auto_confirm_free']) and $settings['booking_auto_confirm_free'] == '1') ? 'checked="checked"' : ''); ?> value="1" />
|
1415 |
-
<?php _e('Auto confirmation for free bookings', 'modern-events-calendar-lite'); ?>
|
1416 |
-
</label>
|
1417 |
-
</div>
|
1418 |
-
</div>
|
1419 |
-
<div class="mec-form-row">
|
1420 |
-
<div class="mec-col-12">
|
1421 |
-
<label for="mec_settings_booking_auto_confirm_paid">
|
1422 |
-
<input type="hidden" name="mec[settings][booking_auto_confirm_paid]" value="0" />
|
1423 |
-
<input type="checkbox" name="mec[settings][booking_auto_confirm_paid]" id="mec_settings_booking_auto_confirm_paid" <?php echo ((isset($settings['booking_auto_confirm_paid']) and $settings['booking_auto_confirm_paid'] == '1') ? 'checked="checked"' : ''); ?> value="1" />
|
1424 |
-
<?php _e('Auto confirmation for paid bookings', 'modern-events-calendar-lite'); ?>
|
1425 |
-
</label>
|
1426 |
-
</div>
|
1427 |
-
</div>
|
1428 |
-
</div>
|
1429 |
-
<?php endif; ?>
|
1430 |
-
</div>
|
1431 |
-
|
1432 |
-
<div id="coupon_option" class="mec-options-fields">
|
1433 |
-
<h4 class="mec-form-subtitle"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></h4>
|
1434 |
|
1435 |
-
|
1436 |
-
|
1437 |
-
<?php else: ?>
|
1438 |
-
<div class="mec-form-row">
|
1439 |
-
<label>
|
1440 |
-
<input type="hidden" name="mec[settings][coupons_status]" value="0" />
|
1441 |
-
<input onchange="jQuery('#mec_coupons_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][coupons_status]" <?php if(isset($settings['coupons_status']) and $settings['coupons_status']) echo 'checked="checked"'; ?> /> <?php _e('Enable coupons module', 'modern-events-calendar-lite'); ?>
|
1442 |
-
</label>
|
1443 |
-
<p><?php esc_attr_e("After enable it, you should reloading this page to see a new menu on Dashboard > Booking", 'modern-events-calendar-lite'); ?></p>
|
1444 |
-
</div>
|
1445 |
-
<div id="mec_coupons_container_toggle" class="<?php if((isset($settings['coupons_status']) and !$settings['coupons_status']) or !isset($settings['coupons_status'])) echo 'mec-util-hidden'; ?>">
|
1446 |
-
</div>
|
1447 |
-
<?php endif; ?>
|
1448 |
-
</div>
|
1449 |
-
|
1450 |
-
<div id="taxes_option" class="mec-options-fields">
|
1451 |
-
<h4 class="mec-form-subtitle"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></h4>
|
1452 |
-
|
1453 |
-
<?php if(!$this->main->getPRO()): ?>
|
1454 |
-
<div class="info-msg"><?php echo sprintf(__("%s is required to use this feature.", 'modern-events-calendar-lite'), '<a href="'.$this->main->get_pro_link().'" target="_blank">'.__('Pro version of Modern Events Calendar', 'modern-events-calendar-lite').'</a>'); ?></div>
|
1455 |
-
<?php else: ?>
|
1456 |
-
<div class="mec-form-row">
|
1457 |
-
<label>
|
1458 |
-
<input type="hidden" name="mec[settings][taxes_fees_status]" value="0" />
|
1459 |
-
<input onchange="jQuery('#mec_taxes_fees_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][taxes_fees_status]" <?php if(isset($settings['taxes_fees_status']) and $settings['taxes_fees_status']) echo 'checked="checked"'; ?> /> <?php _e('Enable taxes / fees module', 'modern-events-calendar-lite'); ?>
|
1460 |
-
</label>
|
1461 |
-
</div>
|
1462 |
-
<div id="mec_taxes_fees_container_toggle" class="<?php if((isset($settings['taxes_fees_status']) and !$settings['taxes_fees_status']) or !isset($settings['taxes_fees_status'])) echo 'mec-util-hidden'; ?>">
|
1463 |
<div class="mec-form-row">
|
1464 |
-
<
|
|
|
|
|
|
|
1465 |
</div>
|
1466 |
-
<div class="mec-
|
1467 |
-
|
1468 |
-
|
1469 |
-
<div class="mec-
|
1470 |
-
<input
|
1471 |
-
|
1472 |
-
|
1473 |
-
|
1474 |
-
|
1475 |
-
|
1476 |
-
|
1477 |
-
<h5 class="title"><?php _e('Amount', 'modern-events-calendar-lite'); ?></h5>
|
1478 |
-
<div class="content"><p><?php esc_attr_e("Fee amount, considered as fixed amount if you set the type to amount otherwise considered as percentage", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/taxes-or-fees/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1479 |
-
</div>
|
1480 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1481 |
-
</span>
|
1482 |
-
</span>
|
1483 |
-
<span class="mec-col-4">
|
1484 |
-
<select name="mec[settings][fees][<?php echo $i; ?>][type]">
|
1485 |
-
<option value="percent" <?php echo ((isset($fee['type']) and $fee['type'] == 'percent') ? 'selected="selected"' : ''); ?>><?php _e('Percent', 'modern-events-calendar-lite'); ?></option>
|
1486 |
-
<option value="amount" <?php echo ((isset($fee['type']) and $fee['type'] == 'amount') ? 'selected="selected"' : ''); ?>><?php _e('Amount (Per Ticket)', 'modern-events-calendar-lite'); ?></option>
|
1487 |
-
<option value="amount_per_booking" <?php echo ((isset($fee['type']) and $fee['type'] == 'amount_per_booking') ? 'selected="selected"' : ''); ?>><?php _e('Amount (Per Booking)', 'modern-events-calendar-lite'); ?></option>
|
1488 |
-
</select>
|
1489 |
</span>
|
1490 |
-
<button class="button" type="button" id="mec_remove_fee_button<?php echo $i; ?>" onclick="mec_remove_fee(<?php echo $i; ?>);"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
1491 |
</div>
|
1492 |
</div>
|
1493 |
-
<?php endforeach; ?>
|
1494 |
-
</div>
|
1495 |
-
<input type="hidden" id="mec_new_fee_key" value="<?php echo $i+1; ?>" />
|
1496 |
-
<div class="mec-util-hidden" id="mec_new_fee_raw">
|
1497 |
-
<div class="mec-box" id="mec_fee_row:i:">
|
1498 |
-
<div class="mec-form-row">
|
1499 |
-
<input class="mec-col-12" type="text" name="mec[settings][fees][:i:][title]" placeholder="<?php esc_attr_e('Fee Title', 'modern-events-calendar-lite'); ?>" />
|
1500 |
-
</div>
|
1501 |
<div class="mec-form-row">
|
1502 |
-
<
|
1503 |
-
|
|
|
1504 |
<span class="mec-tooltip">
|
1505 |
-
|
1506 |
-
|
1507 |
-
|
1508 |
-
|
1509 |
-
|
1510 |
-
|
1511 |
-
</span>
|
1512 |
-
<span class="mec-col-4">
|
1513 |
-
<select name="mec[settings][fees][:i:][type]">
|
1514 |
-
<option value="percent"><?php _e('Percent', 'modern-events-calendar-lite'); ?></option>
|
1515 |
-
<option value="amount"><?php _e('Amount (Per Ticket)', 'modern-events-calendar-lite'); ?></option>
|
1516 |
-
<option value="amount_per_booking"><?php _e('Amount (Per Booking)', 'modern-events-calendar-lite'); ?></option>
|
1517 |
-
</select>
|
1518 |
-
</span>
|
1519 |
-
<button class="button" type="button" id="mec_remove_fee_button:i:" onclick="mec_remove_fee(:i:);"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
1520 |
</div>
|
1521 |
</div>
|
1522 |
-
</div>
|
1523 |
-
</div>
|
1524 |
-
<?php endif; ?>
|
1525 |
-
</div>
|
1526 |
-
|
1527 |
-
<div id="ticket_variations_option" class="mec-options-fields">
|
1528 |
-
<h4 class="mec-form-subtitle"><?php _e('Ticket Variations & Options', 'modern-events-calendar-lite'); ?></h4>
|
1529 |
-
|
1530 |
-
<?php if(!$this->main->getPRO()): ?>
|
1531 |
-
<div class="info-msg"><?php echo sprintf(__("%s is required to use this feature.", 'modern-events-calendar-lite'), '<a href="'.$this->main->get_pro_link().'" target="_blank">'.__('Pro version of Modern Events Calendar', 'modern-events-calendar-lite').'</a>'); ?></div>
|
1532 |
-
<?php else: ?>
|
1533 |
-
<div class="mec-form-row">
|
1534 |
-
<label>
|
1535 |
-
<input type="hidden" name="mec[settings][ticket_variations_status]" value="0" />
|
1536 |
-
<input onchange="jQuery('#mec_ticket_variations_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][ticket_variations_status]" <?php if(isset($settings['ticket_variations_status']) and $settings['ticket_variations_status']) echo 'checked="checked"'; ?> /> <?php _e('Enable ticket options module', 'modern-events-calendar-lite'); ?>
|
1537 |
-
</label>
|
1538 |
-
</div>
|
1539 |
-
<div id="mec_ticket_variations_container_toggle" class="<?php if((isset($settings['ticket_variations_status']) and !$settings['ticket_variations_status']) or !isset($settings['ticket_variations_status'])) echo 'mec-util-hidden'; ?>">
|
1540 |
<div class="mec-form-row">
|
1541 |
-
<
|
1542 |
-
|
1543 |
-
|
1544 |
-
|
1545 |
-
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
-
|
1550 |
-
<
|
1551 |
-
<input type="text" name="mec[settings][ticket_variations][<?php echo $i; ?>][price]" placeholder="<?php esc_attr_e('Price', 'modern-events-calendar-lite'); ?>" value="<?php echo (isset($ticket_variation['price']) ? $ticket_variation['price'] : ''); ?>" />
|
1552 |
-
<span class="mec-tooltip">
|
1553 |
-
<div class="box top">
|
1554 |
-
<h5 class="title"><?php _e('Price', 'modern-events-calendar-lite'); ?></h5>
|
1555 |
-
<div class="content"><p><?php esc_attr_e("Option Price", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/ticket-variations/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1556 |
-
</div>
|
1557 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1558 |
-
</span>
|
1559 |
-
</span>
|
1560 |
-
<span class="mec-col-4">
|
1561 |
-
<input type="number" min="0" name="mec[settings][ticket_variations][<?php echo $i; ?>][max]" placeholder="<?php esc_attr_e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?>" value="<?php echo (isset($ticket_variation['max']) ? $ticket_variation['max'] : ''); ?>" />
|
1562 |
-
<span class="mec-tooltip">
|
1563 |
-
<div class="box top">
|
1564 |
-
<h5 class="title"><?php _e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?></h5>
|
1565 |
-
<div class="content"><p><?php esc_attr_e("Maximum Per Ticket. Leave it blank for unlimited.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/ticket-variations/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1566 |
-
</div>
|
1567 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1568 |
-
</span>
|
1569 |
-
</span>
|
1570 |
-
<button class="button" type="button" id="mec_remove_ticket_variation_button<?php echo $i; ?>" onclick="mec_remove_ticket_variation(<?php echo $i; ?>);"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
1571 |
</div>
|
1572 |
-
|
1573 |
-
|
1574 |
-
</div>
|
1575 |
-
<input type="hidden" id="mec_new_ticket_variation_key" value="<?php echo $i+1; ?>" />
|
1576 |
-
<div class="mec-util-hidden" id="mec_new_ticket_variation_raw">
|
1577 |
-
<div class="mec-box" id="mec_ticket_variation_row:i:">
|
1578 |
-
<div class="mec-form-row">
|
1579 |
-
<input class="mec-col-12" type="text" name="mec[settings][ticket_variations][:i:][title]" placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>" />
|
1580 |
-
</div>
|
1581 |
-
<div class="mec-form-row">
|
1582 |
-
<span class="mec-col-4">
|
1583 |
-
<input type="text" name="mec[settings][ticket_variations][:i:][price]" placeholder="<?php esc_attr_e('Price', 'modern-events-calendar-lite'); ?>" />
|
1584 |
-
<span class="mec-tooltip">
|
1585 |
-
<div class="box top">
|
1586 |
-
<h5 class="title"><?php _e('Price', 'modern-events-calendar-lite'); ?></h5>
|
1587 |
-
<div class="content"><p><?php esc_attr_e("Option Price", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/ticket-variations/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1588 |
-
</div>
|
1589 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1590 |
-
</span>
|
1591 |
-
</span>
|
1592 |
-
<span class="mec-col-4">
|
1593 |
-
<input type="number" min="0" name="mec[settings][ticket_variations][:i:][max]" placeholder="<?php esc_attr_e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?>" value="1" />
|
1594 |
-
<span class="mec-tooltip">
|
1595 |
-
<div class="box top">
|
1596 |
-
<h5 class="title"><?php _e('Maximum Per Ticket', 'modern-events-calendar-lite'); ?></h5>
|
1597 |
-
<div class="content"><p><?php esc_attr_e("Maximum Per Ticket. Leave it blank for unlimited.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/ticket-variations/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1598 |
-
</div>
|
1599 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1600 |
-
</span>
|
1601 |
-
</span>
|
1602 |
-
<button class="button" type="button" id="mec_remove_ticket_variation_button:i:" onclick="mec_remove_ticket_variation(:i:);"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
1603 |
-
</div>
|
1604 |
</div>
|
1605 |
</div>
|
1606 |
</div>
|
1607 |
-
<?php endif; ?>
|
1608 |
-
</div>
|
1609 |
-
|
1610 |
-
<div id="buddy_option" class="mec-options-fields">
|
1611 |
-
<h4 class="mec-form-subtitle"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></h4>
|
1612 |
-
<div class="mec-form-row">
|
1613 |
-
<label>
|
1614 |
-
<input type="hidden" name="mec[settings][bp_status]" value="0" />
|
1615 |
-
<input onchange="jQuery('#mec_bp_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][bp_status]" <?php if(isset($settings['bp_status']) and $settings['bp_status']) echo 'checked="checked"'; ?> /> <?php _e('Enable BuddyPress Integration', 'modern-events-calendar-lite'); ?>
|
1616 |
-
</label>
|
1617 |
-
</div>
|
1618 |
-
<div id="mec_bp_container_toggle" class="<?php if((isset($settings['bp_status']) and !$settings['bp_status']) or !isset($settings['bp_status'])) echo 'mec-util-hidden'; ?>">
|
1619 |
-
<div class="mec-form-row">
|
1620 |
-
<label>
|
1621 |
-
<input type="hidden" name="mec[settings][bp_attendees_module]" value="0" />
|
1622 |
-
<input value="1" type="checkbox" name="mec[settings][bp_attendees_module]" <?php if(isset($settings['bp_attendees_module']) and $settings['bp_attendees_module']) echo 'checked="checked"'; ?> /> <?php _e('Show "Attendees Module" in event details page', 'modern-events-calendar-lite'); ?>
|
1623 |
-
</label>
|
1624 |
-
</div>
|
1625 |
-
<div class="mec-form-row">
|
1626 |
-
<label class="mec-col-3" for="mec_settings_bp_attendees_module_limit"><?php _e('Attendees Limit', 'modern-events-calendar-lite'); ?></label>
|
1627 |
-
<div class="mec-col-4">
|
1628 |
-
<input type="text" id="mec_settings_bp_attendees_module_limit" name="mec[settings][bp_attendees_module_limit]" value="<?php echo ((isset($settings['bp_attendees_module_limit']) and trim($settings['bp_attendees_module_limit']) != '') ? $settings['bp_attendees_module_limit'] : '20'); ?>" />
|
1629 |
-
</div>
|
1630 |
-
</div>
|
1631 |
-
<div class="mec-form-row">
|
1632 |
-
<label>
|
1633 |
-
<input type="hidden" name="mec[settings][bp_add_activity]" value="0" />
|
1634 |
-
<input value="1" type="checkbox" name="mec[settings][bp_add_activity]" <?php if(isset($settings['bp_add_activity']) and $settings['bp_add_activity']) echo 'checked="checked"'; ?> /> <?php _e('Add booking activity to user profile', 'modern-events-calendar-lite'); ?>
|
1635 |
-
</label>
|
1636 |
-
</div>
|
1637 |
</div>
|
1638 |
-
</div>
|
1639 |
|
1640 |
-
|
1641 |
-
<h4 class="mec-form-subtitle"><?php _e('Mailchimp Integration', 'modern-events-calendar-lite'); ?></h4>
|
1642 |
-
<div class="mec-form-row">
|
1643 |
-
<label>
|
1644 |
-
<input type="hidden" name="mec[settings][mchimp_status]" value="0" />
|
1645 |
-
<input onchange="jQuery('#mec_mchimp_status_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][mchimp_status]" <?php if(isset($settings['mchimp_status']) and $settings['mchimp_status']) echo 'checked="checked"'; ?> /> <?php _e('Enable Mailchimp Integration', 'modern-events-calendar-lite'); ?>
|
1646 |
-
</label>
|
1647 |
-
</div>
|
1648 |
-
<div id="mec_mchimp_status_container_toggle" class="<?php if((isset($settings['mchimp_status']) and !$settings['mchimp_status']) or !isset($settings['mchimp_status'])) echo 'mec-util-hidden'; ?>">
|
1649 |
-
<div class="mec-form-row">
|
1650 |
-
<label class="mec-col-3" for="mec_settings_mchimp_api_key"><?php _e('API Key', 'modern-events-calendar-lite'); ?></label>
|
1651 |
-
<div class="mec-col-4">
|
1652 |
-
<input type="text" id="mec_settings_mchimp_api_key" name="mec[settings][mchimp_api_key]" value="<?php echo ((isset($settings['mchimp_api_key']) and trim($settings['mchimp_api_key']) != '') ? $settings['mchimp_api_key'] : ''); ?>" />
|
1653 |
-
<span class="mec-tooltip">
|
1654 |
-
<div class="box">
|
1655 |
-
<h5 class="title"><?php _e('API Key', 'modern-events-calendar-lite'); ?></h5>
|
1656 |
-
<div class="content"><p><?php esc_attr_e("Required!", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/mailchimp-integration/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1657 |
-
</div>
|
1658 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1659 |
-
</span>
|
1660 |
-
</div>
|
1661 |
-
</div>
|
1662 |
-
<div class="mec-form-row">
|
1663 |
-
<label class="mec-col-3" for="mec_settings_mchimp_list_id"><?php _e('List ID', 'modern-events-calendar-lite'); ?></label>
|
1664 |
-
<div class="mec-col-4">
|
1665 |
-
<input type="text" id="mec_settings_mchimp_list_id" name="mec[settings][mchimp_list_id]" value="<?php echo ((isset($settings['mchimp_list_id']) and trim($settings['mchimp_list_id']) != '') ? $settings['mchimp_list_id'] : ''); ?>" />
|
1666 |
-
<span class="mec-tooltip">
|
1667 |
-
<div class="box top">
|
1668 |
-
<h5 class="title"><?php _e('List ID', 'modern-events-calendar-lite'); ?></h5>
|
1669 |
-
<div class="content"><p><?php esc_attr_e("Required!", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/mailchimp-integration/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1670 |
-
</div>
|
1671 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1672 |
-
</span>
|
1673 |
-
</div>
|
1674 |
-
</div>
|
1675 |
-
<div class="mec-form-row">
|
1676 |
-
<label class="mec-col-3" for="mec_settings_mchimp_subscription_status"><?php _e('Subscription Status', 'modern-events-calendar-lite'); ?></label>
|
1677 |
-
<div class="mec-col-4">
|
1678 |
-
<select name="mec[settings][mchimp_subscription_status]" id="mec_settings_mchimp_subscription_status">
|
1679 |
-
<option value="subscribed" <?php if(isset($settings['mchimp_subscription_status']) and $settings['mchimp_subscription_status'] == 'subscribed') echo 'selected="selected"'; ?>><?php _e('Subscribe automatically', 'modern-events-calendar-lite'); ?></option>
|
1680 |
-
<option value="pending" <?php if(isset($settings['mchimp_subscription_status']) and $settings['mchimp_subscription_status'] == 'pending') echo 'selected="selected"'; ?>><?php _e('Subscribe by verification', 'modern-events-calendar-lite'); ?></option>
|
1681 |
-
</select>
|
1682 |
-
<span class="mec-tooltip">
|
1683 |
-
<div class="box top">
|
1684 |
-
<h5 class="title"><?php _e('Subscription Status', 'modern-events-calendar-lite'); ?></h5>
|
1685 |
-
<div class="content"><p><?php esc_attr_e('If you choose "Subscribe by verification" then an email will send to user by mailchimp for subscription verification.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/mailchimp-integration/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
1686 |
-
</div>
|
1687 |
-
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
1688 |
-
</span>
|
1689 |
-
</div>
|
1690 |
-
</div>
|
1691 |
-
</div>
|
1692 |
-
</div>
|
1693 |
|
1694 |
<div id="uploadfield_option" class="mec-options-fields">
|
1695 |
<h4 class="mec-form-subtitle"><?php _e('Upload Field Options', 'modern-events-calendar-lite'); ?></h4>
|
@@ -1707,7 +947,7 @@ if($this->getPRO())
|
|
1707 |
</div>
|
1708 |
<p class="description"><?php echo __('The unit is Megabyte "MB"', 'modern-events-calendar-lite'); ?></p>
|
1709 |
</div>
|
1710 |
-
</div>
|
1711 |
|
1712 |
<div class="mec-options-fields">
|
1713 |
<?php wp_nonce_field('mec_options_form'); ?>
|
@@ -1744,6 +984,8 @@ jQuery(document).ready(function()
|
|
1744 |
scrollTop: jQuery("#"+ContentId+"").offset().top - 140
|
1745 |
}, 300);
|
1746 |
});
|
|
|
|
|
1747 |
});
|
1748 |
|
1749 |
jQuery(".dpr-save-btn").on('click', function(event)
|
3 |
defined('MECEXEC') or die();
|
4 |
|
5 |
$settings = $this->main->get_settings();
|
|
|
6 |
$archive_skins = $this->main->get_archive_skins();
|
7 |
$category_skins = $this->main->get_category_skins();
|
8 |
|
|
|
|
|
9 |
$currencies = $this->main->get_currencies();
|
10 |
|
11 |
// WordPress Pages
|
18 |
$envato = $this->getEnvato();
|
19 |
$verify = $envato->get_MEC_info('dl');
|
20 |
}
|
21 |
+
$get_n_option = get_option('mec_addons_notification_option');
|
22 |
?>
|
23 |
+
<?php if ( $get_n_option != 'open' ) : ?>
|
24 |
+
<div class="wns-be-container mec-addons-notification-set-box extra">
|
25 |
+
<?php echo $this->main->addons_msg(); ?>
|
26 |
+
</div>
|
27 |
+
<?php endif; ?>
|
28 |
+
<div class="wns-be-container wns-be-container-sticky">
|
29 |
<div id="wns-be-infobar">
|
30 |
<input id="mec-search-settings" type="text" placeholder="Search..">
|
31 |
<a id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
33 |
|
34 |
<div class="wns-be-sidebar">
|
35 |
<ul class="wns-be-group-menu">
|
36 |
+
|
37 |
<li class="wns-be-group-menu-li has-sub active">
|
38 |
|
39 |
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>" id="" class="wns-be-group-tab-link-a">
|
47 |
<ul id="" class="subsection" style="display: block;">
|
48 |
|
49 |
<li id="" class="pr-be-group-menu-li active">
|
50 |
+
<a data-id="general_option" class="wns-be-group-tab-link-a WnTabLinks">
|
51 |
<span class="pr-be-group-menu-title"><?php _e('General Options', 'modern-events-calendar-lite'); ?></span>
|
52 |
</a>
|
53 |
</li>
|
54 |
|
55 |
<li id="" class="pr-be-group-menu-li">
|
56 |
+
<a data-id="archive_options" class="wns-be-group-tab-link-a WnTabLinks">
|
57 |
+
<span class="pr-be-group-menu-title"><?php _e('Archive Pages', 'modern-events-calendar-lite'); ?></span>
|
58 |
</a>
|
59 |
</li>
|
60 |
|
61 |
<li id="" class="pr-be-group-menu-li">
|
62 |
+
<a data-id="slug_option" class="wns-be-group-tab-link-a WnTabLinks">
|
63 |
<span class="pr-be-group-menu-title"><?php _e('Slugs/Permalinks', 'modern-events-calendar-lite'); ?></span>
|
64 |
</a>
|
65 |
</li>
|
66 |
|
67 |
<li id="" class="pr-be-group-menu-li">
|
68 |
+
<a id="" data-id="currency_option" class="wns-be-group-tab-link-a WnTabLinks">
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
<span class="pr-be-group-menu-title"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></span>
|
70 |
</a>
|
71 |
+
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
|
73 |
<li id="" class="pr-be-group-menu-li">
|
74 |
+
<a id="" data-id="recaptcha_option" class="wns-be-group-tab-link-a WnTabLinks">
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
<span class="pr-be-group-menu-title"><?php _e('Google Recaptcha Options', 'modern-events-calendar-lite'); ?></span>
|
76 |
</a>
|
77 |
</li>
|
78 |
|
79 |
<li id="" class="pr-be-group-menu-li">
|
80 |
+
<a data-id="fes_option" class="wns-be-group-tab-link-a WnTabLinks">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
<span class="pr-be-group-menu-title"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></span>
|
82 |
</a>
|
83 |
</li>
|
84 |
|
85 |
<li id="" class="pr-be-group-menu-li">
|
86 |
+
<a data-id="user_profile_options" class="wns-be-group-tab-link-a WnTabLinks">
|
87 |
<span class="pr-be-group-menu-title"><?php _e('User Profile', 'modern-events-calendar-lite'); ?></span>
|
88 |
</a>
|
89 |
</li>
|
90 |
|
91 |
+
<?php if($this->main->getPRO()): ?>
|
|
|
|
|
|
|
|
|
92 |
|
93 |
+
<li id="" class="pr-be-group-menu-li">
|
94 |
+
<a data-id="mailchimp_option" class="wns-be-group-tab-link-a WnTabLinks">
|
95 |
+
<span class="pr-be-group-menu-title"><?php _e('Mailchimp Integration', 'modern-events-calendar-lite'); ?></span>
|
96 |
+
</a>
|
97 |
+
</li>
|
98 |
|
99 |
+
<?php endif; ?>
|
|
|
|
|
|
|
|
|
100 |
|
101 |
<li id="" class="pr-be-group-menu-li">
|
102 |
+
<a data-id="uploadfield_option" class="wns-be-group-tab-link-a WnTabLinks">
|
103 |
+
<span class="pr-be-group-menu-title"><?php _e('Upload Field', 'modern-events-calendar-lite'); ?></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
</a>
|
105 |
+
</li>
|
106 |
|
107 |
+
</ul>
|
108 |
+
</li>
|
|
|
|
|
|
|
109 |
|
110 |
+
<li class="wns-be-group-menu-li">
|
111 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>" id="" class="wns-be-group-tab-link-a">
|
112 |
+
<i class="mec-sl-note"></i>
|
113 |
+
<span class="wns-be-group-menu-title"><?php echo __('Single Event', 'modern-events-calendar-lite'); ?></span>
|
114 |
+
</a>
|
115 |
+
<ul id="" class="submneu-hover">
|
116 |
+
<li class="submenu-item">
|
117 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#event_options"><?php _e('Single Event Page', 'modern-events-calendar-lite'); ?></a>
|
118 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#countdown_option"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></a>
|
119 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#exceptional_option"><?php _e('Exceptional Days', 'modern-events-calendar-lite'); ?></a>
|
120 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_organizers"><?php _e('Additional Organizers', 'modern-events-calendar-lite'); ?></a>
|
121 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_locations"><?php _e('Additional Locations', 'modern-events-calendar-lite'); ?></a>
|
122 |
</li>
|
123 |
+
</ul>
|
124 |
+
</li>
|
125 |
|
126 |
+
<?php if($this->main->getPRO()): ?>
|
|
|
|
|
|
|
|
|
127 |
|
128 |
+
<li class="wns-be-group-menu-li">
|
129 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>" id="" class="wns-be-group-tab-link-a">
|
130 |
+
<i class="mec-sl-credit-card"></i>
|
131 |
+
<span class="wns-be-group-menu-title"><?php echo __('Booking', 'modern-events-calendar-lite'); ?></span>
|
132 |
+
</a>
|
133 |
+
<ul id="" class="submneu-hover">
|
134 |
+
<li class="submenu-item">
|
135 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#booking_option"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
136 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
137 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#coupon_option"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></a>
|
138 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#taxes_option"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></a>
|
139 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#ticket_variations_option"><?php _e('Ticket Variations & Options', 'modern-events-calendar-lite'); ?></a>
|
140 |
+
<?php endif; ?>
|
141 |
+
</li>
|
142 |
+
</ul>
|
143 |
+
</li>
|
144 |
|
145 |
+
<?php endif; ?>
|
|
|
|
|
|
|
|
|
146 |
|
147 |
+
<li class="wns-be-group-menu-li">
|
148 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>" id="" class="wns-be-group-tab-link-a">
|
149 |
+
<i class="mec-sl-grid"></i>
|
150 |
+
<span class="wns-be-group-menu-title"><?php echo __('Modules', 'modern-events-calendar-lite'); ?></span>
|
151 |
+
</a>
|
152 |
+
<ul id="" class="submneu-hover">
|
153 |
+
<li class="submenu-item">
|
154 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#speakers_option"><?php _e('Speakers', 'modern-events-calendar-lite'); ?></a>
|
155 |
+
<?php if($this->main->getPRO()): ?>
|
156 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#googlemap_option"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></a>
|
157 |
+
<?php endif; ?>
|
158 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#export_module_option"><?php _e('Export Options', 'modern-events-calendar-lite'); ?></a>
|
159 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#time_module_option"><?php _e('Local Time', 'modern-events-calendar-lite'); ?></a>
|
160 |
+
<?php if($this->main->getPRO()): ?>
|
161 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#qrcode_module_option"><?php _e('QR Code', 'modern-events-calendar-lite'); ?></a>
|
162 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#weather_module_option"><?php _e('Weather', 'modern-events-calendar-lite'); ?></a>
|
163 |
+
<?php endif; ?>
|
164 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#social_options"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></a>
|
165 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#next_event_option"><?php _e('Next Event', 'modern-events-calendar-lite'); ?></a>
|
166 |
+
<?php if($this->main->getPRO()): ?>
|
167 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#buddy_option"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></a>
|
168 |
+
<?php endif; ?>
|
169 |
+
</li>
|
170 |
</ul>
|
171 |
</li>
|
172 |
|
188 |
|
189 |
<?php endif;?>
|
190 |
|
|
|
191 |
<li class="wns-be-group-menu-li">
|
192 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>" id="" class="wns-be-group-tab-link-a">
|
193 |
<i class="mec-sl-envelope"></i>
|
194 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
195 |
</a>
|
196 |
+
<ul id="" class="submneu-hover">
|
197 |
+
<li class="submenu-item">
|
198 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
199 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_notification"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
200 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_verification"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></a>
|
201 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_confirmation"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></a>
|
202 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#cancellation_notification"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></a>
|
203 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#admin_notification"><?php _e('Admin', 'modern-events-calendar-lite'); ?></a>
|
204 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_reminder"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></a>
|
205 |
+
<?php endif; ?>
|
206 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#new_event"><?php _e('New Event', 'modern-events-calendar-lite'); ?></a>
|
207 |
+
</li>
|
208 |
+
</ul>
|
209 |
</li>
|
210 |
|
211 |
<li class="wns-be-group-menu-li">
|
236 |
</a>
|
237 |
</li>
|
238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
</ul>
|
240 |
</div>
|
241 |
|
285 |
<div class="content"><p><?php esc_attr_e("For showing all days of multiple day events on frontend or only show the first day.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/general-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
286 |
</div>
|
287 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
288 |
+
</span>
|
289 |
</div>
|
290 |
|
291 |
</div>
|
312 |
<div class="content"><p><?php esc_attr_e("Checked this checkbox to remove 'Th' on calendar ( ex: '12Th' remove Th, showing just '12' )", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/general-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
313 |
</div>
|
314 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
315 |
+
</span>
|
316 |
</div>
|
317 |
|
318 |
<?php $weekdays = $this->main->get_weekday_i18n_labels(); ?>
|
353 |
<div class="content"><p><?php esc_attr_e("Proceed with caution. Default is set to Saturday and Sunday ( you can change 'Week Starts' on WordPress Dashboard > Settings > General - bottom of the page ).", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/general-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
354 |
</div>
|
355 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
356 |
+
</span>
|
357 |
</div>
|
358 |
|
359 |
</div>
|
558 |
<div class="content"><p><?php esc_attr_e("If you disable it, then you should create a page as archive page of MEC. Page's slug must equals to \"Main Slug\" of MEC. Also it will disable all of MEC rewrite rules.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/archive-pages/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
559 |
</div>
|
560 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
561 |
+
</span>
|
562 |
</div>
|
563 |
</div>
|
564 |
|
574 |
<span class="mec-tooltip">
|
575 |
<div class="box">
|
576 |
<h5 class="title"><?php _e('Main Slug', 'modern-events-calendar-lite'); ?></h5>
|
577 |
+
<div class="content"><p><?php esc_attr_e("Default value is events. You can not have a page with this name. MEC allows you to create custom URLs for the permalinks and archives to enhance the applicability and forward-compatibility of the links.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/slug-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
578 |
</div>
|
579 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
580 |
+
</span>
|
581 |
<p><?php esc_attr_e("Valid characters are lowercase a-z, - character and numbers.", 'modern-events-calendar-lite'); ?></p>
|
582 |
</div>
|
583 |
</div>
|
591 |
<div class="content"><p><?php esc_attr_e("It's slug of MEC categories, you can change it to events-cat or something else. Default value is mec-category. You can not have a page with this name.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/slug-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
592 |
</div>
|
593 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
594 |
+
</span>
|
595 |
<p><?php esc_attr_e("Valid characters are lowercase a-z, - character and numbers.", 'modern-events-calendar-lite'); ?></p>
|
596 |
</div>
|
597 |
</div>
|
|
|
598 |
</div>
|
599 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
600 |
<div id="currency_option" class="mec-options-fields">
|
|
|
601 |
<h4 class="mec-form-subtitle"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></h4>
|
602 |
<div class="mec-form-row">
|
603 |
<label class="mec-col-3" for="mec_settings_currency"><?php _e('Currency', 'modern-events-calendar-lite'); ?></label>
|
652 |
</label>
|
653 |
</div>
|
654 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
655 |
</div>
|
656 |
|
657 |
<div id="recaptcha_option" class="mec-options-fields">
|
688 |
</div>
|
689 |
</div>
|
690 |
</div>
|
691 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
692 |
|
693 |
<div id="fes_option" class="mec-options-fields">
|
694 |
<h4 class="mec-form-subtitle"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></h4>
|
706 |
<div class="content"><p><?php esc_attr_e("This option, affects the selection of Start/End time.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/frontend-event-submission/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
707 |
</div>
|
708 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
709 |
+
</span>
|
710 |
</div>
|
711 |
</div>
|
712 |
|
861 |
<div class="content"><p><?php esc_attr_e("Event Note shows on Frontend Submission Form and Edit Event in backend.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/frontend-event-submission/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
862 |
</div>
|
863 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
864 |
+
</span>
|
865 |
</div>
|
866 |
</div>
|
867 |
</div>
|
873 |
</div>
|
874 |
</div>
|
875 |
|
876 |
+
<?php if($this->main->getPRO()): ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
877 |
|
878 |
+
<div id="mailchimp_option" class="mec-options-fields">
|
879 |
+
<h4 class="mec-form-subtitle"><?php _e('Mailchimp Integration', 'modern-events-calendar-lite'); ?></h4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
880 |
<div class="mec-form-row">
|
881 |
+
<label>
|
882 |
+
<input type="hidden" name="mec[settings][mchimp_status]" value="0" />
|
883 |
+
<input onchange="jQuery('#mec_mchimp_status_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][mchimp_status]" <?php if(isset($settings['mchimp_status']) and $settings['mchimp_status']) echo 'checked="checked"'; ?> /> <?php _e('Enable Mailchimp Integration', 'modern-events-calendar-lite'); ?>
|
884 |
+
</label>
|
885 |
</div>
|
886 |
+
<div id="mec_mchimp_status_container_toggle" class="<?php if((isset($settings['mchimp_status']) and !$settings['mchimp_status']) or !isset($settings['mchimp_status'])) echo 'mec-util-hidden'; ?>">
|
887 |
+
<div class="mec-form-row">
|
888 |
+
<label class="mec-col-3" for="mec_settings_mchimp_api_key"><?php _e('API Key', 'modern-events-calendar-lite'); ?></label>
|
889 |
+
<div class="mec-col-4">
|
890 |
+
<input type="text" id="mec_settings_mchimp_api_key" name="mec[settings][mchimp_api_key]" value="<?php echo ((isset($settings['mchimp_api_key']) and trim($settings['mchimp_api_key']) != '') ? $settings['mchimp_api_key'] : ''); ?>" />
|
891 |
+
<span class="mec-tooltip">
|
892 |
+
<div class="box">
|
893 |
+
<h5 class="title"><?php _e('API Key', 'modern-events-calendar-lite'); ?></h5>
|
894 |
+
<div class="content"><p><?php esc_attr_e("Required!", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/mailchimp-integration/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
895 |
+
</div>
|
896 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
897 |
</span>
|
|
|
898 |
</div>
|
899 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
900 |
<div class="mec-form-row">
|
901 |
+
<label class="mec-col-3" for="mec_settings_mchimp_list_id"><?php _e('List ID', 'modern-events-calendar-lite'); ?></label>
|
902 |
+
<div class="mec-col-4">
|
903 |
+
<input type="text" id="mec_settings_mchimp_list_id" name="mec[settings][mchimp_list_id]" value="<?php echo ((isset($settings['mchimp_list_id']) and trim($settings['mchimp_list_id']) != '') ? $settings['mchimp_list_id'] : ''); ?>" />
|
904 |
<span class="mec-tooltip">
|
905 |
+
<div class="box top">
|
906 |
+
<h5 class="title"><?php _e('List ID', 'modern-events-calendar-lite'); ?></h5>
|
907 |
+
<div class="content"><p><?php esc_attr_e("Required!", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/mailchimp-integration/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
908 |
+
</div>
|
909 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
910 |
+
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
911 |
</div>
|
912 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
913 |
<div class="mec-form-row">
|
914 |
+
<label class="mec-col-3" for="mec_settings_mchimp_subscription_status"><?php _e('Subscription Status', 'modern-events-calendar-lite'); ?></label>
|
915 |
+
<div class="mec-col-4">
|
916 |
+
<select name="mec[settings][mchimp_subscription_status]" id="mec_settings_mchimp_subscription_status">
|
917 |
+
<option value="subscribed" <?php if(isset($settings['mchimp_subscription_status']) and $settings['mchimp_subscription_status'] == 'subscribed') echo 'selected="selected"'; ?>><?php _e('Subscribe automatically', 'modern-events-calendar-lite'); ?></option>
|
918 |
+
<option value="pending" <?php if(isset($settings['mchimp_subscription_status']) and $settings['mchimp_subscription_status'] == 'pending') echo 'selected="selected"'; ?>><?php _e('Subscribe by verification', 'modern-events-calendar-lite'); ?></option>
|
919 |
+
</select>
|
920 |
+
<span class="mec-tooltip">
|
921 |
+
<div class="box top">
|
922 |
+
<h5 class="title"><?php _e('Subscription Status', 'modern-events-calendar-lite'); ?></h5>
|
923 |
+
<div class="content"><p><?php esc_attr_e('If you choose "Subscribe by verification" then an email will send to user by mailchimp for subscription verification.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/mailchimp-integration/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
924 |
</div>
|
925 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
926 |
+
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
927 |
</div>
|
928 |
</div>
|
929 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
930 |
</div>
|
|
|
931 |
|
932 |
+
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
933 |
|
934 |
<div id="uploadfield_option" class="mec-options-fields">
|
935 |
<h4 class="mec-form-subtitle"><?php _e('Upload Field Options', 'modern-events-calendar-lite'); ?></h4>
|
947 |
</div>
|
948 |
<p class="description"><?php echo __('The unit is Megabyte "MB"', 'modern-events-calendar-lite'); ?></p>
|
949 |
</div>
|
950 |
+
</div>
|
951 |
|
952 |
<div class="mec-options-fields">
|
953 |
<?php wp_nonce_field('mec_options_form'); ?>
|
984 |
scrollTop: jQuery("#"+ContentId+"").offset().top - 140
|
985 |
}, 300);
|
986 |
});
|
987 |
+
var hash = window.location.hash.replace('#', '');
|
988 |
+
$('[data-id="'+hash+'"]').trigger('click');
|
989 |
});
|
990 |
|
991 |
jQuery(".dpr-save-btn").on('click', function(event)
|
app/features/mec/single.php
ADDED
@@ -0,0 +1,467 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/** no direct access **/
|
3 |
+
defined('MECEXEC') or die();
|
4 |
+
|
5 |
+
$settings = $this->main->get_settings();
|
6 |
+
|
7 |
+
// WordPress Pages
|
8 |
+
$pages = get_pages();
|
9 |
+
|
10 |
+
?>
|
11 |
+
<div class="wns-be-container wns-be-container-sticky">
|
12 |
+
<div id="wns-be-infobar">
|
13 |
+
<input id="mec-search-settings" type="text" placeholder="Search..">
|
14 |
+
<a id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
15 |
+
</div>
|
16 |
+
|
17 |
+
<div class="wns-be-sidebar">
|
18 |
+
<ul class="wns-be-group-menu">
|
19 |
+
|
20 |
+
<li class="wns-be-group-menu-li">
|
21 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>" id="" class="wns-be-group-tab-link-a">
|
22 |
+
<i class="mec-sl-settings"></i>
|
23 |
+
<span class="wns-be-group-menu-title"><?php echo __('Settings', 'modern-events-calendar-lite'); ?></span>
|
24 |
+
</a>
|
25 |
+
<ul id="" class="submneu-hover">
|
26 |
+
<li class="submenu-item">
|
27 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#general_option"><?php _e('General Options', 'modern-events-calendar-lite'); ?></a>
|
28 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#archive_options"><?php _e('Archive Pages', 'modern-events-calendar-lite'); ?></a>
|
29 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#slug_option"><?php _e('Slugs/Permalinks', 'modern-events-calendar-lite'); ?></a>
|
30 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#currency_option"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></a>
|
31 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#recaptcha_option"><?php _e('Google Recaptcha Options', 'modern-events-calendar-lite'); ?></a>
|
32 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#fes_option"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></a>
|
33 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#user_profile_options"><?php _e('User Profile', 'modern-events-calendar-lite'); ?></a>
|
34 |
+
<?php if($this->main->getPRO()): ?>
|
35 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#mailchimp_option"><?php _e('Mailchimp Integration', 'modern-events-calendar-lite'); ?></a>
|
36 |
+
<?php endif; ?>
|
37 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#uploadfield_option"><?php _e('Upload Field', 'modern-events-calendar-lite'); ?></a>
|
38 |
+
</li>
|
39 |
+
</ul>
|
40 |
+
</li>
|
41 |
+
|
42 |
+
<li class="wns-be-group-menu-li has-sub active">
|
43 |
+
|
44 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>" id="" class="wns-be-group-tab-link-a">
|
45 |
+
<span class="extra-icon">
|
46 |
+
<i class="mec-sl-arrow-down"></i>
|
47 |
+
</span>
|
48 |
+
<i class="mec-sl-note"></i>
|
49 |
+
<span class="wns-be-group-menu-title"><?php echo __('Single Event', 'modern-events-calendar-lite'); ?></span>
|
50 |
+
</a>
|
51 |
+
|
52 |
+
<ul id="" class="subsection" style="display: block;">
|
53 |
+
|
54 |
+
<li id="" class="pr-be-group-menu-li active">
|
55 |
+
<a data-id= "event_options" class="wns-be-group-tab-link-a WnTabLinks active">
|
56 |
+
<span class="pr-be-group-menu-title"><?php _e('Single Event Page', 'modern-events-calendar-lite'); ?></span>
|
57 |
+
</a>
|
58 |
+
</li>
|
59 |
+
|
60 |
+
<li id="" class="pr-be-group-menu-li">
|
61 |
+
<a data-id= "countdown_option" class="wns-be-group-tab-link-a WnTabLinks">
|
62 |
+
<span class="pr-be-group-menu-title"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></span>
|
63 |
+
</a>
|
64 |
+
</li>
|
65 |
+
|
66 |
+
<li id="" class="pr-be-group-menu-li">
|
67 |
+
<a data-id= "exceptional_option" class="wns-be-group-tab-link-a WnTabLinks">
|
68 |
+
<span class="pr-be-group-menu-title"><?php _e('Exceptional Days', 'modern-events-calendar-lite'); ?></span>
|
69 |
+
</a>
|
70 |
+
</li>
|
71 |
+
|
72 |
+
<li id="" class="pr-be-group-menu-li">
|
73 |
+
<a data-id= "additional_organizers" class="wns-be-group-tab-link-a WnTabLinks">
|
74 |
+
<span class="pr-be-group-menu-title"><?php _e('Additional Organizers', 'modern-events-calendar-lite'); ?></span>
|
75 |
+
</a>
|
76 |
+
</li>
|
77 |
+
|
78 |
+
<li id="" class="pr-be-group-menu-li">
|
79 |
+
<a data-id= "additional_locations" class="wns-be-group-tab-link-a WnTabLinks">
|
80 |
+
<span class="pr-be-group-menu-title"><?php _e('Additional Locations', 'modern-events-calendar-lite'); ?></span>
|
81 |
+
</a>
|
82 |
+
</li>
|
83 |
+
|
84 |
+
</ul>
|
85 |
+
</li>
|
86 |
+
|
87 |
+
<?php if($this->main->getPRO()): ?>
|
88 |
+
|
89 |
+
<li class="wns-be-group-menu-li">
|
90 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>" id="" class="wns-be-group-tab-link-a">
|
91 |
+
<i class="mec-sl-credit-card"></i>
|
92 |
+
<span class="wns-be-group-menu-title"><?php echo __('Booking', 'modern-events-calendar-lite'); ?></span>
|
93 |
+
</a>
|
94 |
+
<ul id="" class="submneu-hover">
|
95 |
+
<li class="submenu-item">
|
96 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#booking_option"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
97 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
98 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#coupon_option"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></a>
|
99 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#taxes_option"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></a>
|
100 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#ticket_variations_option"><?php _e('Ticket Variations & Options', 'modern-events-calendar-lite'); ?></a>
|
101 |
+
<?php endif; ?>
|
102 |
+
</li>
|
103 |
+
</ul>
|
104 |
+
</li>
|
105 |
+
|
106 |
+
<?php endif; ?>
|
107 |
+
|
108 |
+
<li class="wns-be-group-menu-li">
|
109 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>" id="" class="wns-be-group-tab-link-a">
|
110 |
+
<i class="mec-sl-grid"></i>
|
111 |
+
<span class="wns-be-group-menu-title"><?php echo __('Modules', 'modern-events-calendar-lite'); ?></span>
|
112 |
+
</a>
|
113 |
+
<ul id="" class="submneu-hover">
|
114 |
+
<li class="submenu-item">
|
115 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#speakers_option"><?php _e('Speakers', 'modern-events-calendar-lite'); ?></a>
|
116 |
+
<?php if($this->main->getPRO()): ?>
|
117 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#googlemap_option"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></a>
|
118 |
+
<?php endif; ?>
|
119 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#export_module_option"><?php _e('Export Options', 'modern-events-calendar-lite'); ?></a>
|
120 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#time_module_option"><?php _e('Local Time', 'modern-events-calendar-lite'); ?></a>
|
121 |
+
<?php if($this->main->getPRO()): ?>
|
122 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#qrcode_module_option"><?php _e('QR Code', 'modern-events-calendar-lite'); ?></a>
|
123 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#weather_module_option"><?php _e('Weather', 'modern-events-calendar-lite'); ?></a>
|
124 |
+
<?php endif; ?>
|
125 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#social_options"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></a>
|
126 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#next_event_option"><?php _e('Next Event', 'modern-events-calendar-lite'); ?></a>
|
127 |
+
<?php if($this->main->getPRO()): ?>
|
128 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#buddy_option"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></a>
|
129 |
+
<?php endif; ?>
|
130 |
+
</li>
|
131 |
+
</ul>
|
132 |
+
</li>
|
133 |
+
|
134 |
+
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
135 |
+
|
136 |
+
<li class="wns-be-group-menu-li">
|
137 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-reg-form'); ?>" id="" class="wns-be-group-tab-link-a">
|
138 |
+
<i class="mec-sl-layers"></i>
|
139 |
+
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
140 |
+
</a>
|
141 |
+
</li>
|
142 |
+
|
143 |
+
<li class="wns-be-group-menu-li">
|
144 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
145 |
+
<i class="mec-sl-wallet"></i>
|
146 |
+
<span class="wns-be-group-menu-title"><?php _e('Payment Gateways', 'modern-events-calendar-lite'); ?></span>
|
147 |
+
</a>
|
148 |
+
</li>
|
149 |
+
|
150 |
+
<?php endif;?>
|
151 |
+
|
152 |
+
<li class="wns-be-group-menu-li">
|
153 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>" id="" class="wns-be-group-tab-link-a">
|
154 |
+
<i class="mec-sl-envelope"></i>
|
155 |
+
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
156 |
+
</a>
|
157 |
+
<ul id="" class="submneu-hover">
|
158 |
+
<li class="submenu-item">
|
159 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
160 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_notification"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
161 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_verification"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></a>
|
162 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_confirmation"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></a>
|
163 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#cancellation_notification"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></a>
|
164 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#admin_notification"><?php _e('Admin', 'modern-events-calendar-lite'); ?></a>
|
165 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_reminder"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></a>
|
166 |
+
<?php endif; ?>
|
167 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#new_event"><?php _e('New Event', 'modern-events-calendar-lite'); ?></a>
|
168 |
+
</li>
|
169 |
+
</ul>
|
170 |
+
</li>
|
171 |
+
|
172 |
+
<li class="wns-be-group-menu-li">
|
173 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-styling'); ?>" id="" class="wns-be-group-tab-link-a">
|
174 |
+
<i class="mec-sl-equalizer"></i>
|
175 |
+
<span class="wns-be-group-menu-title"><?php _e('Styling Options', 'modern-events-calendar-lite'); ?></span>
|
176 |
+
</a>
|
177 |
+
</li>
|
178 |
+
|
179 |
+
<li class="wns-be-group-menu-li">
|
180 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-customcss'); ?>" id="" class="wns-be-group-tab-link-a">
|
181 |
+
<i class="mec-sl-wrench"></i>
|
182 |
+
<span class="wns-be-group-menu-title"><?php _e('Custom CSS', 'modern-events-calendar-lite'); ?></span>
|
183 |
+
</a>
|
184 |
+
</li>
|
185 |
+
|
186 |
+
<li class="wns-be-group-menu-li">
|
187 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-messages'); ?>" id="" class="wns-be-group-tab-link-a">
|
188 |
+
<i class="mec-sl-bubble"></i>
|
189 |
+
<span class="wns-be-group-menu-title"><?php _e('Messages', 'modern-events-calendar-lite'); ?></span>
|
190 |
+
</a>
|
191 |
+
</li>
|
192 |
+
|
193 |
+
<li class="wns-be-group-menu-li">
|
194 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-ie'); ?>" id="" class="wns-be-group-tab-link-a">
|
195 |
+
<i class="mec-sl-refresh"></i>
|
196 |
+
<span class="wns-be-group-menu-title"><?php _e('Import / Export', 'modern-events-calendar-lite'); ?></span>
|
197 |
+
</a>
|
198 |
+
</li>
|
199 |
+
|
200 |
+
</ul>
|
201 |
+
</div>
|
202 |
+
|
203 |
+
<div class="wns-be-main">
|
204 |
+
<div id="wns-be-notification"></div>
|
205 |
+
<div id="wns-be-content">
|
206 |
+
<div class="wns-be-group-tab">
|
207 |
+
<div class="mec-container">
|
208 |
+
|
209 |
+
<form id="mec_single_form">
|
210 |
+
|
211 |
+
<div id="event_options" class="mec-options-fields active">
|
212 |
+
|
213 |
+
<h4 class="mec-form-subtitle"><?php _e('Single Event Page', 'modern-events-calendar-lite'); ?></h4>
|
214 |
+
<div class="mec-form-row">
|
215 |
+
<label class="mec-col-3" for="mec_settings_single_event_date_format1"><?php _e('Single Event Date Format', 'modern-events-calendar-lite'); ?></label>
|
216 |
+
<div class="mec-col-4">
|
217 |
+
<input type="text" id="mec_settings_single_event_date_format1" name="mec[settings][single_date_format1]" value="<?php echo ((isset($settings['single_date_format1']) and trim($settings['single_date_format1']) != '') ? $settings['single_date_format1'] : 'M d Y'); ?>" />
|
218 |
+
<span class="mec-tooltip">
|
219 |
+
<div class="box">
|
220 |
+
<h5 class="title"><?php _e('Single Event Date Format', 'modern-events-calendar-lite'); ?></h5>
|
221 |
+
<div class="content"><p><?php esc_attr_e("Default is M d Y", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/event-detailssingle-event-page/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
222 |
+
</div>
|
223 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
224 |
+
</span>
|
225 |
+
</div>
|
226 |
+
</div>
|
227 |
+
<div class="mec-form-row">
|
228 |
+
<label class="mec-col-3" for="mec_settings_single_event_date_method"><?php _e('Date Method', 'modern-events-calendar-lite'); ?></label>
|
229 |
+
<div class="mec-col-4">
|
230 |
+
<select id="mec_settings_single_event_date_method" name="mec[settings][single_date_method]">
|
231 |
+
<option value="next" <?php echo (isset($settings['single_date_method']) and $settings['single_date_method'] == 'next') ? 'selected="selected"' : ''; ?>><?php _e('Next occurrence date', 'modern-events-calendar-lite'); ?></option>
|
232 |
+
<option value="referred" <?php echo (isset($settings['single_date_method']) and $settings['single_date_method'] == 'referred') ? 'selected="selected"' : ''; ?>><?php _e('Referred date', 'modern-events-calendar-lite'); ?></option>
|
233 |
+
</select>
|
234 |
+
<span class="mec-tooltip">
|
235 |
+
<div class="box">
|
236 |
+
<h5 class="title"><?php _e('Date Method', 'modern-events-calendar-lite'); ?></h5>
|
237 |
+
<div class="content"><p><?php esc_attr_e('Referred date" shows the event date based on referred date in event list.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/event-detailssingle-event-page/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
238 |
+
</div>
|
239 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
240 |
+
</span>
|
241 |
+
</div>
|
242 |
+
</div>
|
243 |
+
<div class="mec-form-row">
|
244 |
+
<label class="mec-col-3" for="mec_settings_single_event_single_style"><?php _e('Single Event Style', 'modern-events-calendar-lite'); ?></label>
|
245 |
+
<div class="mec-col-4">
|
246 |
+
<select id="mec_settings_single_event_single_style" name="mec[settings][single_single_style]">
|
247 |
+
<option value="default" <?php echo (isset($settings['single_single_style']) and $settings['single_single_style'] == 'default') ? 'selected="selected"' : ''; ?>><?php _e('Default Style', 'modern-events-calendar-lite'); ?></option>
|
248 |
+
<option value="modern" <?php echo (isset($settings['single_single_style']) and $settings['single_single_style'] == 'modern') ? 'selected="selected"' : ''; ?>><?php _e('Modern Style', 'modern-events-calendar-lite'); ?></option>
|
249 |
+
<?php if ( is_plugin_active( 'mec-single-builder/mec-single-builder.php' ) ) : ?>
|
250 |
+
<option value="builder" <?php echo (isset($settings['single_single_style']) and $settings['single_single_style'] == 'builder') ? 'selected="selected"' : ''; ?>><?php _e('Elementor Single Builder', 'modern-events-calendar-lite'); ?></option>
|
251 |
+
<?php endif; ?>
|
252 |
+
</select>
|
253 |
+
<span class="mec-tooltip">
|
254 |
+
<div class="box top">
|
255 |
+
<h5 class="title"><?php _e('Single Event Style', 'modern-events-calendar-lite'); ?></h5>
|
256 |
+
<div class="content"><p><?php esc_attr_e("Choose your single event style.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/event-detailssingle-event-page/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
257 |
+
</div>
|
258 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
259 |
+
</span>
|
260 |
+
</div>
|
261 |
+
</div>
|
262 |
+
<div class="mec-form-row">
|
263 |
+
<label class="mec-col-3" for="mec_settings_single_event_booking_style"><?php _e('Booking Style', 'modern-events-calendar-lite'); ?></label>
|
264 |
+
<div class="mec-col-4">
|
265 |
+
<select id="mec_settings_single_event_booking_style" name="mec[settings][single_booking_style]">
|
266 |
+
<option value="default" <?php echo (isset($settings['single_booking_style']) and $settings['single_booking_style'] == 'default') ? 'selected="selected"' : ''; ?>><?php _e('Default', 'modern-events-calendar-lite'); ?></option>
|
267 |
+
<option value="modal" <?php echo (isset($settings['single_booking_style']) and $settings['single_booking_style'] == 'modal') ? 'selected="selected"' : ''; ?>><?php _e('Modal', 'modern-events-calendar-lite'); ?></option>
|
268 |
+
</select>
|
269 |
+
<span class="mec-tooltip">
|
270 |
+
<div class="box top">
|
271 |
+
<h5 class="title"><?php _e('Booking Style', 'modern-events-calendar-lite'); ?></h5>
|
272 |
+
<div class="content"><p><?php esc_attr_e("Choose your Booking style, Please Note: When you set this feature to modal you can not see booking box if you set popoup module view on shortcodes", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/event-detailssingle-event-page/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
273 |
+
</div>
|
274 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
275 |
+
</span>
|
276 |
+
</div>
|
277 |
+
</div>
|
278 |
+
<div class="mec-form-row">
|
279 |
+
<label class="mec-col-3" for="mec_settings_gutenberg"><?php _e('Disable Block Editor (Gutenberg)', 'modern-events-calendar-lite'); ?></label>
|
280 |
+
<label id="mec_settings_gutenberg" >
|
281 |
+
<input type="hidden" name="mec[settings][gutenberg]" value="0" />
|
282 |
+
<input value="1" type="checkbox" name="mec[settings][gutenberg]" <?php if(!isset($settings['gutenberg']) or (isset($settings['gutenberg']) and $settings['gutenberg'])) echo 'checked="checked"'; ?> /> <?php _e('Disable Block Editor', 'modern-events-calendar-lite'); ?>
|
283 |
+
</label>
|
284 |
+
<span class="mec-tooltip">
|
285 |
+
<div class="box top">
|
286 |
+
<h5 class="title"><?php _e('Block Editor', 'modern-events-calendar-lite'); ?></h5>
|
287 |
+
<div class="content"><p><?php esc_attr_e("If you want to use the new WordPress block editor you should keep this checkbox unchecked.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/event-detailssingle-event-page/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
288 |
+
</div>
|
289 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
290 |
+
</span>
|
291 |
+
</div>
|
292 |
+
<div class="mec-form-row">
|
293 |
+
<label class="mec-col-3" for="mec_settings_breadcrumbs"><?php _e('Breadcrumbs', 'modern-events-calendar-lite'); ?></label>
|
294 |
+
<label id="mec_settings_breadcrumbs" >
|
295 |
+
<input type="hidden" name="mec[settings][breadcrumbs]" value="0" />
|
296 |
+
<input type="checkbox" name="mec[settings][breadcrumbs]" id="mec_settings_breadcrumbs" <?php echo ((isset($settings['breadcrumbs']) and $settings['breadcrumbs']) ? 'checked="checked"' : ''); ?> value="1" /><?php _e('Enable Breadcrumbs.', 'modern-events-calendar-lite'); ?>
|
297 |
+
</label>
|
298 |
+
<span class="mec-tooltip">
|
299 |
+
<div class="box top">
|
300 |
+
<h5 class="title"><?php _e('Breadcrumbs', 'modern-events-calendar-lite'); ?></h5>
|
301 |
+
<div class="content"><p><?php esc_attr_e("Check this option, for showing the breadcrumbs on single event page", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/event-detailssingle-event-page/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
302 |
+
</div>
|
303 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
304 |
+
</span>
|
305 |
+
</div>
|
306 |
+
|
307 |
+
</div>
|
308 |
+
|
309 |
+
<div id="countdown_option" class="mec-options-fields">
|
310 |
+
<h4 class="mec-form-subtitle"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></h4>
|
311 |
+
<div class="mec-form-row">
|
312 |
+
<label>
|
313 |
+
<input type="hidden" name="mec[settings][countdown_status]" value="0" />
|
314 |
+
<input onchange="jQuery('#mec_count_down_container_toggle').toggle();" value="1" type="checkbox" name="mec[settings][countdown_status]" <?php if(isset($settings['countdown_status']) and $settings['countdown_status']) echo 'checked="checked"'; ?> /> <?php _e('Show countdown module on event page', 'modern-events-calendar-lite'); ?>
|
315 |
+
</label>
|
316 |
+
</div>
|
317 |
+
<div id="mec_count_down_container_toggle" class="<?php if((isset($settings['countdown_status']) and !$settings['countdown_status']) or !isset($settings['countdown_status'])) echo 'mec-util-hidden'; ?>">
|
318 |
+
<div class="mec-form-row">
|
319 |
+
<label class="mec-col-3" for="mec_settings_countdown_list"><?php _e('Countdown Style', 'modern-events-calendar-lite'); ?></label>
|
320 |
+
<div class="mec-col-4">
|
321 |
+
<select id="mec_settings_countdown_list" name="mec[settings][countdown_list]">
|
322 |
+
<option value="default" <?php echo ((isset($settings['countdown_list']) and $settings['countdown_list'] == "default") ? 'selected="selected"' : ''); ?> ><?php _e('Plain Style', 'modern-events-calendar-lite'); ?></option>
|
323 |
+
<option value="flip" <?php echo ((isset($settings['countdown_list']) and $settings['countdown_list'] == "flip") ? 'selected="selected"' : ''); ?> ><?php _e('Flip Style', 'modern-events-calendar-lite'); ?></option>
|
324 |
+
</select>
|
325 |
+
</div>
|
326 |
+
</div>
|
327 |
+
</div>
|
328 |
+
</div>
|
329 |
+
|
330 |
+
<div id="exceptional_option" class="mec-options-fields">
|
331 |
+
<h4 class="mec-form-subtitle"><?php _e('Exceptional days', 'modern-events-calendar-lite'); ?></h4>
|
332 |
+
<div class="mec-form-row">
|
333 |
+
<label>
|
334 |
+
<input type="hidden" name="mec[settings][exceptional_days]" value="0" />
|
335 |
+
<input value="1" type="checkbox" name="mec[settings][exceptional_days]" <?php if(isset($settings['exceptional_days']) and $settings['exceptional_days']) echo 'checked="checked"'; ?> /> <?php _e('Show exceptional days option on Add/Edit events page', 'modern-events-calendar-lite'); ?>
|
336 |
+
<span class="mec-tooltip">
|
337 |
+
<div class="box">
|
338 |
+
<h5 class="title"><?php _e('Exceptional days', 'modern-events-calendar-lite'); ?></h5>
|
339 |
+
<div class="content"><p><?php esc_attr_e("Using this option you can include/exclude certain days to/from event occurrence dates.", 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/exceptional-days/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
340 |
+
</div>
|
341 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
342 |
+
</span>
|
343 |
+
</label>
|
344 |
+
</div>
|
345 |
+
</div>
|
346 |
+
|
347 |
+
<div id="additional_organizers" class="mec-options-fields">
|
348 |
+
<h4 class="mec-form-subtitle"><?php _e('Additional Organizers', 'modern-events-calendar-lite'); ?></h4>
|
349 |
+
<div class="mec-form-row">
|
350 |
+
<label>
|
351 |
+
<input type="hidden" name="mec[settings][additional_organizers]" value="0" />
|
352 |
+
<input value="1" type="checkbox" name="mec[settings][additional_organizers]" <?php if(!isset($settings['additional_organizers']) or (isset($settings['additional_organizers']) and $settings['additional_organizers'])) echo 'checked="checked"'; ?> /> <?php _e('Show additional organizers option on Add/Edit events page and single event page.', 'modern-events-calendar-lite'); ?>
|
353 |
+
</label>
|
354 |
+
</div>
|
355 |
+
</div>
|
356 |
+
|
357 |
+
<div id="additional_locations" class="mec-options-fields">
|
358 |
+
<h4 class="mec-form-subtitle"><?php _e('Additional locations', 'modern-events-calendar-lite'); ?></h4>
|
359 |
+
<div class="mec-form-row">
|
360 |
+
<label>
|
361 |
+
<input type="hidden" name="mec[settings][additional_locations]" value="0" />
|
362 |
+
<input value="1" type="checkbox" name="mec[settings][additional_locations]" <?php if(!isset($settings['additional_locations']) or (isset($settings['additional_locations']) and $settings['additional_locations'])) echo 'checked="checked"'; ?> /> <?php _e('Show additional locations option on Add/Edit events page and single event page.', 'modern-events-calendar-lite'); ?>
|
363 |
+
</label>
|
364 |
+
</div>
|
365 |
+
</div>
|
366 |
+
|
367 |
+
<div class="mec-options-fields">
|
368 |
+
<?php wp_nonce_field('mec_options_form'); ?>
|
369 |
+
<button style="display: none;" id="mec_single_form_button" class="button button-primary mec-button-primary" type="submit"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></button>
|
370 |
+
</div>
|
371 |
+
</form>
|
372 |
+
|
373 |
+
</div>
|
374 |
+
</div>
|
375 |
+
</div>
|
376 |
+
</div>
|
377 |
+
|
378 |
+
<div id="wns-be-footer">
|
379 |
+
<a id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
380 |
+
</div>
|
381 |
+
|
382 |
+
</div>
|
383 |
+
|
384 |
+
<script type="text/javascript">
|
385 |
+
jQuery(document).ready(function()
|
386 |
+
{
|
387 |
+
jQuery('.WnTabLinks').each(function()
|
388 |
+
{
|
389 |
+
var ContentId = jQuery(this).attr('data-id');
|
390 |
+
jQuery(this).click(function()
|
391 |
+
{
|
392 |
+
jQuery('.pr-be-group-menu-li').removeClass('active');
|
393 |
+
jQuery(this).parent().addClass('active');
|
394 |
+
jQuery(".mec-options-fields").hide();
|
395 |
+
jQuery(".mec-options-fields").removeClass('active');
|
396 |
+
jQuery("#"+ContentId+"").show();
|
397 |
+
jQuery("#"+ContentId+"").addClass('active');
|
398 |
+
jQuery('html, body').animate({
|
399 |
+
scrollTop: jQuery("#"+ContentId+"").offset().top - 140
|
400 |
+
}, 300);
|
401 |
+
});
|
402 |
+
var hash = window.location.hash.replace('#', '');
|
403 |
+
$('[data-id="'+hash+'"]').trigger('click');
|
404 |
+
});
|
405 |
+
|
406 |
+
jQuery(".dpr-save-btn").on('click', function(event)
|
407 |
+
{
|
408 |
+
event.preventDefault();
|
409 |
+
jQuery("#mec_single_form_button").trigger('click');
|
410 |
+
});
|
411 |
+
|
412 |
+
jQuery(".wns-be-sidebar .pr-be-group-menu-li").on('click', function(event)
|
413 |
+
{
|
414 |
+
jQuery(".wns-be-sidebar .pr-be-group-menu-li").removeClass('active');
|
415 |
+
jQuery(this).addClass('active');
|
416 |
+
});
|
417 |
+
});
|
418 |
+
|
419 |
+
jQuery("#mec_single_form").on('submit', function(event)
|
420 |
+
{
|
421 |
+
event.preventDefault();
|
422 |
+
|
423 |
+
// Add loading Class to the button
|
424 |
+
jQuery(".dpr-save-btn").addClass('loading').text("<?php echo esc_js(esc_attr__('Saved', 'modern-events-calendar-lite')); ?>");
|
425 |
+
jQuery('<div class="wns-saved-settings"><?php echo esc_js(esc_attr__('Settings Saved!', 'modern-events-calendar-lite')); ?></div>').insertBefore('#wns-be-content');
|
426 |
+
|
427 |
+
if(jQuery(".mec-purchase-verify").text() != '<?php echo esc_js(esc_attr__('Verified', 'modern-events-calendar-lite')); ?>')
|
428 |
+
{
|
429 |
+
jQuery(".mec-purchase-verify").text("<?php echo esc_js(esc_attr__('Checking ...', 'modern-events-calendar-lite')); ?>");
|
430 |
+
}
|
431 |
+
|
432 |
+
var settings = jQuery("#mec_single_form").serialize();
|
433 |
+
jQuery.ajax(
|
434 |
+
{
|
435 |
+
type: "POST",
|
436 |
+
url: ajaxurl,
|
437 |
+
data: "action=mec_save_settings&"+settings,
|
438 |
+
beforeSend: function () {
|
439 |
+
jQuery('.wns-be-main').append('<div class="mec-loarder-wrap mec-settings-loader"><div class="mec-loarder"><div></div><div></div><div></div></div></div>');
|
440 |
+
},
|
441 |
+
success: function(data)
|
442 |
+
{
|
443 |
+
// Remove the loading Class to the button
|
444 |
+
setTimeout(function()
|
445 |
+
{
|
446 |
+
jQuery(".dpr-save-btn").removeClass('loading').text("<?php echo esc_js(esc_attr__('Save Changes', 'modern-events-calendar-lite')); ?>");
|
447 |
+
jQuery('.wns-saved-settings').remove();
|
448 |
+
jQuery('.mec-loarder-wrap').remove();
|
449 |
+
if(jQuery(".mec-purchase-verify").text() != '<?php echo esc_js(esc_attr__('Verified', 'modern-events-calendar-lite')); ?>')
|
450 |
+
{
|
451 |
+
jQuery(".mec-purchase-verify").text("<?php echo esc_js(esc_attr__('Please Refresh Page', 'modern-events-calendar-lite')); ?>");
|
452 |
+
}
|
453 |
+
}, 1000);
|
454 |
+
},
|
455 |
+
error: function(jqXHR, textStatus, errorThrown)
|
456 |
+
{
|
457 |
+
// Remove the loading Class to the button
|
458 |
+
setTimeout(function()
|
459 |
+
{
|
460 |
+
jQuery(".dpr-save-btn").removeClass('loading').text("<?php echo esc_js(esc_attr__('Save Changes', 'modern-events-calendar-lite')); ?>");
|
461 |
+
jQuery('.wns-saved-settings').remove();
|
462 |
+
jQuery('.mec-loarder-wrap').remove();
|
463 |
+
}, 1000);
|
464 |
+
}
|
465 |
+
});
|
466 |
+
});
|
467 |
+
</script>
|
app/features/mec/styles.php
CHANGED
@@ -5,7 +5,7 @@ defined('MECEXEC') or die();
|
|
5 |
$styles = $this->main->get_styles();
|
6 |
?>
|
7 |
|
8 |
-
<div class="wns-be-container">
|
9 |
|
10 |
<div id="wns-be-infobar">
|
11 |
<a href="" id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
@@ -23,6 +23,84 @@ $styles = $this->main->get_styles();
|
|
23 |
<i class="mec-sl-settings"></i>
|
24 |
<span class="wns-be-group-menu-title"><?php _e('Settings', 'modern-events-calendar-lite'); ?></span>
|
25 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
</li>
|
27 |
|
28 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
@@ -32,7 +110,7 @@ $styles = $this->main->get_styles();
|
|
32 |
<i class="mec-sl-layers"></i>
|
33 |
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
34 |
</a>
|
35 |
-
</li>
|
36 |
|
37 |
<li class="wns-be-group-menu-li">
|
38 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
@@ -48,6 +126,19 @@ $styles = $this->main->get_styles();
|
|
48 |
<i class="mec-sl-envelope"></i>
|
49 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
50 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
</li>
|
52 |
|
53 |
<li class="wns-be-group-menu-li">
|
@@ -55,7 +146,7 @@ $styles = $this->main->get_styles();
|
|
55 |
<i class="mec-sl-equalizer"></i>
|
56 |
<span class="wns-be-group-menu-title"><?php _e('Styling Options', 'modern-events-calendar-lite'); ?></span>
|
57 |
</a>
|
58 |
-
</li>
|
59 |
|
60 |
<li class="wns-be-group-menu-li active">
|
61 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-customcss'); ?>" id="" class="wns-be-group-tab-link-a">
|
@@ -78,12 +169,6 @@ $styles = $this->main->get_styles();
|
|
78 |
</a>
|
79 |
</li>
|
80 |
|
81 |
-
<!-- <li class="wns-be-group-menu-li">
|
82 |
-
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-support'); ?>" id="" class="wns-be-group-tab-link-a">
|
83 |
-
<i class="mec-sl-support"></i>
|
84 |
-
<span class="wns-be-group-menu-title"><?php _e('Support', 'modern-events-calendar-lite'); ?></span>
|
85 |
-
</a>
|
86 |
-
</li> -->
|
87 |
</ul>
|
88 |
</div>
|
89 |
|
5 |
$styles = $this->main->get_styles();
|
6 |
?>
|
7 |
|
8 |
+
<div class="wns-be-container wns-be-container-sticky">
|
9 |
|
10 |
<div id="wns-be-infobar">
|
11 |
<a href="" id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
23 |
<i class="mec-sl-settings"></i>
|
24 |
<span class="wns-be-group-menu-title"><?php _e('Settings', 'modern-events-calendar-lite'); ?></span>
|
25 |
</a>
|
26 |
+
<ul id="" class="submneu-hover">
|
27 |
+
<li class="submenu-item">
|
28 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#general_option"><?php _e('General Options', 'modern-events-calendar-lite'); ?></a>
|
29 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#archive_options"><?php _e('Archive Pages', 'modern-events-calendar-lite'); ?></a>
|
30 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#slug_option"><?php _e('Slugs/Permalinks', 'modern-events-calendar-lite'); ?></a>
|
31 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#currency_option"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></a>
|
32 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#recaptcha_option"><?php _e('Google Recaptcha Options', 'modern-events-calendar-lite'); ?></a>
|
33 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#fes_option"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></a>
|
34 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#user_profile_options"><?php _e('User Profile', 'modern-events-calendar-lite'); ?></a>
|
35 |
+
<?php if($this->main->getPRO()): ?>
|
36 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#mailchimp_option"><?php _e('Mailchimp Integration', 'modern-events-calendar-lite'); ?></a>
|
37 |
+
<?php endif; ?>
|
38 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#uploadfield_option"><?php _e('Upload Field', 'modern-events-calendar-lite'); ?></a>
|
39 |
+
</li>
|
40 |
+
</ul>
|
41 |
+
</li>
|
42 |
+
|
43 |
+
<li class="wns-be-group-menu-li">
|
44 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>" id="" class="wns-be-group-tab-link-a">
|
45 |
+
<i class="mec-sl-note"></i>
|
46 |
+
<span class="wns-be-group-menu-title"><?php echo __('Single Event', 'modern-events-calendar-lite'); ?></span>
|
47 |
+
</a>
|
48 |
+
<ul id="" class="submneu-hover">
|
49 |
+
<li class="submenu-item">
|
50 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#event_options"><?php _e('Single Event Page', 'modern-events-calendar-lite'); ?></a>
|
51 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#countdown_option"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></a>
|
52 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#exceptional_option"><?php _e('Exceptional Days', 'modern-events-calendar-lite'); ?></a>
|
53 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_organizers"><?php _e('Additional Organizers', 'modern-events-calendar-lite'); ?></a>
|
54 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_locations"><?php _e('Additional Locations', 'modern-events-calendar-lite'); ?></a>
|
55 |
+
</li>
|
56 |
+
</ul>
|
57 |
+
</li>
|
58 |
+
|
59 |
+
<?php if($this->main->getPRO()): ?>
|
60 |
+
|
61 |
+
<li class="wns-be-group-menu-li">
|
62 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>" id="" class="wns-be-group-tab-link-a">
|
63 |
+
<i class="mec-sl-credit-card"></i>
|
64 |
+
<span class="wns-be-group-menu-title"><?php echo __('Booking', 'modern-events-calendar-lite'); ?></span>
|
65 |
+
</a>
|
66 |
+
<ul id="" class="submneu-hover">
|
67 |
+
<li class="submenu-item">
|
68 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#booking_option"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
69 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
70 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#coupon_option"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></a>
|
71 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#taxes_option"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></a>
|
72 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#ticket_variations_option"><?php _e('Ticket Variations & Options', 'modern-events-calendar-lite'); ?></a>
|
73 |
+
<?php endif; ?>
|
74 |
+
</li>
|
75 |
+
</ul>
|
76 |
+
</li>
|
77 |
+
|
78 |
+
<?php endif; ?>
|
79 |
+
|
80 |
+
<li class="wns-be-group-menu-li">
|
81 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>" id="" class="wns-be-group-tab-link-a">
|
82 |
+
<i class="mec-sl-grid"></i>
|
83 |
+
<span class="wns-be-group-menu-title"><?php echo __('Modules', 'modern-events-calendar-lite'); ?></span>
|
84 |
+
</a>
|
85 |
+
<ul id="" class="submneu-hover">
|
86 |
+
<li class="submenu-item">
|
87 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#speakers_option"><?php _e('Speakers', 'modern-events-calendar-lite'); ?></a>
|
88 |
+
<?php if($this->main->getPRO()): ?>
|
89 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#googlemap_option"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></a>
|
90 |
+
<?php endif; ?>
|
91 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#export_module_option"><?php _e('Export Options', 'modern-events-calendar-lite'); ?></a>
|
92 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#time_module_option"><?php _e('Local Time', 'modern-events-calendar-lite'); ?></a>
|
93 |
+
<?php if($this->main->getPRO()): ?>
|
94 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#qrcode_module_option"><?php _e('QR Code', 'modern-events-calendar-lite'); ?></a>
|
95 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#weather_module_option"><?php _e('Weather', 'modern-events-calendar-lite'); ?></a>
|
96 |
+
<?php endif; ?>
|
97 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#social_options"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></a>
|
98 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#next_event_option"><?php _e('Next Event', 'modern-events-calendar-lite'); ?></a>
|
99 |
+
<?php if($this->main->getPRO()): ?>
|
100 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#buddy_option"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></a>
|
101 |
+
<?php endif; ?>
|
102 |
+
</li>
|
103 |
+
</ul>
|
104 |
</li>
|
105 |
|
106 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
110 |
<i class="mec-sl-layers"></i>
|
111 |
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
112 |
</a>
|
113 |
+
</li>
|
114 |
|
115 |
<li class="wns-be-group-menu-li">
|
116 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
126 |
<i class="mec-sl-envelope"></i>
|
127 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
128 |
</a>
|
129 |
+
<ul id="" class="submneu-hover">
|
130 |
+
<li class="submenu-item">
|
131 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
132 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_notification"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
133 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_verification"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></a>
|
134 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_confirmation"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></a>
|
135 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#cancellation_notification"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></a>
|
136 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#admin_notification"><?php _e('Admin', 'modern-events-calendar-lite'); ?></a>
|
137 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_reminder"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></a>
|
138 |
+
<?php endif; ?>
|
139 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#new_event"><?php _e('New Event', 'modern-events-calendar-lite'); ?></a>
|
140 |
+
</li>
|
141 |
+
</ul>
|
142 |
</li>
|
143 |
|
144 |
<li class="wns-be-group-menu-li">
|
146 |
<i class="mec-sl-equalizer"></i>
|
147 |
<span class="wns-be-group-menu-title"><?php _e('Styling Options', 'modern-events-calendar-lite'); ?></span>
|
148 |
</a>
|
149 |
+
</li>
|
150 |
|
151 |
<li class="wns-be-group-menu-li active">
|
152 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-customcss'); ?>" id="" class="wns-be-group-tab-link-a">
|
169 |
</a>
|
170 |
</li>
|
171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
</ul>
|
173 |
</div>
|
174 |
|
app/features/mec/styling.php
CHANGED
@@ -27,7 +27,7 @@ if(is_array($fonts))
|
|
27 |
}
|
28 |
}
|
29 |
?>
|
30 |
-
<div class="wns-be-container">
|
31 |
|
32 |
<div id="wns-be-infobar">
|
33 |
<a href="" id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
@@ -45,6 +45,84 @@ if(is_array($fonts))
|
|
45 |
<i class="mec-sl-settings"></i>
|
46 |
<span class="wns-be-group-menu-title"><?php _e('Settings', 'modern-events-calendar-lite'); ?></span>
|
47 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
</li>
|
49 |
|
50 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
@@ -54,7 +132,7 @@ if(is_array($fonts))
|
|
54 |
<i class="mec-sl-layers"></i>
|
55 |
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
56 |
</a>
|
57 |
-
</li>
|
58 |
|
59 |
<li class="wns-be-group-menu-li">
|
60 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
@@ -70,7 +148,20 @@ if(is_array($fonts))
|
|
70 |
<i class="mec-sl-envelope"></i>
|
71 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
72 |
</a>
|
73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
<li class="wns-be-group-menu-li active">
|
76 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-styling'); ?>" id="" class="wns-be-group-tab-link-a">
|
@@ -100,13 +191,6 @@ if(is_array($fonts))
|
|
100 |
</a>
|
101 |
</li>
|
102 |
|
103 |
-
<!-- <li class="wns-be-group-menu-li">
|
104 |
-
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-support'); ?>" id="" class="wns-be-group-tab-link-a">
|
105 |
-
<i class="mec-sl-support"></i>
|
106 |
-
<span class="wns-be-group-menu-title"><?php _e('Support', 'modern-events-calendar-lite'); ?></span>
|
107 |
-
</a>
|
108 |
-
</li> -->
|
109 |
-
|
110 |
</ul>
|
111 |
</div>
|
112 |
|
@@ -119,21 +203,8 @@ if(is_array($fonts))
|
|
119 |
<h2><?php _e('Styling Option', 'modern-events-calendar-lite'); ?></h2>
|
120 |
<div class="mec-container">
|
121 |
<form id="mec_styling_form">
|
122 |
-
|
123 |
-
|
124 |
-
</p>
|
125 |
-
<p>
|
126 |
-
<input type="text" class="up-text wpsa-url" id="mec_settings_upload" name="mec[styling][upload]" value="<?php echo (isset($styling['upload']) ? $styling['upload'] : ''); ?>"/>
|
127 |
-
<input type="button" class="button wpsa-browse" value="Upload" />
|
128 |
-
</p>
|
129 |
-
<p>
|
130 |
-
</p>
|
131 |
-
<p>
|
132 |
-
<input type="text" id="mec_settings_text" name="mec[styling][text]" value="<?php echo ((isset($styling['text']) and trim($styling['text']) != '') ? $styling['text'] : ''); ?>" />
|
133 |
-
</p> -->
|
134 |
-
<!-- <input type="text" class="wp-color-picker-field" id="mec_settings_color" name="mec[styling][color]" value="<?php echo (isset($styling['color']) ? $styling['color'] : ''); ?>" data-default-color="" /> -->*/ ?>
|
135 |
-
|
136 |
-
<!-- Colorskin -->
|
137 |
<h4 class="mec-form-subtitle"><?php esc_html_e('Color Skin', 'modern-events-calendar-lite'); ?></h4>
|
138 |
<div class="mec-form-row">
|
139 |
<div class="mec-col-3">
|
@@ -302,7 +373,7 @@ if(is_array($fonts))
|
|
302 |
<div class="content"><p><?php esc_attr_e('You can enter your theme container size in this field', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/style-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
303 |
</div>
|
304 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
305 |
-
</span>
|
306 |
</div>
|
307 |
</div>
|
308 |
<div class="mec-form-row">
|
@@ -315,7 +386,7 @@ if(is_array($fonts))
|
|
315 |
<div class="content"><p><?php esc_attr_e('You can enter your theme container size in this field', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/style-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
316 |
</div>
|
317 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
318 |
-
</span>
|
319 |
</div>
|
320 |
</div>
|
321 |
|
27 |
}
|
28 |
}
|
29 |
?>
|
30 |
+
<div class="wns-be-container wns-be-container-sticky">
|
31 |
|
32 |
<div id="wns-be-infobar">
|
33 |
<a href="" id="" class="dpr-btn dpr-save-btn"><?php _e('Save Changes', 'modern-events-calendar-lite'); ?></a>
|
45 |
<i class="mec-sl-settings"></i>
|
46 |
<span class="wns-be-group-menu-title"><?php _e('Settings', 'modern-events-calendar-lite'); ?></span>
|
47 |
</a>
|
48 |
+
<ul id="" class="submneu-hover">
|
49 |
+
<li class="submenu-item">
|
50 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#general_option"><?php _e('General Options', 'modern-events-calendar-lite'); ?></a>
|
51 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#archive_options"><?php _e('Archive Pages', 'modern-events-calendar-lite'); ?></a>
|
52 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#slug_option"><?php _e('Slugs/Permalinks', 'modern-events-calendar-lite'); ?></a>
|
53 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#currency_option"><?php _e('Currency Options', 'modern-events-calendar-lite'); ?></a>
|
54 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#recaptcha_option"><?php _e('Google Recaptcha Options', 'modern-events-calendar-lite'); ?></a>
|
55 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#fes_option"><?php _e('Frontend Event Submission', 'modern-events-calendar-lite'); ?></a>
|
56 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#user_profile_options"><?php _e('User Profile', 'modern-events-calendar-lite'); ?></a>
|
57 |
+
<?php if($this->main->getPRO()): ?>
|
58 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#mailchimp_option"><?php _e('Mailchimp Integration', 'modern-events-calendar-lite'); ?></a>
|
59 |
+
<?php endif; ?>
|
60 |
+
<a href="<?php echo $this->main->remove_qs_var('tab'); ?>#uploadfield_option"><?php _e('Upload Field', 'modern-events-calendar-lite'); ?></a>
|
61 |
+
</li>
|
62 |
+
</ul>
|
63 |
+
</li>
|
64 |
+
|
65 |
+
<li class="wns-be-group-menu-li">
|
66 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>" id="" class="wns-be-group-tab-link-a">
|
67 |
+
<i class="mec-sl-note"></i>
|
68 |
+
<span class="wns-be-group-menu-title"><?php echo __('Single Event', 'modern-events-calendar-lite'); ?></span>
|
69 |
+
</a>
|
70 |
+
<ul id="" class="submneu-hover">
|
71 |
+
<li class="submenu-item">
|
72 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#event_options"><?php _e('Single Event Page', 'modern-events-calendar-lite'); ?></a>
|
73 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#countdown_option"><?php _e('Countdown Options', 'modern-events-calendar-lite'); ?></a>
|
74 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#exceptional_option"><?php _e('Exceptional Days', 'modern-events-calendar-lite'); ?></a>
|
75 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_organizers"><?php _e('Additional Organizers', 'modern-events-calendar-lite'); ?></a>
|
76 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-single'); ?>#additional_locations"><?php _e('Additional Locations', 'modern-events-calendar-lite'); ?></a>
|
77 |
+
</li>
|
78 |
+
</ul>
|
79 |
+
</li>
|
80 |
+
|
81 |
+
<?php if($this->main->getPRO()): ?>
|
82 |
+
|
83 |
+
<li class="wns-be-group-menu-li">
|
84 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>" id="" class="wns-be-group-tab-link-a">
|
85 |
+
<i class="mec-sl-credit-card"></i>
|
86 |
+
<span class="wns-be-group-menu-title"><?php echo __('Booking', 'modern-events-calendar-lite'); ?></span>
|
87 |
+
</a>
|
88 |
+
<ul id="" class="submneu-hover">
|
89 |
+
<li class="submenu-item">
|
90 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#booking_option"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
91 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
92 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#coupon_option"><?php _e('Coupons', 'modern-events-calendar-lite'); ?></a>
|
93 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#taxes_option"><?php _e('Taxes / Fees', 'modern-events-calendar-lite'); ?></a>
|
94 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-booking'); ?>#ticket_variations_option"><?php _e('Ticket Variations & Options', 'modern-events-calendar-lite'); ?></a>
|
95 |
+
<?php endif; ?>
|
96 |
+
</li>
|
97 |
+
</ul>
|
98 |
+
</li>
|
99 |
+
|
100 |
+
<?php endif;?>
|
101 |
+
|
102 |
+
<li class="wns-be-group-menu-li">
|
103 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>" id="" class="wns-be-group-tab-link-a">
|
104 |
+
<i class="mec-sl-grid"></i>
|
105 |
+
<span class="wns-be-group-menu-title"><?php echo __('Modules', 'modern-events-calendar-lite'); ?></span>
|
106 |
+
</a>
|
107 |
+
<ul id="" class="submneu-hover">
|
108 |
+
<li class="submenu-item">
|
109 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#speakers_option"><?php _e('Speakers', 'modern-events-calendar-lite'); ?></a>
|
110 |
+
<?php if($this->main->getPRO()): ?>
|
111 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#googlemap_option"><?php _e('Google Maps Options', 'modern-events-calendar-lite'); ?></a>
|
112 |
+
<?php endif; ?>
|
113 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#export_module_option"><?php _e('Export Options', 'modern-events-calendar-lite'); ?></a>
|
114 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#time_module_option"><?php _e('Local Time', 'modern-events-calendar-lite'); ?></a>
|
115 |
+
<?php if($this->main->getPRO()): ?>
|
116 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#qrcode_module_option"><?php _e('QR Code', 'modern-events-calendar-lite'); ?></a>
|
117 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#weather_module_option"><?php _e('Weather', 'modern-events-calendar-lite'); ?></a>
|
118 |
+
<?php endif; ?>
|
119 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#social_options"><?php _e('Social Networks', 'modern-events-calendar-lite'); ?></a>
|
120 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#next_event_option"><?php _e('Next Event', 'modern-events-calendar-lite'); ?></a>
|
121 |
+
<?php if($this->main->getPRO()): ?>
|
122 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-modules'); ?>#buddy_option"><?php _e('BuddyPress Integration', 'modern-events-calendar-lite'); ?></a>
|
123 |
+
<?php endif; ?>
|
124 |
+
</li>
|
125 |
+
</ul>
|
126 |
</li>
|
127 |
|
128 |
<?php if($this->main->getPRO() and isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
132 |
<i class="mec-sl-layers"></i>
|
133 |
<span class="wns-be-group-menu-title"><?php _e('Booking Form', 'modern-events-calendar-lite'); ?></span>
|
134 |
</a>
|
135 |
+
</li>
|
136 |
|
137 |
<li class="wns-be-group-menu-li">
|
138 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-gateways'); ?>" id="" class="wns-be-group-tab-link-a">
|
148 |
<i class="mec-sl-envelope"></i>
|
149 |
<span class="wns-be-group-menu-title"><?php _e('Notifications', 'modern-events-calendar-lite'); ?></span>
|
150 |
</a>
|
151 |
+
<ul id="" class="submneu-hover">
|
152 |
+
<li class="submenu-item">
|
153 |
+
<?php if(isset($this->settings['booking_status']) and $this->settings['booking_status']): ?>
|
154 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_notification"><?php _e('Booking', 'modern-events-calendar-lite'); ?></a>
|
155 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_verification"><?php _e('Booking Verification', 'modern-events-calendar-lite'); ?></a>
|
156 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_confirmation"><?php _e('Booking Confirmation', 'modern-events-calendar-lite'); ?></a>
|
157 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#cancellation_notification"><?php _e('Booking Cancellation', 'modern-events-calendar-lite'); ?></a>
|
158 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#admin_notification"><?php _e('Admin', 'modern-events-calendar-lite'); ?></a>
|
159 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#booking_reminder"><?php _e('Booking Reminder', 'modern-events-calendar-lite'); ?></a>
|
160 |
+
<?php endif; ?>
|
161 |
+
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-notifications'); ?>#new_event"><?php _e('New Event', 'modern-events-calendar-lite'); ?></a>
|
162 |
+
</li>
|
163 |
+
</ul>
|
164 |
+
</li>
|
165 |
|
166 |
<li class="wns-be-group-menu-li active">
|
167 |
<a href="<?php echo $this->main->add_qs_var('tab', 'MEC-styling'); ?>" id="" class="wns-be-group-tab-link-a">
|
191 |
</a>
|
192 |
</li>
|
193 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
</ul>
|
195 |
</div>
|
196 |
|
203 |
<h2><?php _e('Styling Option', 'modern-events-calendar-lite'); ?></h2>
|
204 |
<div class="mec-container">
|
205 |
<form id="mec_styling_form">
|
206 |
+
|
207 |
+
<!-- Colorskin -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
208 |
<h4 class="mec-form-subtitle"><?php esc_html_e('Color Skin', 'modern-events-calendar-lite'); ?></h4>
|
209 |
<div class="mec-form-row">
|
210 |
<div class="mec-col-3">
|
373 |
<div class="content"><p><?php esc_attr_e('You can enter your theme container size in this field', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/style-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
374 |
</div>
|
375 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
376 |
+
</span>
|
377 |
</div>
|
378 |
</div>
|
379 |
<div class="mec-form-row">
|
386 |
<div class="content"><p><?php esc_attr_e('You can enter your theme container size in this field', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/style-options/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
387 |
</div>
|
388 |
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
389 |
+
</span>
|
390 |
</div>
|
391 |
</div>
|
392 |
|
app/features/mec/support.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
defined('MECEXEC') or die();
|
4 |
?>
|
5 |
|
6 |
-
<div class="wns-be-container">
|
7 |
|
8 |
<div id="wns-be-infobar"></div>
|
9 |
|
3 |
defined('MECEXEC') or die();
|
4 |
?>
|
5 |
|
6 |
+
<div class="wns-be-container wns-be-container-sticky">
|
7 |
|
8 |
<div id="wns-be-infobar"></div>
|
9 |
|
app/libraries/factory.php
CHANGED
@@ -129,8 +129,7 @@ class MEC_factory extends MEC_base
|
|
129 |
$this->filter('request', array($this->main, 'filter_request'));
|
130 |
|
131 |
// Block Editor Category
|
132 |
-
if(function_exists('register_block_type'))
|
133 |
-
$this->filter('block_categories', array($this->main, 'add_custome_block_cateogry'), 9999);
|
134 |
|
135 |
// Add Taxonomy etc to filters
|
136 |
$this->filter('mec_vyear_atts', array($this->main, 'add_search_filters'));
|
@@ -234,22 +233,32 @@ class MEC_factory extends MEC_base
|
|
234 |
|
235 |
// Include WordPress color picker JavaScript file
|
236 |
wp_enqueue_script('wp-color-picker');
|
237 |
-
|
238 |
-
// Include
|
239 |
-
//wp_enqueue_script('jquery-ui-datepicker');
|
240 |
-
|
241 |
-
// Include MEC backend script file
|
242 |
wp_enqueue_script('mec-typekit-script', $this->main->asset('js/jquery.typewatch.js'));
|
243 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
// Register New Block Editor
|
245 |
-
if(function_exists('register_block_type'))
|
246 |
-
|
247 |
wp_localize_script( 'mec-backend-script', 'mec_admin_localize',
|
248 |
array(
|
249 |
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
250 |
'ajax_nonce' => wp_create_nonce('mec_settings_nonce'),
|
251 |
'mce_items' => $this->main->mce_get_shortcode_list(),
|
252 |
-
)
|
253 |
);
|
254 |
|
255 |
wp_enqueue_script('mec-events-script', $this->main->asset('js/events.js'));
|
129 |
$this->filter('request', array($this->main, 'filter_request'));
|
130 |
|
131 |
// Block Editor Category
|
132 |
+
if(function_exists('register_block_type')) $this->filter('block_categories', array($this->main, 'add_custom_block_cateogry'), 9999);
|
|
|
133 |
|
134 |
// Add Taxonomy etc to filters
|
135 |
$this->filter('mec_vyear_atts', array($this->main, 'add_search_filters'));
|
233 |
|
234 |
// Include WordPress color picker JavaScript file
|
235 |
wp_enqueue_script('wp-color-picker');
|
236 |
+
|
237 |
+
// Include MEC typekit script file
|
|
|
|
|
|
|
238 |
wp_enqueue_script('mec-typekit-script', $this->main->asset('js/jquery.typewatch.js'));
|
239 |
+
|
240 |
+
// Backend Dependencies
|
241 |
+
$dependencies = array('wp-color-picker', 'jquery-ui-datepicker');
|
242 |
+
|
243 |
+
// Get Current Screen
|
244 |
+
global $current_screen;
|
245 |
+
if(!isset($current_screen)) $current_screen = get_current_screen();
|
246 |
+
|
247 |
+
// Add WP Blocks to the dependencies only when needed!
|
248 |
+
if(method_exists($current_screen, 'is_block_editor') and $current_screen->is_block_editor()) $dependencies[] = 'wp-blocks';
|
249 |
+
|
250 |
+
// Include MEC backend script file
|
251 |
+
wp_enqueue_script('mec-backend-script', $this->main->asset('js/backend.js'), $dependencies);
|
252 |
+
|
253 |
// Register New Block Editor
|
254 |
+
if(function_exists('register_block_type')) register_block_type('mec/blockeditor', array('editor_script' => 'block.editor'));
|
255 |
+
|
256 |
wp_localize_script( 'mec-backend-script', 'mec_admin_localize',
|
257 |
array(
|
258 |
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
259 |
'ajax_nonce' => wp_create_nonce('mec_settings_nonce'),
|
260 |
'mce_items' => $this->main->mce_get_shortcode_list(),
|
261 |
+
)
|
262 |
);
|
263 |
|
264 |
wp_enqueue_script('mec-events-script', $this->main->asset('js/events.js'));
|
app/libraries/main.php
CHANGED
@@ -527,6 +527,44 @@ class MEC_main extends MEC_base
|
|
527 |
return (isset($options['settings']) ? $options['settings'] : array());
|
528 |
}
|
529 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
530 |
/**
|
531 |
* Returns MEC settings
|
532 |
* @author Webnus <info@webnus.biz>
|
@@ -707,8 +745,26 @@ class MEC_main extends MEC_base
|
|
707 |
if(isset($filtered['settings']) and isset($filtered['settings']['category_slug'])) $filtered['settings']['category_slug'] = strtolower(str_replace(' ', '-', $filtered['settings']['category_slug']));
|
708 |
if(isset($filtered['settings']) and isset($filtered['settings']['custom_archive'])) $filtered['settings']['custom_archive'] = isset($filtered['settings']['custom_archive']) ? str_replace('\"','"',$filtered['settings']['custom_archive']) : '';
|
709 |
|
|
|
|
|
|
|
710 |
// Merge new options with previous options
|
711 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
712 |
|
713 |
// MEC Save Options
|
714 |
do_action('mec_save_options', $final);
|
@@ -4653,9 +4709,43 @@ class MEC_main extends MEC_base
|
|
4653 |
* @param array $categories
|
4654 |
* @return array
|
4655 |
*/
|
4656 |
-
public function
|
4657 |
{
|
4658 |
$categories = array_merge(array(array('slug' => 'mec.block.category', 'title' => __('M.E. Calender', 'modern-events-calendar-lite'), 'icon' => 'calendar-alt')), $categories);
|
4659 |
return $categories;
|
4660 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4661 |
}
|
527 |
return (isset($options['settings']) ? $options['settings'] : array());
|
528 |
}
|
529 |
|
530 |
+
/**
|
531 |
+
* Returns MEC addons message
|
532 |
+
* @author Webnus <info@webnus.biz>
|
533 |
+
* @return array
|
534 |
+
*/
|
535 |
+
public function addons_msg()
|
536 |
+
{
|
537 |
+
$get_n_option = get_option('mec_addons_notification_option');
|
538 |
+
if ( $get_n_option == 'open' ) return;
|
539 |
+
$update_n_option = update_option('mec_addons_notification_option', 'open');
|
540 |
+
return '
|
541 |
+
<div class="w-row mec-addons-notification-wrap">
|
542 |
+
<div class="w-col-sm-12">
|
543 |
+
<div class="w-clearfix w-box mec-addons-notification-box-wrap">
|
544 |
+
<div class="w-box-head">'.__('New Addons For MEC! Now Customize MEC in Elementor', 'modern-events-calendar-lite').'<span><i class="mec-sl-close"></i></span></div>
|
545 |
+
<div class="w-box-content">
|
546 |
+
<div class="mec-addons-notification-box-image">
|
547 |
+
<img src="'. plugin_dir_url(__FILE__ ) . '../../assets/img/mec-addons-teaser1.png" />
|
548 |
+
</div>
|
549 |
+
<div class="mec-addons-notification-box-content">
|
550 |
+
<div class="w-box-content">
|
551 |
+
<p>'.__('The time has come at last, and the new practical add-ons for MEC have been released. This is a revolution in the world of Event Calendars. We have provided you with a wide range of features only by having the 4 add-ons below:' , 'modern-events-calendar-lite').'</p>
|
552 |
+
<ol>
|
553 |
+
<li>'.__('<strong>WooCommerce Integration:</strong> You can now purchase ticket (as products) and Woo products at the same time.' , 'modern-events-calendar-lite').'</li>
|
554 |
+
<li>'.__('<strong>Elementor Single Builder:</strong> It enables you to create shortcodes in Elementor Live Editor.' , 'modern-events-calendar-lite').'</li>
|
555 |
+
<li>'.__('<strong>Elementor Form Builder:</strong> It allows you to use many different type of fields and rearrange them by drag and drop and modify their styles.' , 'modern-events-calendar-lite').'</li>
|
556 |
+
<li>'.__('<strong>Elementor Shortcode Builder:</strong> Edit single event page using Elementor. Manage the position of all elements in the Single page and in desktops, mobiles and tablets as well.', 'modern-events-calendar-lite').'</li>
|
557 |
+
</ol>
|
558 |
+
<a href="https://webnus.net/modern-events-calendar/addons/?ref=17" target="_blank">'.esc_html('find out more', 'modern-events-calendar-lite').'</a>
|
559 |
+
</div>
|
560 |
+
</div>
|
561 |
+
</div>
|
562 |
+
</div>
|
563 |
+
</div>
|
564 |
+
</div>
|
565 |
+
';
|
566 |
+
}
|
567 |
+
|
568 |
/**
|
569 |
* Returns MEC settings
|
570 |
* @author Webnus <info@webnus.biz>
|
745 |
if(isset($filtered['settings']) and isset($filtered['settings']['category_slug'])) $filtered['settings']['category_slug'] = strtolower(str_replace(' ', '-', $filtered['settings']['category_slug']));
|
746 |
if(isset($filtered['settings']) and isset($filtered['settings']['custom_archive'])) $filtered['settings']['custom_archive'] = isset($filtered['settings']['custom_archive']) ? str_replace('\"','"',$filtered['settings']['custom_archive']) : '';
|
747 |
|
748 |
+
// Generate New Options
|
749 |
+
$final = $current;
|
750 |
+
|
751 |
// Merge new options with previous options
|
752 |
+
foreach($filtered as $key=>$value)
|
753 |
+
{
|
754 |
+
if(is_array($value))
|
755 |
+
{
|
756 |
+
foreach($value as $k=>$v)
|
757 |
+
{
|
758 |
+
// Define New Array
|
759 |
+
if(!is_array($final[$key])) $final[$key] = array();
|
760 |
+
|
761 |
+
// Overwrite Old Value
|
762 |
+
$final[$key][$k] = $v;
|
763 |
+
}
|
764 |
+
}
|
765 |
+
// Overwrite Old Value
|
766 |
+
else $final[$key] = $value;
|
767 |
+
}
|
768 |
|
769 |
// MEC Save Options
|
770 |
do_action('mec_save_options', $final);
|
4709 |
* @param array $categories
|
4710 |
* @return array
|
4711 |
*/
|
4712 |
+
public function add_custom_block_cateogry($categories)
|
4713 |
{
|
4714 |
$categories = array_merge(array(array('slug' => 'mec.block.category', 'title' => __('M.E. Calender', 'modern-events-calendar-lite'), 'icon' => 'calendar-alt')), $categories);
|
4715 |
return $categories;
|
4716 |
}
|
4717 |
+
|
4718 |
+
/**
|
4719 |
+
* Advanced Repeating MEC Active
|
4720 |
+
* @author Webnus <info@webnus.biz>
|
4721 |
+
* @param array $days
|
4722 |
+
* @param string $item
|
4723 |
+
*/
|
4724 |
+
public function mec_active($days = array(), $item = '')
|
4725 |
+
{
|
4726 |
+
if(is_array($days) and in_array($item, $days)) echo 'mec-active';
|
4727 |
+
}
|
4728 |
+
|
4729 |
+
/**
|
4730 |
+
* Advanced repeat sorting by start of week day number
|
4731 |
+
* @author Webnus <info@webnus.biz>
|
4732 |
+
* @param int $start_of_week
|
4733 |
+
* @param $day
|
4734 |
+
* @return string|boolean
|
4735 |
+
*/
|
4736 |
+
function advanced_repeating_sort_day($start_of_week = 1, $day = 1)
|
4737 |
+
{
|
4738 |
+
if(func_num_args() < 2) return false;
|
4739 |
+
|
4740 |
+
$start_of_week = intval($start_of_week);
|
4741 |
+
$day = intval($day) == 0 ? intval($day) : intval($day) - 1;
|
4742 |
+
|
4743 |
+
// Sorting days by start of week day number
|
4744 |
+
$days = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
4745 |
+
$s1 = array_splice($days, $start_of_week, count($days));
|
4746 |
+
$s2 = array_splice($days, 0, $start_of_week);
|
4747 |
+
$merge = array_merge($s1, $s2);
|
4748 |
+
|
4749 |
+
return $merge[$day];
|
4750 |
+
}
|
4751 |
}
|
app/libraries/notifications.php
CHANGED
@@ -553,8 +553,10 @@ class MEC_notifications extends MEC_base
|
|
553 |
// Event Data
|
554 |
$organizer_id = get_post_meta($event_id, 'mec_organizer_id', true);
|
555 |
$location_id = get_post_meta($event_id, 'mec_location_id', true);
|
|
|
556 |
|
557 |
$organizer = get_term($organizer_id, 'mec_organizer');
|
|
|
558 |
$location = get_term($location_id, 'mec_location');
|
559 |
|
560 |
$message = str_replace('%%event_title%%', get_the_title($event_id), $message);
|
@@ -563,7 +565,10 @@ class MEC_notifications extends MEC_base
|
|
563 |
$message = str_replace('%%event_organizer_name%%', (isset($organizer->name) ? $organizer->name : ''), $message);
|
564 |
$message = str_replace('%%event_organizer_tel%%', get_term_meta($organizer_id, 'tel', true), $message);
|
565 |
$message = str_replace('%%event_organizer_email%%', get_term_meta($organizer_id, 'email', true), $message);
|
566 |
-
|
|
|
|
|
|
|
567 |
$message = str_replace('%%event_location_name%%', (isset($location->name) ? $location->name : ''), $message);
|
568 |
$message = str_replace('%%event_location_address%%', get_term_meta($location_id, 'address', true), $message);
|
569 |
|
553 |
// Event Data
|
554 |
$organizer_id = get_post_meta($event_id, 'mec_organizer_id', true);
|
555 |
$location_id = get_post_meta($event_id, 'mec_location_id', true);
|
556 |
+
$speaker_id = wp_get_post_terms( $event_id, 'mec_speaker', '');
|
557 |
|
558 |
$organizer = get_term($organizer_id, 'mec_organizer');
|
559 |
+
$speaker = get_term($speaker_id, 'mec_speaker');
|
560 |
$location = get_term($location_id, 'mec_location');
|
561 |
|
562 |
$message = str_replace('%%event_title%%', get_the_title($event_id), $message);
|
565 |
$message = str_replace('%%event_organizer_name%%', (isset($organizer->name) ? $organizer->name : ''), $message);
|
566 |
$message = str_replace('%%event_organizer_tel%%', get_term_meta($organizer_id, 'tel', true), $message);
|
567 |
$message = str_replace('%%event_organizer_email%%', get_term_meta($organizer_id, 'email', true), $message);
|
568 |
+
foreach ($speaker_id as $speaker) {
|
569 |
+
$speaker_name[] = $speaker->name;
|
570 |
+
}
|
571 |
+
$message = str_replace('%%event_speaker_name%%', (isset($speaker_name) ? implode(', ', $speaker_name): ''), $message);
|
572 |
$message = str_replace('%%event_location_name%%', (isset($location->name) ? $location->name : ''), $message);
|
573 |
$message = str_replace('%%event_location_address%%', get_term_meta($location_id, 'address', true), $message);
|
574 |
|
app/libraries/render.php
CHANGED
@@ -604,7 +604,7 @@ class MEC_render extends MEC_base
|
|
604 |
if(in_array($repeat_type, array('daily', 'weekly')))
|
605 |
{
|
606 |
$repeat_interval = $event->meta['mec_repeat_interval'];
|
607 |
-
|
608 |
$date_interval = $this->main->date_diff($start_date['date'], $today);
|
609 |
$passed_days = $date_interval ? $date_interval->days : 0;
|
610 |
|
@@ -831,11 +831,78 @@ class MEC_render extends MEC_base
|
|
831 |
);
|
832 |
}
|
833 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
834 |
}
|
835 |
-
|
836 |
-
// Set to cache
|
837 |
-
wp_cache_set($event_id.'-'.$original_start_date, $dates, 'mec-events-dates', 86400);
|
838 |
-
|
839 |
return $dates;
|
840 |
}
|
841 |
|
604 |
if(in_array($repeat_type, array('daily', 'weekly')))
|
605 |
{
|
606 |
$repeat_interval = $event->meta['mec_repeat_interval'];
|
607 |
+
|
608 |
$date_interval = $this->main->date_diff($start_date['date'], $today);
|
609 |
$passed_days = $date_interval ? $date_interval->days : 0;
|
610 |
|
831 |
);
|
832 |
}
|
833 |
}
|
834 |
+
elseif($repeat_type == 'advanced')
|
835 |
+
{
|
836 |
+
// Get user specifed days of month for repeat
|
837 |
+
$advanced_days = get_post_meta($event_id, 'mec_advanced_days', true);
|
838 |
+
$levels = array('first', 'second', 'third', 'fourth', 'last');
|
839 |
+
$year = date('Y');
|
840 |
+
|
841 |
+
// Set last month for include current month results
|
842 |
+
$month = date('m', strtotime('first day of last month'));
|
843 |
+
$current_day = date("d");
|
844 |
+
|
845 |
+
// Include default start date to resualts
|
846 |
+
$i = 0;
|
847 |
+
if(!$this->main->is_past($start_date['date'], $today) and !in_array($start_date['date'], $exceptional_days))
|
848 |
+
{
|
849 |
+
$dates[] = array(
|
850 |
+
'start' => $start_date,
|
851 |
+
'end' => $end_date,
|
852 |
+
'allday' => $allday,
|
853 |
+
'hide_time' => $hide_time,
|
854 |
+
'past' => 0
|
855 |
+
);
|
856 |
+
|
857 |
+
$i++;
|
858 |
+
}
|
859 |
+
|
860 |
+
while($i <= $maximum)
|
861 |
+
{
|
862 |
+
foreach($advanced_days as $day)
|
863 |
+
{
|
864 |
+
if($i > $maximum) break;
|
865 |
+
|
866 |
+
// Explode $day value for example (Sun.1) to Sun and 1
|
867 |
+
$d = explode('.', $day);
|
868 |
+
|
869 |
+
// Set indexes for {$levels} index if number day is Last(Sun.l) then indexes set 4th {$levels} index
|
870 |
+
$index = intval($d[1]) ? (intval($d[1]) - 1) : 4;
|
871 |
+
|
872 |
+
// Generate date
|
873 |
+
$date = "{$year}-{$month}-{$current_day}";
|
874 |
+
|
875 |
+
// Generate start date for example "first Sun of next month"
|
876 |
+
$start = date('Y-m-d', strtotime("{$levels[$index]} {$d[0]} of next month", strtotime(date($date))));
|
877 |
+
$end = date('Y-m-d', strtotime("+{$event_period_days} Days", strtotime($start)));
|
878 |
+
|
879 |
+
// Jump to next level if start date is past
|
880 |
+
if($this->main->is_past($start, $today) or in_array($start, $exceptional_days)) continue;
|
881 |
+
|
882 |
+
// Add dates
|
883 |
+
$dates[] = array(
|
884 |
+
'start' => array('date'=>$start, 'hour'=>$event->meta['mec_date']['start']['hour'], 'minutes'=>$event->meta['mec_date']['start']['minutes'], 'ampm'=>$event->meta['mec_date']['start']['ampm']),
|
885 |
+
'end' => array('date'=>$end, 'hour'=>$event->meta['mec_date']['end']['hour'], 'minutes'=>$event->meta['mec_date']['end']['minutes'], 'ampm'=>$event->meta['mec_date']['end']['ampm']),
|
886 |
+
'allday' => $allday,
|
887 |
+
'hide_time' => $hide_time,
|
888 |
+
'past' => 0
|
889 |
+
);
|
890 |
+
|
891 |
+
$i++;
|
892 |
+
}
|
893 |
+
|
894 |
+
// Change month and years for next resualts
|
895 |
+
if(intval($month) == 12)
|
896 |
+
{
|
897 |
+
$year = intval($year)+1;
|
898 |
+
$month = '01';
|
899 |
+
}
|
900 |
+
|
901 |
+
$month = sprintf("%02d", intval($month)+1);
|
902 |
+
}
|
903 |
+
}
|
904 |
}
|
905 |
+
|
|
|
|
|
|
|
906 |
return $dates;
|
907 |
}
|
908 |
|
app/libraries/skins.php
CHANGED
@@ -774,7 +774,7 @@ class MEC_skins extends MEC_base
|
|
774 |
(
|
775 |
'echo'=>false,
|
776 |
'taxonomy'=>'mec_category',
|
777 |
-
'name'=>'',
|
778 |
'include'=>((isset($this->atts['category']) and trim($this->atts['category'])) ? $this->atts['category'] : ''),
|
779 |
'id'=>'mec_sf_category_'.$this->id,
|
780 |
'hierarchical'=>true,
|
@@ -800,7 +800,7 @@ class MEC_skins extends MEC_base
|
|
800 |
(
|
801 |
'echo'=>false,
|
802 |
'taxonomy'=>'mec_location',
|
803 |
-
'name'=>'',
|
804 |
'include'=>((isset($this->atts['location']) and trim($this->atts['location'])) ? $this->atts['location'] : ''),
|
805 |
'id'=>'mec_sf_location_'.$this->id,
|
806 |
'hierarchical'=>true,
|
@@ -826,7 +826,7 @@ class MEC_skins extends MEC_base
|
|
826 |
(
|
827 |
'echo'=>false,
|
828 |
'taxonomy'=>'mec_organizer',
|
829 |
-
'name'=>'',
|
830 |
'include'=>((isset($this->atts['organizer']) and trim($this->atts['organizer'])) ? $this->atts['organizer'] : ''),
|
831 |
'id'=>'mec_sf_organizer_'.$this->id,
|
832 |
'hierarchical'=>true,
|
@@ -852,7 +852,7 @@ class MEC_skins extends MEC_base
|
|
852 |
(
|
853 |
'echo'=>false,
|
854 |
'taxonomy'=>'mec_speaker',
|
855 |
-
'name'=>'',
|
856 |
'include'=>((isset($this->atts['speaker']) and trim($this->atts['speaker'])) ? $this->atts['speaker'] : ''),
|
857 |
'id'=>'mec_sf_speaker_'.$this->id,
|
858 |
'hierarchical'=>true,
|
@@ -878,7 +878,7 @@ class MEC_skins extends MEC_base
|
|
878 |
(
|
879 |
'echo'=>false,
|
880 |
'taxonomy'=>'post_tag',
|
881 |
-
'name'=>'',
|
882 |
'include'=>((isset($this->atts['tag']) and trim($this->atts['tag'])) ? $this->atts['tag'] : ''),
|
883 |
'id'=>'mec_sf_tag_'.$this->id,
|
884 |
'hierarchical'=>true,
|
@@ -904,7 +904,7 @@ class MEC_skins extends MEC_base
|
|
904 |
(
|
905 |
'echo'=>false,
|
906 |
'taxonomy'=>'mec_label',
|
907 |
-
'name'=>'',
|
908 |
'include'=>((isset($this->atts['label']) and trim($this->atts['label'])) ? $this->atts['label'] : ''),
|
909 |
'id'=>'mec_sf_label_'.$this->id,
|
910 |
'hierarchical'=>true,
|
774 |
(
|
775 |
'echo'=>false,
|
776 |
'taxonomy'=>'mec_category',
|
777 |
+
'name'=>' ',
|
778 |
'include'=>((isset($this->atts['category']) and trim($this->atts['category'])) ? $this->atts['category'] : ''),
|
779 |
'id'=>'mec_sf_category_'.$this->id,
|
780 |
'hierarchical'=>true,
|
800 |
(
|
801 |
'echo'=>false,
|
802 |
'taxonomy'=>'mec_location',
|
803 |
+
'name'=>' ',
|
804 |
'include'=>((isset($this->atts['location']) and trim($this->atts['location'])) ? $this->atts['location'] : ''),
|
805 |
'id'=>'mec_sf_location_'.$this->id,
|
806 |
'hierarchical'=>true,
|
826 |
(
|
827 |
'echo'=>false,
|
828 |
'taxonomy'=>'mec_organizer',
|
829 |
+
'name'=>' ',
|
830 |
'include'=>((isset($this->atts['organizer']) and trim($this->atts['organizer'])) ? $this->atts['organizer'] : ''),
|
831 |
'id'=>'mec_sf_organizer_'.$this->id,
|
832 |
'hierarchical'=>true,
|
852 |
(
|
853 |
'echo'=>false,
|
854 |
'taxonomy'=>'mec_speaker',
|
855 |
+
'name'=>' ',
|
856 |
'include'=>((isset($this->atts['speaker']) and trim($this->atts['speaker'])) ? $this->atts['speaker'] : ''),
|
857 |
'id'=>'mec_sf_speaker_'.$this->id,
|
858 |
'hierarchical'=>true,
|
878 |
(
|
879 |
'echo'=>false,
|
880 |
'taxonomy'=>'post_tag',
|
881 |
+
'name'=>' ',
|
882 |
'include'=>((isset($this->atts['tag']) and trim($this->atts['tag'])) ? $this->atts['tag'] : ''),
|
883 |
'id'=>'mec_sf_tag_'.$this->id,
|
884 |
'hierarchical'=>true,
|
904 |
(
|
905 |
'echo'=>false,
|
906 |
'taxonomy'=>'mec_label',
|
907 |
+
'name'=>' ',
|
908 |
'include'=>((isset($this->atts['label']) and trim($this->atts['label'])) ? $this->atts['label'] : ''),
|
909 |
'id'=>'mec_sf_label_'.$this->id,
|
910 |
'hierarchical'=>true,
|
app/modules/booking/default.php
CHANGED
@@ -301,6 +301,9 @@ function mec_book_form_submit'.$uniqueid.'()
|
|
301 |
{
|
302 |
setTimeout(function(){window.location.href = data.data.redirect_to;}, 2000);
|
303 |
}
|
|
|
|
|
|
|
304 |
}
|
305 |
else
|
306 |
{
|
301 |
{
|
302 |
setTimeout(function(){window.location.href = data.data.redirect_to;}, 2000);
|
303 |
}
|
304 |
+
jQuery("html,body").animate({
|
305 |
+
scrollTop: jQuery(".mec-events-meta-group-booking").offset().top - 100
|
306 |
+
}, "slow");
|
307 |
}
|
308 |
else
|
309 |
{
|
app/modules/speakers/details.php
CHANGED
@@ -20,7 +20,7 @@ if(!count($speakers)) return false;
|
|
20 |
<?php foreach($speakers as $speaker): ?>
|
21 |
<li>
|
22 |
<div class="mec-speaker-avatar">
|
23 |
-
<a class="mec-color-hover" href="#mec-speaker-info-<?php echo $event->ID.'-'.$speaker['id']; ?>"
|
24 |
<?php if(isset($speaker['thumbnail']) and trim($speaker['thumbnail'])): ?>
|
25 |
<img class="mec-border-color-hover" src="<?php echo $speaker['thumbnail']; ?>" alt="<?php echo $speaker['name']; ?>">
|
26 |
<?php endif; ?>
|
20 |
<?php foreach($speakers as $speaker): ?>
|
21 |
<li>
|
22 |
<div class="mec-speaker-avatar">
|
23 |
+
<a class="mec-color-hover" href="#mec-speaker-info-<?php echo $event->ID.'-'.$speaker['id']; ?>">
|
24 |
<?php if(isset($speaker['thumbnail']) and trim($speaker['thumbnail'])): ?>
|
25 |
<img class="mec-border-color-hover" src="<?php echo $speaker['thumbnail']; ?>" alt="<?php echo $speaker['name']; ?>">
|
26 |
<?php endif; ?>
|
app/skins/agenda/tpl.php
CHANGED
@@ -47,6 +47,7 @@ else $this->factory->params('footer', $javascript);
|
|
47 |
|
48 |
$styling = $this->main->get_styling();
|
49 |
$event_colorskin = (isset($styling['mec_colorskin']) || isset($styling['color'])) ? 'colorskin-custom' : '';
|
|
|
50 |
?>
|
51 |
<div class="mec-wrap mec-events-agenda-container <?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
52 |
|
47 |
|
48 |
$styling = $this->main->get_styling();
|
49 |
$event_colorskin = (isset($styling['mec_colorskin']) || isset($styling['color'])) ? 'colorskin-custom' : '';
|
50 |
+
do_action('mec_agenda_skin_head');
|
51 |
?>
|
52 |
<div class="mec-wrap mec-events-agenda-container <?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
53 |
|
app/skins/available_spot/tpl.php
CHANGED
@@ -99,6 +99,7 @@ if ( !empty($event->data->speakers))
|
|
99 |
}
|
100 |
$speakers = json_encode($speakers);
|
101 |
}
|
|
|
102 |
?>
|
103 |
<div class="mec-wrap <?php echo $event_colorskin; ?> <?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
104 |
<div class="mec-av-spot-wrap">
|
99 |
}
|
100 |
$speakers = json_encode($speakers);
|
101 |
}
|
102 |
+
do_action('mec_available_spot_skin_head');
|
103 |
?>
|
104 |
<div class="mec-wrap <?php echo $event_colorskin; ?> <?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
105 |
<div class="mec-av-spot-wrap">
|
app/skins/carousel/render.php
CHANGED
@@ -77,7 +77,7 @@ $settings = $this->main->get_settings();
|
|
77 |
$speakers = json_encode($speakers);
|
78 |
}
|
79 |
?>
|
80 |
-
<article data-style="<?php echo $label_style; ?>" class="mec-event-article mec-clear <?php echo $this->get_event_classes($event); ?>">
|
81 |
<script type="application/ld+json">
|
82 |
{
|
83 |
"@context" : "http://schema.org",
|
@@ -142,7 +142,11 @@ $settings = $this->main->get_settings();
|
|
142 |
<i class="mec-sl-share mec-bg-color-hover mec-border-color-hover"></i>
|
143 |
</a>
|
144 |
</li>
|
145 |
-
<
|
|
|
|
|
|
|
|
|
146 |
</ul>
|
147 |
<?php endif; ?>
|
148 |
<a class="mec-booking-button mec-bg-color-hover mec-border-color-hover" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>" target="_self"><?php echo (is_array($event->data->tickets) and count($event->data->tickets)) ? $this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Detail', 'modern-events-calendar-lite')) ; ?></a>
|
@@ -168,8 +172,11 @@ $settings = $this->main->get_settings();
|
|
168 |
<i class="mec-sl-share mec-bg-color-hover mec-border-color-hover"></i>
|
169 |
</a>
|
170 |
</li>
|
171 |
-
<
|
172 |
-
|
|
|
|
|
|
|
173 |
</ul>
|
174 |
<?php endif; ?>
|
175 |
<a class="mec-booking-button mec-bg-color-hover mec-border-color-hover" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>" target="_self"><?php echo (is_array($event->data->tickets) and count($event->data->tickets)) ? $this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Detail', 'modern-events-calendar-lite')) ; ?></a>
|
77 |
$speakers = json_encode($speakers);
|
78 |
}
|
79 |
?>
|
80 |
+
<article data-style="<?php echo $label_style; ?>" class="mec-event-article mec-clear <?php echo $this->get_event_classes($event); ?>" itemscope>
|
81 |
<script type="application/ld+json">
|
82 |
{
|
83 |
"@context" : "http://schema.org",
|
142 |
<i class="mec-sl-share mec-bg-color-hover mec-border-color-hover"></i>
|
143 |
</a>
|
144 |
</li>
|
145 |
+
<li>
|
146 |
+
<ul class="mec-event-sharing">
|
147 |
+
<?php echo $this->main->module('links.list', array('event'=>$event)); ?>
|
148 |
+
</ul>
|
149 |
+
</li>
|
150 |
</ul>
|
151 |
<?php endif; ?>
|
152 |
<a class="mec-booking-button mec-bg-color-hover mec-border-color-hover" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>" target="_self"><?php echo (is_array($event->data->tickets) and count($event->data->tickets)) ? $this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Detail', 'modern-events-calendar-lite')) ; ?></a>
|
172 |
<i class="mec-sl-share mec-bg-color-hover mec-border-color-hover"></i>
|
173 |
</a>
|
174 |
</li>
|
175 |
+
<li>
|
176 |
+
<ul class="mec-event-sharing">
|
177 |
+
<?php echo $this->main->module('links.list', array('event'=>$event)); ?>
|
178 |
+
</ul>
|
179 |
+
</li>
|
180 |
</ul>
|
181 |
<?php endif; ?>
|
182 |
<a class="mec-booking-button mec-bg-color-hover mec-border-color-hover" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>" target="_self"><?php echo (is_array($event->data->tickets) and count($event->data->tickets)) ? $this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Detail', 'modern-events-calendar-lite')) ; ?></a>
|
app/skins/carousel/tpl.php
CHANGED
@@ -32,6 +32,7 @@ jQuery(document).ready(function()
|
|
32 |
// Include javascript code into the page
|
33 |
if($this->main->is_ajax()) echo $javascript;
|
34 |
else $this->factory->params('footer', $javascript);
|
|
|
35 |
?>
|
36 |
<div class="mec-wrap mec-skin-carousel-container<?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
37 |
|
32 |
// Include javascript code into the page
|
33 |
if($this->main->is_ajax()) echo $javascript;
|
34 |
else $this->factory->params('footer', $javascript);
|
35 |
+
do_action('mec_carousel_skin_head');
|
36 |
?>
|
37 |
<div class="mec-wrap mec-skin-carousel-container<?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
38 |
|
app/skins/countdown/tpl.php
CHANGED
@@ -81,6 +81,7 @@ jQuery(document).ready(function()
|
|
81 |
// Include javascript code into the page
|
82 |
if($this->main->is_ajax()) echo $javascript;
|
83 |
else $this->factory->params('footer', $javascript);
|
|
|
84 |
?>
|
85 |
<style>
|
86 |
.mec-wrap .mec-event-countdown-style2, .mec-wrap .mec-event-countdown-style1, .mec-event-countdown-style1 .mec-event-countdown-part3 .mec-event-button {background: <?php echo $this->bg_color; ?> ;}
|
81 |
// Include javascript code into the page
|
82 |
if($this->main->is_ajax()) echo $javascript;
|
83 |
else $this->factory->params('footer', $javascript);
|
84 |
+
do_action('mec_countdown_skin_head');
|
85 |
?>
|
86 |
<style>
|
87 |
.mec-wrap .mec-event-countdown-style2, .mec-wrap .mec-event-countdown-style1, .mec-event-countdown-style1 .mec-event-countdown-part3 .mec-event-button {background: <?php echo $this->bg_color; ?> ;}
|
app/skins/cover/tpl.php
CHANGED
@@ -47,6 +47,7 @@ if ( !empty($event->data->speakers))
|
|
47 |
}
|
48 |
$speakers = json_encode($speakers);
|
49 |
}
|
|
|
50 |
?>
|
51 |
<div class="mec-wrap <?php echo $event_colorskin . ' ' . $this->html_class; ?>">
|
52 |
<script type="application/ld+json">
|
47 |
}
|
48 |
$speakers = json_encode($speakers);
|
49 |
}
|
50 |
+
do_action('mec_cover_skin_head');
|
51 |
?>
|
52 |
<div class="mec-wrap <?php echo $event_colorskin . ' ' . $this->html_class; ?>">
|
53 |
<script type="application/ld+json">
|
app/skins/daily_view/tpl.php
CHANGED
@@ -97,6 +97,7 @@ else $this->factory->params('footer', $javascript);
|
|
97 |
|
98 |
$styling = $this->main->get_styling();
|
99 |
$event_colorskin = (isset($styling['mec_colorskin']) || isset($styling['color'])) ? 'colorskin-custom' : '';
|
|
|
100 |
?>
|
101 |
<div id="mec_skin_<?php echo $this->id; ?>" class="mec-wrap <?php echo $event_colorskin . ' ' . $this->html_class; ?>">
|
102 |
|
97 |
|
98 |
$styling = $this->main->get_styling();
|
99 |
$event_colorskin = (isset($styling['mec_colorskin']) || isset($styling['color'])) ? 'colorskin-custom' : '';
|
100 |
+
do_action('mec_daily_skin_head');
|
101 |
?>
|
102 |
<div id="mec_skin_<?php echo $this->id; ?>" class="mec-wrap <?php echo $event_colorskin . ' ' . $this->html_class; ?>">
|
103 |
|
app/skins/full_calendar/tpl.php
CHANGED
@@ -31,12 +31,14 @@ else $this->factory->params('footer', $javascript);
|
|
31 |
|
32 |
$styling = $this->main->get_styling();
|
33 |
$event_colorskin = (isset($styling['mec_colorskin'] ) || isset($styling['color'])) ? 'colorskin-custom' : '';
|
|
|
34 |
?>
|
35 |
<div id="mec_skin_<?php echo $this->id; ?>" class="mec-wrap <?php echo $event_colorskin; ?> mec-full-calendar-wrap">
|
36 |
|
37 |
-
<div class="mec-totalcal-box">
|
38 |
-
<?php
|
39 |
-
|
|
|
40 |
<?php
|
41 |
$sf_month_filter = (isset($this->sf_options['month_filter']) ? $this->sf_options['month_filter'] : array());
|
42 |
$sf_category = (isset($this->sf_options['category']) ? $this->sf_options['category'] : array());
|
@@ -61,48 +63,38 @@ $event_colorskin = (isset($styling['mec_colorskin'] ) || isset($styling['color']
|
|
61 |
|
62 |
$sf_columns = 8;
|
63 |
?>
|
64 |
-
<?php if($
|
65 |
-
<div class="col-md-3">
|
66 |
-
<?php echo $this->sf_search_field('month_filter', $sf_month_filter); ?>
|
67 |
-
</div>
|
68 |
-
<?php endif; ?>
|
69 |
-
<?php if($sf_category_status): $sf_columns -= 2; ?>
|
70 |
-
<div class="col-md-2">
|
71 |
<?php echo $this->sf_search_field('category', $sf_category); ?>
|
72 |
-
</div>
|
73 |
<?php endif; ?>
|
74 |
<?php if($sf_location_status): ?>
|
75 |
-
<div class="col-md-2">
|
76 |
<?php echo $this->sf_search_field('location', $sf_location); ?>
|
77 |
-
</div>
|
78 |
<?php endif; ?>
|
79 |
<?php if($sf_organizer_status): ?>
|
80 |
-
<div class="col-md-2">
|
81 |
<?php echo $this->sf_search_field('organizer', $sf_organizer); ?>
|
82 |
-
</div>
|
83 |
<?php endif; ?>
|
84 |
<?php if($sf_speaker_status and $speakers_status): ?>
|
85 |
-
<div class="col-md-2">
|
86 |
<?php echo $this->sf_search_field('speaker', $sf_speaker); ?>
|
87 |
-
</div>
|
88 |
<?php endif; ?>
|
89 |
<?php if($sf_tag_status): ?>
|
90 |
-
<div class="col-md-2">
|
91 |
<?php echo $this->sf_search_field('tag', $sf_tag); ?>
|
92 |
-
</div>
|
93 |
<?php endif; ?>
|
94 |
<?php if($sf_label_status): ?>
|
95 |
-
<div class="col-md-2">
|
96 |
<?php echo $this->sf_search_field('label', $sf_label); ?>
|
97 |
-
</div>
|
98 |
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
<div class="col-md-<?php echo $sf_columns; ?>">
|
100 |
<?php if($sf_text_search_status): ?>
|
101 |
-
|
102 |
<?php endif; ?>
|
103 |
-
</div>
|
104 |
-
</span>
|
105 |
<?php endif; ?>
|
|
|
106 |
<div class="col-md-4">
|
107 |
<div class="mec-totalcal-view">
|
108 |
<?php if($this->yearly): ?><span class="mec-totalcal-yearlyview<?php if($this->default_view == 'yearly') echo ' mec-totalcalview-selected'; ?>" data-skin="yearly"><?php _e('Yearly', 'modern-events-calendar-lite'); ?></span><?php endif; ?>
|
31 |
|
32 |
$styling = $this->main->get_styling();
|
33 |
$event_colorskin = (isset($styling['mec_colorskin'] ) || isset($styling['color'])) ? 'colorskin-custom' : '';
|
34 |
+
do_action('mec_full_skin_head');
|
35 |
?>
|
36 |
<div id="mec_skin_<?php echo $this->id; ?>" class="mec-wrap <?php echo $event_colorskin; ?> mec-full-calendar-wrap">
|
37 |
|
38 |
+
<div class="mec-search-form mec-totalcal-box">
|
39 |
+
<?php
|
40 |
+
if($this->sf_status): ?>
|
41 |
+
<div id="mec_search_form_<?php echo $this->id; ?>" class="mec-dropdown-wrap">
|
42 |
<?php
|
43 |
$sf_month_filter = (isset($this->sf_options['month_filter']) ? $this->sf_options['month_filter'] : array());
|
44 |
$sf_category = (isset($this->sf_options['category']) ? $this->sf_options['category'] : array());
|
63 |
|
64 |
$sf_columns = 8;
|
65 |
?>
|
66 |
+
<?php if($sf_category_status): ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
<?php echo $this->sf_search_field('category', $sf_category); ?>
|
|
|
68 |
<?php endif; ?>
|
69 |
<?php if($sf_location_status): ?>
|
|
|
70 |
<?php echo $this->sf_search_field('location', $sf_location); ?>
|
|
|
71 |
<?php endif; ?>
|
72 |
<?php if($sf_organizer_status): ?>
|
|
|
73 |
<?php echo $this->sf_search_field('organizer', $sf_organizer); ?>
|
|
|
74 |
<?php endif; ?>
|
75 |
<?php if($sf_speaker_status and $speakers_status): ?>
|
|
|
76 |
<?php echo $this->sf_search_field('speaker', $sf_speaker); ?>
|
|
|
77 |
<?php endif; ?>
|
78 |
<?php if($sf_tag_status): ?>
|
|
|
79 |
<?php echo $this->sf_search_field('tag', $sf_tag); ?>
|
|
|
80 |
<?php endif; ?>
|
81 |
<?php if($sf_label_status): ?>
|
|
|
82 |
<?php echo $this->sf_search_field('label', $sf_label); ?>
|
|
|
83 |
<?php endif; ?>
|
84 |
+
</div>
|
85 |
+
<div id="mec_search_form_<?php echo $this->id; ?>">
|
86 |
+
<?php if($sf_month_filter_status): $sf_columns -= 3; ?>
|
87 |
+
<div class="col-md-3">
|
88 |
+
<?php echo $this->sf_search_field('month_filter', $sf_month_filter); ?>
|
89 |
+
</div>
|
90 |
+
<?php endif; ?>
|
91 |
<div class="col-md-<?php echo $sf_columns; ?>">
|
92 |
<?php if($sf_text_search_status): ?>
|
93 |
+
<?php echo $this->sf_search_field('text_search', $sf_text_search); ?>
|
94 |
<?php endif; ?>
|
95 |
+
</div>
|
|
|
96 |
<?php endif; ?>
|
97 |
+
</div>
|
98 |
<div class="col-md-4">
|
99 |
<div class="mec-totalcal-view">
|
100 |
<?php if($this->yearly): ?><span class="mec-totalcal-yearlyview<?php if($this->default_view == 'yearly') echo ' mec-totalcalview-selected'; ?>" data-skin="yearly"><?php _e('Yearly', 'modern-events-calendar-lite'); ?></span><?php endif; ?>
|
app/skins/grid/render.php
CHANGED
@@ -95,7 +95,7 @@ if($this->style == 'colorful')
|
|
95 |
}
|
96 |
</script>
|
97 |
<?php
|
98 |
-
echo '<article data-style="'.$label_style.'" class="mec-event-article mec-clear '.$this->get_event_classes($event).'"' . $colorful_bg_color . '>';
|
99 |
?>
|
100 |
<?php if($this->style == 'modern'): ?>
|
101 |
<div class="event-grid-modern-head clearfix">
|
@@ -121,7 +121,11 @@ if($this->style == 'colorful')
|
|
121 |
<i class="mec-sl-share"></i>
|
122 |
</a>
|
123 |
</li>
|
124 |
-
<
|
|
|
|
|
|
|
|
|
125 |
</ul>
|
126 |
<?php endif; ?>
|
127 |
</div>
|
@@ -145,7 +149,11 @@ if($this->style == 'colorful')
|
|
145 |
<i class="mec-sl-share"></i>
|
146 |
</a>
|
147 |
</li>
|
148 |
-
<
|
|
|
|
|
|
|
|
|
149 |
</ul>
|
150 |
<?php endif; ?>
|
151 |
<a class="mec-booking-button" data-event-id="<?php echo $event->data->ID; ?>" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>" target="_self"><?php echo (is_array($event->data->tickets) and count($event->data->tickets)) ? $this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Detail', 'modern-events-calendar-lite')) ; ?></a>
|
@@ -182,7 +190,11 @@ if($this->style == 'colorful')
|
|
182 |
<i class="mec-sl-share"></i>
|
183 |
</a>
|
184 |
</li>
|
185 |
-
<
|
|
|
|
|
|
|
|
|
186 |
</ul>
|
187 |
<?php endif; ?>
|
188 |
<a class="mec-booking-button" data-event-id="<?php echo $event->data->ID; ?>" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>" target="_self"><?php echo (is_array($event->data->tickets) and count($event->data->tickets)) ? $this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Detail', 'modern-events-calendar-lite')) ; ?></a>
|
@@ -221,7 +233,11 @@ if($this->style == 'colorful')
|
|
221 |
<i class="mec-sl-share"></i>
|
222 |
</a>
|
223 |
</li>
|
224 |
-
<
|
|
|
|
|
|
|
|
|
225 |
</ul>
|
226 |
<?php endif; ?>
|
227 |
</div>
|
95 |
}
|
96 |
</script>
|
97 |
<?php
|
98 |
+
echo '<article data-style="'.$label_style.'" class="mec-event-article mec-clear '.$this->get_event_classes($event).'"' . $colorful_bg_color . ' itemscope>';
|
99 |
?>
|
100 |
<?php if($this->style == 'modern'): ?>
|
101 |
<div class="event-grid-modern-head clearfix">
|
121 |
<i class="mec-sl-share"></i>
|
122 |
</a>
|
123 |
</li>
|
124 |
+
<li>
|
125 |
+
<ul class="mec-event-sharing">
|
126 |
+
<?php echo $this->main->module('links.list', array('event'=>$event)); ?>
|
127 |
+
</ul>
|
128 |
+
</li>
|
129 |
</ul>
|
130 |
<?php endif; ?>
|
131 |
</div>
|
149 |
<i class="mec-sl-share"></i>
|
150 |
</a>
|
151 |
</li>
|
152 |
+
<li>
|
153 |
+
<ul class="mec-event-sharing">
|
154 |
+
<?php echo $this->main->module('links.list', array('event'=>$event)); ?>
|
155 |
+
</ul>
|
156 |
+
</li>
|
157 |
</ul>
|
158 |
<?php endif; ?>
|
159 |
<a class="mec-booking-button" data-event-id="<?php echo $event->data->ID; ?>" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>" target="_self"><?php echo (is_array($event->data->tickets) and count($event->data->tickets)) ? $this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Detail', 'modern-events-calendar-lite')) ; ?></a>
|
190 |
<i class="mec-sl-share"></i>
|
191 |
</a>
|
192 |
</li>
|
193 |
+
<li>
|
194 |
+
<ul class="mec-event-sharing">
|
195 |
+
<?php echo $this->main->module('links.list', array('event'=>$event)); ?>
|
196 |
+
</ul>
|
197 |
+
</li>
|
198 |
</ul>
|
199 |
<?php endif; ?>
|
200 |
<a class="mec-booking-button" data-event-id="<?php echo $event->data->ID; ?>" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>" target="_self"><?php echo (is_array($event->data->tickets) and count($event->data->tickets)) ? $this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Detail', 'modern-events-calendar-lite')) ; ?></a>
|
233 |
<i class="mec-sl-share"></i>
|
234 |
</a>
|
235 |
</li>
|
236 |
+
<li>
|
237 |
+
<ul class="mec-event-sharing">
|
238 |
+
<?php echo $this->main->module('links.list', array('event'=>$event)); ?>
|
239 |
+
</ul>
|
240 |
+
</li>
|
241 |
</ul>
|
242 |
<?php endif; ?>
|
243 |
</div>
|
app/skins/grid/tpl.php
CHANGED
@@ -41,6 +41,7 @@ jQuery(document).ready(function()
|
|
41 |
// Include javascript code into the page
|
42 |
if($this->main->is_ajax()) echo $javascript;
|
43 |
else $this->factory->params('footer', $javascript);
|
|
|
44 |
?>
|
45 |
<div class="mec-wrap mec-skin-grid-container <?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
46 |
|
41 |
// Include javascript code into the page
|
42 |
if($this->main->is_ajax()) echo $javascript;
|
43 |
else $this->factory->params('footer', $javascript);
|
44 |
+
do_action('mec_grid_skin_head');
|
45 |
?>
|
46 |
<div class="mec-wrap mec-skin-grid-container <?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
47 |
|
app/skins/list/render.php
CHANGED
@@ -84,7 +84,7 @@ $event_colorskin = (isset($styling['mec_colorskin']) || isset($styling['color'])
|
|
84 |
"url" : "<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>"
|
85 |
}
|
86 |
</script>
|
87 |
-
<article data-style="<?php echo $label_style; ?>" class="mec-event-article mec-clear <?php echo $this->get_event_classes($event); ?> mec-divider-toggle mec-toggle-<?php echo date_i18n('Ym', strtotime($date)); ?>-<?php echo $this->id; ?>">
|
88 |
<?php if($this->style == 'modern'): ?>
|
89 |
<div class="col-md-2 col-sm-2">
|
90 |
<div class="mec-event-date">
|
@@ -100,6 +100,7 @@ $event_colorskin = (isset($styling['mec_colorskin']) || isset($styling['color'])
|
|
100 |
</div>
|
101 |
<div class="col-md-4 col-sm-4 mec-btn-wrapper">
|
102 |
<a class="mec-booking-button" data-event-id="<?php echo $event->data->ID; ?>" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>"><?php echo (is_array($event->data->tickets) and count($event->data->tickets)) ? $this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Detail', 'modern-events-calendar-lite')); ?></a>
|
|
|
103 |
</div>
|
104 |
<?php elseif($this->style == 'classic'): ?>
|
105 |
<div class="mec-event-image"><a data-event-id="<?php echo $event->data->ID; ?>" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>"><?php echo $event->data->thumbnails['thumbnail']; ?></a></div>
|
@@ -179,7 +180,11 @@ $event_colorskin = (isset($styling['mec_colorskin']) || isset($styling['color'])
|
|
179 |
<i class="mec-sl-share"></i>
|
180 |
</a>
|
181 |
</li>
|
182 |
-
<
|
|
|
|
|
|
|
|
|
183 |
</ul>
|
184 |
<?php endif; ?>
|
185 |
<a class="mec-booking-button" data-event-id="<?php echo $event->data->ID; ?>" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>"><?php echo (is_array($event->data->tickets) and count($event->data->tickets)) ? $this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Detail', 'modern-events-calendar-lite')); ?></a>
|
@@ -189,7 +194,7 @@ $event_colorskin = (isset($styling['mec_colorskin']) || isset($styling['color'])
|
|
189 |
<div class="mec-events-toggle">
|
190 |
<!-- toggle item start -->
|
191 |
<div class="mec-toggle-item">
|
192 |
-
<div class="mec-toggle-item-inner<?php if ( $this->toggle_month_divider == '1' ) echo ' mec-toogle-inner-month-divider'; ?>"
|
193 |
<?php if ( $this->toggle_month_divider == '1' ) : ?>
|
194 |
<div class="mec-toggle-month-inner-image">
|
195 |
<a href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>"><?php echo $event->data->thumbnails['thumbnail']; ?></a>
|
@@ -214,7 +219,7 @@ $event_colorskin = (isset($styling['mec_colorskin']) || isset($styling['color'])
|
|
214 |
<h3 class="mec-toggle-title"><?php echo $event->data->title; ?><?php echo $event_color ; ?></h3>
|
215 |
<?php if (!empty($label_style)) echo '<span class="mec-fc-style">'.$label_style.'</span>'; ?><i class="mec-sl-arrow-down"></i>
|
216 |
</div>
|
217 |
-
<div class="mec-content-toggle"
|
218 |
<div class="mec-toggle-content">
|
219 |
<?php echo $this->render->vsingle(array('id'=>$event->data->ID, 'layout'=>'m2')); ?>
|
220 |
</div>
|
84 |
"url" : "<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>"
|
85 |
}
|
86 |
</script>
|
87 |
+
<article data-style="<?php echo $label_style; ?>" class="mec-event-article mec-clear <?php echo $this->get_event_classes($event); ?> mec-divider-toggle mec-toggle-<?php echo date_i18n('Ym', strtotime($date)); ?>-<?php echo $this->id; ?>" itemscope>
|
88 |
<?php if($this->style == 'modern'): ?>
|
89 |
<div class="col-md-2 col-sm-2">
|
90 |
<div class="mec-event-date">
|
100 |
</div>
|
101 |
<div class="col-md-4 col-sm-4 mec-btn-wrapper">
|
102 |
<a class="mec-booking-button" data-event-id="<?php echo $event->data->ID; ?>" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>"><?php echo (is_array($event->data->tickets) and count($event->data->tickets)) ? $this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Detail', 'modern-events-calendar-lite')); ?></a>
|
103 |
+
<?php do_action('mec_list_modern_style' , $event); ?>
|
104 |
</div>
|
105 |
<?php elseif($this->style == 'classic'): ?>
|
106 |
<div class="mec-event-image"><a data-event-id="<?php echo $event->data->ID; ?>" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>"><?php echo $event->data->thumbnails['thumbnail']; ?></a></div>
|
180 |
<i class="mec-sl-share"></i>
|
181 |
</a>
|
182 |
</li>
|
183 |
+
<li>
|
184 |
+
<ul class="mec-event-sharing">
|
185 |
+
<?php echo $this->main->module('links.list', array('event'=>$event)); ?>
|
186 |
+
</ul>
|
187 |
+
</li>
|
188 |
</ul>
|
189 |
<?php endif; ?>
|
190 |
<a class="mec-booking-button" data-event-id="<?php echo $event->data->ID; ?>" href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>"><?php echo (is_array($event->data->tickets) and count($event->data->tickets)) ? $this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite')) : $this->main->m('view_detail', __('View Detail', 'modern-events-calendar-lite')); ?></a>
|
194 |
<div class="mec-events-toggle">
|
195 |
<!-- toggle item start -->
|
196 |
<div class="mec-toggle-item">
|
197 |
+
<div class="mec-toggle-item-inner<?php if ( $this->toggle_month_divider == '1' ) echo ' mec-toogle-inner-month-divider'; ?>" tabindex="0" aria-controls="" aria-expanded="false">
|
198 |
<?php if ( $this->toggle_month_divider == '1' ) : ?>
|
199 |
<div class="mec-toggle-month-inner-image">
|
200 |
<a href="<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>"><?php echo $event->data->thumbnails['thumbnail']; ?></a>
|
219 |
<h3 class="mec-toggle-title"><?php echo $event->data->title; ?><?php echo $event_color ; ?></h3>
|
220 |
<?php if (!empty($label_style)) echo '<span class="mec-fc-style">'.$label_style.'</span>'; ?><i class="mec-sl-arrow-down"></i>
|
221 |
</div>
|
222 |
+
<div class="mec-content-toggle" aria-hidden="true" style="display: none;">
|
223 |
<div class="mec-toggle-content">
|
224 |
<?php echo $this->render->vsingle(array('id'=>$event->data->ID, 'layout'=>'m2')); ?>
|
225 |
</div>
|
app/skins/list/tpl.php
CHANGED
@@ -46,6 +46,7 @@ jQuery(document).ready(function()
|
|
46 |
// Include javascript code into the page
|
47 |
if($this->main->is_ajax()) echo $javascript;
|
48 |
else $this->factory->params('footer', $javascript);
|
|
|
49 |
?>
|
50 |
<div class="mec-wrap mec-skin-list-container <?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
51 |
|
46 |
// Include javascript code into the page
|
47 |
if($this->main->is_ajax()) echo $javascript;
|
48 |
else $this->factory->params('footer', $javascript);
|
49 |
+
do_action('mec_list_skin_head');
|
50 |
?>
|
51 |
<div class="mec-wrap mec-skin-list-container <?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
52 |
|
app/skins/map/tpl.php
CHANGED
@@ -43,6 +43,7 @@ if(count($this->events))
|
|
43 |
if($this->main->is_ajax()) echo $javascript;
|
44 |
else $this->factory->params('footer', $javascript);
|
45 |
}
|
|
|
46 |
?>
|
47 |
<div class="mec-wrap mec-skin-map-container <?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
48 |
|
43 |
if($this->main->is_ajax()) echo $javascript;
|
44 |
else $this->factory->params('footer', $javascript);
|
45 |
}
|
46 |
+
do_action('mec_map_skin_head');
|
47 |
?>
|
48 |
<div class="mec-wrap mec-skin-map-container <?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
49 |
|
app/skins/masonry/tpl.php
CHANGED
@@ -41,6 +41,7 @@ else $this->factory->params('footer', $javascript);
|
|
41 |
|
42 |
$styling = $this->main->get_styling();
|
43 |
$event_colorskin = (isset($styling['mec_colorskin']) || isset($styling['color'])) ? ' colorskin-custom ' : '';
|
|
|
44 |
?>
|
45 |
<div class="mec-wrap mec-skin-masonry-container<?php echo $event_colorskin; ?><?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
46 |
<?php if(trim($this->filter_by)) echo $this->filter_by(); ?>
|
41 |
|
42 |
$styling = $this->main->get_styling();
|
43 |
$event_colorskin = (isset($styling['mec_colorskin']) || isset($styling['color'])) ? ' colorskin-custom ' : '';
|
44 |
+
do_action('mec_masonry_skin_head');
|
45 |
?>
|
46 |
<div class="mec-wrap mec-skin-masonry-container<?php echo $event_colorskin; ?><?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
47 |
<?php if(trim($this->filter_by)) echo $this->filter_by(); ?>
|
app/skins/monthly_view/calendar.php
CHANGED
@@ -158,7 +158,7 @@ elseif($week_start == 5) // Friday
|
|
158 |
$events_str .= '</div>';
|
159 |
}
|
160 |
|
161 |
-
echo '</dt>';
|
162 |
|
163 |
if($running_day == 6)
|
164 |
{
|
158 |
$events_str .= '</div>';
|
159 |
}
|
160 |
|
161 |
+
// echo '</dt>';
|
162 |
|
163 |
if($running_day == 6)
|
164 |
{
|
app/skins/monthly_view/tpl.php
CHANGED
@@ -103,6 +103,7 @@ else
|
|
103 |
$events_side = '<div class="mec-calendar-events-side mec-clear"><div class="mec-month-side" id="mec_month_side_'.$this->id.'_'.date('Ym', $current_month_time).'">'.$this->events_str.'</div></div>';
|
104 |
$div_footer = '<div class="mec-event-footer"></div>';
|
105 |
}
|
|
|
106 |
?>
|
107 |
<div id="mec_skin_<?php echo $this->id; ?>" class="mec-wrap <?php echo $event_colorskin . ' ' . $this->html_class; ?>">
|
108 |
|
103 |
$events_side = '<div class="mec-calendar-events-side mec-clear"><div class="mec-month-side" id="mec_month_side_'.$this->id.'_'.date('Ym', $current_month_time).'">'.$this->events_str.'</div></div>';
|
104 |
$div_footer = '<div class="mec-event-footer"></div>';
|
105 |
}
|
106 |
+
do_action('mec_monthly_skin_head');
|
107 |
?>
|
108 |
<div id="mec_skin_<?php echo $this->id; ?>" class="mec-wrap <?php echo $event_colorskin . ' ' . $this->html_class; ?>">
|
109 |
|
app/skins/single.php
CHANGED
@@ -75,15 +75,14 @@ class MEC_skin_single extends MEC_skins
|
|
75 |
* Breadcrumbs On Single
|
76 |
* @author Webnus <info@webnus.biz>
|
77 |
*/
|
78 |
-
public function
|
79 |
{
|
80 |
$breadcrumbs_icon = '<i class="mec-color mec-sl-arrow-right"></i>'; // breadcrumbs_icon between crumbs
|
81 |
$showCurrent = 1; // 1 - show current post/page title in breadcrumbs, 0 - don't show
|
82 |
global $post;
|
83 |
$homeURL = esc_url(home_url('/'));
|
84 |
echo '<div class="mec-address"><a href="' . esc_url($homeURL) . '"> ' . __('Home', 'modern-events-calendar-lite') . ' </a> ' . $breadcrumbs_icon . ' ';
|
85 |
-
$
|
86 |
-
$crumbs_title = $get_mec_archive_title->get_archive_title();
|
87 |
$MEC_CPT = get_post_type_object(get_post_type());
|
88 |
$slug = $MEC_CPT->rewrite;
|
89 |
echo '<a href="' . $homeURL . $slug['slug'] . '/">' . $crumbs_title . '</a>';
|
@@ -177,6 +176,7 @@ class MEC_skin_single extends MEC_skins
|
|
177 |
return $events;
|
178 |
}
|
179 |
|
|
|
180 |
public function get_event_mec($event_ID)
|
181 |
{
|
182 |
// Original Event ID for Multilingual Websites
|
@@ -230,6 +230,10 @@ class MEC_skin_single extends MEC_skins
|
|
230 |
$events[] = $data;
|
231 |
return $events;
|
232 |
}
|
|
|
|
|
|
|
|
|
233 |
|
234 |
/**
|
235 |
* Load Single Event Page for AJAX requert
|
@@ -277,6 +281,400 @@ class MEC_skin_single extends MEC_skins
|
|
277 |
return isset($ids[0]) ? $ids[0] : array();
|
278 |
}
|
279 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
/**
|
281 |
* @param object $event
|
282 |
* @return void
|
@@ -367,7 +765,7 @@ class MEC_skin_single extends MEC_skins
|
|
367 |
* @param object $event
|
368 |
* @return void
|
369 |
*/
|
370 |
-
public function
|
371 |
{
|
372 |
if(isset($event->data->hourly_schedules) and is_array($event->data->hourly_schedules) and count($event->data->hourly_schedules)):
|
373 |
|
75 |
* Breadcrumbs On Single
|
76 |
* @author Webnus <info@webnus.biz>
|
77 |
*/
|
78 |
+
public function display_breadcrumb_widget($page_id)
|
79 |
{
|
80 |
$breadcrumbs_icon = '<i class="mec-color mec-sl-arrow-right"></i>'; // breadcrumbs_icon between crumbs
|
81 |
$showCurrent = 1; // 1 - show current post/page title in breadcrumbs, 0 - don't show
|
82 |
global $post;
|
83 |
$homeURL = esc_url(home_url('/'));
|
84 |
echo '<div class="mec-address"><a href="' . esc_url($homeURL) . '"> ' . __('Home', 'modern-events-calendar-lite') . ' </a> ' . $breadcrumbs_icon . ' ';
|
85 |
+
$crumbs_title = $this->main->get_archive_title();
|
|
|
86 |
$MEC_CPT = get_post_type_object(get_post_type());
|
87 |
$slug = $MEC_CPT->rewrite;
|
88 |
echo '<a href="' . $homeURL . $slug['slug'] . '/">' . $crumbs_title . '</a>';
|
176 |
return $events;
|
177 |
}
|
178 |
|
179 |
+
// Get event
|
180 |
public function get_event_mec($event_ID)
|
181 |
{
|
182 |
// Original Event ID for Multilingual Websites
|
230 |
$events[] = $data;
|
231 |
return $events;
|
232 |
}
|
233 |
+
|
234 |
+
//
|
235 |
+
|
236 |
+
|
237 |
|
238 |
/**
|
239 |
* Load Single Event Page for AJAX requert
|
281 |
return isset($ids[0]) ? $ids[0] : array();
|
282 |
}
|
283 |
|
284 |
+
/**
|
285 |
+
* @param object next/prev Widget
|
286 |
+
* @return void
|
287 |
+
*/
|
288 |
+
function display_next_prev_widget($event)
|
289 |
+
{
|
290 |
+
echo $this->main->module('next-event.details', array('event'=>$event));
|
291 |
+
}
|
292 |
+
|
293 |
+
/**
|
294 |
+
* @param object social Widget
|
295 |
+
* @return void
|
296 |
+
*/
|
297 |
+
function display_social_widget($event)
|
298 |
+
{
|
299 |
+
if (!isset($this->settings['social_network_status']) or (isset($this->settings['social_network_status']) and !$this->settings['social_network_status'])) return;
|
300 |
+
$url = isset($event->data->permalink) ? $event->data->permalink : '';
|
301 |
+
if (trim($url) == '') return;
|
302 |
+
$socials = $this->main->get_social_networks();
|
303 |
+
?>
|
304 |
+
<div class="mec-event-social mec-frontbox">
|
305 |
+
<h3 class="mec-social-single mec-frontbox-title"><?php _e('Share this event', 'mec-single-builder'); ?></h3>
|
306 |
+
<div class="mec-event-sharing">
|
307 |
+
<div class="mec-links-details">
|
308 |
+
<ul>
|
309 |
+
<?php
|
310 |
+
foreach ($socials as $social) {
|
311 |
+
if (!isset($this->settings['sn'][$social['id']]) or (isset($this->settings['sn'][$social['id']]) and !$this->settings['sn'][$social['id']])) continue;
|
312 |
+
if (is_callable($social['function'])) echo call_user_func($social['function'], $url, $event);
|
313 |
+
}
|
314 |
+
?>
|
315 |
+
</ul>
|
316 |
+
</div>
|
317 |
+
</div>
|
318 |
+
</div>
|
319 |
+
<?php
|
320 |
+
}
|
321 |
+
|
322 |
+
/**
|
323 |
+
* @param object Location widget
|
324 |
+
* @return void
|
325 |
+
*/
|
326 |
+
function display_location_widget($event)
|
327 |
+
{
|
328 |
+
if (isset($event->data->locations[$event->data->meta['mec_location_id']]) and !empty($event->data->locations[$event->data->meta['mec_location_id']])) {
|
329 |
+
echo '<div class="mec-event-meta">';
|
330 |
+
$location = $event->data->locations[$event->data->meta['mec_location_id']];
|
331 |
+
?>
|
332 |
+
<div class="mec-single-event-location">
|
333 |
+
<?php if ($location['thumbnail']) : ?>
|
334 |
+
<img class="mec-img-location" src="<?php echo esc_url($location['thumbnail']); ?>" alt="<?php echo (isset($location['name']) ? $location['name'] : ''); ?>">
|
335 |
+
<?php endif; ?>
|
336 |
+
<i class="mec-sl-location-pin"></i>
|
337 |
+
<h3 class="mec-events-single-section-title mec-location"><?php echo $this->main->m('taxonomy_location', __('Location', 'mec-single-builder')); ?></h3>
|
338 |
+
<dd class="author fn org"><?php echo (isset($location['name']) ? $location['name'] : ''); ?></dd>
|
339 |
+
<dd class="location">
|
340 |
+
<address class="mec-events-address"><span class="mec-address"><?php echo (isset($location['address']) ? $location['address'] : ''); ?></span></address>
|
341 |
+
</dd>
|
342 |
+
</div>
|
343 |
+
<?php
|
344 |
+
echo '</div>';
|
345 |
+
}
|
346 |
+
}
|
347 |
+
|
348 |
+
/**
|
349 |
+
* @param object Other Location widget
|
350 |
+
* @return void
|
351 |
+
*/
|
352 |
+
function display_other_location_widget($event)
|
353 |
+
{
|
354 |
+
echo '<div class="mec-event-meta">';
|
355 |
+
$this->show_other_locations($event); // Show Additional Locations
|
356 |
+
echo '</div>';
|
357 |
+
}
|
358 |
+
|
359 |
+
/**
|
360 |
+
* @param object Local Time widget
|
361 |
+
* @return void
|
362 |
+
*/
|
363 |
+
function display_local_time_widget($event)
|
364 |
+
{
|
365 |
+
echo '<div class="mec-event-meta mec-local-time-details mec-frontbox">';
|
366 |
+
echo $this->main->module('local-time.details', array('event'=>$event));
|
367 |
+
echo '</div>';
|
368 |
+
}
|
369 |
+
|
370 |
+
|
371 |
+
/**
|
372 |
+
* @param object Local Time widget
|
373 |
+
* @return void
|
374 |
+
*/
|
375 |
+
function display_attendees_widget($event)
|
376 |
+
{
|
377 |
+
echo $this->main->module('attendees-list.details', array('event'=>$event));
|
378 |
+
}
|
379 |
+
|
380 |
+
/**
|
381 |
+
* @param object booking widget
|
382 |
+
* @return void
|
383 |
+
*/
|
384 |
+
function display_booking_widget($event,$event_m)
|
385 |
+
{
|
386 |
+
$occurrence = (isset($event->date['start']['date']) ? $event->date['start']['date'] : (isset($_GET['occurrence']) ? sanitize_text_field($_GET['occurrence']) : ''));
|
387 |
+
if ($this->main->is_sold($event, (trim($occurrence) ? $occurrence : $event->date['start']['date'])) and count($event->dates) <= 1) : ?>
|
388 |
+
<div class="mec-sold-tickets warning-msg"><?php _e('Sold out!', 'modern-events-calendar-lite'); ?></div>
|
389 |
+
<?php elseif ($this->main->can_show_booking_module($event)) :
|
390 |
+
$data_lity_class = '';
|
391 |
+
if (isset($this->settings['single_booking_style']) and $this->settings['single_booking_style'] == 'modal') $data_lity_class = 'lity-hide '; ?>
|
392 |
+
<div id="mec-events-meta-group-booking-<?php echo $single->uniqueid; ?>" class="<?php echo $data_lity_class; ?>mec-events-meta-group mec-events-meta-group-booking">
|
393 |
+
<?php echo $this->main->module('booking.default', array('event' => $event_m)); ?>
|
394 |
+
</div>
|
395 |
+
<?php
|
396 |
+
endif;
|
397 |
+
}
|
398 |
+
|
399 |
+
|
400 |
+
/**
|
401 |
+
* @param object category widget
|
402 |
+
* @return void
|
403 |
+
*/
|
404 |
+
function display_category_widget($event)
|
405 |
+
{
|
406 |
+
if (isset($event->data->categories)) {
|
407 |
+
echo '<div class="mec-single-event-category mec-event-meta mec-frontbox">';
|
408 |
+
?>
|
409 |
+
<i class="mec-sl-folder"></i>
|
410 |
+
<dt><?php echo $this->main->m('taxonomy_categories', __('Category', 'modern-events-calendar-lite')); ?></dt>
|
411 |
+
<?php
|
412 |
+
foreach ($event->data->categories as $category) {
|
413 |
+
$icon = get_metadata('term', $category['id'], 'mec_cat_icon', true);
|
414 |
+
$icon = isset($icon) && $icon != '' ? '<i class="' . $icon . ' mec-color"></i>' : '<i class="mec-fa-angle-right"></i>';
|
415 |
+
echo '<dd class="mec-events-event-categories">
|
416 |
+
<a href="' . get_term_link($category['id'], 'mec_category') . '" class="mec-color-hover" rel="tag">' . $icon . $category['name'] . '</a></dd>';
|
417 |
+
}
|
418 |
+
echo '</div>';
|
419 |
+
}
|
420 |
+
}
|
421 |
+
|
422 |
+
/**
|
423 |
+
* @param object cost widget
|
424 |
+
* @return void
|
425 |
+
*/
|
426 |
+
function display_cost_widget($event)
|
427 |
+
{
|
428 |
+
if (isset($event->data->meta['mec_cost']) and $event->data->meta['mec_cost'] != '') {
|
429 |
+
echo '<div class="mec-event-meta">';
|
430 |
+
?>
|
431 |
+
<div class="mec-event-cost">
|
432 |
+
<i class="mec-sl-wallet"></i>
|
433 |
+
<h3 class="mec-cost"><?php echo $this->main->m('cost', __('Cost', 'mec-single-builder')); ?></h3>
|
434 |
+
<dd class="mec-events-event-cost"><?php echo (is_numeric($event->data->meta['mec_cost']) ? $this->main->render_price($event->data->meta['mec_cost']) : $event->data->meta['mec_cost']); ?></dd>
|
435 |
+
</div>
|
436 |
+
<?php
|
437 |
+
echo '</div>';
|
438 |
+
}
|
439 |
+
}
|
440 |
+
|
441 |
+
|
442 |
+
/**
|
443 |
+
* @param object countdown widget
|
444 |
+
* @return void
|
445 |
+
*/
|
446 |
+
function display_countdown_widget($event)
|
447 |
+
{
|
448 |
+
echo '<div class="mec-events-meta-group mec-events-meta-group-countdown">';
|
449 |
+
echo $this->main->module('countdown.details', array('event' => $event));
|
450 |
+
echo '</div>';
|
451 |
+
}
|
452 |
+
|
453 |
+
/**
|
454 |
+
* @param object export widget
|
455 |
+
* @return void
|
456 |
+
*/
|
457 |
+
function display_export_widget($event)
|
458 |
+
{
|
459 |
+
echo $this->main->module('export.details', array('event'=>$event));
|
460 |
+
}
|
461 |
+
|
462 |
+
/**
|
463 |
+
* @param object map widget
|
464 |
+
* @return void
|
465 |
+
*/
|
466 |
+
function display_map_widget($event)
|
467 |
+
{
|
468 |
+
echo '<div class="mec-events-meta-group mec-events-meta-group-gmap">';
|
469 |
+
echo $this->main->module('googlemap.details', array('event'=>$event));
|
470 |
+
echo '</div>';
|
471 |
+
}
|
472 |
+
|
473 |
+
|
474 |
+
/**
|
475 |
+
* @param object date widget
|
476 |
+
* @return void
|
477 |
+
*/
|
478 |
+
function display_date_widget($event)
|
479 |
+
{
|
480 |
+
$occurrence = (isset($event->date['start']['date']) ? $event->date['start']['date'] : (isset($_GET['occurrence']) ? sanitize_text_field($_GET['occurrence']) : ''));
|
481 |
+
$occurrence_end_date = trim($occurrence) ? $this->main->get_end_date_by_occurrence($event->data->ID, (isset($event->date['start']['date']) ? $event->date['start']['date'] : $occurrence)) : '';
|
482 |
+
echo '<div class="mec-event-meta">';
|
483 |
+
// Event Date
|
484 |
+
if (isset($event->data->meta['mec_date']['start']) and !empty($event->data->meta['mec_date']['start'])) {
|
485 |
+
?>
|
486 |
+
<div class="mec-single-event-date">
|
487 |
+
<i class="mec-sl-calendar"></i>
|
488 |
+
<h3 class="mec-date"><?php _e('Date', 'mec-single-builder'); ?></h3>
|
489 |
+
<dd><abbr class="mec-events-abbr"><?php echo $this->main->date_label((trim($occurrence) ? array('date' => $occurrence) : $event->date['start']), (trim($occurrence_end_date) ? array('date' => $occurrence_end_date) : (isset($event->date['end']) ? $event->date['end'] : NULL)), 'M d Y'); ?></abbr></dd>
|
490 |
+
</div>
|
491 |
+
<?php
|
492 |
+
}
|
493 |
+
echo '</div>';
|
494 |
+
}
|
495 |
+
|
496 |
+
/**
|
497 |
+
* @param object More Info widget
|
498 |
+
* @return void
|
499 |
+
*/
|
500 |
+
function display_more_info_widget($event)
|
501 |
+
{
|
502 |
+
if (isset($event->data->meta['mec_more_info']) and trim($event->data->meta['mec_more_info']) and $event->data->meta['mec_more_info'] != 'http://') {
|
503 |
+
echo '<div class="mec-event-meta">';
|
504 |
+
?>
|
505 |
+
<div class="mec-event-more-info">
|
506 |
+
<i class="mec-sl-info"></i>
|
507 |
+
<h3 class="mec-cost"><?php echo $this->main->m('more_info_link', __('More Info', 'mec-single-builder')); ?></h3>
|
508 |
+
<dd class="mec-events-event-more-info"><a class="mec-more-info-button a mec-color-hover" target="<?php echo (isset($event->data->meta['mec_more_info_target']) ? $event->data->meta['mec_more_info_target'] : '_self'); ?>" href="<?php echo $event->data->meta['mec_more_info']; ?>"><?php echo ((isset($event->data->meta['mec_more_info_title']) and trim($event->data->meta['mec_more_info_title'])) ? $event->data->meta['mec_more_info_title'] : __('Read More', 'mec-single-builder')); ?></a></dd>
|
509 |
+
</div>
|
510 |
+
<?php
|
511 |
+
echo '</div>';
|
512 |
+
}
|
513 |
+
}
|
514 |
+
|
515 |
+
/**
|
516 |
+
* @param object Speakers Widget
|
517 |
+
* @return void
|
518 |
+
*/
|
519 |
+
public function display_speakers_widget($event)
|
520 |
+
{
|
521 |
+
echo $this->main->module('speakers.details', array('event'=>$event));
|
522 |
+
}
|
523 |
+
|
524 |
+
/**
|
525 |
+
* @param object label Widget
|
526 |
+
* @return void
|
527 |
+
*/
|
528 |
+
public function display_label_widget($event)
|
529 |
+
{
|
530 |
+
if (isset($event->data->labels) and !empty($event->data->labels)) {
|
531 |
+
echo '<div class="mec-event-meta">';
|
532 |
+
$mec_items = count($event->data->labels);
|
533 |
+
$mec_i = 0; ?>
|
534 |
+
<div class="mec-single-event-label">
|
535 |
+
<i class="mec-fa-bookmark-o"></i>
|
536 |
+
<h3 class="mec-cost"><?php echo $this->main->m('taxonomy_labels', __('Labels', 'mec-single-builder')); ?></h3>
|
537 |
+
<?php foreach ($event->data->labels as $labels => $label) :
|
538 |
+
$seperator = (++$mec_i === $mec_items) ? '' : ',';
|
539 |
+
echo '<dd style="color:' . $label['color'] . '">' . $label["name"] . $seperator . '</dd>';
|
540 |
+
endforeach; ?>
|
541 |
+
</div>
|
542 |
+
<?php
|
543 |
+
echo '</div>';
|
544 |
+
}
|
545 |
+
}
|
546 |
+
|
547 |
+
|
548 |
+
/**
|
549 |
+
* @param object qrcode Widget
|
550 |
+
* @return void
|
551 |
+
*/
|
552 |
+
public function display_qrcode_widget($event)
|
553 |
+
{
|
554 |
+
echo $this->main->module('qrcode.details', array('event'=>$event));
|
555 |
+
}
|
556 |
+
|
557 |
+
/**
|
558 |
+
* @param object weather Widget
|
559 |
+
* @return void
|
560 |
+
*/
|
561 |
+
public function display_weather_widget($event)
|
562 |
+
{
|
563 |
+
echo $this->main->module('weather.details', array('event' => $event));
|
564 |
+
}
|
565 |
+
|
566 |
+
/**
|
567 |
+
* @param object time Widget
|
568 |
+
* @return void
|
569 |
+
*/
|
570 |
+
public function display_time_widget($event)
|
571 |
+
{
|
572 |
+
echo '<div class="mec-event-meta">';
|
573 |
+
// Event Time
|
574 |
+
if (isset($event->data->meta['mec_date']['start']) and !empty($event->data->meta['mec_date']['start'])) {
|
575 |
+
if (isset($event->data->meta['mec_hide_time']) and $event->data->meta['mec_hide_time'] == '0') {
|
576 |
+
$time_comment = isset($event->data->meta['mec_comment']) ? $event->data->meta['mec_comment'] : '';
|
577 |
+
$allday = isset($event->data->meta['mec_allday']) ? $event->data->meta['mec_allday'] : 0;
|
578 |
+
?>
|
579 |
+
<div class="mec-single-event-time">
|
580 |
+
<i class="mec-sl-clock " style=""></i>
|
581 |
+
<h3 class="mec-time"><?php _e('Time', 'mec-single-builder'); ?></h3>
|
582 |
+
<i class="mec-time-comment"><?php echo (isset($time_comment) ? $time_comment : ''); ?></i>
|
583 |
+
|
584 |
+
<?php if ($allday == '0' and isset($event->data->time) and trim($event->data->time['start'])) : ?>
|
585 |
+
<dd><abbr class="mec-events-abbr"><?php echo $event->data->time['start']; ?><?php echo (trim($event->data->time['end']) ? ' - ' . $event->data->time['end'] : ''); ?></abbr></dd>
|
586 |
+
<?php else : ?>
|
587 |
+
<dd><abbr class="mec-events-abbr"><?php _e('All of the day', 'mec-single-builder'); ?></abbr></dd>
|
588 |
+
<?php endif; ?>
|
589 |
+
</div>
|
590 |
+
<?php
|
591 |
+
}
|
592 |
+
}
|
593 |
+
echo '</div>';
|
594 |
+
}
|
595 |
+
|
596 |
+
/**
|
597 |
+
* @param object register_button Widget
|
598 |
+
* @return void
|
599 |
+
*/
|
600 |
+
public function display_register_button_widget($event)
|
601 |
+
{
|
602 |
+
if ($this->main->can_show_booking_module($event)) : ?>
|
603 |
+
<div class="mec-reg-btn mec-frontbox">
|
604 |
+
<?php $data_lity = '';
|
605 |
+
if (isset($this->settings['single_booking_style']) and $this->settings['single_booking_style'] == 'modal') $data_lity = 'data-lity'; ?>
|
606 |
+
<a class="mec-booking-button mec-bg-color <?php if (isset($this->settings['single_booking_style']) and $this->settings['single_booking_style'] != 'modal') echo 'simple-booking'; ?>" href="#mec-events-meta-group-booking-<?php echo $single->uniqueid; ?>" <?php echo $data_lity; ?>><?php echo esc_html($this->main->m('register_button', __('REGISTER', 'mec-single-builder'))); ?></a>
|
607 |
+
<?php elseif (isset($event->data->meta['mec_more_info']) and trim($event->data->meta['mec_more_info']) and $event->data->meta['mec_more_info'] != 'http://') : ?>
|
608 |
+
<a class="mec-booking-button mec-bg-color" href="<?php echo $event->data->meta['mec_more_info']; ?>"><?php if (isset($event->data->meta['mec_more_info_title']) and trim($event->data->meta['mec_more_info_title'])) echo esc_html(trim($event->data->meta['mec_more_info_title']), 'mec-single-builder');
|
609 |
+
else echo esc_html($this->main->m('register_button', __('REGISTER', 'mec-single-builder')));
|
610 |
+
?></a>
|
611 |
+
</div>
|
612 |
+
<?php endif;
|
613 |
+
}
|
614 |
+
|
615 |
+
/**
|
616 |
+
* @param object other organizers Widget
|
617 |
+
* @return void
|
618 |
+
*/
|
619 |
+
public function display_other_organizer_widget($event)
|
620 |
+
{
|
621 |
+
if(isset($event->data->organizers[$event->data->meta['mec_organizer_id']]) && !empty($event->data->organizers[$event->data->meta['mec_organizer_id']]) )
|
622 |
+
{
|
623 |
+
echo '<div class="mec-event-meta">';
|
624 |
+
$this->show_other_organizers(event);
|
625 |
+
echo '</div>';
|
626 |
+
}
|
627 |
+
}
|
628 |
+
|
629 |
+
|
630 |
+
/**
|
631 |
+
* @param object organizer Widget
|
632 |
+
* @return void
|
633 |
+
*/
|
634 |
+
public function display_organizer_widget($event)
|
635 |
+
{
|
636 |
+
if(isset($event->data->organizers[$event->data->meta['mec_organizer_id']]) && !empty($event->data->organizers[$event->data->meta['mec_organizer_id']]) ) {
|
637 |
+
echo '<div class="mec-event-meta">';
|
638 |
+
$organizer = $event->data->organizers[$event->data->meta['mec_organizer_id']];
|
639 |
+
?>
|
640 |
+
<div class="mec-single-event-organizer">
|
641 |
+
<?php if(isset($organizer['thumbnail']) and trim($organizer['thumbnail'])): ?>
|
642 |
+
<img class="mec-img-organizer" src="<?php echo esc_url($organizer['thumbnail']); ?>" alt="<?php echo (isset($organizer['name']) ? $organizer['name'] : ''); ?>">
|
643 |
+
<?php endif; ?>
|
644 |
+
<h3 class="mec-events-single-section-title"><?php echo $this->main->m('taxonomy_organizer', __('Organizer', 'mec-single-builder')); ?></h3>
|
645 |
+
<?php if(isset($organizer['thumbnail'])): ?>
|
646 |
+
<dd class="mec-organizer">
|
647 |
+
<i class="mec-sl-home"></i>
|
648 |
+
<h6><?php echo (isset($organizer['name']) ? $organizer['name'] : ''); ?></h6>
|
649 |
+
</dd>
|
650 |
+
<?php endif;
|
651 |
+
if(isset($organizer['tel']) && !empty($organizer['tel'])): ?>
|
652 |
+
<dd class="mec-organizer-tel">
|
653 |
+
<i class="mec-sl-phone"></i>
|
654 |
+
<h6><?php _e('Phone', 'mec-single-builder'); ?></h6>
|
655 |
+
<a href="tel:<?php echo $organizer['tel']; ?>"><?php echo $organizer['tel']; ?></a>
|
656 |
+
</dd>
|
657 |
+
<?php endif;
|
658 |
+
if(isset($organizer['email']) && !empty($organizer['email'])): ?>
|
659 |
+
<dd class="mec-organizer-email">
|
660 |
+
<i class="mec-sl-envelope"></i>
|
661 |
+
<h6><?php _e('Email', 'mec-single-builder'); ?></h6>
|
662 |
+
<a href="mailto:<?php echo $organizer['email']; ?>"><?php echo $organizer['email']; ?></a>
|
663 |
+
</dd>
|
664 |
+
<?php endif;
|
665 |
+
if(isset($organizer['url']) && !empty($organizer['url']) and $organizer['url'] != 'http://'): ?>
|
666 |
+
<dd class="mec-organizer-url">
|
667 |
+
<i class="mec-sl-sitemap"></i>
|
668 |
+
<h6><?php _e('Website', 'mec-single-builder'); ?></h6>
|
669 |
+
<span><a href="<?php echo (strpos($organizer['url'], 'http') === false ? 'http://'.$organizer['url'] : $organizer['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $organizer['url']; ?></a></span>
|
670 |
+
</dd>
|
671 |
+
<?php endif; ?>
|
672 |
+
</div>
|
673 |
+
<?php
|
674 |
+
echo '</div>';
|
675 |
+
}
|
676 |
+
}
|
677 |
+
|
678 |
/**
|
679 |
* @param object $event
|
680 |
* @return void
|
765 |
* @param object $event
|
766 |
* @return void
|
767 |
*/
|
768 |
+
public function display_hourly_schedules_widget($event)
|
769 |
{
|
770 |
if(isset($event->data->hourly_schedules) and is_array($event->data->hourly_schedules) and count($event->data->hourly_schedules)):
|
771 |
|
app/skins/single/builder.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
/** no direct access **/
|
3 |
defined('MECEXEC') or die();
|
4 |
-
|
|
|
|
|
5 |
do_action( 'mec_esb_content' , $event );
|
1 |
<?php
|
2 |
/** no direct access **/
|
3 |
defined('MECEXEC') or die();
|
4 |
+
if ( Elementor\Plugin::$instance->editor->is_edit_mode() || Elementor\Plugin::$instance->preview->is_preview_mode() ) {
|
5 |
+
the_content();
|
6 |
+
}
|
7 |
do_action( 'mec_esb_content' , $event );
|
app/skins/single/default.php
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
/** no direct access **/
|
3 |
defined('MECEXEC') or die();
|
4 |
$single = new MEC_skin_single();
|
|
|
|
|
5 |
?>
|
6 |
<div class="mec-wrap <?php echo $event_colorskin; ?> clearfix <?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->uniqueid; ?>">
|
7 |
<article class="row mec-single-event">
|
@@ -10,7 +12,7 @@ $single = new MEC_skin_single();
|
|
10 |
$breadcrumbs_settings = $settings['breadcrumbs'];
|
11 |
if($breadcrumbs_settings == '1' ): ?>
|
12 |
<div class="mec-breadcrumbs">
|
13 |
-
<?php $single->
|
14 |
</div>
|
15 |
<?php endif ;?>
|
16 |
<!-- end breadcrumbs -->
|
@@ -33,7 +35,7 @@ $single = new MEC_skin_single();
|
|
33 |
<?php endif; ?>
|
34 |
|
35 |
<!-- Hourly Schedule -->
|
36 |
-
<?php $this->
|
37 |
|
38 |
<!-- Booking Module -->
|
39 |
<?php if($this->main->is_sold($event, (trim($occurrence) ? $occurrence : $event->date['start']['date'])) and count($event->dates) <= 1): ?>
|
@@ -518,4 +520,11 @@ if(!empty($event->data->speakers))
|
|
518 |
"name" : "<?php esc_html_e(get_the_title()); ?>",
|
519 |
"url" : "<?php the_permalink(); ?>"
|
520 |
}
|
521 |
-
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/** no direct access **/
|
3 |
defined('MECEXEC') or die();
|
4 |
$single = new MEC_skin_single();
|
5 |
+
wp_enqueue_style('mec-lity-style', $this->main->asset('packages/lity/lity.min.css'));
|
6 |
+
wp_enqueue_script('mec-lity-script', $this->main->asset('packages/lity/lity.min.js'));
|
7 |
?>
|
8 |
<div class="mec-wrap <?php echo $event_colorskin; ?> clearfix <?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->uniqueid; ?>">
|
9 |
<article class="row mec-single-event">
|
12 |
$breadcrumbs_settings = $settings['breadcrumbs'];
|
13 |
if($breadcrumbs_settings == '1' ): ?>
|
14 |
<div class="mec-breadcrumbs">
|
15 |
+
<?php $single->display_breadcrumb_widget( get_the_ID() ); ?>
|
16 |
</div>
|
17 |
<?php endif ;?>
|
18 |
<!-- end breadcrumbs -->
|
35 |
<?php endif; ?>
|
36 |
|
37 |
<!-- Hourly Schedule -->
|
38 |
+
<?php $this->display_hourly_schedules_widget($event); ?>
|
39 |
|
40 |
<!-- Booking Module -->
|
41 |
<?php if($this->main->is_sold($event, (trim($occurrence) ? $occurrence : $event->date['start']['date'])) and count($event->dates) <= 1): ?>
|
520 |
"name" : "<?php esc_html_e(get_the_title()); ?>",
|
521 |
"url" : "<?php the_permalink(); ?>"
|
522 |
}
|
523 |
+
</script>
|
524 |
+
<script>
|
525 |
+
jQuery( ".mec-speaker-avatar a" ).click(function(e) {
|
526 |
+
e.preventDefault();
|
527 |
+
var id = jQuery(this).attr('href');
|
528 |
+
lity(id);
|
529 |
+
});
|
530 |
+
</script>
|
app/skins/single/m1.php
CHANGED
@@ -197,6 +197,17 @@ defined('MECEXEC') or die();
|
|
197 |
|
198 |
</div>
|
199 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
<!-- Attendees List Module -->
|
201 |
<?php echo $this->main->module('attendees-list.details', array('event'=>$event)); ?>
|
202 |
|
@@ -229,7 +240,7 @@ defined('MECEXEC') or die();
|
|
229 |
<?php endif; ?>
|
230 |
|
231 |
<!-- Hourly Schedule -->
|
232 |
-
<?php $this->
|
233 |
|
234 |
<!-- Booking Module -->
|
235 |
<?php if($this->main->is_sold($event, (trim($occurrence) ? $occurrence : $event->date['start']['date'])) and count($event->dates) <= 1): ?>
|
@@ -246,4 +257,16 @@ defined('MECEXEC') or die();
|
|
246 |
</div>
|
247 |
</div>
|
248 |
</article>
|
249 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
|
198 |
</div>
|
199 |
|
200 |
+
<?php
|
201 |
+
|
202 |
+
if(!empty($this->main->module('speakers.details', array('event'=>$event)))) {
|
203 |
+
?>
|
204 |
+
<div class="mec-color-before mec-frontbox">
|
205 |
+
<?php echo $this->main->module('speakers.details', array('event'=>$event)); ?>
|
206 |
+
</div>
|
207 |
+
<?php
|
208 |
+
}
|
209 |
+
?>
|
210 |
+
|
211 |
<!-- Attendees List Module -->
|
212 |
<?php echo $this->main->module('attendees-list.details', array('event'=>$event)); ?>
|
213 |
|
240 |
<?php endif; ?>
|
241 |
|
242 |
<!-- Hourly Schedule -->
|
243 |
+
<?php $this->display_hourly_schedules_widget($event); ?>
|
244 |
|
245 |
<!-- Booking Module -->
|
246 |
<?php if($this->main->is_sold($event, (trim($occurrence) ? $occurrence : $event->date['start']['date'])) and count($event->dates) <= 1): ?>
|
257 |
</div>
|
258 |
</div>
|
259 |
</article>
|
260 |
+
</div>
|
261 |
+
<script>
|
262 |
+
jQuery( ".mec-speaker-avatar a" ).click(function(e) {
|
263 |
+
e.preventDefault();
|
264 |
+
var id = jQuery(this).attr('href');
|
265 |
+
var instance = lity(id);
|
266 |
+
jQuery(document).on('lity:close', function(event, instance) {
|
267 |
+
jQuery( ".mec-hourly-schedule-speaker-info" ).addClass('lity-hide');
|
268 |
+
});
|
269 |
+
});
|
270 |
+
|
271 |
+
|
272 |
+
</script>
|
app/skins/single/m2.php
CHANGED
@@ -167,7 +167,7 @@ defined('MECEXEC') or die();
|
|
167 |
<?php echo $this->main->module('export.details', array('event'=>$event)); ?>
|
168 |
|
169 |
<!-- Hourly Schedule -->
|
170 |
-
<?php $this->
|
171 |
|
172 |
<!-- Booking Module -->
|
173 |
<?php if($this->main->is_sold($event, (trim($occurrence) ? $occurrence : $event->date['start']['date'])) and count($event->dates) <= 1): ?>
|
@@ -184,4 +184,14 @@ defined('MECEXEC') or die();
|
|
184 |
</div>
|
185 |
</div>
|
186 |
</article>
|
187 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
<?php echo $this->main->module('export.details', array('event'=>$event)); ?>
|
168 |
|
169 |
<!-- Hourly Schedule -->
|
170 |
+
<?php $this->display_hourly_schedules_widget($event); ?>
|
171 |
|
172 |
<!-- Booking Module -->
|
173 |
<?php if($this->main->is_sold($event, (trim($occurrence) ? $occurrence : $event->date['start']['date'])) and count($event->dates) <= 1): ?>
|
184 |
</div>
|
185 |
</div>
|
186 |
</article>
|
187 |
+
</div>
|
188 |
+
<script>
|
189 |
+
jQuery( ".mec-speaker-avatar a" ).click(function(e) {
|
190 |
+
e.preventDefault();
|
191 |
+
var id = jQuery(this).attr('href');
|
192 |
+
var instance = lity(id);
|
193 |
+
jQuery(document).on('lity:close', function(event, instance) {
|
194 |
+
jQuery( ".mec-hourly-schedule-speaker-info" ).addClass('lity-hide');
|
195 |
+
});
|
196 |
+
});
|
197 |
+
</script>
|
app/skins/single/modern.php
CHANGED
@@ -10,7 +10,7 @@ defined('MECEXEC') or die();
|
|
10 |
if($breadcrumbs_settings == '1'):
|
11 |
$breadcrumbs = new MEC_skin_single; ?>
|
12 |
<div class="mec-breadcrumbs mec-breadcrumbs-modern">
|
13 |
-
<?php $breadcrumbs->
|
14 |
</div>
|
15 |
<?php endif ;?>
|
16 |
<!-- end breadcrumbs -->
|
@@ -249,7 +249,7 @@ defined('MECEXEC') or die();
|
|
249 |
<?php endif; ?>
|
250 |
|
251 |
<!-- Hourly Schedule -->
|
252 |
-
<?php $this->
|
253 |
|
254 |
<!-- Booking Module -->
|
255 |
<?php if($this->main->is_sold($event, (trim($occurrence) ? $occurrence : $event->date['start']['date'])) and count($event->dates) <= 1): ?>
|
@@ -313,4 +313,11 @@ if(!empty($event->data->speakers))
|
|
313 |
"name" : "<?php esc_html_e(get_the_title()); ?>",
|
314 |
"url" : "<?php the_permalink(); ?>"
|
315 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
316 |
</script>
|
10 |
if($breadcrumbs_settings == '1'):
|
11 |
$breadcrumbs = new MEC_skin_single; ?>
|
12 |
<div class="mec-breadcrumbs mec-breadcrumbs-modern">
|
13 |
+
<?php $breadcrumbs->display_breadcrumb_widget(get_the_ID()); ?>
|
14 |
</div>
|
15 |
<?php endif ;?>
|
16 |
<!-- end breadcrumbs -->
|
249 |
<?php endif; ?>
|
250 |
|
251 |
<!-- Hourly Schedule -->
|
252 |
+
<?php $this->display_hourly_schedules_widget($event); ?>
|
253 |
|
254 |
<!-- Booking Module -->
|
255 |
<?php if($this->main->is_sold($event, (trim($occurrence) ? $occurrence : $event->date['start']['date'])) and count($event->dates) <= 1): ?>
|
313 |
"name" : "<?php esc_html_e(get_the_title()); ?>",
|
314 |
"url" : "<?php the_permalink(); ?>"
|
315 |
}
|
316 |
+
</script>
|
317 |
+
<script>
|
318 |
+
jQuery( ".mec-speaker-avatar a" ).click(function(e) {
|
319 |
+
e.preventDefault();
|
320 |
+
var id = jQuery(this).attr('href');
|
321 |
+
lity(id);
|
322 |
+
});
|
323 |
</script>
|
app/skins/slider/tpl.php
CHANGED
@@ -30,6 +30,7 @@ jQuery(document).ready(function()
|
|
30 |
// Include javascript code into the page
|
31 |
if($this->main->is_ajax()) echo $javascript;
|
32 |
else $this->factory->params('footer', $javascript);
|
|
|
33 |
?>
|
34 |
<div class="mec-wrap mec-skin-slider-container<?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
35 |
|
30 |
// Include javascript code into the page
|
31 |
if($this->main->is_ajax()) echo $javascript;
|
32 |
else $this->factory->params('footer', $javascript);
|
33 |
+
do_action('mec_slider_skin_head');
|
34 |
?>
|
35 |
<div class="mec-wrap mec-skin-slider-container<?php echo $this->html_class; ?>" id="mec_skin_<?php echo $this->id; ?>">
|
36 |
|
app/skins/timetable/tpl.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/** no direct access **/
|
3 |
defined('MECEXEC') or die();
|
4 |
-
|
5 |
if($this->style == 'clean') include MEC::import('app.skins.timetable.clean', true, true);
|
6 |
else include MEC::import('app.skins.timetable.modern', true, true);
|
1 |
<?php
|
2 |
/** no direct access **/
|
3 |
defined('MECEXEC') or die();
|
4 |
+
do_action('mec_timetable_skin_head');
|
5 |
if($this->style == 'clean') include MEC::import('app.skins.timetable.clean', true, true);
|
6 |
else include MEC::import('app.skins.timetable.modern', true, true);
|
app/skins/weekly_view/tpl.php
CHANGED
@@ -120,6 +120,7 @@ else $this->factory->params('footer', $javascript);
|
|
120 |
|
121 |
$styling = $this->main->get_styling();
|
122 |
$event_colorskin = (isset($styling['mec_colorskin'] ) || isset($styling['color'])) ? 'colorskin-custom' : '';
|
|
|
123 |
?>
|
124 |
<div id="mec_skin_<?php echo $this->id; ?>" class="mec-wrap <?php echo $event_colorskin . ' ' . $this->html_class; ?>">
|
125 |
|
120 |
|
121 |
$styling = $this->main->get_styling();
|
122 |
$event_colorskin = (isset($styling['mec_colorskin'] ) || isset($styling['color'])) ? 'colorskin-custom' : '';
|
123 |
+
do_action('mec_weekly_skin_head');
|
124 |
?>
|
125 |
<div id="mec_skin_<?php echo $this->id; ?>" class="mec-wrap <?php echo $event_colorskin . ' ' . $this->html_class; ?>">
|
126 |
|
app/skins/yearly_view/tpl.php
CHANGED
@@ -86,6 +86,7 @@ else $this->factory->params('footer', $javascript);
|
|
86 |
|
87 |
$styling = $this->main->get_styling();
|
88 |
$event_colorskin = (isset($styling['mec_colorskin'] ) || isset($styling['color'])) ? 'colorskin-custom' : '';
|
|
|
89 |
?>
|
90 |
<div id="mec_skin_<?php echo $this->id; ?>" class="mec-wrap <?php echo $this->html_class; ?>">
|
91 |
|
86 |
|
87 |
$styling = $this->main->get_styling();
|
88 |
$event_colorskin = (isset($styling['mec_colorskin'] ) || isset($styling['color'])) ? 'colorskin-custom' : '';
|
89 |
+
do_action('mec_yearly_skin_head');
|
90 |
?>
|
91 |
<div id="mec_skin_<?php echo $this->id; ?>" class="mec-wrap <?php echo $this->html_class; ?>">
|
92 |
|
assets/css/backend.css
CHANGED
@@ -1,1463 +1,4432 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
379 |
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
380 |
* Copyright 2011-2016 Twitter, Inc.
|
381 |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
382 |
*/
|
383 |
-
#webnus-dashboard button,#webnus-dashboard input,#webnus-dashboard select,#webnus-dashboard textarea{font-family:inherit;font-size:inherit;line-height:inherit}#webnus-dashboard a{color:#337ab7;text-decoration:none}#webnus-dashboard a:focus,#webnus-dashboard a:hover{color:#23527c;}#webnus-dashboard a:focus{outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}#webnus-dashboard figure{margin:0}#webnus-dashboard img{vertical-align:middle}.w-img-responsive{display:block;max-width:100%;height:auto}.w-img-rounded{border-radius:6px}.w-img-thumbnail{padding:4px;line-height:1w-42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all 0w-2s ease-in-out;-o-transition:all 0w-2s ease-in-out;transition:all 0w-2s ease-in-out;display:inline-block;max-width:100%;height:auto}.w-img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.w-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.w-sr-only-focusable:active,.w-sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.w-container,.w-container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}[role=button]{cursor:pointer}@media (min-width:768px){.w-container{width:750px}}@media (min-width:992px){.w-container{width:970px}}@media (min-width:1200px){.w-container{width:1170px}}.w-row{margin-left:-15px;margin-right:-15px}.w-col-lg-1,.w-col-lg-10,.w-col-lg-11,.w-col-lg-12,.w-col-lg-2,.w-col-lg-3,.w-col-lg-4,.w-col-lg-5,.w-col-lg-6,.w-col-lg-7,.w-col-lg-8,.w-col-lg-9,.w-col-md-1,.w-col-md-10,.w-col-md-11,.w-col-md-12,.w-col-md-2,.w-col-md-3,.w-col-md-4,.w-col-md-5,.w-col-md-6,.w-col-md-7,.w-col-md-8,.w-col-md-9,.w-col-sm-1,.w-col-sm-10,.w-col-sm-11,.w-col-sm-12,.w-col-sm-2,.w-col-sm-3,.w-col-sm-4,.w-col-sm-5,.w-col-sm-6,.w-col-sm-7,.w-col-sm-8,.w-col-sm-9,.w-col-xs-1,.w-col-xs-10,.w-col-xs-11,.w-col-xs-12,.w-col-xs-2,.w-col-xs-3,.w-col-xs-4,.w-col-xs-5,.w-col-xs-6,.w-col-xs-7,.w-col-xs-8,.w-col-xs-9{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.w-col-xs-1,.w-col-xs-10,.w-col-xs-11,.w-col-xs-12,.w-col-xs-2,.w-col-xs-3,.w-col-xs-4,.w-col-xs-5,.w-col-xs-6,.w-col-xs-7,.w-col-xs-8,.w-col-xs-9{float:left}.w-col-xs-12{width:100%}.w-col-xs-11{width:91.66666667%}.w-col-xs-10{width:83.33333333%}.w-col-xs-9{width:75%}.w-col-xs-8{width:66.66666667%}.w-col-xs-7{width:58.33333333%}.w-col-xs-6{width:50%}.w-col-xs-5{width:41.66666667%}.w-col-xs-4{width:33.33333333%}.w-col-xs-3{width:25%}.w-col-xs-2{width:16.66666667%}.w-col-xs-1{width:8w-33333333%}.w-col-xs-pull-12{right:100%}.w-col-xs-pull-11{right:91.66666667%}.w-col-xs-pull-10{right:83.33333333%}.w-col-xs-pull-9{right:75%}.w-col-xs-pull-8{right:66.66666667%}.w-col-xs-pull-7{right:58.33333333%}.w-col-xs-pull-6{right:50%}.w-col-xs-pull-5{right:41.66666667%}.w-col-xs-pull-4{right:33.33333333%}.w-col-xs-pull-3{right:25%}.w-col-xs-pull-2{right:16.66666667%}.w-col-xs-pull-1{right:8w-33333333%}.w-col-xs-pull-0{right:auto}.w-col-xs-push-12{left:100%}.w-col-xs-push-11{left:91.66666667%}.w-col-xs-push-10{left:83.33333333%}.w-col-xs-push-9{left:75%}.w-col-xs-push-8{left:66.66666667%}.w-col-xs-push-7{left:58.33333333%}.w-col-xs-push-6{left:50%}.w-col-xs-push-5{left:41.66666667%}.w-col-xs-push-4{left:33.33333333%}.w-col-xs-push-3{left:25%}.w-col-xs-push-2{left:16.66666667%}.w-col-xs-push-1{left:8w-33333333%}.w-col-xs-push-0{left:auto}.w-col-xs-offset-12{margin-left:100%}.w-col-xs-offset-11{margin-left:91.66666667%}.w-col-xs-offset-10{margin-left:83.33333333%}.w-col-xs-offset-9{margin-left:75%}.w-col-xs-offset-8{margin-left:66.66666667%}.w-col-xs-offset-7{margin-left:58.33333333%}.w-col-xs-offset-6{margin-left:50%}.w-col-xs-offset-5{margin-left:41.66666667%}.w-col-xs-offset-4{margin-left:33.33333333%}.w-col-xs-offset-3{margin-left:25%}.w-col-xs-offset-2{margin-left:16.66666667%}.w-col-xs-offset-1{margin-left:8w-33333333%}.w-col-xs-offset-0{margin-left:0}@media (min-width:768px){.w-col-sm-1,.w-col-sm-10,.w-col-sm-11,.w-col-sm-12,.w-col-sm-2,.w-col-sm-3,.w-col-sm-4,.w-col-sm-5,.w-col-sm-6,.w-col-sm-7,.w-col-sm-8,.w-col-sm-9{float:left}.w-col-sm-12{width:100%}.w-col-sm-11{width:91.66666667%}.w-col-sm-10{width:83.33333333%}.w-col-sm-9{width:75%}.w-col-sm-8{width:66.66666667%}.w-col-sm-7{width:58.33333333%}.w-col-sm-6{width:50%}.w-col-sm-5{width:41.66666667%}.w-col-sm-4{width:33.33333333%}.w-col-sm-3{width:25%}.w-col-sm-2{width:16.66666667%}.w-col-sm-1{width:8w-33333333%}.w-col-sm-pull-12{right:100%}.w-col-sm-pull-11{right:91.66666667%}.w-col-sm-pull-10{right:83.33333333%}.w-col-sm-pull-9{right:75%}.w-col-sm-pull-8{right:66.66666667%}.w-col-sm-pull-7{right:58.33333333%}.w-col-sm-pull-6{right:50%}.w-col-sm-pull-5{right:41.66666667%}.w-col-sm-pull-4{right:33.33333333%}.w-col-sm-pull-3{right:25%}.w-col-sm-pull-2{right:16.66666667%}.w-col-sm-pull-1{right:8w-33333333%}.w-col-sm-pull-0{right:auto}.w-col-sm-push-12{left:100%}.w-col-sm-push-11{left:91.66666667%}.w-col-sm-push-10{left:83.33333333%}.w-col-sm-push-9{left:75%}.w-col-sm-push-8{left:66.66666667%}.w-col-sm-push-7{left:58.33333333%}.w-col-sm-push-6{left:50%}.w-col-sm-push-5{left:41.66666667%}.w-col-sm-push-4{left:33.33333333%}.w-col-sm-push-3{left:25%}.w-col-sm-push-2{left:16.66666667%}.w-col-sm-push-1{left:8w-33333333%}.w-col-sm-push-0{left:auto}.w-col-sm-offset-12{margin-left:100%}.w-col-sm-offset-11{margin-left:91.66666667%}.w-col-sm-offset-10{margin-left:83.33333333%}.w-col-sm-offset-9{margin-left:75%}.w-col-sm-offset-8{margin-left:66.66666667%}.w-col-sm-offset-7{margin-left:58.33333333%}.w-col-sm-offset-6{margin-left:50%}.w-col-sm-offset-5{margin-left:41.66666667%}.w-col-sm-offset-4{margin-left:33.33333333%}.w-col-sm-offset-3{margin-left:25%}.w-col-sm-offset-2{margin-left:16.66666667%}.w-col-sm-offset-1{margin-left:8w-33333333%}.w-col-sm-offset-0{margin-left:0}}@media (min-width:992px){.w-col-md-1,.w-col-md-10,.w-col-md-11,.w-col-md-12,.w-col-md-2,.w-col-md-3,.w-col-md-4,.w-col-md-5,.w-col-md-6,.w-col-md-7,.w-col-md-8,.w-col-md-9{float:left}.w-col-md-12{width:100%}.w-col-md-11{width:91.66666667%}.w-col-md-10{width:83.33333333%}.w-col-md-9{width:75%}.w-col-md-8{width:66.66666667%}.w-col-md-7{width:58.33333333%}.w-col-md-6{width:50%}.w-col-md-5{width:41.66666667%}.w-col-md-4{width:33.33333333%}.w-col-md-3{width:25%}.w-col-md-2{width:16.66666667%}.w-col-md-1{width:8w-33333333%}.w-col-md-pull-12{right:100%}.w-col-md-pull-11{right:91.66666667%}.w-col-md-pull-10{right:83.33333333%}.w-col-md-pull-9{right:75%}.w-col-md-pull-8{right:66.66666667%}.w-col-md-pull-7{right:58.33333333%}.w-col-md-pull-6{right:50%}.w-col-md-pull-5{right:41.66666667%}.w-col-md-pull-4{right:33.33333333%}.w-col-md-pull-3{right:25%}.w-col-md-pull-2{right:16.66666667%}.w-col-md-pull-1{right:8w-33333333%}.w-col-md-pull-0{right:auto}.w-col-md-push-12{left:100%}.w-col-md-push-11{left:91.66666667%}.w-col-md-push-10{left:83.33333333%}.w-col-md-push-9{left:75%}.w-col-md-push-8{left:66.66666667%}.w-col-md-push-7{left:58.33333333%}.w-col-md-push-6{left:50%}.w-col-md-push-5{left:41.66666667%}.w-col-md-push-4{left:33.33333333%}.w-col-md-push-3{left:25%}.w-col-md-push-2{left:16.66666667%}.w-col-md-push-1{left:8w-33333333%}.w-col-md-push-0{left:auto}.w-col-md-offset-12{margin-left:100%}.w-col-md-offset-11{margin-left:91.66666667%}.w-col-md-offset-10{margin-left:83.33333333%}.w-col-md-offset-9{margin-left:75%}.w-col-md-offset-8{margin-left:66.66666667%}.w-col-md-offset-7{margin-left:58.33333333%}.w-col-md-offset-6{margin-left:50%}.w-col-md-offset-5{margin-left:41.66666667%}.w-col-md-offset-4{margin-left:33.33333333%}.w-col-md-offset-3{margin-left:25%}.w-col-md-offset-2{margin-left:16.66666667%}.w-col-md-offset-1{margin-left:8w-33333333%}.w-col-md-offset-0{margin-left:0}}@media (min-width:1200px){.w-col-lg-1,.w-col-lg-10,.w-col-lg-11,.w-col-lg-12,.w-col-lg-2,.w-col-lg-3,.w-col-lg-4,.w-col-lg-5,.w-col-lg-6,.w-col-lg-7,.w-col-lg-8,.w-col-lg-9{float:left}.w-col-lg-12{width:100%}.w-col-lg-11{width:91.66666667%}.w-col-lg-10{width:83.33333333%}.w-col-lg-9{width:75%}.w-col-lg-8{width:66.66666667%}.w-col-lg-7{width:58.33333333%}.w-col-lg-6{width:50%}.w-col-lg-5{width:41.66666667%}.w-col-lg-4{width:33.33333333%}.w-col-lg-3{width:25%}.w-col-lg-2{width:16.66666667%}.w-col-lg-1{width:8w-33333333%}.w-col-lg-pull-12{right:100%}.w-col-lg-pull-11{right:91.66666667%}.w-col-lg-pull-10{right:83.33333333%}.w-col-lg-pull-9{right:75%}.w-col-lg-pull-8{right:66.66666667%}.w-col-lg-pull-7{right:58.33333333%}.w-col-lg-pull-6{right:50%}.w-col-lg-pull-5{right:41.66666667%}.w-col-lg-pull-4{right:33.33333333%}.w-col-lg-pull-3{right:25%}.w-col-lg-pull-2{right:16.66666667%}.w-col-lg-pull-1{right:8w-33333333%}.w-col-lg-pull-0{right:auto}.w-col-lg-push-12{left:100%}.w-col-lg-push-11{left:91.66666667%}.w-col-lg-push-10{left:83.33333333%}.w-col-lg-push-9{left:75%}.w-col-lg-push-8{left:66.66666667%}.w-col-lg-push-7{left:58.33333333%}.w-col-lg-push-6{left:50%}.w-col-lg-push-5{left:41.66666667%}.w-col-lg-push-4{left:33.33333333%}.w-col-lg-push-3{left:25%}.w-col-lg-push-2{left:16.66666667%}.w-col-lg-push-1{left:8w-33333333%}.w-col-lg-push-0{left:auto}.w-col-lg-offset-12{margin-left:100%}.w-col-lg-offset-11{margin-left:91.66666667%}.w-col-lg-offset-10{margin-left:83.33333333%}.w-col-lg-offset-9{margin-left:75%}.w-col-lg-offset-8{margin-left:66.66666667%}.w-col-lg-offset-7{margin-left:58.33333333%}.w-col-lg-offset-6{margin-left:50%}.w-col-lg-offset-5{margin-left:41.66666667%}.w-col-lg-offset-4{margin-left:33.33333333%}.w-col-lg-offset-3{margin-left:25%}.w-col-lg-offset-2{margin-left:16.66666667%}.w-col-lg-offset-1{margin-left:8w-33333333%}.w-col-lg-offset-0{margin-left:0}}.w-clearfix:after,.w-clearfix:before,.w-container-fluid:after,.w-container-fluid:before,.w-container:after,.w-container:before,.w-row:after,.w-row:before{content:" ";display:table}.w-clearfix:after,.w-container-fluid:after,.w-container:after,.w-row:after{clear:both}.w-center-block{display:block;margin-left:auto;margin-right:auto}.w-pull-right{float:right!important}.w-pull-left{float:left!important}.w-hide{display:none!important}.w-show{display:block!important}.w-invisible{visibility:hidden}.w-text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.w-hidden{display:none!important}.w-affix{position:fixed}
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
|
823 |
-
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
-
|
830 |
-
|
831 |
-
|
832 |
-
|
833 |
-
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
-
|
941 |
-
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
961 |
-
|
962 |
-
|
963 |
-
|
964 |
-
|
965 |
-
|
966 |
-
|
967 |
-
|
968 |
-
|
969 |
-
|
970 |
-
|
971 |
-
|
972 |
-
|
973 |
-
|
974 |
-
|
975 |
-
|
976 |
-
|
977 |
-
|
978 |
-
|
979 |
-
|
980 |
-
|
981 |
-
|
982 |
-
|
983 |
-
|
984 |
-
|
985 |
-
|
986 |
-
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
-
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
|
999 |
-
|
1000 |
-
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
-
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
|
1027 |
-
|
1028 |
-
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
-
|
1060 |
-
|
1061 |
-
|
1062 |
-
|
1063 |
-
|
1064 |
-
|
1065 |
-
|
1066 |
-
|
1067 |
-
|
1068 |
-
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
1072 |
-
|
1073 |
-
|
1074 |
-
|
1075 |
-
|
1076 |
-
|
1077 |
-
|
1078 |
-
|
1079 |
-
|
1080 |
-
|
1081 |
-
|
1082 |
-
|
1083 |
-
|
1084 |
-
|
1085 |
-
|
1086 |
-
|
1087 |
-
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
1104 |
-
|
1105 |
-
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
-
|
1137 |
-
|
1138 |
-
|
1139 |
-
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
-
|
1159 |
-
|
1160 |
-
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
-
|
1179 |
-
|
1180 |
-
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
1187 |
-
|
1188 |
-
|
1189 |
-
|
1190 |
-
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
|
1212 |
-
|
1213 |
-
|
1214 |
-
|
1215 |
-
|
1216 |
-
|
1217 |
-
|
1218 |
-
|
1219 |
-
|
1220 |
-
|
1221 |
-
|
1222 |
-
|
1223 |
-
|
1224 |
-
|
1225 |
-
|
1226 |
-
|
1227 |
-
|
1228 |
-
|
1229 |
-
|
1230 |
-
|
1231 |
-
|
1232 |
-
|
1233 |
-
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
|
1347 |
-
|
1348 |
-
|
1349 |
-
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
1409 |
-
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
1439 |
-
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
1449 |
-
|
1450 |
-
|
1451 |
-
|
1452 |
-
|
1453 |
-
|
1454 |
-
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
1461 |
-
|
1462 |
-
|
1463 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#mec_location_thumbnail_img img,#mec_organizer_thumbnail_img img,#mec_thumbnail_img img {
|
2 |
+
max-width: 250px
|
3 |
+
}
|
4 |
+
|
5 |
+
.taxonomy-mec_label .column-id,.taxonomy-mec_location .column-id,.taxonomy-mec_organizer .column-id,.taxonomy-mec_speaker .column-id {
|
6 |
+
width: 40px
|
7 |
+
}
|
8 |
+
|
9 |
+
.taxonomy-mec_label .column-primary,.taxonomy-mec_location .column-primary,.taxonomy-mec_organizer .column-primary,.taxonomy-mec_speaker .column-primary {
|
10 |
+
width: 250px
|
11 |
+
}
|
12 |
+
|
13 |
+
.mec-color {
|
14 |
+
margin: 10px;
|
15 |
+
width: 14px;
|
16 |
+
height: 14px;
|
17 |
+
display: inline-block;
|
18 |
+
margin-right: 6px;
|
19 |
+
border-radius: 20px 20px 20px 20px;
|
20 |
+
vertical-align: middle
|
21 |
+
}
|
22 |
+
|
23 |
+
.mec-event-color-container,.mec-event-title-container {
|
24 |
+
display: inline-block
|
25 |
+
}
|
26 |
+
|
27 |
+
.mec-available-color-row {
|
28 |
+
margin-top: 15px
|
29 |
+
}
|
30 |
+
|
31 |
+
.mec-available-color-row .mec-color {
|
32 |
+
cursor: pointer
|
33 |
+
}
|
34 |
+
|
35 |
+
.mec-widget-container a {
|
36 |
+
text-decoration: none
|
37 |
+
}
|
38 |
+
|
39 |
+
.mec-widget-container label {
|
40 |
+
padding-right: 15px
|
41 |
+
}
|
42 |
+
|
43 |
+
.mec-util-hidden {
|
44 |
+
display: none
|
45 |
+
}
|
46 |
+
|
47 |
+
.button.mec-util-hidden {
|
48 |
+
display: none
|
49 |
+
}
|
50 |
+
|
51 |
+
.wns-be-container {
|
52 |
+
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Oxygen,Roboto,sans-serif;
|
53 |
+
max-width: 100%;
|
54 |
+
background-color: #f6f6f6;
|
55 |
+
border: 1px solid #c1cad2;
|
56 |
+
box-shadow: 0 1px 1px rgba(0,0,0,.04);
|
57 |
+
margin-top: 5px;
|
58 |
+
margin-right: 15px;
|
59 |
+
overflow: hidden
|
60 |
+
}
|
61 |
+
|
62 |
+
.wns-be-sidebar {
|
63 |
+
width: 260px;
|
64 |
+
float: left;
|
65 |
+
position: relative
|
66 |
+
}
|
67 |
+
|
68 |
+
.wns-be-sidebar ul.wns-be-group-menu,.wns-be-sidebar ul.wns-be-group-menu li {
|
69 |
+
list-style: none;
|
70 |
+
margin: 0
|
71 |
+
}
|
72 |
+
|
73 |
+
.wns-be-sidebar .wns-be-group-menu li a {
|
74 |
+
display: block;
|
75 |
+
position: relative;
|
76 |
+
outline: 0;
|
77 |
+
padding: 13px 4px 13px 20px;
|
78 |
+
background: #e0e0e0;
|
79 |
+
background: 0 0;
|
80 |
+
border: none;
|
81 |
+
color: #3f454a;
|
82 |
+
font-size: 13px;
|
83 |
+
font-weight: 600;
|
84 |
+
text-decoration: none;
|
85 |
+
-webkit-transition: none;
|
86 |
+
transition: none
|
87 |
+
}
|
88 |
+
|
89 |
+
.wns-be-sidebar .wns-be-group-menu li a:hover {
|
90 |
+
background: #fff;
|
91 |
+
color: #008aff;
|
92 |
+
opacity: 1
|
93 |
+
}
|
94 |
+
|
95 |
+
.wns-be-sidebar .wns-be-group-menu>li.active>a,.wns-be-sidebar .wns-be-group-menu>li.active>a:hover {
|
96 |
+
background: #008aff;
|
97 |
+
background: linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);
|
98 |
+
color: #fff
|
99 |
+
}
|
100 |
+
|
101 |
+
.wns-be-sidebar .wns-be-group-menu>li.active>a {
|
102 |
+
box-shadow: 0 2px 12px -5px #008aff
|
103 |
+
}
|
104 |
+
|
105 |
+
.wns-be-sidebar .wns-be-group-menu li a:first-child {
|
106 |
+
border-top: none
|
107 |
+
}
|
108 |
+
|
109 |
+
.wns-be-main {
|
110 |
+
background: #fff;
|
111 |
+
margin-left: 260px;
|
112 |
+
border-left: 1px solid #dedede;
|
113 |
+
padding-bottom: 84px;
|
114 |
+
box-shadow: inset 0 1px 0 #fff;
|
115 |
+
min-height: 1120px;
|
116 |
+
position: relative
|
117 |
+
}
|
118 |
+
|
119 |
+
.wns-be-main .wns-saved-settings {
|
120 |
+
margin: 0;
|
121 |
+
border-bottom: 1px solid #dedede;
|
122 |
+
background: #dff0d8;
|
123 |
+
color: #468847;
|
124 |
+
padding: 8px 35px 8px 14px;
|
125 |
+
text-shadow: 0 1px 0 rgba(255,255,255,.6)
|
126 |
+
}
|
127 |
+
|
128 |
+
.wns-be-container .dpr-btn {
|
129 |
+
display: inline-block;
|
130 |
+
font-size: 13px;
|
131 |
+
padding: 0 16px 1px;
|
132 |
+
height: 36px;
|
133 |
+
margin-right: 3px;
|
134 |
+
line-height: 35px;
|
135 |
+
color: #555;
|
136 |
+
border: 1px solid #ccc;
|
137 |
+
background: #f7f7f7;
|
138 |
+
text-decoration: none;
|
139 |
+
transition: .24s all ease;
|
140 |
+
-webkit-transition: .24s all ease
|
141 |
+
}
|
142 |
+
|
143 |
+
.wns-be-container .dpr-btn:hover {
|
144 |
+
background: #fcfcfc;
|
145 |
+
border-color: #999;
|
146 |
+
color: #303030
|
147 |
+
}
|
148 |
+
|
149 |
+
.wns-be-container .dpr-btn.dpr-save-btn {
|
150 |
+
color: #fff;
|
151 |
+
font-weight: 500;
|
152 |
+
border-radius: 2px;
|
153 |
+
box-shadow: 0 3px 10px -4px #008aff;
|
154 |
+
text-shadow: none;
|
155 |
+
background: #008aff;
|
156 |
+
background: linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);
|
157 |
+
border: none;
|
158 |
+
transition: .24s
|
159 |
+
}
|
160 |
+
|
161 |
+
.wns-be-container .dpr-btn.dpr-save-btn:hover {
|
162 |
+
background: #222;
|
163 |
+
background: linear-gradient(95deg,#555 0,#222 50%,#000 100%);
|
164 |
+
box-shadow: 0 5px 23px -7px rgba(0,0,0,.5);
|
165 |
+
cursor: pointer
|
166 |
+
}
|
167 |
+
|
168 |
+
.wns-be-container .wns-be-group-tab h2,.wns-be-container .wns-be-group-tab h4 {
|
169 |
+
color: #000;
|
170 |
+
margin-bottom: 25px;
|
171 |
+
padding: 15px;
|
172 |
+
background: #f5f5f5;
|
173 |
+
font-size: 21px;
|
174 |
+
line-height: 23px;
|
175 |
+
letter-spacing: .4px;
|
176 |
+
font-weight: 700;
|
177 |
+
position: relative
|
178 |
+
}
|
179 |
+
|
180 |
+
.wns-be-container .wns-be-group-tab h2 {
|
181 |
+
margin-top: 10px
|
182 |
+
}
|
183 |
+
|
184 |
+
.wns-be-container .wns-be-group-tab h2:before,.wns-be-container .wns-be-group-tab h4:before {
|
185 |
+
content: "";
|
186 |
+
width: 4px;
|
187 |
+
height: 16px;
|
188 |
+
margin-right: 5px;
|
189 |
+
background-color: #008aff;
|
190 |
+
display: block;
|
191 |
+
position: absolute;
|
192 |
+
left: 0;
|
193 |
+
top: 18px
|
194 |
+
}
|
195 |
+
|
196 |
+
.wns-be-container .wns-be-group-tab h4:before {
|
197 |
+
width: 2px;
|
198 |
+
top: 16px
|
199 |
+
}
|
200 |
+
|
201 |
+
.wns-be-container .wns-be-group-tab h4 {
|
202 |
+
font-size: 16px;
|
203 |
+
font-weight: 600;
|
204 |
+
background: #f8f8f8;
|
205 |
+
border: none;
|
206 |
+
padding: 12px 15px 12px 15px
|
207 |
+
}
|
208 |
+
|
209 |
+
.wns-be-container .wns-be-group-tab p {
|
210 |
+
font-size: 13px;
|
211 |
+
color: #888
|
212 |
+
}
|
213 |
+
|
214 |
+
.wns-be-sidebar .wns-be-group-tab-link-a:hover {
|
215 |
+
cursor: pointer
|
216 |
+
}
|
217 |
+
|
218 |
+
.wns-be-sidebar .wns-be-group-tab-link-a span {
|
219 |
+
display: block
|
220 |
+
}
|
221 |
+
|
222 |
+
.wns-be-sidebar .wns-be-group-tab-link-a span.wns-be-group-menu-title {
|
223 |
+
padding-left: 24px
|
224 |
+
}
|
225 |
+
|
226 |
+
.wns-be-sidebar li.active ul.subsection {
|
227 |
+
padding-top: 8px;
|
228 |
+
padding-bottom: 12px;
|
229 |
+
background: #fff;
|
230 |
+
border-bottom: 1px solid #dedede;
|
231 |
+
margin: 0
|
232 |
+
}
|
233 |
+
|
234 |
+
.wns-be-sidebar li .subsection a {
|
235 |
+
background: #fff;
|
236 |
+
color: #636363;
|
237 |
+
opacity: 1;
|
238 |
+
font-size: 12px;
|
239 |
+
padding: 6px 4px 6px 46px
|
240 |
+
}
|
241 |
+
|
242 |
+
.wns-be-sidebar li .subsection a:hover {
|
243 |
+
background: #f6f6f6;
|
244 |
+
color: #222
|
245 |
+
}
|
246 |
+
|
247 |
+
.wns-be-sidebar .wns-be-group-menu li .subsection li.active a {
|
248 |
+
color: #008aff
|
249 |
+
}
|
250 |
+
|
251 |
+
.wns-be-sidebar .wns-be-group-menu li .subsection li.active a:after,.wns-be-sidebar .wns-be-group-menu li .subsection li.active a:before {
|
252 |
+
position: absolute;
|
253 |
+
z-index: 999;
|
254 |
+
content: " ";
|
255 |
+
height: 0;
|
256 |
+
width: 0;
|
257 |
+
border: 7px solid transparent;
|
258 |
+
border-right-color: #fff;
|
259 |
+
right: -1px;
|
260 |
+
top: 10px
|
261 |
+
}
|
262 |
+
|
263 |
+
.wns-be-sidebar .wns-be-group-menu li .subsection li.active a:before {
|
264 |
+
border-right-color: #c5c5c5;
|
265 |
+
right: 0
|
266 |
+
}
|
267 |
+
|
268 |
+
.wns-be-sidebar li a i {
|
269 |
+
color: #a0abb5;
|
270 |
+
vertical-align: middle;
|
271 |
+
font-size: 16px;
|
272 |
+
position: absolute;
|
273 |
+
margin-top: 0
|
274 |
+
}
|
275 |
+
|
276 |
+
.wns-be-sidebar .wns-be-group-menu li.active>a i {
|
277 |
+
color: #fff
|
278 |
+
}
|
279 |
+
|
280 |
+
.wns-be-sidebar .has-sub span.extra-icon {
|
281 |
+
display: inline-block;
|
282 |
+
float: right;
|
283 |
+
padding: 4px 7px 4px;
|
284 |
+
margin-left: 4px;
|
285 |
+
margin-right: 10px;
|
286 |
+
font-family: sans-serif;
|
287 |
+
font-size: 9px;
|
288 |
+
font-weight: 600;
|
289 |
+
line-height: 9px;
|
290 |
+
border-radius: 10px;
|
291 |
+
-moz-border-radius: 10px;
|
292 |
+
-webkit-border-radius: 10px;
|
293 |
+
border: 0 solid transparent
|
294 |
+
}
|
295 |
+
|
296 |
+
.wns-be-sidebar .has-sub span.extra-icon i {
|
297 |
+
margin-left: -3px;
|
298 |
+
margin-top: 2px;
|
299 |
+
color: #bac6d0;
|
300 |
+
font-size: 10px
|
301 |
+
}
|
302 |
+
|
303 |
+
.wns-be-sidebar .wns-be-group-tab-link-a span.extra-icon i {
|
304 |
+
right: 10px;
|
305 |
+
font-size: 10px
|
306 |
+
}
|
307 |
+
|
308 |
+
.wns-be-sidebar .wns-be-group-menu li.active>a span.extra-icon i {
|
309 |
+
margin-top: 1px
|
310 |
+
}
|
311 |
+
|
312 |
+
.wns-be-container #wns-be-footer {
|
313 |
+
border-top: 1px solid #dedede;
|
314 |
+
z-index: 999;
|
315 |
+
padding: 25px 20px 20px;
|
316 |
+
background: #fafafa!important;
|
317 |
+
height: 44px;
|
318 |
+
text-align: right
|
319 |
+
}
|
320 |
+
|
321 |
+
.wns-be-container #wns-be-content {
|
322 |
+
padding: 5px 40px 40px
|
323 |
+
}
|
324 |
+
|
325 |
+
.wns-be-container #wns-be-infobar {
|
326 |
+
background: #fff;
|
327 |
+
border-bottom: 1px solid #dedede;
|
328 |
+
padding: 20px;
|
329 |
+
text-align: right;
|
330 |
+
box-shadow: inset 0 1px 0 #fcfcfc;
|
331 |
+
height: 79px;
|
332 |
+
box-sizing: border-box;
|
333 |
+
-moz-box-sizing: border-box;
|
334 |
+
-webkit-box-sizing: border-box;
|
335 |
+
position: relative
|
336 |
+
}
|
337 |
+
|
338 |
+
.wns-be-container #wns-be-infobar:before {
|
339 |
+
content: "";
|
340 |
+
width: 261px;
|
341 |
+
height: 78px;
|
342 |
+
display: block;
|
343 |
+
position: absolute;
|
344 |
+
left: 0;
|
345 |
+
top: 0;
|
346 |
+
background: #fff url(../img/webnus-logo.png) no-repeat center;
|
347 |
+
border-bottom: 1px solid #dedede;
|
348 |
+
background-size: 220px;
|
349 |
+
z-index: 997
|
350 |
+
}
|
351 |
+
|
352 |
+
.wns-be-container .notice-yellow {
|
353 |
+
margin: 0;
|
354 |
+
border-bottom: 1px solid #dedede;
|
355 |
+
background-color: #fcf8e3;
|
356 |
+
color: #c09853;
|
357 |
+
padding: 8px 35px 8px 14px;
|
358 |
+
text-shadow: 0 1px 0 rgba(255,255,255,.5)
|
359 |
+
}
|
360 |
+
|
361 |
+
.wns-be-container .notice-red,.wns-be-container .wns-be-field-errors {
|
362 |
+
margin: 0;
|
363 |
+
border-bottom: 1px solid #dedede;
|
364 |
+
background-color: #f2dede;
|
365 |
+
color: #b94a48;
|
366 |
+
padding: 8px 35px 8px 14px;
|
367 |
+
text-shadow: 0 1px 0 rgba(255,255,255,.5)
|
368 |
+
}
|
369 |
+
|
370 |
+
body.post-type-mec-events th.column-primary {
|
371 |
+
width: 35%
|
372 |
+
}
|
373 |
+
|
374 |
+
body.post-type-mec-events th.column-start_date {
|
375 |
+
width: 100px
|
376 |
+
}
|
377 |
+
|
378 |
+
body.post-type-mec-events th.column-end_date {
|
379 |
+
width: 100px
|
380 |
+
}
|
381 |
+
|
382 |
+
body.post-type-mec-events th.column-repeat {
|
383 |
+
width: 75px
|
384 |
+
}
|
385 |
+
|
386 |
+
body.post-type-mec-events th.column-author {
|
387 |
+
width: 150px
|
388 |
+
}
|
389 |
+
|
390 |
+
body.post-type-mec-books th.column-primary {
|
391 |
+
width: 20%
|
392 |
+
}
|
393 |
+
|
394 |
+
body.post-type-mec-books th.column-event {
|
395 |
+
width: 170px
|
396 |
+
}
|
397 |
+
|
398 |
+
body.post-type-mec-books th.column-bdate {
|
399 |
+
width: 120px
|
400 |
+
}
|
401 |
+
|
402 |
+
body.post-type-mec-books th.column-confirmation {
|
403 |
+
width: 120px
|
404 |
+
}
|
405 |
+
|
406 |
+
body.post-type-mec-books th.column-verification {
|
407 |
+
width: 120px
|
408 |
+
}
|
409 |
+
|
410 |
+
body.post-type-mec-books th.column-author {
|
411 |
+
width: 150px
|
412 |
+
}
|
413 |
+
|
414 |
+
.mec-meta-box-labels-container .mec-form-row {
|
415 |
+
height: 100px;
|
416 |
+
overflow: auto
|
417 |
+
}
|
418 |
+
|
419 |
+
.mec-tooltip {
|
420 |
+
display: inline;
|
421 |
+
position: relative;
|
422 |
+
margin-right: 10px;
|
423 |
+
cursor: help;
|
424 |
+
bottom: 5px;
|
425 |
+
left: 3px
|
426 |
+
}
|
427 |
+
|
428 |
+
.mec-tooltip:last-child {
|
429 |
+
margin-right: 0
|
430 |
+
}
|
431 |
+
|
432 |
+
.mec-tooltip:hover:after {
|
433 |
+
background: #313130;
|
434 |
+
border-radius: 5px;
|
435 |
+
bottom: 24px;
|
436 |
+
color: #fff;
|
437 |
+
content: attr(title);
|
438 |
+
left: -75px;
|
439 |
+
padding: 10px;
|
440 |
+
position: absolute;
|
441 |
+
z-index: 98;
|
442 |
+
width: 240px
|
443 |
+
}
|
444 |
+
|
445 |
+
.mec-tooltip:hover:before {
|
446 |
+
border: solid;
|
447 |
+
border-color: #313130 transparent;
|
448 |
+
border-width: 6px 6px 0;
|
449 |
+
bottom: 18px;
|
450 |
+
content: "";
|
451 |
+
left: 30%;
|
452 |
+
position: absolute;
|
453 |
+
z-index: 99
|
454 |
+
}
|
455 |
+
|
456 |
+
.mec-tooltip .dashicons-before:before {
|
457 |
+
font-size: 24px;
|
458 |
+
color: #008aff;
|
459 |
+
line-height: 37px
|
460 |
+
}
|
461 |
+
|
462 |
+
.mec-tooltip a:focus {
|
463 |
+
box-shadow: none
|
464 |
+
}
|
465 |
+
|
466 |
+
.mec-form-row .bootstrap_unvalid {
|
467 |
+
display: block;
|
468 |
+
border: 2px solid red;
|
469 |
+
position: relative;
|
470 |
+
display: inline-block;
|
471 |
+
border-bottom: 1px dotted #000
|
472 |
+
}
|
473 |
+
|
474 |
+
.mec-tooltiptext {
|
475 |
+
visibility: hidden;
|
476 |
+
width: 120px;
|
477 |
+
background-color: red;
|
478 |
+
color: #fff;
|
479 |
+
text-align: center;
|
480 |
+
border-radius: 6px;
|
481 |
+
padding: 5px 0;
|
482 |
+
position: absolute;
|
483 |
+
z-index: 1
|
484 |
+
}
|
485 |
+
|
486 |
+
.ui-datepicker {
|
487 |
+
background-color: #fff;
|
488 |
+
border: 1px solid #66afe9;
|
489 |
+
border-radius: 4px;
|
490 |
+
box-shadow: 0 0 8px rgba(102,175,233,.6);
|
491 |
+
display: none;
|
492 |
+
margin-top: 4px;
|
493 |
+
padding: 10px;
|
494 |
+
width: 240px
|
495 |
+
}
|
496 |
+
|
497 |
+
.ui-datepicker a,.ui-datepicker a:hover {
|
498 |
+
text-decoration: none;
|
499 |
+
cursor: pointer
|
500 |
+
}
|
501 |
+
|
502 |
+
.ui-datepicker a:hover,.ui-datepicker td:hover a {
|
503 |
+
color: #2c6396;
|
504 |
+
-webkit-transition: color .1s ease-in-out;
|
505 |
+
-moz-transition: color .1s ease-in-out;
|
506 |
+
-o-transition: color .1s ease-in-out;
|
507 |
+
transition: color .1s ease-in-out
|
508 |
+
}
|
509 |
+
|
510 |
+
.ui-datepicker .ui-datepicker-header {
|
511 |
+
margin-bottom: 4px;
|
512 |
+
text-align: center
|
513 |
+
}
|
514 |
+
|
515 |
+
.ui-datepicker .ui-datepicker-title {
|
516 |
+
font-weight: 700
|
517 |
+
}
|
518 |
+
|
519 |
+
.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev {
|
520 |
+
cursor: default;
|
521 |
+
font-family: dashicons;
|
522 |
+
-webkit-font-smoothing: antialiased;
|
523 |
+
font-style: normal;
|
524 |
+
font-weight: 400;
|
525 |
+
height: 20px;
|
526 |
+
line-height: 1.4;
|
527 |
+
margin-top: 2px;
|
528 |
+
width: 20px
|
529 |
+
}
|
530 |
+
|
531 |
+
.ui-datepicker .ui-datepicker-prev {
|
532 |
+
float: left;
|
533 |
+
text-align: left
|
534 |
+
}
|
535 |
+
|
536 |
+
.ui-datepicker .ui-datepicker-next {
|
537 |
+
float: right;
|
538 |
+
text-align: center
|
539 |
+
}
|
540 |
+
|
541 |
+
.ui-datepicker .ui-datepicker-prev:before {
|
542 |
+
content: "\f341"
|
543 |
+
}
|
544 |
+
|
545 |
+
.ui-datepicker .ui-datepicker-next:before {
|
546 |
+
content: "\f345"
|
547 |
+
}
|
548 |
+
|
549 |
+
.ui-datepicker .ui-icon {
|
550 |
+
display: none
|
551 |
+
}
|
552 |
+
|
553 |
+
.ui-datepicker .ui-datepicker-calendar {
|
554 |
+
table-layout: fixed;
|
555 |
+
width: 100%
|
556 |
+
}
|
557 |
+
|
558 |
+
.ui-datepicker .ui-datepicker-calendar td,.ui-datepicker .ui-datepicker-calendar th {
|
559 |
+
text-align: center;
|
560 |
+
padding: 4px 0
|
561 |
+
}
|
562 |
+
|
563 |
+
.ui-datepicker .ui-datepicker-calendar td {
|
564 |
+
border-radius: 4px;
|
565 |
+
-webkit-transition: background-color .1s ease-in-out,color .1s ease-in-out;
|
566 |
+
-moz-transition: background-color .1s ease-in-out,color .1s ease-in-out;
|
567 |
+
-o-transition: background-color .1s ease-in-out,color .1s ease-in-out;
|
568 |
+
transition: background-color .1s ease-in-out,color .1s ease-in-out
|
569 |
+
}
|
570 |
+
|
571 |
+
.ui-datepicker .ui-datepicker-calendar td:hover {
|
572 |
+
background-color: #eee;
|
573 |
+
cursor: pointer
|
574 |
+
}
|
575 |
+
|
576 |
+
.ui-datepicker .ui-datepicker-calendar td a {
|
577 |
+
text-decoration: none
|
578 |
+
}
|
579 |
+
|
580 |
+
.ui-datepicker .ui-datepicker-current-day {
|
581 |
+
background-color: #4289cc
|
582 |
+
}
|
583 |
+
|
584 |
+
.ui-datepicker .ui-datepicker-current-day a {
|
585 |
+
color: #fff
|
586 |
+
}
|
587 |
+
|
588 |
+
.ui-datepicker .ui-datepicker-calendar .ui-datepicker-unselectable:hover {
|
589 |
+
background-color: #fff;
|
590 |
+
cursor: default
|
591 |
+
}
|
592 |
+
|
593 |
+
.mec-col-1,.mec-col-10,.mec-col-11,.mec-col-12,.mec-col-2,.mec-col-3,.mec-col-4,.mec-col-5,.mec-col-6,.mec-col-7,.mec-col-8,.mec-col-9 {
|
594 |
+
position: relative;
|
595 |
+
min-height: 1px;
|
596 |
+
padding: 0;
|
597 |
+
margin: 0 1% 0 0
|
598 |
+
}
|
599 |
+
|
600 |
+
@media (min-width: 783px) {
|
601 |
+
.mec-col-1,.mec-col-10,.mec-col-11,.mec-col-12,.mec-col-2,.mec-col-3,.mec-col-4,.mec-col-5,.mec-col-6,.mec-col-7,.mec-col-8,.mec-col-9 {
|
602 |
+
float:left
|
603 |
+
}
|
604 |
+
|
605 |
+
.mec-col-12 {
|
606 |
+
width: 99%
|
607 |
+
}
|
608 |
+
|
609 |
+
.mec-col-11 {
|
610 |
+
width: 90.66666667%
|
611 |
+
}
|
612 |
+
|
613 |
+
.mec-col-10 {
|
614 |
+
width: 82.33333333%
|
615 |
+
}
|
616 |
+
|
617 |
+
.mec-col-9 {
|
618 |
+
width: 74%
|
619 |
+
}
|
620 |
+
|
621 |
+
.mec-col-8 {
|
622 |
+
width: 65.66666667%
|
623 |
+
}
|
624 |
+
|
625 |
+
.mec-col-7 {
|
626 |
+
width: 57.33333333%
|
627 |
+
}
|
628 |
+
|
629 |
+
.mec-col-6 {
|
630 |
+
width: 49%
|
631 |
+
}
|
632 |
+
|
633 |
+
.mec-col-5 {
|
634 |
+
width: 40.66666667%
|
635 |
+
}
|
636 |
+
|
637 |
+
.mec-col-4 {
|
638 |
+
width: 32.33333333%
|
639 |
+
}
|
640 |
+
|
641 |
+
.mec-col-3 {
|
642 |
+
width: 24%
|
643 |
+
}
|
644 |
+
|
645 |
+
.mec-col-2 {
|
646 |
+
width: 15.66666667%
|
647 |
+
}
|
648 |
+
|
649 |
+
.mec-col-1 {
|
650 |
+
width: 7.33333333%
|
651 |
+
}
|
652 |
+
}
|
653 |
+
|
654 |
+
#mec_reg_form_fields {
|
655 |
+
background: #eee;
|
656 |
+
padding: 20px
|
657 |
+
}
|
658 |
+
|
659 |
+
#mec_reg_form_fields li {
|
660 |
+
margin: 4px;
|
661 |
+
border-radius: 2px;
|
662 |
+
padding: 20px 34px 24px;
|
663 |
+
background: #fff;
|
664 |
+
position: relative;
|
665 |
+
transition: all .3s ease
|
666 |
+
}
|
667 |
+
|
668 |
+
#mec_reg_form_fields li ul {
|
669 |
+
padding-top: 15px;
|
670 |
+
padding-bottom: 15px;
|
671 |
+
margin: 1px
|
672 |
+
}
|
673 |
+
|
674 |
+
#mec_reg_form_fields li ul li {
|
675 |
+
padding: 7px 30px 7px 46px
|
676 |
+
}
|
677 |
+
|
678 |
+
#mec_reg_form_fields span.mec_reg_field_type {
|
679 |
+
font-size: 11px;
|
680 |
+
font-weight: 600;
|
681 |
+
color: #8a8a8a;
|
682 |
+
text-transform: uppercase;
|
683 |
+
letter-spacing: 2px
|
684 |
+
}
|
685 |
+
|
686 |
+
#mec_reg_form_fields span.mec_reg_field_option_sort,#mec_reg_form_fields span.mec_reg_field_remove,#mec_reg_form_fields span.mec_reg_field_sort {
|
687 |
+
font-size: 0;
|
688 |
+
color: #fff
|
689 |
+
}
|
690 |
+
|
691 |
+
#mec_reg_form_fields span.mec_reg_field_remove {
|
692 |
+
position: absolute;
|
693 |
+
right: 0;
|
694 |
+
top: 0
|
695 |
+
}
|
696 |
+
|
697 |
+
#mec_reg_form_fields span.mec_reg_field_option_sort:before,#mec_reg_form_fields span.mec_reg_field_remove:before,#mec_reg_form_fields span.mec_reg_field_sort:before {
|
698 |
+
position: absolute;
|
699 |
+
left: 10px;
|
700 |
+
top: 20px;
|
701 |
+
width: 80px;
|
702 |
+
height: 20px;
|
703 |
+
display: block;
|
704 |
+
cursor: move;
|
705 |
+
font-family: simple-line-icons;
|
706 |
+
content: "\e023";
|
707 |
+
font-size: 18px;
|
708 |
+
color: #888
|
709 |
+
}
|
710 |
+
|
711 |
+
#mec_reg_form_fields span.mec_reg_field_remove:before {
|
712 |
+
content: "\e082";
|
713 |
+
width: 20px;
|
714 |
+
height: 20px;
|
715 |
+
left: auto;
|
716 |
+
right: 15px;
|
717 |
+
color: #f96666;
|
718 |
+
cursor: pointer
|
719 |
+
}
|
720 |
+
|
721 |
+
#mec_reg_form_fields span.mec_reg_field_option_sort:before {
|
722 |
+
font-size: 13px;
|
723 |
+
left: 2px;
|
724 |
+
top: 23px;
|
725 |
+
width: 14px;
|
726 |
+
height: 14px
|
727 |
+
}
|
728 |
+
|
729 |
+
#mec_reg_form_fields li ul li span.mec_reg_field_remove {
|
730 |
+
right: auto;
|
731 |
+
left: 60px;
|
732 |
+
top: 2px
|
733 |
+
}
|
734 |
+
|
735 |
+
#mec_reg_form_fields p.mec_reg_field_options {
|
736 |
+
margin: 6px 0 8px
|
737 |
+
}
|
738 |
+
|
739 |
+
#mec_reg_form_fields input[type=number],#mec_reg_form_fields input[type=text],#mec_reg_form_fields select,#mec_reg_form_fields textarea {
|
740 |
+
min-width: 260px;
|
741 |
+
min-height: 34px;
|
742 |
+
margin-bottom: 7px;
|
743 |
+
margin-top: 7px
|
744 |
+
}
|
745 |
+
|
746 |
+
#mec_reg_form_fields textarea {
|
747 |
+
min-height: 66px
|
748 |
+
}
|
749 |
+
|
750 |
+
#mec_reg_form_field_types button,#mec_reg_form_fields button {
|
751 |
+
position: relative;
|
752 |
+
outline: 0;
|
753 |
+
background: #fff;
|
754 |
+
border: 1px solid #e2e2e2;
|
755 |
+
border-radius: 50px;
|
756 |
+
padding: 11px 21px 11px 31px;
|
757 |
+
line-height: 1;
|
758 |
+
font-size: 11px;
|
759 |
+
font-weight: 600;
|
760 |
+
color: #444;
|
761 |
+
letter-spacing: 2px;
|
762 |
+
height: auto;
|
763 |
+
cursor: pointer;
|
764 |
+
margin-top: 5px;
|
765 |
+
text-transform: uppercase;
|
766 |
+
box-shadow: 0 0 3px rgba(0,0,0,.03)
|
767 |
+
}
|
768 |
+
|
769 |
+
#mec_reg_form_field_types button:hover,#mec_reg_form_fields button:hover {
|
770 |
+
border-color: #008aff;
|
771 |
+
box-shadow: 0 0 7px rgba(0,0,0,.1)
|
772 |
+
}
|
773 |
+
|
774 |
+
#mec_reg_form_field_types button:before,#mec_reg_form_fields button:before {
|
775 |
+
position: absolute;
|
776 |
+
left: 12px;
|
777 |
+
color: #008aff;
|
778 |
+
content: "\e095";
|
779 |
+
font-family: simple-line-icons;
|
780 |
+
font-size: 13px;
|
781 |
+
display: inline-block
|
782 |
+
}
|
783 |
+
|
784 |
+
#mec_reg_form_field_types button.red:hover,#mec_reg_form_fields button.red:hover {
|
785 |
+
border-color: red;
|
786 |
+
box-shadow: 0 0 7px rgba(0,0,0,.1)
|
787 |
+
}
|
788 |
+
|
789 |
+
#mec_reg_form_field_types button.red:before,#mec_reg_form_fields button.red:before {
|
790 |
+
position: absolute;
|
791 |
+
left: 12px;
|
792 |
+
color: red;
|
793 |
+
content: "\e095";
|
794 |
+
font-family: simple-line-icons;
|
795 |
+
font-size: 13px;
|
796 |
+
display: inline-block
|
797 |
+
}
|
798 |
+
|
799 |
+
@media (max-width: 768px) {
|
800 |
+
#mec_reg_form_fields input[type=number],#mec_reg_form_fields input[type=text],#mec_reg_form_fields select,#mec_reg_form_fields textarea {
|
801 |
+
min-width:80px;
|
802 |
+
width: 100%
|
803 |
+
}
|
804 |
+
}
|
805 |
+
|
806 |
+
.mec-form-row {
|
807 |
+
margin: 0 auto 10px
|
808 |
+
}
|
809 |
+
|
810 |
+
.mec-options-fields {
|
811 |
+
padding-top: 25px;
|
812 |
+
overflow: hidden;
|
813 |
+
animation: fadeEffect 1s
|
814 |
+
}
|
815 |
+
|
816 |
+
#mec_booking_form .mec-options-fields,#mec_modules_form .mec-options-fields,#mec_notifications_form .mec-options-fields,#mec_settings_form .mec-options-fields,#mec_single_form .mec-options-fields {
|
817 |
+
display: none
|
818 |
+
}
|
819 |
+
|
820 |
+
.mec-options-fields.active {
|
821 |
+
display: block!important
|
822 |
+
}
|
823 |
+
|
824 |
+
@keyframes fadeEffect {
|
825 |
+
from {
|
826 |
+
opacity: 0
|
827 |
+
}
|
828 |
+
|
829 |
+
to {
|
830 |
+
opacity: 1
|
831 |
+
}
|
832 |
+
}
|
833 |
+
|
834 |
+
.mec-form-row:after,.mec-form-row:before {
|
835 |
+
content: " ";
|
836 |
+
display: table
|
837 |
+
}
|
838 |
+
|
839 |
+
.mec-form-row:after {
|
840 |
+
clear: both
|
841 |
+
}
|
842 |
+
|
843 |
+
.mec-form-row input[type=number],.mec-form-row input[type=text],.mec-form-row select {
|
844 |
+
height: 38px;
|
845 |
+
box-sizing: border-box;
|
846 |
+
margin-bottom: 8px;
|
847 |
+
padding: 0 6px;
|
848 |
+
box-shadow: none;
|
849 |
+
border-radius: 2px;
|
850 |
+
box-shadow: inset 0 1px 5px rgba(0,0,0,.05)
|
851 |
+
}
|
852 |
+
|
853 |
+
.mec-form-row input[type=radio] {
|
854 |
+
margin: 5px 0
|
855 |
+
}
|
856 |
+
|
857 |
+
.mec-form-row select {
|
858 |
+
margin-top: 1px
|
859 |
+
}
|
860 |
+
|
861 |
+
.mec-book-status-form select {
|
862 |
+
display: block;
|
863 |
+
width: 99%;
|
864 |
+
margin-top: 10px;
|
865 |
+
margin-bottom: 10px
|
866 |
+
}
|
867 |
+
|
868 |
+
.mec-form-row label {
|
869 |
+
margin: 10px 0
|
870 |
+
}
|
871 |
+
|
872 |
+
.mec-form-row input[type=checkbox] {
|
873 |
+
background-color: #fafafa;
|
874 |
+
border: 1px solid #cacece;
|
875 |
+
box-shadow: 0 1px 2px rgba(0,0,0,.05),inset 0 -15px 10px -12px rgba(0,0,0,.05);
|
876 |
+
padding: 9px;
|
877 |
+
border-radius: 3px;
|
878 |
+
min-width: 20px;
|
879 |
+
min-height: 20px;
|
880 |
+
display: inline-block
|
881 |
+
}
|
882 |
+
|
883 |
+
.mec-form-row input[type=checkbox]:checked {
|
884 |
+
box-shadow: 0 3px 11px -4px #008aff;
|
885 |
+
border-color: #008aff;
|
886 |
+
background: #fff
|
887 |
+
}
|
888 |
+
|
889 |
+
.mec-form-row input[type=checkbox]:checked:before {
|
890 |
+
color: #008aff;
|
891 |
+
width: 20px;
|
892 |
+
font: 400 24px/1 dashicons
|
893 |
+
}
|
894 |
+
|
895 |
+
.mec-form-row .mec-col-4 input[type=text],.mec-form-row .mec-col-4 select {
|
896 |
+
width: 75%
|
897 |
+
}
|
898 |
+
|
899 |
+
.mec-form-row .description {
|
900 |
+
display: inline-block;
|
901 |
+
border-left: 1px dashed #ccc;
|
902 |
+
margin-left: 12px;
|
903 |
+
line-height: 26px;
|
904 |
+
padding-left: 12px;
|
905 |
+
color: #555
|
906 |
+
}
|
907 |
+
|
908 |
+
.mec-form-row .time-dv {
|
909 |
+
font-size: 14px;
|
910 |
+
font-weight: 700
|
911 |
+
}
|
912 |
+
|
913 |
+
.mec-meta-box-fields {
|
914 |
+
margin: 30px 10px
|
915 |
+
}
|
916 |
+
|
917 |
+
.mec-meta-box-fields>.mec-meta-box-fields {
|
918 |
+
margin-left: 0
|
919 |
+
}
|
920 |
+
|
921 |
+
.mec-meta-box-fields .mec-title {
|
922 |
+
margin: 5px 0
|
923 |
+
}
|
924 |
+
|
925 |
+
.mec-meta-box-fields h4.mec-title {
|
926 |
+
margin: 40px 0 16px
|
927 |
+
}
|
928 |
+
|
929 |
+
.mec-meta-box-fields .mec-dashicons {
|
930 |
+
font-size: 20px;
|
931 |
+
line-height: 22px;
|
932 |
+
color: #008aff
|
933 |
+
}
|
934 |
+
|
935 |
+
.mec-form-row .mec-box,.mec-meta-box-fields .mec-box {
|
936 |
+
background: #f7f7f7;
|
937 |
+
padding: 10px;
|
938 |
+
margin: 10px 0;
|
939 |
+
border-radius: 2px;
|
940 |
+
border: 1px solid #e6e6e6
|
941 |
+
}
|
942 |
+
|
943 |
+
.mec-form-row .mec-box {
|
944 |
+
max-width: 960px
|
945 |
+
}
|
946 |
+
|
947 |
+
.mec-form-row .mec-box .button,.mec-meta-box-fields .mec-box .button {
|
948 |
+
float: right
|
949 |
+
}
|
950 |
+
|
951 |
+
#mec_gateways_form .mec-form-row:first-child,#mec_notifications_form_container .mec-form-row:nth-child(2) {
|
952 |
+
overflow: hidden
|
953 |
+
}
|
954 |
+
|
955 |
+
#mec_gateways_form .mec-tooltip {
|
956 |
+
float: right
|
957 |
+
}
|
958 |
+
|
959 |
+
.mec-container {
|
960 |
+
background: #fff;
|
961 |
+
padding: 15px
|
962 |
+
}
|
963 |
+
|
964 |
+
.nav-tab-active {
|
965 |
+
background: #fff;
|
966 |
+
border-bottom: 1px solid #fff
|
967 |
+
}
|
968 |
+
|
969 |
+
#mec_social_networks .mec-form-row {
|
970 |
+
margin-bottom: 0
|
971 |
+
}
|
972 |
+
|
973 |
+
#mec_gateways_form h4,.mec-meta-box-fields h4,.mec-options-fields h4,h4.mec-form-subtitle {
|
974 |
+
text-transform: capitalize;
|
975 |
+
border-bottom: 1px solid #e5e5e5;
|
976 |
+
padding-bottom: 6px;
|
977 |
+
margin: 40px 0 16px;
|
978 |
+
font-size: 15px;
|
979 |
+
font-weight: 600
|
980 |
+
}
|
981 |
+
|
982 |
+
#mec_gateways_form h4 {
|
983 |
+
margin-bottom: 0
|
984 |
+
}
|
985 |
+
|
986 |
+
#mec_styles_form #mec_styles_CSS {
|
987 |
+
height: 200px;
|
988 |
+
margin-bottom: 5px;
|
989 |
+
font-family: Consolas,Monaco,monospace;
|
990 |
+
font-size: 13px;
|
991 |
+
width: 97%;
|
992 |
+
background: #f9f9f9;
|
993 |
+
outline: 0
|
994 |
+
}
|
995 |
+
|
996 |
+
#mec_calendar_filter .description,#mec_styles_form .description {
|
997 |
+
max-width: 500px;
|
998 |
+
display: block;
|
999 |
+
margin: 0 0 5px 0;
|
1000 |
+
padding: 0;
|
1001 |
+
border: none
|
1002 |
+
}
|
1003 |
+
|
1004 |
+
.mec-sed-methods li {
|
1005 |
+
display: inline-block;
|
1006 |
+
padding: 8px 12px;
|
1007 |
+
border: 1px solid #ddd;
|
1008 |
+
margin: 0 5px 5px 0;
|
1009 |
+
cursor: pointer;
|
1010 |
+
border-radius: 3px;
|
1011 |
+
box-shadow: 0 2px 15px -2px rgba(0,0,0,.1)
|
1012 |
+
}
|
1013 |
+
|
1014 |
+
.mec-sed-methods li:hover {
|
1015 |
+
border-color: #008aff
|
1016 |
+
}
|
1017 |
+
|
1018 |
+
.mec-sed-methods li.active {
|
1019 |
+
border-color: #008aff;
|
1020 |
+
background-color: #fff;
|
1021 |
+
color: #008aff;
|
1022 |
+
font-weight: 600;
|
1023 |
+
cursor: default;
|
1024 |
+
box-shadow: 0 0 8px rgba(1,138,255,.5) inset
|
1025 |
+
}
|
1026 |
+
|
1027 |
+
.mec-switcher input+label {
|
1028 |
+
display: block;
|
1029 |
+
position: relative;
|
1030 |
+
cursor: pointer;
|
1031 |
+
outline: 0;
|
1032 |
+
padding: 2px;
|
1033 |
+
width: 38px;
|
1034 |
+
height: 22px;
|
1035 |
+
background-color: #ddd;
|
1036 |
+
border-radius: 60px
|
1037 |
+
}
|
1038 |
+
|
1039 |
+
.mec-switcher input:checked+label {
|
1040 |
+
background-color: #008aff;
|
1041 |
+
box-shadow: 0 3px 22px -6px #008aff
|
1042 |
+
}
|
1043 |
+
|
1044 |
+
.mec-switcher input:checked+label:after {
|
1045 |
+
margin-left: 16px
|
1046 |
+
}
|
1047 |
+
|
1048 |
+
#mec_gateways_form input[type=text],#mec_gateways_form select,#mec_gateways_form textarea {
|
1049 |
+
width: calc(100% - 30px)
|
1050 |
+
}
|
1051 |
+
|
1052 |
+
#mec_gateways_form textarea {
|
1053 |
+
min-height: 65px
|
1054 |
+
}
|
1055 |
+
|
1056 |
+
#mec_gateways_form li .mec-gateway-options-form {
|
1057 |
+
padding: 15px 20px;
|
1058 |
+
background-color: #f7f7f7;
|
1059 |
+
border-left: 6px solid #e3e3e3;
|
1060 |
+
margin-bottom: 20px
|
1061 |
+
}
|
1062 |
+
|
1063 |
+
#mec_notifications_form label {
|
1064 |
+
display: inline-block;
|
1065 |
+
min-width: 160px
|
1066 |
+
}
|
1067 |
+
|
1068 |
+
#mec_notifications_form input[type=text],#mec_notifications_form select {
|
1069 |
+
min-width: 300px
|
1070 |
+
}
|
1071 |
+
|
1072 |
+
@media (max-width: 536px) {
|
1073 |
+
#mec_notifications_form input[type=text],#mec_notifications_form select {
|
1074 |
+
min-width:100%
|
1075 |
+
}
|
1076 |
+
}
|
1077 |
+
|
1078 |
+
#mec_notifications_form .wp-editor-container {
|
1079 |
+
margin-bottom: 45px
|
1080 |
+
}
|
1081 |
+
|
1082 |
+
#mec_notifications_form ul li:last-child .wp-editor-container {
|
1083 |
+
margin-bottom: 0
|
1084 |
+
}
|
1085 |
+
|
1086 |
+
#mec_messages_form_container ul li label {
|
1087 |
+
display: block;
|
1088 |
+
font-weight: 700
|
1089 |
+
}
|
1090 |
+
|
1091 |
+
#mec_messages_form_container ul li input {
|
1092 |
+
display: block;
|
1093 |
+
width: 100%
|
1094 |
+
}
|
1095 |
+
|
1096 |
+
.mec-message-categories li.mec-acc-label {
|
1097 |
+
font-size: 18px;
|
1098 |
+
font-weight: 700;
|
1099 |
+
padding: 10px;
|
1100 |
+
cursor: pointer;
|
1101 |
+
background-color: #f1f1f1;
|
1102 |
+
border: 1px solid #ccc
|
1103 |
+
}
|
1104 |
+
|
1105 |
+
.mec-message-categories ul {
|
1106 |
+
margin: 15px 5px
|
1107 |
+
}
|
1108 |
+
|
1109 |
+
.webnus-icons-list li {
|
1110 |
+
width: 40px;
|
1111 |
+
display: inline-block;
|
1112 |
+
list-style: none;
|
1113 |
+
padding: 0
|
1114 |
+
}
|
1115 |
+
|
1116 |
+
.webnus-icons-list input {
|
1117 |
+
visibility: hidden;
|
1118 |
+
margin: 0;
|
1119 |
+
padding: 0;
|
1120 |
+
width: 1px;
|
1121 |
+
height: 1px;
|
1122 |
+
-moz-opacity: 0;
|
1123 |
+
-khtml-opacity: 0;
|
1124 |
+
opacity: 0;
|
1125 |
+
cursor: pointer
|
1126 |
+
}
|
1127 |
+
|
1128 |
+
.webnus-icons-list li label {
|
1129 |
+
color: #777;
|
1130 |
+
display: inline-block!important;
|
1131 |
+
float: none!important;
|
1132 |
+
width: 33px!important;
|
1133 |
+
text-align: center;
|
1134 |
+
font-size: 23px!important;
|
1135 |
+
font-weight: 400!important;
|
1136 |
+
padding: 5px 0!important;
|
1137 |
+
border: 1px solid #eee!important
|
1138 |
+
}
|
1139 |
+
|
1140 |
+
.mec-webnus-icon {
|
1141 |
+
float: left;
|
1142 |
+
margin-right: 10px
|
1143 |
+
}
|
1144 |
+
|
1145 |
+
.mec-webnus-icon i {
|
1146 |
+
font-size: 24px;
|
1147 |
+
color: #222
|
1148 |
+
}
|
1149 |
+
|
1150 |
+
.mec-accordion ul {
|
1151 |
+
display: none
|
1152 |
+
}
|
1153 |
+
|
1154 |
+
.mec-switcher input {
|
1155 |
+
position: absolute;
|
1156 |
+
margin-left: -9999px;
|
1157 |
+
visibility: hidden
|
1158 |
+
}
|
1159 |
+
|
1160 |
+
.mec-switcher input+label {
|
1161 |
+
display: block;
|
1162 |
+
position: relative;
|
1163 |
+
cursor: pointer;
|
1164 |
+
outline: 0;
|
1165 |
+
padding: 2px;
|
1166 |
+
width: 50px;
|
1167 |
+
height: 22px;
|
1168 |
+
background-color: #ddd;
|
1169 |
+
border-radius: 60px
|
1170 |
+
}
|
1171 |
+
|
1172 |
+
.mec-switcher input+label:after,.mec-switcher input+label:before {
|
1173 |
+
display: block;
|
1174 |
+
position: absolute;
|
1175 |
+
top: 1px;
|
1176 |
+
left: 1px;
|
1177 |
+
bottom: 1px;
|
1178 |
+
content: ""
|
1179 |
+
}
|
1180 |
+
|
1181 |
+
.mec-switcher input+label:before {
|
1182 |
+
right: 1px;
|
1183 |
+
background-color: #f1f1f1;
|
1184 |
+
border-radius: 60px;
|
1185 |
+
transition: background .4s
|
1186 |
+
}
|
1187 |
+
|
1188 |
+
.mec-switcher input+label:after {
|
1189 |
+
width: 24px;
|
1190 |
+
background-color: #fff;
|
1191 |
+
border-radius: 100%;
|
1192 |
+
box-shadow: 0 2px 3px rgba(0,0,0,.1);
|
1193 |
+
transition: margin .4s
|
1194 |
+
}
|
1195 |
+
|
1196 |
+
.wns-be-group-tab .mec-switcher input[value="1"]+label,.wns-be-group-tab .mec-switcher input[value="1"]+label:before {
|
1197 |
+
background-color: #008aff;
|
1198 |
+
box-shadow: 0 3px 22px -7px #008aff
|
1199 |
+
}
|
1200 |
+
|
1201 |
+
.wns-be-group-tab .mec-switcher input[value="1"]+label:after {
|
1202 |
+
margin-left: 28px
|
1203 |
+
}
|
1204 |
+
|
1205 |
+
.mec-switcher input:checked+label {
|
1206 |
+
background-color: #008aff
|
1207 |
+
}
|
1208 |
+
|
1209 |
+
.mec-switcher input:checked+label:before {
|
1210 |
+
background-color: #008aff
|
1211 |
+
}
|
1212 |
+
|
1213 |
+
.mec-switcher input:checked+label:after {
|
1214 |
+
margin-left: 28px
|
1215 |
+
}
|
1216 |
+
|
1217 |
+
.mec-switcher label {
|
1218 |
+
display: block
|
1219 |
+
}
|
1220 |
+
|
1221 |
+
.mec-sed-methods li {
|
1222 |
+
display: inline-block;
|
1223 |
+
padding: 10px;
|
1224 |
+
border: 1px solid #ddd;
|
1225 |
+
margin: 0 5px 5px 0;
|
1226 |
+
cursor: pointer
|
1227 |
+
}
|
1228 |
+
|
1229 |
+
#wpwrap .mec-button-primary {
|
1230 |
+
border-bottom: none;
|
1231 |
+
letter-spacing: .5px;
|
1232 |
+
line-height: 18px;
|
1233 |
+
height: 46px;
|
1234 |
+
transition: all .5s ease;
|
1235 |
+
color: #fff;
|
1236 |
+
padding: 12px 25px;
|
1237 |
+
display: block;
|
1238 |
+
text-align: center;
|
1239 |
+
font-size: 14px;
|
1240 |
+
background: 0 0;
|
1241 |
+
background-color: #008aff;
|
1242 |
+
text-shadow: none;
|
1243 |
+
border: 0;
|
1244 |
+
box-shadow: none;
|
1245 |
+
display: inline-block;
|
1246 |
+
margin: 25px 0 12px;
|
1247 |
+
min-width: 146px
|
1248 |
+
}
|
1249 |
+
|
1250 |
+
#wpwrap .mec-button-primary:hover {
|
1251 |
+
background-color: #41c9de
|
1252 |
+
}
|
1253 |
+
|
1254 |
+
#wpwrap .mec-button-primary.loading {
|
1255 |
+
background-color: #73c02a
|
1256 |
+
}
|
1257 |
+
|
1258 |
+
#wpwrap .mec-button-primary:before {
|
1259 |
+
content: "\f00c";
|
1260 |
+
font-family: fontawesome;
|
1261 |
+
margin-right: 4px;
|
1262 |
+
font-size: 16px;
|
1263 |
+
display: none
|
1264 |
+
}
|
1265 |
+
|
1266 |
+
#wpwrap .mec-button-primary.loading:before {
|
1267 |
+
display: inline-block
|
1268 |
+
}
|
1269 |
+
|
1270 |
+
.mec-image-select-wrap {
|
1271 |
+
clear: both;
|
1272 |
+
overflow: hidden;
|
1273 |
+
padding: 10px 0;
|
1274 |
+
margin: 0
|
1275 |
+
}
|
1276 |
+
|
1277 |
+
.mec-image-select-wrap li {
|
1278 |
+
float: left;
|
1279 |
+
display: block;
|
1280 |
+
margin-right: 15px;
|
1281 |
+
margin-bottom: 15px
|
1282 |
+
}
|
1283 |
+
|
1284 |
+
.mec-image-select-wrap li input {
|
1285 |
+
display: none
|
1286 |
+
}
|
1287 |
+
|
1288 |
+
.mec-image-select-wrap li span {
|
1289 |
+
width: 35px;
|
1290 |
+
height: 35px;
|
1291 |
+
display: block;
|
1292 |
+
border: 3px solid transparent
|
1293 |
+
}
|
1294 |
+
|
1295 |
+
.mec-image-select-wrap li input:checked+span {
|
1296 |
+
border-color: #e3e3e3
|
1297 |
+
}
|
1298 |
+
|
1299 |
+
.mec-image-select-wrap li input:checked+span:after {
|
1300 |
+
content: "\f00c";
|
1301 |
+
font-family: fontawesome;
|
1302 |
+
font-size: 20px;
|
1303 |
+
display: inline-block;
|
1304 |
+
color: #fff;
|
1305 |
+
padding: 8px;
|
1306 |
+
max-width: 100%;
|
1307 |
+
max-height: 100%
|
1308 |
+
}
|
1309 |
+
|
1310 |
+
.mec-image-select-wrap .mec-colorskin-1 {
|
1311 |
+
background-color: #008aff
|
1312 |
+
}
|
1313 |
+
|
1314 |
+
.mec-image-select-wrap .mec-colorskin-2 {
|
1315 |
+
background-color: #0093d0
|
1316 |
+
}
|
1317 |
+
|
1318 |
+
.mec-image-select-wrap .mec-colorskin-3 {
|
1319 |
+
background-color: #e53f51
|
1320 |
+
}
|
1321 |
+
|
1322 |
+
.mec-image-select-wrap .mec-colorskin-4 {
|
1323 |
+
background-color: #f1c40f
|
1324 |
+
}
|
1325 |
+
|
1326 |
+
.mec-image-select-wrap .mec-colorskin-5 {
|
1327 |
+
background-color: #e64883
|
1328 |
+
}
|
1329 |
+
|
1330 |
+
.mec-image-select-wrap .mec-colorskin-6 {
|
1331 |
+
background-color: #45ab48
|
1332 |
+
}
|
1333 |
+
|
1334 |
+
.mec-image-select-wrap .mec-colorskin-7 {
|
1335 |
+
background-color: #9661ab
|
1336 |
+
}
|
1337 |
+
|
1338 |
+
.mec-image-select-wrap .mec-colorskin-8 {
|
1339 |
+
background-color: #0aad80
|
1340 |
+
}
|
1341 |
+
|
1342 |
+
.mec-image-select-wrap .mec-colorskin-9 {
|
1343 |
+
background-color: #0ab1f0
|
1344 |
+
}
|
1345 |
+
|
1346 |
+
.mec-image-select-wrap .mec-colorskin-10 {
|
1347 |
+
background-color: #ff5a00
|
1348 |
+
}
|
1349 |
+
|
1350 |
+
.mec-image-select-wrap .mec-colorskin-11 {
|
1351 |
+
background-color: #c3512f
|
1352 |
+
}
|
1353 |
+
|
1354 |
+
.mec-image-select-wrap .mec-colorskin-12 {
|
1355 |
+
background-color: #55606e
|
1356 |
+
}
|
1357 |
+
|
1358 |
+
.mec-image-select-wrap .mec-colorskin-13 {
|
1359 |
+
background-color: #fe8178
|
1360 |
+
}
|
1361 |
+
|
1362 |
+
.mec-image-select-wrap .mec-colorskin-14 {
|
1363 |
+
background-color: #7c6853
|
1364 |
+
}
|
1365 |
+
|
1366 |
+
.mec-image-select-wrap .mec-colorskin-15 {
|
1367 |
+
background-color: #bed431
|
1368 |
+
}
|
1369 |
+
|
1370 |
+
.mec-image-select-wrap .mec-colorskin-16 {
|
1371 |
+
background-color: #2d5c88
|
1372 |
+
}
|
1373 |
+
|
1374 |
+
.mec-image-select-wrap .mec-colorskin-17 {
|
1375 |
+
background-color: #77da55
|
1376 |
+
}
|
1377 |
+
|
1378 |
+
.mec-image-select-wrap .mec-colorskin-18 {
|
1379 |
+
background-color: #2997ab
|
1380 |
+
}
|
1381 |
+
|
1382 |
+
.mec-image-select-wrap .mec-colorskin-19 {
|
1383 |
+
background-color: #734854
|
1384 |
+
}
|
1385 |
+
|
1386 |
+
.mec-image-select-wrap .mec-colorskin-20 {
|
1387 |
+
background-color: #a81010
|
1388 |
+
}
|
1389 |
+
|
1390 |
+
.mec-image-select-wrap .mec-colorskin-21 {
|
1391 |
+
background-color: #4ccfad
|
1392 |
+
}
|
1393 |
+
|
1394 |
+
.mec-image-select-wrap .mec-colorskin-22 {
|
1395 |
+
background-color: #3a609f
|
1396 |
+
}
|
1397 |
+
|
1398 |
+
@media screen and (max-width: 782px) {
|
1399 |
+
.mec-form-row .description {
|
1400 |
+
max-width:500px;
|
1401 |
+
display: block;
|
1402 |
+
margin: 0 0 5px 0;
|
1403 |
+
padding: 0;
|
1404 |
+
border: none
|
1405 |
+
}
|
1406 |
+
|
1407 |
+
.mec-col-1,.mec-col-10,.mec-col-11,.mec-col-12,.mec-col-2,.mec-col-3,.mec-col-4,.mec-col-5,.mec-col-6,.mec-col-7,.mec-col-8,.mec-col-9 {
|
1408 |
+
margin-bottom: 5px;
|
1409 |
+
display: block
|
1410 |
+
}
|
1411 |
+
|
1412 |
+
.mec-form-row .mec-box .button,.mec-meta-box-fields .mec-box .button {
|
1413 |
+
float: left
|
1414 |
+
}
|
1415 |
+
|
1416 |
+
.mec-form-row .time-dv {
|
1417 |
+
padding: 0 4px
|
1418 |
+
}
|
1419 |
+
|
1420 |
+
.mec-form-row .mec-col-4 input[type=text],.mec-form-row .mec-col-4 select {
|
1421 |
+
width: auto;
|
1422 |
+
min-width: 192px
|
1423 |
+
}
|
1424 |
+
|
1425 |
+
.mec-tooltip .dashicons-before:before {
|
1426 |
+
font-size: 32px
|
1427 |
+
}
|
1428 |
+
}
|
1429 |
+
|
1430 |
+
#frmb-0-clear-all,#frmb-0-save,#frmb-0-view-data {
|
1431 |
+
display: none
|
1432 |
+
}
|
1433 |
+
|
1434 |
+
#mec_sn_googlecal {
|
1435 |
+
margin-bottom: 0
|
1436 |
+
}
|
1437 |
+
|
1438 |
+
#mec_fee_row1 .button {
|
1439 |
+
margin-right: 10px
|
1440 |
+
}
|
1441 |
+
|
1442 |
+
h4.mec-form-subtitle {
|
1443 |
+
font-size: 15px;
|
1444 |
+
margin-top: 0
|
1445 |
+
}
|
1446 |
+
|
1447 |
+
#webnus-dashboard * {
|
1448 |
+
box-sizing: border-box
|
1449 |
+
}
|
1450 |
+
|
1451 |
+
#webnus-dashboard.about-wrap {
|
1452 |
+
max-width: 1240px;
|
1453 |
+
margin: 25px auto 20px
|
1454 |
+
}
|
1455 |
+
|
1456 |
+
#webnus-dashboard .change-log {
|
1457 |
+
word-wrap: break-word
|
1458 |
+
}
|
1459 |
+
|
1460 |
+
#webnus-dashboard .welcome-head img {
|
1461 |
+
border: none
|
1462 |
+
}
|
1463 |
+
|
1464 |
+
.w-welcome {
|
1465 |
+
position: relative;
|
1466 |
+
margin-top: 30px;
|
1467 |
+
margin-bottom: 10px
|
1468 |
+
}
|
1469 |
+
|
1470 |
+
.w-box {
|
1471 |
+
position: relative;
|
1472 |
+
background: #fff;
|
1473 |
+
padding: 5px 25px;
|
1474 |
+
margin-top: 30px
|
1475 |
+
}
|
1476 |
+
|
1477 |
+
.w-theme-version {
|
1478 |
+
box-shadow: 0 3px 30px -4px #40d8f0;
|
1479 |
+
text-shadow: none;
|
1480 |
+
background: #40d8f0;
|
1481 |
+
background: linear-gradient(95deg,#40d8f0 0,#2dd1ea 50%,#13cbe8 100%);
|
1482 |
+
text-align: center;
|
1483 |
+
display: block;
|
1484 |
+
padding: 10px 0;
|
1485 |
+
color: #fff;
|
1486 |
+
font-weight: 600;
|
1487 |
+
margin-top: 10px;
|
1488 |
+
border-radius: 2px
|
1489 |
+
}
|
1490 |
+
|
1491 |
+
.w-box {
|
1492 |
+
padding: 0;
|
1493 |
+
min-height: 310px;
|
1494 |
+
box-shadow: 0 1px 16px rgba(0,0,0,.034);
|
1495 |
+
border-radius: 2px
|
1496 |
+
}
|
1497 |
+
|
1498 |
+
.w-box-head {
|
1499 |
+
font-weight: 600;
|
1500 |
+
padding: 20px 72px;
|
1501 |
+
position: relative;
|
1502 |
+
border-bottom: 2px solid #008aff;
|
1503 |
+
font-size: 20px
|
1504 |
+
}
|
1505 |
+
|
1506 |
+
.w-box-head span {
|
1507 |
+
position: absolute;
|
1508 |
+
left: 0;
|
1509 |
+
padding: 0 25px;
|
1510 |
+
line-height: 58px;
|
1511 |
+
background: #008aff;
|
1512 |
+
height: 100%;
|
1513 |
+
top: 0;
|
1514 |
+
color: #fff
|
1515 |
+
}
|
1516 |
+
|
1517 |
+
.w-box-child,.w-box-content {
|
1518 |
+
padding: 18px;
|
1519 |
+
line-height: 24px;
|
1520 |
+
font-size: 14px
|
1521 |
+
}
|
1522 |
+
|
1523 |
+
.mec-count-child {
|
1524 |
+
width: 50%;
|
1525 |
+
margin: 0 auto
|
1526 |
+
}
|
1527 |
+
|
1528 |
+
#webnus-dashboard .w-button a {
|
1529 |
+
color: #fff!important;
|
1530 |
+
border-radius: 0;
|
1531 |
+
padding: 10px 24px;
|
1532 |
+
font-size: 12px;
|
1533 |
+
letter-spacing: 1px;
|
1534 |
+
font-weight: 600;
|
1535 |
+
background: #008aff;
|
1536 |
+
margin: 10px 0;
|
1537 |
+
display: inline-block;
|
1538 |
+
text-transform: uppercase
|
1539 |
+
}
|
1540 |
+
|
1541 |
+
#webnus-dashboard .w-box .w-button a:hover {
|
1542 |
+
background: #222;
|
1543 |
+
background: linear-gradient(95deg,#555 0,#222 50%,#000 100%);
|
1544 |
+
box-shadow: 0 5px 21px -5px rgba(0,0,0,.5)
|
1545 |
+
}
|
1546 |
+
|
1547 |
+
.w-system-info {
|
1548 |
+
margin-bottom: 7px
|
1549 |
+
}
|
1550 |
+
|
1551 |
+
.w-system-info:first-child {
|
1552 |
+
margin-top: 20px
|
1553 |
+
}
|
1554 |
+
|
1555 |
+
.w-system-info>span {
|
1556 |
+
display: inline-block;
|
1557 |
+
min-width: 145px;
|
1558 |
+
line-height: 20px;
|
1559 |
+
font-size: 13px
|
1560 |
+
}
|
1561 |
+
|
1562 |
+
#webnus-dashboard .w-current {
|
1563 |
+
min-width: 110px
|
1564 |
+
}
|
1565 |
+
|
1566 |
+
#webnus-dashboard .w-min {
|
1567 |
+
min-width: 65px
|
1568 |
+
}
|
1569 |
+
|
1570 |
+
.w-icon {
|
1571 |
+
color: #fff;
|
1572 |
+
padding: 3px;
|
1573 |
+
border-radius: 4px;
|
1574 |
+
margin-right: 10px;
|
1575 |
+
vertical-align: middle
|
1576 |
+
}
|
1577 |
+
|
1578 |
+
.w-icon-green {
|
1579 |
+
background: #27ae60
|
1580 |
+
}
|
1581 |
+
|
1582 |
+
.w-icon-red {
|
1583 |
+
background: #e74c3c
|
1584 |
+
}
|
1585 |
+
|
1586 |
+
.extra .w-box-head {
|
1587 |
+
padding: 20px;
|
1588 |
+
border-bottom: 1px solid #ededed
|
1589 |
+
}
|
1590 |
+
|
1591 |
+
.doc .w-box-head {
|
1592 |
+
color: #4cbf67
|
1593 |
+
}
|
1594 |
+
|
1595 |
+
#webnus-dashboard .doc .w-button a {
|
1596 |
+
background: #4cbf67;
|
1597 |
+
background: linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);
|
1598 |
+
margin: 35px 0 17px;
|
1599 |
+
box-shadow: 0 5px 10px -5px #4cbf67;
|
1600 |
+
background-color: #fff
|
1601 |
+
}
|
1602 |
+
|
1603 |
+
#webnus-dashboard .support .w-button a {
|
1604 |
+
background: #ff876c;
|
1605 |
+
background: linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%);
|
1606 |
+
margin: 13px 0 18px;
|
1607 |
+
box-shadow: 0 5px 10px -5px #ff876c
|
1608 |
+
}
|
1609 |
+
|
1610 |
+
.doc .w-box-content {
|
1611 |
+
background: url(../img/document.png) no-repeat right center
|
1612 |
+
}
|
1613 |
+
|
1614 |
+
.doc .w-box-content p,.w-box.support .w-box-content p {
|
1615 |
+
width: 54%;
|
1616 |
+
color: #666;
|
1617 |
+
margin-top: 10px;
|
1618 |
+
max-width: 380px
|
1619 |
+
}
|
1620 |
+
|
1621 |
+
.w-box-child p {
|
1622 |
+
color: #666;
|
1623 |
+
margin-top: 10px
|
1624 |
+
}
|
1625 |
+
|
1626 |
+
.w-box.support {
|
1627 |
+
background: #fff url(../img/support.png) no-repeat top right
|
1628 |
+
}
|
1629 |
+
|
1630 |
+
.w-box.support .w-box-head {
|
1631 |
+
width: 50%;
|
1632 |
+
color: #ff876c
|
1633 |
+
}
|
1634 |
+
|
1635 |
+
.w-box-content pre {
|
1636 |
+
text-align: left;
|
1637 |
+
background: #f5f5f5;
|
1638 |
+
font-size: 13px;
|
1639 |
+
padding: 20px 25px;
|
1640 |
+
height: 480px;
|
1641 |
+
overflow-y: scroll
|
1642 |
+
}
|
1643 |
+
|
1644 |
+
.w-box.change-log .w-box-head {
|
1645 |
+
color: #01c6d9
|
1646 |
+
}
|
1647 |
+
|
1648 |
+
#webnus-dashboard .button:not(.mec-intro-section-link-tag) {
|
1649 |
+
border: 0;
|
1650 |
+
background: 0 0;
|
1651 |
+
box-shadow: none;
|
1652 |
+
color: #e74c3c;
|
1653 |
+
font-weight: 700
|
1654 |
+
}
|
1655 |
+
|
1656 |
+
.w-box .state {
|
1657 |
+
position: absolute;
|
1658 |
+
top: 0;
|
1659 |
+
left: -100vw
|
1660 |
+
}
|
1661 |
+
|
1662 |
+
#webnus-dashboard .button:hover {
|
1663 |
+
color: #222
|
1664 |
+
}
|
1665 |
+
|
1666 |
+
.w-box .state:checked~.content {
|
1667 |
+
-webkit-transform: none;
|
1668 |
+
-ms-transform: none;
|
1669 |
+
transform: none
|
1670 |
+
}
|
1671 |
+
|
1672 |
+
.w-box .state:checked~.backdrop {
|
1673 |
+
bottom: 0;
|
1674 |
+
opacity: 1;
|
1675 |
+
z-index: 1
|
1676 |
+
}
|
1677 |
+
|
1678 |
+
.w-box .lightbox {
|
1679 |
+
position: fixed;
|
1680 |
+
top: 0;
|
1681 |
+
right: 0;
|
1682 |
+
left: 0;
|
1683 |
+
height: 0;
|
1684 |
+
padding: 0 20px
|
1685 |
+
}
|
1686 |
+
|
1687 |
+
.w-box .lightbox .content {
|
1688 |
+
display: -webkit-box;
|
1689 |
+
display: -webkit-flex;
|
1690 |
+
display: -ms-flexbox;
|
1691 |
+
display: flex;
|
1692 |
+
-webkit-box-orient: vertical;
|
1693 |
+
-webkit-box-direction: normal;
|
1694 |
+
-webkit-flex-direction: column;
|
1695 |
+
-ms-flex-direction: column;
|
1696 |
+
flex-direction: column;
|
1697 |
+
overflow: hidden;
|
1698 |
+
position: relative;
|
1699 |
+
z-index: 2;
|
1700 |
+
max-width: 500px;
|
1701 |
+
max-height: 95vh;
|
1702 |
+
margin: 20px auto;
|
1703 |
+
padding: 20px;
|
1704 |
+
background: #fff;
|
1705 |
+
-webkit-transform: translateY(-200%);
|
1706 |
+
-ms-transform: translateY(-200%);
|
1707 |
+
transform: translateY(-200%);
|
1708 |
+
-webkit-transition: .3s -webkit-transform ease-in-out;
|
1709 |
+
transition: .3s transform ease-in-out;
|
1710 |
+
border: 1px solid rgba(0,0,0,.1)
|
1711 |
+
}
|
1712 |
+
|
1713 |
+
.w-box .lightbox .main {
|
1714 |
+
-webkit-box-flex: 1;
|
1715 |
+
-webkit-flex-grow: 1;
|
1716 |
+
-ms-flex-positive: 1;
|
1717 |
+
flex-grow: 1
|
1718 |
+
}
|
1719 |
+
|
1720 |
+
.w-box .lightbox .backdrop {
|
1721 |
+
position: fixed;
|
1722 |
+
z-index: -1;
|
1723 |
+
top: 0;
|
1724 |
+
right: 0;
|
1725 |
+
bottom: 100%;
|
1726 |
+
left: 0;
|
1727 |
+
opacity: 0;
|
1728 |
+
background: rgba(0,0,0,.3);
|
1729 |
+
-webkit-transition: .3s opacity ease-in-out;
|
1730 |
+
transition: .3s opacity ease-in-out
|
1731 |
+
}
|
1732 |
+
|
1733 |
+
.content .main p {
|
1734 |
+
color: #bf3737
|
1735 |
+
}
|
1736 |
+
|
1737 |
+
p.mec_dash_count {
|
1738 |
+
font-size: 60px;
|
1739 |
+
font-weight: 600;
|
1740 |
+
margin: 0;
|
1741 |
+
color: #01c6d9
|
1742 |
+
}
|
1743 |
+
|
1744 |
+
.w-col-sm-3 .w-box.doc {
|
1745 |
+
text-align: center;
|
1746 |
+
min-height: auto
|
1747 |
+
}
|
1748 |
+
|
1749 |
+
.w-Knowledgebase {
|
1750 |
+
color: #8e5cea
|
1751 |
+
}
|
1752 |
+
|
1753 |
+
.mec-view-all-articles a {
|
1754 |
+
margin: 30px 0 17px;
|
1755 |
+
display: inline-block;
|
1756 |
+
color: #fff!important;
|
1757 |
+
border-radius: 0;
|
1758 |
+
padding: 10px 24px;
|
1759 |
+
font-size: 12px;
|
1760 |
+
letter-spacing: 1px;
|
1761 |
+
font-weight: 600;
|
1762 |
+
background: #8e5cea;
|
1763 |
+
display: inline-block;
|
1764 |
+
text-transform: uppercase;
|
1765 |
+
transition: all .24s ease;
|
1766 |
+
-webkit-transition: all .24s ease
|
1767 |
+
}
|
1768 |
+
|
1769 |
+
.mec-view-all-articles a:hover {
|
1770 |
+
background-color: #222
|
1771 |
+
}
|
1772 |
+
|
1773 |
+
.w-box.upcoming-events .mec-event-article {
|
1774 |
+
margin-bottom: 22px;
|
1775 |
+
border-bottom: 1px solid #eee;
|
1776 |
+
padding-bottom: 16px
|
1777 |
+
}
|
1778 |
+
|
1779 |
+
.w-box.upcoming-events .mec-event-article .mec-event-date {
|
1780 |
+
font-size: 14px;
|
1781 |
+
color: #666
|
1782 |
+
}
|
1783 |
+
|
1784 |
+
.w-box.upcoming-events .mec-event-article .mec-event-date span {
|
1785 |
+
font-weight: 600;
|
1786 |
+
margin-right: 4px
|
1787 |
+
}
|
1788 |
+
|
1789 |
+
.w-box.upcoming-events .mec-event-article h4.mec-event-title {
|
1790 |
+
margin: 0;
|
1791 |
+
font-size: 15px
|
1792 |
+
}
|
1793 |
+
|
1794 |
+
.w-box.upcoming-events .mec-event-article .mec-event-detail {
|
1795 |
+
font-size: 13px;
|
1796 |
+
color: #999
|
1797 |
+
}
|
1798 |
+
|
1799 |
+
.w-box.upcoming-events .mec-event-article .mec-detail-button {
|
1800 |
+
font-size: 10px;
|
1801 |
+
font-weight: 600;
|
1802 |
+
letter-spacing: 1px;
|
1803 |
+
padding: 4px 12px;
|
1804 |
+
background: #f2f2f2;
|
1805 |
+
float: right
|
1806 |
+
}
|
1807 |
+
|
1808 |
+
.w-box.total-bookings ul li {
|
1809 |
+
display: inline-block;
|
1810 |
+
padding: 4px 12px;
|
1811 |
+
background: #f1f1f1;
|
1812 |
+
margin-right: 5px;
|
1813 |
+
border-radius: 3px
|
1814 |
+
}
|
1815 |
+
|
1816 |
+
.w-box.total-bookings ul li.selected {
|
1817 |
+
background: #fff;
|
1818 |
+
border: 1px solid #e9e9e9
|
1819 |
+
}
|
1820 |
+
|
1821 |
+
.info-msg,.mec-error,.mec-success,.warning-msg {
|
1822 |
+
margin: 10px 0;
|
1823 |
+
padding: 10px;
|
1824 |
+
border-radius: 3px 3px 3px 3px
|
1825 |
+
}
|
1826 |
+
|
1827 |
+
.info-msg {
|
1828 |
+
color: #059;
|
1829 |
+
background-color: #bef
|
1830 |
+
}
|
1831 |
+
|
1832 |
+
.info-msg-link {
|
1833 |
+
background: #fff;
|
1834 |
+
padding: 4px 12px 6px;
|
1835 |
+
border-radius: 3px;
|
1836 |
+
line-height: 1;
|
1837 |
+
font-weight: 600;
|
1838 |
+
color: #008aff
|
1839 |
+
}
|
1840 |
+
|
1841 |
+
.mec-success {
|
1842 |
+
color: #270;
|
1843 |
+
background-color: #dff2bf
|
1844 |
+
}
|
1845 |
+
|
1846 |
+
.warning-msg {
|
1847 |
+
color: #9f6000;
|
1848 |
+
background-color: #feefb3
|
1849 |
+
}
|
1850 |
+
|
1851 |
+
.mec-error {
|
1852 |
+
color: #d8000c;
|
1853 |
+
background-color: #ffbaba
|
1854 |
+
}
|
1855 |
+
|
1856 |
+
.mec-certain-day>div,.mec-select-deselect-actions li,.mec-xi-facebook-import-events .mec-select-deselect-actions li,.mec-xi-google-import-events .mec-select-deselect-actions li {
|
1857 |
+
display: inline-block;
|
1858 |
+
position: relative;
|
1859 |
+
outline: 0;
|
1860 |
+
background: #fff;
|
1861 |
+
border: 1px solid #e2e2e2;
|
1862 |
+
border-radius: 50px;
|
1863 |
+
padding: 11px 21px 11px 21px;
|
1864 |
+
line-height: 1;
|
1865 |
+
font-size: 11px;
|
1866 |
+
font-weight: 600;
|
1867 |
+
color: #444;
|
1868 |
+
letter-spacing: 2px;
|
1869 |
+
height: auto;
|
1870 |
+
cursor: pointer;
|
1871 |
+
margin-top: 5px;
|
1872 |
+
text-transform: uppercase;
|
1873 |
+
box-shadow: 0 0 3px rgba(0,0,0,.03)
|
1874 |
+
}
|
1875 |
+
|
1876 |
+
.mec-certain-day>div:hover,.mec-select-deselect-actions li:hover,.mec-xi-facebook-import-events .mec-select-deselect-actions li:hover,.mec-xi-google-import-events .mec-select-deselect-actions li:hover {
|
1877 |
+
border-color: #008aff;
|
1878 |
+
box-shadow: 0 0 7px rgba(0,0,0,.1)
|
1879 |
+
}
|
1880 |
+
|
1881 |
+
.mec-not-in-days-remove {
|
1882 |
+
border: 1px solid #f99170;
|
1883 |
+
border-radius: 20px;
|
1884 |
+
padding: 0 0 0 2px;
|
1885 |
+
color: #f99170
|
1886 |
+
}
|
1887 |
+
|
1888 |
+
.mec-xi-facebook-import-events .mec-success,.mec-xi-google-import-events .mec-success {
|
1889 |
+
width: 460px
|
1890 |
+
}
|
1891 |
+
|
1892 |
+
.mec-xi-facebook-import-events .mec-select-deselect-actions li,.mec-xi-google-import-events .mec-select-deselect-actions li {
|
1893 |
+
display: inline-block;
|
1894 |
+
cursor: pointer
|
1895 |
+
}
|
1896 |
+
|
1897 |
+
.lity-content>div {
|
1898 |
+
overflow: auto
|
1899 |
+
}
|
1900 |
+
|
1901 |
+
.mce-mec-mce-items {
|
1902 |
+
text-transform: capitalize!important
|
1903 |
+
}
|
1904 |
+
|
1905 |
+
#mec_setting_contextual li {
|
1906 |
+
list-style: none!important;
|
1907 |
+
font-size: 12px;
|
1908 |
+
margin: 0;
|
1909 |
+
padding: 6px
|
1910 |
+
}
|
1911 |
+
|
1912 |
+
.mec-bbf-field-container {
|
1913 |
+
margin-bottom: 10px
|
1914 |
+
}
|
1915 |
+
|
1916 |
+
.mec-bbf-field-container label {
|
1917 |
+
display: block
|
1918 |
+
}
|
1919 |
+
|
1920 |
+
.kc-components ul.kc-components-list li .cpicon.mec-kingcomposer-icon,.kc-element-icon .cpicon.mec-kingcomposer-icon {
|
1921 |
+
background: url(../img/ico-mec-vc.png) no-repeat center center;
|
1922 |
+
background-size: auto;
|
1923 |
+
background-repeat: no-repeat
|
1924 |
+
}
|
1925 |
+
|
1926 |
+
.mec-archive-skinsm.mec-category-skins,.mec-carousel-archive-link,.mec-carousel-head-text,.mec-toggle-month-divider {
|
1927 |
+
display: none
|
1928 |
+
}
|
1929 |
+
|
1930 |
+
span.mec-archive-skins,span.mec-category-skins {
|
1931 |
+
margin-left: 10px;
|
1932 |
+
vertical-align: text-bottom
|
1933 |
+
}
|
1934 |
+
|
1935 |
+
.mec-archive-skins input,.mec-archive-skins select,.mec-category-skins input,.mec-category-skins select {
|
1936 |
+
min-width: 225px;
|
1937 |
+
vertical-align: baseline
|
1938 |
+
}
|
1939 |
+
|
1940 |
+
#mec_settings_default_skin_archive,#mec_settings_default_skin_category {
|
1941 |
+
min-width: 225px
|
1942 |
+
}
|
1943 |
+
|
1944 |
+
.w-welcome p span {
|
1945 |
+
background: #fff;
|
1946 |
+
padding: 4px 10px
|
1947 |
+
}
|
1948 |
+
|
1949 |
+
#mec_masonry_skin_options_container .mec-form-row .description {
|
1950 |
+
margin-left: 0;
|
1951 |
+
padding-left: 0;
|
1952 |
+
border: none;
|
1953 |
+
margin-top: -4px
|
1954 |
+
}
|
1955 |
+
|
1956 |
+
@media (max-width: 1280px) {
|
1957 |
+
span.mec-archive-skins,span.mec-category-skins {
|
1958 |
+
margin-left:0
|
1959 |
+
}
|
1960 |
+
}
|
1961 |
+
|
1962 |
+
/*!
|
1963 |
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
1964 |
* Copyright 2011-2016 Twitter, Inc.
|
1965 |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
1966 |
*/
|
1967 |
+
#webnus-dashboard button,#webnus-dashboard input,#webnus-dashboard select,#webnus-dashboard textarea {
|
1968 |
+
font-family: inherit;
|
1969 |
+
font-size: inherit;
|
1970 |
+
line-height: inherit
|
1971 |
+
}
|
1972 |
+
|
1973 |
+
#webnus-dashboard a {
|
1974 |
+
color: #337ab7;
|
1975 |
+
text-decoration: none
|
1976 |
+
}
|
1977 |
+
|
1978 |
+
#webnus-dashboard a:focus,#webnus-dashboard a:hover {
|
1979 |
+
color: #23527c
|
1980 |
+
}
|
1981 |
+
|
1982 |
+
#webnus-dashboard a:focus {
|
1983 |
+
outline: -webkit-focus-ring-color auto 5px;
|
1984 |
+
outline-offset: -2px
|
1985 |
+
}
|
1986 |
+
|
1987 |
+
#webnus-dashboard figure {
|
1988 |
+
margin: 0
|
1989 |
+
}
|
1990 |
+
|
1991 |
+
#webnus-dashboard img {
|
1992 |
+
vertical-align: middle
|
1993 |
+
}
|
1994 |
+
|
1995 |
+
.w-img-responsive {
|
1996 |
+
display: block;
|
1997 |
+
max-width: 100%;
|
1998 |
+
height: auto
|
1999 |
+
}
|
2000 |
+
|
2001 |
+
.w-img-rounded {
|
2002 |
+
border-radius: 6px
|
2003 |
+
}
|
2004 |
+
|
2005 |
+
.w-img-thumbnail {
|
2006 |
+
padding: 4px;
|
2007 |
+
line-height: 1w-42857143;
|
2008 |
+
background-color: #fff;
|
2009 |
+
border: 1px solid #ddd;
|
2010 |
+
border-radius: 4px;
|
2011 |
+
-webkit-transition: all 0w-2s ease-in-out;
|
2012 |
+
-o-transition: all 0w-2s ease-in-out;
|
2013 |
+
transition: all 0w-2s ease-in-out;
|
2014 |
+
display: inline-block;
|
2015 |
+
max-width: 100%;
|
2016 |
+
height: auto
|
2017 |
+
}
|
2018 |
+
|
2019 |
+
.w-img-circle {
|
2020 |
+
border-radius: 50%
|
2021 |
+
}
|
2022 |
+
|
2023 |
+
hr {
|
2024 |
+
margin-top: 20px;
|
2025 |
+
margin-bottom: 20px;
|
2026 |
+
border: 0;
|
2027 |
+
border-top: 1px solid #eee
|
2028 |
+
}
|
2029 |
+
|
2030 |
+
.w-sr-only {
|
2031 |
+
position: absolute;
|
2032 |
+
width: 1px;
|
2033 |
+
height: 1px;
|
2034 |
+
margin: -1px;
|
2035 |
+
padding: 0;
|
2036 |
+
overflow: hidden;
|
2037 |
+
clip: rect(0,0,0,0);
|
2038 |
+
border: 0
|
2039 |
+
}
|
2040 |
+
|
2041 |
+
.w-sr-only-focusable:active,.w-sr-only-focusable:focus {
|
2042 |
+
position: static;
|
2043 |
+
width: auto;
|
2044 |
+
height: auto;
|
2045 |
+
margin: 0;
|
2046 |
+
overflow: visible;
|
2047 |
+
clip: auto
|
2048 |
+
}
|
2049 |
+
|
2050 |
+
.w-container,.w-container-fluid {
|
2051 |
+
margin-right: auto;
|
2052 |
+
margin-left: auto;
|
2053 |
+
padding-left: 15px;
|
2054 |
+
padding-right: 15px
|
2055 |
+
}
|
2056 |
+
|
2057 |
+
[role=button] {
|
2058 |
+
cursor: pointer
|
2059 |
+
}
|
2060 |
+
|
2061 |
+
@media (min-width: 768px) {
|
2062 |
+
.w-container {
|
2063 |
+
width:750px
|
2064 |
+
}
|
2065 |
+
}
|
2066 |
+
|
2067 |
+
@media (min-width: 992px) {
|
2068 |
+
.w-container {
|
2069 |
+
width:970px
|
2070 |
+
}
|
2071 |
+
}
|
2072 |
+
|
2073 |
+
@media (min-width: 1200px) {
|
2074 |
+
.w-container {
|
2075 |
+
width:1170px
|
2076 |
+
}
|
2077 |
+
}
|
2078 |
+
|
2079 |
+
.w-row {
|
2080 |
+
margin-left: -15px;
|
2081 |
+
margin-right: -15px
|
2082 |
+
}
|
2083 |
+
|
2084 |
+
.w-col-lg-1,.w-col-lg-10,.w-col-lg-11,.w-col-lg-12,.w-col-lg-2,.w-col-lg-3,.w-col-lg-4,.w-col-lg-5,.w-col-lg-6,.w-col-lg-7,.w-col-lg-8,.w-col-lg-9,.w-col-md-1,.w-col-md-10,.w-col-md-11,.w-col-md-12,.w-col-md-2,.w-col-md-3,.w-col-md-4,.w-col-md-5,.w-col-md-6,.w-col-md-7,.w-col-md-8,.w-col-md-9,.w-col-sm-1,.w-col-sm-10,.w-col-sm-11,.w-col-sm-12,.w-col-sm-2,.w-col-sm-3,.w-col-sm-4,.w-col-sm-5,.w-col-sm-6,.w-col-sm-7,.w-col-sm-8,.w-col-sm-9,.w-col-xs-1,.w-col-xs-10,.w-col-xs-11,.w-col-xs-12,.w-col-xs-2,.w-col-xs-3,.w-col-xs-4,.w-col-xs-5,.w-col-xs-6,.w-col-xs-7,.w-col-xs-8,.w-col-xs-9 {
|
2085 |
+
position: relative;
|
2086 |
+
min-height: 1px;
|
2087 |
+
padding-left: 15px;
|
2088 |
+
padding-right: 15px
|
2089 |
+
}
|
2090 |
+
|
2091 |
+
.w-col-xs-1,.w-col-xs-10,.w-col-xs-11,.w-col-xs-12,.w-col-xs-2,.w-col-xs-3,.w-col-xs-4,.w-col-xs-5,.w-col-xs-6,.w-col-xs-7,.w-col-xs-8,.w-col-xs-9 {
|
2092 |
+
float: left
|
2093 |
+
}
|
2094 |
+
|
2095 |
+
.w-col-xs-12 {
|
2096 |
+
width: 100%
|
2097 |
+
}
|
2098 |
+
|
2099 |
+
.w-col-xs-11 {
|
2100 |
+
width: 91.66666667%
|
2101 |
+
}
|
2102 |
+
|
2103 |
+
.w-col-xs-10 {
|
2104 |
+
width: 83.33333333%
|
2105 |
+
}
|
2106 |
+
|
2107 |
+
.w-col-xs-9 {
|
2108 |
+
width: 75%
|
2109 |
+
}
|
2110 |
+
|
2111 |
+
.w-col-xs-8 {
|
2112 |
+
width: 66.66666667%
|
2113 |
+
}
|
2114 |
+
|
2115 |
+
.w-col-xs-7 {
|
2116 |
+
width: 58.33333333%
|
2117 |
+
}
|
2118 |
+
|
2119 |
+
.w-col-xs-6 {
|
2120 |
+
width: 50%
|
2121 |
+
}
|
2122 |
+
|
2123 |
+
.w-col-xs-5 {
|
2124 |
+
width: 41.66666667%
|
2125 |
+
}
|
2126 |
+
|
2127 |
+
.w-col-xs-4 {
|
2128 |
+
width: 33.33333333%
|
2129 |
+
}
|
2130 |
+
|
2131 |
+
.w-col-xs-3 {
|
2132 |
+
width: 25%
|
2133 |
+
}
|
2134 |
+
|
2135 |
+
.w-col-xs-2 {
|
2136 |
+
width: 16.66666667%
|
2137 |
+
}
|
2138 |
+
|
2139 |
+
.w-col-xs-1 {
|
2140 |
+
width: 8w-33333333%
|
2141 |
+
}
|
2142 |
+
|
2143 |
+
.w-col-xs-pull-12 {
|
2144 |
+
right: 100%
|
2145 |
+
}
|
2146 |
+
|
2147 |
+
.w-col-xs-pull-11 {
|
2148 |
+
right: 91.66666667%
|
2149 |
+
}
|
2150 |
+
|
2151 |
+
.w-col-xs-pull-10 {
|
2152 |
+
right: 83.33333333%
|
2153 |
+
}
|
2154 |
+
|
2155 |
+
.w-col-xs-pull-9 {
|
2156 |
+
right: 75%
|
2157 |
+
}
|
2158 |
+
|
2159 |
+
.w-col-xs-pull-8 {
|
2160 |
+
right: 66.66666667%
|
2161 |
+
}
|
2162 |
+
|
2163 |
+
.w-col-xs-pull-7 {
|
2164 |
+
right: 58.33333333%
|
2165 |
+
}
|
2166 |
+
|
2167 |
+
.w-col-xs-pull-6 {
|
2168 |
+
right: 50%
|
2169 |
+
}
|
2170 |
+
|
2171 |
+
.w-col-xs-pull-5 {
|
2172 |
+
right: 41.66666667%
|
2173 |
+
}
|
2174 |
+
|
2175 |
+
.w-col-xs-pull-4 {
|
2176 |
+
right: 33.33333333%
|
2177 |
+
}
|
2178 |
+
|
2179 |
+
.w-col-xs-pull-3 {
|
2180 |
+
right: 25%
|
2181 |
+
}
|
2182 |
+
|
2183 |
+
.w-col-xs-pull-2 {
|
2184 |
+
right: 16.66666667%
|
2185 |
+
}
|
2186 |
+
|
2187 |
+
.w-col-xs-pull-1 {
|
2188 |
+
right: 8w-33333333%
|
2189 |
+
}
|
2190 |
+
|
2191 |
+
.w-col-xs-pull-0 {
|
2192 |
+
right: auto
|
2193 |
+
}
|
2194 |
+
|
2195 |
+
.w-col-xs-push-12 {
|
2196 |
+
left: 100%
|
2197 |
+
}
|
2198 |
+
|
2199 |
+
.w-col-xs-push-11 {
|
2200 |
+
left: 91.66666667%
|
2201 |
+
}
|
2202 |
+
|
2203 |
+
.w-col-xs-push-10 {
|
2204 |
+
left: 83.33333333%
|
2205 |
+
}
|
2206 |
+
|
2207 |
+
.w-col-xs-push-9 {
|
2208 |
+
left: 75%
|
2209 |
+
}
|
2210 |
+
|
2211 |
+
.w-col-xs-push-8 {
|
2212 |
+
left: 66.66666667%
|
2213 |
+
}
|
2214 |
+
|
2215 |
+
.w-col-xs-push-7 {
|
2216 |
+
left: 58.33333333%
|
2217 |
+
}
|
2218 |
+
|
2219 |
+
.w-col-xs-push-6 {
|
2220 |
+
left: 50%
|
2221 |
+
}
|
2222 |
+
|
2223 |
+
.w-col-xs-push-5 {
|
2224 |
+
left: 41.66666667%
|
2225 |
+
}
|
2226 |
+
|
2227 |
+
.w-col-xs-push-4 {
|
2228 |
+
left: 33.33333333%
|
2229 |
+
}
|
2230 |
+
|
2231 |
+
.w-col-xs-push-3 {
|
2232 |
+
left: 25%
|
2233 |
+
}
|
2234 |
+
|
2235 |
+
.w-col-xs-push-2 {
|
2236 |
+
left: 16.66666667%
|
2237 |
+
}
|
2238 |
+
|
2239 |
+
.w-col-xs-push-1 {
|
2240 |
+
left: 8w-33333333%
|
2241 |
+
}
|
2242 |
+
|
2243 |
+
.w-col-xs-push-0 {
|
2244 |
+
left: auto
|
2245 |
+
}
|
2246 |
+
|
2247 |
+
.w-col-xs-offset-12 {
|
2248 |
+
margin-left: 100%
|
2249 |
+
}
|
2250 |
+
|
2251 |
+
.w-col-xs-offset-11 {
|
2252 |
+
margin-left: 91.66666667%
|
2253 |
+
}
|
2254 |
+
|
2255 |
+
.w-col-xs-offset-10 {
|
2256 |
+
margin-left: 83.33333333%
|
2257 |
+
}
|
2258 |
+
|
2259 |
+
.w-col-xs-offset-9 {
|
2260 |
+
margin-left: 75%
|
2261 |
+
}
|
2262 |
+
|
2263 |
+
.w-col-xs-offset-8 {
|
2264 |
+
margin-left: 66.66666667%
|
2265 |
+
}
|
2266 |
+
|
2267 |
+
.w-col-xs-offset-7 {
|
2268 |
+
margin-left: 58.33333333%
|
2269 |
+
}
|
2270 |
+
|
2271 |
+
.w-col-xs-offset-6 {
|
2272 |
+
margin-left: 50%
|
2273 |
+
}
|
2274 |
+
|
2275 |
+
.w-col-xs-offset-5 {
|
2276 |
+
margin-left: 41.66666667%
|
2277 |
+
}
|
2278 |
+
|
2279 |
+
.w-col-xs-offset-4 {
|
2280 |
+
margin-left: 33.33333333%
|
2281 |
+
}
|
2282 |
+
|
2283 |
+
.w-col-xs-offset-3 {
|
2284 |
+
margin-left: 25%
|
2285 |
+
}
|
2286 |
+
|
2287 |
+
.w-col-xs-offset-2 {
|
2288 |
+
margin-left: 16.66666667%
|
2289 |
+
}
|
2290 |
+
|
2291 |
+
.w-col-xs-offset-1 {
|
2292 |
+
margin-left: 8w-33333333%
|
2293 |
+
}
|
2294 |
+
|
2295 |
+
.w-col-xs-offset-0 {
|
2296 |
+
margin-left: 0
|
2297 |
+
}
|
2298 |
+
|
2299 |
+
@media (min-width: 768px) {
|
2300 |
+
.w-col-sm-1,.w-col-sm-10,.w-col-sm-11,.w-col-sm-12,.w-col-sm-2,.w-col-sm-3,.w-col-sm-4,.w-col-sm-5,.w-col-sm-6,.w-col-sm-7,.w-col-sm-8,.w-col-sm-9 {
|
2301 |
+
float:left
|
2302 |
+
}
|
2303 |
+
|
2304 |
+
.w-col-sm-12 {
|
2305 |
+
width: 100%
|
2306 |
+
}
|
2307 |
+
|
2308 |
+
.w-col-sm-11 {
|
2309 |
+
width: 91.66666667%
|
2310 |
+
}
|
2311 |
+
|
2312 |
+
.w-col-sm-10 {
|
2313 |
+
width: 83.33333333%
|
2314 |
+
}
|
2315 |
+
|
2316 |
+
.w-col-sm-9 {
|
2317 |
+
width: 75%
|
2318 |
+
}
|
2319 |
+
|
2320 |
+
.w-col-sm-8 {
|
2321 |
+
width: 66.66666667%
|
2322 |
+
}
|
2323 |
+
|
2324 |
+
.w-col-sm-7 {
|
2325 |
+
width: 58.33333333%
|
2326 |
+
}
|
2327 |
+
|
2328 |
+
.w-col-sm-6 {
|
2329 |
+
width: 50%
|
2330 |
+
}
|
2331 |
+
|
2332 |
+
.w-col-sm-5 {
|
2333 |
+
width: 41.66666667%
|
2334 |
+
}
|
2335 |
+
|
2336 |
+
.w-col-sm-4 {
|
2337 |
+
width: 33.33333333%
|
2338 |
+
}
|
2339 |
+
|
2340 |
+
.w-col-sm-3 {
|
2341 |
+
width: 25%
|
2342 |
+
}
|
2343 |
+
|
2344 |
+
.w-col-sm-2 {
|
2345 |
+
width: 16.66666667%
|
2346 |
+
}
|
2347 |
+
|
2348 |
+
.w-col-sm-1 {
|
2349 |
+
width: 8w-33333333%
|
2350 |
+
}
|
2351 |
+
|
2352 |
+
.w-col-sm-pull-12 {
|
2353 |
+
right: 100%
|
2354 |
+
}
|
2355 |
+
|
2356 |
+
.w-col-sm-pull-11 {
|
2357 |
+
right: 91.66666667%
|
2358 |
+
}
|
2359 |
+
|
2360 |
+
.w-col-sm-pull-10 {
|
2361 |
+
right: 83.33333333%
|
2362 |
+
}
|
2363 |
+
|
2364 |
+
.w-col-sm-pull-9 {
|
2365 |
+
right: 75%
|
2366 |
+
}
|
2367 |
+
|
2368 |
+
.w-col-sm-pull-8 {
|
2369 |
+
right: 66.66666667%
|
2370 |
+
}
|
2371 |
+
|
2372 |
+
.w-col-sm-pull-7 {
|
2373 |
+
right: 58.33333333%
|
2374 |
+
}
|
2375 |
+
|
2376 |
+
.w-col-sm-pull-6 {
|
2377 |
+
right: 50%
|
2378 |
+
}
|
2379 |
+
|
2380 |
+
.w-col-sm-pull-5 {
|
2381 |
+
right: 41.66666667%
|
2382 |
+
}
|
2383 |
+
|
2384 |
+
.w-col-sm-pull-4 {
|
2385 |
+
right: 33.33333333%
|
2386 |
+
}
|
2387 |
+
|
2388 |
+
.w-col-sm-pull-3 {
|
2389 |
+
right: 25%
|
2390 |
+
}
|
2391 |
+
|
2392 |
+
.w-col-sm-pull-2 {
|
2393 |
+
right: 16.66666667%
|
2394 |
+
}
|
2395 |
+
|
2396 |
+
.w-col-sm-pull-1 {
|
2397 |
+
right: 8w-33333333%
|
2398 |
+
}
|
2399 |
+
|
2400 |
+
.w-col-sm-pull-0 {
|
2401 |
+
right: auto
|
2402 |
+
}
|
2403 |
+
|
2404 |
+
.w-col-sm-push-12 {
|
2405 |
+
left: 100%
|
2406 |
+
}
|
2407 |
+
|
2408 |
+
.w-col-sm-push-11 {
|
2409 |
+
left: 91.66666667%
|
2410 |
+
}
|
2411 |
+
|
2412 |
+
.w-col-sm-push-10 {
|
2413 |
+
left: 83.33333333%
|
2414 |
+
}
|
2415 |
+
|
2416 |
+
.w-col-sm-push-9 {
|
2417 |
+
left: 75%
|
2418 |
+
}
|
2419 |
+
|
2420 |
+
.w-col-sm-push-8 {
|
2421 |
+
left: 66.66666667%
|
2422 |
+
}
|
2423 |
+
|
2424 |
+
.w-col-sm-push-7 {
|
2425 |
+
left: 58.33333333%
|
2426 |
+
}
|
2427 |
+
|
2428 |
+
.w-col-sm-push-6 {
|
2429 |
+
left: 50%
|
2430 |
+
}
|
2431 |
+
|
2432 |
+
.w-col-sm-push-5 {
|
2433 |
+
left: 41.66666667%
|
2434 |
+
}
|
2435 |
+
|
2436 |
+
.w-col-sm-push-4 {
|
2437 |
+
left: 33.33333333%
|
2438 |
+
}
|
2439 |
+
|
2440 |
+
.w-col-sm-push-3 {
|
2441 |
+
left: 25%
|
2442 |
+
}
|
2443 |
+
|
2444 |
+
.w-col-sm-push-2 {
|
2445 |
+
left: 16.66666667%
|
2446 |
+
}
|
2447 |
+
|
2448 |
+
.w-col-sm-push-1 {
|
2449 |
+
left: 8w-33333333%
|
2450 |
+
}
|
2451 |
+
|
2452 |
+
.w-col-sm-push-0 {
|
2453 |
+
left: auto
|
2454 |
+
}
|
2455 |
+
|
2456 |
+
.w-col-sm-offset-12 {
|
2457 |
+
margin-left: 100%
|
2458 |
+
}
|
2459 |
+
|
2460 |
+
.w-col-sm-offset-11 {
|
2461 |
+
margin-left: 91.66666667%
|
2462 |
+
}
|
2463 |
+
|
2464 |
+
.w-col-sm-offset-10 {
|
2465 |
+
margin-left: 83.33333333%
|
2466 |
+
}
|
2467 |
+
|
2468 |
+
.w-col-sm-offset-9 {
|
2469 |
+
margin-left: 75%
|
2470 |
+
}
|
2471 |
+
|
2472 |
+
.w-col-sm-offset-8 {
|
2473 |
+
margin-left: 66.66666667%
|
2474 |
+
}
|
2475 |
+
|
2476 |
+
.w-col-sm-offset-7 {
|
2477 |
+
margin-left: 58.33333333%
|
2478 |
+
}
|
2479 |
+
|
2480 |
+
.w-col-sm-offset-6 {
|
2481 |
+
margin-left: 50%
|
2482 |
+
}
|
2483 |
+
|
2484 |
+
.w-col-sm-offset-5 {
|
2485 |
+
margin-left: 41.66666667%
|
2486 |
+
}
|
2487 |
+
|
2488 |
+
.w-col-sm-offset-4 {
|
2489 |
+
margin-left: 33.33333333%
|
2490 |
+
}
|
2491 |
+
|
2492 |
+
.w-col-sm-offset-3 {
|
2493 |
+
margin-left: 25%
|
2494 |
+
}
|
2495 |
+
|
2496 |
+
.w-col-sm-offset-2 {
|
2497 |
+
margin-left: 16.66666667%
|
2498 |
+
}
|
2499 |
+
|
2500 |
+
.w-col-sm-offset-1 {
|
2501 |
+
margin-left: 8w-33333333%
|
2502 |
+
}
|
2503 |
+
|
2504 |
+
.w-col-sm-offset-0 {
|
2505 |
+
margin-left: 0
|
2506 |
+
}
|
2507 |
+
}
|
2508 |
+
|
2509 |
+
@media (min-width: 992px) {
|
2510 |
+
.w-col-md-1,.w-col-md-10,.w-col-md-11,.w-col-md-12,.w-col-md-2,.w-col-md-3,.w-col-md-4,.w-col-md-5,.w-col-md-6,.w-col-md-7,.w-col-md-8,.w-col-md-9 {
|
2511 |
+
float:left
|
2512 |
+
}
|
2513 |
+
|
2514 |
+
.w-col-md-12 {
|
2515 |
+
width: 100%
|
2516 |
+
}
|
2517 |
+
|
2518 |
+
.w-col-md-11 {
|
2519 |
+
width: 91.66666667%
|
2520 |
+
}
|
2521 |
+
|
2522 |
+
.w-col-md-10 {
|
2523 |
+
width: 83.33333333%
|
2524 |
+
}
|
2525 |
+
|
2526 |
+
.w-col-md-9 {
|
2527 |
+
width: 75%
|
2528 |
+
}
|
2529 |
+
|
2530 |
+
.w-col-md-8 {
|
2531 |
+
width: 66.66666667%
|
2532 |
+
}
|
2533 |
+
|
2534 |
+
.w-col-md-7 {
|
2535 |
+
width: 58.33333333%
|
2536 |
+
}
|
2537 |
+
|
2538 |
+
.w-col-md-6 {
|
2539 |
+
width: 50%
|
2540 |
+
}
|
2541 |
+
|
2542 |
+
.w-col-md-5 {
|
2543 |
+
width: 41.66666667%
|
2544 |
+
}
|
2545 |
+
|
2546 |
+
.w-col-md-4 {
|
2547 |
+
width: 33.33333333%
|
2548 |
+
}
|
2549 |
+
|
2550 |
+
.w-col-md-3 {
|
2551 |
+
width: 25%
|
2552 |
+
}
|
2553 |
+
|
2554 |
+
.w-col-md-2 {
|
2555 |
+
width: 16.66666667%
|
2556 |
+
}
|
2557 |
+
|
2558 |
+
.w-col-md-1 {
|
2559 |
+
width: 8w-33333333%
|
2560 |
+
}
|
2561 |
+
|
2562 |
+
.w-col-md-pull-12 {
|
2563 |
+
right: 100%
|
2564 |
+
}
|
2565 |
+
|
2566 |
+
.w-col-md-pull-11 {
|
2567 |
+
right: 91.66666667%
|
2568 |
+
}
|
2569 |
+
|
2570 |
+
.w-col-md-pull-10 {
|
2571 |
+
right: 83.33333333%
|
2572 |
+
}
|
2573 |
+
|
2574 |
+
.w-col-md-pull-9 {
|
2575 |
+
right: 75%
|
2576 |
+
}
|
2577 |
+
|
2578 |
+
.w-col-md-pull-8 {
|
2579 |
+
right: 66.66666667%
|
2580 |
+
}
|
2581 |
+
|
2582 |
+
.w-col-md-pull-7 {
|
2583 |
+
right: 58.33333333%
|
2584 |
+
}
|
2585 |
+
|
2586 |
+
.w-col-md-pull-6 {
|
2587 |
+
right: 50%
|
2588 |
+
}
|
2589 |
+
|
2590 |
+
.w-col-md-pull-5 {
|
2591 |
+
right: 41.66666667%
|
2592 |
+
}
|
2593 |
+
|
2594 |
+
.w-col-md-pull-4 {
|
2595 |
+
right: 33.33333333%
|
2596 |
+
}
|
2597 |
+
|
2598 |
+
.w-col-md-pull-3 {
|
2599 |
+
right: 25%
|
2600 |
+
}
|
2601 |
+
|
2602 |
+
.w-col-md-pull-2 {
|
2603 |
+
right: 16.66666667%
|
2604 |
+
}
|
2605 |
+
|
2606 |
+
.w-col-md-pull-1 {
|
2607 |
+
right: 8w-33333333%
|
2608 |
+
}
|
2609 |
+
|
2610 |
+
.w-col-md-pull-0 {
|
2611 |
+
right: auto
|
2612 |
+
}
|
2613 |
+
|
2614 |
+
.w-col-md-push-12 {
|
2615 |
+
left: 100%
|
2616 |
+
}
|
2617 |
+
|
2618 |
+
.w-col-md-push-11 {
|
2619 |
+
left: 91.66666667%
|
2620 |
+
}
|
2621 |
+
|
2622 |
+
.w-col-md-push-10 {
|
2623 |
+
left: 83.33333333%
|
2624 |
+
}
|
2625 |
+
|
2626 |
+
.w-col-md-push-9 {
|
2627 |
+
left: 75%
|
2628 |
+
}
|
2629 |
+
|
2630 |
+
.w-col-md-push-8 {
|
2631 |
+
left: 66.66666667%
|
2632 |
+
}
|
2633 |
+
|
2634 |
+
.w-col-md-push-7 {
|
2635 |
+
left: 58.33333333%
|
2636 |
+
}
|
2637 |
+
|
2638 |
+
.w-col-md-push-6 {
|
2639 |
+
left: 50%
|
2640 |
+
}
|
2641 |
+
|
2642 |
+
.w-col-md-push-5 {
|
2643 |
+
left: 41.66666667%
|
2644 |
+
}
|
2645 |
+
|
2646 |
+
.w-col-md-push-4 {
|
2647 |
+
left: 33.33333333%
|
2648 |
+
}
|
2649 |
+
|
2650 |
+
.w-col-md-push-3 {
|
2651 |
+
left: 25%
|
2652 |
+
}
|
2653 |
+
|
2654 |
+
.w-col-md-push-2 {
|
2655 |
+
left: 16.66666667%
|
2656 |
+
}
|
2657 |
+
|
2658 |
+
.w-col-md-push-1 {
|
2659 |
+
left: 8w-33333333%
|
2660 |
+
}
|
2661 |
+
|
2662 |
+
.w-col-md-push-0 {
|
2663 |
+
left: auto
|
2664 |
+
}
|
2665 |
+
|
2666 |
+
.w-col-md-offset-12 {
|
2667 |
+
margin-left: 100%
|
2668 |
+
}
|
2669 |
+
|
2670 |
+
.w-col-md-offset-11 {
|
2671 |
+
margin-left: 91.66666667%
|
2672 |
+
}
|
2673 |
+
|
2674 |
+
.w-col-md-offset-10 {
|
2675 |
+
margin-left: 83.33333333%
|
2676 |
+
}
|
2677 |
+
|
2678 |
+
.w-col-md-offset-9 {
|
2679 |
+
margin-left: 75%
|
2680 |
+
}
|
2681 |
+
|
2682 |
+
.w-col-md-offset-8 {
|
2683 |
+
margin-left: 66.66666667%
|
2684 |
+
}
|
2685 |
+
|
2686 |
+
.w-col-md-offset-7 {
|
2687 |
+
margin-left: 58.33333333%
|
2688 |
+
}
|
2689 |
+
|
2690 |
+
.w-col-md-offset-6 {
|
2691 |
+
margin-left: 50%
|
2692 |
+
}
|
2693 |
+
|
2694 |
+
.w-col-md-offset-5 {
|
2695 |
+
margin-left: 41.66666667%
|
2696 |
+
}
|
2697 |
+
|
2698 |
+
.w-col-md-offset-4 {
|
2699 |
+
margin-left: 33.33333333%
|
2700 |
+
}
|
2701 |
+
|
2702 |
+
.w-col-md-offset-3 {
|
2703 |
+
margin-left: 25%
|
2704 |
+
}
|
2705 |
+
|
2706 |
+
.w-col-md-offset-2 {
|
2707 |
+
margin-left: 16.66666667%
|
2708 |
+
}
|
2709 |
+
|
2710 |
+
.w-col-md-offset-1 {
|
2711 |
+
margin-left: 8w-33333333%
|
2712 |
+
}
|
2713 |
+
|
2714 |
+
.w-col-md-offset-0 {
|
2715 |
+
margin-left: 0
|
2716 |
+
}
|
2717 |
+
}
|
2718 |
+
|
2719 |
+
@media (min-width: 1200px) {
|
2720 |
+
.w-col-lg-1,.w-col-lg-10,.w-col-lg-11,.w-col-lg-12,.w-col-lg-2,.w-col-lg-3,.w-col-lg-4,.w-col-lg-5,.w-col-lg-6,.w-col-lg-7,.w-col-lg-8,.w-col-lg-9 {
|
2721 |
+
float:left
|
2722 |
+
}
|
2723 |
+
|
2724 |
+
.w-col-lg-12 {
|
2725 |
+
width: 100%
|
2726 |
+
}
|
2727 |
+
|
2728 |
+
.w-col-lg-11 {
|
2729 |
+
width: 91.66666667%
|
2730 |
+
}
|
2731 |
+
|
2732 |
+
.w-col-lg-10 {
|
2733 |
+
width: 83.33333333%
|
2734 |
+
}
|
2735 |
+
|
2736 |
+
.w-col-lg-9 {
|
2737 |
+
width: 75%
|
2738 |
+
}
|
2739 |
+
|
2740 |
+
.w-col-lg-8 {
|
2741 |
+
width: 66.66666667%
|
2742 |
+
}
|
2743 |
+
|
2744 |
+
.w-col-lg-7 {
|
2745 |
+
width: 58.33333333%
|
2746 |
+
}
|
2747 |
+
|
2748 |
+
.w-col-lg-6 {
|
2749 |
+
width: 50%
|
2750 |
+
}
|
2751 |
+
|
2752 |
+
.w-col-lg-5 {
|
2753 |
+
width: 41.66666667%
|
2754 |
+
}
|
2755 |
+
|
2756 |
+
.w-col-lg-4 {
|
2757 |
+
width: 33.33333333%
|
2758 |
+
}
|
2759 |
+
|
2760 |
+
.w-col-lg-3 {
|
2761 |
+
width: 25%
|
2762 |
+
}
|
2763 |
+
|
2764 |
+
.w-col-lg-2 {
|
2765 |
+
width: 16.66666667%
|
2766 |
+
}
|
2767 |
+
|
2768 |
+
.w-col-lg-1 {
|
2769 |
+
width: 8w-33333333%
|
2770 |
+
}
|
2771 |
+
|
2772 |
+
.w-col-lg-pull-12 {
|
2773 |
+
right: 100%
|
2774 |
+
}
|
2775 |
+
|
2776 |
+
.w-col-lg-pull-11 {
|
2777 |
+
right: 91.66666667%
|
2778 |
+
}
|
2779 |
+
|
2780 |
+
.w-col-lg-pull-10 {
|
2781 |
+
right: 83.33333333%
|
2782 |
+
}
|
2783 |
+
|
2784 |
+
.w-col-lg-pull-9 {
|
2785 |
+
right: 75%
|
2786 |
+
}
|
2787 |
+
|
2788 |
+
.w-col-lg-pull-8 {
|
2789 |
+
right: 66.66666667%
|
2790 |
+
}
|
2791 |
+
|
2792 |
+
.w-col-lg-pull-7 {
|
2793 |
+
right: 58.33333333%
|
2794 |
+
}
|
2795 |
+
|
2796 |
+
.w-col-lg-pull-6 {
|
2797 |
+
right: 50%
|
2798 |
+
}
|
2799 |
+
|
2800 |
+
.w-col-lg-pull-5 {
|
2801 |
+
right: 41.66666667%
|
2802 |
+
}
|
2803 |
+
|
2804 |
+
.w-col-lg-pull-4 {
|
2805 |
+
right: 33.33333333%
|
2806 |
+
}
|
2807 |
+
|
2808 |
+
.w-col-lg-pull-3 {
|
2809 |
+
right: 25%
|
2810 |
+
}
|
2811 |
+
|
2812 |
+
.w-col-lg-pull-2 {
|
2813 |
+
right: 16.66666667%
|
2814 |
+
}
|
2815 |
+
|
2816 |
+
.w-col-lg-pull-1 {
|
2817 |
+
right: 8w-33333333%
|
2818 |
+
}
|
2819 |
+
|
2820 |
+
.w-col-lg-pull-0 {
|
2821 |
+
right: auto
|
2822 |
+
}
|
2823 |
+
|
2824 |
+
.w-col-lg-push-12 {
|
2825 |
+
left: 100%
|
2826 |
+
}
|
2827 |
+
|
2828 |
+
.w-col-lg-push-11 {
|
2829 |
+
left: 91.66666667%
|
2830 |
+
}
|
2831 |
+
|
2832 |
+
.w-col-lg-push-10 {
|
2833 |
+
left: 83.33333333%
|
2834 |
+
}
|
2835 |
+
|
2836 |
+
.w-col-lg-push-9 {
|
2837 |
+
left: 75%
|
2838 |
+
}
|
2839 |
+
|
2840 |
+
.w-col-lg-push-8 {
|
2841 |
+
left: 66.66666667%
|
2842 |
+
}
|
2843 |
+
|
2844 |
+
.w-col-lg-push-7 {
|
2845 |
+
left: 58.33333333%
|
2846 |
+
}
|
2847 |
+
|
2848 |
+
.w-col-lg-push-6 {
|
2849 |
+
left: 50%
|
2850 |
+
}
|
2851 |
+
|
2852 |
+
.w-col-lg-push-5 {
|
2853 |
+
left: 41.66666667%
|
2854 |
+
}
|
2855 |
+
|
2856 |
+
.w-col-lg-push-4 {
|
2857 |
+
left: 33.33333333%
|
2858 |
+
}
|
2859 |
+
|
2860 |
+
.w-col-lg-push-3 {
|
2861 |
+
left: 25%
|
2862 |
+
}
|
2863 |
+
|
2864 |
+
.w-col-lg-push-2 {
|
2865 |
+
left: 16.66666667%
|
2866 |
+
}
|
2867 |
+
|
2868 |
+
.w-col-lg-push-1 {
|
2869 |
+
left: 8w-33333333%
|
2870 |
+
}
|
2871 |
+
|
2872 |
+
.w-col-lg-push-0 {
|
2873 |
+
left: auto
|
2874 |
+
}
|
2875 |
+
|
2876 |
+
.w-col-lg-offset-12 {
|
2877 |
+
margin-left: 100%
|
2878 |
+
}
|
2879 |
+
|
2880 |
+
.w-col-lg-offset-11 {
|
2881 |
+
margin-left: 91.66666667%
|
2882 |
+
}
|
2883 |
+
|
2884 |
+
.w-col-lg-offset-10 {
|
2885 |
+
margin-left: 83.33333333%
|
2886 |
+
}
|
2887 |
+
|
2888 |
+
.w-col-lg-offset-9 {
|
2889 |
+
margin-left: 75%
|
2890 |
+
}
|
2891 |
+
|
2892 |
+
.w-col-lg-offset-8 {
|
2893 |
+
margin-left: 66.66666667%
|
2894 |
+
}
|
2895 |
+
|
2896 |
+
.w-col-lg-offset-7 {
|
2897 |
+
margin-left: 58.33333333%
|
2898 |
+
}
|
2899 |
+
|
2900 |
+
.w-col-lg-offset-6 {
|
2901 |
+
margin-left: 50%
|
2902 |
+
}
|
2903 |
+
|
2904 |
+
.w-col-lg-offset-5 {
|
2905 |
+
margin-left: 41.66666667%
|
2906 |
+
}
|
2907 |
+
|
2908 |
+
.w-col-lg-offset-4 {
|
2909 |
+
margin-left: 33.33333333%
|
2910 |
+
}
|
2911 |
+
|
2912 |
+
.w-col-lg-offset-3 {
|
2913 |
+
margin-left: 25%
|
2914 |
+
}
|
2915 |
+
|
2916 |
+
.w-col-lg-offset-2 {
|
2917 |
+
margin-left: 16.66666667%
|
2918 |
+
}
|
2919 |
+
|
2920 |
+
.w-col-lg-offset-1 {
|
2921 |
+
margin-left: 8w-33333333%
|
2922 |
+
}
|
2923 |
+
|
2924 |
+
.w-col-lg-offset-0 {
|
2925 |
+
margin-left: 0
|
2926 |
+
}
|
2927 |
+
}
|
2928 |
+
|
2929 |
+
.w-clearfix:after,.w-clearfix:before,.w-container-fluid:after,.w-container-fluid:before,.w-container:after,.w-container:before,.w-row:after,.w-row:before {
|
2930 |
+
content: " ";
|
2931 |
+
display: table
|
2932 |
+
}
|
2933 |
+
|
2934 |
+
.w-clearfix:after,.w-container-fluid:after,.w-container:after,.w-row:after {
|
2935 |
+
clear: both
|
2936 |
+
}
|
2937 |
+
|
2938 |
+
.w-center-block {
|
2939 |
+
display: block;
|
2940 |
+
margin-left: auto;
|
2941 |
+
margin-right: auto
|
2942 |
+
}
|
2943 |
+
|
2944 |
+
.w-pull-right {
|
2945 |
+
float: right!important
|
2946 |
+
}
|
2947 |
+
|
2948 |
+
.w-pull-left {
|
2949 |
+
float: left!important
|
2950 |
+
}
|
2951 |
+
|
2952 |
+
.w-hide {
|
2953 |
+
display: none!important
|
2954 |
+
}
|
2955 |
+
|
2956 |
+
.w-show {
|
2957 |
+
display: block!important
|
2958 |
+
}
|
2959 |
+
|
2960 |
+
.w-invisible {
|
2961 |
+
visibility: hidden
|
2962 |
+
}
|
2963 |
+
|
2964 |
+
.w-text-hide {
|
2965 |
+
font: 0/0 a;
|
2966 |
+
color: transparent;
|
2967 |
+
text-shadow: none;
|
2968 |
+
background-color: transparent;
|
2969 |
+
border: 0
|
2970 |
+
}
|
2971 |
+
|
2972 |
+
.w-hidden {
|
2973 |
+
display: none!important
|
2974 |
+
}
|
2975 |
+
|
2976 |
+
.w-affix {
|
2977 |
+
position: fixed
|
2978 |
+
}
|
2979 |
+
|
2980 |
+
.mec-image-popup-wrap {
|
2981 |
+
display: none
|
2982 |
+
}
|
2983 |
+
|
2984 |
+
#wns-be-infobar.sticky {
|
2985 |
+
position: fixed;
|
2986 |
+
top: 32px;
|
2987 |
+
background: #fff;
|
2988 |
+
z-index: 9999;
|
2989 |
+
width: 82%
|
2990 |
+
}
|
2991 |
+
|
2992 |
+
.wns-be-main .wns-saved-settings.sticky {
|
2993 |
+
position: fixed;
|
2994 |
+
width: 62.5%;
|
2995 |
+
top: 111px;
|
2996 |
+
z-index: 999999999999999999
|
2997 |
+
}
|
2998 |
+
|
2999 |
+
#mec-search-settings {
|
3000 |
+
border-radius: 2px;
|
3001 |
+
min-height: 32px;
|
3002 |
+
box-shadow: 0 3px 14px -5px rgba(0,0,0,.2),inset 0 1px 2px rgba(0,0,0,.07);
|
3003 |
+
padding: 9px 10px 11px;
|
3004 |
+
margin-right: 6px;
|
3005 |
+
color: #7c7772;
|
3006 |
+
font-size: 12px;
|
3007 |
+
width: 200px
|
3008 |
+
}
|
3009 |
+
|
3010 |
+
#mec-search-settings::-webkit-input-placeholder {
|
3011 |
+
color: #7c7772
|
3012 |
+
}
|
3013 |
+
|
3014 |
+
#mec-search-settings::-moz-placeholder {
|
3015 |
+
color: #7c7772
|
3016 |
+
}
|
3017 |
+
|
3018 |
+
#mec-search-settings:-ms-input-placeholder {
|
3019 |
+
color: #7c7772
|
3020 |
+
}
|
3021 |
+
|
3022 |
+
#mec-search-settings:-moz-placeholder {
|
3023 |
+
color: #7c7772
|
3024 |
+
}
|
3025 |
+
|
3026 |
+
.mec-export-settings,.mec-import-settings {
|
3027 |
+
font-weight: 700;
|
3028 |
+
border-radius: 2px;
|
3029 |
+
box-shadow: 0 3px 10px -4px #008aff;
|
3030 |
+
text-shadow: none;
|
3031 |
+
background: #008aff;
|
3032 |
+
background: linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);
|
3033 |
+
border: none;
|
3034 |
+
transition: .24s;
|
3035 |
+
padding: 8px 32px;
|
3036 |
+
height: 36px;
|
3037 |
+
letter-spacing: .2px;
|
3038 |
+
line-height: 36px;
|
3039 |
+
font-size: 13px;
|
3040 |
+
color: #fff;
|
3041 |
+
text-decoration: none;
|
3042 |
+
display: inline-block
|
3043 |
+
}
|
3044 |
+
|
3045 |
+
.mec-export-settings:hover,.mec-import-settings:hover {
|
3046 |
+
background: #222;
|
3047 |
+
background: linear-gradient(95deg,#555 0,#222 50%,#000 100%);
|
3048 |
+
box-shadow: 0 5px 23px -7px rgba(0,0,0,.5);
|
3049 |
+
color: #fff
|
3050 |
+
}
|
3051 |
+
|
3052 |
+
textarea.mec-import-settings-content {
|
3053 |
+
display: block;
|
3054 |
+
width: 100%;
|
3055 |
+
min-height: 120px;
|
3056 |
+
margin-bottom: 25px;
|
3057 |
+
padding: 10px 15px
|
3058 |
+
}
|
3059 |
+
|
3060 |
+
.mec-import-options-notification {
|
3061 |
+
display: inline-block
|
3062 |
+
}
|
3063 |
+
|
3064 |
+
.mec-import-options-notification .mec-message-import-error,.mec-import-options-notification .mec-message-import-success {
|
3065 |
+
display: inline-block;
|
3066 |
+
padding: 15px 12px;
|
3067 |
+
margin-left: 12px;
|
3068 |
+
opacity: 0;
|
3069 |
+
visibility: hidden;
|
3070 |
+
font-weight: 700
|
3071 |
+
}
|
3072 |
+
|
3073 |
+
.mec-import-options-notification .mec-message-import-success {
|
3074 |
+
opacity: 1;
|
3075 |
+
visibility: visible;
|
3076 |
+
border: 2px solid green
|
3077 |
+
}
|
3078 |
+
|
3079 |
+
.mec-import-options-notification .mec-message-import-error {
|
3080 |
+
opacity: 1;
|
3081 |
+
visibility: visible;
|
3082 |
+
border: 2px solid #e62117
|
3083 |
+
}
|
3084 |
+
|
3085 |
+
.mec-export-settings:focus,.mec-import-settings:focus {
|
3086 |
+
color: #fff
|
3087 |
+
}
|
3088 |
+
|
3089 |
+
.mec-import-settings-wrap {
|
3090 |
+
position: relative
|
3091 |
+
}
|
3092 |
+
|
3093 |
+
.mec-loarder-wrap {
|
3094 |
+
position: absolute;
|
3095 |
+
top: 0;
|
3096 |
+
bottom: 0;
|
3097 |
+
left: 0;
|
3098 |
+
right: 0;
|
3099 |
+
background: rgba(202,202,202,.7);
|
3100 |
+
z-index: 9999
|
3101 |
+
}
|
3102 |
+
|
3103 |
+
.mec-loarder-wrap.mec-settings-loader {
|
3104 |
+
top: 34px
|
3105 |
+
}
|
3106 |
+
|
3107 |
+
.mec-loarder {
|
3108 |
+
position: absolute;
|
3109 |
+
width: 64px;
|
3110 |
+
height: 64px;
|
3111 |
+
top: calc(50% - 32px);
|
3112 |
+
left: calc(50% - 36px)
|
3113 |
+
}
|
3114 |
+
|
3115 |
+
.mec-loarder div {
|
3116 |
+
display: inline-block;
|
3117 |
+
position: absolute;
|
3118 |
+
left: 6px;
|
3119 |
+
width: 4px;
|
3120 |
+
background: #fff;
|
3121 |
+
animation: mec-loarder 1.2s cubic-bezier(0,.5,.5,1) infinite
|
3122 |
+
}
|
3123 |
+
|
3124 |
+
.mec-loarder div:nth-child(1) {
|
3125 |
+
left: 27px;
|
3126 |
+
animation-delay: -.24s;
|
3127 |
+
background: #0075ff
|
3128 |
+
}
|
3129 |
+
|
3130 |
+
.mec-loarder div:nth-child(2) {
|
3131 |
+
left: 36px;
|
3132 |
+
animation-delay: -.12s;
|
3133 |
+
background: #028bff
|
3134 |
+
}
|
3135 |
+
|
3136 |
+
.mec-loarder div:nth-child(3) {
|
3137 |
+
left: 45px;
|
3138 |
+
animation-delay: 0;
|
3139 |
+
background: #32a0ff
|
3140 |
+
}
|
3141 |
+
|
3142 |
+
@keyframes mec-loarder {
|
3143 |
+
0% {
|
3144 |
+
top: 6px;
|
3145 |
+
height: 51px
|
3146 |
+
}
|
3147 |
+
|
3148 |
+
100%,50% {
|
3149 |
+
top: 19px;
|
3150 |
+
height: 26px
|
3151 |
+
}
|
3152 |
+
}
|
3153 |
+
|
3154 |
+
.w-box.support-page.searchbox {
|
3155 |
+
background: #008aff;
|
3156 |
+
background: linear-gradient(180deg,#36a2ff 0,#008aff 50%,#0072ff 100%);
|
3157 |
+
color: #fff;
|
3158 |
+
min-height: 260px;
|
3159 |
+
text-align: center;
|
3160 |
+
border-radius: 2px
|
3161 |
+
}
|
3162 |
+
|
3163 |
+
#webnus-dashboard .search-form input {
|
3164 |
+
background: rgba(255,255,255,.2);
|
3165 |
+
border: none;
|
3166 |
+
width: 50%;
|
3167 |
+
outline: 0;
|
3168 |
+
color: rgba(255,255,255,.7);
|
3169 |
+
font-size: 18px;
|
3170 |
+
border-radius: 4px 0 0 4px;
|
3171 |
+
box-shadow: 0 1px 2px 0 rgba(0,0,0,.03);
|
3172 |
+
-webkit-transition: background .4s,box-shadow .2s;
|
3173 |
+
transition: background .4s,box-shadow .2s;
|
3174 |
+
padding: 20px 32px;
|
3175 |
+
margin: 0
|
3176 |
+
}
|
3177 |
+
|
3178 |
+
#webnus-dashboard .search-form button {
|
3179 |
+
background: rgba(255,255,255,.2);
|
3180 |
+
border: none;
|
3181 |
+
padding: 20px 32px;
|
3182 |
+
margin-left: -2px;
|
3183 |
+
color: #fff;
|
3184 |
+
border-radius: 0 4px 4px 0;
|
3185 |
+
font-size: 18px;
|
3186 |
+
cursor: pointer;
|
3187 |
+
-webkit-transition: background .4s,box-shadow .2s;
|
3188 |
+
transition: background .4s,box-shadow .2s
|
3189 |
+
}
|
3190 |
+
|
3191 |
+
#webnus-dashboard .search-form button:hover {
|
3192 |
+
background: #fff;
|
3193 |
+
color: #3a3c4c
|
3194 |
+
}
|
3195 |
+
|
3196 |
+
.w-box.support-page.searchbox p {
|
3197 |
+
font-size: 30px
|
3198 |
+
}
|
3199 |
+
|
3200 |
+
.search-form input::-webkit-input-placeholder {
|
3201 |
+
color: rgba(255,255,255,.7)
|
3202 |
+
}
|
3203 |
+
|
3204 |
+
.search-form input::-moz-placeholder {
|
3205 |
+
color: rgba(255,255,255,.7)
|
3206 |
+
}
|
3207 |
+
|
3208 |
+
.search-form input:-ms-input-placeholder {
|
3209 |
+
color: rgba(255,255,255,.7)
|
3210 |
+
}
|
3211 |
+
|
3212 |
+
.search-form input:-moz-placeholder {
|
3213 |
+
color: rgba(255,255,255,.7)
|
3214 |
+
}
|
3215 |
+
|
3216 |
+
#webnus-dashboard .search-form input:active,#webnus-dashboard .search-form input:focus {
|
3217 |
+
box-shadow: 0 10px 20px rgba(0,0,0,.14);
|
3218 |
+
background: #fff;
|
3219 |
+
color: #3a3c4c
|
3220 |
+
}
|
3221 |
+
|
3222 |
+
#webnus-dashboard .search-form input:active::-webkit-input-placeholder,#webnus-dashboard .search-form input:focus::-webkit-input-placeholder {
|
3223 |
+
color: #3a3c4c
|
3224 |
+
}
|
3225 |
+
|
3226 |
+
#webnus-dashboard .search-form input:active::-moz-placeholder,#webnus-dashboard .search-form input:focus::-moz-placeholder {
|
3227 |
+
color: #3a3c4c
|
3228 |
+
}
|
3229 |
+
|
3230 |
+
#webnus-dashboard .search-form input:active:-ms-input-placeholder,#webnus-dashboard .search-form input:focus:-ms-input-placeholder {
|
3231 |
+
color: #3a3c4c
|
3232 |
+
}
|
3233 |
+
|
3234 |
+
#webnus-dashboard .search-form input:active:-moz-placeholder,#webnus-dashboard .search-form input:focus:-moz-placeholder {
|
3235 |
+
color: #3a3c4c
|
3236 |
+
}
|
3237 |
+
|
3238 |
+
#webnus-dashboard .w-box.support-page.mec-ticksy {
|
3239 |
+
text-align: center;
|
3240 |
+
min-height: 260px
|
3241 |
+
}
|
3242 |
+
|
3243 |
+
#webnus-dashboard .w-box.support-page.mec-ticksy p {
|
3244 |
+
font-size: 20px;
|
3245 |
+
width: 70%;
|
3246 |
+
margin: 0 auto;
|
3247 |
+
margin-bottom: 40px;
|
3248 |
+
margin-top: 40px
|
3249 |
+
}
|
3250 |
+
|
3251 |
+
#webnus-dashboard .w-box.support-page.mec-ticksy a {
|
3252 |
+
color: #fff;
|
3253 |
+
font-weight: 500;
|
3254 |
+
border-radius: 2px;
|
3255 |
+
box-shadow: 0 3px 10px -4px #008aff;
|
3256 |
+
text-shadow: none;
|
3257 |
+
background: #008aff;
|
3258 |
+
background: linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);
|
3259 |
+
border: none;
|
3260 |
+
transition: .24s;
|
3261 |
+
padding: 12px 20px;
|
3262 |
+
cursor: pointer;
|
3263 |
+
margin-bottom: 40px;
|
3264 |
+
display: inline-block
|
3265 |
+
}
|
3266 |
+
|
3267 |
+
#webnus-dashboard .w-box.support-page.mec-ticksy a:hover {
|
3268 |
+
background: #222;
|
3269 |
+
background: linear-gradient(95deg,#555 0,#222 50%,#000 100%);
|
3270 |
+
box-shadow: 0 5px 23px -7px rgba(0,0,0,.5)
|
3271 |
+
}
|
3272 |
+
|
3273 |
+
.mec-faq-accordion>.mec-faq-accordion-content {
|
3274 |
+
display: none
|
3275 |
+
}
|
3276 |
+
|
3277 |
+
#webnus-dashboard .mec-faq-accordion-trigger a {
|
3278 |
+
font-size: 16px;
|
3279 |
+
padding: 12px;
|
3280 |
+
background: #f1f1f1;
|
3281 |
+
display: block;
|
3282 |
+
color: #222;
|
3283 |
+
line-height: 17px;
|
3284 |
+
outline: 0
|
3285 |
+
}
|
3286 |
+
|
3287 |
+
.mec-faq-accordion-trigger {
|
3288 |
+
margin-bottom: 5px;
|
3289 |
+
position: relative
|
3290 |
+
}
|
3291 |
+
|
3292 |
+
#webnus-dashboard .mec-faq-accordion-trigger a:after {
|
3293 |
+
font-family: simple-line-icons;
|
3294 |
+
content: "\e095";
|
3295 |
+
position: absolute;
|
3296 |
+
right: 12px;
|
3297 |
+
font-weight: 700
|
3298 |
+
}
|
3299 |
+
|
3300 |
+
.mec-faq-accordion-content {
|
3301 |
+
padding: 5px 14px 25px
|
3302 |
+
}
|
3303 |
+
|
3304 |
+
#webnus-dashboard .mec-faq-accordion-trigger a.active:after {
|
3305 |
+
content: "\e082"
|
3306 |
+
}
|
3307 |
+
|
3308 |
+
#webnus-dashboard .support-page-links a {
|
3309 |
+
background-color: #fff;
|
3310 |
+
color: #fff;
|
3311 |
+
border-radius: 2px;
|
3312 |
+
padding: 13px 24px;
|
3313 |
+
font-size: 12px;
|
3314 |
+
letter-spacing: 1px;
|
3315 |
+
font-weight: 600;
|
3316 |
+
text-transform: uppercase
|
3317 |
+
}
|
3318 |
+
|
3319 |
+
#webnus-dashboard .support-page-links a:hover,#webnus-dashboard .w-box.support-page.videobox .w-button a:hover {
|
3320 |
+
background: #222;
|
3321 |
+
background: linear-gradient(95deg,#555 0,#222 50%,#000 100%);
|
3322 |
+
box-shadow: 0 5px 21px -5px rgba(0,0,0,.5)
|
3323 |
+
}
|
3324 |
+
|
3325 |
+
#webnus-dashboard .support-page-links {
|
3326 |
+
display: inline-block;
|
3327 |
+
margin: 12px 4px 16px 0
|
3328 |
+
}
|
3329 |
+
|
3330 |
+
.support-page-links.link-to-doc a {
|
3331 |
+
background: #4cbf67;
|
3332 |
+
background: linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);
|
3333 |
+
box-shadow: 0 5px 10px -5px #4cbf67
|
3334 |
+
}
|
3335 |
+
|
3336 |
+
.support-page-links.link-to-videos a {
|
3337 |
+
background: #ff876c;
|
3338 |
+
background: linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%);
|
3339 |
+
box-shadow: 0 5px 10px -5px #ff876c
|
3340 |
+
}
|
3341 |
+
|
3342 |
+
.support-page-links.link-to-articles a {
|
3343 |
+
background: #b092e6;
|
3344 |
+
background: linear-gradient(95deg,#b092e6 0,#9b70e8 50%,#8e5cea 100%);
|
3345 |
+
box-shadow: 0 5px 10px -5px #b092e6
|
3346 |
+
}
|
3347 |
+
|
3348 |
+
.w-box.support-page.articles-box .w-box-content a {
|
3349 |
+
display: block;
|
3350 |
+
padding: 6px 0
|
3351 |
+
}
|
3352 |
+
|
3353 |
+
#webnus-dashboard .w-box.support-page.videobox .w-button a {
|
3354 |
+
color: #fff;
|
3355 |
+
font-size: 10px;
|
3356 |
+
padding: 5px 15px;
|
3357 |
+
min-height: 10px;
|
3358 |
+
font-weight: 500;
|
3359 |
+
border-radius: 22px;
|
3360 |
+
box-shadow: 0 3px 10px -4px #ff5a35;
|
3361 |
+
text-shadow: none;
|
3362 |
+
background: #ff5a35;
|
3363 |
+
background: linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%);
|
3364 |
+
border: none;
|
3365 |
+
transition: .24s
|
3366 |
+
}
|
3367 |
+
|
3368 |
+
.w-box.support-page.articles-box,.w-box.support-page.faq-box {
|
3369 |
+
min-height: 500px
|
3370 |
+
}
|
3371 |
+
|
3372 |
+
.w-box.support-page.videobox {
|
3373 |
+
border-radius: 2px;
|
3374 |
+
min-height: 282px;
|
3375 |
+
box-shadow: 0 1px 6px rgba(0,0,0,.039)!important
|
3376 |
+
}
|
3377 |
+
|
3378 |
+
#webnus-dashboard .w-box.support-page.videobox .w-button a i {
|
3379 |
+
margin-right: 6px
|
3380 |
+
}
|
3381 |
+
|
3382 |
+
.support-page .w-box-content ul {
|
3383 |
+
margin-top: 5px;
|
3384 |
+
padding-left: 5px
|
3385 |
+
}
|
3386 |
+
|
3387 |
+
.support-page .w-box-content ul li {
|
3388 |
+
font-size: 13px
|
3389 |
+
}
|
3390 |
+
|
3391 |
+
.support-page .w-box-content ul li i {
|
3392 |
+
font-size: 17px;
|
3393 |
+
vertical-align: text-bottom;
|
3394 |
+
margin-right: 7px;
|
3395 |
+
color: #999
|
3396 |
+
}
|
3397 |
+
|
3398 |
+
.w-box.mec-activation {
|
3399 |
+
background: #fff url(../img/dp-dsb-support.jpg) no-repeat top right
|
3400 |
+
}
|
3401 |
+
|
3402 |
+
.w-box.mec-activation .w-box-head {
|
3403 |
+
color: #40d8f0;
|
3404 |
+
width: 75%
|
3405 |
+
}
|
3406 |
+
|
3407 |
+
.w-box.mec-activation .w-box-content {
|
3408 |
+
padding: 10px 30px
|
3409 |
+
}
|
3410 |
+
|
3411 |
+
.w-box.mec-activation input[type=radio] {
|
3412 |
+
display: none
|
3413 |
+
}
|
3414 |
+
|
3415 |
+
.w-box.mec-activation input[type=radio]+label {
|
3416 |
+
color: #000;
|
3417 |
+
font-size: 13px;
|
3418 |
+
line-height: 14px!important;
|
3419 |
+
color: #7b7b7b
|
3420 |
+
}
|
3421 |
+
|
3422 |
+
.w-box.mec-activation input[type=radio].checked+label {
|
3423 |
+
color: #40d8f0
|
3424 |
+
}
|
3425 |
+
|
3426 |
+
.w-box.mec-activation input[type=radio]+label span {
|
3427 |
+
display: inline-block;
|
3428 |
+
margin: -2px 6px 0 0;
|
3429 |
+
vertical-align: middle;
|
3430 |
+
cursor: pointer;
|
3431 |
+
height: 14px;
|
3432 |
+
width: 14px;
|
3433 |
+
text-align: center;
|
3434 |
+
background-color: #fff;
|
3435 |
+
border: 1px solid #d4d4d4;
|
3436 |
+
border-radius: 100%;
|
3437 |
+
box-shadow: 0 2px 16px -2px rgba(0,0,0,.2);
|
3438 |
+
-webkit-user-select: none;
|
3439 |
+
-moz-user-select: none;
|
3440 |
+
-ms-user-select: none;
|
3441 |
+
user-select: none;
|
3442 |
+
position: relative
|
3443 |
+
}
|
3444 |
+
|
3445 |
+
.w-box.mec-activation input[type=radio].checked+label span {
|
3446 |
+
background-color: #40d8f0;
|
3447 |
+
border-color: #40d8f0;
|
3448 |
+
box-shadow: 0 2px 14px -3px #40d8f0
|
3449 |
+
}
|
3450 |
+
|
3451 |
+
.w-box.mec-activation input[type=radio].checked+label span:after {
|
3452 |
+
content: '';
|
3453 |
+
display: block;
|
3454 |
+
position: absolute;
|
3455 |
+
top: 4px;
|
3456 |
+
left: 4px;
|
3457 |
+
width: 4px;
|
3458 |
+
height: 4px;
|
3459 |
+
background: #fff;
|
3460 |
+
border-radius: 100%
|
3461 |
+
}
|
3462 |
+
|
3463 |
+
.w-box.mec-activation .LicenseType label {
|
3464 |
+
padding-right: 20px;
|
3465 |
+
font-weight: 500
|
3466 |
+
}
|
3467 |
+
|
3468 |
+
.w-box.mec-activation .LicenseField {
|
3469 |
+
display: inline-block;
|
3470 |
+
position: relative;
|
3471 |
+
margin-top: 20px
|
3472 |
+
}
|
3473 |
+
|
3474 |
+
.w-box.mec-activation input[name=MECPurchaseCode] {
|
3475 |
+
box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
|
3476 |
+
min-width: 220px;
|
3477 |
+
background: #f4f4f4;
|
3478 |
+
border: none;
|
3479 |
+
border-radius: 33px;
|
3480 |
+
width: 500px;
|
3481 |
+
min-height: 50px;
|
3482 |
+
margin: 0;
|
3483 |
+
padding-left: 20px;
|
3484 |
+
text-align: left
|
3485 |
+
}
|
3486 |
+
|
3487 |
+
#webnus-dashboard .w-box.mec-activation input[type=submit] {
|
3488 |
+
height: 40px;
|
3489 |
+
line-height: 40px;
|
3490 |
+
font-weight: 600;
|
3491 |
+
border: none;
|
3492 |
+
cursor: pointer;
|
3493 |
+
padding: 0 30px;
|
3494 |
+
border-radius: 33px;
|
3495 |
+
color: #fff;
|
3496 |
+
letter-spacing: 1px;
|
3497 |
+
text-transform: uppercase;
|
3498 |
+
font-size: 12px;
|
3499 |
+
background: #4cbf67;
|
3500 |
+
background: linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);
|
3501 |
+
box-shadow: 0 5px 10px -5px #4cbf67;
|
3502 |
+
transition: all .28s ease;
|
3503 |
+
position: absolute;
|
3504 |
+
right: 5px;
|
3505 |
+
top: 4px;
|
3506 |
+
font-size: 12px
|
3507 |
+
}
|
3508 |
+
|
3509 |
+
#webnus-dashboard .w-box.mec-activation input[type=submit]:hover {
|
3510 |
+
background: #222;
|
3511 |
+
background: linear-gradient(95deg,#555 0,#222 50%,#000 100%);
|
3512 |
+
box-shadow: 0 5px 23px -7px rgba(0,0,0,.5)
|
3513 |
+
}
|
3514 |
+
|
3515 |
+
#MECActivation .MECPurchaseStatus,.addon-activation-form .MECPurchaseStatus {
|
3516 |
+
display: inline-block;
|
3517 |
+
width: 40px;
|
3518 |
+
height: 40px;
|
3519 |
+
text-align: center;
|
3520 |
+
padding-top: 9px;
|
3521 |
+
color: #fff;
|
3522 |
+
font-weight: 700;
|
3523 |
+
font-size: 18px;
|
3524 |
+
border-radius: 50%;
|
3525 |
+
padding-top: 8px;
|
3526 |
+
position: absolute;
|
3527 |
+
right: -51px;
|
3528 |
+
top: calc(50% - 20px)
|
3529 |
+
}
|
3530 |
+
|
3531 |
+
.MECPurchaseStatus:after,.MECPurchaseStatus:before {
|
3532 |
+
position: absolute;
|
3533 |
+
border-radius: 50px;
|
3534 |
+
background: #fff;
|
3535 |
+
content: '';
|
3536 |
+
transform: rotate(45deg)
|
3537 |
+
}
|
3538 |
+
|
3539 |
+
.MECPurchaseStatus.PurchaseError:before {
|
3540 |
+
width: 22px;
|
3541 |
+
height: 4px;
|
3542 |
+
right: 9px;
|
3543 |
+
top: 18px;
|
3544 |
+
transform: rotate(45deg)
|
3545 |
+
}
|
3546 |
+
|
3547 |
+
.MECPurchaseStatus.PurchaseError:after {
|
3548 |
+
width: 22px;
|
3549 |
+
height: 4px;
|
3550 |
+
right: 9px;
|
3551 |
+
top: 18px;
|
3552 |
+
transform: rotate(-45deg)
|
3553 |
+
}
|
3554 |
+
|
3555 |
+
.MECPurchaseStatus.PurchaseSuccess:before {
|
3556 |
+
width: 13px;
|
3557 |
+
height: 4px;
|
3558 |
+
right: 19px;
|
3559 |
+
top: 21px;
|
3560 |
+
transform: rotate(45deg)
|
3561 |
+
}
|
3562 |
+
|
3563 |
+
.MECPurchaseStatus.PurchaseSuccess:after {
|
3564 |
+
width: 22px;
|
3565 |
+
height: 4px;
|
3566 |
+
right: 5px;
|
3567 |
+
top: 18px;
|
3568 |
+
transform: rotate(-45deg)
|
3569 |
+
}
|
3570 |
+
|
3571 |
+
#MECActivation .MECPurchaseStatus.PurchaseError,.addon-activation-form .MECPurchaseStatus.PurchaseError {
|
3572 |
+
background: #ff876c;
|
3573 |
+
background: linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%);
|
3574 |
+
box-shadow: 0 5px 10px -5px #ff876c
|
3575 |
+
}
|
3576 |
+
|
3577 |
+
#MECActivation .MECPurchaseStatus.PurchaseSuccess,.addon-activation-form .MECPurchaseStatus.PurchaseSuccess {
|
3578 |
+
background: #4cbf67;
|
3579 |
+
background: linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);
|
3580 |
+
box-shadow: 0 5px 10px -5px #4cbf67
|
3581 |
+
}
|
3582 |
+
|
3583 |
+
.wna-spinner-wrap {
|
3584 |
+
position: absolute;
|
3585 |
+
background: #000;
|
3586 |
+
width: 509px;
|
3587 |
+
height: 64px;
|
3588 |
+
top: -8px;
|
3589 |
+
border-radius: 50px;
|
3590 |
+
z-index: 999;
|
3591 |
+
background-color: #fff;
|
3592 |
+
opacity: .9
|
3593 |
+
}
|
3594 |
+
|
3595 |
+
.wna-spinner {
|
3596 |
+
width: 40px;
|
3597 |
+
height: 40px;
|
3598 |
+
position: relative;
|
3599 |
+
margin: 6px auto
|
3600 |
+
}
|
3601 |
+
|
3602 |
+
.wna-spinner .double-bounce1,.wna-spinner .double-bounce2 {
|
3603 |
+
width: 100%;
|
3604 |
+
height: 100%;
|
3605 |
+
border-radius: 50%;
|
3606 |
+
background-color: #40d8f0;
|
3607 |
+
opacity: .6;
|
3608 |
+
position: absolute;
|
3609 |
+
top: 0;
|
3610 |
+
left: 0;
|
3611 |
+
-webkit-animation: sk-bounce 2s infinite ease-in-out;
|
3612 |
+
animation: sk-bounce 2s infinite ease-in-out
|
3613 |
+
}
|
3614 |
+
|
3615 |
+
.wna-spinner .double-bounce2 {
|
3616 |
+
-webkit-animation-delay: -1s;
|
3617 |
+
animation-delay: -1s
|
3618 |
+
}
|
3619 |
+
|
3620 |
+
#MECActivation .MECLicenseMessage,.addon-activation-form .MECLicenseMessage {
|
3621 |
+
margin-top: 24px;
|
3622 |
+
color: #f64;
|
3623 |
+
max-width: 570px
|
3624 |
+
}
|
3625 |
+
|
3626 |
+
.box-addon-activation-toggle-content,.box-addon-activation-toggle-head {
|
3627 |
+
display: none
|
3628 |
+
}
|
3629 |
+
|
3630 |
+
.addon-activation-form h3 {
|
3631 |
+
font-size: 15px;
|
3632 |
+
font-weight: 400;
|
3633 |
+
margin: 34px 0 -7px
|
3634 |
+
}
|
3635 |
+
|
3636 |
+
.box-addon-activation-toggle-head {
|
3637 |
+
line-height: 1.5;
|
3638 |
+
font-size: 16px;
|
3639 |
+
margin-top: 20px;
|
3640 |
+
cursor: pointer
|
3641 |
+
}
|
3642 |
+
|
3643 |
+
.box-addon-activation-toggle-head i {
|
3644 |
+
margin-right: 7px;
|
3645 |
+
cursor: pointer;
|
3646 |
+
font-weight: 700
|
3647 |
+
}
|
3648 |
+
|
3649 |
+
#mec-advanced-wraper div:first-child>ul {
|
3650 |
+
display: block;
|
3651 |
+
margin: 5px 0;
|
3652 |
+
padding: 5px 0;
|
3653 |
+
width: 390px;
|
3654 |
+
border: 1px solid #e1e2e3;
|
3655 |
+
border-radius: 2px;
|
3656 |
+
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
|
3657 |
+
}
|
3658 |
+
|
3659 |
+
#mec-advanced-wraper div:first-child>ul span {
|
3660 |
+
display: none
|
3661 |
+
}
|
3662 |
+
|
3663 |
+
#mec-advanced-wraper div:first-child>ul * {
|
3664 |
+
display: inline-block;
|
3665 |
+
background: #fff;
|
3666 |
+
font-size: 12px;
|
3667 |
+
color: #717273;
|
3668 |
+
text-align: center;
|
3669 |
+
}
|
3670 |
+
|
3671 |
+
#mec-advanced-wraper div:first-child>ul>li {
|
3672 |
+
width: 60px;
|
3673 |
+
font-weight: 700;
|
3674 |
+
margin: 0 10px 0 0;
|
3675 |
+
padding: 4px 0;
|
3676 |
+
border-right: 1px solid #e1e2e3;
|
3677 |
+
}
|
3678 |
+
|
3679 |
+
#mec-advanced-wraper div:first-child>ul>ul>li {
|
3680 |
+
margin: 0;
|
3681 |
+
padding: 2px 10px;
|
3682 |
+
cursor: pointer;
|
3683 |
+
border-radius: 2px;
|
3684 |
+
transition: all 0.18s ease;
|
3685 |
+
}
|
3686 |
+
|
3687 |
+
#mec-advanced-wraper div:first-child>ul>ul>li:hover,.mec-active {
|
3688 |
+
background: #008aff!important;
|
3689 |
+
color: #fff !important;
|
3690 |
+
}
|
3691 |
+
|
3692 |
+
@-webkit-keyframes sk-bounce {
|
3693 |
+
0%,100% {
|
3694 |
+
-webkit-transform: scale(0)
|
3695 |
+
}
|
3696 |
+
|
3697 |
+
50% {
|
3698 |
+
-webkit-transform: scale(1)
|
3699 |
+
}
|
3700 |
+
}
|
3701 |
+
|
3702 |
+
@keyframes sk-bounce {
|
3703 |
+
0%,100% {
|
3704 |
+
transform: scale(0);
|
3705 |
+
-webkit-transform: scale(0)
|
3706 |
+
}
|
3707 |
+
|
3708 |
+
50% {
|
3709 |
+
transform: scale(1);
|
3710 |
+
-webkit-transform: scale(1)
|
3711 |
+
}
|
3712 |
+
}
|
3713 |
+
|
3714 |
+
.w-col-sm-3 .w-box.addon {
|
3715 |
+
min-height: auto;
|
3716 |
+
box-shadow: 0 3px 16px -5px rgba(0,0,0,.1);
|
3717 |
+
border-radius: 2px
|
3718 |
+
}
|
3719 |
+
|
3720 |
+
.w-box-child.mec-addon-box {
|
3721 |
+
padding: 20px 20px
|
3722 |
+
}
|
3723 |
+
|
3724 |
+
.mec-addon-box-head {
|
3725 |
+
border-bottom: 1px solid #e8e8e8;
|
3726 |
+
padding-bottom: 5px;
|
3727 |
+
margin-bottom: 14px;
|
3728 |
+
position: relative
|
3729 |
+
}
|
3730 |
+
|
3731 |
+
.mec-addon-box-version {
|
3732 |
+
position: relative;
|
3733 |
+
background: #eaeaea;
|
3734 |
+
border-radius: 1px;
|
3735 |
+
padding: 0 8px;
|
3736 |
+
color: #5a5a5a;
|
3737 |
+
font-size: 11px;
|
3738 |
+
letter-spacing: .2px;
|
3739 |
+
line-height: 21px;
|
3740 |
+
display: inline-block;
|
3741 |
+
margin: 3px 0
|
3742 |
+
}
|
3743 |
+
|
3744 |
+
.mec-addon-box-title {
|
3745 |
+
font-weight: 700;
|
3746 |
+
font-size: 18px;
|
3747 |
+
line-height: 25px
|
3748 |
+
}
|
3749 |
+
|
3750 |
+
.mec-addon-box-title a span {
|
3751 |
+
color: #444;
|
3752 |
+
font-size: 15px
|
3753 |
+
}
|
3754 |
+
|
3755 |
+
.mec-addon-box-content p {
|
3756 |
+
color: #777;
|
3757 |
+
font-size: 13px
|
3758 |
+
}
|
3759 |
+
|
3760 |
+
.mec-addon-box-mec-version {
|
3761 |
+
background: #f3f3f3;
|
3762 |
+
padding: 10px;
|
3763 |
+
font-size: 13px
|
3764 |
+
}
|
3765 |
+
|
3766 |
+
#webnus-dashboard .addons-page-links {
|
3767 |
+
display: inline-block;
|
3768 |
+
margin: 12px 4px 16px 0
|
3769 |
+
}
|
3770 |
+
|
3771 |
+
#webnus-dashboard .addons-page-links a {
|
3772 |
+
background-color: #fff;
|
3773 |
+
color: #fff;
|
3774 |
+
border-radius: 2px;
|
3775 |
+
padding: 13px 24px;
|
3776 |
+
font-size: 12px;
|
3777 |
+
letter-spacing: 1px;
|
3778 |
+
font-weight: 600;
|
3779 |
+
text-transform: uppercase
|
3780 |
+
}
|
3781 |
+
|
3782 |
+
.addons-page-links.link-to-purchase a {
|
3783 |
+
background: #4cbf67;
|
3784 |
+
background: linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);
|
3785 |
+
box-shadow: 0 5px 10px -5px #4cbf67
|
3786 |
+
}
|
3787 |
+
|
3788 |
+
.addons-page-links.link-to-install-addons a {
|
3789 |
+
background: #b092e6;
|
3790 |
+
background: linear-gradient(95deg,#b092e6 0,#9b70e8 50%,#8e5cea 100%);
|
3791 |
+
box-shadow: 0 5px 10px -5px #b092e6
|
3792 |
+
}
|
3793 |
+
|
3794 |
+
#webnus-dashboard .addons-page-links a:hover,#webnus-dashboard .w-box.addons-page.videobox .w-button a:hover {
|
3795 |
+
background: #222;
|
3796 |
+
background: linear-gradient(95deg,#555 0,#222 50%,#000 100%);
|
3797 |
+
box-shadow: 0 5px 21px -5px rgba(0,0,0,.5)
|
3798 |
+
}
|
3799 |
+
|
3800 |
+
.mec-addon-box-footer {
|
3801 |
+
margin-top: 25px
|
3802 |
+
}
|
3803 |
+
|
3804 |
+
#webnus-dashboard .mec-addon-box-footer a {
|
3805 |
+
font-weight: 500;
|
3806 |
+
border-radius: 2px;
|
3807 |
+
box-shadow: 0 3px 10px -4px #008aff;
|
3808 |
+
text-shadow: none;
|
3809 |
+
background: #008aff;
|
3810 |
+
background: linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);
|
3811 |
+
border: none;
|
3812 |
+
transition: .24s;
|
3813 |
+
padding: 7px 19px;
|
3814 |
+
margin-top: 10px;
|
3815 |
+
display: inline-block;
|
3816 |
+
letter-spacing: .2px;
|
3817 |
+
color: #fff;
|
3818 |
+
width: 100%;
|
3819 |
+
text-align: center
|
3820 |
+
}
|
3821 |
+
|
3822 |
+
#webnus-dashboard .mec-addon-box-footer a.mec-addon-box-intro {
|
3823 |
+
box-shadow: 0 3px 10px -4px #ff5a35;
|
3824 |
+
background: linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%)
|
3825 |
+
}
|
3826 |
+
|
3827 |
+
#webnus-dashboard .mec-addon-box-footer a:hover {
|
3828 |
+
background: #222!important;
|
3829 |
+
background: linear-gradient(95deg,#555 0,#222 50%,#000 100%)!important;
|
3830 |
+
box-shadow: 0 5px 23px -7px rgba(0,0,0,.5)!important;
|
3831 |
+
cursor: pointer!important
|
3832 |
+
}
|
3833 |
+
|
3834 |
+
#webnus-dashboard .mec-addon-box-footer a i {
|
3835 |
+
margin-right: 6px;
|
3836 |
+
color: #fff
|
3837 |
+
}
|
3838 |
+
|
3839 |
+
@media(max-width: 1366px) {
|
3840 |
+
.wns-be-container #wns-be-content {
|
3841 |
+
padding:5px 15px 0
|
3842 |
+
}
|
3843 |
+
|
3844 |
+
.mec-form-row .mec-col-8 label {
|
3845 |
+
font-size: 10px
|
3846 |
+
}
|
3847 |
+
|
3848 |
+
#webnus-dashboard .mec-tooltip .box p,.mec-tooltip .box p {
|
3849 |
+
font-size: 10px
|
3850 |
+
}
|
3851 |
+
}
|
3852 |
+
|
3853 |
+
@media (max-width: 780px) {
|
3854 |
+
.wns-be-container #wns-be-content {
|
3855 |
+
padding:10px 0
|
3856 |
+
}
|
3857 |
+
|
3858 |
+
.wns-be-container .mec-form-row .mec-col-8 label {
|
3859 |
+
width: 50%;
|
3860 |
+
display: block
|
3861 |
+
}
|
3862 |
+
|
3863 |
+
.wns-be-container .mec-form-row input[type=checkbox] {
|
3864 |
+
width: 14px;
|
3865 |
+
height: 14px
|
3866 |
+
}
|
3867 |
+
|
3868 |
+
.wns-be-container .wns-be-sidebar li .subsection a {
|
3869 |
+
padding-left: 30px
|
3870 |
+
}
|
3871 |
+
|
3872 |
+
.wns-be-container .wns-be-sidebar {
|
3873 |
+
width: 200px
|
3874 |
+
}
|
3875 |
+
|
3876 |
+
.wns-be-container .wns-be-main {
|
3877 |
+
margin-left: 200px
|
3878 |
+
}
|
3879 |
+
|
3880 |
+
.wns-be-container .mec-tooltip .box {
|
3881 |
+
min-width: 235px!important
|
3882 |
+
}
|
3883 |
+
|
3884 |
+
.wns-be-container .mec-tooltip .box p {
|
3885 |
+
font-size: 12px!important
|
3886 |
+
}
|
3887 |
+
|
3888 |
+
#wns-be-infobar.sticky {
|
3889 |
+
position: unset
|
3890 |
+
}
|
3891 |
+
}
|
3892 |
+
|
3893 |
+
@media (max-width: 480px) {
|
3894 |
+
.wns-be-container .wns-be-sidebar {
|
3895 |
+
width:100%;
|
3896 |
+
position: unset;
|
3897 |
+
float: none
|
3898 |
+
}
|
3899 |
+
|
3900 |
+
.wns-be-container .wns-be-main {
|
3901 |
+
margin-left: 0;
|
3902 |
+
width: 100%;
|
3903 |
+
position: unset
|
3904 |
+
}
|
3905 |
+
|
3906 |
+
.wns-be-container {
|
3907 |
+
margin-top: 50px
|
3908 |
+
}
|
3909 |
+
|
3910 |
+
.wns-be-container #wns-be-infobar:before {
|
3911 |
+
width: 100%
|
3912 |
+
}
|
3913 |
+
|
3914 |
+
.wns-be-container #wns-be-infobar {
|
3915 |
+
height: 150px
|
3916 |
+
}
|
3917 |
+
|
3918 |
+
#mec-search-settings {
|
3919 |
+
margin-top: 80px;
|
3920 |
+
width: 181px
|
3921 |
+
}
|
3922 |
+
}
|
3923 |
+
|
3924 |
+
.addons-page-error,.addons-page-notice {
|
3925 |
+
display: block;
|
3926 |
+
margin-top: 15px;
|
3927 |
+
margin-bottom: 0;
|
3928 |
+
background: #fff;
|
3929 |
+
border-left: 4px solid #00a0d2;
|
3930 |
+
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
|
3931 |
+
padding: 1px 12px
|
3932 |
+
}
|
3933 |
+
|
3934 |
+
.addons-page-error p,.addons-page-notice p {
|
3935 |
+
margin: .5em 0;
|
3936 |
+
padding: 2px;
|
3937 |
+
font-size: 13px
|
3938 |
+
}
|
3939 |
+
|
3940 |
+
.addons-page-error {
|
3941 |
+
border-left-color: #dc3232
|
3942 |
+
}
|
3943 |
+
|
3944 |
+
.mec-addon-box-comingsoon {
|
3945 |
+
background: #eaeaea;
|
3946 |
+
padding: 8px 11px;
|
3947 |
+
color: #5a5a5a;
|
3948 |
+
font-size: 14px;
|
3949 |
+
font-weight: 500;
|
3950 |
+
text-align: center
|
3951 |
+
}
|
3952 |
+
|
3953 |
+
.mec-addons .w-row .w-col-sm-3:nth-child(4n+1) {
|
3954 |
+
clear: left
|
3955 |
+
}
|
3956 |
+
|
3957 |
+
@media (min-width: 960px) {
|
3958 |
+
#webnus-dashboard .mec-addon-box-footer .w-button {
|
3959 |
+
text-align:right
|
3960 |
+
}
|
3961 |
+
}
|
3962 |
+
|
3963 |
+
@media (min-width: 1401px) {
|
3964 |
+
.mec-addon-box-title a span {
|
3965 |
+
font-size:17px
|
3966 |
+
}
|
3967 |
+
}
|
3968 |
+
|
3969 |
+
.mec-pro-notice {
|
3970 |
+
margin-top: 24px;
|
3971 |
+
line-height: 30px
|
3972 |
+
}
|
3973 |
+
|
3974 |
+
.mec-pro-notice .info-msg {
|
3975 |
+
padding: 20px 30px 27px;
|
3976 |
+
margin-bottom: 0
|
3977 |
+
}
|
3978 |
+
|
3979 |
+
.mec-intro-section .w-box-content {
|
3980 |
+
text-align: center
|
3981 |
+
}
|
3982 |
+
|
3983 |
+
.mec-intro-section .w-box-content.mec-intro-section-welcome {
|
3984 |
+
max-width: 600px;
|
3985 |
+
margin: 0 auto
|
3986 |
+
}
|
3987 |
+
|
3988 |
+
.mec-intro-section .w-box-content.mec-intro-section-welcome h3 {
|
3989 |
+
font-size: 27px
|
3990 |
+
}
|
3991 |
+
|
3992 |
+
a.mec-intro-section-link-tag.button.button-hero {
|
3993 |
+
margin: 0 10px 40px
|
3994 |
+
}
|
3995 |
+
|
3996 |
+
a.mec-intro-section-link-tag.button.button-primary.button-hero {
|
3997 |
+
color: #fff!important
|
3998 |
+
}
|
3999 |
+
|
4000 |
+
a.mec-intro-section-link-tag.button.button-secondary.button-hero {
|
4001 |
+
color: #000!important
|
4002 |
+
}
|
4003 |
+
|
4004 |
+
.mec-intro-section-ifarme iframe {
|
4005 |
+
border: 1px solid #e7e7e7;
|
4006 |
+
border-radius: 3px;
|
4007 |
+
padding: 10px;
|
4008 |
+
box-shadow: 0 3px 10px -6px rgba(0,0,0,.2)
|
4009 |
+
}
|
4010 |
+
|
4011 |
+
.w-box-content.mec-intro-section-welcome p {
|
4012 |
+
margin-bottom: 0
|
4013 |
+
}
|
4014 |
+
|
4015 |
+
.mec-tooltip a:focus {
|
4016 |
+
box-shadow: none
|
4017 |
+
}
|
4018 |
+
|
4019 |
+
#mec_booking_form .mec-options-fields,#mec_modules_form .mec-options-fields,#mec_settings_form .mec-options-fields,#mec_single_form .mec-options-fields {
|
4020 |
+
padding-bottom: 150px!important
|
4021 |
+
}
|
4022 |
+
|
4023 |
+
#mec_taxes_fees_container_toggle {
|
4024 |
+
margin-bottom: 60px
|
4025 |
+
}
|
4026 |
+
|
4027 |
+
#mec_taxes_fees_container_toggle {
|
4028 |
+
margin-bottom: 60px
|
4029 |
+
}
|
4030 |
+
|
4031 |
+
.wns-be-sidebar li {
|
4032 |
+
position: relative
|
4033 |
+
}
|
4034 |
+
|
4035 |
+
.wns-be-sidebar li .submneu-hover {
|
4036 |
+
position: absolute;
|
4037 |
+
top: -1px;
|
4038 |
+
right: -222px;
|
4039 |
+
width: 220px;
|
4040 |
+
z-index: 9;
|
4041 |
+
background: #fff;
|
4042 |
+
border: 1px;
|
4043 |
+
border-style: solid;
|
4044 |
+
border-color: #dedede;
|
4045 |
+
margin: 0;
|
4046 |
+
overflow: visible;
|
4047 |
+
opacity: 0;
|
4048 |
+
visibility: hidden;
|
4049 |
+
transition: all .23s ease;
|
4050 |
+
padding-top: 8px;
|
4051 |
+
padding-bottom: 12px
|
4052 |
+
}
|
4053 |
+
|
4054 |
+
.wns-be-sidebar li:hover {
|
4055 |
+
background: #fff
|
4056 |
+
}
|
4057 |
+
|
4058 |
+
.wns-be-sidebar li:hover .submneu-hover {
|
4059 |
+
opacity: 1;
|
4060 |
+
visibility: visible
|
4061 |
+
}
|
4062 |
+
|
4063 |
+
.wns-be-sidebar li .submneu-hover a {
|
4064 |
+
background: #fff;
|
4065 |
+
color: #636363;
|
4066 |
+
opacity: 1;
|
4067 |
+
font-size: 12px;
|
4068 |
+
padding: 6px 4px 6px 26px
|
4069 |
+
}
|
4070 |
+
|
4071 |
+
.wns-be-sidebar li .submneu-hover a:hover {
|
4072 |
+
background: #f6f6f6;
|
4073 |
+
color: #222
|
4074 |
+
}
|
4075 |
+
|
4076 |
+
.wns-be-sidebar li .submneu-hover:before {
|
4077 |
+
position: absolute;
|
4078 |
+
z-index: 999;
|
4079 |
+
content: " ";
|
4080 |
+
height: 0;
|
4081 |
+
width: 0;
|
4082 |
+
border: 7px solid transparent;
|
4083 |
+
border-right-color: #fff;
|
4084 |
+
left: -15px;
|
4085 |
+
top: 14px;
|
4086 |
+
border-right-color: #c5c5c5;
|
4087 |
+
right: 0
|
4088 |
+
}
|
4089 |
+
|
4090 |
+
.wns-be-sidebar li .submneu-hover:after {
|
4091 |
+
position: absolute;
|
4092 |
+
z-index: 999;
|
4093 |
+
content: " ";
|
4094 |
+
height: 0;
|
4095 |
+
width: 0;
|
4096 |
+
border: 7px solid transparent;
|
4097 |
+
border-right-color: #fff;
|
4098 |
+
left: -14px;
|
4099 |
+
top: 14px
|
4100 |
+
}
|
4101 |
+
|
4102 |
+
.wns-be-sidebar li a:focus,.wns-be-sidebar li:focus {
|
4103 |
+
outline: -webkit-focus-ring-color auto 0;
|
4104 |
+
border: 0;
|
4105 |
+
box-shadow: none
|
4106 |
+
}
|
4107 |
+
|
4108 |
+
@media (max-width: 480px) {
|
4109 |
+
.wns-be-sidebar li .submneu-hover {
|
4110 |
+
width:175px;
|
4111 |
+
right: 0
|
4112 |
+
}
|
4113 |
+
|
4114 |
+
.wns-be-sidebar li .submneu-hover a {
|
4115 |
+
font-size: 11px;
|
4116 |
+
padding: 5px 5px 5px 20px
|
4117 |
+
}
|
4118 |
+
}
|
4119 |
+
|
4120 |
+
.mec-tooltip:hover:after,.mec-tooltip:hover:before {
|
4121 |
+
display: none
|
4122 |
+
}
|
4123 |
+
|
4124 |
+
.mec-tooltip {
|
4125 |
+
display: inline-flex;
|
4126 |
+
bottom: 7px
|
4127 |
+
}
|
4128 |
+
|
4129 |
+
.mec-tooltip .box {
|
4130 |
+
min-width: 300px;
|
4131 |
+
max-width: 600px;
|
4132 |
+
display: inline-block;
|
4133 |
+
left: 26px;
|
4134 |
+
top: 50%;
|
4135 |
+
transform: translateY(-50%);
|
4136 |
+
padding: 0;
|
4137 |
+
margin-top: 8px;
|
4138 |
+
background-color: #535a61;
|
4139 |
+
color: #fff;
|
4140 |
+
font-weight: 300;
|
4141 |
+
font-size: 14px;
|
4142 |
+
letter-spacing: .5px;
|
4143 |
+
line-height: 1.3;
|
4144 |
+
position: absolute;
|
4145 |
+
z-index: 9999999;
|
4146 |
+
box-sizing: border-box;
|
4147 |
+
border-radius: 6px;
|
4148 |
+
box-shadow: 0 4px 45px -8px #444b50;
|
4149 |
+
visibility: hidden;
|
4150 |
+
opacity: 0;
|
4151 |
+
transition: opacity .23s
|
4152 |
+
}
|
4153 |
+
|
4154 |
+
#webnus-dashboard .mec-tooltip .box p,.mec-tooltip .box p {
|
4155 |
+
color: #fff;
|
4156 |
+
font-size: 14px;
|
4157 |
+
line-height: 1.3;
|
4158 |
+
margin: 0
|
4159 |
+
}
|
4160 |
+
|
4161 |
+
.mec-tooltip:hover .box {
|
4162 |
+
visibility: visible;
|
4163 |
+
opacity: 1
|
4164 |
+
}
|
4165 |
+
|
4166 |
+
.mec-tooltip:hover .box {
|
4167 |
+
padding: 20px;
|
4168 |
+
border-radius: 8px
|
4169 |
+
}
|
4170 |
+
|
4171 |
+
.mec-tooltip .box h5 {
|
4172 |
+
color: #fff;
|
4173 |
+
font-size: 17px;
|
4174 |
+
font-weight: 600;
|
4175 |
+
margin: -30px -20px;
|
4176 |
+
padding: 20px 0;
|
4177 |
+
text-align: center;
|
4178 |
+
margin-bottom: 10px;
|
4179 |
+
background: #3a3f44;
|
4180 |
+
border-bottom: 1px solid #32363a;
|
4181 |
+
border-radius: 6px 6px 0 0;
|
4182 |
+
z-index: 9999
|
4183 |
+
}
|
4184 |
+
|
4185 |
+
#webnus-dashboard .mec-tooltip .box p a,.mec-tooltip .box p a {
|
4186 |
+
color: #40d9f1;
|
4187 |
+
margin-top: 10px;
|
4188 |
+
margin-left: 0;
|
4189 |
+
font-weight: 400;
|
4190 |
+
position: relative;
|
4191 |
+
text-decoration: none;
|
4192 |
+
display: block;
|
4193 |
+
width: max-content
|
4194 |
+
}
|
4195 |
+
|
4196 |
+
.mec-tooltip .box a:hover {
|
4197 |
+
color: #f90
|
4198 |
+
}
|
4199 |
+
|
4200 |
+
.mec-tooltip .box:after {
|
4201 |
+
display: block;
|
4202 |
+
position: absolute!important;
|
4203 |
+
top: 100%!important;
|
4204 |
+
right: 50%!important;
|
4205 |
+
margin-top: -6px!important;
|
4206 |
+
margin-right: -6px!important;
|
4207 |
+
width: 12px!important;
|
4208 |
+
height: 24px!important;
|
4209 |
+
overflow: hidden!important;
|
4210 |
+
transform: rotate(-90deg)!important
|
4211 |
+
}
|
4212 |
+
|
4213 |
+
.mec-tooltip .box:before {
|
4214 |
+
display: block;
|
4215 |
+
content: ''!important;
|
4216 |
+
position: absolute!important;
|
4217 |
+
width: 12px;
|
4218 |
+
height: 12px;
|
4219 |
+
left: -10px!important;
|
4220 |
+
top: 50%!important;
|
4221 |
+
transform: translate(50%,-50%) rotate(-45deg)!important;
|
4222 |
+
background-color: #535a61!important;
|
4223 |
+
box-shadow: 0 8px 9px -4px #535a61!important;
|
4224 |
+
z-index: 0!important
|
4225 |
+
}
|
4226 |
+
|
4227 |
+
.mec-tooltip .box.top {
|
4228 |
+
left: 50%;
|
4229 |
+
top: 0;
|
4230 |
+
transform: translate(-50%,-100%);
|
4231 |
+
margin-top: 0;
|
4232 |
+
margin-left: -10px
|
4233 |
+
}
|
4234 |
+
|
4235 |
+
.mec-tooltip .box.top:after {
|
4236 |
+
top: 50%!important;
|
4237 |
+
right: 100%!important
|
4238 |
+
}
|
4239 |
+
|
4240 |
+
.mec-tooltip .box.top:before {
|
4241 |
+
left: 50%!important;
|
4242 |
+
top: 100%!important
|
4243 |
+
}
|
4244 |
+
|
4245 |
+
.mec-tooltip .box.bottom {
|
4246 |
+
left: 50%;
|
4247 |
+
top: auto;
|
4248 |
+
bottom: 0;
|
4249 |
+
transform: translate(-50%,100%);
|
4250 |
+
margin-bottom: -20px;
|
4251 |
+
margin-left: -10px
|
4252 |
+
}
|
4253 |
+
|
4254 |
+
.mec-tooltip .box.bottom:after {
|
4255 |
+
top: 0!important;
|
4256 |
+
right: 50%!important;
|
4257 |
+
background-color: #3a3f44!important
|
4258 |
+
}
|
4259 |
+
|
4260 |
+
.mec-tooltip .box.bottom:before {
|
4261 |
+
left: 50%!important;
|
4262 |
+
top: -7px!important;
|
4263 |
+
transform: translateX(-50%);
|
4264 |
+
background-color: #3a3f44!important
|
4265 |
+
}
|
4266 |
+
|
4267 |
+
.mec-tooltip .box.left {
|
4268 |
+
left: auto;
|
4269 |
+
right: 26px;
|
4270 |
+
top: 50%;
|
4271 |
+
transform: translateY(-50%)
|
4272 |
+
}
|
4273 |
+
|
4274 |
+
.mec-tooltip .box.left:before {
|
4275 |
+
right: 0!important;
|
4276 |
+
left: auto!important;
|
4277 |
+
top: 50%!important
|
4278 |
+
}
|
4279 |
+
|
4280 |
+
form#mec_reg_fields_form input[type=radio]:before {
|
4281 |
+
content: "";
|
4282 |
+
display: inline-block;
|
4283 |
+
background: #fff;
|
4284 |
+
border-radius: 18px;
|
4285 |
+
width: 14px;
|
4286 |
+
height: 14px;
|
4287 |
+
margin: -1px 0 0 -2px;
|
4288 |
+
cursor: pointer;
|
4289 |
+
border: 2px solid #e1e7ed;
|
4290 |
+
box-shadow: 0 2px 15px -3px rgba(69,77,89,.32)
|
4291 |
+
}
|
4292 |
+
|
4293 |
+
form#mec_reg_fields_form input[type=radio]:checked:before {
|
4294 |
+
border: 7px solid #008aff;
|
4295 |
+
background: #fff;
|
4296 |
+
box-shadow: 0 3px 16px -3px #008aff;
|
4297 |
+
width: 4px;
|
4298 |
+
height: 4px
|
4299 |
+
}
|
4300 |
+
|
4301 |
+
form#mec_reg_fields_form input[type=radio] {
|
4302 |
+
min-height: 0;
|
4303 |
+
margin-right: 6px
|
4304 |
+
}
|
4305 |
+
|
4306 |
+
form#mec_reg_fields_form label {
|
4307 |
+
margin-right: 20px
|
4308 |
+
}
|
4309 |
+
|
4310 |
+
@media(min-width: 1200px) and (max-width:1366px) {
|
4311 |
+
.mec-tooltip .box.left {
|
4312 |
+
left:50%;
|
4313 |
+
top: 0;
|
4314 |
+
transform: translate(-50%,-100%);
|
4315 |
+
margin-top: 0;
|
4316 |
+
margin-left: -10px
|
4317 |
+
}
|
4318 |
+
|
4319 |
+
.mec-tooltip .box.left:after {
|
4320 |
+
top: 50%!important;
|
4321 |
+
right: 100%!important
|
4322 |
+
}
|
4323 |
+
|
4324 |
+
.mec-tooltip .box.left:before {
|
4325 |
+
left: 50%!important;
|
4326 |
+
top: 100%!important
|
4327 |
+
}
|
4328 |
+
|
4329 |
+
.mec-tooltip .box {
|
4330 |
+
min-width: 225px
|
4331 |
+
}
|
4332 |
+
|
4333 |
+
.mec-tooltip .box h5 {
|
4334 |
+
font-size: 15px
|
4335 |
+
}
|
4336 |
+
|
4337 |
+
.mec-tooltip .box .content {
|
4338 |
+
font-size: 12px
|
4339 |
+
}
|
4340 |
+
}
|
4341 |
+
|
4342 |
+
@media(max-width: 1366px) {
|
4343 |
+
.wns-be-container .wns-be-group-tab p {
|
4344 |
+
margin-top:0
|
4345 |
+
}
|
4346 |
+
}
|
4347 |
+
|
4348 |
+
.mec-addons-notification-box-wrap .w-col-sm-12 {
|
4349 |
+
padding: 0
|
4350 |
+
}
|
4351 |
+
|
4352 |
+
.mec-addons-notification-box-wrap img {
|
4353 |
+
width: auto
|
4354 |
+
}
|
4355 |
+
|
4356 |
+
.mec-addons-notification-box-image {
|
4357 |
+
width: 555px;
|
4358 |
+
display: inline-block;
|
4359 |
+
vertical-align: top
|
4360 |
+
}
|
4361 |
+
|
4362 |
+
.mec-addons-notification-box-content {
|
4363 |
+
width: calc(100% - 559px);
|
4364 |
+
display: inline-block
|
4365 |
+
}
|
4366 |
+
|
4367 |
+
.mec-addons-notification-box-content p {
|
4368 |
+
margin-top: 1%;
|
4369 |
+
line-height: 1.5;
|
4370 |
+
font-size: 16px
|
4371 |
+
}
|
4372 |
+
|
4373 |
+
.mec-addons-notification-box-content .w-box-content {
|
4374 |
+
padding-top: 0;
|
4375 |
+
padding-bottom: 0
|
4376 |
+
}
|
4377 |
+
|
4378 |
+
.mec-addons-notification-box-content ol {
|
4379 |
+
font-size: 16px
|
4380 |
+
}
|
4381 |
+
|
4382 |
+
.mec-addons-notification-box-content a {
|
4383 |
+
background: #38d5ed;
|
4384 |
+
color: #fff!important;
|
4385 |
+
padding: 10px 26px;
|
4386 |
+
margin-top: 5px;
|
4387 |
+
display: inline-block;
|
4388 |
+
border-radius: 3px;
|
4389 |
+
text-transform: capitalize;
|
4390 |
+
font-size: 16px;
|
4391 |
+
letter-spacing: .4px;
|
4392 |
+
transition: all .1s ease;
|
4393 |
+
font-weight: 600;
|
4394 |
+
text-decoration: none
|
4395 |
+
}
|
4396 |
+
|
4397 |
+
.mec-addons-notification-box-content a:hover {
|
4398 |
+
background: #000
|
4399 |
+
}
|
4400 |
+
|
4401 |
+
.w-clearfix.w-box.mec-addons-notification-box-wrap span {
|
4402 |
+
right: 0;
|
4403 |
+
left: unset;
|
4404 |
+
cursor: pointer;
|
4405 |
+
background: #fff;
|
4406 |
+
padding: 0 16px
|
4407 |
+
}
|
4408 |
+
|
4409 |
+
.w-clearfix.w-box.mec-addons-notification-box-wrap span i {
|
4410 |
+
font-size: 28px;
|
4411 |
+
vertical-align: sub;
|
4412 |
+
color: #f2113e
|
4413 |
+
}
|
4414 |
+
|
4415 |
+
.wns-be-container .mec-addons-notification-wrap {
|
4416 |
+
padding: 0;
|
4417 |
+
margin: 0
|
4418 |
+
}
|
4419 |
+
|
4420 |
+
.wns-be-container .mec-addons-notification-wrap .w-col-sm-12 {
|
4421 |
+
padding: 0
|
4422 |
+
}
|
4423 |
+
|
4424 |
+
.wns-be-container .w-box {
|
4425 |
+
margin-top: 0
|
4426 |
+
}
|
4427 |
+
|
4428 |
+
.wns-be-container.mec-addons-notification-set-box {
|
4429 |
+
margin-right: 15px;
|
4430 |
+
margin-top: 40px;
|
4431 |
+
margin-bottom: 27px
|
4432 |
+
}
|
assets/css/backend.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
#mec_location_thumbnail_img img,#mec_organizer_thumbnail_img img,#mec_thumbnail_img img{max-width:250px}.taxonomy-mec_label .column-id,.taxonomy-mec_location .column-id,.taxonomy-mec_organizer .column-id,.taxonomy-mec_speaker .column-id{width:40px}.taxonomy-mec_label .column-primary,.taxonomy-mec_location .column-primary,.taxonomy-mec_organizer .column-primary,.taxonomy-mec_speaker .column-primary{width:250px}.mec-color{margin:10px;width:14px;height:14px;display:inline-block;margin-right:6px;border-radius:20px 20px 20px 20px;vertical-align:middle}.mec-event-color-container,.mec-event-title-container{display:inline-block}.mec-available-color-row{margin-top:15px}.mec-available-color-row .mec-color{cursor:pointer}.mec-widget-container a{text-decoration:none}.mec-widget-container label{padding-right:15px}.mec-util-hidden{display:none}.button.mec-util-hidden{display:none}.wns-be-container{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Oxygen,Roboto,sans-serif;max-width:100%;background-color:#f6f6f6;border:1px solid #c1cad2;box-shadow:0 1px 1px rgba(0,0,0,.04);margin-top:5px;margin-right:15px;overflow:hidden}.wns-be-sidebar{width:260px;float:left;position:relative}.wns-be-sidebar ul.wns-be-group-menu,.wns-be-sidebar ul.wns-be-group-menu li{list-style:none;margin:0}.wns-be-sidebar .wns-be-group-menu li a{display:block;position:relative;outline:0;padding:13px 4px 13px 20px;background:#e0e0e0;background:0 0;border:none;color:#3f454a;font-size:13px;font-weight:600;text-decoration:none;-webkit-transition:none;transition:none}.wns-be-sidebar .wns-be-group-menu li a:hover{background:#fff;color:#008aff;opacity:1}.wns-be-sidebar .wns-be-group-menu>li.active>a,.wns-be-sidebar .wns-be-group-menu>li.active>a:hover{background:#008aff;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);color:#fff}.wns-be-sidebar .wns-be-group-menu>li.active>a{box-shadow:0 2px 12px -5px #008aff}.wns-be-sidebar .wns-be-group-menu li a:first-child{border-top:none}.wns-be-main{background:#fff;margin-left:260px;border-left:1px solid #dedede;padding-bottom:84px;box-shadow:inset 0 1px 0 #fff;min-height:1120px;position:relative}.wns-be-main .wns-saved-settings{margin:0;border-bottom:1px solid #dedede;background:#dff0d8;color:#468847;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,.6)}.wns-be-container .dpr-btn{display:inline-block;font-size:13px;padding:0 16px 1px;height:36px;margin-right:3px;line-height:35px;color:#555;border:1px solid #ccc;background:#f7f7f7;text-decoration:none;transition:.24s all ease;-webkit-transition:.24s all ease}.wns-be-container .dpr-btn:hover{background:#fcfcfc;border-color:#999;color:#303030}.wns-be-container .dpr-btn.dpr-save-btn{color:#fff;font-weight:500;border-radius:2px;box-shadow:0 3px 10px -4px #008aff;text-shadow:none;background:#008aff;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);border:none;transition:.24s}.wns-be-container .dpr-btn.dpr-save-btn:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 23px -7px rgba(0,0,0,.5);cursor:pointer}.wns-be-container .wns-be-group-tab h2,.wns-be-container .wns-be-group-tab h4{color:#000;margin-bottom:25px;padding:15px;background:#f5f5f5;font-size:21px;line-height:23px;letter-spacing:.4px;font-weight:700;position:relative}.wns-be-container .wns-be-group-tab h2{margin-top:10px}.wns-be-container .wns-be-group-tab h2:before,.wns-be-container .wns-be-group-tab h4:before{content:"";width:4px;height:16px;margin-right:5px;background-color:#008aff;display:block;position:absolute;left:0;top:18px}.wns-be-container .wns-be-group-tab h4:before{width:2px;top:16px}.wns-be-container .wns-be-group-tab h4{font-size:16px;font-weight:600;background:#f8f8f8;border:none;padding:12px 15px 12px 15px}.wns-be-container .wns-be-group-tab p{font-size:13px;color:#888}.wns-be-sidebar .wns-be-group-tab-link-a:hover{cursor:pointer}.wns-be-sidebar .wns-be-group-tab-link-a span{display:block}.wns-be-sidebar .wns-be-group-tab-link-a span.wns-be-group-menu-title{padding-left:24px}.wns-be-sidebar li.active ul.subsection{padding-top:8px;padding-bottom:12px;background:#fff;border-bottom:1px solid #dedede;margin:0}.wns-be-sidebar li .subsection a{background:#fff;color:#636363;opacity:1;font-size:12px;padding:6px 4px 6px 46px}.wns-be-sidebar li .subsection a:hover{background:#f6f6f6;color:#222}.wns-be-sidebar .wns-be-group-menu li .subsection li.active a{color:#008aff}.wns-be-sidebar .wns-be-group-menu li .subsection li.active a:after,.wns-be-sidebar .wns-be-group-menu li .subsection li.active a:before{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;right:-1px;top:10px}.wns-be-sidebar .wns-be-group-menu li .subsection li.active a:before{border-right-color:#c5c5c5;right:0}.wns-be-sidebar li a i{color:#a0abb5;vertical-align:middle;font-size:16px;position:absolute;margin-top:0}.wns-be-sidebar .wns-be-group-menu li.active>a i{color:#fff}.wns-be-sidebar .has-sub span.extra-icon{display:inline-block;float:right;padding:4px 7px 4px;margin-left:4px;margin-right:10px;font-family:sans-serif;font-size:9px;font-weight:600;line-height:9px;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent}.wns-be-sidebar .has-sub span.extra-icon i{margin-left:-3px;margin-top:2px;color:#bac6d0;font-size:10px}.wns-be-sidebar .wns-be-group-tab-link-a span.extra-icon i{right:10px;font-size:10px}.wns-be-sidebar .wns-be-group-menu li.active>a span.extra-icon i{margin-top:1px}.wns-be-container #wns-be-footer{border-top:1px solid #dedede;z-index:999;padding:25px 20px 20px;background:#fafafa!important;height:44px;text-align:right}.wns-be-container #wns-be-content{padding:5px 40px 40px}.wns-be-container #wns-be-infobar{background:#fff;border-bottom:1px solid #dedede;padding:20px;text-align:right;box-shadow:inset 0 1px 0 #fcfcfc;height:79px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;position:relative}.wns-be-container #wns-be-infobar:before{content:"";width:261px;height:78px;display:block;position:absolute;left:0;top:0;background:#fff url(../img/webnus-logo.png) no-repeat center;border-bottom:1px solid #dedede;background-size:220px;z-index:997}.wns-be-container .notice-yellow{margin:0;border-bottom:1px solid #dedede;background-color:#fcf8e3;color:#c09853;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,.5)}.wns-be-container .notice-red,.wns-be-container .wns-be-field-errors{margin:0;border-bottom:1px solid #dedede;background-color:#f2dede;color:#b94a48;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,.5)}body.post-type-mec-events th.column-primary{width:35%}body.post-type-mec-events th.column-start_date{width:100px}body.post-type-mec-events th.column-end_date{width:100px}body.post-type-mec-events th.column-repeat{width:75px}body.post-type-mec-events th.column-author{width:150px}body.post-type-mec-books th.column-primary{width:20%}body.post-type-mec-books th.column-event{width:170px}body.post-type-mec-books th.column-bdate{width:120px}body.post-type-mec-books th.column-confirmation{width:120px}body.post-type-mec-books th.column-verification{width:120px}body.post-type-mec-books th.column-author{width:150px}.mec-meta-box-labels-container .mec-form-row{height:100px;overflow:auto}.mec-tooltip{display:inline;position:relative;margin-right:10px;cursor:help;bottom:5px;left:3px}.mec-tooltip:last-child{margin-right:0}.mec-tooltip:hover:after{background:#313130;border-radius:5px;bottom:24px;color:#fff;content:attr(title);left:-75px;padding:10px;position:absolute;z-index:98;width:240px}.mec-tooltip:hover:before{border:solid;border-color:#313130 transparent;border-width:6px 6px 0;bottom:18px;content:"";left:30%;position:absolute;z-index:99}.mec-tooltip .dashicons-before:before{font-size:24px;color:#008aff;line-height:37px}.mec-tooltip a:focus{box-shadow:none}.mec-form-row .bootstrap_unvalid{display:block;border:2px solid red;position:relative;display:inline-block;border-bottom:1px dotted #000}.mec-tooltiptext{visibility:hidden;width:120px;background-color:red;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1}.ui-datepicker{background-color:#fff;border:1px solid #66afe9;border-radius:4px;box-shadow:0 0 8px rgba(102,175,233,.6);display:none;margin-top:4px;padding:10px;width:240px}.ui-datepicker a,.ui-datepicker a:hover{text-decoration:none;cursor:pointer}.ui-datepicker a:hover,.ui-datepicker td:hover a{color:#2c6396;-webkit-transition:color .1s ease-in-out;-moz-transition:color .1s ease-in-out;-o-transition:color .1s ease-in-out;transition:color .1s ease-in-out}.ui-datepicker .ui-datepicker-header{margin-bottom:4px;text-align:center}.ui-datepicker .ui-datepicker-title{font-weight:700}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{cursor:default;font-family:dashicons;-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;height:20px;line-height:1.4;margin-top:2px;width:20px}.ui-datepicker .ui-datepicker-prev{float:left;text-align:left}.ui-datepicker .ui-datepicker-next{float:right;text-align:center}.ui-datepicker .ui-datepicker-prev:before{content:"\f341"}.ui-datepicker .ui-datepicker-next:before{content:"\f345"}.ui-datepicker .ui-icon{display:none}.ui-datepicker .ui-datepicker-calendar{table-layout:fixed;width:100%}.ui-datepicker .ui-datepicker-calendar td,.ui-datepicker .ui-datepicker-calendar th{text-align:center;padding:4px 0}.ui-datepicker .ui-datepicker-calendar td{border-radius:4px;-webkit-transition:background-color .1s ease-in-out,color .1s ease-in-out;-moz-transition:background-color .1s ease-in-out,color .1s ease-in-out;-o-transition:background-color .1s ease-in-out,color .1s ease-in-out;transition:background-color .1s ease-in-out,color .1s ease-in-out}.ui-datepicker .ui-datepicker-calendar td:hover{background-color:#eee;cursor:pointer}.ui-datepicker .ui-datepicker-calendar td a{text-decoration:none}.ui-datepicker .ui-datepicker-current-day{background-color:#4289cc}.ui-datepicker .ui-datepicker-current-day a{color:#fff}.ui-datepicker .ui-datepicker-calendar .ui-datepicker-unselectable:hover{background-color:#fff;cursor:default}.mec-col-1,.mec-col-10,.mec-col-11,.mec-col-12,.mec-col-2,.mec-col-3,.mec-col-4,.mec-col-5,.mec-col-6,.mec-col-7,.mec-col-8,.mec-col-9{position:relative;min-height:1px;padding:0;margin:0 1% 0 0}@media (min-width:783px){.mec-col-1,.mec-col-10,.mec-col-11,.mec-col-12,.mec-col-2,.mec-col-3,.mec-col-4,.mec-col-5,.mec-col-6,.mec-col-7,.mec-col-8,.mec-col-9{float:left}.mec-col-12{width:99%}.mec-col-11{width:90.66666667%}.mec-col-10{width:82.33333333%}.mec-col-9{width:74%}.mec-col-8{width:65.66666667%}.mec-col-7{width:57.33333333%}.mec-col-6{width:49%}.mec-col-5{width:40.66666667%}.mec-col-4{width:32.33333333%}.mec-col-3{width:24%}.mec-col-2{width:15.66666667%}.mec-col-1{width:7.33333333%}}#mec_reg_form_fields{background:#eee;padding:20px}#mec_reg_form_fields li{margin:4px;border-radius:2px;padding:20px 34px 24px;background:#fff;position:relative;transition:all .3s ease}#mec_reg_form_fields li ul{padding-top:15px;padding-bottom:15px;margin:1px}#mec_reg_form_fields li ul li{padding:7px 30px 7px 46px}#mec_reg_form_fields span.mec_reg_field_type{font-size:11px;font-weight:600;color:#8a8a8a;text-transform:uppercase;letter-spacing:2px}#mec_reg_form_fields span.mec_reg_field_option_sort,#mec_reg_form_fields span.mec_reg_field_remove,#mec_reg_form_fields span.mec_reg_field_sort{font-size:0;color:#fff}#mec_reg_form_fields span.mec_reg_field_remove{position:absolute;right:0;top:0}#mec_reg_form_fields span.mec_reg_field_option_sort:before,#mec_reg_form_fields span.mec_reg_field_remove:before,#mec_reg_form_fields span.mec_reg_field_sort:before{position:absolute;left:10px;top:20px;width:80px;height:20px;display:block;cursor:move;font-family:simple-line-icons;content:"\e023";font-size:18px;color:#888}#mec_reg_form_fields span.mec_reg_field_remove:before{content:"\e082";width:20px;height:20px;left:auto;right:15px;color:#f96666;cursor:pointer}#mec_reg_form_fields span.mec_reg_field_option_sort:before{font-size:13px;left:2px;top:23px;width:14px;height:14px}#mec_reg_form_fields li ul li span.mec_reg_field_remove{right:auto;left:60px;top:2px}#mec_reg_form_fields p.mec_reg_field_options{margin:6px 0 8px}#mec_reg_form_fields input[type=number],#mec_reg_form_fields input[type=text],#mec_reg_form_fields select,#mec_reg_form_fields textarea{min-width:260px;min-height:34px;margin-bottom:7px;margin-top:7px}#mec_reg_form_fields textarea{min-height:66px}#mec_reg_form_field_types button,#mec_reg_form_fields button{position:relative;outline:0;background:#fff;border:1px solid #e2e2e2;border-radius:50px;padding:11px 21px 11px 31px;line-height:1;font-size:11px;font-weight:600;color:#444;letter-spacing:2px;height:auto;cursor:pointer;margin-top:5px;text-transform:uppercase;box-shadow:0 0 3px rgba(0,0,0,.03)}#mec_reg_form_field_types button:hover,#mec_reg_form_fields button:hover{border-color:#008aff;box-shadow:0 0 7px rgba(0,0,0,.1)}#mec_reg_form_field_types button:before,#mec_reg_form_fields button:before{position:absolute;left:12px;color:#008aff;content:"\e095";font-family:simple-line-icons;font-size:13px;display:inline-block}#mec_reg_form_field_types button.red:hover,#mec_reg_form_fields button.red:hover{border-color:red;box-shadow:0 0 7px rgba(0,0,0,.1)}#mec_reg_form_field_types button.red:before,#mec_reg_form_fields button.red:before{position:absolute;left:12px;color:red;content:"\e095";font-family:simple-line-icons;font-size:13px;display:inline-block}@media (max-width:768px){#mec_reg_form_fields input[type=number],#mec_reg_form_fields input[type=text],#mec_reg_form_fields select,#mec_reg_form_fields textarea{min-width:80px;width:100%}}.mec-form-row{margin:0 auto 10px}.mec-options-fields{padding-top:25px;overflow:hidden;animation:fadeEffect 1s}#mec_notifications_form .mec-options-fields,#mec_settings_form .mec-options-fields{display:none}.mec-options-fields.active{display:block!important}@keyframes fadeEffect{from{opacity:0}to{opacity:1}}.mec-form-row:after,.mec-form-row:before{content:" ";display:table}.mec-form-row:after{clear:both}.mec-form-row input[type=number],.mec-form-row input[type=text],.mec-form-row select{height:38px;box-sizing:border-box;margin-bottom:8px;padding:0 6px;box-shadow:none;border-radius:2px;box-shadow:inset 0 1px 5px rgba(0,0,0,.05)}.mec-form-row input[type=radio]{margin:5px 0}.mec-form-row select{margin-top:1px}.mec-book-status-form select{display:block;width:99%;margin-top:10px;margin-bottom:10px}.mec-form-row label{margin:10px 0}.mec-form-row input[type=checkbox]{background-color:#fafafa;border:1px solid #cacece;box-shadow:0 1px 2px rgba(0,0,0,.05),inset 0 -15px 10px -12px rgba(0,0,0,.05);padding:9px;border-radius:3px;min-width:20px;min-height:20px;display:inline-block}.mec-form-row input[type=checkbox]:checked{box-shadow:0 3px 11px -4px #008aff;border-color:#008aff;background:#fff}.mec-form-row input[type=checkbox]:checked:before{color:#008aff;width:20px;font:400 24px/1 dashicons}.mec-form-row .mec-col-4 input[type=text],.mec-form-row .mec-col-4 select{width:75%}.mec-form-row .description{display:inline-block;border-left:1px dashed #ccc;margin-left:12px;line-height:26px;padding-left:12px;color:#555}.mec-form-row .time-dv{font-size:14px;font-weight:700}.mec-meta-box-fields{margin:30px 10px}.mec-meta-box-fields>.mec-meta-box-fields{margin-left:0}.mec-meta-box-fields .mec-title{margin:5px 0}.mec-meta-box-fields h4.mec-title{margin:40px 0 16px}.mec-meta-box-fields .mec-dashicons{font-size:20px;line-height:22px;color:#008aff}.mec-form-row .mec-box,.mec-meta-box-fields .mec-box{background:#f7f7f7;padding:10px;margin:10px 0;border-radius:2px;border:1px solid #e6e6e6}.mec-form-row .mec-box{max-width:960px}.mec-form-row .mec-box .button,.mec-meta-box-fields .mec-box .button{float:right}#mec_gateways_form .mec-form-row:first-child,#mec_notifications_form_container .mec-form-row:nth-child(2){overflow:hidden}#mec_gateways_form .mec-tooltip{float:right}.mec-container{background:#fff;padding:15px}.nav-tab-active{background:#fff;border-bottom:1px solid #fff}#mec_social_networks .mec-form-row{margin-bottom:0}#mec_gateways_form h4,.mec-meta-box-fields h4,.mec-options-fields h4,h4.mec-form-subtitle{text-transform:capitalize;border-bottom:1px solid #e5e5e5;padding-bottom:6px;margin:40px 0 16px;font-size:15px;font-weight:600}#mec_gateways_form h4{margin-bottom:0}#mec_styles_form #mec_styles_CSS{height:200px;margin-bottom:5px;font-family:Consolas,Monaco,monospace;font-size:13px;width:97%;background:#f9f9f9;outline:0}#mec_calendar_filter .description,#mec_styles_form .description{max-width:500px;display:block;margin:0 0 5px 0;padding:0;border:none}.mec-sed-methods li{display:inline-block;padding:8px 12px;border:1px solid #ddd;margin:0 5px 5px 0;cursor:pointer;border-radius:3px;box-shadow:0 2px 15px -2px rgba(0,0,0,.1)}.mec-sed-methods li:hover{border-color:#008aff}.mec-sed-methods li.active{border-color:#008aff;background-color:#fff;color:#008aff;font-weight:600;cursor:default;box-shadow:0 0 8px rgba(1,138,255,.5) inset}.mec-switcher input+label{display:block;position:relative;cursor:pointer;outline:0;padding:2px;width:38px;height:22px;background-color:#ddd;border-radius:60px}.mec-switcher input:checked+label{background-color:#008aff;box-shadow:0 3px 22px -6px #008aff}.mec-switcher input:checked+label:after{margin-left:16px}#mec_gateways_form input[type=text],#mec_gateways_form select,#mec_gateways_form textarea{width:calc(100% - 30px)}#mec_gateways_form textarea{min-height:65px}#mec_gateways_form li .mec-gateway-options-form{padding:15px 20px;background-color:#f7f7f7;border-left:6px solid #e3e3e3;margin-bottom:20px}#mec_notifications_form label{display:inline-block;min-width:160px}#mec_notifications_form input[type=text],#mec_notifications_form select{min-width:300px}@media (max-width:536px){#mec_notifications_form input[type=text],#mec_notifications_form select{min-width:100%}}#mec_notifications_form .wp-editor-container{margin-bottom:45px}#mec_notifications_form ul li:last-child .wp-editor-container{margin-bottom:0}#mec_messages_form_container ul li label{display:block;font-weight:700}#mec_messages_form_container ul li input{display:block;width:100%}.mec-message-categories li.mec-acc-label{font-size:18px;font-weight:700;padding:10px;cursor:pointer;background-color:#f1f1f1;border:1px solid #ccc}.mec-message-categories ul{margin:15px 5px}.webnus-icons-list li{width:40px;display:inline-block;list-style:none;padding:0}.webnus-icons-list input{visibility:hidden;margin:0;padding:0;width:1px;height:1px;-moz-opacity:0;-khtml-opacity:0;opacity:0;cursor:pointer}.webnus-icons-list li label{color:#777;display:inline-block!important;float:none!important;width:33px!important;text-align:center;font-size:23px!important;font-weight:400!important;padding:5px 0!important;border:1px solid #eee!important}.mec-webnus-icon{float:left;margin-right:10px}.mec-webnus-icon i{font-size:24px;color:#222}.mec-accordion ul{display:none}.mec-switcher input{position:absolute;margin-left:-9999px;visibility:hidden}.mec-switcher input+label{display:block;position:relative;cursor:pointer;outline:0;padding:2px;width:50px;height:22px;background-color:#ddd;border-radius:60px}.mec-switcher input+label:after,.mec-switcher input+label:before{display:block;position:absolute;top:1px;left:1px;bottom:1px;content:""}.mec-switcher input+label:before{right:1px;background-color:#f1f1f1;border-radius:60px;transition:background .4s}.mec-switcher input+label:after{width:24px;background-color:#fff;border-radius:100%;box-shadow:0 2px 3px rgba(0,0,0,.1);transition:margin .4s}.wns-be-group-tab .mec-switcher input[value="1"]+label,.wns-be-group-tab .mec-switcher input[value="1"]+label:before{background-color:#008aff;box-shadow:0 3px 22px -7px #008aff}.wns-be-group-tab .mec-switcher input[value="1"]+label:after{margin-left:28px}.mec-switcher input:checked+label{background-color:#008aff}.mec-switcher input:checked+label:before{background-color:#008aff}.mec-switcher input:checked+label:after{margin-left:28px}.mec-switcher label{display:block}.mec-sed-methods li{display:inline-block;padding:10px;border:1px solid #ddd;margin:0 5px 5px 0;cursor:pointer}#wpwrap .mec-button-primary{border-bottom:none;letter-spacing:.5px;line-height:18px;height:46px;transition:all .5s ease;color:#fff;padding:12px 25px;display:block;text-align:center;font-size:14px;background:0 0;background-color:#008aff;text-shadow:none;border:0;box-shadow:none;display:inline-block;margin:25px 0 12px;min-width:146px}#wpwrap .mec-button-primary:hover{background-color:#41c9de}#wpwrap .mec-button-primary.loading{background-color:#73c02a}#wpwrap .mec-button-primary:before{content:"\f00c";font-family:fontawesome;margin-right:4px;font-size:16px;display:none}#wpwrap .mec-button-primary.loading:before{display:inline-block}.mec-image-select-wrap{clear:both;overflow:hidden;padding:10px 0;margin:0}.mec-image-select-wrap li{float:left;display:block;margin-right:15px;margin-bottom:15px}.mec-image-select-wrap li input{display:none}.mec-image-select-wrap li span{width:35px;height:35px;display:block;border:3px solid transparent}.mec-image-select-wrap li input:checked+span{border-color:#e3e3e3}.mec-image-select-wrap li input:checked+span:after{content:"\f00c";font-family:fontawesome;font-size:20px;display:inline-block;color:#fff;padding:8px;max-width:100%;max-height:100%}.mec-image-select-wrap .mec-colorskin-1{background-color:#008aff}.mec-image-select-wrap .mec-colorskin-2{background-color:#0093d0}.mec-image-select-wrap .mec-colorskin-3{background-color:#e53f51}.mec-image-select-wrap .mec-colorskin-4{background-color:#f1c40f}.mec-image-select-wrap .mec-colorskin-5{background-color:#e64883}.mec-image-select-wrap .mec-colorskin-6{background-color:#45ab48}.mec-image-select-wrap .mec-colorskin-7{background-color:#9661ab}.mec-image-select-wrap .mec-colorskin-8{background-color:#0aad80}.mec-image-select-wrap .mec-colorskin-9{background-color:#0ab1f0}.mec-image-select-wrap .mec-colorskin-10{background-color:#ff5a00}.mec-image-select-wrap .mec-colorskin-11{background-color:#c3512f}.mec-image-select-wrap .mec-colorskin-12{background-color:#55606e}.mec-image-select-wrap .mec-colorskin-13{background-color:#fe8178}.mec-image-select-wrap .mec-colorskin-14{background-color:#7c6853}.mec-image-select-wrap .mec-colorskin-15{background-color:#bed431}.mec-image-select-wrap .mec-colorskin-16{background-color:#2d5c88}.mec-image-select-wrap .mec-colorskin-17{background-color:#77da55}.mec-image-select-wrap .mec-colorskin-18{background-color:#2997ab}.mec-image-select-wrap .mec-colorskin-19{background-color:#734854}.mec-image-select-wrap .mec-colorskin-20{background-color:#a81010}.mec-image-select-wrap .mec-colorskin-21{background-color:#4ccfad}.mec-image-select-wrap .mec-colorskin-22{background-color:#3a609f}@media screen and (max-width:782px){.mec-form-row .description{max-width:500px;display:block;margin:0 0 5px 0;padding:0;border:none}.mec-col-1,.mec-col-10,.mec-col-11,.mec-col-12,.mec-col-2,.mec-col-3,.mec-col-4,.mec-col-5,.mec-col-6,.mec-col-7,.mec-col-8,.mec-col-9{margin-bottom:5px;display:block}.mec-form-row .mec-box .button,.mec-meta-box-fields .mec-box .button{float:left}.mec-form-row .time-dv{padding:0 4px}.mec-form-row .mec-col-4 input[type=text],.mec-form-row .mec-col-4 select{width:auto;min-width:192px}.mec-tooltip .dashicons-before:before{font-size:32px}}#frmb-0-clear-all,#frmb-0-save,#frmb-0-view-data{display:none}#mec_sn_googlecal{margin-bottom:0}#mec_fee_row1 .button{margin-right:10px}h4.mec-form-subtitle{font-size:15px;margin-top:0}#webnus-dashboard *{box-sizing:border-box}#webnus-dashboard.about-wrap{max-width:1240px;margin:25px auto 20px}#webnus-dashboard .change-log{word-wrap:break-word}#webnus-dashboard .welcome-head img{border:none}.w-welcome{position:relative;margin-top:30px;margin-bottom:10px}.w-box{position:relative;background:#fff;padding:5px 25px;margin-top:30px}.w-theme-version{box-shadow:0 3px 30px -4px #40d8f0;text-shadow:none;background:#40d8f0;background:linear-gradient(95deg,#40d8f0 0,#2dd1ea 50%,#13cbe8 100%);text-align:center;display:block;padding:10px 0;color:#fff;font-weight:600;margin-top:10px;border-radius:2px}.w-box{padding:0;min-height:310px;box-shadow:0 1px 16px rgba(0,0,0,.034);border-radius:2px}.w-box-head{font-weight:600;padding:20px 72px;position:relative;border-bottom:2px solid #008aff;font-size:20px}.w-box-head span{position:absolute;left:0;padding:0 25px;line-height:58px;background:#008aff;height:100%;top:0;color:#fff}.w-box-child,.w-box-content{padding:18px;line-height:24px;font-size:14px}.mec-count-child{width:50%;margin:0 auto}#webnus-dashboard .w-button a{color:#fff!important;border-radius:0;padding:10px 24px;font-size:12px;letter-spacing:1px;font-weight:600;background:#008aff;margin:10px 0;display:inline-block;text-transform:uppercase}#webnus-dashboard .w-box .w-button a:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 21px -5px rgba(0,0,0,.5)}.w-system-info{margin-bottom:7px}.w-system-info:first-child{margin-top:20px}.w-system-info>span{display:inline-block;min-width:145px;line-height:20px;font-size:13px}#webnus-dashboard .w-current{min-width:110px}#webnus-dashboard .w-min{min-width:65px}.w-icon{color:#fff;padding:3px;border-radius:4px;margin-right:10px;vertical-align:middle}.w-icon-green{background:#27ae60}.w-icon-red{background:#e74c3c}.extra .w-box-head{padding:20px;border-bottom:1px solid #ededed}.doc .w-box-head{color:#4cbf67}#webnus-dashboard .doc .w-button a{background:#4cbf67;background:linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);margin:35px 0 17px;box-shadow:0 5px 10px -5px #4cbf67;background-color:#fff}#webnus-dashboard .support .w-button a{background:#ff876c;background:linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%);margin:13px 0 18px;box-shadow:0 5px 10px -5px #ff876c}.doc .w-box-content{background:url(../img/document.png) no-repeat right center}.doc .w-box-content p,.w-box.support .w-box-content p{width:54%;color:#666;margin-top:10px;max-width:380px}.w-box-child p{color:#666;margin-top:10px}.w-box.support{background:#fff url(../img/support.png) no-repeat top right}.w-box.support .w-box-head{width:50%;color:#ff876c}.w-box-content pre{text-align:left;background:#f5f5f5;font-size:13px;padding:20px 25px;height:480px;overflow-y:scroll}.w-box.change-log .w-box-head{color:#01c6d9}#webnus-dashboard .button:not(.mec-intro-section-link-tag){border:0;background:0 0;box-shadow:none;color:#e74c3c;font-weight:700}.w-box .state{position:absolute;top:0;left:-100vw}#webnus-dashboard .button:hover{color:#222}.w-box .state:checked~.content{-webkit-transform:none;-ms-transform:none;transform:none}.w-box .state:checked~.backdrop{bottom:0;opacity:1;z-index:1}.w-box .lightbox{position:fixed;top:0;right:0;left:0;height:0;padding:0 20px}.w-box .lightbox .content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow:hidden;position:relative;z-index:2;max-width:500px;max-height:95vh;margin:20px auto;padding:20px;background:#fff;-webkit-transform:translateY(-200%);-ms-transform:translateY(-200%);transform:translateY(-200%);-webkit-transition:.3s -webkit-transform ease-in-out;transition:.3s transform ease-in-out;border:1px solid rgba(0,0,0,.1)}.w-box .lightbox .main{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.w-box .lightbox .backdrop{position:fixed;z-index:-1;top:0;right:0;bottom:100%;left:0;opacity:0;background:rgba(0,0,0,.3);-webkit-transition:.3s opacity ease-in-out;transition:.3s opacity ease-in-out}.content .main p{color:#bf3737}p.mec_dash_count{font-size:60px;font-weight:600;margin:0;color:#01c6d9}.w-col-sm-3 .w-box.doc{text-align:center;min-height:auto}.w-Knowledgebase{color:#8e5cea}.mec-view-all-articles a{margin:30px 0 17px;display:inline-block;color:#fff!important;border-radius:0;padding:10px 24px;font-size:12px;letter-spacing:1px;font-weight:600;background:#8e5cea;display:inline-block;text-transform:uppercase;transition:all .24s ease;-webkit-transition:all .24s ease}.mec-view-all-articles a:hover{background-color:#222}.w-box.upcoming-events .mec-event-article{margin-bottom:22px;border-bottom:1px solid #eee;padding-bottom:16px}.w-box.upcoming-events .mec-event-article .mec-event-date{font-size:14px;color:#666}.w-box.upcoming-events .mec-event-article .mec-event-date span{font-weight:600;margin-right:4px}.w-box.upcoming-events .mec-event-article h4.mec-event-title{margin:0;font-size:15px}.w-box.upcoming-events .mec-event-article .mec-event-detail{font-size:13px;color:#999}.w-box.upcoming-events .mec-event-article .mec-detail-button{font-size:10px;font-weight:600;letter-spacing:1px;padding:4px 12px;background:#f2f2f2;float:right}.w-box.total-bookings ul li{display:inline-block;padding:4px 12px;background:#f1f1f1;margin-right:5px;border-radius:3px}.w-box.total-bookings ul li.selected{background:#fff;border:1px solid #e9e9e9}.info-msg,.mec-error,.mec-success,.warning-msg{margin:10px 0;padding:10px;border-radius:3px 3px 3px 3px}.info-msg{color:#059;background-color:#bef}.info-msg-link{background:#fff;padding:4px 12px 6px;border-radius:3px;line-height:1;font-weight:600;color:#008aff}.mec-success{color:#270;background-color:#dff2bf}.warning-msg{color:#9f6000;background-color:#feefb3}.mec-error{color:#d8000c;background-color:#ffbaba}.mec-certain-day>div,.mec-select-deselect-actions li,.mec-xi-facebook-import-events .mec-select-deselect-actions li,.mec-xi-google-import-events .mec-select-deselect-actions li{display:inline-block;position:relative;outline:0;background:#fff;border:1px solid #e2e2e2;border-radius:50px;padding:11px 21px 11px 21px;line-height:1;font-size:11px;font-weight:600;color:#444;letter-spacing:2px;height:auto;cursor:pointer;margin-top:5px;text-transform:uppercase;box-shadow:0 0 3px rgba(0,0,0,.03)}.mec-certain-day>div:hover,.mec-select-deselect-actions li:hover,.mec-xi-facebook-import-events .mec-select-deselect-actions li:hover,.mec-xi-google-import-events .mec-select-deselect-actions li:hover{border-color:#008aff;box-shadow:0 0 7px rgba(0,0,0,.1)}.mec-not-in-days-remove{border:1px solid #f99170;border-radius:20px;padding:0 0 0 2px;color:#f99170}.mec-xi-facebook-import-events .mec-success,.mec-xi-google-import-events .mec-success{width:460px}.mec-xi-facebook-import-events .mec-select-deselect-actions li,.mec-xi-google-import-events .mec-select-deselect-actions li{display:inline-block;cursor:pointer}.lity-content>div{overflow:auto}.mce-mec-mce-items{text-transform:capitalize!important}#mec_setting_contextual li{list-style:none!important;font-size:12px;margin:0;padding:6px}.mec-bbf-field-container{margin-bottom:10px}.mec-bbf-field-container label{display:block}.kc-components ul.kc-components-list li .cpicon.mec-kingcomposer-icon,.kc-element-icon .cpicon.mec-kingcomposer-icon{background:url(../img/ico-mec-vc.png) no-repeat center center;background-size:auto;background-repeat:no-repeat}.mec-archive-skinsm.mec-category-skins,.mec-carousel-archive-link,.mec-carousel-head-text,.mec-toggle-month-divider{display:none}span.mec-archive-skins,span.mec-category-skins{margin-left:10px;vertical-align:text-bottom}.mec-archive-skins input,.mec-archive-skins select,.mec-category-skins input,.mec-category-skins select{min-width:225px;vertical-align:baseline}#mec_settings_default_skin_archive,#mec_settings_default_skin_category{min-width:225px}.w-welcome p span{background:#fff;padding:4px 10px}#mec_masonry_skin_options_container .mec-form-row .description{margin-left:0;padding-left:0;border:none;margin-top:-4px}@media (max-width:1280px){span.mec-archive-skins,span.mec-category-skins{margin-left:0}}/*!
|
2 |
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
3 |
* Copyright 2011-2016 Twitter, Inc.
|
4 |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5 |
-
*/#webnus-dashboard button,#webnus-dashboard input,#webnus-dashboard select,#webnus-dashboard textarea{font-family:inherit;font-size:inherit;line-height:inherit}#webnus-dashboard a{color:#337ab7;text-decoration:none}#webnus-dashboard a:focus,#webnus-dashboard a:hover{color:#23527c}#webnus-dashboard a:focus{outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}#webnus-dashboard figure{margin:0}#webnus-dashboard img{vertical-align:middle}.w-img-responsive{display:block;max-width:100%;height:auto}.w-img-rounded{border-radius:6px}.w-img-thumbnail{padding:4px;line-height:1w-42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all 0w-2s ease-in-out;-o-transition:all 0w-2s ease-in-out;transition:all 0w-2s ease-in-out;display:inline-block;max-width:100%;height:auto}.w-img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.w-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.w-sr-only-focusable:active,.w-sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.w-container,.w-container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}[role=button]{cursor:pointer}@media (min-width:768px){.w-container{width:750px}}@media (min-width:992px){.w-container{width:970px}}@media (min-width:1200px){.w-container{width:1170px}}.w-row{margin-left:-15px;margin-right:-15px}.w-col-lg-1,.w-col-lg-10,.w-col-lg-11,.w-col-lg-12,.w-col-lg-2,.w-col-lg-3,.w-col-lg-4,.w-col-lg-5,.w-col-lg-6,.w-col-lg-7,.w-col-lg-8,.w-col-lg-9,.w-col-md-1,.w-col-md-10,.w-col-md-11,.w-col-md-12,.w-col-md-2,.w-col-md-3,.w-col-md-4,.w-col-md-5,.w-col-md-6,.w-col-md-7,.w-col-md-8,.w-col-md-9,.w-col-sm-1,.w-col-sm-10,.w-col-sm-11,.w-col-sm-12,.w-col-sm-2,.w-col-sm-3,.w-col-sm-4,.w-col-sm-5,.w-col-sm-6,.w-col-sm-7,.w-col-sm-8,.w-col-sm-9,.w-col-xs-1,.w-col-xs-10,.w-col-xs-11,.w-col-xs-12,.w-col-xs-2,.w-col-xs-3,.w-col-xs-4,.w-col-xs-5,.w-col-xs-6,.w-col-xs-7,.w-col-xs-8,.w-col-xs-9{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.w-col-xs-1,.w-col-xs-10,.w-col-xs-11,.w-col-xs-12,.w-col-xs-2,.w-col-xs-3,.w-col-xs-4,.w-col-xs-5,.w-col-xs-6,.w-col-xs-7,.w-col-xs-8,.w-col-xs-9{float:left}.w-col-xs-12{width:100%}.w-col-xs-11{width:91.66666667%}.w-col-xs-10{width:83.33333333%}.w-col-xs-9{width:75%}.w-col-xs-8{width:66.66666667%}.w-col-xs-7{width:58.33333333%}.w-col-xs-6{width:50%}.w-col-xs-5{width:41.66666667%}.w-col-xs-4{width:33.33333333%}.w-col-xs-3{width:25%}.w-col-xs-2{width:16.66666667%}.w-col-xs-1{width:8w-33333333%}.w-col-xs-pull-12{right:100%}.w-col-xs-pull-11{right:91.66666667%}.w-col-xs-pull-10{right:83.33333333%}.w-col-xs-pull-9{right:75%}.w-col-xs-pull-8{right:66.66666667%}.w-col-xs-pull-7{right:58.33333333%}.w-col-xs-pull-6{right:50%}.w-col-xs-pull-5{right:41.66666667%}.w-col-xs-pull-4{right:33.33333333%}.w-col-xs-pull-3{right:25%}.w-col-xs-pull-2{right:16.66666667%}.w-col-xs-pull-1{right:8w-33333333%}.w-col-xs-pull-0{right:auto}.w-col-xs-push-12{left:100%}.w-col-xs-push-11{left:91.66666667%}.w-col-xs-push-10{left:83.33333333%}.w-col-xs-push-9{left:75%}.w-col-xs-push-8{left:66.66666667%}.w-col-xs-push-7{left:58.33333333%}.w-col-xs-push-6{left:50%}.w-col-xs-push-5{left:41.66666667%}.w-col-xs-push-4{left:33.33333333%}.w-col-xs-push-3{left:25%}.w-col-xs-push-2{left:16.66666667%}.w-col-xs-push-1{left:8w-33333333%}.w-col-xs-push-0{left:auto}.w-col-xs-offset-12{margin-left:100%}.w-col-xs-offset-11{margin-left:91.66666667%}.w-col-xs-offset-10{margin-left:83.33333333%}.w-col-xs-offset-9{margin-left:75%}.w-col-xs-offset-8{margin-left:66.66666667%}.w-col-xs-offset-7{margin-left:58.33333333%}.w-col-xs-offset-6{margin-left:50%}.w-col-xs-offset-5{margin-left:41.66666667%}.w-col-xs-offset-4{margin-left:33.33333333%}.w-col-xs-offset-3{margin-left:25%}.w-col-xs-offset-2{margin-left:16.66666667%}.w-col-xs-offset-1{margin-left:8w-33333333%}.w-col-xs-offset-0{margin-left:0}@media (min-width:768px){.w-col-sm-1,.w-col-sm-10,.w-col-sm-11,.w-col-sm-12,.w-col-sm-2,.w-col-sm-3,.w-col-sm-4,.w-col-sm-5,.w-col-sm-6,.w-col-sm-7,.w-col-sm-8,.w-col-sm-9{float:left}.w-col-sm-12{width:100%}.w-col-sm-11{width:91.66666667%}.w-col-sm-10{width:83.33333333%}.w-col-sm-9{width:75%}.w-col-sm-8{width:66.66666667%}.w-col-sm-7{width:58.33333333%}.w-col-sm-6{width:50%}.w-col-sm-5{width:41.66666667%}.w-col-sm-4{width:33.33333333%}.w-col-sm-3{width:25%}.w-col-sm-2{width:16.66666667%}.w-col-sm-1{width:8w-33333333%}.w-col-sm-pull-12{right:100%}.w-col-sm-pull-11{right:91.66666667%}.w-col-sm-pull-10{right:83.33333333%}.w-col-sm-pull-9{right:75%}.w-col-sm-pull-8{right:66.66666667%}.w-col-sm-pull-7{right:58.33333333%}.w-col-sm-pull-6{right:50%}.w-col-sm-pull-5{right:41.66666667%}.w-col-sm-pull-4{right:33.33333333%}.w-col-sm-pull-3{right:25%}.w-col-sm-pull-2{right:16.66666667%}.w-col-sm-pull-1{right:8w-33333333%}.w-col-sm-pull-0{right:auto}.w-col-sm-push-12{left:100%}.w-col-sm-push-11{left:91.66666667%}.w-col-sm-push-10{left:83.33333333%}.w-col-sm-push-9{left:75%}.w-col-sm-push-8{left:66.66666667%}.w-col-sm-push-7{left:58.33333333%}.w-col-sm-push-6{left:50%}.w-col-sm-push-5{left:41.66666667%}.w-col-sm-push-4{left:33.33333333%}.w-col-sm-push-3{left:25%}.w-col-sm-push-2{left:16.66666667%}.w-col-sm-push-1{left:8w-33333333%}.w-col-sm-push-0{left:auto}.w-col-sm-offset-12{margin-left:100%}.w-col-sm-offset-11{margin-left:91.66666667%}.w-col-sm-offset-10{margin-left:83.33333333%}.w-col-sm-offset-9{margin-left:75%}.w-col-sm-offset-8{margin-left:66.66666667%}.w-col-sm-offset-7{margin-left:58.33333333%}.w-col-sm-offset-6{margin-left:50%}.w-col-sm-offset-5{margin-left:41.66666667%}.w-col-sm-offset-4{margin-left:33.33333333%}.w-col-sm-offset-3{margin-left:25%}.w-col-sm-offset-2{margin-left:16.66666667%}.w-col-sm-offset-1{margin-left:8w-33333333%}.w-col-sm-offset-0{margin-left:0}}@media (min-width:992px){.w-col-md-1,.w-col-md-10,.w-col-md-11,.w-col-md-12,.w-col-md-2,.w-col-md-3,.w-col-md-4,.w-col-md-5,.w-col-md-6,.w-col-md-7,.w-col-md-8,.w-col-md-9{float:left}.w-col-md-12{width:100%}.w-col-md-11{width:91.66666667%}.w-col-md-10{width:83.33333333%}.w-col-md-9{width:75%}.w-col-md-8{width:66.66666667%}.w-col-md-7{width:58.33333333%}.w-col-md-6{width:50%}.w-col-md-5{width:41.66666667%}.w-col-md-4{width:33.33333333%}.w-col-md-3{width:25%}.w-col-md-2{width:16.66666667%}.w-col-md-1{width:8w-33333333%}.w-col-md-pull-12{right:100%}.w-col-md-pull-11{right:91.66666667%}.w-col-md-pull-10{right:83.33333333%}.w-col-md-pull-9{right:75%}.w-col-md-pull-8{right:66.66666667%}.w-col-md-pull-7{right:58.33333333%}.w-col-md-pull-6{right:50%}.w-col-md-pull-5{right:41.66666667%}.w-col-md-pull-4{right:33.33333333%}.w-col-md-pull-3{right:25%}.w-col-md-pull-2{right:16.66666667%}.w-col-md-pull-1{right:8w-33333333%}.w-col-md-pull-0{right:auto}.w-col-md-push-12{left:100%}.w-col-md-push-11{left:91.66666667%}.w-col-md-push-10{left:83.33333333%}.w-col-md-push-9{left:75%}.w-col-md-push-8{left:66.66666667%}.w-col-md-push-7{left:58.33333333%}.w-col-md-push-6{left:50%}.w-col-md-push-5{left:41.66666667%}.w-col-md-push-4{left:33.33333333%}.w-col-md-push-3{left:25%}.w-col-md-push-2{left:16.66666667%}.w-col-md-push-1{left:8w-33333333%}.w-col-md-push-0{left:auto}.w-col-md-offset-12{margin-left:100%}.w-col-md-offset-11{margin-left:91.66666667%}.w-col-md-offset-10{margin-left:83.33333333%}.w-col-md-offset-9{margin-left:75%}.w-col-md-offset-8{margin-left:66.66666667%}.w-col-md-offset-7{margin-left:58.33333333%}.w-col-md-offset-6{margin-left:50%}.w-col-md-offset-5{margin-left:41.66666667%}.w-col-md-offset-4{margin-left:33.33333333%}.w-col-md-offset-3{margin-left:25%}.w-col-md-offset-2{margin-left:16.66666667%}.w-col-md-offset-1{margin-left:8w-33333333%}.w-col-md-offset-0{margin-left:0}}@media (min-width:1200px){.w-col-lg-1,.w-col-lg-10,.w-col-lg-11,.w-col-lg-12,.w-col-lg-2,.w-col-lg-3,.w-col-lg-4,.w-col-lg-5,.w-col-lg-6,.w-col-lg-7,.w-col-lg-8,.w-col-lg-9{float:left}.w-col-lg-12{width:100%}.w-col-lg-11{width:91.66666667%}.w-col-lg-10{width:83.33333333%}.w-col-lg-9{width:75%}.w-col-lg-8{width:66.66666667%}.w-col-lg-7{width:58.33333333%}.w-col-lg-6{width:50%}.w-col-lg-5{width:41.66666667%}.w-col-lg-4{width:33.33333333%}.w-col-lg-3{width:25%}.w-col-lg-2{width:16.66666667%}.w-col-lg-1{width:8w-33333333%}.w-col-lg-pull-12{right:100%}.w-col-lg-pull-11{right:91.66666667%}.w-col-lg-pull-10{right:83.33333333%}.w-col-lg-pull-9{right:75%}.w-col-lg-pull-8{right:66.66666667%}.w-col-lg-pull-7{right:58.33333333%}.w-col-lg-pull-6{right:50%}.w-col-lg-pull-5{right:41.66666667%}.w-col-lg-pull-4{right:33.33333333%}.w-col-lg-pull-3{right:25%}.w-col-lg-pull-2{right:16.66666667%}.w-col-lg-pull-1{right:8w-33333333%}.w-col-lg-pull-0{right:auto}.w-col-lg-push-12{left:100%}.w-col-lg-push-11{left:91.66666667%}.w-col-lg-push-10{left:83.33333333%}.w-col-lg-push-9{left:75%}.w-col-lg-push-8{left:66.66666667%}.w-col-lg-push-7{left:58.33333333%}.w-col-lg-push-6{left:50%}.w-col-lg-push-5{left:41.66666667%}.w-col-lg-push-4{left:33.33333333%}.w-col-lg-push-3{left:25%}.w-col-lg-push-2{left:16.66666667%}.w-col-lg-push-1{left:8w-33333333%}.w-col-lg-push-0{left:auto}.w-col-lg-offset-12{margin-left:100%}.w-col-lg-offset-11{margin-left:91.66666667%}.w-col-lg-offset-10{margin-left:83.33333333%}.w-col-lg-offset-9{margin-left:75%}.w-col-lg-offset-8{margin-left:66.66666667%}.w-col-lg-offset-7{margin-left:58.33333333%}.w-col-lg-offset-6{margin-left:50%}.w-col-lg-offset-5{margin-left:41.66666667%}.w-col-lg-offset-4{margin-left:33.33333333%}.w-col-lg-offset-3{margin-left:25%}.w-col-lg-offset-2{margin-left:16.66666667%}.w-col-lg-offset-1{margin-left:8w-33333333%}.w-col-lg-offset-0{margin-left:0}}.w-clearfix:after,.w-clearfix:before,.w-container-fluid:after,.w-container-fluid:before,.w-container:after,.w-container:before,.w-row:after,.w-row:before{content:" ";display:table}.w-clearfix:after,.w-container-fluid:after,.w-container:after,.w-row:after{clear:both}.w-center-block{display:block;margin-left:auto;margin-right:auto}.w-pull-right{float:right!important}.w-pull-left{float:left!important}.w-hide{display:none!important}.w-show{display:block!important}.w-invisible{visibility:hidden}.w-text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.w-hidden{display:none!important}.w-affix{position:fixed}.mec-image-popup-wrap{display:none}#wns-be-infobar.sticky{position:fixed;top:32px;background:#fff;z-index:9999;width:82%}.wns-be-main .wns-saved-settings.sticky{position:fixed;width:62.5%;top:111px;z-index:999999999999999999}#mec-search-settings{border-radius:2px;min-height:32px;box-shadow:0 3px 14px -5px rgba(0,0,0,.2),inset 0 1px 2px rgba(0,0,0,.07);padding:9px 10px 11px;margin-right:6px;color:#7c7772;font-size:12px;width:200px}#mec-search-settings::-webkit-input-placeholder{color:#7c7772}#mec-search-settings::-moz-placeholder{color:#7c7772}#mec-search-settings:-ms-input-placeholder{color:#7c7772}#mec-search-settings:-moz-placeholder{color:#7c7772}.mec-export-settings,.mec-import-settings{font-weight:700;border-radius:2px;box-shadow:0 3px 10px -4px #008aff;text-shadow:none;background:#008aff;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);border:none;transition:.24s;padding:8px 32px;height:36px;letter-spacing:.2px;line-height:36px;font-size:13px;color:#fff;text-decoration:none;display:inline-block}.mec-export-settings:hover,.mec-import-settings:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 23px -7px rgba(0,0,0,.5);color:#fff}textarea.mec-import-settings-content{display:block;width:100%;min-height:120px;margin-bottom:25px;padding:10px 15px}.mec-import-options-notification{display:inline-block}.mec-import-options-notification .mec-message-import-error,.mec-import-options-notification .mec-message-import-success{display:inline-block;padding:15px 12px;margin-left:12px;opacity:0;visibility:hidden;font-weight:700}.mec-import-options-notification .mec-message-import-success{opacity:1;visibility:visible;border:2px solid green}.mec-import-options-notification .mec-message-import-error{opacity:1;visibility:visible;border:2px solid #e62117}.mec-export-settings:focus,.mec-import-settings:focus{color:#fff}.mec-import-settings-wrap{position:relative}.mec-loarder-wrap{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(202,202,202,.7);z-index:9999}.mec-loarder-wrap.mec-settings-loader{top:34px}.mec-loarder{position:absolute;width:64px;height:64px;top:calc(50% - 32px);left:calc(50% - 36px)}.mec-loarder div{display:inline-block;position:absolute;left:6px;width:4px;background:#fff;animation:mec-loarder 1.2s cubic-bezier(0,.5,.5,1) infinite}.mec-loarder div:nth-child(1){left:27px;animation-delay:-.24s;background:#0075ff}.mec-loarder div:nth-child(2){left:36px;animation-delay:-.12s;background:#028bff}.mec-loarder div:nth-child(3){left:45px;animation-delay:0;background:#32a0ff}@keyframes mec-loarder{0%{top:6px;height:51px}100%,50%{top:19px;height:26px}}.w-box.support-page.searchbox{background:#008aff;background:linear-gradient(180deg,#36a2ff 0,#008aff 50%,#0072ff 100%);color:#fff;min-height:260px;text-align:center;border-radius:2px}#webnus-dashboard .search-form input{background:rgba(255,255,255,.2);border:none;width:50%;outline:0;color:rgba(255,255,255,.7);font-size:18px;border-radius:4px 0 0 4px;box-shadow:0 1px 2px 0 rgba(0,0,0,.03);-webkit-transition:background .4s,box-shadow .2s;transition:background .4s,box-shadow .2s;padding:20px 32px;margin:0}#webnus-dashboard .search-form button{background:rgba(255,255,255,.2);border:none;padding:20px 32px;margin-left:-2px;color:#fff;border-radius:0 4px 4px 0;font-size:18px;cursor:pointer;-webkit-transition:background .4s,box-shadow .2s;transition:background .4s,box-shadow .2s}#webnus-dashboard .search-form button:hover{background:#fff;color:#3a3c4c}.w-box.support-page.searchbox p{font-size:30px}.search-form input::-webkit-input-placeholder{color:rgba(255,255,255,.7)}.search-form input::-moz-placeholder{color:rgba(255,255,255,.7)}.search-form input:-ms-input-placeholder{color:rgba(255,255,255,.7)}.search-form input:-moz-placeholder{color:rgba(255,255,255,.7)}#webnus-dashboard .search-form input:active,#webnus-dashboard .search-form input:focus{box-shadow:0 10px 20px rgba(0,0,0,.14);background:#fff;color:#3a3c4c}#webnus-dashboard .search-form input:active::-webkit-input-placeholder,#webnus-dashboard .search-form input:focus::-webkit-input-placeholder{color:#3a3c4c}#webnus-dashboard .search-form input:active::-moz-placeholder,#webnus-dashboard .search-form input:focus::-moz-placeholder{color:#3a3c4c}#webnus-dashboard .search-form input:active:-ms-input-placeholder,#webnus-dashboard .search-form input:focus:-ms-input-placeholder{color:#3a3c4c}#webnus-dashboard .search-form input:active:-moz-placeholder,#webnus-dashboard .search-form input:focus:-moz-placeholder{color:#3a3c4c}#webnus-dashboard .w-box.support-page.mec-ticksy{text-align:center;min-height:260px}#webnus-dashboard .w-box.support-page.mec-ticksy p{font-size:20px;width:70%;margin:0 auto;margin-bottom:40px;margin-top:40px}#webnus-dashboard .w-box.support-page.mec-ticksy a{color:#fff;font-weight:500;border-radius:2px;box-shadow:0 3px 10px -4px #008aff;text-shadow:none;background:#008aff;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);border:none;transition:.24s;padding:12px 20px;cursor:pointer;margin-bottom:40px;display:inline-block}#webnus-dashboard .w-box.support-page.mec-ticksy a:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 23px -7px rgba(0,0,0,.5)}.mec-faq-accordion>.mec-faq-accordion-content{display:none}#webnus-dashboard .mec-faq-accordion-trigger a{font-size:16px;padding:12px;background:#f1f1f1;display:block;color:#222;line-height:17px;outline:0}.mec-faq-accordion-trigger{margin-bottom:5px;position:relative}#webnus-dashboard .mec-faq-accordion-trigger a:after{font-family:simple-line-icons;content:"\e095";position:absolute;right:12px;font-weight:700}.mec-faq-accordion-content{padding:5px 14px 25px}#webnus-dashboard .mec-faq-accordion-trigger a.active:after{content:"\e082"}#webnus-dashboard .support-page-links a{background-color:#fff;color:#fff;border-radius:2px;padding:13px 24px;font-size:12px;letter-spacing:1px;font-weight:600;text-transform:uppercase}#webnus-dashboard .support-page-links a:hover,#webnus-dashboard .w-box.support-page.videobox .w-button a:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 21px -5px rgba(0,0,0,.5)}#webnus-dashboard .support-page-links{display:inline-block;margin:12px 4px 16px 0}.support-page-links.link-to-doc a{background:#4cbf67;background:linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);box-shadow:0 5px 10px -5px #4cbf67}.support-page-links.link-to-videos a{background:#ff876c;background:linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%);box-shadow:0 5px 10px -5px #ff876c}.support-page-links.link-to-articles a{background:#b092e6;background:linear-gradient(95deg,#b092e6 0,#9b70e8 50%,#8e5cea 100%);box-shadow:0 5px 10px -5px #b092e6}.w-box.support-page.articles-box .w-box-content a{display:block;padding:6px 0}#webnus-dashboard .w-box.support-page.videobox .w-button a{color:#fff;font-size:10px;padding:5px 15px;min-height:10px;font-weight:500;border-radius:22px;box-shadow:0 3px 10px -4px #ff5a35;text-shadow:none;background:#ff5a35;background:linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%);border:none;transition:.24s}.w-box.support-page.articles-box,.w-box.support-page.faq-box{min-height:500px}.w-box.support-page.videobox{border-radius:2px;min-height:282px;box-shadow:0 1px 6px rgba(0,0,0,.039)!important}#webnus-dashboard .w-box.support-page.videobox .w-button a i{margin-right:6px}.support-page .w-box-content ul{margin-top:5px;padding-left:5px}.support-page .w-box-content ul li{font-size:13px}.support-page .w-box-content ul li i{font-size:17px;vertical-align:text-bottom;margin-right:7px;color:#999}.w-box.mec-activation{background:#fff url(../img/dp-dsb-support.jpg) no-repeat top right}.w-box.mec-activation .w-box-head{color:#40d8f0;width:75%}.w-box.mec-activation .w-box-content{padding:10px 30px}.w-box.mec-activation input[type=radio]{display:none}.w-box.mec-activation input[type=radio]+label{color:#000;font-size:13px;line-height:14px!important;color:#7b7b7b}.w-box.mec-activation input[type=radio].checked+label{color:#40d8f0}.w-box.mec-activation input[type=radio]+label span{display:inline-block;margin:-2px 6px 0 0;vertical-align:middle;cursor:pointer;height:14px;width:14px;text-align:center;background-color:#fff;border:1px solid #d4d4d4;border-radius:100%;box-shadow:0 2px 16px -2px rgba(0,0,0,.2);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}.w-box.mec-activation input[type=radio].checked+label span{background-color:#40d8f0;border-color:#40d8f0;box-shadow:0 2px 14px -3px #40d8f0}.w-box.mec-activation input[type=radio].checked+label span:after{content:'';display:block;position:absolute;top:4px;left:4px;width:4px;height:4px;background:#fff;border-radius:100%}.w-box.mec-activation .LicenseType label{padding-right:20px;font-weight:500}.w-box.mec-activation .LicenseField{display:inline-block;position:relative;margin-top:20px}.w-box.mec-activation input[name=MECPurchaseCode]{box-shadow:inset 0 1px 2px rgba(0,0,0,.07);min-width:220px;background:#f4f4f4;border:none;border-radius:33px;width:500px;min-height:50px;margin:0;padding-left:20px;text-align:left}#webnus-dashboard .w-box.mec-activation input[type=submit]{height:40px;line-height:40px;font-weight:600;border:none;cursor:pointer;padding:0 30px;border-radius:33px;color:#fff;letter-spacing:1px;text-transform:uppercase;font-size:12px;background:#4cbf67;background:linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);box-shadow:0 5px 10px -5px #4cbf67;transition:all .28s ease;position:absolute;right:5px;top:4px;font-size:12px}#webnus-dashboard .w-box.mec-activation input[type=submit]:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 23px -7px rgba(0,0,0,.5)}#MECActivation .MECPurchaseStatus,.addon-activation-form .MECPurchaseStatus{display:inline-block;width:40px;height:40px;text-align:center;padding-top:9px;color:#fff;font-weight:700;font-size:18px;border-radius:50%;padding-top:8px;position:absolute;right:-51px;top:calc(50% - 20px)}.MECPurchaseStatus:after,.MECPurchaseStatus:before{position:absolute;border-radius:50px;background:#fff;content:'';transform:rotate(45deg)}.MECPurchaseStatus.PurchaseError:before{width:22px;height:4px;right:9px;top:18px;transform:rotate(45deg)}.MECPurchaseStatus.PurchaseError:after{width:22px;height:4px;right:9px;top:18px;transform:rotate(-45deg)}.MECPurchaseStatus.PurchaseSuccess:before{width:13px;height:4px;right:19px;top:21px;transform:rotate(45deg)}.MECPurchaseStatus.PurchaseSuccess:after{width:22px;height:4px;right:5px;top:18px;transform:rotate(-45deg)}#MECActivation .MECPurchaseStatus.PurchaseError,.addon-activation-form .MECPurchaseStatus.PurchaseError{background:#ff876c;background:linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%);box-shadow:0 5px 10px -5px #ff876c}#MECActivation .MECPurchaseStatus.PurchaseSuccess,.addon-activation-form .MECPurchaseStatus.PurchaseSuccess{background:#4cbf67;background:linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);box-shadow:0 5px 10px -5px #4cbf67}.wna-spinner-wrap{position:absolute;background:#000;width:509px;height:64px;top:-8px;border-radius:50px;z-index:999;background-color:#fff;opacity:.9}.wna-spinner{width:40px;height:40px;position:relative;margin:6px auto}.wna-spinner .double-bounce1,.wna-spinner .double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#40d8f0;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:sk-bounce 2s infinite ease-in-out;animation:sk-bounce 2s infinite ease-in-out}.wna-spinner .double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}#MECActivation .MECLicenseMessage,.addon-activation-form .MECLicenseMessage{margin-top:24px;color:#f64;max-width:570px}.box-addon-activation-toggle-content,.box-addon-activation-toggle-head{display:none}.addon-activation-form h3{font-size:15px;font-weight:400;margin:34px 0 -7px}.box-addon-activation-toggle-head{line-height:1.5;font-size:16px;margin-top:20px;cursor:pointer}.box-addon-activation-toggle-head i{margin-right:7px;cursor:pointer;font-weight:700}@-webkit-keyframes sk-bounce{0%,100%{-webkit-transform:scale(0)}50%{-webkit-transform:scale(1)}}@keyframes sk-bounce{0%,100%{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}.w-col-sm-3 .w-box.addon{min-height:auto;box-shadow:0 3px 16px -5px rgba(0,0,0,.1);border-radius:2px}.w-box-child.mec-addon-box{padding:20px 20px}.mec-addon-box-head{border-bottom:1px solid #e8e8e8;padding-bottom:5px;margin-bottom:14px;position:relative}.mec-addon-box-version{position:relative;background:#eaeaea;border-radius:1px;padding:0 8px;color:#5a5a5a;font-size:11px;letter-spacing:.2px;line-height:21px;display:inline-block;margin:3px 0}.mec-addon-box-title{font-weight:700;font-size:18px;line-height:25px}.mec-addon-box-title a span{color:#444;font-size:15px}.mec-addon-box-content p{color:#777;font-size:13px}.mec-addon-box-mec-version{background:#f3f3f3;padding:10px;font-size:13px}#webnus-dashboard .addons-page-links{display:inline-block;margin:12px 4px 16px 0}#webnus-dashboard .addons-page-links a{background-color:#fff;color:#fff;border-radius:2px;padding:13px 24px;font-size:12px;letter-spacing:1px;font-weight:600;text-transform:uppercase}.addons-page-links.link-to-purchase a{background:#4cbf67;background:linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);box-shadow:0 5px 10px -5px #4cbf67}.addons-page-links.link-to-install-addons a{background:#b092e6;background:linear-gradient(95deg,#b092e6 0,#9b70e8 50%,#8e5cea 100%);box-shadow:0 5px 10px -5px #b092e6}#webnus-dashboard .addons-page-links a:hover,#webnus-dashboard .w-box.addons-page.videobox .w-button a:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 21px -5px rgba(0,0,0,.5)}.mec-addon-box-footer{margin-top:25px}#webnus-dashboard .mec-addon-box-footer a{font-weight:500;border-radius:2px;box-shadow:0 3px 10px -4px #008aff;text-shadow:none;background:#008aff;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);border:none;transition:.24s;padding:7px 19px;margin-top:10px;display:inline-block;letter-spacing:.2px;color:#fff;width:100%;text-align:center}#webnus-dashboard .mec-addon-box-footer a.mec-addon-box-intro{box-shadow:0 3px 10px -4px #ff5a35;background:linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%)}#webnus-dashboard .mec-addon-box-footer a:hover{background:#222!important;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%)!important;box-shadow:0 5px 23px -7px rgba(0,0,0,.5)!important;cursor:pointer!important}#webnus-dashboard .mec-addon-box-footer a i{margin-right:6px;color:#fff}@media(max-width:1366px){.wns-be-container #wns-be-content{padding:5px 15px 0}.mec-form-row .mec-col-8 label{font-size:10px}#webnus-dashboard .mec-tooltip .box p,.mec-tooltip .box p{font-size:10px}}@media (max-width:780px){.wns-be-container #wns-be-content{padding:10px 0}.wns-be-container .mec-form-row .mec-col-8 label{width:50%;display:block}.wns-be-container .mec-form-row input[type=checkbox]{width:14px;height:14px}.wns-be-container .wns-be-sidebar li .subsection a{padding-left:30px}.wns-be-container .wns-be-sidebar{width:200px}.wns-be-container .wns-be-main{margin-left:200px}.wns-be-container .mec-tooltip .box{min-width:235px!important}.wns-be-container .mec-tooltip .box p{font-size:12px!important}#wns-be-infobar.sticky{position:unset}}@media (max-width:480px){.wns-be-container .wns-be-sidebar{width:100%;position:unset;float:none}.wns-be-container .wns-be-main{margin-left:0;width:100%;position:unset}}.addons-page-error,.addons-page-notice{display:block;margin-top:15px;margin-bottom:0;background:#fff;border-left:4px solid #00a0d2;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:1px 12px}.addons-page-error p,.addons-page-notice p{margin:.5em 0;padding:2px;font-size:13px}.addons-page-error{border-left-color:#dc3232}.mec-addon-box-comingsoon{background:#eaeaea;padding:8px 11px;color:#5a5a5a;font-size:14px;font-weight:500;text-align:center}.mec-addons .w-row .w-col-sm-3:nth-child(4n+1){clear:left}@media (min-width:960px){#webnus-dashboard .mec-addon-box-footer .w-button{text-align:right}}@media (min-width:1401px){.mec-addon-box-title a span{font-size:17px}}.mec-pro-notice{margin-top:24px;line-height:30px}.mec-pro-notice .info-msg{padding:20px 30px 27px;margin-bottom:0}.mec-intro-section .w-box-content{text-align:center}.mec-intro-section .w-box-content.mec-intro-section-welcome{max-width:600px;margin:0 auto}.mec-intro-section .w-box-content.mec-intro-section-welcome h3{font-size:27px}a.mec-intro-section-link-tag.button.button-hero{margin:0 10px 40px}a.mec-intro-section-link-tag.button.button-primary.button-hero{color:#fff!important}a.mec-intro-section-link-tag.button.button-secondary.button-hero{color:#000!important}.mec-intro-section-ifarme iframe{border:1px solid #e7e7e7;border-radius:3px;padding:10px;box-shadow:0 3px 10px -6px rgba(0,0,0,.2)}.w-box-content.mec-intro-section-welcome p{margin-bottom:0}.mec-tooltip a:focus{box-shadow:none}#mec_settings_form .mec-options-fields{padding-bottom:150px!important}#mec_taxes_fees_container_toggle{margin-bottom:60px}#mec_settings_form .mec-options-fields{padding-bottom:150px!important}#mec_taxes_fees_container_toggle{margin-bottom:60px}.mec-tooltip:hover:after,.mec-tooltip:hover:before{display:none}.mec-tooltip{display:inline-flex;bottom:7px}.mec-tooltip .box{min-width:300px;max-width:600px;display:inline-block;left:26px;top:50%;transform:translateY(-50%);padding:0;margin-top:8px;background-color:#535a61;color:#fff;font-weight:300;font-size:14px;letter-spacing:.5px;line-height:1.3;position:absolute;z-index:9999999;box-sizing:border-box;border-radius:6px;box-shadow:0 4px 45px -8px #444b50;visibility:hidden;opacity:0;transition:opacity .23s}#webnus-dashboard .mec-tooltip .box p,.mec-tooltip .box p{color:#fff;font-size:14px;line-height:1.3;margin:0}.mec-tooltip:hover .box{visibility:visible;opacity:1}.mec-tooltip:hover .box{padding:20px;border-radius:8px}.mec-tooltip .box h5{color:#fff;font-size:17px;font-weight:600;margin:-30px -20px;padding:20px 0;text-align:center;margin-bottom:10px;background:#3a3f44;border-bottom:1px solid #32363a;border-radius:6px 6px 0 0;z-index:9999}#webnus-dashboard .mec-tooltip .box p a,.mec-tooltip .box p a{color:#40d9f1;margin-top:10px;margin-left:0;font-weight:400;position:relative;text-decoration:none;display:block;width:max-content}.mec-tooltip .box a:hover{color:#f90}.mec-tooltip .box:after{display:block;position:absolute!important;top:100%!important;right:50%!important;margin-top:-6px!important;margin-right:-6px!important;width:12px!important;height:24px!important;overflow:hidden!important;transform:rotate(-90deg)!important}.mec-tooltip .box:before{display:block;content:''!important;position:absolute!important;width:12px;height:12px;left:-10px!important;top:50%!important;transform:translate(50%,-50%) rotate(-45deg)!important;background-color:#535a61!important;box-shadow:0 8px 9px -4px #535a61!important;z-index:0!important}.mec-tooltip .box.top{left:50%;top:0;transform:translate(-50%,-100%);margin-top:0;margin-left:-10px}.mec-tooltip .box.top:after{top:50%!important;right:100%!important}.mec-tooltip .box.top:before{left:50%!important;top:100%!important}.mec-tooltip .box.bottom{left:50%;top:auto;bottom:0;transform:translate(-50%,100%);margin-bottom:-20px;margin-left:-10px}.mec-tooltip .box.bottom:after{top:0!important;right:50%!important;background-color:#3a3f44!important}.mec-tooltip .box.bottom:before{left:50%!important;top:-7px!important;transform:translateX(-50%);background-color:#3a3f44!important}.mec-tooltip .box.left{left:auto;right:26px;top:50%;transform:translateY(-50%)}.mec-tooltip .box.left:before{right:0!important;left:auto!important;top:50%!important}form#mec_reg_fields_form input[type=radio]:before{content:"";display:inline-block;background:#fff;border-radius:18px;width:14px;height:14px;margin:-1px 0 0 -2px;cursor:pointer;border:2px solid #e1e7ed;box-shadow:0 2px 15px -3px rgba(69,77,89,.32)}form#mec_reg_fields_form input[type=radio]:checked:before{border:7px solid #008aff;background:#fff;box-shadow:0 3px 16px -3px #008aff;width:4px;height:4px}form#mec_reg_fields_form input[type=radio]{min-height:0;margin-right:6px}form#mec_reg_fields_form label{margin-right:20px}@media(min-width:1200px) and (max-width:1366px){.mec-tooltip .box.left{left:50%;top:0;transform:translate(-50%,-100%);margin-top:0;margin-left:-10px}.mec-tooltip .box.left:after{top:50%!important;right:100%!important}.mec-tooltip .box.left:before{left:50%!important;top:100%!important}.mec-tooltip .box{min-width:225px}.mec-tooltip .box h5{font-size:15px}.mec-tooltip .box .content{font-size:12px}}@media(max-width:1366px){.wns-be-container .wns-be-group-tab p{margin-top:0}}
|
1 |
+
#mec_location_thumbnail_img img,#mec_organizer_thumbnail_img img,#mec_thumbnail_img img{max-width:250px}.taxonomy-mec_label .column-id,.taxonomy-mec_location .column-id,.taxonomy-mec_organizer .column-id,.taxonomy-mec_speaker .column-id{width:40px}.taxonomy-mec_label .column-primary,.taxonomy-mec_location .column-primary,.taxonomy-mec_organizer .column-primary,.taxonomy-mec_speaker .column-primary{width:250px}.mec-color{margin:10px;width:14px;height:14px;display:inline-block;margin-right:6px;border-radius:20px 20px 20px 20px;vertical-align:middle}.mec-event-color-container,.mec-event-title-container{display:inline-block}.mec-available-color-row{margin-top:15px}.mec-available-color-row .mec-color{cursor:pointer}.mec-widget-container a{text-decoration:none}.mec-widget-container label{padding-right:15px}.mec-util-hidden{display:none}.button.mec-util-hidden{display:none}.wns-be-container{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Oxygen,Roboto,sans-serif;max-width:100%;background-color:#f6f6f6;border:1px solid #c1cad2;box-shadow:0 1px 1px rgba(0,0,0,.04);margin-top:5px;margin-right:15px;overflow:hidden}.wns-be-sidebar{width:260px;float:left;position:relative}.wns-be-sidebar ul.wns-be-group-menu,.wns-be-sidebar ul.wns-be-group-menu li{list-style:none;margin:0}.wns-be-sidebar .wns-be-group-menu li a{display:block;position:relative;outline:0;padding:13px 4px 13px 20px;background:#e0e0e0;background:0 0;border:none;color:#3f454a;font-size:13px;font-weight:600;text-decoration:none;-webkit-transition:none;transition:none}.wns-be-sidebar .wns-be-group-menu li a:hover{background:#fff;color:#008aff;opacity:1}.wns-be-sidebar .wns-be-group-menu>li.active>a,.wns-be-sidebar .wns-be-group-menu>li.active>a:hover{background:#008aff;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);color:#fff}.wns-be-sidebar .wns-be-group-menu>li.active>a{box-shadow:0 2px 12px -5px #008aff}.wns-be-sidebar .wns-be-group-menu li a:first-child{border-top:none}.wns-be-main{background:#fff;margin-left:260px;border-left:1px solid #dedede;padding-bottom:84px;box-shadow:inset 0 1px 0 #fff;min-height:1120px;position:relative}.wns-be-main .wns-saved-settings{margin:0;border-bottom:1px solid #dedede;background:#dff0d8;color:#468847;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,.6)}.wns-be-container .dpr-btn{display:inline-block;font-size:13px;padding:0 16px 1px;height:36px;margin-right:3px;line-height:35px;color:#555;border:1px solid #ccc;background:#f7f7f7;text-decoration:none;transition:.24s all ease;-webkit-transition:.24s all ease}.wns-be-container .dpr-btn:hover{background:#fcfcfc;border-color:#999;color:#303030}.wns-be-container .dpr-btn.dpr-save-btn{color:#fff;font-weight:500;border-radius:2px;box-shadow:0 3px 10px -4px #008aff;text-shadow:none;background:#008aff;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);border:none;transition:.24s}.wns-be-container .dpr-btn.dpr-save-btn:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 23px -7px rgba(0,0,0,.5);cursor:pointer}.wns-be-container .wns-be-group-tab h2,.wns-be-container .wns-be-group-tab h4{color:#000;margin-bottom:25px;padding:15px;background:#f5f5f5;font-size:21px;line-height:23px;letter-spacing:.4px;font-weight:700;position:relative}.wns-be-container .wns-be-group-tab h2{margin-top:10px}.wns-be-container .wns-be-group-tab h2:before,.wns-be-container .wns-be-group-tab h4:before{content:"";width:4px;height:16px;margin-right:5px;background-color:#008aff;display:block;position:absolute;left:0;top:18px}.wns-be-container .wns-be-group-tab h4:before{width:2px;top:16px}.wns-be-container .wns-be-group-tab h4{font-size:16px;font-weight:600;background:#f8f8f8;border:none;padding:12px 15px 12px 15px}.wns-be-container .wns-be-group-tab p{font-size:13px;color:#888}.wns-be-sidebar .wns-be-group-tab-link-a:hover{cursor:pointer}.wns-be-sidebar .wns-be-group-tab-link-a span{display:block}.wns-be-sidebar .wns-be-group-tab-link-a span.wns-be-group-menu-title{padding-left:24px}.wns-be-sidebar li.active ul.subsection{padding-top:8px;padding-bottom:12px;background:#fff;border-bottom:1px solid #dedede;margin:0}.wns-be-sidebar li .subsection a{background:#fff;color:#636363;opacity:1;font-size:12px;padding:6px 4px 6px 46px}.wns-be-sidebar li .subsection a:hover{background:#f6f6f6;color:#222}.wns-be-sidebar .wns-be-group-menu li .subsection li.active a{color:#008aff}.wns-be-sidebar .wns-be-group-menu li .subsection li.active a:after,.wns-be-sidebar .wns-be-group-menu li .subsection li.active a:before{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;right:-1px;top:10px}.wns-be-sidebar .wns-be-group-menu li .subsection li.active a:before{border-right-color:#c5c5c5;right:0}.wns-be-sidebar li a i{color:#a0abb5;vertical-align:middle;font-size:16px;position:absolute;margin-top:0}.wns-be-sidebar .wns-be-group-menu li.active>a i{color:#fff}.wns-be-sidebar .has-sub span.extra-icon{display:inline-block;float:right;padding:4px 7px 4px;margin-left:4px;margin-right:10px;font-family:sans-serif;font-size:9px;font-weight:600;line-height:9px;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;border:0 solid transparent}.wns-be-sidebar .has-sub span.extra-icon i{margin-left:-3px;margin-top:2px;color:#bac6d0;font-size:10px}.wns-be-sidebar .wns-be-group-tab-link-a span.extra-icon i{right:10px;font-size:10px}.wns-be-sidebar .wns-be-group-menu li.active>a span.extra-icon i{margin-top:1px}.wns-be-container #wns-be-footer{border-top:1px solid #dedede;z-index:999;padding:25px 20px 20px;background:#fafafa!important;height:44px;text-align:right}.wns-be-container #wns-be-content{padding:5px 40px 40px}.wns-be-container #wns-be-infobar{background:#fff;border-bottom:1px solid #dedede;padding:20px;text-align:right;box-shadow:inset 0 1px 0 #fcfcfc;height:79px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;position:relative}.wns-be-container #wns-be-infobar:before{content:"";width:261px;height:78px;display:block;position:absolute;left:0;top:0;background:#fff url(../img/webnus-logo.png) no-repeat center;border-bottom:1px solid #dedede;background-size:220px;z-index:997}.wns-be-container .notice-yellow{margin:0;border-bottom:1px solid #dedede;background-color:#fcf8e3;color:#c09853;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,.5)}.wns-be-container .notice-red,.wns-be-container .wns-be-field-errors{margin:0;border-bottom:1px solid #dedede;background-color:#f2dede;color:#b94a48;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,.5)}body.post-type-mec-events th.column-primary{width:35%}body.post-type-mec-events th.column-start_date{width:100px}body.post-type-mec-events th.column-end_date{width:100px}body.post-type-mec-events th.column-repeat{width:75px}body.post-type-mec-events th.column-author{width:150px}body.post-type-mec-books th.column-primary{width:20%}body.post-type-mec-books th.column-event{width:170px}body.post-type-mec-books th.column-bdate{width:120px}body.post-type-mec-books th.column-confirmation{width:120px}body.post-type-mec-books th.column-verification{width:120px}body.post-type-mec-books th.column-author{width:150px}.mec-meta-box-labels-container .mec-form-row{height:100px;overflow:auto}.mec-tooltip{display:inline;position:relative;margin-right:10px;cursor:help;bottom:5px;left:3px}.mec-tooltip:last-child{margin-right:0}.mec-tooltip:hover:after{background:#313130;border-radius:5px;bottom:24px;color:#fff;content:attr(title);left:-75px;padding:10px;position:absolute;z-index:98;width:240px}.mec-tooltip:hover:before{border:solid;border-color:#313130 transparent;border-width:6px 6px 0;bottom:18px;content:"";left:30%;position:absolute;z-index:99}.mec-tooltip .dashicons-before:before{font-size:24px;color:#008aff;line-height:37px}.mec-tooltip a:focus{box-shadow:none}.mec-form-row .bootstrap_unvalid{display:block;border:2px solid red;position:relative;display:inline-block;border-bottom:1px dotted #000}.mec-tooltiptext{visibility:hidden;width:120px;background-color:red;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1}.ui-datepicker{background-color:#fff;border:1px solid #66afe9;border-radius:4px;box-shadow:0 0 8px rgba(102,175,233,.6);display:none;margin-top:4px;padding:10px;width:240px}.ui-datepicker a,.ui-datepicker a:hover{text-decoration:none;cursor:pointer}.ui-datepicker a:hover,.ui-datepicker td:hover a{color:#2c6396;-webkit-transition:color .1s ease-in-out;-moz-transition:color .1s ease-in-out;-o-transition:color .1s ease-in-out;transition:color .1s ease-in-out}.ui-datepicker .ui-datepicker-header{margin-bottom:4px;text-align:center}.ui-datepicker .ui-datepicker-title{font-weight:700}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{cursor:default;font-family:dashicons;-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;height:20px;line-height:1.4;margin-top:2px;width:20px}.ui-datepicker .ui-datepicker-prev{float:left;text-align:left}.ui-datepicker .ui-datepicker-next{float:right;text-align:center}.ui-datepicker .ui-datepicker-prev:before{content:"\f341"}.ui-datepicker .ui-datepicker-next:before{content:"\f345"}.ui-datepicker .ui-icon{display:none}.ui-datepicker .ui-datepicker-calendar{table-layout:fixed;width:100%}.ui-datepicker .ui-datepicker-calendar td,.ui-datepicker .ui-datepicker-calendar th{text-align:center;padding:4px 0}.ui-datepicker .ui-datepicker-calendar td{border-radius:4px;-webkit-transition:background-color .1s ease-in-out,color .1s ease-in-out;-moz-transition:background-color .1s ease-in-out,color .1s ease-in-out;-o-transition:background-color .1s ease-in-out,color .1s ease-in-out;transition:background-color .1s ease-in-out,color .1s ease-in-out}.ui-datepicker .ui-datepicker-calendar td:hover{background-color:#eee;cursor:pointer}.ui-datepicker .ui-datepicker-calendar td a{text-decoration:none}.ui-datepicker .ui-datepicker-current-day{background-color:#4289cc}.ui-datepicker .ui-datepicker-current-day a{color:#fff}.ui-datepicker .ui-datepicker-calendar .ui-datepicker-unselectable:hover{background-color:#fff;cursor:default}.mec-col-1,.mec-col-10,.mec-col-11,.mec-col-12,.mec-col-2,.mec-col-3,.mec-col-4,.mec-col-5,.mec-col-6,.mec-col-7,.mec-col-8,.mec-col-9{position:relative;min-height:1px;padding:0;margin:0 1% 0 0}@media (min-width:783px){.mec-col-1,.mec-col-10,.mec-col-11,.mec-col-12,.mec-col-2,.mec-col-3,.mec-col-4,.mec-col-5,.mec-col-6,.mec-col-7,.mec-col-8,.mec-col-9{float:left}.mec-col-12{width:99%}.mec-col-11{width:90.66666667%}.mec-col-10{width:82.33333333%}.mec-col-9{width:74%}.mec-col-8{width:65.66666667%}.mec-col-7{width:57.33333333%}.mec-col-6{width:49%}.mec-col-5{width:40.66666667%}.mec-col-4{width:32.33333333%}.mec-col-3{width:24%}.mec-col-2{width:15.66666667%}.mec-col-1{width:7.33333333%}}#mec_reg_form_fields{background:#eee;padding:20px}#mec_reg_form_fields li{margin:4px;border-radius:2px;padding:20px 34px 24px;background:#fff;position:relative;transition:all .3s ease}#mec_reg_form_fields li ul{padding-top:15px;padding-bottom:15px;margin:1px}#mec_reg_form_fields li ul li{padding:7px 30px 7px 46px}#mec_reg_form_fields span.mec_reg_field_type{font-size:11px;font-weight:600;color:#8a8a8a;text-transform:uppercase;letter-spacing:2px}#mec_reg_form_fields span.mec_reg_field_option_sort,#mec_reg_form_fields span.mec_reg_field_remove,#mec_reg_form_fields span.mec_reg_field_sort{font-size:0;color:#fff}#mec_reg_form_fields span.mec_reg_field_remove{position:absolute;right:0;top:0}#mec_reg_form_fields span.mec_reg_field_option_sort:before,#mec_reg_form_fields span.mec_reg_field_remove:before,#mec_reg_form_fields span.mec_reg_field_sort:before{position:absolute;left:10px;top:20px;width:80px;height:20px;display:block;cursor:move;font-family:simple-line-icons;content:"\e023";font-size:18px;color:#888}#mec_reg_form_fields span.mec_reg_field_remove:before{content:"\e082";width:20px;height:20px;left:auto;right:15px;color:#f96666;cursor:pointer}#mec_reg_form_fields span.mec_reg_field_option_sort:before{font-size:13px;left:2px;top:23px;width:14px;height:14px}#mec_reg_form_fields li ul li span.mec_reg_field_remove{right:auto;left:60px;top:2px}#mec_reg_form_fields p.mec_reg_field_options{margin:6px 0 8px}#mec_reg_form_fields input[type=number],#mec_reg_form_fields input[type=text],#mec_reg_form_fields select,#mec_reg_form_fields textarea{min-width:260px;min-height:34px;margin-bottom:7px;margin-top:7px}#mec_reg_form_fields textarea{min-height:66px}#mec_reg_form_field_types button,#mec_reg_form_fields button{position:relative;outline:0;background:#fff;border:1px solid #e2e2e2;border-radius:50px;padding:11px 21px 11px 31px;line-height:1;font-size:11px;font-weight:600;color:#444;letter-spacing:2px;height:auto;cursor:pointer;margin-top:5px;text-transform:uppercase;box-shadow:0 0 3px rgba(0,0,0,.03)}#mec_reg_form_field_types button:hover,#mec_reg_form_fields button:hover{border-color:#008aff;box-shadow:0 0 7px rgba(0,0,0,.1)}#mec_reg_form_field_types button:before,#mec_reg_form_fields button:before{position:absolute;left:12px;color:#008aff;content:"\e095";font-family:simple-line-icons;font-size:13px;display:inline-block}#mec_reg_form_field_types button.red:hover,#mec_reg_form_fields button.red:hover{border-color:red;box-shadow:0 0 7px rgba(0,0,0,.1)}#mec_reg_form_field_types button.red:before,#mec_reg_form_fields button.red:before{position:absolute;left:12px;color:red;content:"\e095";font-family:simple-line-icons;font-size:13px;display:inline-block}@media (max-width:768px){#mec_reg_form_fields input[type=number],#mec_reg_form_fields input[type=text],#mec_reg_form_fields select,#mec_reg_form_fields textarea{min-width:80px;width:100%}}.mec-form-row{margin:0 auto 10px}.mec-options-fields{padding-top:25px;overflow:hidden;animation:fadeEffect 1s}#mec_booking_form .mec-options-fields,#mec_modules_form .mec-options-fields,#mec_notifications_form .mec-options-fields,#mec_settings_form .mec-options-fields,#mec_single_form .mec-options-fields{display:none}.mec-options-fields.active{display:block!important}@keyframes fadeEffect{from{opacity:0}to{opacity:1}}.mec-form-row:after,.mec-form-row:before{content:" ";display:table}.mec-form-row:after{clear:both}.mec-form-row input[type=number],.mec-form-row input[type=text],.mec-form-row select{height:38px;box-sizing:border-box;margin-bottom:8px;padding:0 6px;box-shadow:none;border-radius:2px;box-shadow:inset 0 1px 5px rgba(0,0,0,.05)}.mec-form-row input[type=radio]{margin:5px 0}.mec-form-row select{margin-top:1px}.mec-book-status-form select{display:block;width:99%;margin-top:10px;margin-bottom:10px}.mec-form-row label{margin:10px 0}.mec-form-row input[type=checkbox]{background-color:#fafafa;border:1px solid #cacece;box-shadow:0 1px 2px rgba(0,0,0,.05),inset 0 -15px 10px -12px rgba(0,0,0,.05);padding:9px;border-radius:3px;min-width:20px;min-height:20px;display:inline-block}.mec-form-row input[type=checkbox]:checked{box-shadow:0 3px 11px -4px #008aff;border-color:#008aff;background:#fff}.mec-form-row input[type=checkbox]:checked:before{color:#008aff;width:20px;font:400 24px/1 dashicons}.mec-form-row .mec-col-4 input[type=text],.mec-form-row .mec-col-4 select{width:75%}.mec-form-row .description{display:inline-block;border-left:1px dashed #ccc;margin-left:12px;line-height:26px;padding-left:12px;color:#555}.mec-form-row .time-dv{font-size:14px;font-weight:700}.mec-meta-box-fields{margin:30px 10px}.mec-meta-box-fields>.mec-meta-box-fields{margin-left:0}.mec-meta-box-fields .mec-title{margin:5px 0}.mec-meta-box-fields h4.mec-title{margin:40px 0 16px}.mec-meta-box-fields .mec-dashicons{font-size:20px;line-height:22px;color:#008aff}.mec-form-row .mec-box,.mec-meta-box-fields .mec-box{background:#f7f7f7;padding:10px;margin:10px 0;border-radius:2px;border:1px solid #e6e6e6}.mec-form-row .mec-box{max-width:960px}.mec-form-row .mec-box .button,.mec-meta-box-fields .mec-box .button{float:right}#mec_gateways_form .mec-form-row:first-child,#mec_notifications_form_container .mec-form-row:nth-child(2){overflow:hidden}#mec_gateways_form .mec-tooltip{float:right}.mec-container{background:#fff;padding:15px}.nav-tab-active{background:#fff;border-bottom:1px solid #fff}#mec_social_networks .mec-form-row{margin-bottom:0}#mec_gateways_form h4,.mec-meta-box-fields h4,.mec-options-fields h4,h4.mec-form-subtitle{text-transform:capitalize;border-bottom:1px solid #e5e5e5;padding-bottom:6px;margin:40px 0 16px;font-size:15px;font-weight:600}#mec_gateways_form h4{margin-bottom:0}#mec_styles_form #mec_styles_CSS{height:200px;margin-bottom:5px;font-family:Consolas,Monaco,monospace;font-size:13px;width:97%;background:#f9f9f9;outline:0}#mec_calendar_filter .description,#mec_styles_form .description{max-width:500px;display:block;margin:0 0 5px 0;padding:0;border:none}.mec-sed-methods li{display:inline-block;padding:8px 12px;border:1px solid #ddd;margin:0 5px 5px 0;cursor:pointer;border-radius:3px;box-shadow:0 2px 15px -2px rgba(0,0,0,.1)}.mec-sed-methods li:hover{border-color:#008aff}.mec-sed-methods li.active{border-color:#008aff;background-color:#fff;color:#008aff;font-weight:600;cursor:default;box-shadow:0 0 8px rgba(1,138,255,.5) inset}.mec-switcher input+label{display:block;position:relative;cursor:pointer;outline:0;padding:2px;width:38px;height:22px;background-color:#ddd;border-radius:60px}.mec-switcher input:checked+label{background-color:#008aff;box-shadow:0 3px 22px -6px #008aff}.mec-switcher input:checked+label:after{margin-left:16px}#mec_gateways_form input[type=text],#mec_gateways_form select,#mec_gateways_form textarea{width:calc(100% - 30px)}#mec_gateways_form textarea{min-height:65px}#mec_gateways_form li .mec-gateway-options-form{padding:15px 20px;background-color:#f7f7f7;border-left:6px solid #e3e3e3;margin-bottom:20px}#mec_notifications_form label{display:inline-block;min-width:160px}#mec_notifications_form input[type=text],#mec_notifications_form select{min-width:300px}@media (max-width:536px){#mec_notifications_form input[type=text],#mec_notifications_form select{min-width:100%}}#mec_notifications_form .wp-editor-container{margin-bottom:45px}#mec_notifications_form ul li:last-child .wp-editor-container{margin-bottom:0}#mec_messages_form_container ul li label{display:block;font-weight:700}#mec_messages_form_container ul li input{display:block;width:100%}.mec-message-categories li.mec-acc-label{font-size:18px;font-weight:700;padding:10px;cursor:pointer;background-color:#f1f1f1;border:1px solid #ccc}.mec-message-categories ul{margin:15px 5px}.webnus-icons-list li{width:40px;display:inline-block;list-style:none;padding:0}.webnus-icons-list input{visibility:hidden;margin:0;padding:0;width:1px;height:1px;-moz-opacity:0;-khtml-opacity:0;opacity:0;cursor:pointer}.webnus-icons-list li label{color:#777;display:inline-block!important;float:none!important;width:33px!important;text-align:center;font-size:23px!important;font-weight:400!important;padding:5px 0!important;border:1px solid #eee!important}.mec-webnus-icon{float:left;margin-right:10px}.mec-webnus-icon i{font-size:24px;color:#222}.mec-accordion ul{display:none}.mec-switcher input{position:absolute;margin-left:-9999px;visibility:hidden}.mec-switcher input+label{display:block;position:relative;cursor:pointer;outline:0;padding:2px;width:50px;height:22px;background-color:#ddd;border-radius:60px}.mec-switcher input+label:after,.mec-switcher input+label:before{display:block;position:absolute;top:1px;left:1px;bottom:1px;content:""}.mec-switcher input+label:before{right:1px;background-color:#f1f1f1;border-radius:60px;transition:background .4s}.mec-switcher input+label:after{width:24px;background-color:#fff;border-radius:100%;box-shadow:0 2px 3px rgba(0,0,0,.1);transition:margin .4s}.wns-be-group-tab .mec-switcher input[value="1"]+label,.wns-be-group-tab .mec-switcher input[value="1"]+label:before{background-color:#008aff;box-shadow:0 3px 22px -7px #008aff}.wns-be-group-tab .mec-switcher input[value="1"]+label:after{margin-left:28px}.mec-switcher input:checked+label{background-color:#008aff}.mec-switcher input:checked+label:before{background-color:#008aff}.mec-switcher input:checked+label:after{margin-left:28px}.mec-switcher label{display:block}.mec-sed-methods li{display:inline-block;padding:10px;border:1px solid #ddd;margin:0 5px 5px 0;cursor:pointer}#wpwrap .mec-button-primary{border-bottom:none;letter-spacing:.5px;line-height:18px;height:46px;transition:all .5s ease;color:#fff;padding:12px 25px;display:block;text-align:center;font-size:14px;background:0 0;background-color:#008aff;text-shadow:none;border:0;box-shadow:none;display:inline-block;margin:25px 0 12px;min-width:146px}#wpwrap .mec-button-primary:hover{background-color:#41c9de}#wpwrap .mec-button-primary.loading{background-color:#73c02a}#wpwrap .mec-button-primary:before{content:"\f00c";font-family:fontawesome;margin-right:4px;font-size:16px;display:none}#wpwrap .mec-button-primary.loading:before{display:inline-block}.mec-image-select-wrap{clear:both;overflow:hidden;padding:10px 0;margin:0}.mec-image-select-wrap li{float:left;display:block;margin-right:15px;margin-bottom:15px}.mec-image-select-wrap li input{display:none}.mec-image-select-wrap li span{width:35px;height:35px;display:block;border:3px solid transparent}.mec-image-select-wrap li input:checked+span{border-color:#e3e3e3}.mec-image-select-wrap li input:checked+span:after{content:"\f00c";font-family:fontawesome;font-size:20px;display:inline-block;color:#fff;padding:8px;max-width:100%;max-height:100%}.mec-image-select-wrap .mec-colorskin-1{background-color:#008aff}.mec-image-select-wrap .mec-colorskin-2{background-color:#0093d0}.mec-image-select-wrap .mec-colorskin-3{background-color:#e53f51}.mec-image-select-wrap .mec-colorskin-4{background-color:#f1c40f}.mec-image-select-wrap .mec-colorskin-5{background-color:#e64883}.mec-image-select-wrap .mec-colorskin-6{background-color:#45ab48}.mec-image-select-wrap .mec-colorskin-7{background-color:#9661ab}.mec-image-select-wrap .mec-colorskin-8{background-color:#0aad80}.mec-image-select-wrap .mec-colorskin-9{background-color:#0ab1f0}.mec-image-select-wrap .mec-colorskin-10{background-color:#ff5a00}.mec-image-select-wrap .mec-colorskin-11{background-color:#c3512f}.mec-image-select-wrap .mec-colorskin-12{background-color:#55606e}.mec-image-select-wrap .mec-colorskin-13{background-color:#fe8178}.mec-image-select-wrap .mec-colorskin-14{background-color:#7c6853}.mec-image-select-wrap .mec-colorskin-15{background-color:#bed431}.mec-image-select-wrap .mec-colorskin-16{background-color:#2d5c88}.mec-image-select-wrap .mec-colorskin-17{background-color:#77da55}.mec-image-select-wrap .mec-colorskin-18{background-color:#2997ab}.mec-image-select-wrap .mec-colorskin-19{background-color:#734854}.mec-image-select-wrap .mec-colorskin-20{background-color:#a81010}.mec-image-select-wrap .mec-colorskin-21{background-color:#4ccfad}.mec-image-select-wrap .mec-colorskin-22{background-color:#3a609f}@media screen and (max-width:782px){.mec-form-row .description{max-width:500px;display:block;margin:0 0 5px 0;padding:0;border:none}.mec-col-1,.mec-col-10,.mec-col-11,.mec-col-12,.mec-col-2,.mec-col-3,.mec-col-4,.mec-col-5,.mec-col-6,.mec-col-7,.mec-col-8,.mec-col-9{margin-bottom:5px;display:block}.mec-form-row .mec-box .button,.mec-meta-box-fields .mec-box .button{float:left}.mec-form-row .time-dv{padding:0 4px}.mec-form-row .mec-col-4 input[type=text],.mec-form-row .mec-col-4 select{width:auto;min-width:192px}.mec-tooltip .dashicons-before:before{font-size:32px}}#frmb-0-clear-all,#frmb-0-save,#frmb-0-view-data{display:none}#mec_sn_googlecal{margin-bottom:0}#mec_fee_row1 .button{margin-right:10px}h4.mec-form-subtitle{font-size:15px;margin-top:0}#webnus-dashboard *{box-sizing:border-box}#webnus-dashboard.about-wrap{max-width:1240px;margin:25px auto 20px}#webnus-dashboard .change-log{word-wrap:break-word}#webnus-dashboard .welcome-head img{border:none}.w-welcome{position:relative;margin-top:30px;margin-bottom:10px}.w-box{position:relative;background:#fff;padding:5px 25px;margin-top:30px}.w-theme-version{box-shadow:0 3px 30px -4px #40d8f0;text-shadow:none;background:#40d8f0;background:linear-gradient(95deg,#40d8f0 0,#2dd1ea 50%,#13cbe8 100%);text-align:center;display:block;padding:10px 0;color:#fff;font-weight:600;margin-top:10px;border-radius:2px}.w-box{padding:0;min-height:310px;box-shadow:0 1px 16px rgba(0,0,0,.034);border-radius:2px}.w-box-head{font-weight:600;padding:20px 72px;position:relative;border-bottom:2px solid #008aff;font-size:20px}.w-box-head span{position:absolute;left:0;padding:0 25px;line-height:58px;background:#008aff;height:100%;top:0;color:#fff}.w-box-child,.w-box-content{padding:18px;line-height:24px;font-size:14px}.mec-count-child{width:50%;margin:0 auto}#webnus-dashboard .w-button a{color:#fff!important;border-radius:0;padding:10px 24px;font-size:12px;letter-spacing:1px;font-weight:600;background:#008aff;margin:10px 0;display:inline-block;text-transform:uppercase}#webnus-dashboard .w-box .w-button a:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 21px -5px rgba(0,0,0,.5)}.w-system-info{margin-bottom:7px}.w-system-info:first-child{margin-top:20px}.w-system-info>span{display:inline-block;min-width:145px;line-height:20px;font-size:13px}#webnus-dashboard .w-current{min-width:110px}#webnus-dashboard .w-min{min-width:65px}.w-icon{color:#fff;padding:3px;border-radius:4px;margin-right:10px;vertical-align:middle}.w-icon-green{background:#27ae60}.w-icon-red{background:#e74c3c}.extra .w-box-head{padding:20px;border-bottom:1px solid #ededed}.doc .w-box-head{color:#4cbf67}#webnus-dashboard .doc .w-button a{background:#4cbf67;background:linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);margin:35px 0 17px;box-shadow:0 5px 10px -5px #4cbf67;background-color:#fff}#webnus-dashboard .support .w-button a{background:#ff876c;background:linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%);margin:13px 0 18px;box-shadow:0 5px 10px -5px #ff876c}.doc .w-box-content{background:url(../img/document.png) no-repeat right center}.doc .w-box-content p,.w-box.support .w-box-content p{width:54%;color:#666;margin-top:10px;max-width:380px}.w-box-child p{color:#666;margin-top:10px}.w-box.support{background:#fff url(../img/support.png) no-repeat top right}.w-box.support .w-box-head{width:50%;color:#ff876c}.w-box-content pre{text-align:left;background:#f5f5f5;font-size:13px;padding:20px 25px;height:480px;overflow-y:scroll}.w-box.change-log .w-box-head{color:#01c6d9}#webnus-dashboard .button:not(.mec-intro-section-link-tag){border:0;background:0 0;box-shadow:none;color:#e74c3c;font-weight:700}.w-box .state{position:absolute;top:0;left:-100vw}#webnus-dashboard .button:hover{color:#222}.w-box .state:checked~.content{-webkit-transform:none;-ms-transform:none;transform:none}.w-box .state:checked~.backdrop{bottom:0;opacity:1;z-index:1}.w-box .lightbox{position:fixed;top:0;right:0;left:0;height:0;padding:0 20px}.w-box .lightbox .content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow:hidden;position:relative;z-index:2;max-width:500px;max-height:95vh;margin:20px auto;padding:20px;background:#fff;-webkit-transform:translateY(-200%);-ms-transform:translateY(-200%);transform:translateY(-200%);-webkit-transition:.3s -webkit-transform ease-in-out;transition:.3s transform ease-in-out;border:1px solid rgba(0,0,0,.1)}.w-box .lightbox .main{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.w-box .lightbox .backdrop{position:fixed;z-index:-1;top:0;right:0;bottom:100%;left:0;opacity:0;background:rgba(0,0,0,.3);-webkit-transition:.3s opacity ease-in-out;transition:.3s opacity ease-in-out}.content .main p{color:#bf3737}p.mec_dash_count{font-size:60px;font-weight:600;margin:0;color:#01c6d9}.w-col-sm-3 .w-box.doc{text-align:center;min-height:auto}.w-Knowledgebase{color:#8e5cea}.mec-view-all-articles a{margin:30px 0 17px;display:inline-block;color:#fff!important;border-radius:0;padding:10px 24px;font-size:12px;letter-spacing:1px;font-weight:600;background:#8e5cea;display:inline-block;text-transform:uppercase;transition:all .24s ease;-webkit-transition:all .24s ease}.mec-view-all-articles a:hover{background-color:#222}.w-box.upcoming-events .mec-event-article{margin-bottom:22px;border-bottom:1px solid #eee;padding-bottom:16px}.w-box.upcoming-events .mec-event-article .mec-event-date{font-size:14px;color:#666}.w-box.upcoming-events .mec-event-article .mec-event-date span{font-weight:600;margin-right:4px}.w-box.upcoming-events .mec-event-article h4.mec-event-title{margin:0;font-size:15px}.w-box.upcoming-events .mec-event-article .mec-event-detail{font-size:13px;color:#999}.w-box.upcoming-events .mec-event-article .mec-detail-button{font-size:10px;font-weight:600;letter-spacing:1px;padding:4px 12px;background:#f2f2f2;float:right}.w-box.total-bookings ul li{display:inline-block;padding:4px 12px;background:#f1f1f1;margin-right:5px;border-radius:3px}.w-box.total-bookings ul li.selected{background:#fff;border:1px solid #e9e9e9}.info-msg,.mec-error,.mec-success,.warning-msg{margin:10px 0;padding:10px;border-radius:3px 3px 3px 3px}.info-msg{color:#059;background-color:#bef}.info-msg-link{background:#fff;padding:4px 12px 6px;border-radius:3px;line-height:1;font-weight:600;color:#008aff}.mec-success{color:#270;background-color:#dff2bf}.warning-msg{color:#9f6000;background-color:#feefb3}.mec-error{color:#d8000c;background-color:#ffbaba}.mec-certain-day>div,.mec-select-deselect-actions li,.mec-xi-facebook-import-events .mec-select-deselect-actions li,.mec-xi-google-import-events .mec-select-deselect-actions li{display:inline-block;position:relative;outline:0;background:#fff;border:1px solid #e2e2e2;border-radius:50px;padding:11px 21px 11px 21px;line-height:1;font-size:11px;font-weight:600;color:#444;letter-spacing:2px;height:auto;cursor:pointer;margin-top:5px;text-transform:uppercase;box-shadow:0 0 3px rgba(0,0,0,.03)}.mec-certain-day>div:hover,.mec-select-deselect-actions li:hover,.mec-xi-facebook-import-events .mec-select-deselect-actions li:hover,.mec-xi-google-import-events .mec-select-deselect-actions li:hover{border-color:#008aff;box-shadow:0 0 7px rgba(0,0,0,.1)}.mec-not-in-days-remove{border:1px solid #f99170;border-radius:20px;padding:0 0 0 2px;color:#f99170}.mec-xi-facebook-import-events .mec-success,.mec-xi-google-import-events .mec-success{width:460px}.mec-xi-facebook-import-events .mec-select-deselect-actions li,.mec-xi-google-import-events .mec-select-deselect-actions li{display:inline-block;cursor:pointer}.lity-content>div{overflow:auto}.mce-mec-mce-items{text-transform:capitalize!important}#mec_setting_contextual li{list-style:none!important;font-size:12px;margin:0;padding:6px}.mec-bbf-field-container{margin-bottom:10px}.mec-bbf-field-container label{display:block}.kc-components ul.kc-components-list li .cpicon.mec-kingcomposer-icon,.kc-element-icon .cpicon.mec-kingcomposer-icon{background:url(../img/ico-mec-vc.png) no-repeat center center;background-size:auto;background-repeat:no-repeat}.mec-archive-skinsm.mec-category-skins,.mec-carousel-archive-link,.mec-carousel-head-text,.mec-toggle-month-divider{display:none}span.mec-archive-skins,span.mec-category-skins{margin-left:10px;vertical-align:text-bottom}.mec-archive-skins input,.mec-archive-skins select,.mec-category-skins input,.mec-category-skins select{min-width:225px;vertical-align:baseline}#mec_settings_default_skin_archive,#mec_settings_default_skin_category{min-width:225px}.w-welcome p span{background:#fff;padding:4px 10px}#mec_masonry_skin_options_container .mec-form-row .description{margin-left:0;padding-left:0;border:none;margin-top:-4px}@media (max-width:1280px){span.mec-archive-skins,span.mec-category-skins{margin-left:0}}/*!
|
2 |
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
3 |
* Copyright 2011-2016 Twitter, Inc.
|
4 |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5 |
+
*/#webnus-dashboard button,#webnus-dashboard input,#webnus-dashboard select,#webnus-dashboard textarea{font-family:inherit;font-size:inherit;line-height:inherit}#webnus-dashboard a{color:#337ab7;text-decoration:none}#webnus-dashboard a:focus,#webnus-dashboard a:hover{color:#23527c}#webnus-dashboard a:focus{outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}#webnus-dashboard figure{margin:0}#webnus-dashboard img{vertical-align:middle}.w-img-responsive{display:block;max-width:100%;height:auto}.w-img-rounded{border-radius:6px}.w-img-thumbnail{padding:4px;line-height:1w-42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all 0w-2s ease-in-out;-o-transition:all 0w-2s ease-in-out;transition:all 0w-2s ease-in-out;display:inline-block;max-width:100%;height:auto}.w-img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.w-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.w-sr-only-focusable:active,.w-sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.w-container,.w-container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}[role=button]{cursor:pointer}@media (min-width:768px){.w-container{width:750px}}@media (min-width:992px){.w-container{width:970px}}@media (min-width:1200px){.w-container{width:1170px}}.w-row{margin-left:-15px;margin-right:-15px}.w-col-lg-1,.w-col-lg-10,.w-col-lg-11,.w-col-lg-12,.w-col-lg-2,.w-col-lg-3,.w-col-lg-4,.w-col-lg-5,.w-col-lg-6,.w-col-lg-7,.w-col-lg-8,.w-col-lg-9,.w-col-md-1,.w-col-md-10,.w-col-md-11,.w-col-md-12,.w-col-md-2,.w-col-md-3,.w-col-md-4,.w-col-md-5,.w-col-md-6,.w-col-md-7,.w-col-md-8,.w-col-md-9,.w-col-sm-1,.w-col-sm-10,.w-col-sm-11,.w-col-sm-12,.w-col-sm-2,.w-col-sm-3,.w-col-sm-4,.w-col-sm-5,.w-col-sm-6,.w-col-sm-7,.w-col-sm-8,.w-col-sm-9,.w-col-xs-1,.w-col-xs-10,.w-col-xs-11,.w-col-xs-12,.w-col-xs-2,.w-col-xs-3,.w-col-xs-4,.w-col-xs-5,.w-col-xs-6,.w-col-xs-7,.w-col-xs-8,.w-col-xs-9{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.w-col-xs-1,.w-col-xs-10,.w-col-xs-11,.w-col-xs-12,.w-col-xs-2,.w-col-xs-3,.w-col-xs-4,.w-col-xs-5,.w-col-xs-6,.w-col-xs-7,.w-col-xs-8,.w-col-xs-9{float:left}.w-col-xs-12{width:100%}.w-col-xs-11{width:91.66666667%}.w-col-xs-10{width:83.33333333%}.w-col-xs-9{width:75%}.w-col-xs-8{width:66.66666667%}.w-col-xs-7{width:58.33333333%}.w-col-xs-6{width:50%}.w-col-xs-5{width:41.66666667%}.w-col-xs-4{width:33.33333333%}.w-col-xs-3{width:25%}.w-col-xs-2{width:16.66666667%}.w-col-xs-1{width:8w-33333333%}.w-col-xs-pull-12{right:100%}.w-col-xs-pull-11{right:91.66666667%}.w-col-xs-pull-10{right:83.33333333%}.w-col-xs-pull-9{right:75%}.w-col-xs-pull-8{right:66.66666667%}.w-col-xs-pull-7{right:58.33333333%}.w-col-xs-pull-6{right:50%}.w-col-xs-pull-5{right:41.66666667%}.w-col-xs-pull-4{right:33.33333333%}.w-col-xs-pull-3{right:25%}.w-col-xs-pull-2{right:16.66666667%}.w-col-xs-pull-1{right:8w-33333333%}.w-col-xs-pull-0{right:auto}.w-col-xs-push-12{left:100%}.w-col-xs-push-11{left:91.66666667%}.w-col-xs-push-10{left:83.33333333%}.w-col-xs-push-9{left:75%}.w-col-xs-push-8{left:66.66666667%}.w-col-xs-push-7{left:58.33333333%}.w-col-xs-push-6{left:50%}.w-col-xs-push-5{left:41.66666667%}.w-col-xs-push-4{left:33.33333333%}.w-col-xs-push-3{left:25%}.w-col-xs-push-2{left:16.66666667%}.w-col-xs-push-1{left:8w-33333333%}.w-col-xs-push-0{left:auto}.w-col-xs-offset-12{margin-left:100%}.w-col-xs-offset-11{margin-left:91.66666667%}.w-col-xs-offset-10{margin-left:83.33333333%}.w-col-xs-offset-9{margin-left:75%}.w-col-xs-offset-8{margin-left:66.66666667%}.w-col-xs-offset-7{margin-left:58.33333333%}.w-col-xs-offset-6{margin-left:50%}.w-col-xs-offset-5{margin-left:41.66666667%}.w-col-xs-offset-4{margin-left:33.33333333%}.w-col-xs-offset-3{margin-left:25%}.w-col-xs-offset-2{margin-left:16.66666667%}.w-col-xs-offset-1{margin-left:8w-33333333%}.w-col-xs-offset-0{margin-left:0}@media (min-width:768px){.w-col-sm-1,.w-col-sm-10,.w-col-sm-11,.w-col-sm-12,.w-col-sm-2,.w-col-sm-3,.w-col-sm-4,.w-col-sm-5,.w-col-sm-6,.w-col-sm-7,.w-col-sm-8,.w-col-sm-9{float:left}.w-col-sm-12{width:100%}.w-col-sm-11{width:91.66666667%}.w-col-sm-10{width:83.33333333%}.w-col-sm-9{width:75%}.w-col-sm-8{width:66.66666667%}.w-col-sm-7{width:58.33333333%}.w-col-sm-6{width:50%}.w-col-sm-5{width:41.66666667%}.w-col-sm-4{width:33.33333333%}.w-col-sm-3{width:25%}.w-col-sm-2{width:16.66666667%}.w-col-sm-1{width:8w-33333333%}.w-col-sm-pull-12{right:100%}.w-col-sm-pull-11{right:91.66666667%}.w-col-sm-pull-10{right:83.33333333%}.w-col-sm-pull-9{right:75%}.w-col-sm-pull-8{right:66.66666667%}.w-col-sm-pull-7{right:58.33333333%}.w-col-sm-pull-6{right:50%}.w-col-sm-pull-5{right:41.66666667%}.w-col-sm-pull-4{right:33.33333333%}.w-col-sm-pull-3{right:25%}.w-col-sm-pull-2{right:16.66666667%}.w-col-sm-pull-1{right:8w-33333333%}.w-col-sm-pull-0{right:auto}.w-col-sm-push-12{left:100%}.w-col-sm-push-11{left:91.66666667%}.w-col-sm-push-10{left:83.33333333%}.w-col-sm-push-9{left:75%}.w-col-sm-push-8{left:66.66666667%}.w-col-sm-push-7{left:58.33333333%}.w-col-sm-push-6{left:50%}.w-col-sm-push-5{left:41.66666667%}.w-col-sm-push-4{left:33.33333333%}.w-col-sm-push-3{left:25%}.w-col-sm-push-2{left:16.66666667%}.w-col-sm-push-1{left:8w-33333333%}.w-col-sm-push-0{left:auto}.w-col-sm-offset-12{margin-left:100%}.w-col-sm-offset-11{margin-left:91.66666667%}.w-col-sm-offset-10{margin-left:83.33333333%}.w-col-sm-offset-9{margin-left:75%}.w-col-sm-offset-8{margin-left:66.66666667%}.w-col-sm-offset-7{margin-left:58.33333333%}.w-col-sm-offset-6{margin-left:50%}.w-col-sm-offset-5{margin-left:41.66666667%}.w-col-sm-offset-4{margin-left:33.33333333%}.w-col-sm-offset-3{margin-left:25%}.w-col-sm-offset-2{margin-left:16.66666667%}.w-col-sm-offset-1{margin-left:8w-33333333%}.w-col-sm-offset-0{margin-left:0}}@media (min-width:992px){.w-col-md-1,.w-col-md-10,.w-col-md-11,.w-col-md-12,.w-col-md-2,.w-col-md-3,.w-col-md-4,.w-col-md-5,.w-col-md-6,.w-col-md-7,.w-col-md-8,.w-col-md-9{float:left}.w-col-md-12{width:100%}.w-col-md-11{width:91.66666667%}.w-col-md-10{width:83.33333333%}.w-col-md-9{width:75%}.w-col-md-8{width:66.66666667%}.w-col-md-7{width:58.33333333%}.w-col-md-6{width:50%}.w-col-md-5{width:41.66666667%}.w-col-md-4{width:33.33333333%}.w-col-md-3{width:25%}.w-col-md-2{width:16.66666667%}.w-col-md-1{width:8w-33333333%}.w-col-md-pull-12{right:100%}.w-col-md-pull-11{right:91.66666667%}.w-col-md-pull-10{right:83.33333333%}.w-col-md-pull-9{right:75%}.w-col-md-pull-8{right:66.66666667%}.w-col-md-pull-7{right:58.33333333%}.w-col-md-pull-6{right:50%}.w-col-md-pull-5{right:41.66666667%}.w-col-md-pull-4{right:33.33333333%}.w-col-md-pull-3{right:25%}.w-col-md-pull-2{right:16.66666667%}.w-col-md-pull-1{right:8w-33333333%}.w-col-md-pull-0{right:auto}.w-col-md-push-12{left:100%}.w-col-md-push-11{left:91.66666667%}.w-col-md-push-10{left:83.33333333%}.w-col-md-push-9{left:75%}.w-col-md-push-8{left:66.66666667%}.w-col-md-push-7{left:58.33333333%}.w-col-md-push-6{left:50%}.w-col-md-push-5{left:41.66666667%}.w-col-md-push-4{left:33.33333333%}.w-col-md-push-3{left:25%}.w-col-md-push-2{left:16.66666667%}.w-col-md-push-1{left:8w-33333333%}.w-col-md-push-0{left:auto}.w-col-md-offset-12{margin-left:100%}.w-col-md-offset-11{margin-left:91.66666667%}.w-col-md-offset-10{margin-left:83.33333333%}.w-col-md-offset-9{margin-left:75%}.w-col-md-offset-8{margin-left:66.66666667%}.w-col-md-offset-7{margin-left:58.33333333%}.w-col-md-offset-6{margin-left:50%}.w-col-md-offset-5{margin-left:41.66666667%}.w-col-md-offset-4{margin-left:33.33333333%}.w-col-md-offset-3{margin-left:25%}.w-col-md-offset-2{margin-left:16.66666667%}.w-col-md-offset-1{margin-left:8w-33333333%}.w-col-md-offset-0{margin-left:0}}@media (min-width:1200px){.w-col-lg-1,.w-col-lg-10,.w-col-lg-11,.w-col-lg-12,.w-col-lg-2,.w-col-lg-3,.w-col-lg-4,.w-col-lg-5,.w-col-lg-6,.w-col-lg-7,.w-col-lg-8,.w-col-lg-9{float:left}.w-col-lg-12{width:100%}.w-col-lg-11{width:91.66666667%}.w-col-lg-10{width:83.33333333%}.w-col-lg-9{width:75%}.w-col-lg-8{width:66.66666667%}.w-col-lg-7{width:58.33333333%}.w-col-lg-6{width:50%}.w-col-lg-5{width:41.66666667%}.w-col-lg-4{width:33.33333333%}.w-col-lg-3{width:25%}.w-col-lg-2{width:16.66666667%}.w-col-lg-1{width:8w-33333333%}.w-col-lg-pull-12{right:100%}.w-col-lg-pull-11{right:91.66666667%}.w-col-lg-pull-10{right:83.33333333%}.w-col-lg-pull-9{right:75%}.w-col-lg-pull-8{right:66.66666667%}.w-col-lg-pull-7{right:58.33333333%}.w-col-lg-pull-6{right:50%}.w-col-lg-pull-5{right:41.66666667%}.w-col-lg-pull-4{right:33.33333333%}.w-col-lg-pull-3{right:25%}.w-col-lg-pull-2{right:16.66666667%}.w-col-lg-pull-1{right:8w-33333333%}.w-col-lg-pull-0{right:auto}.w-col-lg-push-12{left:100%}.w-col-lg-push-11{left:91.66666667%}.w-col-lg-push-10{left:83.33333333%}.w-col-lg-push-9{left:75%}.w-col-lg-push-8{left:66.66666667%}.w-col-lg-push-7{left:58.33333333%}.w-col-lg-push-6{left:50%}.w-col-lg-push-5{left:41.66666667%}.w-col-lg-push-4{left:33.33333333%}.w-col-lg-push-3{left:25%}.w-col-lg-push-2{left:16.66666667%}.w-col-lg-push-1{left:8w-33333333%}.w-col-lg-push-0{left:auto}.w-col-lg-offset-12{margin-left:100%}.w-col-lg-offset-11{margin-left:91.66666667%}.w-col-lg-offset-10{margin-left:83.33333333%}.w-col-lg-offset-9{margin-left:75%}.w-col-lg-offset-8{margin-left:66.66666667%}.w-col-lg-offset-7{margin-left:58.33333333%}.w-col-lg-offset-6{margin-left:50%}.w-col-lg-offset-5{margin-left:41.66666667%}.w-col-lg-offset-4{margin-left:33.33333333%}.w-col-lg-offset-3{margin-left:25%}.w-col-lg-offset-2{margin-left:16.66666667%}.w-col-lg-offset-1{margin-left:8w-33333333%}.w-col-lg-offset-0{margin-left:0}}.w-clearfix:after,.w-clearfix:before,.w-container-fluid:after,.w-container-fluid:before,.w-container:after,.w-container:before,.w-row:after,.w-row:before{content:" ";display:table}.w-clearfix:after,.w-container-fluid:after,.w-container:after,.w-row:after{clear:both}.w-center-block{display:block;margin-left:auto;margin-right:auto}.w-pull-right{float:right!important}.w-pull-left{float:left!important}.w-hide{display:none!important}.w-show{display:block!important}.w-invisible{visibility:hidden}.w-text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.w-hidden{display:none!important}.w-affix{position:fixed}.mec-image-popup-wrap{display:none}#wns-be-infobar.sticky{position:fixed;top:32px;background:#fff;z-index:9999;width:82%}.wns-be-main .wns-saved-settings.sticky{position:fixed;width:62.5%;top:111px;z-index:999999999999999999}#mec-search-settings{border-radius:2px;min-height:32px;box-shadow:0 3px 14px -5px rgba(0,0,0,.2),inset 0 1px 2px rgba(0,0,0,.07);padding:9px 10px 11px;margin-right:6px;color:#7c7772;font-size:12px;width:200px}#mec-search-settings::-webkit-input-placeholder{color:#7c7772}#mec-search-settings::-moz-placeholder{color:#7c7772}#mec-search-settings:-ms-input-placeholder{color:#7c7772}#mec-search-settings:-moz-placeholder{color:#7c7772}.mec-export-settings,.mec-import-settings{font-weight:700;border-radius:2px;box-shadow:0 3px 10px -4px #008aff;text-shadow:none;background:#008aff;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);border:none;transition:.24s;padding:8px 32px;height:36px;letter-spacing:.2px;line-height:36px;font-size:13px;color:#fff;text-decoration:none;display:inline-block}.mec-export-settings:hover,.mec-import-settings:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 23px -7px rgba(0,0,0,.5);color:#fff}textarea.mec-import-settings-content{display:block;width:100%;min-height:120px;margin-bottom:25px;padding:10px 15px}.mec-import-options-notification{display:inline-block}.mec-import-options-notification .mec-message-import-error,.mec-import-options-notification .mec-message-import-success{display:inline-block;padding:15px 12px;margin-left:12px;opacity:0;visibility:hidden;font-weight:700}.mec-import-options-notification .mec-message-import-success{opacity:1;visibility:visible;border:2px solid green}.mec-import-options-notification .mec-message-import-error{opacity:1;visibility:visible;border:2px solid #e62117}.mec-export-settings:focus,.mec-import-settings:focus{color:#fff}.mec-import-settings-wrap{position:relative}.mec-loarder-wrap{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(202,202,202,.7);z-index:9999}.mec-loarder-wrap.mec-settings-loader{top:34px}.mec-loarder{position:absolute;width:64px;height:64px;top:calc(50% - 32px);left:calc(50% - 36px)}.mec-loarder div{display:inline-block;position:absolute;left:6px;width:4px;background:#fff;animation:mec-loarder 1.2s cubic-bezier(0,.5,.5,1) infinite}.mec-loarder div:nth-child(1){left:27px;animation-delay:-.24s;background:#0075ff}.mec-loarder div:nth-child(2){left:36px;animation-delay:-.12s;background:#028bff}.mec-loarder div:nth-child(3){left:45px;animation-delay:0;background:#32a0ff}@keyframes mec-loarder{0%{top:6px;height:51px}100%,50%{top:19px;height:26px}}.w-box.support-page.searchbox{background:#008aff;background:linear-gradient(180deg,#36a2ff 0,#008aff 50%,#0072ff 100%);color:#fff;min-height:260px;text-align:center;border-radius:2px}#webnus-dashboard .search-form input{background:rgba(255,255,255,.2);border:none;width:50%;outline:0;color:rgba(255,255,255,.7);font-size:18px;border-radius:4px 0 0 4px;box-shadow:0 1px 2px 0 rgba(0,0,0,.03);-webkit-transition:background .4s,box-shadow .2s;transition:background .4s,box-shadow .2s;padding:20px 32px;margin:0}#webnus-dashboard .search-form button{background:rgba(255,255,255,.2);border:none;padding:20px 32px;margin-left:-2px;color:#fff;border-radius:0 4px 4px 0;font-size:18px;cursor:pointer;-webkit-transition:background .4s,box-shadow .2s;transition:background .4s,box-shadow .2s}#webnus-dashboard .search-form button:hover{background:#fff;color:#3a3c4c}.w-box.support-page.searchbox p{font-size:30px}.search-form input::-webkit-input-placeholder{color:rgba(255,255,255,.7)}.search-form input::-moz-placeholder{color:rgba(255,255,255,.7)}.search-form input:-ms-input-placeholder{color:rgba(255,255,255,.7)}.search-form input:-moz-placeholder{color:rgba(255,255,255,.7)}#webnus-dashboard .search-form input:active,#webnus-dashboard .search-form input:focus{box-shadow:0 10px 20px rgba(0,0,0,.14);background:#fff;color:#3a3c4c}#webnus-dashboard .search-form input:active::-webkit-input-placeholder,#webnus-dashboard .search-form input:focus::-webkit-input-placeholder{color:#3a3c4c}#webnus-dashboard .search-form input:active::-moz-placeholder,#webnus-dashboard .search-form input:focus::-moz-placeholder{color:#3a3c4c}#webnus-dashboard .search-form input:active:-ms-input-placeholder,#webnus-dashboard .search-form input:focus:-ms-input-placeholder{color:#3a3c4c}#webnus-dashboard .search-form input:active:-moz-placeholder,#webnus-dashboard .search-form input:focus:-moz-placeholder{color:#3a3c4c}#webnus-dashboard .w-box.support-page.mec-ticksy{text-align:center;min-height:260px}#webnus-dashboard .w-box.support-page.mec-ticksy p{font-size:20px;width:70%;margin:0 auto;margin-bottom:40px;margin-top:40px}#webnus-dashboard .w-box.support-page.mec-ticksy a{color:#fff;font-weight:500;border-radius:2px;box-shadow:0 3px 10px -4px #008aff;text-shadow:none;background:#008aff;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);border:none;transition:.24s;padding:12px 20px;cursor:pointer;margin-bottom:40px;display:inline-block}#webnus-dashboard .w-box.support-page.mec-ticksy a:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 23px -7px rgba(0,0,0,.5)}.mec-faq-accordion>.mec-faq-accordion-content{display:none}#webnus-dashboard .mec-faq-accordion-trigger a{font-size:16px;padding:12px;background:#f1f1f1;display:block;color:#222;line-height:17px;outline:0}.mec-faq-accordion-trigger{margin-bottom:5px;position:relative}#webnus-dashboard .mec-faq-accordion-trigger a:after{font-family:simple-line-icons;content:"\e095";position:absolute;right:12px;font-weight:700}.mec-faq-accordion-content{padding:5px 14px 25px}#webnus-dashboard .mec-faq-accordion-trigger a.active:after{content:"\e082"}#webnus-dashboard .support-page-links a{background-color:#fff;color:#fff;border-radius:2px;padding:13px 24px;font-size:12px;letter-spacing:1px;font-weight:600;text-transform:uppercase}#webnus-dashboard .support-page-links a:hover,#webnus-dashboard .w-box.support-page.videobox .w-button a:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 21px -5px rgba(0,0,0,.5)}#webnus-dashboard .support-page-links{display:inline-block;margin:12px 4px 16px 0}.support-page-links.link-to-doc a{background:#4cbf67;background:linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);box-shadow:0 5px 10px -5px #4cbf67}.support-page-links.link-to-videos a{background:#ff876c;background:linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%);box-shadow:0 5px 10px -5px #ff876c}.support-page-links.link-to-articles a{background:#b092e6;background:linear-gradient(95deg,#b092e6 0,#9b70e8 50%,#8e5cea 100%);box-shadow:0 5px 10px -5px #b092e6}.w-box.support-page.articles-box .w-box-content a{display:block;padding:6px 0}#webnus-dashboard .w-box.support-page.videobox .w-button a{color:#fff;font-size:10px;padding:5px 15px;min-height:10px;font-weight:500;border-radius:22px;box-shadow:0 3px 10px -4px #ff5a35;text-shadow:none;background:#ff5a35;background:linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%);border:none;transition:.24s}.w-box.support-page.articles-box,.w-box.support-page.faq-box{min-height:500px}.w-box.support-page.videobox{border-radius:2px;min-height:282px;box-shadow:0 1px 6px rgba(0,0,0,.039)!important}#webnus-dashboard .w-box.support-page.videobox .w-button a i{margin-right:6px}.support-page .w-box-content ul{margin-top:5px;padding-left:5px}.support-page .w-box-content ul li{font-size:13px}.support-page .w-box-content ul li i{font-size:17px;vertical-align:text-bottom;margin-right:7px;color:#999}.w-box.mec-activation{background:#fff url(../img/dp-dsb-support.jpg) no-repeat top right}.w-box.mec-activation .w-box-head{color:#40d8f0;width:75%}.w-box.mec-activation .w-box-content{padding:10px 30px}.w-box.mec-activation input[type=radio]{display:none}.w-box.mec-activation input[type=radio]+label{color:#000;font-size:13px;line-height:14px!important;color:#7b7b7b}.w-box.mec-activation input[type=radio].checked+label{color:#40d8f0}.w-box.mec-activation input[type=radio]+label span{display:inline-block;margin:-2px 6px 0 0;vertical-align:middle;cursor:pointer;height:14px;width:14px;text-align:center;background-color:#fff;border:1px solid #d4d4d4;border-radius:100%;box-shadow:0 2px 16px -2px rgba(0,0,0,.2);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}.w-box.mec-activation input[type=radio].checked+label span{background-color:#40d8f0;border-color:#40d8f0;box-shadow:0 2px 14px -3px #40d8f0}.w-box.mec-activation input[type=radio].checked+label span:after{content:'';display:block;position:absolute;top:4px;left:4px;width:4px;height:4px;background:#fff;border-radius:100%}.w-box.mec-activation .LicenseType label{padding-right:20px;font-weight:500}.w-box.mec-activation .LicenseField{display:inline-block;position:relative;margin-top:20px}.w-box.mec-activation input[name=MECPurchaseCode]{box-shadow:inset 0 1px 2px rgba(0,0,0,.07);min-width:220px;background:#f4f4f4;border:none;border-radius:33px;width:500px;min-height:50px;margin:0;padding-left:20px;text-align:left}#webnus-dashboard .w-box.mec-activation input[type=submit]{height:40px;line-height:40px;font-weight:600;border:none;cursor:pointer;padding:0 30px;border-radius:33px;color:#fff;letter-spacing:1px;text-transform:uppercase;font-size:12px;background:#4cbf67;background:linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);box-shadow:0 5px 10px -5px #4cbf67;transition:all .28s ease;position:absolute;right:5px;top:4px;font-size:12px}#webnus-dashboard .w-box.mec-activation input[type=submit]:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 23px -7px rgba(0,0,0,.5)}#MECActivation .MECPurchaseStatus,.addon-activation-form .MECPurchaseStatus{display:inline-block;width:40px;height:40px;text-align:center;padding-top:9px;color:#fff;font-weight:700;font-size:18px;border-radius:50%;padding-top:8px;position:absolute;right:-51px;top:calc(50% - 20px)}.MECPurchaseStatus:after,.MECPurchaseStatus:before{position:absolute;border-radius:50px;background:#fff;content:'';transform:rotate(45deg)}.MECPurchaseStatus.PurchaseError:before{width:22px;height:4px;right:9px;top:18px;transform:rotate(45deg)}.MECPurchaseStatus.PurchaseError:after{width:22px;height:4px;right:9px;top:18px;transform:rotate(-45deg)}.MECPurchaseStatus.PurchaseSuccess:before{width:13px;height:4px;right:19px;top:21px;transform:rotate(45deg)}.MECPurchaseStatus.PurchaseSuccess:after{width:22px;height:4px;right:5px;top:18px;transform:rotate(-45deg)}#MECActivation .MECPurchaseStatus.PurchaseError,.addon-activation-form .MECPurchaseStatus.PurchaseError{background:#ff876c;background:linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%);box-shadow:0 5px 10px -5px #ff876c}#MECActivation .MECPurchaseStatus.PurchaseSuccess,.addon-activation-form .MECPurchaseStatus.PurchaseSuccess{background:#4cbf67;background:linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);box-shadow:0 5px 10px -5px #4cbf67}.wna-spinner-wrap{position:absolute;background:#000;width:509px;height:64px;top:-8px;border-radius:50px;z-index:999;background-color:#fff;opacity:.9}.wna-spinner{width:40px;height:40px;position:relative;margin:6px auto}.wna-spinner .double-bounce1,.wna-spinner .double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#40d8f0;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:sk-bounce 2s infinite ease-in-out;animation:sk-bounce 2s infinite ease-in-out}.wna-spinner .double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}#MECActivation .MECLicenseMessage,.addon-activation-form .MECLicenseMessage{margin-top:24px;color:#f64;max-width:570px}.box-addon-activation-toggle-content,.box-addon-activation-toggle-head{display:none}.addon-activation-form h3{font-size:15px;font-weight:400;margin:34px 0 -7px}.box-addon-activation-toggle-head{line-height:1.5;font-size:16px;margin-top:20px;cursor:pointer}.box-addon-activation-toggle-head i{margin-right:7px;cursor:pointer;font-weight:700}#mec-advanced-wraper div:first-child>ul{display:block;margin:5px 0;padding:5px 0;width:390px;border:1px solid #e1e2e3;border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.05)}#mec-advanced-wraper div:first-child>ul span{display:none}#mec-advanced-wraper div:first-child>ul *{display:inline-block;background:#fff;font-size:12px;color:#717273;text-align:center}#mec-advanced-wraper div:first-child>ul>li{width:60px;font-weight:700;margin:0 10px 0 0;padding:4px 0;border-right:1px solid #e1e2e3}#mec-advanced-wraper div:first-child>ul>ul>li{margin:0;padding:2px 10px;cursor:pointer;border-radius:2px;transition:all .18s ease}#mec-advanced-wraper div:first-child>ul>ul>li:hover,.mec-active{background:#008aff!important;color:#fff!important}@-webkit-keyframes sk-bounce{0%,100%{-webkit-transform:scale(0)}50%{-webkit-transform:scale(1)}}@keyframes sk-bounce{0%,100%{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}.w-col-sm-3 .w-box.addon{min-height:auto;box-shadow:0 3px 16px -5px rgba(0,0,0,.1);border-radius:2px}.w-box-child.mec-addon-box{padding:20px 20px}.mec-addon-box-head{border-bottom:1px solid #e8e8e8;padding-bottom:5px;margin-bottom:14px;position:relative}.mec-addon-box-version{position:relative;background:#eaeaea;border-radius:1px;padding:0 8px;color:#5a5a5a;font-size:11px;letter-spacing:.2px;line-height:21px;display:inline-block;margin:3px 0}.mec-addon-box-title{font-weight:700;font-size:18px;line-height:25px}.mec-addon-box-title a span{color:#444;font-size:15px}.mec-addon-box-content p{color:#777;font-size:13px}.mec-addon-box-mec-version{background:#f3f3f3;padding:10px;font-size:13px}#webnus-dashboard .addons-page-links{display:inline-block;margin:12px 4px 16px 0}#webnus-dashboard .addons-page-links a{background-color:#fff;color:#fff;border-radius:2px;padding:13px 24px;font-size:12px;letter-spacing:1px;font-weight:600;text-transform:uppercase}.addons-page-links.link-to-purchase a{background:#4cbf67;background:linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);box-shadow:0 5px 10px -5px #4cbf67}.addons-page-links.link-to-install-addons a{background:#b092e6;background:linear-gradient(95deg,#b092e6 0,#9b70e8 50%,#8e5cea 100%);box-shadow:0 5px 10px -5px #b092e6}#webnus-dashboard .addons-page-links a:hover,#webnus-dashboard .w-box.addons-page.videobox .w-button a:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 21px -5px rgba(0,0,0,.5)}.mec-addon-box-footer{margin-top:25px}#webnus-dashboard .mec-addon-box-footer a{font-weight:500;border-radius:2px;box-shadow:0 3px 10px -4px #008aff;text-shadow:none;background:#008aff;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);border:none;transition:.24s;padding:7px 19px;margin-top:10px;display:inline-block;letter-spacing:.2px;color:#fff;width:100%;text-align:center}#webnus-dashboard .mec-addon-box-footer a.mec-addon-box-intro{box-shadow:0 3px 10px -4px #ff5a35;background:linear-gradient(95deg,#ff876c 0,#ff7455 50%,#ff5a35 100%)}#webnus-dashboard .mec-addon-box-footer a:hover{background:#222!important;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%)!important;box-shadow:0 5px 23px -7px rgba(0,0,0,.5)!important;cursor:pointer!important}#webnus-dashboard .mec-addon-box-footer a i{margin-right:6px;color:#fff}@media(max-width:1366px){.wns-be-container #wns-be-content{padding:5px 15px 0}.mec-form-row .mec-col-8 label{font-size:10px}#webnus-dashboard .mec-tooltip .box p,.mec-tooltip .box p{font-size:10px}}@media (max-width:780px){.wns-be-container #wns-be-content{padding:10px 0}.wns-be-container .mec-form-row .mec-col-8 label{width:50%;display:block}.wns-be-container .mec-form-row input[type=checkbox]{width:14px;height:14px}.wns-be-container .wns-be-sidebar li .subsection a{padding-left:30px}.wns-be-container .wns-be-sidebar{width:200px}.wns-be-container .wns-be-main{margin-left:200px}.wns-be-container .mec-tooltip .box{min-width:235px!important}.wns-be-container .mec-tooltip .box p{font-size:12px!important}#wns-be-infobar.sticky{position:unset}}@media (max-width:480px){.wns-be-container .wns-be-sidebar{width:100%;position:unset;float:none}.wns-be-container .wns-be-main{margin-left:0;width:100%;position:unset}.wns-be-container{margin-top:50px}.wns-be-container #wns-be-infobar:before{width:100%}.wns-be-container #wns-be-infobar{height:150px}#mec-search-settings{margin-top:80px;width:181px}}.addons-page-error,.addons-page-notice{display:block;margin-top:15px;margin-bottom:0;background:#fff;border-left:4px solid #00a0d2;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:1px 12px}.addons-page-error p,.addons-page-notice p{margin:.5em 0;padding:2px;font-size:13px}.addons-page-error{border-left-color:#dc3232}.mec-addon-box-comingsoon{background:#eaeaea;padding:8px 11px;color:#5a5a5a;font-size:14px;font-weight:500;text-align:center}.mec-addons .w-row .w-col-sm-3:nth-child(4n+1){clear:left}@media (min-width:960px){#webnus-dashboard .mec-addon-box-footer .w-button{text-align:right}}@media (min-width:1401px){.mec-addon-box-title a span{font-size:17px}}.mec-pro-notice{margin-top:24px;line-height:30px}.mec-pro-notice .info-msg{padding:20px 30px 27px;margin-bottom:0}.mec-intro-section .w-box-content{text-align:center}.mec-intro-section .w-box-content.mec-intro-section-welcome{max-width:600px;margin:0 auto}.mec-intro-section .w-box-content.mec-intro-section-welcome h3{font-size:27px}a.mec-intro-section-link-tag.button.button-hero{margin:0 10px 40px}a.mec-intro-section-link-tag.button.button-primary.button-hero{color:#fff!important}a.mec-intro-section-link-tag.button.button-secondary.button-hero{color:#000!important}.mec-intro-section-ifarme iframe{border:1px solid #e7e7e7;border-radius:3px;padding:10px;box-shadow:0 3px 10px -6px rgba(0,0,0,.2)}.w-box-content.mec-intro-section-welcome p{margin-bottom:0}.mec-tooltip a:focus{box-shadow:none}#mec_booking_form .mec-options-fields,#mec_modules_form .mec-options-fields,#mec_settings_form .mec-options-fields,#mec_single_form .mec-options-fields{padding-bottom:150px!important}#mec_taxes_fees_container_toggle{margin-bottom:60px}#mec_taxes_fees_container_toggle{margin-bottom:60px}.wns-be-sidebar li{position:relative}.wns-be-sidebar li .submneu-hover{position:absolute;top:-1px;right:-222px;width:220px;z-index:9;background:#fff;border:1px;border-style:solid;border-color:#dedede;margin:0;overflow:visible;opacity:0;visibility:hidden;transition:all .23s ease;padding-top:8px;padding-bottom:12px}.wns-be-sidebar li:hover{background:#fff}.wns-be-sidebar li:hover .submneu-hover{opacity:1;visibility:visible}.wns-be-sidebar li .submneu-hover a{background:#fff;color:#636363;opacity:1;font-size:12px;padding:6px 4px 6px 26px}.wns-be-sidebar li .submneu-hover a:hover{background:#f6f6f6;color:#222}.wns-be-sidebar li .submneu-hover:before{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;left:-15px;top:14px;border-right-color:#c5c5c5;right:0}.wns-be-sidebar li .submneu-hover:after{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;left:-14px;top:14px}.wns-be-sidebar li a:focus,.wns-be-sidebar li:focus{outline:-webkit-focus-ring-color auto 0;border:0;box-shadow:none}@media (max-width:480px){.wns-be-sidebar li .submneu-hover{width:175px;right:0}.wns-be-sidebar li .submneu-hover a{font-size:11px;padding:5px 5px 5px 20px}}.mec-tooltip:hover:after,.mec-tooltip:hover:before{display:none}.mec-tooltip{display:inline-flex;bottom:7px}.mec-tooltip .box{min-width:300px;max-width:600px;display:inline-block;left:26px;top:50%;transform:translateY(-50%);padding:0;margin-top:8px;background-color:#535a61;color:#fff;font-weight:300;font-size:14px;letter-spacing:.5px;line-height:1.3;position:absolute;z-index:9999999;box-sizing:border-box;border-radius:6px;box-shadow:0 4px 45px -8px #444b50;visibility:hidden;opacity:0;transition:opacity .23s}#webnus-dashboard .mec-tooltip .box p,.mec-tooltip .box p{color:#fff;font-size:14px;line-height:1.3;margin:0}.mec-tooltip:hover .box{visibility:visible;opacity:1}.mec-tooltip:hover .box{padding:20px;border-radius:8px}.mec-tooltip .box h5{color:#fff;font-size:17px;font-weight:600;margin:-30px -20px;padding:20px 0;text-align:center;margin-bottom:10px;background:#3a3f44;border-bottom:1px solid #32363a;border-radius:6px 6px 0 0;z-index:9999}#webnus-dashboard .mec-tooltip .box p a,.mec-tooltip .box p a{color:#40d9f1;margin-top:10px;margin-left:0;font-weight:400;position:relative;text-decoration:none;display:block;width:max-content}.mec-tooltip .box a:hover{color:#f90}.mec-tooltip .box:after{display:block;position:absolute!important;top:100%!important;right:50%!important;margin-top:-6px!important;margin-right:-6px!important;width:12px!important;height:24px!important;overflow:hidden!important;transform:rotate(-90deg)!important}.mec-tooltip .box:before{display:block;content:''!important;position:absolute!important;width:12px;height:12px;left:-10px!important;top:50%!important;transform:translate(50%,-50%) rotate(-45deg)!important;background-color:#535a61!important;box-shadow:0 8px 9px -4px #535a61!important;z-index:0!important}.mec-tooltip .box.top{left:50%;top:0;transform:translate(-50%,-100%);margin-top:0;margin-left:-10px}.mec-tooltip .box.top:after{top:50%!important;right:100%!important}.mec-tooltip .box.top:before{left:50%!important;top:100%!important}.mec-tooltip .box.bottom{left:50%;top:auto;bottom:0;transform:translate(-50%,100%);margin-bottom:-20px;margin-left:-10px}.mec-tooltip .box.bottom:after{top:0!important;right:50%!important;background-color:#3a3f44!important}.mec-tooltip .box.bottom:before{left:50%!important;top:-7px!important;transform:translateX(-50%);background-color:#3a3f44!important}.mec-tooltip .box.left{left:auto;right:26px;top:50%;transform:translateY(-50%)}.mec-tooltip .box.left:before{right:0!important;left:auto!important;top:50%!important}form#mec_reg_fields_form input[type=radio]:before{content:"";display:inline-block;background:#fff;border-radius:18px;width:14px;height:14px;margin:-1px 0 0 -2px;cursor:pointer;border:2px solid #e1e7ed;box-shadow:0 2px 15px -3px rgba(69,77,89,.32)}form#mec_reg_fields_form input[type=radio]:checked:before{border:7px solid #008aff;background:#fff;box-shadow:0 3px 16px -3px #008aff;width:4px;height:4px}form#mec_reg_fields_form input[type=radio]{min-height:0;margin-right:6px}form#mec_reg_fields_form label{margin-right:20px}@media(min-width:1200px) and (max-width:1366px){.mec-tooltip .box.left{left:50%;top:0;transform:translate(-50%,-100%);margin-top:0;margin-left:-10px}.mec-tooltip .box.left:after{top:50%!important;right:100%!important}.mec-tooltip .box.left:before{left:50%!important;top:100%!important}.mec-tooltip .box{min-width:225px}.mec-tooltip .box h5{font-size:15px}.mec-tooltip .box .content{font-size:12px}}@media(max-width:1366px){.wns-be-container .wns-be-group-tab p{margin-top:0}}.mec-addons-notification-box-wrap .w-col-sm-12{padding:0}.mec-addons-notification-box-wrap img{width:auto}.mec-addons-notification-box-image{
|