Version Description
Download this release
Release Info
Developer | WebFactory |
Plugin | Maintenance |
Version | 3.85 |
Comparing to | |
See all releases |
Code changes from version 3.8 to 3.85
- css/admin.css +21 -5
- images/amelia-logo-white.png +0 -0
- images/amelia.png +0 -0
- images/pro-templates/bakery.jpg +0 -0
- images/pro-templates/black-friday.jpg +0 -0
- images/pro-templates/christmas-decor.jpg +0 -0
- images/pro-templates/church.jpg +0 -0
- images/pro-templates/construction-company.jpg +0 -0
- images/pro-templates/hosting.jpg +0 -0
- images/pro-templates/inspy-romance.jpg +0 -0
- images/pro-templates/it-conference.jpg +0 -0
- images/pro-templates/metrics-video.jpg +0 -0
- images/pro-templates/restaurant.jpg +0 -0
- images/pro-templates/theatre.jpg +0 -0
- includes/admin.php +18 -0
- includes/functions.php +1458 -1278
- js/init.js +42 -3
- load/index.php +10 -0
- maintenance.php +124 -5
- readme.txt +12 -3
css/admin.css
CHANGED
@@ -44,34 +44,50 @@
|
|
44 |
line-height: 150%;
|
45 |
}
|
46 |
|
47 |
-
.weglot-upsell-dialog .ui-dialog-titlebar
|
|
|
48 |
background: linear-gradient(140deg, #335ee2 10%, #271f50 90%);
|
49 |
text-align: center;
|
50 |
height: 55px;
|
51 |
}
|
52 |
|
53 |
.weglot-upsell-dialog .ui-dialog-titlebar img,
|
54 |
-
.mailoptin-upsell-dialog .ui-dialog-titlebar img
|
|
|
55 |
height: 32px;
|
56 |
display: inline-block;
|
57 |
margin: 11px 0 0 0;
|
58 |
}
|
59 |
-
.mailoptin-upsell-dialog .ui-dialog-titlebar
|
60 |
background: #2980b9;
|
61 |
text-align: center;
|
62 |
height: 55px;
|
63 |
}
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
.weglot-upsell-dialog .ui-button.ui-dialog-titlebar-close,
|
66 |
-
.mailoptin-upsell-dialog .ui-button.ui-dialog-titlebar-close
|
|
|
67 |
color: #fff;
|
68 |
height: 55px;
|
69 |
}
|
70 |
|
71 |
-
#promo-extended img
|
|
|
72 |
max-width: 100%;
|
73 |
}
|
74 |
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
#wpbody-content .metabox-holder {
|
76 |
float: left;
|
77 |
width: 100%;
|
44 |
line-height: 150%;
|
45 |
}
|
46 |
|
47 |
+
.weglot-upsell-dialog .ui-dialog-titlebar,
|
48 |
+
.amelia-upsell-dialog .ui-dialog-titlebar {
|
49 |
background: linear-gradient(140deg, #335ee2 10%, #271f50 90%);
|
50 |
text-align: center;
|
51 |
height: 55px;
|
52 |
}
|
53 |
|
54 |
.weglot-upsell-dialog .ui-dialog-titlebar img,
|
55 |
+
.mailoptin-upsell-dialog .ui-dialog-titlebar img,
|
56 |
+
.amelia-upsell-dialog .ui-dialog-titlebar img {
|
57 |
height: 32px;
|
58 |
display: inline-block;
|
59 |
margin: 11px 0 0 0;
|
60 |
}
|
61 |
+
.mailoptin-upsell-dialog .ui-dialog-titlebar{
|
62 |
background: #2980b9;
|
63 |
text-align: center;
|
64 |
height: 55px;
|
65 |
}
|
66 |
|
67 |
+
.amelia-upsell-dialog .ui-dialog-titlebar {
|
68 |
+
background: #3ba6ff;
|
69 |
+
text-align: center;
|
70 |
+
height: 55px;
|
71 |
+
}
|
72 |
+
|
73 |
.weglot-upsell-dialog .ui-button.ui-dialog-titlebar-close,
|
74 |
+
.mailoptin-upsell-dialog .ui-button.ui-dialog-titlebar-close,
|
75 |
+
.amelia-upsell-dialog .ui-button.ui-dialog-titlebar-close {
|
76 |
color: #fff;
|
77 |
height: 55px;
|
78 |
}
|
79 |
|
80 |
+
#promo-extended img,
|
81 |
+
#promo-amelia img {
|
82 |
max-width: 100%;
|
83 |
}
|
84 |
|
85 |
+
#promo-amelia .inside {
|
86 |
+
margin: 0;
|
87 |
+
padding: 0;
|
88 |
+
line-height: 1;
|
89 |
+
}
|
90 |
+
|
91 |
#wpbody-content .metabox-holder {
|
92 |
float: left;
|
93 |
width: 100%;
|
images/amelia-logo-white.png
ADDED
Binary file
|
images/amelia.png
ADDED
Binary file
|
images/pro-templates/bakery.jpg
ADDED
Binary file
|
images/pro-templates/black-friday.jpg
ADDED
Binary file
|
images/pro-templates/christmas-decor.jpg
ADDED
Binary file
|
images/pro-templates/church.jpg
ADDED
Binary file
|
images/pro-templates/construction-company.jpg
ADDED
Binary file
|
images/pro-templates/hosting.jpg
ADDED
Binary file
|
images/pro-templates/inspy-romance.jpg
ADDED
Binary file
|
images/pro-templates/it-conference.jpg
ADDED
Binary file
|
images/pro-templates/metrics-video.jpg
ADDED
Binary file
|
images/pro-templates/restaurant.jpg
ADDED
Binary file
|
images/pro-templates/theatre.jpg
ADDED
Binary file
|
includes/admin.php
CHANGED
@@ -64,6 +64,8 @@ function mtnc_admin_print_custom_styles()
|
|
64 |
wp_localize_script('mtnc', 'mtnc', array('path' => MTNC_URI,
|
65 |
'weglot_install_url' => add_query_arg(array('action' => 'mtnc_install_weglot', 'rnd' => rand()), admin_url('admin.php')),
|
66 |
'weglot_dialog_upsell_title' => '<img alt="Weglot" title="Weglot" src="' . MTNC_URI . 'images/weglot-logo-white.png' . '">',
|
|
|
|
|
67 |
'mailoptin_dialog_upsell_title' => '<img alt="MailOptin" title="MailOptin" src="' . MTNC_URI . 'images/mailoptin-logo-white.png' . '">',
|
68 |
'mailoptin_install_url' => add_query_arg(array('action' => 'mtnc_install_mailoptin'), admin_url('admin.php'))));
|
69 |
wp_enqueue_script('mtnc');
|
@@ -184,4 +186,20 @@ echo '<p class="upsell-footer"><a class="button button-primary" id="install-wegl
|
|
184 |
echo '</div>';
|
185 |
echo '</div>';
|
186 |
// weglot install dialog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
}
|
64 |
wp_localize_script('mtnc', 'mtnc', array('path' => MTNC_URI,
|
65 |
'weglot_install_url' => add_query_arg(array('action' => 'mtnc_install_weglot', 'rnd' => rand()), admin_url('admin.php')),
|
66 |
'weglot_dialog_upsell_title' => '<img alt="Weglot" title="Weglot" src="' . MTNC_URI . 'images/weglot-logo-white.png' . '">',
|
67 |
+
'amelia_install_url' => add_query_arg(array('action' => 'mtnc_install_amelia', 'rnd' => rand()), admin_url('admin.php')),
|
68 |
+
'amelia_dialog_upsell_title' => '<img alt="Amelia Booking" title="Amelia Booking" src="' . MTNC_URI . 'images/amelia-logo-white.png' . '">',
|
69 |
'mailoptin_dialog_upsell_title' => '<img alt="MailOptin" title="MailOptin" src="' . MTNC_URI . 'images/mailoptin-logo-white.png' . '">',
|
70 |
'mailoptin_install_url' => add_query_arg(array('action' => 'mtnc_install_mailoptin'), admin_url('admin.php'))));
|
71 |
wp_enqueue_script('mtnc');
|
186 |
echo '</div>';
|
187 |
echo '</div>';
|
188 |
// weglot install dialog
|
189 |
+
|
190 |
+
// amelia install dialog
|
191 |
+
echo '<div id="amelia-upsell-dialog" style="display: none;" title="Amelia Booking"><span class="ui-helper-hidden-accessible"><input type="text"/></span>';
|
192 |
+
echo '<div style="padding: 0 20px 20px 20px; font-size: 15px;">';
|
193 |
+
echo '<ul class="mtnc-list">';
|
194 |
+
echo '<li>Start booking events and appointements for free</li>';
|
195 |
+
echo '<li>A convenient Calendar view on the back-end, giving a full overview on all the appointments and the statuses</li>';
|
196 |
+
echo '<li>Flexible Appointment Management page, with an option to add appointments by your staff from the WordPress admin dashboard</li>';
|
197 |
+
echo '<li>All key numbers are available in the Dashboard</li>';
|
198 |
+
echo '<li>Email notifications to the customer and yourself when the appointment status changes</li>';
|
199 |
+
echo '<li>Free and used by +10,000 sites</li>';
|
200 |
+
echo '</ul>';
|
201 |
+
echo '<p class="upsell-footer textcenter"><br><a class="button button-primary" id="install-amelia">Install & activate Amelia Booking to enable bookings calendar</a></p>';
|
202 |
+
echo '</div>';
|
203 |
+
echo '</div>';
|
204 |
+
// amelia install dialog
|
205 |
}
|
includes/functions.php
CHANGED
@@ -301,9 +301,13 @@ function mtnc_add_review_top() {
|
|
301 |
function mtnc_page_create_meta_boxes_widget_support()
|
302 |
{
|
303 |
global $mtnc_variable;
|
304 |
-
|
305 |
-
add_meta_box('promo-
|
306 |
-
|
|
|
|
|
|
|
|
|
307 |
}
|
308 |
add_action('add_mt_meta_boxes', 'mtnc_page_create_meta_boxes_widget_support', 13);
|
309 |
|
@@ -342,6 +346,7 @@ function mtnc_add_data_fields($object, $box)
|
|
342 |
mtnc_generate_input_filed(__('Headline', 'maintenance'), 'heading', 'heading', $heading);
|
343 |
mtnc_generate_tinymce_filed(__('Description', 'maintenance'), 'description', 'description', $description);
|
344 |
mtnc_generate_input_filed(__('Footer Text', 'maintenance'), 'footer_text', 'footer_text', $footer_text);
|
|
|
345 |
mtnc_weglot_option();
|
346 |
mtnc_generate_check_filed(__('Show Some Love', 'maintenance'), __('Show a small link in the footer to let others know you\'re using this awesome & free plugin', 'maintenance'), 'show_some_love', 'show_some_love', !empty($mt_option['show_some_love']));
|
347 |
mtnc_generate_number_filed(__('Set Logo width', 'maintenance'), 'logo_width', 'logo_width', $logo_width);
|
@@ -431,7 +436,7 @@ function mtnc_mailoptin_option() {
|
|
431 |
} else {
|
432 |
echo '<p><a href="' . admin_url('admin.php?page=mailoptin-optin-campaigns') . '">Create your first optin</a> to start collecting leads and subscribers</p>';
|
433 |
}
|
434 |
-
echo '
|
435 |
echo '</td>';
|
436 |
echo '</tr>';
|
437 |
} else {
|
@@ -506,13 +511,29 @@ function mtnc_weglot_option() {
|
|
506 |
echo '<tr>';
|
507 |
echo '<th><label for="weglot_support">Multilingual Support</label></th>';
|
508 |
echo '<td>';
|
509 |
-
echo '<input type="checkbox" id="weglot_support" type="checkbox" value="1" class="skip-save open-weglot-upsell">';
|
510 |
-
echo '<p class="description">55% of online visitors prefer to browse in their mother tongue. If you have an audience speaking multiple languages, making your website multilingual is a must-have. To instantly translate your site and your maintenance page, <a href="#" class="open-weglot-upsell">install the Weglot plugin</a> (free plan & free trial available). It seamlessly integrates with Maintenance plugin and is compatible with all themes & plugins.</p>';
|
511 |
echo '</td>';
|
512 |
echo '</tr>';
|
513 |
} // weglot not active
|
514 |
}
|
515 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
516 |
// check if Weglot is completely set up
|
517 |
function mtnc_is_weglot_setup() {
|
518 |
if (!mtnc_is_weglot_active()) {
|
@@ -545,6 +566,24 @@ function mtnc_is_weglot_active() {
|
|
545 |
}
|
546 |
} // is_weglot_active
|
547 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
548 |
function mtnc_add_css_fields()
|
549 |
{
|
550 |
$mt_option = mtnc_get_plugin_options(true);
|
@@ -559,1276 +598,1405 @@ function mtnc_add_css_fields()
|
|
559 |
function mtnc_add_themes_fields()
|
560 |
{
|
561 |
$themes =
|
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 |
-
|
1464 |
-
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
1468 |
-
|
1469 |
-
|
1470 |
-
|
1471 |
-
|
1472 |
-
|
1473 |
-
|
1474 |
-
|
1475 |
-
|
1476 |
-
|
1477 |
-
|
1478 |
-
|
1479 |
-
|
1480 |
-
|
1481 |
-
|
1482 |
-
|
1483 |
-
|
1484 |
-
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
-
|
1493 |
-
|
1494 |
-
|
1495 |
-
|
1496 |
-
|
1497 |
-
|
1498 |
-
|
1499 |
-
|
1500 |
-
|
1501 |
-
|
1502 |
-
|
1503 |
-
|
1504 |
-
|
1505 |
-
|
1506 |
-
|
1507 |
-
|
1508 |
-
|
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 |
-
|
1556 |
-
|
1557 |
-
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
-
|
1563 |
-
|
1564 |
-
|
1565 |
-
|
1566 |
-
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
|
1573 |
-
|
1574 |
-
|
1575 |
-
|
1576 |
-
|
1577 |
-
|
1578 |
-
|
1579 |
-
|
1580 |
-
|
1581 |
-
|
1582 |
-
|
1583 |
-
|
1584 |
-
|
1585 |
-
|
1586 |
-
|
1587 |
-
|
1588 |
-
|
1589 |
-
|
1590 |
-
|
1591 |
-
|
1592 |
-
|
1593 |
-
|
1594 |
-
|
1595 |
-
|
1596 |
-
|
1597 |
-
|
1598 |
-
|
1599 |
-
|
1600 |
-
|
1601 |
-
|
1602 |
-
|
1603 |
-
|
1604 |
-
|
1605 |
-
|
1606 |
-
|
1607 |
-
|
1608 |
-
|
1609 |
-
|
1610 |
-
|
1611 |
-
|
1612 |
-
|
1613 |
-
|
1614 |
-
|
1615 |
-
|
1616 |
-
|
1617 |
-
|
1618 |
-
|
1619 |
-
|
1620 |
-
|
1621 |
-
|
1622 |
-
|
1623 |
-
|
1624 |
-
|
1625 |
-
|
1626 |
-
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
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 |
-
|
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 |
$i = 1;
|
1834 |
foreach ($themes as $theme) {
|
@@ -1854,7 +2022,7 @@ function mtnc_add_themes_fields()
|
|
1854 |
echo '</div>';
|
1855 |
} // foreach theme
|
1856 |
|
1857 |
-
echo '<p class="textcenter"><a href="#" class="button button-primary" id="show-all-themes">Show All
|
1858 |
}
|
1859 |
|
1860 |
function mtnc_csmm_generate_web_link($placement = '', $page = '/', $params = array(), $anchor = '') {
|
@@ -1991,7 +2159,7 @@ function mtnc_contact_support()
|
|
1991 |
$promo_text = '';
|
1992 |
$promo_text .= '<div class="sidebar-promo">';
|
1993 |
$promo_text .= '<p>We\'re here for you! We know how frustrating it is when things don\'t work!<br>Please <a href="https://wordpress.org/support/plugin/maintenance/" target="_blank">open a new topic in our official support forum</a> and we\'ll get back to you ASAP! We answer all questions, and most of them within a few hours.</p>';
|
1994 |
-
$promo_text .= '<p><a href="https://wordpress.org/support/plugin/maintenance/" target="_blank" class="button button-secondary">
|
1995 |
$promo_text .= '</div>';
|
1996 |
echo $promo_text; // phpcs:ignore WordPress.Security.EscapeOutput
|
1997 |
}
|
@@ -2017,6 +2185,17 @@ function mtnc_extended_version()
|
|
2017 |
echo $promo_text; // phpcs:ignore WordPress.Security.EscapeOutput
|
2018 |
}
|
2019 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020 |
function mtnc_cur_page_url()
|
2021 |
{
|
2022 |
$page_url = 'http';
|
@@ -2276,7 +2455,8 @@ function mtnc_get_default_array()
|
|
2276 |
'custom_css' => '',
|
2277 |
'exclude_pages' => '',
|
2278 |
'mailoptin_campaign'=> '-1',
|
2279 |
-
'default_settings' => true
|
|
|
2280 |
);
|
2281 |
|
2282 |
return apply_filters('mtnc_get_default_array', $defaults);
|
301 |
function mtnc_page_create_meta_boxes_widget_support()
|
302 |
{
|
303 |
global $mtnc_variable;
|
304 |
+
|
305 |
+
add_meta_box('promo-review2', __('Help us keep the plugin free & maintained', 'maintenance'), 'mtnc_review_box', $mtnc_variable->options_page, 'side', 'high');
|
306 |
+
if (!mtnc_is_amelia_active()) {
|
307 |
+
add_meta_box('promo-amelia', __('Add Events & Appointments Booking to Your Maintenance Page', 'maintenance'), 'mtnc_promo_amelia', $mtnc_variable->options_page, 'side', 'default');
|
308 |
+
}
|
309 |
+
add_meta_box('promo-content2', __('Something is not working? Do you need our help?', 'maintenance'), 'mtnc_contact_support', $mtnc_variable->options_page, 'side', 'default');
|
310 |
+
//add_meta_box('promo-extended', __('Translate Maintanance page to 100+ languages', 'maintenance'), 'mtnc_extended_version', $mtnc_variable->options_page, 'side', 'default');
|
311 |
}
|
312 |
add_action('add_mt_meta_boxes', 'mtnc_page_create_meta_boxes_widget_support', 13);
|
313 |
|
346 |
mtnc_generate_input_filed(__('Headline', 'maintenance'), 'heading', 'heading', $heading);
|
347 |
mtnc_generate_tinymce_filed(__('Description', 'maintenance'), 'description', 'description', $description);
|
348 |
mtnc_generate_input_filed(__('Footer Text', 'maintenance'), 'footer_text', 'footer_text', $footer_text);
|
349 |
+
mtnc_amelia_option();
|
350 |
mtnc_weglot_option();
|
351 |
mtnc_generate_check_filed(__('Show Some Love', 'maintenance'), __('Show a small link in the footer to let others know you\'re using this awesome & free plugin', 'maintenance'), 'show_some_love', 'show_some_love', !empty($mt_option['show_some_love']));
|
352 |
mtnc_generate_number_filed(__('Set Logo width', 'maintenance'), 'logo_width', 'logo_width', $logo_width);
|
436 |
} else {
|
437 |
echo '<p><a href="' . admin_url('admin.php?page=mailoptin-optin-campaigns') . '">Create your first optin</a> to start collecting leads and subscribers</p>';
|
438 |
}
|
439 |
+
echo 'Create, edit and manage optins on the <a href="' . admin_url('admin.php?page=mailoptin-optin-campaigns') . '">MailOptin campaigns page</a>. Lightbox optins are more prominent but some users find them annoying. Content box optins tend to generate leads of higher quality.';
|
440 |
echo '</td>';
|
441 |
echo '</tr>';
|
442 |
} else {
|
511 |
echo '<tr>';
|
512 |
echo '<th><label for="weglot_support">Multilingual Support</label></th>';
|
513 |
echo '<td>';
|
514 |
+
echo '<input type="checkbox" id="weglot_support" type="checkbox" value="1" class="skip-save open-weglot-upsell">55% of online visitors prefer to browse in their mother tongue. If you have an audience speaking multiple languages, making your website multilingual is a must-have. To instantly translate your site and your maintenance page, <a href="#" class="open-weglot-upsell">install the Weglot plugin</a> (free plan & free trial available). It seamlessly integrates with Maintenance plugin and is compatible with all themes & plugins.';
|
|
|
515 |
echo '</td>';
|
516 |
echo '</tr>';
|
517 |
} // weglot not active
|
518 |
}
|
519 |
|
520 |
+
function mtnc_amelia_option() {
|
521 |
+
$mt_option = mtnc_get_plugin_options(true);
|
522 |
+
|
523 |
+
if (mtnc_is_amelia_active()) {
|
524 |
+
mtnc_generate_check_filed(__('Show Events & Appointments Booking Calendar', 'maintenance'), __('Amelia is an events & appointments booking plugin that allows to set up a fully-featured automated booking system on your WordPress website and is a handy tool for small businesses and individuals that depend on stable appointment booking processes.', 'maintenance'), 'amelia_enabled', 'amelia_enabled', !empty($mt_option['amelia_enabled']));
|
525 |
+
} else {
|
526 |
+
echo '<tr>';
|
527 |
+
echo '<th><label for="amelia_enabled">Show Events & Appointments Booking Calendar</label></th>';
|
528 |
+
echo '<td>';
|
529 |
+
echo '<input type="checkbox" id="amelia_enabled" type="checkbox" value="1" class="skip-save open-amelia-upsell">';
|
530 |
+
echo 'Amelia is a free events & appointments booking plugin that allows to set up a fully-featured automated booking system on your WordPress site and is a handy tool for small businesses and individuals that depend on stable appointment booking processes. ';
|
531 |
+
echo '<a href="#" class="open-amelia-upsell">Install the Amelia Booking plugin</a>';
|
532 |
+
echo '</td>';
|
533 |
+
echo '</tr>';
|
534 |
+
} // weglot not active
|
535 |
+
}
|
536 |
+
|
537 |
// check if Weglot is completely set up
|
538 |
function mtnc_is_weglot_setup() {
|
539 |
if (!mtnc_is_weglot_active()) {
|
566 |
}
|
567 |
} // is_weglot_active
|
568 |
|
569 |
+
// check if Weglot plugin is active and min version installed
|
570 |
+
function mtnc_is_amelia_active() {
|
571 |
+
if (!function_exists('is_plugin_active') || !function_exists('get_plugin_data')) {
|
572 |
+
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
573 |
+
}
|
574 |
+
|
575 |
+
if (is_plugin_active('ameliabooking/ameliabooking.php')) {
|
576 |
+
$weglot_info = get_plugin_data(ABSPATH . 'wp-content/plugins/ameliabooking/ameliabooking.php');
|
577 |
+
if( version_compare($weglot_info['Version'], '1.0.10', '<')) {
|
578 |
+
return false;
|
579 |
+
} else {
|
580 |
+
return true;
|
581 |
+
}
|
582 |
+
} else {
|
583 |
+
return false;
|
584 |
+
}
|
585 |
+
} // is_amelia_active
|
586 |
+
|
587 |
function mtnc_add_css_fields()
|
588 |
{
|
589 |
$mt_option = mtnc_get_plugin_options(true);
|
598 |
function mtnc_add_themes_fields()
|
599 |
{
|
600 |
$themes =
|
601 |
+
|
602 |
+
array (
|
603 |
+
0 =>
|
604 |
+
array (
|
605 |
+
'type' => 'CSMM PRO',
|
606 |
+
'version' => '5.005',
|
607 |
+
'last_edit' => 'Thu, 22 Feb 2018 18:45:00 +0000',
|
608 |
+
'name' => 'Aeroplane Company',
|
609 |
+
'description' => 'Andrea',
|
610 |
+
'frontpage' => '1',
|
611 |
+
'status' => 'pro',
|
612 |
+
'name_clean' => 'aeroplane-company',
|
613 |
+
),
|
614 |
+
1 =>
|
615 |
+
array (
|
616 |
+
'type' => 'CSMM PRO',
|
617 |
+
'version' => '15.17',
|
618 |
+
'last_edit' => 'Sun, 09 Sep 2018 16:06:39 +0000',
|
619 |
+
'name' => 'Air Balloon',
|
620 |
+
'description' => '',
|
621 |
+
'frontpage' => '1',
|
622 |
+
'status' => 'agency',
|
623 |
+
'name_clean' => 'air-balloon',
|
624 |
+
),
|
625 |
+
2 =>
|
626 |
+
array (
|
627 |
+
'type' => 'CSMM PRO',
|
628 |
+
'version' => '15.05',
|
629 |
+
'last_edit' => 'Fri, 02 Mar 2018 12:43:04 +0000',
|
630 |
+
'name' => 'Animated Clock',
|
631 |
+
'description' => 'Andrea',
|
632 |
+
'frontpage' => '0',
|
633 |
+
'status' => 'pro',
|
634 |
+
'name_clean' => 'animated-clock',
|
635 |
+
),
|
636 |
+
3 =>
|
637 |
+
array (
|
638 |
+
'type' => 'CSMM PRO',
|
639 |
+
'version' => '15.17',
|
640 |
+
'last_edit' => 'Wed, 29 May 2019 18:26:27 +0000',
|
641 |
+
'name' => 'Architecture INC.',
|
642 |
+
'description' => '',
|
643 |
+
'frontpage' => '1',
|
644 |
+
'status' => 'pro',
|
645 |
+
'name_clean' => 'architecture-inc',
|
646 |
+
),
|
647 |
+
4 =>
|
648 |
+
array (
|
649 |
+
'type' => 'CSMM PRO',
|
650 |
+
'version' => '15.17',
|
651 |
+
'last_edit' => 'Sat, 08 Sep 2018 14:42:03 +0000',
|
652 |
+
'name' => 'Architecture',
|
653 |
+
'description' => '',
|
654 |
+
'frontpage' => '1',
|
655 |
+
'status' => 'agency',
|
656 |
+
'name_clean' => 'architecture',
|
657 |
+
),
|
658 |
+
5 =>
|
659 |
+
array (
|
660 |
+
'type' => 'CSMM PRO',
|
661 |
+
'version' => '15.17',
|
662 |
+
'last_edit' => 'Sun, 07 Jul 2019 16:22:50 +0000',
|
663 |
+
'name' => 'Art Gallery',
|
664 |
+
'description' => '',
|
665 |
+
'frontpage' => '1',
|
666 |
+
'status' => 'pro',
|
667 |
+
'name_clean' => 'art-gallery',
|
668 |
+
),
|
669 |
+
6 =>
|
670 |
+
array (
|
671 |
+
'type' => 'CSMM PRO',
|
672 |
+
'version' => '15.17',
|
673 |
+
'last_edit' => 'Sun, 23 Sep 2018 12:44:52 +0000',
|
674 |
+
'name' => 'Auto Service',
|
675 |
+
'description' => '',
|
676 |
+
'frontpage' => '1',
|
677 |
+
'status' => 'agency',
|
678 |
+
'name_clean' => 'auto-service',
|
679 |
+
),
|
680 |
+
7 =>
|
681 |
+
array (
|
682 |
+
'type' => 'CSMM PRO',
|
683 |
+
'version' => '15.17',
|
684 |
+
'last_edit' => 'Mon, 25 Nov 2019 08:10:48 +0000',
|
685 |
+
'name' => 'Bakery',
|
686 |
+
'description' => '',
|
687 |
+
'frontpage' => '1',
|
688 |
+
'status' => 'pro',
|
689 |
+
'name_clean' => 'bakery',
|
690 |
+
),
|
691 |
+
8 =>
|
692 |
+
array (
|
693 |
+
'type' => 'CSMM PRO',
|
694 |
+
'version' => '15.17',
|
695 |
+
'last_edit' => 'Sat, 09 Jun 2018 13:26:02 +0000',
|
696 |
+
'name' => 'Beach',
|
697 |
+
'description' => '',
|
698 |
+
'frontpage' => '1',
|
699 |
+
'status' => 'pro',
|
700 |
+
'name_clean' => 'beach',
|
701 |
+
),
|
702 |
+
9 =>
|
703 |
+
array (
|
704 |
+
'type' => 'CSMM PRO',
|
705 |
+
'version' => '5.05',
|
706 |
+
'last_edit' => 'Wed, 28 Feb 2018 10:30:46 +0000',
|
707 |
+
'name' => 'Bicycle Race',
|
708 |
+
'description' => 'Andrea',
|
709 |
+
'frontpage' => '0',
|
710 |
+
'status' => 'agency',
|
711 |
+
'name_clean' => 'bicycle-race',
|
712 |
+
),
|
713 |
+
10 =>
|
714 |
+
array (
|
715 |
+
'type' => 'CSMM PRO',
|
716 |
+
'version' => '15.17',
|
717 |
+
'last_edit' => 'Sat, 23 Mar 2019 14:44:52 +0000',
|
718 |
+
'name' => 'Bike Shop',
|
719 |
+
'description' => '',
|
720 |
+
'frontpage' => '1',
|
721 |
+
'status' => 'pro',
|
722 |
+
'name_clean' => 'bike-shop',
|
723 |
+
),
|
724 |
+
11 =>
|
725 |
+
array (
|
726 |
+
'type' => 'CSMM PRO',
|
727 |
+
'version' => '5.005',
|
728 |
+
'last_edit' => 'Sat, 24 Feb 2018 11:48:50 +0000',
|
729 |
+
'name' => 'Bitcoin Miners',
|
730 |
+
'description' => '',
|
731 |
+
'frontpage' => '1',
|
732 |
+
'status' => 'agency',
|
733 |
+
'name_clean' => 'bitcoin-miners',
|
734 |
+
),
|
735 |
+
12 =>
|
736 |
+
array (
|
737 |
+
'type' => 'CSMM PRO',
|
738 |
+
'version' => '15.17',
|
739 |
+
'last_edit' => 'Mon, 21 Oct 2019 12:55:24 +0000',
|
740 |
+
'name' => 'Black Friday',
|
741 |
+
'description' => '',
|
742 |
+
'frontpage' => '1',
|
743 |
+
'status' => 'pro',
|
744 |
+
'name_clean' => 'black-friday',
|
745 |
+
),
|
746 |
+
13 =>
|
747 |
+
array (
|
748 |
+
'type' => 'CSMM PRO',
|
749 |
+
'version' => '15.17',
|
750 |
+
'last_edit' => 'Fri, 30 Mar 2018 11:50:26 +0000',
|
751 |
+
'name' => 'Blogging',
|
752 |
+
'description' => '',
|
753 |
+
'frontpage' => '1',
|
754 |
+
'status' => 'agency',
|
755 |
+
'name_clean' => 'blogging',
|
756 |
+
),
|
757 |
+
14 =>
|
758 |
+
array (
|
759 |
+
'type' => 'CSMM PRO',
|
760 |
+
'version' => '15.17',
|
761 |
+
'last_edit' => 'Wed, 29 May 2019 18:05:04 +0000',
|
762 |
+
'name' => 'Blue Ocean',
|
763 |
+
'description' => '',
|
764 |
+
'frontpage' => '1',
|
765 |
+
'status' => 'agency',
|
766 |
+
'name_clean' => 'blue-ocean',
|
767 |
+
),
|
768 |
+
15 =>
|
769 |
+
array (
|
770 |
+
'type' => 'CSMM PRO',
|
771 |
+
'version' => '15.17',
|
772 |
+
'last_edit' => 'Wed, 03 Jul 2019 12:01:57 +0000',
|
773 |
+
'name' => 'Body Transformation',
|
774 |
+
'description' => '',
|
775 |
+
'frontpage' => '1',
|
776 |
+
'status' => 'pro',
|
777 |
+
'name_clean' => 'body-transformation',
|
778 |
+
),
|
779 |
+
16 =>
|
780 |
+
array (
|
781 |
+
'type' => 'CSMM PRO',
|
782 |
+
'version' => '5.005',
|
783 |
+
'last_edit' => 'Tue, 27 Feb 2018 09:56:05 +0000',
|
784 |
+
'name' => 'Book Lovers',
|
785 |
+
'description' => 'Andrea',
|
786 |
+
'frontpage' => '1',
|
787 |
+
'status' => 'agency',
|
788 |
+
'name_clean' => 'book-lovers',
|
789 |
+
),
|
790 |
+
17 =>
|
791 |
+
array (
|
792 |
+
'type' => 'CSMM PRO',
|
793 |
+
'version' => '5.001',
|
794 |
+
'last_edit' => 'Thu, 15 Feb 2018 16:24:58 +0000',
|
795 |
+
'name' => 'Business Company',
|
796 |
+
'description' => '',
|
797 |
+
'frontpage' => '0',
|
798 |
+
'status' => 'agency',
|
799 |
+
'name_clean' => 'business-company',
|
800 |
+
),
|
801 |
+
18 =>
|
802 |
+
array (
|
803 |
+
'type' => 'CSMM PRO',
|
804 |
+
'version' => '15.17',
|
805 |
+
'last_edit' => 'Sun, 16 Jun 2019 20:05:59 +0000',
|
806 |
+
'name' => 'Business Meeting (Video)',
|
807 |
+
'description' => '',
|
808 |
+
'frontpage' => '1',
|
809 |
+
'status' => 'agency',
|
810 |
+
'name_clean' => 'business-meeting-video',
|
811 |
+
),
|
812 |
+
19 =>
|
813 |
+
array (
|
814 |
+
'type' => 'CSMM PRO',
|
815 |
+
'version' => '15.17',
|
816 |
+
'last_edit' => 'Wed, 25 Apr 2018 11:06:41 +0000',
|
817 |
+
'name' => 'Business',
|
818 |
+
'description' => 'Andrea',
|
819 |
+
'frontpage' => '1',
|
820 |
+
'status' => 'agency',
|
821 |
+
'name_clean' => 'business',
|
822 |
+
),
|
823 |
+
20 =>
|
824 |
+
array (
|
825 |
+
'type' => 'CSMM PRO',
|
826 |
+
'version' => '15.17',
|
827 |
+
'last_edit' => 'Wed, 30 Jan 2019 19:31:32 +0000',
|
828 |
+
'name' => 'Café',
|
829 |
+
'description' => '',
|
830 |
+
'frontpage' => '1',
|
831 |
+
'status' => 'agency',
|
832 |
+
'name_clean' => 'cafe',
|
833 |
+
),
|
834 |
+
21 =>
|
835 |
+
array (
|
836 |
+
'type' => 'CSMM PRO',
|
837 |
+
'version' => '15.17',
|
838 |
+
'last_edit' => 'Sat, 23 Nov 2019 11:33:13 +0000',
|
839 |
+
'name' => 'Christmas Decor',
|
840 |
+
'description' => '',
|
841 |
+
'frontpage' => '1',
|
842 |
+
'status' => 'pro',
|
843 |
+
'name_clean' => 'christmas-decor',
|
844 |
+
),
|
845 |
+
22 =>
|
846 |
+
array (
|
847 |
+
'type' => 'CSMM PRO',
|
848 |
+
'version' => '15.17',
|
849 |
+
'last_edit' => 'Tue, 01 Oct 2019 14:39:36 +0000',
|
850 |
+
'name' => 'Church',
|
851 |
+
'description' => '',
|
852 |
+
'frontpage' => '1',
|
853 |
+
'status' => 'pro',
|
854 |
+
'name_clean' => 'church',
|
855 |
+
),
|
856 |
+
23 =>
|
857 |
+
array (
|
858 |
+
'type' => 'CSMM PRO',
|
859 |
+
'version' => '15.17',
|
860 |
+
'last_edit' => 'Sun, 10 Mar 2019 11:24:47 +0000',
|
861 |
+
'name' => 'City Nighttime',
|
862 |
+
'description' => '',
|
863 |
+
'frontpage' => '1',
|
864 |
+
'status' => 'pro',
|
865 |
+
'name_clean' => 'city-nighttime',
|
866 |
+
),
|
867 |
+
24 =>
|
868 |
+
array (
|
869 |
+
'type' => 'CSMM PRO',
|
870 |
+
'version' => '15.17',
|
871 |
+
'last_edit' => 'Sun, 29 Jul 2018 12:52:06 +0000',
|
872 |
+
'name' => 'Cityscape',
|
873 |
+
'description' => '',
|
874 |
+
'frontpage' => '1',
|
875 |
+
'status' => 'agency',
|
876 |
+
'name_clean' => 'cityscape',
|
877 |
+
),
|
878 |
+
25 =>
|
879 |
+
array (
|
880 |
+
'type' => 'CSMM PRO',
|
881 |
+
'version' => '5.14',
|
882 |
+
'last_edit' => 'Fri, 23 Mar 2018 16:46:05 +0000',
|
883 |
+
'name' => 'Clouds Screensaver (Video)',
|
884 |
+
'description' => '',
|
885 |
+
'frontpage' => '1',
|
886 |
+
'status' => 'agency',
|
887 |
+
'name_clean' => 'clouds-screensaver-video',
|
888 |
+
),
|
889 |
+
26 =>
|
890 |
+
array (
|
891 |
+
'type' => 'CSMM PRO',
|
892 |
+
'version' => '5.005',
|
893 |
+
'last_edit' => 'Thu, 22 Feb 2018 18:45:40 +0000',
|
894 |
+
'name' => 'Coffee Shop',
|
895 |
+
'description' => 'Andrea',
|
896 |
+
'frontpage' => '1',
|
897 |
+
'status' => 'agency',
|
898 |
+
'name_clean' => 'coffee-shop',
|
899 |
+
),
|
900 |
+
27 =>
|
901 |
+
array (
|
902 |
+
'type' => 'CSMM PRO',
|
903 |
+
'version' => '15.17',
|
904 |
+
'last_edit' => 'Fri, 04 May 2018 08:57:40 +0000',
|
905 |
+
'name' => 'Cold Lake',
|
906 |
+
'description' => '',
|
907 |
+
'frontpage' => '1',
|
908 |
+
'status' => 'agency',
|
909 |
+
'name_clean' => 'cold-lake',
|
910 |
+
),
|
911 |
+
28 =>
|
912 |
+
array (
|
913 |
+
'type' => 'CSMM PRO',
|
914 |
+
'version' => '15.17',
|
915 |
+
'last_edit' => 'Mon, 07 Jan 2019 08:25:36 +0000',
|
916 |
+
'name' => 'Computer Repair Service',
|
917 |
+
'description' => '',
|
918 |
+
'frontpage' => '1',
|
919 |
+
'status' => 'agency',
|
920 |
+
'name_clean' => 'computer-repair-service',
|
921 |
+
),
|
922 |
+
29 =>
|
923 |
+
array (
|
924 |
+
'type' => 'CSMM PRO',
|
925 |
+
'version' => '15.17',
|
926 |
+
'last_edit' => 'Wed, 27 Feb 2019 20:04:27 +0000',
|
927 |
+
'name' => 'Concert',
|
928 |
+
'description' => '',
|
929 |
+
'frontpage' => '1',
|
930 |
+
'status' => 'pro',
|
931 |
+
'name_clean' => 'concert',
|
932 |
+
),
|
933 |
+
30 =>
|
934 |
+
array (
|
935 |
+
'type' => 'CSMM PRO',
|
936 |
+
'version' => '15.17',
|
937 |
+
'last_edit' => 'Tue, 23 Apr 2019 08:43:55 +0000',
|
938 |
+
'name' => 'Conference Event',
|
939 |
+
'description' => '',
|
940 |
+
'frontpage' => '1',
|
941 |
+
'status' => 'pro',
|
942 |
+
'name_clean' => 'conference-event',
|
943 |
+
),
|
944 |
+
31 =>
|
945 |
+
array (
|
946 |
+
'type' => 'CSMM PRO',
|
947 |
+
'version' => '15.17',
|
948 |
+
'last_edit' => 'Sun, 29 Sep 2019 16:15:39 +0000',
|
949 |
+
'name' => 'Construction Company',
|
950 |
+
'description' => '',
|
951 |
+
'frontpage' => '1',
|
952 |
+
'status' => 'agency',
|
953 |
+
'name_clean' => 'construction-company',
|
954 |
+
),
|
955 |
+
32 =>
|
956 |
+
array (
|
957 |
+
'type' => 'CSMM PRO',
|
958 |
+
'version' => '15.17',
|
959 |
+
'last_edit' => 'Fri, 30 Nov 2018 10:25:04 +0000',
|
960 |
+
'name' => 'Custom Decor',
|
961 |
+
'description' => '',
|
962 |
+
'frontpage' => '1',
|
963 |
+
'status' => 'agency',
|
964 |
+
'name_clean' => 'custom-decor',
|
965 |
+
),
|
966 |
+
33 =>
|
967 |
+
array (
|
968 |
+
'type' => 'CSMM PRO',
|
969 |
+
'version' => '5.005',
|
970 |
+
'last_edit' => 'Mon, 26 Feb 2018 20:41:31 +0000',
|
971 |
+
'name' => 'Default',
|
972 |
+
'description' => 'Default settings, nothing more.',
|
973 |
+
'frontpage' => '0',
|
974 |
+
'status' => 'pro',
|
975 |
+
'name_clean' => 'default',
|
976 |
+
),
|
977 |
+
34 =>
|
978 |
+
array (
|
979 |
+
'type' => 'CSMM PRO',
|
980 |
+
'version' => '15.17',
|
981 |
+
'last_edit' => 'Fri, 30 Mar 2018 11:24:59 +0000',
|
982 |
+
'name' => 'Dental Clinic',
|
983 |
+
'description' => 'Andrea',
|
984 |
+
'frontpage' => '1',
|
985 |
+
'status' => 'agency',
|
986 |
+
'name_clean' => 'dental-clinic',
|
987 |
+
),
|
988 |
+
35 =>
|
989 |
+
array (
|
990 |
+
'type' => 'CSMM PRO',
|
991 |
+
'version' => '15.17',
|
992 |
+
'last_edit' => 'Mon, 26 Nov 2018 18:41:25 +0000',
|
993 |
+
'name' => 'Dog Shelter',
|
994 |
+
'description' => '',
|
995 |
+
'frontpage' => '1',
|
996 |
+
'status' => 'pro',
|
997 |
+
'name_clean' => 'dog-shelter',
|
998 |
+
),
|
999 |
+
36 =>
|
1000 |
+
array (
|
1001 |
+
'type' => 'CSMM PRO',
|
1002 |
+
'version' => '5.001',
|
1003 |
+
'last_edit' => 'Tue, 20 Feb 2018 09:14:59 +0000',
|
1004 |
+
'name' => 'Dog Training and Behavior Consulting',
|
1005 |
+
'description' => '',
|
1006 |
+
'frontpage' => '1',
|
1007 |
+
'status' => 'agency',
|
1008 |
+
'name_clean' => 'dog-training-and-behavior-consulting',
|
1009 |
+
),
|
1010 |
+
37 =>
|
1011 |
+
array (
|
1012 |
+
'type' => 'CSMM PRO',
|
1013 |
+
'version' => '15.17',
|
1014 |
+
'last_edit' => 'Mon, 07 Jan 2019 08:27:22 +0000',
|
1015 |
+
'name' => 'Employment',
|
1016 |
+
'description' => '',
|
1017 |
+
'frontpage' => '1',
|
1018 |
+
'status' => 'pro',
|
1019 |
+
'name_clean' => 'employment',
|
1020 |
+
),
|
1021 |
+
38 =>
|
1022 |
+
array (
|
1023 |
+
'type' => 'CSMM PRO',
|
1024 |
+
'version' => '15.17',
|
1025 |
+
'last_edit' => 'Sun, 23 Dec 2018 09:56:23 +0000',
|
1026 |
+
'name' => 'Essay Writing Service',
|
1027 |
+
'description' => '',
|
1028 |
+
'frontpage' => '1',
|
1029 |
+
'status' => 'agency',
|
1030 |
+
'name_clean' => 'essay-writing-service',
|
1031 |
+
),
|
1032 |
+
39 =>
|
1033 |
+
array (
|
1034 |
+
'type' => 'CSMM PRO',
|
1035 |
+
'version' => '15.17',
|
1036 |
+
'last_edit' => 'Wed, 29 Aug 2018 16:00:04 +0000',
|
1037 |
+
'name' => 'Fall (Video)',
|
1038 |
+
'description' => '',
|
1039 |
+
'frontpage' => '1',
|
1040 |
+
'status' => 'pro',
|
1041 |
+
'name_clean' => 'fall-video',
|
1042 |
+
),
|
1043 |
+
40 =>
|
1044 |
+
array (
|
1045 |
+
'type' => 'CSMM PRO',
|
1046 |
+
'version' => '15.17',
|
1047 |
+
'last_edit' => 'Sat, 21 Jul 2018 22:37:09 +0000',
|
1048 |
+
'name' => 'Fashion',
|
1049 |
+
'description' => '',
|
1050 |
+
'frontpage' => '1',
|
1051 |
+
'status' => 'agency',
|
1052 |
+
'name_clean' => 'fashion',
|
1053 |
+
),
|
1054 |
+
41 =>
|
1055 |
+
array (
|
1056 |
+
'type' => 'CSMM PRO',
|
1057 |
+
'version' => '15.17',
|
1058 |
+
'last_edit' => 'Tue, 30 Oct 2018 18:11:40 +0000',
|
1059 |
+
'name' => 'Financial District',
|
1060 |
+
'description' => '',
|
1061 |
+
'frontpage' => '1',
|
1062 |
+
'status' => 'pro',
|
1063 |
+
'name_clean' => 'financial-district',
|
1064 |
+
),
|
1065 |
+
42 =>
|
1066 |
+
array (
|
1067 |
+
'type' => 'CSMM PRO',
|
1068 |
+
'version' => '15.17',
|
1069 |
+
'last_edit' => 'Sun, 18 Aug 2019 16:33:36 +0000',
|
1070 |
+
'name' => 'Fitness E-Shop',
|
1071 |
+
'description' => '',
|
1072 |
+
'frontpage' => '1',
|
1073 |
+
'status' => 'agency',
|
1074 |
+
'name_clean' => 'fitness-e-shop',
|
1075 |
+
),
|
1076 |
+
43 =>
|
1077 |
+
array (
|
1078 |
+
'type' => 'CSMM PRO',
|
1079 |
+
'version' => '15.05',
|
1080 |
+
'last_edit' => 'Fri, 02 Mar 2018 12:33:55 +0000',
|
1081 |
+
'name' => 'Flower Shop',
|
1082 |
+
'description' => '',
|
1083 |
+
'frontpage' => '1',
|
1084 |
+
'status' => 'agency',
|
1085 |
+
'name_clean' => 'flower-shop',
|
1086 |
+
),
|
1087 |
+
44 =>
|
1088 |
+
array (
|
1089 |
+
'type' => 'CSMM PRO',
|
1090 |
+
'version' => '15.17',
|
1091 |
+
'last_edit' => 'Wed, 02 May 2018 09:37:48 +0000',
|
1092 |
+
'name' => 'Food Blog',
|
1093 |
+
'description' => '',
|
1094 |
+
'frontpage' => '1',
|
1095 |
+
'status' => 'pro',
|
1096 |
+
'name_clean' => 'food-blog',
|
1097 |
+
),
|
1098 |
+
45 =>
|
1099 |
+
array (
|
1100 |
+
'type' => 'CSMM PRO',
|
1101 |
+
'version' => '15.17',
|
1102 |
+
'last_edit' => 'Mon, 18 Jun 2018 16:40:10 +0000',
|
1103 |
+
'name' => 'Football',
|
1104 |
+
'description' => '',
|
1105 |
+
'frontpage' => '1',
|
1106 |
+
'status' => 'pro',
|
1107 |
+
'name_clean' => 'football',
|
1108 |
+
),
|
1109 |
+
46 =>
|
1110 |
+
array (
|
1111 |
+
'type' => 'CSMM PRO',
|
1112 |
+
'version' => '15.17',
|
1113 |
+
'last_edit' => 'Sun, 23 Dec 2018 10:16:53 +0000',
|
1114 |
+
'name' => 'Frozen Nature',
|
1115 |
+
'description' => '',
|
1116 |
+
'frontpage' => '1',
|
1117 |
+
'status' => 'pro',
|
1118 |
+
'name_clean' => 'frozen-nature',
|
1119 |
+
),
|
1120 |
+
47 =>
|
1121 |
+
array (
|
1122 |
+
'type' => 'CSMM PRO',
|
1123 |
+
'version' => '15.17',
|
1124 |
+
'last_edit' => 'Thu, 28 Feb 2019 08:14:36 +0000',
|
1125 |
+
'name' => 'Future Technology',
|
1126 |
+
'description' => '',
|
1127 |
+
'frontpage' => '1',
|
1128 |
+
'status' => 'pro',
|
1129 |
+
'name_clean' => 'future-technology',
|
1130 |
+
),
|
1131 |
+
48 =>
|
1132 |
+
array (
|
1133 |
+
'type' => 'CSMM PRO',
|
1134 |
+
'version' => '15.17',
|
1135 |
+
'last_edit' => 'Sun, 25 Aug 2019 09:03:15 +0000',
|
1136 |
+
'name' => 'Greenlife',
|
1137 |
+
'description' => '',
|
1138 |
+
'frontpage' => '1',
|
1139 |
+
'status' => 'pro',
|
1140 |
+
'name_clean' => 'greenlife',
|
1141 |
+
),
|
1142 |
+
49 =>
|
1143 |
+
array (
|
1144 |
+
'type' => 'CSMM PRO',
|
1145 |
+
'version' => '15.17',
|
1146 |
+
'last_edit' => 'Tue, 23 Oct 2018 17:23:42 +0000',
|
1147 |
+
'name' => 'Halloween',
|
1148 |
+
'description' => '',
|
1149 |
+
'frontpage' => '1',
|
1150 |
+
'status' => 'pro',
|
1151 |
+
'name_clean' => 'halloween',
|
1152 |
+
),
|
1153 |
+
50 =>
|
1154 |
+
array (
|
1155 |
+
'type' => 'CSMM PRO',
|
1156 |
+
'version' => '15.17',
|
1157 |
+
'last_edit' => 'Tue, 30 Jul 2019 14:26:58 +0000',
|
1158 |
+
'name' => 'Healthy Eating',
|
1159 |
+
'description' => '',
|
1160 |
+
'frontpage' => '1',
|
1161 |
+
'status' => 'agency',
|
1162 |
+
'name_clean' => 'healthy-eating',
|
1163 |
+
),
|
1164 |
+
51 =>
|
1165 |
+
array (
|
1166 |
+
'type' => 'CSMM PRO',
|
1167 |
+
'version' => '15.17',
|
1168 |
+
'last_edit' => 'Sat, 28 Jul 2018 15:16:26 +0000',
|
1169 |
+
'name' => 'Holiday Resort',
|
1170 |
+
'description' => '',
|
1171 |
+
'frontpage' => '1',
|
1172 |
+
'status' => 'pro',
|
1173 |
+
'name_clean' => 'holiday-resort',
|
1174 |
+
),
|
1175 |
+
52 =>
|
1176 |
+
array (
|
1177 |
+
'type' => 'CSMM PRO',
|
1178 |
+
'version' => '15.17',
|
1179 |
+
'last_edit' => 'Fri, 30 Mar 2018 11:26:42 +0000',
|
1180 |
+
'name' => 'Homemade Chocolate Gifts',
|
1181 |
+
'description' => '',
|
1182 |
+
'frontpage' => '0',
|
1183 |
+
'status' => 'pro',
|
1184 |
+
'name_clean' => 'homemade-chocolate-gifts',
|
1185 |
+
),
|
1186 |
+
53 =>
|
1187 |
+
array (
|
1188 |
+
'type' => 'CSMM PRO',
|
1189 |
+
'version' => '15.17',
|
1190 |
+
'last_edit' => 'Mon, 21 Oct 2019 12:34:08 +0000',
|
1191 |
+
'name' => 'Hosting',
|
1192 |
+
'description' => '',
|
1193 |
+
'frontpage' => '1',
|
1194 |
+
'status' => 'pro',
|
1195 |
+
'name_clean' => 'hosting',
|
1196 |
+
),
|
1197 |
+
54 =>
|
1198 |
+
array (
|
1199 |
+
'type' => 'CSMM PRO',
|
1200 |
+
'version' => '15.17',
|
1201 |
+
'last_edit' => 'Wed, 30 Jan 2019 19:33:31 +0000',
|
1202 |
+
'name' => 'Ice Cream Shop',
|
1203 |
+
'description' => '',
|
1204 |
+
'frontpage' => '1',
|
1205 |
+
'status' => 'pro',
|
1206 |
+
'name_clean' => 'ice-cream-shop',
|
1207 |
+
),
|
1208 |
+
55 =>
|
1209 |
+
array (
|
1210 |
+
'type' => 'CSMM PRO',
|
1211 |
+
'version' => '15.17',
|
1212 |
+
'last_edit' => 'Mon, 23 Sep 2019 13:35:23 +0000',
|
1213 |
+
'name' => 'Inspy Romance',
|
1214 |
+
'description' => '',
|
1215 |
+
'frontpage' => '1',
|
1216 |
+
'status' => 'pro',
|
1217 |
+
'name_clean' => 'inspy-romance',
|
1218 |
+
),
|
1219 |
+
56 =>
|
1220 |
+
array (
|
1221 |
+
'type' => 'CSMM PRO',
|
1222 |
+
'version' => '15.05',
|
1223 |
+
'last_edit' => 'Fri, 02 Mar 2018 12:59:44 +0000',
|
1224 |
+
'name' => 'Interior Design',
|
1225 |
+
'description' => 'Andrea',
|
1226 |
+
'frontpage' => '1',
|
1227 |
+
'status' => 'agency',
|
1228 |
+
'name_clean' => 'interior-design',
|
1229 |
+
),
|
1230 |
+
57 =>
|
1231 |
+
array (
|
1232 |
+
'type' => 'CSMM PRO',
|
1233 |
+
'version' => '15.17',
|
1234 |
+
'last_edit' => 'Mon, 23 Sep 2019 14:03:55 +0000',
|
1235 |
+
'name' => 'IT Conference',
|
1236 |
+
'description' => '',
|
1237 |
+
'frontpage' => '1',
|
1238 |
+
'status' => 'pro',
|
1239 |
+
'name_clean' => 'it-conference',
|
1240 |
+
),
|
1241 |
+
58 =>
|
1242 |
+
array (
|
1243 |
+
'type' => 'CSMM PRO',
|
1244 |
+
'version' => '5.14',
|
1245 |
+
'last_edit' => 'Fri, 23 Mar 2018 16:42:15 +0000',
|
1246 |
+
'name' => 'Journey (Video)',
|
1247 |
+
'description' => '',
|
1248 |
+
'frontpage' => '1',
|
1249 |
+
'status' => 'agency',
|
1250 |
+
'name_clean' => 'journey-video',
|
1251 |
+
),
|
1252 |
+
59 =>
|
1253 |
+
array (
|
1254 |
+
'type' => 'CSMM PRO',
|
1255 |
+
'version' => '15.17',
|
1256 |
+
'last_edit' => 'Mon, 11 Mar 2019 18:11:04 +0000',
|
1257 |
+
'name' => 'Ladies Accessories',
|
1258 |
+
'description' => '',
|
1259 |
+
'frontpage' => '1',
|
1260 |
+
'status' => 'agency',
|
1261 |
+
'name_clean' => 'ladies-accessories',
|
1262 |
+
),
|
1263 |
+
60 =>
|
1264 |
+
array (
|
1265 |
+
'type' => 'CSMM PRO',
|
1266 |
+
'version' => '15.17',
|
1267 |
+
'last_edit' => 'Fri, 30 Mar 2018 11:28:28 +0000',
|
1268 |
+
'name' => 'LEGO Bricks',
|
1269 |
+
'description' => '',
|
1270 |
+
'frontpage' => '0',
|
1271 |
+
'status' => 'pro',
|
1272 |
+
'name_clean' => 'lego-bricks',
|
1273 |
+
),
|
1274 |
+
61 =>
|
1275 |
+
array (
|
1276 |
+
'type' => 'CSMM PRO',
|
1277 |
+
'version' => '15.17',
|
1278 |
+
'last_edit' => 'Wed, 29 Aug 2018 16:36:44 +0000',
|
1279 |
+
'name' => 'Loneliness',
|
1280 |
+
'description' => '',
|
1281 |
+
'frontpage' => '1',
|
1282 |
+
'status' => 'agency',
|
1283 |
+
'name_clean' => 'loneliness',
|
1284 |
+
),
|
1285 |
+
62 =>
|
1286 |
+
array (
|
1287 |
+
'type' => 'CSMM PRO',
|
1288 |
+
'version' => '15.17',
|
1289 |
+
'last_edit' => 'Wed, 25 Apr 2018 11:04:55 +0000',
|
1290 |
+
'name' => 'Lonely Road',
|
1291 |
+
'description' => 'Andrea',
|
1292 |
+
'frontpage' => '1',
|
1293 |
+
'status' => 'agency',
|
1294 |
+
'name_clean' => 'lonely-road',
|
1295 |
+
),
|
1296 |
+
63 =>
|
1297 |
+
array (
|
1298 |
+
'type' => 'CSMM PRO',
|
1299 |
+
'version' => '15.17',
|
1300 |
+
'last_edit' => 'Fri, 30 Mar 2018 11:30:37 +0000',
|
1301 |
+
'name' => 'Luxury Car',
|
1302 |
+
'description' => '',
|
1303 |
+
'frontpage' => '1',
|
1304 |
+
'status' => 'pro',
|
1305 |
+
'name_clean' => 'luxury-car',
|
1306 |
+
),
|
1307 |
+
64 =>
|
1308 |
+
array (
|
1309 |
+
'type' => 'CSMM PRO',
|
1310 |
+
'version' => '5.005',
|
1311 |
+
'last_edit' => 'Mon, 26 Feb 2018 18:31:18 +0000',
|
1312 |
+
'name' => 'Maintenance Mode',
|
1313 |
+
'description' => 'Andrea',
|
1314 |
+
'frontpage' => '0',
|
1315 |
+
'status' => 'pro',
|
1316 |
+
'name_clean' => 'maintenance-mode',
|
1317 |
+
),
|
1318 |
+
65 =>
|
1319 |
+
array (
|
1320 |
+
'type' => 'CSMM PRO',
|
1321 |
+
'version' => '5.005',
|
1322 |
+
'last_edit' => 'Mon, 26 Feb 2018 17:59:30 +0000',
|
1323 |
+
'name' => 'Makeup Artist Training',
|
1324 |
+
'description' => 'Andrea',
|
1325 |
+
'frontpage' => '1',
|
1326 |
+
'status' => 'agency',
|
1327 |
+
'name_clean' => 'makeup-artist-training',
|
1328 |
+
),
|
1329 |
+
66 =>
|
1330 |
+
array (
|
1331 |
+
'type' => 'CSMM PRO',
|
1332 |
+
'version' => '15.17',
|
1333 |
+
'last_edit' => 'Mon, 21 Oct 2019 13:36:56 +0000',
|
1334 |
+
'name' => 'Metrics (Video)',
|
1335 |
+
'description' => '',
|
1336 |
+
'frontpage' => '1',
|
1337 |
+
'status' => 'agency',
|
1338 |
+
'name_clean' => 'metrics-video',
|
1339 |
+
),
|
1340 |
+
67 =>
|
1341 |
+
array (
|
1342 |
+
'type' => 'CSMM PRO',
|
1343 |
+
'version' => '15.17',
|
1344 |
+
'last_edit' => 'Sun, 23 Sep 2018 13:09:03 +0000',
|
1345 |
+
'name' => 'Misty Forest (Video)',
|
1346 |
+
'description' => '',
|
1347 |
+
'frontpage' => '1',
|
1348 |
+
'status' => 'pro',
|
1349 |
+
'name_clean' => 'misty-forest-video',
|
1350 |
+
),
|
1351 |
+
68 =>
|
1352 |
+
array (
|
1353 |
+
'type' => 'CSMM PRO',
|
1354 |
+
'version' => '15.17',
|
1355 |
+
'last_edit' => 'Wed, 25 Apr 2018 11:08:31 +0000',
|
1356 |
+
'name' => 'Mobile Designer',
|
1357 |
+
'description' => 'Andrea',
|
1358 |
+
'frontpage' => '1',
|
1359 |
+
'status' => 'agency',
|
1360 |
+
'name_clean' => 'mobile-designer',
|
1361 |
+
),
|
1362 |
+
69 =>
|
1363 |
+
array (
|
1364 |
+
'type' => 'CSMM PRO',
|
1365 |
+
'version' => '15.17',
|
1366 |
+
'last_edit' => 'Tue, 30 Oct 2018 18:10:11 +0000',
|
1367 |
+
'name' => 'Mobile Meeting',
|
1368 |
+
'description' => '',
|
1369 |
+
'frontpage' => '1',
|
1370 |
+
'status' => 'agency',
|
1371 |
+
'name_clean' => 'mobile-meeting',
|
1372 |
+
),
|
1373 |
+
70 =>
|
1374 |
+
array (
|
1375 |
+
'type' => 'CSMM PRO',
|
1376 |
+
'version' => '5.005',
|
1377 |
+
'last_edit' => 'Mon, 26 Feb 2018 18:04:32 +0000',
|
1378 |
+
'name' => 'Modern Blog',
|
1379 |
+
'description' => '',
|
1380 |
+
'frontpage' => '1',
|
1381 |
+
'status' => 'pro',
|
1382 |
+
'name_clean' => 'modern-blog',
|
1383 |
+
),
|
1384 |
+
71 =>
|
1385 |
+
array (
|
1386 |
+
'type' => 'CSMM PRO',
|
1387 |
+
'version' => '15.05',
|
1388 |
+
'last_edit' => 'Fri, 02 Mar 2018 10:14:21 +0000',
|
1389 |
+
'name' => 'Modern Office',
|
1390 |
+
'description' => 'Andrea',
|
1391 |
+
'frontpage' => '0',
|
1392 |
+
'status' => 'agency',
|
1393 |
+
'name_clean' => 'modern-office',
|
1394 |
+
),
|
1395 |
+
72 =>
|
1396 |
+
array (
|
1397 |
+
'type' => 'CSMM PRO',
|
1398 |
+
'version' => '15.17',
|
1399 |
+
'last_edit' => 'Mon, 26 Nov 2018 18:42:35 +0000',
|
1400 |
+
'name' => 'Modern Recipes',
|
1401 |
+
'description' => '',
|
1402 |
+
'frontpage' => '1',
|
1403 |
+
'status' => 'agency',
|
1404 |
+
'name_clean' => 'modern-recipes',
|
1405 |
+
),
|
1406 |
+
73 =>
|
1407 |
+
array (
|
1408 |
+
'type' => 'CSMM PRO',
|
1409 |
+
'version' => '15.17',
|
1410 |
+
'last_edit' => 'Fri, 30 Mar 2018 11:48:23 +0000',
|
1411 |
+
'name' => 'Mountain Slide',
|
1412 |
+
'description' => '',
|
1413 |
+
'frontpage' => '1',
|
1414 |
+
'status' => 'pro',
|
1415 |
+
'name_clean' => 'mountain-slide',
|
1416 |
+
),
|
1417 |
+
74 =>
|
1418 |
+
array (
|
1419 |
+
'type' => 'CSMM PRO',
|
1420 |
+
'version' => '5.05',
|
1421 |
+
'last_edit' => 'Thu, 01 Mar 2018 10:49:52 +0000',
|
1422 |
+
'name' => 'Mountain',
|
1423 |
+
'description' => 'Andrea',
|
1424 |
+
'frontpage' => '0',
|
1425 |
+
'status' => 'pro',
|
1426 |
+
'name_clean' => 'mountain',
|
1427 |
+
),
|
1428 |
+
75 =>
|
1429 |
+
array (
|
1430 |
+
'type' => 'CSMM PRO',
|
1431 |
+
'version' => '15.17',
|
1432 |
+
'last_edit' => 'Wed, 25 Apr 2018 11:12:56 +0000',
|
1433 |
+
'name' => 'Movie Trailer (Video)',
|
1434 |
+
'description' => '',
|
1435 |
+
'frontpage' => '0',
|
1436 |
+
'status' => 'pro',
|
1437 |
+
'name_clean' => 'movie-trailer-video',
|
1438 |
+
),
|
1439 |
+
76 =>
|
1440 |
+
array (
|
1441 |
+
'type' => 'CSMM PRO',
|
1442 |
+
'version' => '15.17',
|
1443 |
+
'last_edit' => 'Sun, 16 Jun 2019 16:57:44 +0000',
|
1444 |
+
'name' => 'Music',
|
1445 |
+
'description' => '',
|
1446 |
+
'frontpage' => '1',
|
1447 |
+
'status' => 'pro',
|
1448 |
+
'name_clean' => 'music',
|
1449 |
+
),
|
1450 |
+
77 =>
|
1451 |
+
array (
|
1452 |
+
'type' => 'CSMM PRO',
|
1453 |
+
'version' => '15.05',
|
1454 |
+
'last_edit' => 'Fri, 02 Mar 2018 10:17:02 +0000',
|
1455 |
+
'name' => 'Nature',
|
1456 |
+
'description' => 'Andrea',
|
1457 |
+
'frontpage' => '0',
|
1458 |
+
'status' => 'agency',
|
1459 |
+
'name_clean' => 'nature',
|
1460 |
+
),
|
1461 |
+
78 =>
|
1462 |
+
array (
|
1463 |
+
'type' => 'CSMM PRO',
|
1464 |
+
'version' => '5.14',
|
1465 |
+
'last_edit' => 'Fri, 23 Mar 2018 16:37:55 +0000',
|
1466 |
+
'name' => 'Office Meeting (Video)',
|
1467 |
+
'description' => '',
|
1468 |
+
'frontpage' => '1',
|
1469 |
+
'status' => 'agency',
|
1470 |
+
'name_clean' => 'office-meeting-video',
|
1471 |
+
),
|
1472 |
+
79 =>
|
1473 |
+
array (
|
1474 |
+
'type' => 'CSMM PRO',
|
1475 |
+
'version' => '15.05',
|
1476 |
+
'last_edit' => 'Fri, 02 Mar 2018 12:35:44 +0000',
|
1477 |
+
'name' => 'Office Theme',
|
1478 |
+
'description' => '',
|
1479 |
+
'frontpage' => '1',
|
1480 |
+
'status' => 'agency',
|
1481 |
+
'name_clean' => 'office-theme',
|
1482 |
+
),
|
1483 |
+
80 =>
|
1484 |
+
array (
|
1485 |
+
'type' => 'CSMM PRO',
|
1486 |
+
'version' => '5.005',
|
1487 |
+
'last_edit' => 'Mon, 26 Feb 2018 18:07:28 +0000',
|
1488 |
+
'name' => 'Online Learning',
|
1489 |
+
'description' => 'Andrea',
|
1490 |
+
'frontpage' => '1',
|
1491 |
+
'status' => 'agency',
|
1492 |
+
'name_clean' => 'online-learning',
|
1493 |
+
),
|
1494 |
+
81 =>
|
1495 |
+
array (
|
1496 |
+
'type' => 'CSMM PRO',
|
1497 |
+
'version' => '15.17',
|
1498 |
+
'last_edit' => 'Sun, 25 Aug 2019 10:00:21 +0000',
|
1499 |
+
'name' => 'Organic Cosmetics',
|
1500 |
+
'description' => '',
|
1501 |
+
'frontpage' => '1',
|
1502 |
+
'status' => 'pro',
|
1503 |
+
'name_clean' => 'organic-cosmetics',
|
1504 |
+
),
|
1505 |
+
82 =>
|
1506 |
+
array (
|
1507 |
+
'type' => 'CSMM PRO',
|
1508 |
+
'version' => '15.17',
|
1509 |
+
'last_edit' => 'Wed, 25 Apr 2018 11:10:44 +0000',
|
1510 |
+
'name' => 'Pancake House',
|
1511 |
+
'description' => '',
|
1512 |
+
'frontpage' => '0',
|
1513 |
+
'status' => 'pro',
|
1514 |
+
'name_clean' => 'pancake-house',
|
1515 |
+
),
|
1516 |
+
83 =>
|
1517 |
+
array (
|
1518 |
+
'type' => 'CSMM PRO',
|
1519 |
+
'version' => '15.17',
|
1520 |
+
'last_edit' => 'Wed, 25 Apr 2018 11:15:19 +0000',
|
1521 |
+
'name' => 'Parenting',
|
1522 |
+
'description' => '',
|
1523 |
+
'frontpage' => '0',
|
1524 |
+
'status' => 'pro',
|
1525 |
+
'name_clean' => 'parenting',
|
1526 |
+
),
|
1527 |
+
84 =>
|
1528 |
+
array (
|
1529 |
+
'type' => 'CSMM PRO',
|
1530 |
+
'version' => '15.17',
|
1531 |
+
'last_edit' => 'Tue, 28 Aug 2018 15:03:08 +0000',
|
1532 |
+
'name' => 'Passage',
|
1533 |
+
'description' => '',
|
1534 |
+
'frontpage' => '0',
|
1535 |
+
'status' => 'pro',
|
1536 |
+
'name_clean' => 'passage',
|
1537 |
+
),
|
1538 |
+
85 =>
|
1539 |
+
array (
|
1540 |
+
'type' => 'CSMM PRO',
|
1541 |
+
'version' => '15.17',
|
1542 |
+
'last_edit' => 'Tue, 23 Oct 2018 18:08:17 +0000',
|
1543 |
+
'name' => 'Peaceful River',
|
1544 |
+
'description' => '',
|
1545 |
+
'frontpage' => '1',
|
1546 |
+
'status' => 'agency',
|
1547 |
+
'name_clean' => 'peaceful-river',
|
1548 |
+
),
|
1549 |
+
86 =>
|
1550 |
+
array (
|
1551 |
+
'type' => 'CSMM PRO',
|
1552 |
+
'version' => '15.17',
|
1553 |
+
'last_edit' => 'Sat, 18 May 2019 12:49:23 +0000',
|
1554 |
+
'name' => 'Personal Trainer',
|
1555 |
+
'description' => '',
|
1556 |
+
'frontpage' => '1',
|
1557 |
+
'status' => 'pro',
|
1558 |
+
'name_clean' => 'personal-trainer',
|
1559 |
+
),
|
1560 |
+
87 =>
|
1561 |
+
array (
|
1562 |
+
'type' => 'CSMM PRO',
|
1563 |
+
'version' => '15.17',
|
1564 |
+
'last_edit' => 'Fri, 30 Mar 2018 11:35:07 +0000',
|
1565 |
+
'name' => 'Photography',
|
1566 |
+
'description' => '',
|
1567 |
+
'frontpage' => '1',
|
1568 |
+
'status' => 'agency',
|
1569 |
+
'name_clean' => 'photography',
|
1570 |
+
),
|
1571 |
+
88 =>
|
1572 |
+
array (
|
1573 |
+
'type' => 'CSMM PRO',
|
1574 |
+
'version' => '15.17',
|
1575 |
+
'last_edit' => 'Sun, 07 Jul 2019 17:17:37 +0000',
|
1576 |
+
'name' => 'Podcast',
|
1577 |
+
'description' => '',
|
1578 |
+
'frontpage' => '1',
|
1579 |
+
'status' => 'agency',
|
1580 |
+
'name_clean' => 'podcast',
|
1581 |
+
),
|
1582 |
+
89 =>
|
1583 |
+
array (
|
1584 |
+
'type' => 'CSMM PRO',
|
1585 |
+
'version' => '15.17',
|
1586 |
+
'last_edit' => 'Mon, 25 Nov 2019 08:56:50 +0000',
|
1587 |
+
'name' => 'Restaurant',
|
1588 |
+
'description' => '',
|
1589 |
+
'frontpage' => '1',
|
1590 |
+
'status' => 'agency',
|
1591 |
+
'name_clean' => 'restaurant',
|
1592 |
+
),
|
1593 |
+
90 =>
|
1594 |
+
array (
|
1595 |
+
'type' => 'CSMM PRO',
|
1596 |
+
'version' => '15.17',
|
1597 |
+
'last_edit' => 'Sun, 10 Mar 2019 11:20:31 +0000',
|
1598 |
+
'name' => 'Romantic Travels',
|
1599 |
+
'description' => '',
|
1600 |
+
'frontpage' => '1',
|
1601 |
+
'status' => 'agency',
|
1602 |
+
'name_clean' => 'romantic-travels',
|
1603 |
+
),
|
1604 |
+
91 =>
|
1605 |
+
array (
|
1606 |
+
'type' => 'CSMM PRO',
|
1607 |
+
'version' => '15.17',
|
1608 |
+
'last_edit' => 'Fri, 30 Mar 2018 11:41:09 +0000',
|
1609 |
+
'name' => 'Running Blog',
|
1610 |
+
'description' => '',
|
1611 |
+
'frontpage' => '0',
|
1612 |
+
'status' => 'agency',
|
1613 |
+
'name_clean' => 'running-blog',
|
1614 |
+
),
|
1615 |
+
92 =>
|
1616 |
+
array (
|
1617 |
+
'type' => 'CSMM PRO',
|
1618 |
+
'version' => '15.14',
|
1619 |
+
'last_edit' => 'Sat, 24 Mar 2018 10:23:40 +0000',
|
1620 |
+
'name' => 'Running (Video)',
|
1621 |
+
'description' => '',
|
1622 |
+
'frontpage' => '1',
|
1623 |
+
'status' => 'pro',
|
1624 |
+
'name_clean' => 'running-video',
|
1625 |
+
),
|
1626 |
+
93 =>
|
1627 |
+
array (
|
1628 |
+
'type' => 'CSMM PRO',
|
1629 |
+
'version' => '15.17',
|
1630 |
+
'last_edit' => 'Thu, 25 Apr 2019 08:11:16 +0000',
|
1631 |
+
'name' => 'Scholar University',
|
1632 |
+
'description' => '',
|
1633 |
+
'frontpage' => '1',
|
1634 |
+
'status' => 'agency',
|
1635 |
+
'name_clean' => 'scholar-university',
|
1636 |
+
),
|
1637 |
+
94 =>
|
1638 |
+
array (
|
1639 |
+
'type' => 'CSMM PRO',
|
1640 |
+
'version' => '15.17',
|
1641 |
+
'last_edit' => 'Wed, 26 Jun 2019 16:55:04 +0000',
|
1642 |
+
'name' => 'SEO & Digital Marketing',
|
1643 |
+
'description' => '',
|
1644 |
+
'frontpage' => '1',
|
1645 |
+
'status' => 'agency',
|
1646 |
+
'name_clean' => 'seo-digital-marketing',
|
1647 |
+
),
|
1648 |
+
95 =>
|
1649 |
+
array (
|
1650 |
+
'type' => 'CSMM PRO',
|
1651 |
+
'version' => '5.005',
|
1652 |
+
'last_edit' => 'Mon, 26 Feb 2018 11:17:32 +0000',
|
1653 |
+
'name' => 'Shoes Store',
|
1654 |
+
'description' => 'Andrea',
|
1655 |
+
'frontpage' => '1',
|
1656 |
+
'status' => 'agency',
|
1657 |
+
'name_clean' => 'shoes-store',
|
1658 |
+
),
|
1659 |
+
96 =>
|
1660 |
+
array (
|
1661 |
+
'type' => 'CSMM PRO',
|
1662 |
+
'version' => '15.17',
|
1663 |
+
'last_edit' => 'Wed, 25 Apr 2018 11:17:21 +0000',
|
1664 |
+
'name' => 'Simple Beige Design',
|
1665 |
+
'description' => '',
|
1666 |
+
'frontpage' => '0',
|
1667 |
+
'status' => 'pro',
|
1668 |
+
'name_clean' => 'simple-beige-design',
|
1669 |
+
),
|
1670 |
+
97 =>
|
1671 |
+
array (
|
1672 |
+
'type' => 'CSMM PRO',
|
1673 |
+
'version' => '15.17',
|
1674 |
+
'last_edit' => 'Sun, 15 Sep 2019 17:58:36 +0000',
|
1675 |
+
'name' => 'Skincare',
|
1676 |
+
'description' => '',
|
1677 |
+
'frontpage' => '1',
|
1678 |
+
'status' => 'agency',
|
1679 |
+
'name_clean' => 'skincare',
|
1680 |
+
),
|
1681 |
+
98 =>
|
1682 |
+
array (
|
1683 |
+
'type' => 'CSMM PRO',
|
1684 |
+
'version' => '15.17',
|
1685 |
+
'last_edit' => 'Wed, 25 Apr 2018 11:19:34 +0000',
|
1686 |
+
'name' => 'Snow Screensaver (Video)',
|
1687 |
+
'description' => '',
|
1688 |
+
'frontpage' => '1',
|
1689 |
+
'status' => 'pro',
|
1690 |
+
'name_clean' => 'snow-screensaver-video',
|
1691 |
+
),
|
1692 |
+
99 =>
|
1693 |
+
array (
|
1694 |
+
'type' => 'CSMM PRO',
|
1695 |
+
'version' => '15.17',
|
1696 |
+
'last_edit' => 'Fri, 30 Mar 2018 11:44:39 +0000',
|
1697 |
+
'name' => 'Snowboarding Blog',
|
1698 |
+
'description' => '',
|
1699 |
+
'frontpage' => '1',
|
1700 |
+
'status' => 'pro',
|
1701 |
+
'name_clean' => 'snowboarding-blog',
|
1702 |
+
),
|
1703 |
+
100 =>
|
1704 |
+
array (
|
1705 |
+
'type' => 'CSMM PRO',
|
1706 |
+
'version' => '15.17',
|
1707 |
+
'last_edit' => 'Wed, 25 Apr 2018 11:21:19 +0000',
|
1708 |
+
'name' => 'Snowy Mountain',
|
1709 |
+
'description' => '',
|
1710 |
+
'frontpage' => '1',
|
1711 |
+
'status' => 'pro',
|
1712 |
+
'name_clean' => 'snowy-mountain',
|
1713 |
+
),
|
1714 |
+
101 =>
|
1715 |
+
array (
|
1716 |
+
'type' => 'CSMM PRO',
|
1717 |
+
'version' => '15.17',
|
1718 |
+
'last_edit' => 'Fri, 30 Nov 2018 10:24:22 +0000',
|
1719 |
+
'name' => 'Snowy Oasis',
|
1720 |
+
'description' => '',
|
1721 |
+
'frontpage' => '1',
|
1722 |
+
'status' => 'pro',
|
1723 |
+
'name_clean' => 'snowy-oasis',
|
1724 |
+
),
|
1725 |
+
102 =>
|
1726 |
+
array (
|
1727 |
+
'type' => 'CSMM PRO',
|
1728 |
+
'version' => '15.17',
|
1729 |
+
'last_edit' => 'Wed, 10 Apr 2019 17:03:10 +0000',
|
1730 |
+
'name' => 'Social Media Service',
|
1731 |
+
'description' => '',
|
1732 |
+
'frontpage' => '1',
|
1733 |
+
'status' => 'agency',
|
1734 |
+
'name_clean' => 'social-media-service',
|
1735 |
+
),
|
1736 |
+
103 =>
|
1737 |
+
array (
|
1738 |
+
'type' => 'CSMM PRO',
|
1739 |
+
'version' => '15.17',
|
1740 |
+
'last_edit' => 'Sun, 17 Feb 2019 12:27:43 +0000',
|
1741 |
+
'name' => 'Spa & Beauty Studio',
|
1742 |
+
'description' => '',
|
1743 |
+
'frontpage' => '1',
|
1744 |
+
'status' => 'agency',
|
1745 |
+
'name_clean' => 'spa-beauty-studio',
|
1746 |
+
),
|
1747 |
+
104 =>
|
1748 |
+
array (
|
1749 |
+
'type' => 'CSMM PRO',
|
1750 |
+
'version' => '15.17',
|
1751 |
+
'last_edit' => 'Thu, 30 May 2019 17:05:57 +0000',
|
1752 |
+
'name' => 'Spa',
|
1753 |
+
'description' => '',
|
1754 |
+
'frontpage' => '1',
|
1755 |
+
'status' => 'agency',
|
1756 |
+
'name_clean' => 'spa',
|
1757 |
+
),
|
1758 |
+
105 =>
|
1759 |
+
array (
|
1760 |
+
'type' => 'CSMM PRO',
|
1761 |
+
'version' => '15.17',
|
1762 |
+
'last_edit' => 'Fri, 30 Mar 2018 09:59:40 +0000',
|
1763 |
+
'name' => 'Spring',
|
1764 |
+
'description' => '',
|
1765 |
+
'frontpage' => '0',
|
1766 |
+
'status' => 'agency',
|
1767 |
+
'name_clean' => 'spring',
|
1768 |
+
),
|
1769 |
+
106 =>
|
1770 |
+
array (
|
1771 |
+
'type' => 'CSMM PRO',
|
1772 |
+
'version' => '15.17',
|
1773 |
+
'last_edit' => 'Sat, 26 Jan 2019 16:30:01 +0000',
|
1774 |
+
'name' => 'Startup',
|
1775 |
+
'description' => '',
|
1776 |
+
'frontpage' => '1',
|
1777 |
+
'status' => 'pro',
|
1778 |
+
'name_clean' => 'startup',
|
1779 |
+
),
|
1780 |
+
107 =>
|
1781 |
+
array (
|
1782 |
+
'type' => 'CSMM PRO',
|
1783 |
+
'version' => '15.17',
|
1784 |
+
'last_edit' => 'Sun, 19 Aug 2018 07:48:14 +0000',
|
1785 |
+
'name' => 'Stylish Workplace',
|
1786 |
+
'description' => '',
|
1787 |
+
'frontpage' => '1',
|
1788 |
+
'status' => 'pro',
|
1789 |
+
'name_clean' => 'stylish-workplace',
|
1790 |
+
),
|
1791 |
+
108 =>
|
1792 |
+
array (
|
1793 |
+
'type' => 'CSMM PRO',
|
1794 |
+
'version' => '15.17',
|
1795 |
+
'last_edit' => 'Wed, 26 Jun 2019 17:26:44 +0000',
|
1796 |
+
'name' => 'TechExpo',
|
1797 |
+
'description' => '',
|
1798 |
+
'frontpage' => '1',
|
1799 |
+
'status' => 'pro',
|
1800 |
+
'name_clean' => 'techexpo',
|
1801 |
+
),
|
1802 |
+
109 =>
|
1803 |
+
array (
|
1804 |
+
'type' => 'CSMM PRO',
|
1805 |
+
'version' => '15.17',
|
1806 |
+
'last_edit' => 'Sun, 18 Aug 2019 17:19:12 +0000',
|
1807 |
+
'name' => 'Telecommunication',
|
1808 |
+
'description' => '',
|
1809 |
+
'frontpage' => '1',
|
1810 |
+
'status' => 'agency',
|
1811 |
+
'name_clean' => 'telecommunication',
|
1812 |
+
),
|
1813 |
+
110 =>
|
1814 |
+
array (
|
1815 |
+
'type' => 'CSMM PRO',
|
1816 |
+
'version' => '15.17',
|
1817 |
+
'last_edit' => 'Wed, 25 Apr 2018 11:22:49 +0000',
|
1818 |
+
'name' => 'The Big City Newsletter',
|
1819 |
+
'description' => 'Andrea',
|
1820 |
+
'frontpage' => '1',
|
1821 |
+
'status' => 'agency',
|
1822 |
+
'name_clean' => 'the-big-city-newsletter',
|
1823 |
+
),
|
1824 |
+
111 =>
|
1825 |
+
array (
|
1826 |
+
'type' => 'CSMM PRO',
|
1827 |
+
'version' => '5.14',
|
1828 |
+
'last_edit' => 'Thu, 22 Mar 2018 11:33:57 +0000',
|
1829 |
+
'name' => 'The Sunny View',
|
1830 |
+
'description' => 'Andrea',
|
1831 |
+
'frontpage' => '0',
|
1832 |
+
'status' => 'pro',
|
1833 |
+
'name_clean' => 'the-sunny-view',
|
1834 |
+
),
|
1835 |
+
112 =>
|
1836 |
+
array (
|
1837 |
+
'type' => 'CSMM PRO',
|
1838 |
+
'version' => '15.17',
|
1839 |
+
'last_edit' => 'Mon, 25 Nov 2019 09:23:11 +0000',
|
1840 |
+
'name' => 'Theatre',
|
1841 |
+
'description' => '',
|
1842 |
+
'frontpage' => '1',
|
1843 |
+
'status' => 'agency',
|
1844 |
+
'name_clean' => 'theatre',
|
1845 |
+
),
|
1846 |
+
113 =>
|
1847 |
+
array (
|
1848 |
+
'type' => 'CSMM PRO',
|
1849 |
+
'version' => '5.001',
|
1850 |
+
'last_edit' => 'Tue, 20 Feb 2018 10:57:27 +0000',
|
1851 |
+
'name' => 'Travel Agency',
|
1852 |
+
'description' => '',
|
1853 |
+
'frontpage' => '1',
|
1854 |
+
'status' => 'pro',
|
1855 |
+
'name_clean' => 'travel-agency',
|
1856 |
+
),
|
1857 |
+
114 =>
|
1858 |
+
array (
|
1859 |
+
'type' => 'CSMM PRO',
|
1860 |
+
'version' => '15.05',
|
1861 |
+
'last_edit' => 'Fri, 02 Mar 2018 12:39:22 +0000',
|
1862 |
+
'name' => 'Travel Blog',
|
1863 |
+
'description' => 'Andrea',
|
1864 |
+
'frontpage' => '1',
|
1865 |
+
'status' => 'agency',
|
1866 |
+
'name_clean' => 'travel-blog',
|
1867 |
+
),
|
1868 |
+
115 =>
|
1869 |
+
array (
|
1870 |
+
'type' => 'CSMM PRO',
|
1871 |
+
'version' => '15.17',
|
1872 |
+
'last_edit' => 'Wed, 25 Apr 2018 11:24:56 +0000',
|
1873 |
+
'name' => 'Tulips',
|
1874 |
+
'description' => '',
|
1875 |
+
'frontpage' => '1',
|
1876 |
+
'status' => 'agency',
|
1877 |
+
'name_clean' => 'tulips',
|
1878 |
+
),
|
1879 |
+
116 =>
|
1880 |
+
array (
|
1881 |
+
'type' => 'CSMM PRO',
|
1882 |
+
'version' => '15.17',
|
1883 |
+
'last_edit' => 'Sun, 27 Jan 2019 08:47:12 +0000',
|
1884 |
+
'name' => 'Valentine's Day',
|
1885 |
+
'description' => '',
|
1886 |
+
'frontpage' => '1',
|
1887 |
+
'status' => 'pro',
|
1888 |
+
'name_clean' => 'valentines-day',
|
1889 |
+
),
|
1890 |
+
117 =>
|
1891 |
+
array (
|
1892 |
+
'type' => 'CSMM PRO',
|
1893 |
+
'version' => '5.001',
|
1894 |
+
'last_edit' => 'Mon, 19 Feb 2018 12:31:48 +0000',
|
1895 |
+
'name' => 'Video Production',
|
1896 |
+
'description' => '',
|
1897 |
+
'frontpage' => '1',
|
1898 |
+
'status' => 'pro',
|
1899 |
+
'name_clean' => 'video-production',
|
1900 |
+
),
|
1901 |
+
118 =>
|
1902 |
+
array (
|
1903 |
+
'type' => 'CSMM PRO',
|
1904 |
+
'version' => '15.17',
|
1905 |
+
'last_edit' => 'Thu, 04 Apr 2019 16:55:28 +0000',
|
1906 |
+
'name' => 'Virtual Assistant Service',
|
1907 |
+
'description' => '',
|
1908 |
+
'frontpage' => '1',
|
1909 |
+
'status' => 'agency',
|
1910 |
+
'name_clean' => 'virtual-assistant-service',
|
1911 |
+
),
|
1912 |
+
119 =>
|
1913 |
+
array (
|
1914 |
+
'type' => 'CSMM PRO',
|
1915 |
+
'version' => '15.17',
|
1916 |
+
'last_edit' => 'Sat, 07 Jul 2018 15:15:19 +0000',
|
1917 |
+
'name' => 'Walking Away (Video)',
|
1918 |
+
'description' => '',
|
1919 |
+
'frontpage' => '0',
|
1920 |
+
'status' => 'pro',
|
1921 |
+
'name_clean' => 'walking-away-video',
|
1922 |
+
),
|
1923 |
+
120 =>
|
1924 |
+
array (
|
1925 |
+
'type' => 'CSMM PRO',
|
1926 |
+
'version' => '5.005',
|
1927 |
+
'last_edit' => 'Mon, 26 Feb 2018 19:54:07 +0000',
|
1928 |
+
'name' => 'Webinar',
|
1929 |
+
'description' => 'Andrea',
|
1930 |
+
'frontpage' => '1',
|
1931 |
+
'status' => 'agency',
|
1932 |
+
'name_clean' => 'webinar',
|
1933 |
+
),
|
1934 |
+
121 =>
|
1935 |
+
array (
|
1936 |
+
'type' => 'CSMM PRO',
|
1937 |
+
'version' => '5.005',
|
1938 |
+
'last_edit' => 'Fri, 23 Feb 2018 11:53:23 +0000',
|
1939 |
+
'name' => 'Wedding Blog',
|
1940 |
+
'description' => 'Andrea',
|
1941 |
+
'frontpage' => '1',
|
1942 |
+
'status' => 'agency',
|
1943 |
+
'name_clean' => 'wedding-blog',
|
1944 |
+
),
|
1945 |
+
122 =>
|
1946 |
+
array (
|
1947 |
+
'type' => 'CSMM PRO',
|
1948 |
+
'version' => '15.17',
|
1949 |
+
'last_edit' => 'Tue, 22 May 2018 12:41:04 +0000',
|
1950 |
+
'name' => 'White Orchids',
|
1951 |
+
'description' => '',
|
1952 |
+
'frontpage' => '1',
|
1953 |
+
'status' => 'pro',
|
1954 |
+
'name_clean' => 'white-orchids',
|
1955 |
+
),
|
1956 |
+
123 =>
|
1957 |
+
array (
|
1958 |
+
'type' => 'CSMM PRO',
|
1959 |
+
'version' => '5.14',
|
1960 |
+
'last_edit' => 'Thu, 22 Mar 2018 11:29:56 +0000',
|
1961 |
+
'name' => 'Working Out',
|
1962 |
+
'description' => '',
|
1963 |
+
'frontpage' => '1',
|
1964 |
+
'status' => 'agency',
|
1965 |
+
'name_clean' => 'working-out',
|
1966 |
+
),
|
1967 |
+
124 =>
|
1968 |
+
array (
|
1969 |
+
'type' => 'CSMM PRO',
|
1970 |
+
'version' => '15.05',
|
1971 |
+
'last_edit' => 'Fri, 02 Mar 2018 12:36:42 +0000',
|
1972 |
+
'name' => 'Workplace',
|
1973 |
+
'description' => 'Andrea',
|
1974 |
+
'frontpage' => '1',
|
1975 |
+
'status' => 'agency',
|
1976 |
+
'name_clean' => 'workplace',
|
1977 |
+
),
|
1978 |
+
125 =>
|
1979 |
+
array (
|
1980 |
+
'type' => 'CSMM PRO',
|
1981 |
+
'version' => '15.17',
|
1982 |
+
'last_edit' => 'Wed, 25 Apr 2018 11:00:38 +0000',
|
1983 |
+
'name' => 'Writing Service (Video)',
|
1984 |
+
'description' => '',
|
1985 |
+
'frontpage' => '1',
|
1986 |
+
'status' => 'agency',
|
1987 |
+
'name_clean' => 'writing-service-video',
|
1988 |
+
),
|
1989 |
+
);
|
1990 |
|
1991 |
+
function mntc_themes_sort($item1, $item2) {
|
1992 |
+
if (strtotime($item1['last_edit']) == strtotime($item2['last_edit'])) {
|
1993 |
+
return 0;
|
1994 |
+
}
|
1995 |
+
return strtotime($item1['last_edit']) < strtotime($item2['last_edit']) ? 1 : -1;
|
1996 |
+
}
|
1997 |
+
usort($themes,'mntc_themes_sort');
|
1998 |
+
|
1999 |
+
echo '<p>Are you in a hurry? Looking for something that looks great for your site? Pick one of <b>120+ premium pre-built themes</b> and be done in 5 minutes! Our PRO plugin comes with built-in SEO analyzer, a collection of one million images and it can connect to any mailing system like Mailchimp so you can start collecting emails from day one!</p>';
|
2000 |
|
2001 |
$i = 1;
|
2002 |
foreach ($themes as $theme) {
|
2022 |
echo '</div>';
|
2023 |
} // foreach theme
|
2024 |
|
2025 |
+
echo '<p class="textcenter"><a href="#" class="button button-primary" id="show-all-themes">Show All 120+ Themes</a><br><br></p>';
|
2026 |
}
|
2027 |
|
2028 |
function mtnc_csmm_generate_web_link($placement = '', $page = '/', $params = array(), $anchor = '') {
|
2159 |
$promo_text = '';
|
2160 |
$promo_text .= '<div class="sidebar-promo">';
|
2161 |
$promo_text .= '<p>We\'re here for you! We know how frustrating it is when things don\'t work!<br>Please <a href="https://wordpress.org/support/plugin/maintenance/" target="_blank">open a new topic in our official support forum</a> and we\'ll get back to you ASAP! We answer all questions, and most of them within a few hours.</p>';
|
2162 |
+
$promo_text .= '<p><a href="https://wordpress.org/support/plugin/maintenance/" target="_blank" class="button button-secondary">Get Help Now</a></p>';
|
2163 |
$promo_text .= '</div>';
|
2164 |
echo $promo_text; // phpcs:ignore WordPress.Security.EscapeOutput
|
2165 |
}
|
2185 |
echo $promo_text; // phpcs:ignore WordPress.Security.EscapeOutput
|
2186 |
}
|
2187 |
|
2188 |
+
function mtnc_promo_amelia()
|
2189 |
+
{
|
2190 |
+
$promo_text = '';
|
2191 |
+
if (mtnc_is_amelia_active()) {
|
2192 |
+
$promo_text .= '<p>You are minutes away from having your events and booking calendar thanks to <a href="https://wordpress.org/plugins/ameliabooking/" target="_blank">Amelia</a>! Make sure you configure everything in <a href="' . admin_url('admin.php?page=wpamelia-dashboard#/dashboard') . '" target="_blank">Amelia options</a> so that visitors can book their attendances and appointments.</p>';
|
2193 |
+
} else {
|
2194 |
+
$promo_text .= '<a title="Install Amelia and add Event and Appointments Booking" href="#" class="open-amelia-upsell"><img src="' . MTNC_URI . 'images/amelia.png" alt="Install Amelia and add Event and Appointments Booking" title="Install Amelia and add Event and Appointments Booking"></a>';
|
2195 |
+
}
|
2196 |
+
echo $promo_text;
|
2197 |
+
}
|
2198 |
+
|
2199 |
function mtnc_cur_page_url()
|
2200 |
{
|
2201 |
$page_url = 'http';
|
2455 |
'custom_css' => '',
|
2456 |
'exclude_pages' => '',
|
2457 |
'mailoptin_campaign'=> '-1',
|
2458 |
+
'default_settings' => true,
|
2459 |
+
'amelia_enabled' => 0
|
2460 |
);
|
2461 |
|
2462 |
return apply_filters('mtnc_get_default_array', $defaults);
|
js/init.js
CHANGED
@@ -82,9 +82,9 @@ jQuery(window).ready(function($) {
|
|
82 |
jQuery('#review-top').show();
|
83 |
}
|
84 |
if (localStorage.getItem('maintenance-promo-review-hide')) {
|
85 |
-
jQuery('#promo-
|
86 |
} else {
|
87 |
-
jQuery('#promo-
|
88 |
}
|
89 |
jQuery('.hide-review-box').on('click', function(e) {
|
90 |
e.preventDefault();
|
@@ -97,7 +97,7 @@ jQuery(window).ready(function($) {
|
|
97 |
jQuery('.hide-review-box2').on('click', function(e) {
|
98 |
e.preventDefault();
|
99 |
|
100 |
-
jQuery('#promo-
|
101 |
localStorage.setItem('maintenance-promo-review-hide', true);
|
102 |
|
103 |
return false;
|
@@ -152,6 +152,37 @@ jQuery(window).ready(function($) {
|
|
152 |
return false;
|
153 |
});
|
154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
$('body').on('click', '.open-mailoptin-upsell', function(e) {
|
156 |
e.preventDefault();
|
157 |
|
@@ -171,6 +202,14 @@ jQuery(window).ready(function($) {
|
|
171 |
return false;
|
172 |
});
|
173 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
// upsell dialog init
|
175 |
$('#mailoptin-upsell-dialog').dialog({'dialogClass': 'wp-dialog mailoptin-upsell-dialog',
|
176 |
'modal': 1,
|
82 |
jQuery('#review-top').show();
|
83 |
}
|
84 |
if (localStorage.getItem('maintenance-promo-review-hide')) {
|
85 |
+
jQuery('#promo-review2').hide();
|
86 |
} else {
|
87 |
+
jQuery('#promo-review2').show();
|
88 |
}
|
89 |
jQuery('.hide-review-box').on('click', function(e) {
|
90 |
e.preventDefault();
|
97 |
jQuery('.hide-review-box2').on('click', function(e) {
|
98 |
e.preventDefault();
|
99 |
|
100 |
+
jQuery('#promo-review2').hide();
|
101 |
localStorage.setItem('maintenance-promo-review-hide', true);
|
102 |
|
103 |
return false;
|
152 |
return false;
|
153 |
});
|
154 |
|
155 |
+
$('#amelia-upsell-dialog').dialog({'dialogClass': 'wp-dialog amelia-upsell-dialog',
|
156 |
+
'modal': 1,
|
157 |
+
'resizable': false,
|
158 |
+
'title': 'Translate your maintenance page to any language', //todo
|
159 |
+
'zIndex': 9999,
|
160 |
+
'width': 550,
|
161 |
+
'height': 'auto',
|
162 |
+
'show': 'fade',
|
163 |
+
'hide': 'fade',
|
164 |
+
'open': function(event, ui) {
|
165 |
+
maintenance_fix_dialog_close(event, ui);
|
166 |
+
$(this).siblings().find('span.ui-dialog-title').html(mtnc.amelia_dialog_upsell_title);
|
167 |
+
},
|
168 |
+
'close': function(event, ui) { },
|
169 |
+
'autoOpen': false,
|
170 |
+
'closeOnEscape': true
|
171 |
+
});
|
172 |
+
$(window).resize(function(e) {
|
173 |
+
$('#amelia-upsell-dialog').dialog("option", "position", {my: "center", at: "center", of: window});
|
174 |
+
});
|
175 |
+
|
176 |
+
$('body').on('click', '.open-amelia-upsell', function(e) {
|
177 |
+
e.preventDefault();
|
178 |
+
|
179 |
+
$(this).blur();
|
180 |
+
|
181 |
+
$('#amelia-upsell-dialog').dialog('open');
|
182 |
+
|
183 |
+
return false;
|
184 |
+
});
|
185 |
+
|
186 |
$('body').on('click', '.open-mailoptin-upsell', function(e) {
|
187 |
e.preventDefault();
|
188 |
|
202 |
return false;
|
203 |
});
|
204 |
|
205 |
+
jQuery('#install-amelia').on('click',function(e){
|
206 |
+
$('#amelia-upsell-dialog').dialog('close');
|
207 |
+
jQuery('body').append('<div style="width:550px;height:450px; position:fixed;top:10%;left:50%;margin-left:-275px; color:#444; background-color: #fbfbfb;border:1px solid #DDD; border-radius:4px;box-shadow: 0px 0px 0px 4000px rgba(0, 0, 0, 0.85);z-index: 9999999;"><iframe src="' + mtnc.amelia_install_url + '" style="width:100%;height:100%;border:none;" /></div>');
|
208 |
+
jQuery('#wpwrap').css('pointer-events', 'none');
|
209 |
+
e.preventDefault();
|
210 |
+
return false;
|
211 |
+
});
|
212 |
+
|
213 |
// upsell dialog init
|
214 |
$('#mailoptin-upsell-dialog').dialog({'dialogClass': 'wp-dialog mailoptin-upsell-dialog',
|
215 |
'modal': 1,
|
load/index.php
CHANGED
@@ -81,6 +81,10 @@ $google_fonts = mtnc_add_google_fonts();
|
|
81 |
echo '<link rel="stylesheet" href="' . WEGLOT_URL_DIST . '/css/front-css.css?v=' . WEGLOT_VERSION . '" type="text/css">';
|
82 |
echo '<script src="' . WEGLOT_URL_DIST . '/front-js.js?v=' . WEGLOT_VERSION . '"></script>';
|
83 |
}
|
|
|
|
|
|
|
|
|
84 |
?>
|
85 |
</head>
|
86 |
|
@@ -99,6 +103,12 @@ $google_fonts = mtnc_add_google_fonts();
|
|
99 |
<div class="center">
|
100 |
<?php do_action( 'content_section' ); ?>
|
101 |
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
<?php
|
103 |
if (mtnc_is_mailoptin_active() && $mt_options['mailoptin_campaign'] > 0) {
|
104 |
echo MailOptin\Core\Admin\Customizer\OptinForm\OptinFormFactory::build($mt_options['mailoptin_campaign']);
|
81 |
echo '<link rel="stylesheet" href="' . WEGLOT_URL_DIST . '/css/front-css.css?v=' . WEGLOT_VERSION . '" type="text/css">';
|
82 |
echo '<script src="' . WEGLOT_URL_DIST . '/front-js.js?v=' . WEGLOT_VERSION . '"></script>';
|
83 |
}
|
84 |
+
|
85 |
+
if (mtnc_is_amelia_active() && $mt_options['amelia_enabled'] == 1) {
|
86 |
+
$mtnc->mtcn_amelia_scripts_and_styles();
|
87 |
+
}
|
88 |
?>
|
89 |
</head>
|
90 |
|
103 |
<div class="center">
|
104 |
<?php do_action( 'content_section' ); ?>
|
105 |
|
106 |
+
<?php
|
107 |
+
if (mtnc_is_amelia_active() && $mt_options['amelia_enabled'] == 1) {
|
108 |
+
echo do_shortcode('[ameliabooking]');
|
109 |
+
}
|
110 |
+
?>
|
111 |
+
|
112 |
<?php
|
113 |
if (mtnc_is_mailoptin_active() && $mt_options['mailoptin_campaign'] > 0) {
|
114 |
echo MailOptin\Core\Admin\Customizer\OptinForm\OptinFormFactory::build($mt_options['mailoptin_campaign']);
|
maintenance.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Maintenance
|
4 |
Plugin URI: http://wordpress.org/plugins/maintenance/
|
5 |
Description: Put your site in maintenance mode, away from the public view. Use maintenance plugin if your website is in development or you need to change a few things, run an upgrade. Make it only accessible to logged in users.
|
6 |
-
Version: 3.
|
7 |
Author: WP Maintenance
|
8 |
Author URI: https://wpmaintenancemode.com/
|
9 |
License: GPL2
|
@@ -50,6 +50,7 @@ class MTNC
|
|
50 |
|
51 |
add_action('admin_action_mtnc_install_mailoptin', array(&$this, 'install_mailoptin'));
|
52 |
add_action('admin_action_mtnc_install_weglot', array(&$this, 'install_weglot'));
|
|
|
53 |
|
54 |
add_filter(
|
55 |
'plugin_action_links_' . plugin_basename(__FILE__),
|
@@ -116,6 +117,7 @@ class MTNC
|
|
116 |
|
117 |
public static function mtnc_clear_cache()
|
118 |
{
|
|
|
119 |
if (function_exists('w3tc_pgcache_flush')) {
|
120 |
w3tc_pgcache_flush();
|
121 |
}
|
@@ -138,9 +140,15 @@ class MTNC
|
|
138 |
if (isset($GLOBALS['wp_fastest_cache']) && method_exists($GLOBALS['wp_fastest_cache'], 'deleteCache')) {
|
139 |
$GLOBALS['wp_fastest_cache']->deleteCache(true);
|
140 |
}
|
|
|
|
|
|
|
141 |
if (is_callable(array('Swift_Performance_Cache', 'clear_all_cache'))) {
|
142 |
Swift_Performance_Cache::clear_all_cache();
|
143 |
}
|
|
|
|
|
|
|
144 |
}
|
145 |
|
146 |
public function mtnc_user_logout()
|
@@ -290,13 +298,73 @@ class MTNC
|
|
290 |
echo '</div>';
|
291 |
} // install_weglot
|
292 |
|
293 |
-
// auto download / install / activate
|
294 |
-
function
|
295 |
{
|
296 |
if (false === current_user_can('administrator')) {
|
297 |
wp_die('Sorry, you have to be an admin to run this action.');
|
298 |
}
|
299 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
300 |
$plugin_slug = 'mailoptin/mailoptin.php';
|
301 |
$plugin_zip = 'https://downloads.wordpress.org/plugin/mailoptin.latest-stable.zip';
|
302 |
|
@@ -342,7 +410,7 @@ class MTNC
|
|
342 |
echo '<br>If you are not redirected in a few seconds - <a href="admin.php?page=maintenance" target="_parent">click here</a>.';
|
343 |
}
|
344 |
} else {
|
345 |
-
echo 'Could not install MailOptin. You\'ll have to <a target="_parent" href="' . admin_url('plugin-install.php?s=mailoptin&tab=search&type=term') .
|
346 |
}
|
347 |
|
348 |
echo '</div>';
|
@@ -361,6 +429,57 @@ class MTNC
|
|
361 |
return false;
|
362 |
}
|
363 |
} // is_plugin_installed
|
364 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
365 |
|
366 |
$mtnc = new MTNC();
|
3 |
Plugin Name: Maintenance
|
4 |
Plugin URI: http://wordpress.org/plugins/maintenance/
|
5 |
Description: Put your site in maintenance mode, away from the public view. Use maintenance plugin if your website is in development or you need to change a few things, run an upgrade. Make it only accessible to logged in users.
|
6 |
+
Version: 3.85
|
7 |
Author: WP Maintenance
|
8 |
Author URI: https://wpmaintenancemode.com/
|
9 |
License: GPL2
|
50 |
|
51 |
add_action('admin_action_mtnc_install_mailoptin', array(&$this, 'install_mailoptin'));
|
52 |
add_action('admin_action_mtnc_install_weglot', array(&$this, 'install_weglot'));
|
53 |
+
add_action('admin_action_mtnc_install_amelia', array(&$this, 'install_amelia'));
|
54 |
|
55 |
add_filter(
|
56 |
'plugin_action_links_' . plugin_basename(__FILE__),
|
117 |
|
118 |
public static function mtnc_clear_cache()
|
119 |
{
|
120 |
+
wp_cache_flush();
|
121 |
if (function_exists('w3tc_pgcache_flush')) {
|
122 |
w3tc_pgcache_flush();
|
123 |
}
|
140 |
if (isset($GLOBALS['wp_fastest_cache']) && method_exists($GLOBALS['wp_fastest_cache'], 'deleteCache')) {
|
141 |
$GLOBALS['wp_fastest_cache']->deleteCache(true);
|
142 |
}
|
143 |
+
if (is_callable('wpfc_clear_all_cache')) {
|
144 |
+
wpfc_clear_all_cache(true);
|
145 |
+
}
|
146 |
if (is_callable(array('Swift_Performance_Cache', 'clear_all_cache'))) {
|
147 |
Swift_Performance_Cache::clear_all_cache();
|
148 |
}
|
149 |
+
if (is_callable(array('Hummingbird\WP_Hummingbird', 'flush_cache'))) {
|
150 |
+
Hummingbird\WP_Hummingbird::flush_cache(true, false);
|
151 |
+
}
|
152 |
}
|
153 |
|
154 |
public function mtnc_user_logout()
|
298 |
echo '</div>';
|
299 |
} // install_weglot
|
300 |
|
301 |
+
// auto download / install / activate Amelia Booking plugin
|
302 |
+
function install_amelia()
|
303 |
{
|
304 |
if (false === current_user_can('administrator')) {
|
305 |
wp_die('Sorry, you have to be an admin to run this action.');
|
306 |
}
|
307 |
|
308 |
+
$plugin_slug = 'ameliabooking/ameliabooking.php';
|
309 |
+
$plugin_zip = 'https://downloads.wordpress.org/plugin/ameliabooking.latest-stable.zip';
|
310 |
+
|
311 |
+
@include_once ABSPATH . 'wp-admin/includes/plugin.php';
|
312 |
+
@include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
|
313 |
+
@include_once ABSPATH . 'wp-admin/includes/plugin-install.php';
|
314 |
+
@include_once ABSPATH . 'wp-admin/includes/file.php';
|
315 |
+
@include_once ABSPATH . 'wp-admin/includes/misc.php';
|
316 |
+
echo '<style>
|
317 |
+
body{
|
318 |
+
font-family: sans-serif;
|
319 |
+
font-size: 14px;
|
320 |
+
line-height: 1.5;
|
321 |
+
color: #444;
|
322 |
+
}
|
323 |
+
</style>';
|
324 |
+
|
325 |
+
echo '<div style="margin: 20px; color:#444;">';
|
326 |
+
echo 'If things are not done in a minute <a target="_parent" href="' . admin_url('plugin-install.php?s=ameliabooking&tab=search&type=term') . '">install the plugin manually via Plugins page</a><br><br>';
|
327 |
+
echo 'Starting ...<br><br>';
|
328 |
+
|
329 |
+
wp_cache_flush();
|
330 |
+
$upgrader = new Plugin_Upgrader();
|
331 |
+
echo 'Check if Amelia Booking is already installed ... <br />';
|
332 |
+
if ($this->is_plugin_installed($plugin_slug)) {
|
333 |
+
echo 'Amelia Booking is already installed! <br /><br />Making sure it\'s the latest version.<br />';
|
334 |
+
$upgrader->upgrade($plugin_slug);
|
335 |
+
$installed = true;
|
336 |
+
} else {
|
337 |
+
echo 'Installing Amelia Booking.<br />';
|
338 |
+
$installed = $upgrader->install($plugin_zip);
|
339 |
+
}
|
340 |
+
wp_cache_flush();
|
341 |
+
|
342 |
+
if (!is_wp_error($installed) && $installed) {
|
343 |
+
echo 'Activating Amelia Booking.<br />';
|
344 |
+
$activate = activate_plugin($plugin_slug);
|
345 |
+
|
346 |
+
echo 'Amelia Booking Activated.<br />';
|
347 |
+
|
348 |
+
$mt_options = mtnc_get_plugin_options(true);
|
349 |
+
$mt_options['amelia_enabled'] = 1;
|
350 |
+
update_option('maintenance_options', $mt_options);
|
351 |
+
|
352 |
+
echo '<script>setTimeout(function() { top.location = "admin.php?page=maintenance"; }, 1000);</script>';
|
353 |
+
echo '<br>If you are not redirected in a few seconds - <a href="admin.php?page=maintenance" target="_parent">click here</a>.';
|
354 |
+
|
355 |
+
} else {
|
356 |
+
echo 'Could not install Amelia Booking. You\'ll have to <a target="_parent" href="' . admin_url('plugin-install.php?s=ameliabooking&tab=search&type=term') . '">download and install manually</a>.';
|
357 |
+
}
|
358 |
+
|
359 |
+
echo '</div>';
|
360 |
+
} // install_ameliabooking
|
361 |
+
|
362 |
+
// auto download / install / activate MailOptin plugin
|
363 |
+
function install_mailoptin() {
|
364 |
+
if (false === current_user_can('administrator')) {
|
365 |
+
wp_die('Sorry, you have to be an admin to run this action.');
|
366 |
+
}
|
367 |
+
|
368 |
$plugin_slug = 'mailoptin/mailoptin.php';
|
369 |
$plugin_zip = 'https://downloads.wordpress.org/plugin/mailoptin.latest-stable.zip';
|
370 |
|
410 |
echo '<br>If you are not redirected in a few seconds - <a href="admin.php?page=maintenance" target="_parent">click here</a>.';
|
411 |
}
|
412 |
} else {
|
413 |
+
echo 'Could not install MailOptin. You\'ll have to <a target="_parent" href="' . admin_url('plugin-install.php?s=mailoptin&tab=search&type=term') .'">download and install manually</a>.';
|
414 |
}
|
415 |
|
416 |
echo '</div>';
|
429 |
return false;
|
430 |
}
|
431 |
} // is_plugin_installed
|
432 |
+
|
433 |
+
function mtcn_amelia_scripts_and_styles()
|
434 |
+
{
|
435 |
+
$settingsService = new AmeliaBooking\Domain\Services\Settings\SettingsService(new AmeliaBooking\Infrastructure\WP\SettingsService\SettingsStorage());
|
436 |
+
|
437 |
+
// Enqueue Scripts
|
438 |
+
if ($settingsService->getSetting('payments', 'payPal')['enabled'] === true) {
|
439 |
+
echo '<script src="https://www.paypalobjects.com/api/checkout.js"></script>';
|
440 |
+
}
|
441 |
+
|
442 |
+
echo '<script src="https://polyfill.io/v2/polyfill.js?features=Intl.~locale.en"></script>';
|
443 |
+
|
444 |
+
echo '<script>
|
445 |
+
var wpAmeliaUrls = '.wp_json_encode( [
|
446 |
+
'wpAmeliaPluginURL' => AMELIA_URL,
|
447 |
+
'wpAmeliaPluginAjaxURL' => AMELIA_ACTION_URL
|
448 |
+
] ).';
|
449 |
+
</script>';
|
450 |
+
|
451 |
+
echo '<script>
|
452 |
+
var wpAmeliaLabels = '.wp_json_encode( AmeliaBooking\Infrastructure\WP\Translations\FrontendStrings::getAllStrings() ).';
|
453 |
+
</script>';
|
454 |
+
|
455 |
+
echo '<script>
|
456 |
+
var wpAmeliaSettings = '.wp_json_encode( $settingsService->getFrontendSettings() ).';
|
457 |
+
</script>';
|
458 |
+
|
459 |
+
echo '<script>
|
460 |
+
var localeLanguage = '.wp_json_encode( AMELIA_LOCALE ).';
|
461 |
+
</script>';
|
462 |
+
|
463 |
+
echo '<script>
|
464 |
+
var fileUploadExtensions = '.wp_json_encode( array_keys(AmeliaBooking\Application\Services\CustomField\CustomFieldApplicationService::$allowedUploadedFileExtensions) ).';
|
465 |
+
</script>';
|
466 |
+
|
467 |
+
// Fix for Divi theme.
|
468 |
+
// Don't enqueue script if it's activated Divi Visual Page Builder
|
469 |
+
if (empty($_GET['et_fb'])) {
|
470 |
+
echo '<script src="' . AMELIA_URL . 'public/js/frontend/amelia-booking.js?v=' . AMELIA_VERSION . '"></script>';
|
471 |
+
}
|
472 |
+
|
473 |
+
if ($settingsService->getSetting('payments', 'stripe')['enabled'] === true) {
|
474 |
+
echo '<script src="https://js.stripe.com/v3/"></script>';
|
475 |
+
}
|
476 |
+
|
477 |
+
// Enqueue Styles
|
478 |
+
echo '<link rel="stylesheet" href="' . AMELIA_URL . 'public/css/frontend/vendor.css?v=' . AMELIA_VERSION . '" type="text/css">';
|
479 |
+
echo '<link rel="stylesheet" href="' . UPLOADS_URL . '/amelia/css/amelia-booking.css?v=' . AMELIA_VERSION . '" type="text/css">';
|
480 |
+
|
481 |
+
}
|
482 |
+
|
483 |
+
}
|
484 |
|
485 |
$mtnc = new MTNC();
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: WebFactory, UnderConstructionPage, googlemapswidget, wpreset
|
3 |
Tags: maintenance, maintenance mode, maintenance page, coming soon, coming soon page, under construction, under construction page
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 5.
|
6 |
-
Stable tag: 3.
|
7 |
Requires PHP: 5.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -18,6 +18,8 @@ Thanks to our partners at <a href="https://wordpress.org/plugins/weglot/">Weglot
|
|
18 |
|
19 |
WP Maintenance has full support for collecting leads and subscribers via optin boxes in content, and optin popups. We've integrated <a href="https://wordpress.org/plugins/mailoptin/">MailOptin</a> a great, free plugin into Maintenance that connects to MailChimp and numerous other autoresponder services allowing you to easily collect emails.
|
20 |
|
|
|
|
|
21 |
<h3>Features</h3>
|
22 |
<ul>
|
23 |
<li>retina ready HTML/CSS layout</li>
|
@@ -31,6 +33,7 @@ WP Maintenance has full support for collecting leads and subscribers via optin b
|
|
31 |
<li>503 error on/off</li>
|
32 |
<li>Google analytics support</li>
|
33 |
<li>Exclude selected pages from Maintenance mode</li>
|
|
|
34 |
</ul>
|
35 |
|
36 |
<h3>Support</h3>
|
@@ -85,7 +88,13 @@ Please post the question on the <a href="http://wordpress.org/support/plugin/mai
|
|
85 |
|
86 |
== Change log ==
|
87 |
|
88 |
-
=
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
- 2019/09/25
|
90 |
- numerous bug fixes
|
91 |
- added preview button
|
2 |
Contributors: WebFactory, UnderConstructionPage, googlemapswidget, wpreset
|
3 |
Tags: maintenance, maintenance mode, maintenance page, coming soon, coming soon page, under construction, under construction page
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 5.4
|
6 |
+
Stable tag: 3.85
|
7 |
Requires PHP: 5.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
18 |
|
19 |
WP Maintenance has full support for collecting leads and subscribers via optin boxes in content, and optin popups. We've integrated <a href="https://wordpress.org/plugins/mailoptin/">MailOptin</a> a great, free plugin into Maintenance that connects to MailChimp and numerous other autoresponder services allowing you to easily collect emails.
|
20 |
|
21 |
+
You can easily add events and bookings calendar to your maintenance page thanks to our integration with <a href="https://wordpress.org/plugins/ameliabooking/">Amelia</a> - a free events & appointments booking calendar. It sets up in minutes and you can immediately start taking appointments.
|
22 |
+
|
23 |
<h3>Features</h3>
|
24 |
<ul>
|
25 |
<li>retina ready HTML/CSS layout</li>
|
33 |
<li>503 error on/off</li>
|
34 |
<li>Google analytics support</li>
|
35 |
<li>Exclude selected pages from Maintenance mode</li>
|
36 |
+
<li>Support for all popular caching plugins</li>
|
37 |
</ul>
|
38 |
|
39 |
<h3>Support</h3>
|
88 |
|
89 |
== Change log ==
|
90 |
|
91 |
+
= v3.85 =
|
92 |
+
- 2019/11/28
|
93 |
+
- bug fixes
|
94 |
+
- added integration with Amelia Booking
|
95 |
+
- added support for Hummingbird Cache plugin
|
96 |
+
|
97 |
+
= v3.80 =
|
98 |
- 2019/09/25
|
99 |
- numerous bug fixes
|
100 |
- added preview button
|