Version Description
Download this release
Release Info
Developer | alexkovalevv |
Plugin | ![]() |
Version | 7.2.9 |
Comparing to | |
See all releases |
Code changes from version 7.2.8 to 7.2.9
- admin/assets/css/dashboard-dashboard.css +3 -3
- admin/assets/css/setup/page-setup.css +2 -2
- admin/assets/css/titan-security.css +18 -18
- admin/assets/js/dashboard.js +19 -19
- admin/assets/js/firewall/firewall-block-ip.js +3 -3
- admin/assets/js/firewall/firewall-dashboard.js +7 -7
- admin/assets/js/import.js +9 -9
- admin/assets/js/install-addons.js +15 -15
- admin/boot.php +3 -3
- admin/class-activation.php +2 -2
- admin/class-page-titan-basic.php +4 -4
- admin/pages/class-page-backup.php +2 -2
- admin/pages/class-page-two-factor.php +2 -2
- admin/pages/class-pages-antispam.php +3 -3
- admin/pages/class-pages-check.php +4 -4
- admin/pages/class-pages-components-license.php +5 -5
- admin/pages/class-pages-components.php +5 -5
- admin/pages/class-pages-dashboard.php +2 -2
- admin/pages/class-pages-license.php +8 -8
- admin/pages/class-pages-logs.php +2 -2
- admin/pages/class-pages-plugin-settings.php +3 -3
- admin/pages/class-pages-scanner.php +3 -3
- admin/pages/class-pages-sitechecker.php +2 -2
- admin/pages/class-pages-tweaks.php +3 -3
- admin/pages/firewall/class-pages-bruteforce.php +3 -3
- admin/pages/firewall/class-pages-firewall-attacks-log.php +1 -1
- admin/pages/firewall/class-pages-firewall-blocking.php +2 -2
- admin/pages/firewall/class-pages-firewall-login-attempts.php +1 -1
- admin/pages/firewall/class-pages-firewall-settings.php +2 -2
- admin/pages/firewall/class-pages-firewall.php +1 -1
- admin/pages/setup/class-pages-setup.php +6 -6
- admin/pages/setup/steps/class-step-congratulation.php +3 -3
- admin/pages/setup/steps/class-step-default.php +5 -5
- admin/pages/setup/steps/class-step-plugins.php +2 -2
- admin/pages/setup/steps/class-step-security-audit.php +2 -2
- admin/pages/setup/steps/class-step-setting-antispam.php +1 -1
- admin/pages/setup/steps/class-step-setting-scan-malware.php +2 -2
- admin/pages/setup/steps/class-step-setting-tweaks.php +1 -1
- anti-spam.php +8 -8
- includes/antispam/assets/js/settings.js +2 -2
- includes/antispam/classes/class-antispam.php +6 -4
- includes/audit/assets/js/audit_ajax.js +2 -2
- includes/class-titan-security-plugin.php +3 -3
- includes/class.module-base.php +1 -1
- includes/functions.php +2 -2
- includes/helpers.php +1 -1
- includes/logger/assets/js/base.js +2 -2
- includes/scanner/assets/js/scanner.js +2 -2
- includes/sitechecker/assets/js/app.js +3 -3
- includes/sitechecker/assets/js/sitechecker.js +3 -3
- includes/vulnerabilities/assets/js/vulnerability_ajax.js +2 -2
- libs/antispam-premium/admin/assets/js/check-existing-comments.js +2 -2
- libs/antispam-premium/admin/boot.php +2 -2
- libs/antispam-premium/admin/pages/class-pages-settings.php +2 -2
- libs/antispam-premium/includes/class-request-api.php +2 -1
- libs/factory/bootstrap/assets/css-min/bootstrap.accordion.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.blue.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.coffee.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.core.min.css +2 -16
- libs/factory/bootstrap/assets/css-min/bootstrap.datepicker.min.css +2 -8
- libs/factory/bootstrap/assets/css-min/bootstrap.datetimepicker.min.css +2 -6
- libs/factory/bootstrap/assets/css-min/bootstrap.ectoplasm.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.form-group.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.form-metabox.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.light.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.midnight.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.ocean.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.separator.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.sunrise.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.tab.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/bootstrap.wp-editor.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.checkbox.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.color-and-opacity.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.color.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.dropdown-and-colors.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.dropdown.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.fonts.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.list.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.multiple-textbox.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.pattern.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/control.radio-colors.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/holder.conrol-group.min.css +1 -1
- libs/factory/bootstrap/assets/css-min/holder.more-link.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/plugin.chosen.min.css +2 -12
- libs/factory/bootstrap/assets/css-min/plugin.gradient-picker.min.css +2 -2
- libs/factory/bootstrap/assets/css-min/plugin.nouislider.min.css +1 -1
- libs/factory/bootstrap/assets/css-min/plugin.paddings-editor.min.css +2 -2
- libs/factory/bootstrap/assets/css/bootstrap.accordion.css +6 -6
- libs/factory/bootstrap/assets/css/bootstrap.blue.css +13 -13
- libs/factory/bootstrap/assets/css/bootstrap.coffee.css +13 -13
- libs/factory/bootstrap/assets/css/bootstrap.core.css +1774 -1805
- libs/factory/bootstrap/assets/css/bootstrap.datepicker.css +0 -7
- libs/factory/bootstrap/assets/css/bootstrap.datetimepicker.css +71 -76
- libs/factory/bootstrap/assets/css/bootstrap.ectoplasm.css +13 -13
- libs/factory/bootstrap/assets/css/bootstrap.form-group.css +9 -9
- libs/factory/bootstrap/assets/css/bootstrap.form-metabox.css +8 -8
- libs/factory/bootstrap/assets/css/bootstrap.light.css +13 -13
- libs/factory/bootstrap/assets/css/bootstrap.midnight.css +13 -13
- libs/factory/bootstrap/assets/css/bootstrap.ocean.css +13 -13
- libs/factory/bootstrap/assets/css/bootstrap.separator.css +1 -1
- libs/factory/bootstrap/assets/css/bootstrap.sunrise.css +13 -13
- libs/factory/bootstrap/assets/css/bootstrap.tab.css +20 -20
- libs/factory/bootstrap/assets/css/bootstrap.wp-editor.css +10 -10
- libs/factory/bootstrap/assets/css/control.checkbox.css +15 -15
- libs/factory/bootstrap/assets/css/control.color-and-opacity.css +6 -6
- libs/factory/bootstrap/assets/css/control.color.css +7 -7
- libs/factory/bootstrap/assets/css/control.dropdown-and-colors.css +4 -4
- libs/factory/bootstrap/assets/css/control.dropdown.css +14 -14
- libs/factory/bootstrap/assets/css/control.fonts.css +6 -6
- libs/factory/bootstrap/assets/css/control.list.css +13 -13
- libs/factory/bootstrap/assets/css/control.multiple-textbox.css +7 -7
- libs/factory/bootstrap/assets/css/control.pattern.css +31 -31
- libs/factory/bootstrap/assets/css/control.radio-colors.css +6 -6
- libs/factory/bootstrap/assets/css/holder.more-link.css +5 -5
- libs/factory/bootstrap/assets/css/plugin.chosen.css +0 -12
- libs/factory/bootstrap/assets/css/plugin.gradient-picker.css +23 -23
- libs/factory/bootstrap/assets/css/plugin.paddings-editor.css +19 -19
- libs/factory/bootstrap/assets/js-min/bootstrap.accordion.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/bootstrap.affix.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.alert.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.button.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.carousel.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.collapse.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/bootstrap.datepicker.min.js +1 -8
- libs/factory/bootstrap/assets/js-min/bootstrap.datetimepicker.min.js +2 -9
- libs/factory/bootstrap/assets/js-min/bootstrap.dropdown.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/bootstrap.modal.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/bootstrap.popover.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.scrollspy.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.tab.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.tooltip.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/bootstrap.transition.min.js +1 -1
- libs/factory/bootstrap/assets/js-min/control.checkbox.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.color-and-opacity.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.color.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.dropdown-and-colors.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.dropdown.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.fonts.min.js +2 -2
- libs/factory/bootstrap/assets/js-min/control.gradient.min.js +2 -2
admin/assets/css/dashboard-dashboard.css
CHANGED
@@ -106,13 +106,13 @@
|
|
106 |
border-radius: 5px !important;
|
107 |
}
|
108 |
|
109 |
-
.factory-bootstrap-
|
110 |
background-color: #5d05b7 !important;
|
111 |
box-shadow: none !important;
|
112 |
border: none !important;
|
113 |
}
|
114 |
|
115 |
-
.factory-bootstrap-
|
116 |
background-color: #5d05b7 !important;
|
117 |
box-shadow: none !important;
|
118 |
border: none !important;
|
@@ -122,7 +122,7 @@
|
|
122 |
background: #fff !important;
|
123 |
}
|
124 |
|
125 |
-
.factory-bootstrap-
|
126 |
background-color: #efefef !important;
|
127 |
}
|
128 |
|
106 |
border-radius: 5px !important;
|
107 |
}
|
108 |
|
109 |
+
.factory-bootstrap-454 .factory-buttons-way .factory-on.active {
|
110 |
background-color: #5d05b7 !important;
|
111 |
box-shadow: none !important;
|
112 |
border: none !important;
|
113 |
}
|
114 |
|
115 |
+
.factory-bootstrap-454 .factory-buttons-way .factory-off.active {
|
116 |
background-color: #5d05b7 !important;
|
117 |
box-shadow: none !important;
|
118 |
border: none !important;
|
122 |
background: #fff !important;
|
123 |
}
|
124 |
|
125 |
+
.factory-bootstrap-454 .nav-tabs > li.active > a, .factory-bootstrap-454 .nav-tabs > li.active > a:focus, .factory-bootstrap-454 .nav-tabs > li.active > a:hover {
|
126 |
background-color: #efefef !important;
|
127 |
}
|
128 |
|
admin/assets/css/setup/page-setup.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
.w-factory-templates-
|
2 |
border-color: #5d05b7 !important;
|
3 |
}
|
4 |
-
.w-factory-templates-
|
5 |
border-color: #5d05b7 !important;
|
6 |
}
|
7 |
.wtitan-status-circular {
|
1 |
+
.w-factory-templates-106-setup-steps li.active {
|
2 |
border-color: #5d05b7 !important;
|
3 |
}
|
4 |
+
.w-factory-templates-106-setup-steps li.active::before {
|
5 |
border-color: #5d05b7 !important;
|
6 |
}
|
7 |
.wtitan-status-circular {
|
admin/assets/css/titan-security.css
CHANGED
@@ -6,7 +6,7 @@ h2.nav-tab-wrapper {
|
|
6 |
background-color:#5d05b7 !important;
|
7 |
}
|
8 |
|
9 |
-
/*#WBCR .wbcr-factory-pages-
|
10 |
{
|
11 |
padding: 10px !important;
|
12 |
/*position: absolute !important;
|
@@ -14,39 +14,39 @@ h2.nav-tab-wrapper {
|
|
14 |
|
15 |
opacity: 0.8;
|
16 |
}*/
|
17 |
-
#WBCR .wbcr-factory-pages-
|
18 |
|
19 |
/*opacity: 0.8;*/
|
20 |
}
|
21 |
|
22 |
-
#WBCR .wbcr-factory-pages-
|
23 |
border-radius: 5px 5px 0 0;
|
24 |
}
|
25 |
|
26 |
-
#WBCR .wbcr-factory-pages-
|
27 |
background-color: #5d05b7 !important;
|
28 |
}
|
29 |
|
30 |
-
#WBCR .wbcr-factory-pages-
|
31 |
border-left: 5px solid #efefef !important;
|
32 |
}
|
33 |
|
34 |
-
#WBCR .wbcr-factory-pages-
|
35 |
border: 0 !important;
|
36 |
}
|
37 |
|
38 |
-
#WBCR .wbcr-factory-pages-
|
39 |
-
#WBCR .wbcr-factory-pages-
|
40 |
color: #5d05b7 !important;
|
41 |
border-left: 5px solid #5d05b7 !important;
|
42 |
}
|
43 |
|
44 |
-
#WBCR .wbcr-factory-pages-
|
45 |
-
#WBCR .wbcr-factory-pages-
|
46 |
color: #5d05b7 !important;
|
47 |
}
|
48 |
|
49 |
-
#WBCR .wbcr-factory-pages-
|
50 |
background-color: #5d05b7 !important;
|
51 |
color: #ffffff !important;
|
52 |
display: block;
|
@@ -57,36 +57,36 @@ h2.nav-tab-wrapper {
|
|
57 |
border: 2px solid #ffffff;
|
58 |
}
|
59 |
|
60 |
-
#WBCR .wbcr-factory-pages-
|
61 |
background-color: #ffffff !important;
|
62 |
color: #5d05b7 !important;
|
63 |
border-color: #5d05b7 !important;
|
64 |
}
|
65 |
|
66 |
-
#WBCR .wbcr-factory-pages-
|
67 |
content: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%235d05b7%27%2F%3E%3C%2Fsvg%3E) !important;
|
68 |
}
|
69 |
|
70 |
/*--------------------------*/
|
71 |
-
.factory-bootstrap-
|
72 |
display: inline;
|
73 |
background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
|
74 |
background-size: 16px 16px !important;
|
75 |
}
|
76 |
|
77 |
-
.factory-bootstrap-
|
78 |
background: #b083de !important;
|
79 |
color: #ffffff !important;
|
80 |
}
|
81 |
|
82 |
-
.factory-bootstrap-
|
83 |
background: #5d05b7 !important;
|
84 |
border-color: #27004e !important;
|
85 |
box-shadow: none !important;
|
86 |
-webkit-box-shadow: none !important;
|
87 |
}
|
88 |
|
89 |
-
.factory-bootstrap-
|
90 |
background-color: #b083de !important;
|
91 |
-webkit-box-shadow: inset 0 1px 1px #8651bd !important;
|
92 |
box-shadow: inset 0 1px 3px #8651bd !important;
|
@@ -95,7 +95,7 @@ h2.nav-tab-wrapper {
|
|
95 |
border-left: 1px solid #8651bd !important;
|
96 |
}
|
97 |
|
98 |
-
.factory-bootstrap-
|
99 |
background-color: #b083de !important;
|
100 |
-webkit-box-shadow: inset 0 1px 1px #8651bd !important;
|
101 |
box-shadow: inset 0 1px 3px #8651bd !important;
|
6 |
background-color:#5d05b7 !important;
|
7 |
}
|
8 |
|
9 |
+
/*#WBCR .wbcr-factory-pages-452-impressive-page-template .alert
|
10 |
{
|
11 |
padding: 10px !important;
|
12 |
/*position: absolute !important;
|
14 |
|
15 |
opacity: 0.8;
|
16 |
}*/
|
17 |
+
#WBCR .wbcr-factory-pages-452-impressive-page-template .wbcr-factory-page-inner-wrap .nav-tab {
|
18 |
|
19 |
/*opacity: 0.8;*/
|
20 |
}
|
21 |
|
22 |
+
#WBCR .wbcr-factory-pages-452-impressive-page-template .wbcr-factory-page-inner-wrap .nav-tab {
|
23 |
border-radius: 5px 5px 0 0;
|
24 |
}
|
25 |
|
26 |
+
#WBCR .wbcr-factory-pages-452-impressive-page-template .wbcr-factory-page-header {
|
27 |
background-color: #5d05b7 !important;
|
28 |
}
|
29 |
|
30 |
+
#WBCR .wbcr-factory-pages-452-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab a {
|
31 |
border-left: 5px solid #efefef !important;
|
32 |
}
|
33 |
|
34 |
+
#WBCR .wbcr-factory-pages-452-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab.wbcr-factory-active-tab {
|
35 |
border: 0 !important;
|
36 |
}
|
37 |
|
38 |
+
#WBCR .wbcr-factory-pages-452-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab.wbcr-factory-active-tab a,
|
39 |
+
#WBCR .wbcr-factory-pages-452-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab a:hover {
|
40 |
color: #5d05b7 !important;
|
41 |
border-left: 5px solid #5d05b7 !important;
|
42 |
}
|
43 |
|
44 |
+
#WBCR .wbcr-factory-pages-452-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab.wbcr-factory-active-tab a .dashicons,
|
45 |
+
#WBCR .wbcr-factory-pages-452-impressive-page-template .wbcr-factory-left-navigation-bar ul .wbcr-factory-nav-tab a:hover .dashicons {
|
46 |
color: #5d05b7 !important;
|
47 |
}
|
48 |
|
49 |
+
#WBCR .wbcr-factory-pages-452-impressive-page-template .wbcr-factory-page-header .wbcr-factory-button.wbcr-factory-type-save {
|
50 |
background-color: #5d05b7 !important;
|
51 |
color: #ffffff !important;
|
52 |
display: block;
|
57 |
border: 2px solid #ffffff;
|
58 |
}
|
59 |
|
60 |
+
#WBCR .wbcr-factory-pages-452-impressive-page-template .wbcr-factory-page-header .wbcr-factory-button.wbcr-factory-type-save:hover {
|
61 |
background-color: #ffffff !important;
|
62 |
color: #5d05b7 !important;
|
63 |
border-color: #5d05b7 !important;
|
64 |
}
|
65 |
|
66 |
+
#WBCR .wbcr-factory-pages-452-impressive-page-template input[type="checkbox"]:checked::before {
|
67 |
content: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%235d05b7%27%2F%3E%3C%2Fsvg%3E) !important;
|
68 |
}
|
69 |
|
70 |
/*--------------------------*/
|
71 |
+
.factory-bootstrap-454 select.form-control {
|
72 |
display: inline;
|
73 |
background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
|
74 |
background-size: 16px 16px !important;
|
75 |
}
|
76 |
|
77 |
+
.factory-bootstrap-454 .btn-default.active, .factory-bootstrap-454 .btn-default:active {
|
78 |
background: #b083de !important;
|
79 |
color: #ffffff !important;
|
80 |
}
|
81 |
|
82 |
+
.factory-bootstrap-454 .btn-primary {
|
83 |
background: #5d05b7 !important;
|
84 |
border-color: #27004e !important;
|
85 |
box-shadow: none !important;
|
86 |
-webkit-box-shadow: none !important;
|
87 |
}
|
88 |
|
89 |
+
.factory-bootstrap-454 .factory-buttons-way .factory-on.active {
|
90 |
background-color: #b083de !important;
|
91 |
-webkit-box-shadow: inset 0 1px 1px #8651bd !important;
|
92 |
box-shadow: inset 0 1px 3px #8651bd !important;
|
95 |
border-left: 1px solid #8651bd !important;
|
96 |
}
|
97 |
|
98 |
+
.factory-bootstrap-454 .factory-buttons-way .factory-off.active {
|
99 |
background-color: #b083de !important;
|
100 |
-webkit-box-shadow: inset 0 1px 1px #8651bd !important;
|
101 |
box-shadow: inset 0 1px 3px #8651bd !important;
|
admin/assets/js/dashboard.js
CHANGED
@@ -24,11 +24,11 @@ jQuery(document).ready(function ($) {
|
|
24 |
console.log(data);
|
25 |
|
26 |
if (data) {
|
27 |
-
noticeId = $.
|
28 |
}
|
29 |
|
30 |
setTimeout(function () {
|
31 |
-
$.
|
32 |
}, 5000);
|
33 |
return;
|
34 |
} else {
|
@@ -43,7 +43,7 @@ jQuery(document).ready(function ($) {
|
|
43 |
console.log(xhr.responseText);
|
44 |
console.log(thrownError);
|
45 |
|
46 |
-
var noticeId = $.
|
47 |
}
|
48 |
});
|
49 |
});
|
@@ -68,13 +68,13 @@ jQuery(document).ready(function ($) {
|
|
68 |
block.removeClass('wt-block-loading');
|
69 |
|
70 |
if (data.error_message) {
|
71 |
-
noticeId = $.
|
72 |
} else {
|
73 |
-
noticeId = $.
|
74 |
}
|
75 |
|
76 |
setTimeout(function () {
|
77 |
-
$.
|
78 |
}, 5000);
|
79 |
return;
|
80 |
|
@@ -85,7 +85,7 @@ jQuery(document).ready(function ($) {
|
|
85 |
console.log(xhr.responseText);
|
86 |
console.log(thrownError);
|
87 |
|
88 |
-
var noticeId = $.
|
89 |
}
|
90 |
});
|
91 |
});
|
@@ -112,19 +112,19 @@ jQuery(document).ready(function ($) {
|
|
112 |
if (!data || data.error) {
|
113 |
|
114 |
if (data) {
|
115 |
-
noticeId = $.
|
116 |
}
|
117 |
|
118 |
setTimeout(function () {
|
119 |
-
$.
|
120 |
}, 5000);
|
121 |
return;
|
122 |
} else {
|
123 |
if (data) {
|
124 |
-
noticeId = $.
|
125 |
}
|
126 |
setTimeout(function () {
|
127 |
-
$.
|
128 |
}, 5000);
|
129 |
}
|
130 |
$('.wt-scanner-speed-button').removeClass('disabled');
|
@@ -136,7 +136,7 @@ jQuery(document).ready(function ($) {
|
|
136 |
console.log(xhr.responseText);
|
137 |
console.log(thrownError);
|
138 |
|
139 |
-
var noticeId = $.
|
140 |
}
|
141 |
});
|
142 |
|
@@ -164,19 +164,19 @@ jQuery(document).ready(function ($) {
|
|
164 |
if (!data || data.error) {
|
165 |
|
166 |
if (data) {
|
167 |
-
noticeId = $.
|
168 |
}
|
169 |
|
170 |
setTimeout(function () {
|
171 |
-
$.
|
172 |
}, 5000);
|
173 |
return;
|
174 |
} else {
|
175 |
if (data) {
|
176 |
-
noticeId = $.
|
177 |
}
|
178 |
setTimeout(function () {
|
179 |
-
$.
|
180 |
}, 5000);
|
181 |
}
|
182 |
$('.wt-scanner-schedule-button').removeClass('disabled');
|
@@ -188,7 +188,7 @@ jQuery(document).ready(function ($) {
|
|
188 |
console.log(xhr.responseText);
|
189 |
console.log(thrownError);
|
190 |
|
191 |
-
var noticeId = $.
|
192 |
}
|
193 |
});
|
194 |
|
@@ -213,9 +213,9 @@ jQuery(document).ready(function ($) {
|
|
213 |
jQuery('[data-action="digest-state"][disabled]').removeAttr('disabled');
|
214 |
btn.attr('disabled', 'disabled');
|
215 |
|
216 |
-
var noticeId = jQuery.
|
217 |
setTimeout(function () {
|
218 |
-
jQuery.
|
219 |
}, 5000);
|
220 |
});
|
221 |
})
|
24 |
console.log(data);
|
25 |
|
26 |
if (data) {
|
27 |
+
noticeId = $.wbcr_factory_templates_106.app.showNotice(data.error_message, 'danger');
|
28 |
}
|
29 |
|
30 |
setTimeout(function () {
|
31 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
32 |
}, 5000);
|
33 |
return;
|
34 |
} else {
|
43 |
console.log(xhr.responseText);
|
44 |
console.log(thrownError);
|
45 |
|
46 |
+
var noticeId = $.wbcr_factory_templates_106.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
47 |
}
|
48 |
});
|
49 |
});
|
68 |
block.removeClass('wt-block-loading');
|
69 |
|
70 |
if (data.error_message) {
|
71 |
+
noticeId = $.wbcr_factory_templates_106.app.showNotice(data.error_message, 'danger');
|
72 |
} else {
|
73 |
+
noticeId = $.wbcr_factory_templates_106.app.showNotice(data.message, 'success');
|
74 |
}
|
75 |
|
76 |
setTimeout(function () {
|
77 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
78 |
}, 5000);
|
79 |
return;
|
80 |
|
85 |
console.log(xhr.responseText);
|
86 |
console.log(thrownError);
|
87 |
|
88 |
+
var noticeId = $.wbcr_factory_templates_106.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
89 |
}
|
90 |
});
|
91 |
});
|
112 |
if (!data || data.error) {
|
113 |
|
114 |
if (data) {
|
115 |
+
noticeId = $.wbcr_factory_templates_106.app.showNotice(data.error_message, 'danger');
|
116 |
}
|
117 |
|
118 |
setTimeout(function () {
|
119 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
120 |
}, 5000);
|
121 |
return;
|
122 |
} else {
|
123 |
if (data) {
|
124 |
+
noticeId = $.wbcr_factory_templates_106.app.showNotice(data.message, 'success');
|
125 |
}
|
126 |
setTimeout(function () {
|
127 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
128 |
}, 5000);
|
129 |
}
|
130 |
$('.wt-scanner-speed-button').removeClass('disabled');
|
136 |
console.log(xhr.responseText);
|
137 |
console.log(thrownError);
|
138 |
|
139 |
+
var noticeId = $.wbcr_factory_templates_106.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
140 |
}
|
141 |
});
|
142 |
|
164 |
if (!data || data.error) {
|
165 |
|
166 |
if (data) {
|
167 |
+
noticeId = $.wbcr_factory_templates_106.app.showNotice(data.error_message, 'danger');
|
168 |
}
|
169 |
|
170 |
setTimeout(function () {
|
171 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
172 |
}, 5000);
|
173 |
return;
|
174 |
} else {
|
175 |
if (data) {
|
176 |
+
noticeId = $.wbcr_factory_templates_106.app.showNotice(data.message, 'success');
|
177 |
}
|
178 |
setTimeout(function () {
|
179 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
180 |
}, 5000);
|
181 |
}
|
182 |
$('.wt-scanner-schedule-button').removeClass('disabled');
|
188 |
console.log(xhr.responseText);
|
189 |
console.log(thrownError);
|
190 |
|
191 |
+
var noticeId = $.wbcr_factory_templates_106.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
192 |
}
|
193 |
});
|
194 |
|
213 |
jQuery('[data-action="digest-state"][disabled]').removeAttr('disabled');
|
214 |
btn.attr('disabled', 'disabled');
|
215 |
|
216 |
+
var noticeId = jQuery.wbcr_factory_templates_106.app.showNotice(msg, type);
|
217 |
setTimeout(function () {
|
218 |
+
jQuery.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
219 |
}, 5000);
|
220 |
});
|
221 |
})
|
admin/assets/js/firewall/firewall-block-ip.js
CHANGED
@@ -80,11 +80,11 @@
|
|
80 |
console.log(data);
|
81 |
|
82 |
if (data) {
|
83 |
-
noticeId = $.
|
84 |
}
|
85 |
|
86 |
setTimeout(function () {
|
87 |
-
$.
|
88 |
}, 5000);
|
89 |
return data;
|
90 |
}
|
@@ -96,7 +96,7 @@
|
|
96 |
console.log(xhr.responseText);
|
97 |
console.log(thrownError);
|
98 |
|
99 |
-
var noticeId = $.
|
100 |
reject(thrownError);
|
101 |
Swal.close();
|
102 |
}
|
80 |
console.log(data);
|
81 |
|
82 |
if (data) {
|
83 |
+
noticeId = $.wbcr_factory_templates_106.app.showNotice(data.error_message, 'danger');
|
84 |
}
|
85 |
|
86 |
setTimeout(function () {
|
87 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
88 |
}, 5000);
|
89 |
return data;
|
90 |
}
|
96 |
console.log(xhr.responseText);
|
97 |
console.log(thrownError);
|
98 |
|
99 |
+
var noticeId = $.wbcr_factory_templates_106.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
100 |
reject(thrownError);
|
101 |
Swal.close();
|
102 |
}
|
admin/assets/js/firewall/firewall-dashboard.js
CHANGED
@@ -40,11 +40,11 @@ jQuery(document).ready(function ($) {
|
|
40 |
console.log(data);
|
41 |
|
42 |
if (data) {
|
43 |
-
noticeId = $.
|
44 |
}
|
45 |
|
46 |
setTimeout(function () {
|
47 |
-
$.
|
48 |
}, 5000);
|
49 |
return;
|
50 |
}
|
@@ -55,7 +55,7 @@ jQuery(document).ready(function ($) {
|
|
55 |
console.log(xhr.responseText);
|
56 |
console.log(thrownError);
|
57 |
|
58 |
-
var noticeId = $.
|
59 |
}
|
60 |
});
|
61 |
});
|
@@ -104,11 +104,11 @@ jQuery(document).ready(function ($) {
|
|
104 |
console.log(data);
|
105 |
|
106 |
if (data) {
|
107 |
-
noticeId = $.
|
108 |
}
|
109 |
|
110 |
setTimeout(function () {
|
111 |
-
$.
|
112 |
}, 5000);
|
113 |
return data;
|
114 |
}
|
@@ -120,7 +120,7 @@ jQuery(document).ready(function ($) {
|
|
120 |
console.log(xhr.responseText);
|
121 |
console.log(thrownError);
|
122 |
|
123 |
-
var noticeId = $.
|
124 |
reject(thrownError)
|
125 |
}
|
126 |
});
|
@@ -265,7 +265,7 @@ jQuery(document).ready(function ($) {
|
|
265 |
console.log(xhr.responseText);
|
266 |
console.log(thrownError);
|
267 |
|
268 |
-
var noticeId = $.
|
269 |
|
270 |
}
|
271 |
});
|
40 |
console.log(data);
|
41 |
|
42 |
if (data) {
|
43 |
+
noticeId = $.wbcr_factory_templates_106.app.showNotice(data.error_message, 'danger');
|
44 |
}
|
45 |
|
46 |
setTimeout(function () {
|
47 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
48 |
}, 5000);
|
49 |
return;
|
50 |
}
|
55 |
console.log(xhr.responseText);
|
56 |
console.log(thrownError);
|
57 |
|
58 |
+
var noticeId = $.wbcr_factory_templates_106.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
59 |
}
|
60 |
});
|
61 |
});
|
104 |
console.log(data);
|
105 |
|
106 |
if (data) {
|
107 |
+
noticeId = $.wbcr_factory_templates_106.app.showNotice(data.error_message, 'danger');
|
108 |
}
|
109 |
|
110 |
setTimeout(function () {
|
111 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
112 |
}, 5000);
|
113 |
return data;
|
114 |
}
|
120 |
console.log(xhr.responseText);
|
121 |
console.log(thrownError);
|
122 |
|
123 |
+
var noticeId = $.wbcr_factory_templates_106.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
124 |
reject(thrownError)
|
125 |
}
|
126 |
});
|
265 |
console.log(xhr.responseText);
|
266 |
console.log(thrownError);
|
267 |
|
268 |
+
var noticeId = $.wbcr_factory_templates_106.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
269 |
|
270 |
}
|
271 |
});
|
admin/assets/js/import.js
CHANGED
@@ -20,12 +20,12 @@
|
|
20 |
$this = $(this);
|
21 |
|
22 |
if (!settings) {
|
23 |
-
$.
|
24 |
return false;
|
25 |
}
|
26 |
|
27 |
if (void 0 == wtitan_ajax || !wtitan_ajax.import_options_nonce) {
|
28 |
-
$.
|
29 |
return false;
|
30 |
}
|
31 |
|
@@ -39,7 +39,7 @@
|
|
39 |
$this.prop('disabled', false);
|
40 |
|
41 |
if (response.data.update_notice) {
|
42 |
-
$.
|
43 |
} else {
|
44 |
$('.wbcr-clr-update-package').closest('.wbcr-factory-warning-notice').remove();
|
45 |
}
|
@@ -73,15 +73,15 @@
|
|
73 |
console.log(data);
|
74 |
|
75 |
if (data) {
|
76 |
-
noticeId = $.
|
77 |
} else {
|
78 |
if (void 0 !== wtitan_ajax) {
|
79 |
-
noticeId = $.
|
80 |
}
|
81 |
}
|
82 |
|
83 |
setTimeout(function () {
|
84 |
-
$.
|
85 |
}, 5000);
|
86 |
return;
|
87 |
}
|
@@ -90,10 +90,10 @@
|
|
90 |
|
91 |
if (!request_data.flush_redirect) {
|
92 |
if (void 0 !== wtitan_ajax) {
|
93 |
-
noticeId = $.
|
94 |
|
95 |
setTimeout(function () {
|
96 |
-
$.
|
97 |
}, 5000);
|
98 |
}
|
99 |
return;
|
@@ -108,7 +108,7 @@
|
|
108 |
console.log(xhr.responseText);
|
109 |
console.log(thrownError);
|
110 |
|
111 |
-
var noticeId = $.
|
112 |
}
|
113 |
});
|
114 |
}
|
20 |
$this = $(this);
|
21 |
|
22 |
if (!settings) {
|
23 |
+
$.wbcr_factory_templates_106.app.showNotice('Import options is empty!', 'danger');
|
24 |
return false;
|
25 |
}
|
26 |
|
27 |
if (void 0 == wtitan_ajax || !wtitan_ajax.import_options_nonce) {
|
28 |
+
$.wbcr_factory_templates_106.app.showNotice('Unknown Javascript error, most likely the wtitan_ajax variable does not exist!', 'danger');
|
29 |
return false;
|
30 |
}
|
31 |
|
39 |
$this.prop('disabled', false);
|
40 |
|
41 |
if (response.data.update_notice) {
|
42 |
+
$.wbcr_factory_templates_106.app.showNotice(response.data.update_notice);
|
43 |
} else {
|
44 |
$('.wbcr-clr-update-package').closest('.wbcr-factory-warning-notice').remove();
|
45 |
}
|
73 |
console.log(data);
|
74 |
|
75 |
if (data) {
|
76 |
+
noticeId = $.wbcr_factory_templates_106.app.showNotice(data.error_message, 'danger');
|
77 |
} else {
|
78 |
if (void 0 !== wtitan_ajax) {
|
79 |
+
noticeId = $.wbcr_factory_templates_106.app.showNotice(wtitan_ajax.i18n.unknown_error, 'danger');
|
80 |
}
|
81 |
}
|
82 |
|
83 |
setTimeout(function () {
|
84 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
85 |
}, 5000);
|
86 |
return;
|
87 |
}
|
90 |
|
91 |
if (!request_data.flush_redirect) {
|
92 |
if (void 0 !== wtitan_ajax) {
|
93 |
+
noticeId = $.wbcr_factory_templates_106.app.showNotice(wtitan_ajax.i18n.success_update_settings, 'success');
|
94 |
|
95 |
setTimeout(function () {
|
96 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
97 |
}, 5000);
|
98 |
}
|
99 |
return;
|
108 |
console.log(xhr.responseText);
|
109 |
console.log(thrownError);
|
110 |
|
111 |
+
var noticeId = $.wbcr_factory_templates_106.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
112 |
}
|
113 |
});
|
114 |
}
|
admin/assets/js/install-addons.js
CHANGED
@@ -53,16 +53,16 @@
|
|
53 |
|
54 |
$this.addClass('disabled').text(button_i18n.loading);
|
55 |
|
56 |
-
$.
|
57 |
|
58 |
self.sendRequest(data, function (response) {
|
59 |
if (!response || !response.success) {
|
60 |
|
61 |
if (response.data && response.data.error_message) {
|
62 |
-
$.
|
63 |
}
|
64 |
|
65 |
-
$.
|
66 |
$this,
|
67 |
data,
|
68 |
response.data.error_message,
|
@@ -78,7 +78,7 @@
|
|
78 |
if (storage == 'freemius') {
|
79 |
if (response.data.update_notice) {
|
80 |
if (!$('.wtitan-update-package').length) {
|
81 |
-
$.
|
82 |
}
|
83 |
} else {
|
84 |
if ($('.wtitan-update-package').length) {
|
@@ -97,7 +97,7 @@
|
|
97 |
$this.removeClass('button-default').addClass('button-primary');
|
98 |
}
|
99 |
|
100 |
-
$.
|
101 |
$this,
|
102 |
data,
|
103 |
response
|
@@ -148,7 +148,7 @@
|
|
148 |
$this.closest('.plugin-card').find('.settings-button').show();
|
149 |
}
|
150 |
|
151 |
-
$.
|
152 |
$this,
|
153 |
data,
|
154 |
response
|
@@ -196,7 +196,7 @@
|
|
196 |
$this.closest('.wbcr-hide-after-action').remove();
|
197 |
}
|
198 |
|
199 |
-
$.
|
200 |
$this,
|
201 |
data,
|
202 |
response
|
@@ -219,7 +219,7 @@
|
|
219 |
$this.remove();
|
220 |
}
|
221 |
|
222 |
-
$.
|
223 |
}
|
224 |
} else {
|
225 |
if (plugin_action == 'install') {
|
@@ -230,10 +230,10 @@
|
|
230 |
$this.text(button_i18n[plugin_action]);
|
231 |
|
232 |
if (response.data.need_rewrite_rules && !$('.wtitan-need-rewrite-rules-message').length) {
|
233 |
-
$.
|
234 |
}
|
235 |
|
236 |
-
$.
|
237 |
});
|
238 |
|
239 |
return false;
|
@@ -256,7 +256,7 @@
|
|
256 |
self.sendRequest(data, function (response) {
|
257 |
if (!response || !response.success) {
|
258 |
if (response.data && response.data.error_message) {
|
259 |
-
$.
|
260 |
}
|
261 |
return;
|
262 |
}
|
@@ -319,17 +319,17 @@
|
|
319 |
self.setComponentDeactivate(componentButton);
|
320 |
|
321 |
if (response.data && response.data.error_message) {
|
322 |
-
$.
|
323 |
}
|
324 |
|
325 |
-
$.
|
326 |
return;
|
327 |
}
|
328 |
|
329 |
componentButton.removeClass('button-primary').text(button_i18n['deactivate']);
|
330 |
self.setComponentActivate(componentButton);
|
331 |
|
332 |
-
$.
|
333 |
});
|
334 |
},
|
335 |
|
@@ -348,7 +348,7 @@
|
|
348 |
console.log(xhr.responseText);
|
349 |
console.log(thrownError);
|
350 |
|
351 |
-
$.
|
352 |
}
|
353 |
});
|
354 |
}
|
53 |
|
54 |
$this.addClass('disabled').text(button_i18n.loading);
|
55 |
|
56 |
+
$.wbcr_factory_templates_106.hooks.run('clearfy/components/pre_update', [$this, data]);
|
57 |
|
58 |
self.sendRequest(data, function (response) {
|
59 |
if (!response || !response.success) {
|
60 |
|
61 |
if (response.data && response.data.error_message) {
|
62 |
+
$.wbcr_factory_templates_106.app.showNotice(response.data.error_message, 'danger');
|
63 |
}
|
64 |
|
65 |
+
$.wbcr_factory_templates_106.hooks.run('clearfy/components/update_error', [
|
66 |
$this,
|
67 |
data,
|
68 |
response.data.error_message,
|
78 |
if (storage == 'freemius') {
|
79 |
if (response.data.update_notice) {
|
80 |
if (!$('.wtitan-update-package').length) {
|
81 |
+
$.wbcr_factory_templates_106.app.showNotice(response.data.update_notice);
|
82 |
}
|
83 |
} else {
|
84 |
if ($('.wtitan-update-package').length) {
|
97 |
$this.removeClass('button-default').addClass('button-primary');
|
98 |
}
|
99 |
|
100 |
+
$.wbcr_factory_templates_106.hooks.run('clearfy/components/installed', [
|
101 |
$this,
|
102 |
data,
|
103 |
response
|
148 |
$this.closest('.plugin-card').find('.settings-button').show();
|
149 |
}
|
150 |
|
151 |
+
$.wbcr_factory_templates_106.hooks.run('clearfy/components/pre_activate', [
|
152 |
$this,
|
153 |
data,
|
154 |
response
|
196 |
$this.closest('.wbcr-hide-after-action').remove();
|
197 |
}
|
198 |
|
199 |
+
$.wbcr_factory_templates_106.hooks.run('clearfy/components/deactivated', [
|
200 |
$this,
|
201 |
data,
|
202 |
response
|
219 |
$this.remove();
|
220 |
}
|
221 |
|
222 |
+
$.wbcr_factory_templates_106.hooks.run('clearfy/components/deleted', [$this, data, response]);
|
223 |
}
|
224 |
} else {
|
225 |
if (plugin_action == 'install') {
|
230 |
$this.text(button_i18n[plugin_action]);
|
231 |
|
232 |
if (response.data.need_rewrite_rules && !$('.wtitan-need-rewrite-rules-message').length) {
|
233 |
+
$.wbcr_factory_templates_106.app.showNotice(response.data.need_rewrite_rules, 'warning');
|
234 |
}
|
235 |
|
236 |
+
$.wbcr_factory_templates_106.hooks.run('clearfy/components/updated', [$this, data, response]);
|
237 |
});
|
238 |
|
239 |
return false;
|
256 |
self.sendRequest(data, function (response) {
|
257 |
if (!response || !response.success) {
|
258 |
if (response.data && response.data.error_message) {
|
259 |
+
$.wbcr_factory_templates_106.app.showNotice(response.data.error_message, 'danger');
|
260 |
}
|
261 |
return;
|
262 |
}
|
319 |
self.setComponentDeactivate(componentButton);
|
320 |
|
321 |
if (response.data && response.data.error_message) {
|
322 |
+
$.wbcr_factory_templates_106.app.showNotice(response.data.error_message, 'danger');
|
323 |
}
|
324 |
|
325 |
+
$.wbcr_factory_templates_106.hooks.run('clearfy/components/activated_error', [sendData.plugin]);
|
326 |
return;
|
327 |
}
|
328 |
|
329 |
componentButton.removeClass('button-primary').text(button_i18n['deactivate']);
|
330 |
self.setComponentActivate(componentButton);
|
331 |
|
332 |
+
$.wbcr_factory_templates_106.hooks.run('clearfy/components/activated', [sendData.plugin]);
|
333 |
});
|
334 |
},
|
335 |
|
348 |
console.log(xhr.responseText);
|
349 |
console.log(thrownError);
|
350 |
|
351 |
+
$.wbcr_factory_templates_106.app.showNotice('Error: [' + thrownError + '] Status: [' + xhr.status + '] Error massage: [' + xhr.responseText + ']', 'danger');
|
352 |
}
|
353 |
});
|
354 |
}
|
admin/boot.php
CHANGED
@@ -67,7 +67,7 @@ add_action('admin_init', function () {
|
|
67 |
if( \WBCR\Titan\Plugin\Helper::is_need_show_setup_page() ) {
|
68 |
try {
|
69 |
$redirect_url = '';
|
70 |
-
if( class_exists('
|
71 |
$redirect_url = $plugin->getPluginPageUrl('setup', ['wtitan_setup_page_viewed' => 1]);
|
72 |
}
|
73 |
if( $redirect_url ) {
|
@@ -148,8 +148,8 @@ add_action('wbcr/factory/admin_notices', function ($notices, $plugin_name) {
|
|
148 |
echo '<div class="alert alert-warning wbcr-factory-warning-notice wtitan-get-plugins-scanner__notice"><p><span class="dashicons dashicons-plugins-checked"></span> ' . $notice_text . '</p></div>';
|
149 |
*///$obj->printWarningNotice($notice_text);
|
150 |
|
151 |
-
/** @var \
|
152 |
-
/** @var \
|
153 |
/*if ( ( \WBCR\Titan\Plugin::app()->premium->is_activate() ) || ( $plugin->getPluginName() != \WBCR\Titan\Plugin::app()->getPluginName() ) || $obj->id == 'license' ) {
|
154 |
return;
|
155 |
}
|
67 |
if( \WBCR\Titan\Plugin\Helper::is_need_show_setup_page() ) {
|
68 |
try {
|
69 |
$redirect_url = '';
|
70 |
+
if( class_exists('Wbcr_FactoryPages452') ) {
|
71 |
$redirect_url = $plugin->getPluginPageUrl('setup', ['wtitan_setup_page_viewed' => 1]);
|
72 |
}
|
73 |
if( $redirect_url ) {
|
148 |
echo '<div class="alert alert-warning wbcr-factory-warning-notice wtitan-get-plugins-scanner__notice"><p><span class="dashicons dashicons-plugins-checked"></span> ' . $notice_text . '</p></div>';
|
149 |
*///$obj->printWarningNotice($notice_text);
|
150 |
|
151 |
+
/** @var \Wbcr_Factory453_Plugin $plugin */
|
152 |
+
/** @var \Wbcr_FactoryPages452_ImpressiveThemplate $obj */
|
153 |
/*if ( ( \WBCR\Titan\Plugin::app()->premium->is_activate() ) || ( $plugin->getPluginName() != \WBCR\Titan\Plugin::app()->getPluginName() ) || $obj->id == 'license' ) {
|
154 |
return;
|
155 |
}
|
admin/class-activation.php
CHANGED
@@ -7,7 +7,7 @@ namespace WBCR\Titan;
|
|
7 |
*
|
8 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
9 |
* @copyright (c) 26.10.2019, Webcraftic
|
10 |
-
* @see
|
11 |
* @version 1.0
|
12 |
*/
|
13 |
|
@@ -16,7 +16,7 @@ if( !defined('ABSPATH') ) {
|
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
-
class Activation extends \
|
20 |
|
21 |
/**
|
22 |
* Runs activation actions.
|
7 |
*
|
8 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
9 |
* @copyright (c) 26.10.2019, Webcraftic
|
10 |
+
* @see Wbcr_Factory453_Activator
|
11 |
* @version 1.0
|
12 |
*/
|
13 |
|
16 |
exit;
|
17 |
}
|
18 |
|
19 |
+
class Activation extends \Wbcr_Factory453_Activator {
|
20 |
|
21 |
/**
|
22 |
* Runs activation actions.
|
admin/class-page-titan-basic.php
CHANGED
@@ -14,17 +14,17 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @copyright (c) 2020 Creative Motion
|
15 |
* @version 1.0
|
16 |
*/
|
17 |
-
class Base extends \WBCR\
|
18 |
|
19 |
/**
|
20 |
* Scanner page constructor.
|
21 |
*
|
22 |
-
* @param \
|
23 |
*
|
24 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
25 |
*
|
26 |
*/
|
27 |
-
public function __construct( \
|
28 |
parent::__construct( $plugin );
|
29 |
$this->menuIcon = WTITAN_PLUGIN_URL . '/admin/assets/img/titan-icon.png';
|
30 |
}
|
@@ -96,7 +96,7 @@ class Base extends \WBCR\Factory_Templates_101\Pages\PageBase {
|
|
96 |
$page_url = $args[0];
|
97 |
}
|
98 |
|
99 |
-
$page_url = apply_filters( '
|
100 |
|
101 |
?>
|
102 |
<div class="wbcr-factory-sidebar-widget">
|
14 |
* @copyright (c) 2020 Creative Motion
|
15 |
* @version 1.0
|
16 |
*/
|
17 |
+
class Base extends \WBCR\Factory_Templates_106\Pages\PageBase {
|
18 |
|
19 |
/**
|
20 |
* Scanner page constructor.
|
21 |
*
|
22 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
23 |
*
|
24 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
25 |
*
|
26 |
*/
|
27 |
+
public function __construct( \Wbcr_Factory453_Plugin $plugin ) {
|
28 |
parent::__construct( $plugin );
|
29 |
$this->menuIcon = WTITAN_PLUGIN_URL . '/admin/assets/img/titan-icon.png';
|
30 |
}
|
96 |
$page_url = $args[0];
|
97 |
}
|
98 |
|
99 |
+
$page_url = apply_filters( 'wbcr_factory_pages_452_imppage_rating_widget_url', $page_url, $this->plugin->getPluginName(), $this->getResultId() );
|
100 |
|
101 |
?>
|
102 |
<div class="wbcr-factory-sidebar-widget">
|
admin/pages/class-page-backup.php
CHANGED
@@ -11,7 +11,7 @@ class Backup extends Base
|
|
11 |
* The id of the page in the admin menu.
|
12 |
*
|
13 |
* Mainly used to navigate between pages.
|
14 |
-
* @see
|
15 |
*
|
16 |
* @since 1.0.0
|
17 |
* @var string
|
@@ -63,7 +63,7 @@ class Backup extends Base
|
|
63 |
*
|
64 |
* @return void
|
65 |
* @since 1.0.0
|
66 |
-
* @see
|
67 |
*
|
68 |
*/
|
69 |
public function assets( $scripts, $styles )
|
11 |
* The id of the page in the admin menu.
|
12 |
*
|
13 |
* Mainly used to navigate between pages.
|
14 |
+
* @see FactoryPages452_AdminPage
|
15 |
*
|
16 |
* @since 1.0.0
|
17 |
* @var string
|
63 |
*
|
64 |
* @return void
|
65 |
* @since 1.0.0
|
66 |
+
* @see Wbcr_FactoryPages452_AdminPage
|
67 |
*
|
68 |
*/
|
69 |
public function assets( $scripts, $styles )
|
admin/pages/class-page-two-factor.php
CHANGED
@@ -14,7 +14,7 @@ class TwoFactor extends Base
|
|
14 |
* The id of the page in the admin menu.
|
15 |
*
|
16 |
* Mainly used to navigate between pages.
|
17 |
-
* @see
|
18 |
*
|
19 |
* @since 1.0.0
|
20 |
* @var string
|
@@ -60,7 +60,7 @@ class TwoFactor extends Base
|
|
60 |
*
|
61 |
* @return void
|
62 |
* @since 1.0.0
|
63 |
-
* @see
|
64 |
*
|
65 |
*/
|
66 |
public function assets($scripts, $styles)
|
14 |
* The id of the page in the admin menu.
|
15 |
*
|
16 |
* Mainly used to navigate between pages.
|
17 |
+
* @see FactoryPages452_AdminPage
|
18 |
*
|
19 |
* @since 1.0.0
|
20 |
* @var string
|
60 |
*
|
61 |
* @return void
|
62 |
* @since 1.0.0
|
63 |
+
* @see Wbcr_FactoryPages452_AdminPage
|
64 |
*
|
65 |
*/
|
66 |
public function assets($scripts, $styles)
|
admin/pages/class-pages-antispam.php
CHANGED
@@ -84,12 +84,12 @@ class Antispam extends Base {
|
|
84 |
/**
|
85 |
* Antispam page constructor.
|
86 |
*
|
87 |
-
* @param \
|
88 |
*
|
89 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
90 |
*
|
91 |
*/
|
92 |
-
public function __construct( \
|
93 |
$this->menu_title = __( 'Anti-spam', 'titan-security' );
|
94 |
$this->page_menu_short_description = __( 'Detected and stoped spam', 'titan-security' );
|
95 |
|
@@ -102,7 +102,7 @@ class Antispam extends Base {
|
|
102 |
*
|
103 |
* @return void
|
104 |
* @since 6.2
|
105 |
-
* @see
|
106 |
*
|
107 |
*/
|
108 |
public function assets( $scripts, $styles ) {
|
84 |
/**
|
85 |
* Antispam page constructor.
|
86 |
*
|
87 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
88 |
*
|
89 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
90 |
*
|
91 |
*/
|
92 |
+
public function __construct( \Wbcr_Factory453_Plugin $plugin ) {
|
93 |
$this->menu_title = __( 'Anti-spam', 'titan-security' );
|
94 |
$this->page_menu_short_description = __( 'Detected and stoped spam', 'titan-security' );
|
95 |
|
102 |
*
|
103 |
* @return void
|
104 |
* @since 6.2
|
105 |
+
* @see Wbcr_FactoryPages452_AdminPage
|
106 |
*
|
107 |
*/
|
108 |
public function assets( $scripts, $styles ) {
|
admin/pages/class-pages-check.php
CHANGED
@@ -71,12 +71,12 @@ class Check extends Base {
|
|
71 |
/**
|
72 |
* Scanner page constructor.
|
73 |
*
|
74 |
-
* @param \
|
75 |
*
|
76 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
77 |
*
|
78 |
*/
|
79 |
-
public function __construct( \
|
80 |
$this->plugin = $plugin;
|
81 |
|
82 |
$this->menu_title = __( 'Audit', 'titan-security' );
|
@@ -93,12 +93,12 @@ class Check extends Base {
|
|
93 |
/**
|
94 |
* {@inheritDoc}
|
95 |
* @param $notices
|
96 |
-
* @param \
|
97 |
*
|
98 |
* @return array
|
99 |
* @since 6.5.2
|
100 |
*
|
101 |
-
* @see \
|
102 |
*/
|
103 |
public function getActionNotices( $notices ) {
|
104 |
|
71 |
/**
|
72 |
* Scanner page constructor.
|
73 |
*
|
74 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
75 |
*
|
76 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
77 |
*
|
78 |
*/
|
79 |
+
public function __construct( \Wbcr_Factory453_Plugin $plugin ) {
|
80 |
$this->plugin = $plugin;
|
81 |
|
82 |
$this->menu_title = __( 'Audit', 'titan-security' );
|
93 |
/**
|
94 |
* {@inheritDoc}
|
95 |
* @param $notices
|
96 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
97 |
*
|
98 |
* @return array
|
99 |
* @since 6.5.2
|
100 |
*
|
101 |
+
* @see \FactoryPages452_ImpressiveThemplate
|
102 |
*/
|
103 |
public function getActionNotices( $notices ) {
|
104 |
|
admin/pages/class-pages-components-license.php
CHANGED
@@ -58,13 +58,13 @@ class Components_License extends Base {
|
|
58 |
|
59 |
/**
|
60 |
* WCL_LicensePage constructor.
|
61 |
-
* @param \
|
62 |
*
|
63 |
* @since 7.0.2
|
64 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
65 |
*
|
66 |
*/
|
67 |
-
public function __construct(\
|
68 |
{
|
69 |
$this->menu_title = __('License', 'titan-security');
|
70 |
$this->page_menu_short_description = __('Product activation', 'titan-security');
|
@@ -78,7 +78,7 @@ class Components_License extends Base {
|
|
78 |
*
|
79 |
* @return void
|
80 |
* @since 7.0.2
|
81 |
-
* @see
|
82 |
*
|
83 |
*/
|
84 |
public function assets($scripts, $styles)
|
@@ -88,8 +88,8 @@ class Components_License extends Base {
|
|
88 |
$this->styles->add(WTITAN_PLUGIN_URL . '/admin/assets/css/components.css');
|
89 |
|
90 |
/**
|
91 |
-
* @param \
|
92 |
-
* @param \
|
93 |
*
|
94 |
* @since 7.0.2
|
95 |
*
|
58 |
|
59 |
/**
|
60 |
* WCL_LicensePage constructor.
|
61 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
62 |
*
|
63 |
* @since 7.0.2
|
64 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
65 |
*
|
66 |
*/
|
67 |
+
public function __construct(\Wbcr_Factory453_Plugin $plugin)
|
68 |
{
|
69 |
$this->menu_title = __('License', 'titan-security');
|
70 |
$this->page_menu_short_description = __('Product activation', 'titan-security');
|
78 |
*
|
79 |
* @return void
|
80 |
* @since 7.0.2
|
81 |
+
* @see FactoryPages452_AdminPage
|
82 |
*
|
83 |
*/
|
84 |
public function assets($scripts, $styles)
|
88 |
$this->styles->add(WTITAN_PLUGIN_URL . '/admin/assets/css/components.css');
|
89 |
|
90 |
/**
|
91 |
+
* @param \Wbcr_Factory453_StyleList $styles
|
92 |
+
* @param \Wbcr_Factory453_ScriptList $scripts
|
93 |
*
|
94 |
* @since 7.0.2
|
95 |
*
|
admin/pages/class-pages-components.php
CHANGED
@@ -27,7 +27,7 @@ class Components extends Base {
|
|
27 |
* Mainly used to navigate between pages.
|
28 |
*
|
29 |
* @since 7.0.3
|
30 |
-
* @see
|
31 |
*
|
32 |
* @var string
|
33 |
*/
|
@@ -73,7 +73,7 @@ class Components extends Base {
|
|
73 |
*
|
74 |
* @return void
|
75 |
* @since 7.0.2
|
76 |
-
* @see
|
77 |
*
|
78 |
*/
|
79 |
public function assets($scripts, $styles)
|
@@ -83,8 +83,8 @@ class Components extends Base {
|
|
83 |
$this->styles->add(WTITAN_PLUGIN_URL . '/admin/assets/css/components.css');
|
84 |
|
85 |
/**
|
86 |
-
* @param \
|
87 |
-
* @param \
|
88 |
*
|
89 |
* @since 7.0.3
|
90 |
*
|
@@ -99,7 +99,7 @@ class Components extends Base {
|
|
99 |
* @param Plugin $plugin
|
100 |
*
|
101 |
* @return array
|
102 |
-
* @see 'libs\factory\pages\templates\
|
103 |
*/
|
104 |
public function getActionNotices($notices)
|
105 |
{
|
27 |
* Mainly used to navigate between pages.
|
28 |
*
|
29 |
* @since 7.0.3
|
30 |
+
* @see FactoryPages452_AdminPage
|
31 |
*
|
32 |
* @var string
|
33 |
*/
|
73 |
*
|
74 |
* @return void
|
75 |
* @since 7.0.2
|
76 |
+
* @see FactoryPages452_AdminPage
|
77 |
*
|
78 |
*/
|
79 |
public function assets($scripts, $styles)
|
83 |
$this->styles->add(WTITAN_PLUGIN_URL . '/admin/assets/css/components.css');
|
84 |
|
85 |
/**
|
86 |
+
* @param \Wbcr_Factory453_StyleList $styles
|
87 |
+
* @param \Wbcr_Factory453_ScriptList $scripts
|
88 |
*
|
89 |
* @since 7.0.3
|
90 |
*
|
99 |
* @param Plugin $plugin
|
100 |
*
|
101 |
* @return array
|
102 |
+
* @see 'libs\factory\pages\templates\FactoryPages452_ImpressiveThemplate'
|
103 |
*/
|
104 |
public function getActionNotices($notices)
|
105 |
{
|
admin/pages/class-pages-dashboard.php
CHANGED
@@ -129,12 +129,12 @@ class Dashboard extends Base {
|
|
129 |
/**
|
130 |
* Logs constructor.
|
131 |
*
|
132 |
-
* @param \
|
133 |
*
|
134 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
135 |
*
|
136 |
*/
|
137 |
-
public function __construct( \
|
138 |
$this->plugin = $plugin;
|
139 |
|
140 |
$this->menu_title = __( 'Titan Anti-spam', 'titan-security' );
|
129 |
/**
|
130 |
* Logs constructor.
|
131 |
*
|
132 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
133 |
*
|
134 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
135 |
*
|
136 |
*/
|
137 |
+
public function __construct( \Wbcr_Factory453_Plugin $plugin ) {
|
138 |
$this->plugin = $plugin;
|
139 |
|
140 |
$this->menu_title = __( 'Titan Anti-spam', 'titan-security' );
|
admin/pages/class-pages-license.php
CHANGED
@@ -16,7 +16,7 @@ if( !defined('ABSPATH') ) {
|
|
16 |
*
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
-
class License extends \WBCR\
|
20 |
|
21 |
/**
|
22 |
* {@inheritdoc}
|
@@ -58,12 +58,12 @@ class License extends \WBCR\Factory_Templates_101\Pages\License {
|
|
58 |
/**
|
59 |
* WCL_LicensePage constructor.
|
60 |
*
|
61 |
-
* @param \
|
62 |
*
|
63 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
64 |
*
|
65 |
*/
|
66 |
-
public function __construct(\
|
67 |
{
|
68 |
$this->menu_title = __('License', 'titan-security');
|
69 |
$this->page_menu_short_description = __('Product activation', 'titan-security');
|
@@ -126,12 +126,12 @@ class License extends \WBCR\Factory_Templates_101\Pages\License {
|
|
126 |
/**
|
127 |
* {@inheritDoc}
|
128 |
* @param $notices
|
129 |
-
* @param \
|
130 |
*
|
131 |
* @return array
|
132 |
* @since 6.5.2
|
133 |
*
|
134 |
-
* @see \
|
135 |
*/
|
136 |
/*public function getActionNotices($notices)
|
137 |
{
|
@@ -280,14 +280,14 @@ class License extends \WBCR\Factory_Templates_101\Pages\License {
|
|
280 |
if( $this->is_premium ):
|
281 |
?>
|
282 |
<p style="margin-top: 10px;">
|
283 |
-
<?php printf(__('<a href="%s" target="_blank" rel="noopener">Lean more</a> about the premium version and get the license key to activate it now!', '
|
284 |
</p>
|
285 |
<?php else: ?>
|
286 |
<p style="margin-top: 10px;">
|
287 |
-
<?php printf(__('Can’t find your key? Go to <a href="%s" target="_blank" rel="noopener">this page</a> and login using the e-mail address associated with your purchase.', '
|
288 |
</p>
|
289 |
<p style="margin-top: 10px;">
|
290 |
-
<?php printf(__('We use certain personal data, such as your email address. By activating the license, you confirm that you have read the <a href="https://titansitescanner.com/terms-of-use/">Terms of Service</a> and <a href="https://titansitescanner.com/privacy/">Privacy Policy (in accordance with GDPR)</a>', '
|
291 |
</p>
|
292 |
<?php endif;
|
293 |
}
|
16 |
*
|
17 |
* @copyright (c) 2018 Webraftic Ltd
|
18 |
*/
|
19 |
+
class License extends \WBCR\Factory_Templates_106\Pages\License {
|
20 |
|
21 |
/**
|
22 |
* {@inheritdoc}
|
58 |
/**
|
59 |
* WCL_LicensePage constructor.
|
60 |
*
|
61 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
62 |
*
|
63 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
64 |
*
|
65 |
*/
|
66 |
+
public function __construct(\Wbcr_Factory453_Plugin $plugin)
|
67 |
{
|
68 |
$this->menu_title = __('License', 'titan-security');
|
69 |
$this->page_menu_short_description = __('Product activation', 'titan-security');
|
126 |
/**
|
127 |
* {@inheritDoc}
|
128 |
* @param $notices
|
129 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
130 |
*
|
131 |
* @return array
|
132 |
* @since 6.5.2
|
133 |
*
|
134 |
+
* @see \FactoryPages452_ImpressiveThemplate
|
135 |
*/
|
136 |
/*public function getActionNotices($notices)
|
137 |
{
|
280 |
if( $this->is_premium ):
|
281 |
?>
|
282 |
<p style="margin-top: 10px;">
|
283 |
+
<?php printf(__('<a href="%s" target="_blank" rel="noopener">Lean more</a> about the premium version and get the license key to activate it now!', 'wbcr_factory_templates_106'), $this->plugin->get_support()->get_pricing_url(true, 'license_page')); ?>
|
284 |
</p>
|
285 |
<?php else: ?>
|
286 |
<p style="margin-top: 10px;">
|
287 |
+
<?php printf(__('Can’t find your key? Go to <a href="%s" target="_blank" rel="noopener">this page</a> and login using the e-mail address associated with your purchase.', 'wbcr_factory_templates_106'), "https://users.freemius.com/") ?>
|
288 |
</p>
|
289 |
<p style="margin-top: 10px;">
|
290 |
+
<?php printf(__('We use certain personal data, such as your email address. By activating the license, you confirm that you have read the <a href="https://titansitescanner.com/terms-of-use/">Terms of Service</a> and <a href="https://titansitescanner.com/privacy/">Privacy Policy (in accordance with GDPR)</a>', 'wbcr_factory_templates_106'), $this->plugin->get_support()->get_contacts_url(true, 'license_page')) ?>
|
291 |
</p>
|
292 |
<?php endif;
|
293 |
}
|
admin/pages/class-pages-logs.php
CHANGED
@@ -50,12 +50,12 @@ class Logs extends Base {
|
|
50 |
/**
|
51 |
* Logs constructor.
|
52 |
*
|
53 |
-
* @param \
|
54 |
*
|
55 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
56 |
*
|
57 |
*/
|
58 |
-
public function __construct( \
|
59 |
|
60 |
$this->menu_title = __( 'Error Log', 'titan-security' );
|
61 |
$this->page_menu_short_description = __( 'Plugin debug report', 'titan-security' );
|
50 |
/**
|
51 |
* Logs constructor.
|
52 |
*
|
53 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
54 |
*
|
55 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
56 |
*
|
57 |
*/
|
58 |
+
public function __construct( \Wbcr_Factory453_Plugin $plugin ) {
|
59 |
|
60 |
$this->menu_title = __( 'Error Log', 'titan-security' );
|
61 |
$this->page_menu_short_description = __( 'Plugin debug report', 'titan-security' );
|
admin/pages/class-pages-plugin-settings.php
CHANGED
@@ -4,7 +4,7 @@ namespace WBCR\Titan\Page;
|
|
4 |
|
5 |
use WBCR\Titan\Plugin;
|
6 |
use WBCR\Titan\Plugin\Helper;
|
7 |
-
use
|
8 |
|
9 |
/**
|
10 |
* The plugin Settings.
|
@@ -46,9 +46,9 @@ class PluginSettings extends Base {
|
|
46 |
public $page_menu_position = 2;
|
47 |
|
48 |
/**
|
49 |
-
* @param
|
50 |
*/
|
51 |
-
public function __construct(
|
52 |
$this->menu_title = __( 'Settings', 'titan-security' );
|
53 |
$this->page_menu_short_description = __( 'Global plugin settings', 'titan-security' );
|
54 |
|
4 |
|
5 |
use WBCR\Titan\Plugin;
|
6 |
use WBCR\Titan\Plugin\Helper;
|
7 |
+
use Wbcr_Factory453_Plugin;
|
8 |
|
9 |
/**
|
10 |
* The plugin Settings.
|
46 |
public $page_menu_position = 2;
|
47 |
|
48 |
/**
|
49 |
+
* @param Wbcr_Factory453_Plugin $plugin
|
50 |
*/
|
51 |
+
public function __construct( Wbcr_Factory453_Plugin $plugin ) {
|
52 |
$this->menu_title = __( 'Settings', 'titan-security' );
|
53 |
$this->page_menu_short_description = __( 'Global plugin settings', 'titan-security' );
|
54 |
|
admin/pages/class-pages-scanner.php
CHANGED
@@ -4,7 +4,7 @@ namespace WBCR\Titan\Page;
|
|
4 |
|
5 |
use WBCR\Titan;
|
6 |
|
7 |
-
use
|
8 |
use Wbcr_FactoryClearfy000_PageBase;
|
9 |
|
10 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -57,10 +57,10 @@ class Scanner extends Base {
|
|
57 |
/**
|
58 |
* Scanner constructor.
|
59 |
*
|
60 |
-
* @param
|
61 |
*
|
62 |
*/
|
63 |
-
public function __construct(
|
64 |
$this->plugin = $plugin;
|
65 |
|
66 |
$this->menu_title = __( 'Scanner', 'titan-security' );
|
4 |
|
5 |
use WBCR\Titan;
|
6 |
|
7 |
+
use Wbcr_Factory453_Plugin;
|
8 |
use Wbcr_FactoryClearfy000_PageBase;
|
9 |
|
10 |
if ( ! defined( 'ABSPATH' ) ) {
|
57 |
/**
|
58 |
* Scanner constructor.
|
59 |
*
|
60 |
+
* @param Wbcr_Factory453_Plugin $plugin
|
61 |
*
|
62 |
*/
|
63 |
+
public function __construct( Wbcr_Factory453_Plugin $plugin ) {
|
64 |
$this->plugin = $plugin;
|
65 |
|
66 |
$this->menu_title = __( 'Scanner', 'titan-security' );
|
admin/pages/class-pages-sitechecker.php
CHANGED
@@ -65,10 +65,10 @@ class SiteChecker extends Base {
|
|
65 |
/**
|
66 |
* Site Checker constructor.
|
67 |
*
|
68 |
-
* @param \
|
69 |
*
|
70 |
*/
|
71 |
-
public function __construct( \
|
72 |
$this->plugin = $plugin;
|
73 |
|
74 |
$this->menu_title = __( 'Site Checker', 'titan-security' );
|
65 |
/**
|
66 |
* Site Checker constructor.
|
67 |
*
|
68 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
69 |
*
|
70 |
*/
|
71 |
+
public function __construct( \Wbcr_Factory453_Plugin $plugin ) {
|
72 |
$this->plugin = $plugin;
|
73 |
|
74 |
$this->menu_title = __( 'Site Checker', 'titan-security' );
|
admin/pages/class-pages-tweaks.php
CHANGED
@@ -45,12 +45,12 @@ class Tweaks extends Base {
|
|
45 |
/**
|
46 |
* WBCR\Page\Settings constructor.
|
47 |
*
|
48 |
-
* @param \
|
49 |
*
|
50 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
51 |
*
|
52 |
*/
|
53 |
-
public function __construct( \
|
54 |
$this->menu_title = __( 'Tweaks', 'titan-security' );
|
55 |
$this->page_menu_short_description = __( 'Security tweaks', 'titan-security' );
|
56 |
|
@@ -66,7 +66,7 @@ class Tweaks extends Base {
|
|
66 |
*
|
67 |
* @return void
|
68 |
* @since 6.2
|
69 |
-
* @see
|
70 |
*
|
71 |
*/
|
72 |
public function assets( $scripts, $styles ) {
|
45 |
/**
|
46 |
* WBCR\Page\Settings constructor.
|
47 |
*
|
48 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
49 |
*
|
50 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
51 |
*
|
52 |
*/
|
53 |
+
public function __construct( \Wbcr_Factory453_Plugin $plugin ) {
|
54 |
$this->menu_title = __( 'Tweaks', 'titan-security' );
|
55 |
$this->page_menu_short_description = __( 'Security tweaks', 'titan-security' );
|
56 |
|
66 |
*
|
67 |
* @return void
|
68 |
* @since 6.2
|
69 |
+
* @see Wbcr_FactoryPages452_AdminPage
|
70 |
*
|
71 |
*/
|
72 |
public function assets( $scripts, $styles ) {
|
admin/pages/firewall/class-pages-bruteforce.php
CHANGED
@@ -49,12 +49,12 @@ class Brute_Force extends Base {
|
|
49 |
/**
|
50 |
* Logs constructor.
|
51 |
*
|
52 |
-
* @param \
|
53 |
*
|
54 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
55 |
*
|
56 |
*/
|
57 |
-
public function __construct( \
|
58 |
$this->plugin = $plugin;
|
59 |
|
60 |
$this->menu_title = __( 'Limit login Attempts', 'titan-security' );
|
@@ -71,7 +71,7 @@ class Brute_Force extends Base {
|
|
71 |
*
|
72 |
* @return void
|
73 |
* @since 6.2
|
74 |
-
* @see
|
75 |
*
|
76 |
*/
|
77 |
public function assets( $scripts, $styles ) {
|
49 |
/**
|
50 |
* Logs constructor.
|
51 |
*
|
52 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
53 |
*
|
54 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
55 |
*
|
56 |
*/
|
57 |
+
public function __construct( \Wbcr_Factory453_Plugin $plugin ) {
|
58 |
$this->plugin = $plugin;
|
59 |
|
60 |
$this->menu_title = __( 'Limit login Attempts', 'titan-security' );
|
71 |
*
|
72 |
* @return void
|
73 |
* @since 6.2
|
74 |
+
* @see Wbcr_FactoryPages452_AdminPage
|
75 |
*
|
76 |
*/
|
77 |
public function assets( $scripts, $styles ) {
|
admin/pages/firewall/class-pages-firewall-attacks-log.php
CHANGED
@@ -64,7 +64,7 @@ class Firewall_Attacks_Log extends Base {
|
|
64 |
/**
|
65 |
* Logs constructor.
|
66 |
*
|
67 |
-
* @param \
|
68 |
*
|
69 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
70 |
*
|
64 |
/**
|
65 |
* Logs constructor.
|
66 |
*
|
67 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
68 |
*
|
69 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
70 |
*
|
admin/pages/firewall/class-pages-firewall-blocking.php
CHANGED
@@ -65,7 +65,7 @@ class Firewall_Blocking extends Base {
|
|
65 |
/**
|
66 |
* WBCR\Page\Settings constructor.
|
67 |
*
|
68 |
-
* @param \
|
69 |
*
|
70 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
71 |
*
|
@@ -85,7 +85,7 @@ class Firewall_Blocking extends Base {
|
|
85 |
*
|
86 |
* @return void
|
87 |
* @since 6.2
|
88 |
-
* @see
|
89 |
*
|
90 |
*/
|
91 |
public function assets( $scripts, $styles ) {
|
65 |
/**
|
66 |
* WBCR\Page\Settings constructor.
|
67 |
*
|
68 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
69 |
*
|
70 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
71 |
*
|
85 |
*
|
86 |
* @return void
|
87 |
* @since 6.2
|
88 |
+
* @see Wbcr_FactoryPages452_AdminPage
|
89 |
*
|
90 |
*/
|
91 |
public function assets( $scripts, $styles ) {
|
admin/pages/firewall/class-pages-firewall-login-attempts.php
CHANGED
@@ -64,7 +64,7 @@ class Firewall_Login_Attempts extends Base {
|
|
64 |
/**
|
65 |
* Logs constructor.
|
66 |
*
|
67 |
-
* @param \
|
68 |
*
|
69 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
70 |
*
|
64 |
/**
|
65 |
* Logs constructor.
|
66 |
*
|
67 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
68 |
*
|
69 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
70 |
*
|
admin/pages/firewall/class-pages-firewall-settings.php
CHANGED
@@ -52,7 +52,7 @@ class Firewall_Settings extends Base {
|
|
52 |
/**
|
53 |
* WBCR\Page\Settings constructor.
|
54 |
*
|
55 |
-
* @param \
|
56 |
*
|
57 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
58 |
*
|
@@ -73,7 +73,7 @@ class Firewall_Settings extends Base {
|
|
73 |
*
|
74 |
* @return void
|
75 |
* @since 6.2
|
76 |
-
* @see
|
77 |
*
|
78 |
*/
|
79 |
public function assets( $scripts, $styles ) {
|
52 |
/**
|
53 |
* WBCR\Page\Settings constructor.
|
54 |
*
|
55 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
56 |
*
|
57 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
58 |
*
|
73 |
*
|
74 |
* @return void
|
75 |
* @since 6.2
|
76 |
+
* @see Wbcr_FactoryPages452_AdminPage
|
77 |
*
|
78 |
*/
|
79 |
public function assets( $scripts, $styles ) {
|
admin/pages/firewall/class-pages-firewall.php
CHANGED
@@ -51,7 +51,7 @@ class Firewall extends Base {
|
|
51 |
/**
|
52 |
* Logs constructor.
|
53 |
*
|
54 |
-
* @param \
|
55 |
*
|
56 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
57 |
*
|
51 |
/**
|
52 |
* Logs constructor.
|
53 |
*
|
54 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
55 |
*
|
56 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>
|
57 |
*
|
admin/pages/setup/class-pages-setup.php
CHANGED
@@ -13,21 +13,21 @@ if( !defined('ABSPATH') ) {
|
|
13 |
exit;
|
14 |
}
|
15 |
|
16 |
-
class Setup extends \WBCR\
|
17 |
|
18 |
/**
|
19 |
-
* @param \
|
20 |
*/
|
21 |
-
public function __construct(\
|
22 |
{
|
23 |
parent::__construct($plugin);
|
24 |
|
25 |
$path = WTITAN_PLUGIN_DIR . '/admin/pages/setup/steps';
|
26 |
|
27 |
-
#Step 1 is default \WBCR\
|
28 |
$this->register_step($path . '/class-step-default.php', '\WBCR\Titan\Page\Step_Default');
|
29 |
|
30 |
-
#Step 2 \WBCR\
|
31 |
$this->register_step($path . '/class-step-plugins.php', '\WBCR\Titan\Page\Step_Plugins');
|
32 |
#Step 3
|
33 |
$this->register_step($path . '/class-step-security-audit.php', '\WBCR\Titan\Page\Step_Security_Audit');
|
@@ -53,7 +53,7 @@ class Setup extends \WBCR\Factory_Templates_101\Pages\Setup {
|
|
53 |
*
|
54 |
* @return void
|
55 |
* @since 1.0.0
|
56 |
-
* @see
|
57 |
*
|
58 |
*/
|
59 |
public function assets($scripts, $styles)
|
13 |
exit;
|
14 |
}
|
15 |
|
16 |
+
class Setup extends \WBCR\Factory_Templates_106\Pages\Setup {
|
17 |
|
18 |
/**
|
19 |
+
* @param \Wbcr_Factory453_Plugin $plugin
|
20 |
*/
|
21 |
+
public function __construct(\Wbcr_Factory453_Plugin $plugin)
|
22 |
{
|
23 |
parent::__construct($plugin);
|
24 |
|
25 |
$path = WTITAN_PLUGIN_DIR . '/admin/pages/setup/steps';
|
26 |
|
27 |
+
#Step 1 is default \WBCR\Factory_Templates_106\Pages\Step_Plugins
|
28 |
$this->register_step($path . '/class-step-default.php', '\WBCR\Titan\Page\Step_Default');
|
29 |
|
30 |
+
#Step 2 \WBCR\Factory_Templates_106\Pages\Step_Plugins
|
31 |
$this->register_step($path . '/class-step-plugins.php', '\WBCR\Titan\Page\Step_Plugins');
|
32 |
#Step 3
|
33 |
$this->register_step($path . '/class-step-security-audit.php', '\WBCR\Titan\Page\Step_Security_Audit');
|
53 |
*
|
54 |
* @return void
|
55 |
* @since 1.0.0
|
56 |
+
* @see FactoryPages452_AdminPage
|
57 |
*
|
58 |
*/
|
59 |
public function assets($scripts, $styles)
|
admin/pages/setup/steps/class-step-congratulation.php
CHANGED
@@ -8,7 +8,7 @@ namespace WBCR\Titan\Page;
|
|
8 |
* @copyright (c) 23.07.2020, Webcraftic
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
-
class Step_Congratulation extends \WBCR\
|
12 |
|
13 |
protected $prev_id = 'step5';
|
14 |
protected $id = 'step6';
|
@@ -23,7 +23,7 @@ class Step_Congratulation extends \WBCR\Factory_Templates_101\Pages\Step_Custom
|
|
23 |
*
|
24 |
* @return void
|
25 |
* @since 1.0.0
|
26 |
-
* @see
|
27 |
*
|
28 |
*/
|
29 |
public function assets($scripts, $styles)
|
@@ -37,7 +37,7 @@ class Step_Congratulation extends \WBCR\Factory_Templates_101\Pages\Step_Custom
|
|
37 |
{
|
38 |
$pricing_page_url = $this->plugin->get_support()->get_pricing_url(true, 'setup_wizard');
|
39 |
?>
|
40 |
-
<div class="w-factory-templates-
|
41 |
<h3><?php _e("Congratulations, the plugin configuration is complete!", "titan-security"); ?></h3>
|
42 |
<script>
|
43 |
jQuery(document).ready(function($) {
|
8 |
* @copyright (c) 23.07.2020, Webcraftic
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
+
class Step_Congratulation extends \WBCR\Factory_Templates_106\Pages\Step_Custom {
|
12 |
|
13 |
protected $prev_id = 'step5';
|
14 |
protected $id = 'step6';
|
23 |
*
|
24 |
* @return void
|
25 |
* @since 1.0.0
|
26 |
+
* @see FactoryPages452_AdminPage
|
27 |
*
|
28 |
*/
|
29 |
public function assets($scripts, $styles)
|
37 |
{
|
38 |
$pricing_page_url = $this->plugin->get_support()->get_pricing_url(true, 'setup_wizard');
|
39 |
?>
|
40 |
+
<div class="w-factory-templates-106-setup__inner-wrap">
|
41 |
<h3><?php _e("Congratulations, the plugin configuration is complete!", "titan-security"); ?></h3>
|
42 |
<script>
|
43 |
jQuery(document).ready(function($) {
|
admin/pages/setup/steps/class-step-default.php
CHANGED
@@ -8,7 +8,7 @@ namespace WBCR\Titan\Page;
|
|
8 |
* @copyright (c) 23.07.2020, Webcraftic
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
-
class Step_Default extends \WBCR\
|
12 |
|
13 |
protected $id = 'step0';
|
14 |
protected $next_id = 'step1';
|
@@ -21,12 +21,12 @@ class Step_Default extends \WBCR\Factory_Templates_101\Pages\Step_Custom {
|
|
21 |
public function html()
|
22 |
{
|
23 |
?>
|
24 |
-
<div class="w-factory-templates-
|
25 |
-
<div class="w-factory-templates-
|
26 |
-
<p class="w-factory-templates-
|
27 |
<?php _e('Welcome to', 'titan-security') ?>
|
28 |
</p>
|
29 |
-
<h1 class="w-factory-templates-
|
30 |
<img src="<?php echo WTITAN_PLUGIN_URL; ?>/admin/assets/img/logo9.png" alt="">
|
31 |
</h1>
|
32 |
<p><?php _e('Protect your site from external and internal threats in just 2 minutes.', 'titan-security') ?></p>
|
8 |
* @copyright (c) 23.07.2020, Webcraftic
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
+
class Step_Default extends \WBCR\Factory_Templates_106\Pages\Step_Custom {
|
12 |
|
13 |
protected $id = 'step0';
|
14 |
protected $next_id = 'step1';
|
21 |
public function html()
|
22 |
{
|
23 |
?>
|
24 |
+
<div class="w-factory-templates-106-setup__inner-wrap">
|
25 |
+
<div class="w-factory-templates-106-setup-step__new_onboarding-wrapper">
|
26 |
+
<p class="w-factory-templates-106-setup-step__new_onboarding-welcome">
|
27 |
<?php _e('Welcome to', 'titan-security') ?>
|
28 |
</p>
|
29 |
+
<h1 class="w-factory-templates-106-logo">
|
30 |
<img src="<?php echo WTITAN_PLUGIN_URL; ?>/admin/assets/img/logo9.png" alt="">
|
31 |
</h1>
|
32 |
<p><?php _e('Protect your site from external and internal threats in just 2 minutes.', 'titan-security') ?></p>
|
admin/pages/setup/steps/class-step-plugins.php
CHANGED
@@ -8,7 +8,7 @@ namespace WBCR\Titan\Page;
|
|
8 |
* @copyright (c) 23.07.2020, Webcraftic
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
-
class Step_Plugins extends \WBCR\
|
12 |
|
13 |
protected $prev_id = 'step0';
|
14 |
protected $id = 'step1';
|
@@ -23,7 +23,7 @@ class Step_Plugins extends \WBCR\Factory_Templates_101\Pages\Step_Custom {
|
|
23 |
{
|
24 |
$install_hide_login_page_btn = $this->plugin->get_install_component_button('wordpress', 'hide-login-page/hide-login-page.php');
|
25 |
?>
|
26 |
-
<div class="w-factory-templates-
|
27 |
<h3><?php _e('Installing plugins', 'titan-security') ?></h3>
|
28 |
<p style="text-align: left;"><?php _e('We analyzed your site and decided that in order to get the maximum result in
|
29 |
optimizing your site, you will need to install additional plugins.', 'titan-security') ?></p>
|
8 |
* @copyright (c) 23.07.2020, Webcraftic
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
+
class Step_Plugins extends \WBCR\Factory_Templates_106\Pages\Step_Custom {
|
12 |
|
13 |
protected $prev_id = 'step0';
|
14 |
protected $id = 'step1';
|
23 |
{
|
24 |
$install_hide_login_page_btn = $this->plugin->get_install_component_button('wordpress', 'hide-login-page/hide-login-page.php');
|
25 |
?>
|
26 |
+
<div class="w-factory-templates-106-setup__inner-wrap">
|
27 |
<h3><?php _e('Installing plugins', 'titan-security') ?></h3>
|
28 |
<p style="text-align: left;"><?php _e('We analyzed your site and decided that in order to get the maximum result in
|
29 |
optimizing your site, you will need to install additional plugins.', 'titan-security') ?></p>
|
admin/pages/setup/steps/class-step-security-audit.php
CHANGED
@@ -8,7 +8,7 @@ namespace WBCR\Titan\Page;
|
|
8 |
* @copyright (c) 23.07.2020, Webcraftic
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
-
class Step_Security_Audit extends \WBCR\
|
12 |
|
13 |
protected $prev_id = 'step1';
|
14 |
protected $id = 'step2';
|
@@ -78,7 +78,7 @@ class Step_Security_Audit extends \WBCR\Factory_Templates_101\Pages\Step_Custom
|
|
78 |
});
|
79 |
});
|
80 |
</script>
|
81 |
-
<div class="w-factory-templates-
|
82 |
<h3><?php _e("Security Audit", "titan-security"); ?> (<?php _e("Issues", "titan-security"); ?>)</h3>
|
83 |
<p style="text-align: left;">
|
84 |
<?php _e("We will audit your site for potential threats, vulnerabilities and security issues. Please see the list
|
8 |
* @copyright (c) 23.07.2020, Webcraftic
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
+
class Step_Security_Audit extends \WBCR\Factory_Templates_106\Pages\Step_Custom {
|
12 |
|
13 |
protected $prev_id = 'step1';
|
14 |
protected $id = 'step2';
|
78 |
});
|
79 |
});
|
80 |
</script>
|
81 |
+
<div class="w-factory-templates-106-setup__inner-wrap">
|
82 |
<h3><?php _e("Security Audit", "titan-security"); ?> (<?php _e("Issues", "titan-security"); ?>)</h3>
|
83 |
<p style="text-align: left;">
|
84 |
<?php _e("We will audit your site for potential threats, vulnerabilities and security issues. Please see the list
|
admin/pages/setup/steps/class-step-setting-antispam.php
CHANGED
@@ -8,7 +8,7 @@ namespace WBCR\Titan\Page;
|
|
8 |
* @copyright (c) 23.07.2020, Webcraftic
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
-
class Step_Setting_Antispam extends \WBCR\
|
12 |
|
13 |
protected $prev_id = 'step4';
|
14 |
protected $id = 'step5';
|
8 |
* @copyright (c) 23.07.2020, Webcraftic
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
+
class Step_Setting_Antispam extends \WBCR\Factory_Templates_106\Pages\Step_Form {
|
12 |
|
13 |
protected $prev_id = 'step4';
|
14 |
protected $id = 'step5';
|
admin/pages/setup/steps/class-step-setting-scan-malware.php
CHANGED
@@ -9,7 +9,7 @@ namespace WBCR\Titan\Page;
|
|
9 |
* @copyright (c) 23.07.2020, Webcraftic
|
10 |
* @version 1.0
|
11 |
*/
|
12 |
-
class Step_Scan_Malware extends \WBCR\
|
13 |
|
14 |
protected $prev_id = 'step2';
|
15 |
protected $id = 'step3';
|
@@ -60,7 +60,7 @@ class Step_Scan_Malware extends \WBCR\Factory_Templates_101\Pages\Step_Custom {
|
|
60 |
}
|
61 |
|
62 |
?>
|
63 |
-
<div class="w-factory-templates-
|
64 |
<h3><?php _e("Scan Malware", 'titan-security'); ?></h3>
|
65 |
<p style="text-align: left;">
|
66 |
<?php _e("Titan Scanner to check your website for viruses and malicious code. After scan, you will receive a detailed report on the crawl of your site.", 'titan-security'); ?>
|
9 |
* @copyright (c) 23.07.2020, Webcraftic
|
10 |
* @version 1.0
|
11 |
*/
|
12 |
+
class Step_Scan_Malware extends \WBCR\Factory_Templates_106\Pages\Step_Custom {
|
13 |
|
14 |
protected $prev_id = 'step2';
|
15 |
protected $id = 'step3';
|
60 |
}
|
61 |
|
62 |
?>
|
63 |
+
<div class="w-factory-templates-106-setup__inner-wrap">
|
64 |
<h3><?php _e("Scan Malware", 'titan-security'); ?></h3>
|
65 |
<p style="text-align: left;">
|
66 |
<?php _e("Titan Scanner to check your website for viruses and malicious code. After scan, you will receive a detailed report on the crawl of your site.", 'titan-security'); ?>
|
admin/pages/setup/steps/class-step-setting-tweaks.php
CHANGED
@@ -8,7 +8,7 @@ namespace WBCR\Titan\Page;
|
|
8 |
* @copyright (c) 23.07.2020, Webcraftic
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
-
class Step_Setting_Tweaks extends \WBCR\
|
12 |
|
13 |
protected $prev_id = 'step3';
|
14 |
protected $id = 'step4';
|
8 |
* @copyright (c) 23.07.2020, Webcraftic
|
9 |
* @version 1.0
|
10 |
*/
|
11 |
+
class Step_Setting_Tweaks extends \WBCR\Factory_Templates_106\Pages\Step_Form {
|
12 |
|
13 |
protected $prev_id = 'step3';
|
14 |
protected $id = 'step4';
|
anti-spam.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Titan Anti-spam & Security
|
4 |
Plugin URI: http://wordpress.org/plugins/anti-spam/
|
5 |
Description: Titan Security - Anti-spam, Anti-virus, Firewall and Malware Scan
|
6 |
-
Version: 7.2.
|
7 |
Author: CreativeMotion
|
8 |
Text Domain: titan-security
|
9 |
Author URI: https://cm-wp.com/
|
@@ -107,18 +107,18 @@ $wtitan_plugin_info = [
|
|
107 |
|
108 |
// FRAMEWORK MODULES
|
109 |
'load_factory_modules' => [
|
110 |
-
['libs/factory/bootstrap', '
|
111 |
-
['libs/factory/forms', '
|
112 |
-
['libs/factory/pages', '
|
113 |
-
['libs/factory/templates', '
|
114 |
-
['libs/factory/freemius', '
|
115 |
-
['libs/factory/feedback', '
|
116 |
],
|
117 |
'load_plugin_components' => array()
|
118 |
|
119 |
];
|
120 |
|
121 |
-
$wtitan_compatibility = new
|
122 |
'plugin_already_activate' => defined('WTITAN_PLUGIN_ACTIVE'),
|
123 |
'required_php_version' => '7.0',
|
124 |
'required_wp_version' => '5.4.0',
|
3 |
Plugin Name: Titan Anti-spam & Security
|
4 |
Plugin URI: http://wordpress.org/plugins/anti-spam/
|
5 |
Description: Titan Security - Anti-spam, Anti-virus, Firewall and Malware Scan
|
6 |
+
Version: 7.2.9
|
7 |
Author: CreativeMotion
|
8 |
Text Domain: titan-security
|
9 |
Author URI: https://cm-wp.com/
|
107 |
|
108 |
// FRAMEWORK MODULES
|
109 |
'load_factory_modules' => [
|
110 |
+
['libs/factory/bootstrap', 'factory_bootstrap_454', 'admin'],
|
111 |
+
['libs/factory/forms', 'factory_forms_450', 'admin'],
|
112 |
+
['libs/factory/pages', 'factory_pages_452', 'admin'],
|
113 |
+
['libs/factory/templates', 'factory_templates_106', 'all'],
|
114 |
+
['libs/factory/freemius', 'factory_freemius_140', 'all'],
|
115 |
+
['libs/factory/feedback', 'factory_feedback_114', 'admin']
|
116 |
],
|
117 |
'load_plugin_components' => array()
|
118 |
|
119 |
];
|
120 |
|
121 |
+
$wtitan_compatibility = new Wbcr_Factory453_Requirements(__FILE__, array_merge($wtitan_plugin_info, [
|
122 |
'plugin_already_activate' => defined('WTITAN_PLUGIN_ACTIVE'),
|
123 |
'required_php_version' => '7.0',
|
124 |
'required_wp_version' => '5.4.0',
|
includes/antispam/assets/js/settings.js
CHANGED
@@ -12,8 +12,8 @@
|
|
12 |
|
13 |
$.wantispam = {};
|
14 |
|
15 |
-
if ($.
|
16 |
-
$.wantispam = $.
|
17 |
}
|
18 |
|
19 |
$('.factory-checkbox--disabled.wantispam-checkbox-premium-label').click(function (e) {
|
12 |
|
13 |
$.wantispam = {};
|
14 |
|
15 |
+
if ($.wbcr_factory_templates_106) {
|
16 |
+
$.wantispam = $.wbcr_factory_templates_106;
|
17 |
}
|
18 |
|
19 |
$('.factory-checkbox--disabled.wantispam-checkbox-premium-label').click(function (e) {
|
includes/antispam/classes/class-antispam.php
CHANGED
@@ -34,7 +34,7 @@ class Antispam extends Module_Base {
|
|
34 |
*
|
35 |
* @since 1.1
|
36 |
*/
|
37 |
-
const SERVER_UNAVAILABLE_INTERVAL =
|
38 |
|
39 |
/**
|
40 |
* @var bool
|
@@ -72,7 +72,7 @@ class Antispam extends Module_Base {
|
|
72 |
check_ajax_referer( 'wtitan_change_antispam_mode' );
|
73 |
|
74 |
if ( ! current_user_can( 'manage_options' ) ) {
|
75 |
-
wp_send_json(
|
76 |
}
|
77 |
|
78 |
if ( isset( $_POST['mode'] ) ) {
|
@@ -84,7 +84,7 @@ class Antispam extends Module_Base {
|
|
84 |
if ( (bool) $mode_name ) {
|
85 |
wp_send_json( [
|
86 |
'message' => __( "Anti-spam successfully enabled", "titan-security" ),
|
87 |
-
'mode' => $mode_name
|
88 |
] );
|
89 |
} else {
|
90 |
wp_send_json( [ 'message' => __( "Anti-spam successfully disabled", "titan-security" ) ] );
|
@@ -117,6 +117,8 @@ class Antispam extends Module_Base {
|
|
117 |
|
118 |
if ( $cached !== false ) {
|
119 |
if ( isset( $cached->error_code ) && isset( $cached->error ) ) {
|
|
|
|
|
120 |
return new \WP_Error( $cached->error_code, $cached->error );
|
121 |
}
|
122 |
|
@@ -129,7 +131,7 @@ class Antispam extends Module_Base {
|
|
129 |
if ( is_wp_error( $data ) ) {
|
130 |
set_transient( $key, (object) [
|
131 |
'error' => $data->get_error_message(),
|
132 |
-
'error_code' => $data->get_error_code()
|
133 |
], self::SERVER_UNAVAILABLE_INTERVAL * HOUR_IN_SECONDS );
|
134 |
|
135 |
return $data;
|
34 |
*
|
35 |
* @since 1.1
|
36 |
*/
|
37 |
+
const SERVER_UNAVAILABLE_INTERVAL = 1;
|
38 |
|
39 |
/**
|
40 |
* @var bool
|
72 |
check_ajax_referer( 'wtitan_change_antispam_mode' );
|
73 |
|
74 |
if ( ! current_user_can( 'manage_options' ) ) {
|
75 |
+
wp_send_json( [ 'error_message' => __( 'You don\'t have enough capability to edit this information.', 'titan-security' ) ] );
|
76 |
}
|
77 |
|
78 |
if ( isset( $_POST['mode'] ) ) {
|
84 |
if ( (bool) $mode_name ) {
|
85 |
wp_send_json( [
|
86 |
'message' => __( "Anti-spam successfully enabled", "titan-security" ),
|
87 |
+
'mode' => $mode_name,
|
88 |
] );
|
89 |
} else {
|
90 |
wp_send_json( [ 'message' => __( "Anti-spam successfully disabled", "titan-security" ) ] );
|
117 |
|
118 |
if ( $cached !== false ) {
|
119 |
if ( isset( $cached->error_code ) && isset( $cached->error ) ) {
|
120 |
+
delete_transient( $key );
|
121 |
+
|
122 |
return new \WP_Error( $cached->error_code, $cached->error );
|
123 |
}
|
124 |
|
131 |
if ( is_wp_error( $data ) ) {
|
132 |
set_transient( $key, (object) [
|
133 |
'error' => $data->get_error_message(),
|
134 |
+
'error_code' => $data->get_error_code(),
|
135 |
], self::SERVER_UNAVAILABLE_INTERVAL * HOUR_IN_SECONDS );
|
136 |
|
137 |
return $data;
|
includes/audit/assets/js/audit_ajax.js
CHANGED
@@ -23,9 +23,9 @@ function audit_ajax(action_before = true) {
|
|
23 |
jQuery('#wt-checker-check').removeAttr('disabled');
|
24 |
} else loader.attr('data-status', loader.attr('data-status') + 1);
|
25 |
|
26 |
-
var noticeId = jQuery.
|
27 |
setTimeout(function () {
|
28 |
-
jQuery.
|
29 |
}, 5000);
|
30 |
|
31 |
if (action_before) {
|
23 |
jQuery('#wt-checker-check').removeAttr('disabled');
|
24 |
} else loader.attr('data-status', loader.attr('data-status') + 1);
|
25 |
|
26 |
+
var noticeId = jQuery.wbcr_factory_templates_106.app.showNotice('Security audit success', 'success');
|
27 |
setTimeout(function () {
|
28 |
+
jQuery.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
29 |
}, 5000);
|
30 |
|
31 |
if (action_before) {
|
includes/class-titan-security-plugin.php
CHANGED
@@ -13,7 +13,7 @@ if( !defined('ABSPATH') ) {
|
|
13 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
14 |
* @copyright (c) 20.10.2019, Webcraftic
|
15 |
*/
|
16 |
-
class Plugin extends \
|
17 |
|
18 |
/**
|
19 |
* Number of comments that will be sent for verification
|
@@ -24,7 +24,7 @@ class Plugin extends \Wbcr_Factory449_Plugin {
|
|
24 |
|
25 |
/**
|
26 |
* @see self::app()
|
27 |
-
* @var \
|
28 |
*/
|
29 |
private static $app;
|
30 |
|
@@ -83,7 +83,7 @@ class Plugin extends \Wbcr_Factory449_Plugin {
|
|
83 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
84 |
* классам.
|
85 |
*
|
86 |
-
* @return \
|
87 |
* @since 6.0
|
88 |
*/
|
89 |
public static function app()
|
13 |
* @author Alexander Kovalev <alex.kovalevv@gmail.com>, Github: https://github.com/alexkovalevv
|
14 |
* @copyright (c) 20.10.2019, Webcraftic
|
15 |
*/
|
16 |
+
class Plugin extends \Wbcr_Factory453_Plugin {
|
17 |
|
18 |
/**
|
19 |
* Number of comments that will be sent for verification
|
24 |
|
25 |
/**
|
26 |
* @see self::app()
|
27 |
+
* @var \Wbcr_Factory453_Plugin
|
28 |
*/
|
29 |
private static $app;
|
30 |
|
83 |
* Используется для получения настроек плагина, информации о плагине, для доступа к вспомогательным
|
84 |
* классам.
|
85 |
*
|
86 |
+
* @return \Wbcr_Factory453_Plugin|\WBCR\Titan\Plugin
|
87 |
* @since 6.0
|
88 |
*/
|
89 |
public static function app()
|
includes/class.module-base.php
CHANGED
@@ -21,7 +21,7 @@ abstract class Module_Base {
|
|
21 |
* Plugin object
|
22 |
*
|
23 |
* @since 7.0
|
24 |
-
* @var \
|
25 |
*/
|
26 |
public $plugin;
|
27 |
|
21 |
* Plugin object
|
22 |
*
|
23 |
* @since 7.0
|
24 |
+
* @var \Wbcr_Factory453_Plugin
|
25 |
*/
|
26 |
public $plugin;
|
27 |
|
includes/functions.php
CHANGED
@@ -349,8 +349,8 @@ function collect_wp_hash_sum($path = ABSPATH)
|
|
349 |
* This is necessary to remind the user to update the configuration of the plugin components,
|
350 |
* Otherwise, the newly activated components will not be involved in the work of the plugin.
|
351 |
*
|
352 |
-
* @param
|
353 |
-
* @param
|
354 |
*
|
355 |
* @return bool
|
356 |
*/
|
349 |
* This is necessary to remind the user to update the configuration of the plugin components,
|
350 |
* Otherwise, the newly activated components will not be involved in the work of the plugin.
|
351 |
*
|
352 |
+
* @param Wbcr_Factory453_Plugin $plugin
|
353 |
+
* @param Wbcr_FactoryPages452_ImpressiveThemplate $obj
|
354 |
*
|
355 |
* @return bool
|
356 |
*/
|
includes/helpers.php
CHANGED
@@ -115,7 +115,7 @@ class Helper {
|
|
115 |
*/
|
116 |
public static function getEscapeJson(array $data)
|
117 |
{
|
118 |
-
return \WBCR\
|
119 |
}
|
120 |
|
121 |
/**
|
115 |
*/
|
116 |
public static function getEscapeJson(array $data)
|
117 |
{
|
118 |
+
return \WBCR\Factory_Templates_106\Helpers::getEscapeJson($data);
|
119 |
}
|
120 |
|
121 |
/**
|
includes/logger/assets/js/base.js
CHANGED
@@ -27,10 +27,10 @@
|
|
27 |
|
28 |
$('#js-wlogger-viewer').html('');
|
29 |
$('#js-wlogger-size').text('0B');
|
30 |
-
$.
|
31 |
},
|
32 |
error: function (jqXHR, textStatus, errorThrown) {
|
33 |
-
$.
|
34 |
btn.html(currentBtnText);
|
35 |
}
|
36 |
});
|
27 |
|
28 |
$('#js-wlogger-viewer').html('');
|
29 |
$('#js-wlogger-size').text('0B');
|
30 |
+
$.wbcr_factory_templates_106.app.showNotice(data.message, data.type);
|
31 |
},
|
32 |
error: function (jqXHR, textStatus, errorThrown) {
|
33 |
+
$.wbcr_factory_templates_106.app.showNotice('Error: ' + errorThrown + ', status: ' + textStatus, 'danger');
|
34 |
btn.html(currentBtnText);
|
35 |
}
|
36 |
});
|
includes/scanner/assets/js/scanner.js
CHANGED
@@ -70,9 +70,9 @@
|
|
70 |
type = 'warning';
|
71 |
}
|
72 |
|
73 |
-
var noticeId = $.
|
74 |
setTimeout(function () {
|
75 |
-
$.
|
76 |
}, 5000);
|
77 |
});
|
78 |
});
|
70 |
type = 'warning';
|
71 |
}
|
72 |
|
73 |
+
var noticeId = $.wbcr_factory_templates_106.app.showNotice(response.data.message, type);
|
74 |
setTimeout(function () {
|
75 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
76 |
}, 5000);
|
77 |
});
|
78 |
});
|
includes/sitechecker/assets/js/app.js
CHANGED
@@ -214,14 +214,14 @@
|
|
214 |
timeout = 5000;
|
215 |
}
|
216 |
|
217 |
-
if (typeof $ === 'undefined' || typeof $.
|
218 |
return;
|
219 |
}
|
220 |
|
221 |
-
var noticeId = $.
|
222 |
if (timeout > 0) {
|
223 |
setTimeout(function () {
|
224 |
-
$.
|
225 |
}, timeout);
|
226 |
}
|
227 |
}
|
214 |
timeout = 5000;
|
215 |
}
|
216 |
|
217 |
+
if (typeof $ === 'undefined' || typeof $.wbcr_factory_templates_106 === 'undefined') {
|
218 |
return;
|
219 |
}
|
220 |
|
221 |
+
var noticeId = $.wbcr_factory_templates_106.app.showNotice(message, type);
|
222 |
if (timeout > 0) {
|
223 |
setTimeout(function () {
|
224 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
225 |
}, timeout);
|
226 |
}
|
227 |
}
|
includes/sitechecker/assets/js/sitechecker.js
CHANGED
@@ -8,14 +8,14 @@ jQuery(document).ready(function ($) {
|
|
8 |
timeout = 5000;
|
9 |
}
|
10 |
|
11 |
-
if (typeof $ === 'undefined' || typeof $.
|
12 |
return;
|
13 |
}
|
14 |
|
15 |
-
var noticeId = $.
|
16 |
if (timeout > 0) {
|
17 |
setTimeout(function () {
|
18 |
-
$.
|
19 |
}, timeout);
|
20 |
}
|
21 |
}
|
8 |
timeout = 5000;
|
9 |
}
|
10 |
|
11 |
+
if (typeof $ === 'undefined' || typeof $.wbcr_factory_templates_106 === 'undefined') {
|
12 |
return;
|
13 |
}
|
14 |
|
15 |
+
var noticeId = $.wbcr_factory_templates_106.app.showNotice(message, type);
|
16 |
if (timeout > 0) {
|
17 |
setTimeout(function () {
|
18 |
+
$.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
19 |
}, timeout);
|
20 |
}
|
21 |
}
|
includes/vulnerabilities/assets/js/vulnerability_ajax.js
CHANGED
@@ -23,9 +23,9 @@ function vulnerability_ajax(action_before = true) {
|
|
23 |
jQuery('#wt-checker-check').removeAttr('disabled');
|
24 |
} else loader.attr('data-status', loader.attr('data-status') + '1');
|
25 |
|
26 |
-
var noticeId = jQuery.
|
27 |
setTimeout(function () {
|
28 |
-
jQuery.
|
29 |
}, 5000);
|
30 |
|
31 |
if (action_before) {
|
23 |
jQuery('#wt-checker-check').removeAttr('disabled');
|
24 |
} else loader.attr('data-status', loader.attr('data-status') + '1');
|
25 |
|
26 |
+
var noticeId = jQuery.wbcr_factory_templates_106.app.showNotice('Vulnerability scan success', 'success');
|
27 |
setTimeout(function () {
|
28 |
+
jQuery.wbcr_factory_templates_106.app.hideNotice(noticeId);
|
29 |
}, 5000);
|
30 |
|
31 |
if (action_before) {
|
libs/antispam-premium/admin/assets/js/check-existing-comments.js
CHANGED
@@ -30,7 +30,7 @@ jQuery(function($) {
|
|
30 |
console.error("[AntiSpam PRO] Response error:");
|
31 |
console.log(response);
|
32 |
|
33 |
-
$.
|
34 |
return;
|
35 |
}
|
36 |
|
@@ -63,7 +63,7 @@ jQuery(function($) {
|
|
63 |
console.log(status);
|
64 |
console.log(error);
|
65 |
|
66 |
-
$.
|
67 |
});
|
68 |
}
|
69 |
});
|
30 |
console.error("[AntiSpam PRO] Response error:");
|
31 |
console.log(response);
|
32 |
|
33 |
+
$.wbcr_factory_templates_106.app.showNotice("[AntiSpam PRO] Ajax error: " + response.data.error_message, 'danger');
|
34 |
return;
|
35 |
}
|
36 |
|
63 |
console.log(status);
|
64 |
console.log(error);
|
65 |
|
66 |
+
$.wbcr_factory_templates_106.app.showNotice("[AntiSpam PRO] Ajax error: " + error, 'danger');
|
67 |
});
|
68 |
}
|
69 |
});
|
libs/antispam-premium/admin/boot.php
CHANGED
@@ -42,8 +42,8 @@ add_action( 'current_screen', function () {
|
|
42 |
* This is necessary to remind the user to update the configuration of the plugin components,
|
43 |
* Otherwise, the newly activated components will not be involved in the work of the plugin.
|
44 |
*
|
45 |
-
* @param
|
46 |
-
* @param
|
47 |
*
|
48 |
* @return bool
|
49 |
*/
|
42 |
* This is necessary to remind the user to update the configuration of the plugin components,
|
43 |
* Otherwise, the newly activated components will not be involved in the work of the plugin.
|
44 |
*
|
45 |
+
* @param Wbcr_Factory453_Plugin $plugin
|
46 |
+
* @param Wbcr_FactoryPages452_ImpressiveThemplate $obj
|
47 |
*
|
48 |
* @return bool
|
49 |
*/
|
libs/antispam-premium/admin/pages/class-pages-settings.php
CHANGED
@@ -39,7 +39,7 @@ class Progress extends \WBCR\Titan\Page\Base {
|
|
39 |
*/
|
40 |
public $show_right_sidebar_in_options = false;
|
41 |
|
42 |
-
public function __construct(\
|
43 |
{
|
44 |
$this->plugin = $plugin;
|
45 |
parent::__construct($plugin);
|
@@ -50,7 +50,7 @@ class Progress extends \WBCR\Titan\Page\Base {
|
|
50 |
*
|
51 |
* @return void
|
52 |
* @since 1.0.0
|
53 |
-
* @see
|
54 |
*
|
55 |
*/
|
56 |
public function assets($scripts, $styles)
|
39 |
*/
|
40 |
public $show_right_sidebar_in_options = false;
|
41 |
|
42 |
+
public function __construct(\Wbcr_Factory453_Plugin $plugin)
|
43 |
{
|
44 |
$this->plugin = $plugin;
|
45 |
parent::__construct($plugin);
|
50 |
*
|
51 |
* @return void
|
52 |
* @since 1.0.0
|
53 |
+
* @see Wbcr_FactoryPages452_AdminPage
|
54 |
*
|
55 |
*/
|
56 |
public function assets($scripts, $styles)
|
libs/antispam-premium/includes/class-request-api.php
CHANGED
@@ -11,7 +11,8 @@ namespace WBCR\Titan\Premium\Api;
|
|
11 |
*/
|
12 |
class Request {
|
13 |
|
14 |
-
const SERVER_API_URL_V1 = 'https://api.anti-spam.space/api/v1.0';
|
|
|
15 |
//const SERVER_API_URL_V1 = 'https://dev.anti-spam.space/api/v1.0';
|
16 |
const STAT_ENDPOINT = '/spam/statistics';
|
17 |
|
11 |
*/
|
12 |
class Request {
|
13 |
|
14 |
+
//const SERVER_API_URL_V1 = 'https://api.anti-spam.space/api/v1.0';
|
15 |
+
const SERVER_API_URL_V1 = 'https://api.titansitescanner.com/api/v1.0';
|
16 |
//const SERVER_API_URL_V1 = 'https://dev.anti-spam.space/api/v1.0';
|
17 |
const STAT_ENDPOINT = '/spam/statistics';
|
18 |
|
libs/factory/bootstrap/assets/css-min/bootstrap.accordion.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1, 2021-
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-11-19
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-454 .factory-accordion{margin:0 0 30px;border-top:1px solid #DDD;border-right:1px solid #DDD;border-left:1px solid #DDD;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.factory-bootstrap-454 .factory-accordion>h3{border-bottom:1px solid #DDD;cursor:pointer;padding:8px 15px;margin:0}.factory-bootstrap-454 .factory-accordion>div{display:none;margin:0;border-bottom:1px solid #DDD}.factory-bootstrap-454 .factory-accordion-item{display:none}.factory-bootstrap-454 .inner-factory-accordion-item{padding:10px 0}.factory-bootstrap-454 .factory-accordion>h3.active:hover{cursor:default}
|
libs/factory/bootstrap/assets/css-min/bootstrap.blue.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1, 2021-
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-11-19
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-454 .btn-primary{background:#e1a948;border-color:#d39323;color:#fff;-webkit-box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #ecc88a,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-454 .btn-primary:focus,.factory-bootstrap-454 .btn-primary:hover{background:#db9825;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e8be74,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e8be74,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-454 .btn-primary:active{background:#db9825;border-color:#bd831f;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-454 .btn-primary:disabled,.factory-bootstrap-454 .btn-primary[disabled]{color:#d1cdc7!important;background:#db9825!important;border-color:#bd831f!important;text-shadow:none!important}.factory-bootstrap-454 .btn-group .btn.active.value{background-color:#e1a948;-webkit-box-shadow:inset 0 1px 2px #d39323;box-shadow:inset 0 1px 2px #d39323;border-top:1px solid #d39323;border-bottom:1px solid #d39323;border-left:1px solid #d39323}.factory-bootstrap-454 .pagination>.active>a,.factory-bootstrap-454 .pagination>.active>a:focus,.factory-bootstrap-454 .pagination>.active>a:hover,.factory-bootstrap-454 .pagination>.active>span,.factory-bootstrap-454 .pagination>.active>span:focus,.factory-bootstrap-454 .pagination>.active>span:hover{background-color:#e1a948;border-color:#d39323}
|
libs/factory/bootstrap/assets/css-min/bootstrap.coffee.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1, 2021-
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,4 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-
|
1 |
/*!
|
2 |
+
* Bootstrap generator - v1.0.1, 2021-11-19
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
8 |
*/
|
9 |
|
10 |
|
11 |
+
.factory-bootstrap-454 .btn-primary{background:#c7a589;border-color:#b78a66;color:#fff;-webkit-box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #e0cdbd,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-454 .btn-primary:focus,.factory-bootstrap-454 .btn-primary:hover{background:#ba906d;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 1px 0 #d7bfac,0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 #d7bfac,0 1px 0 rgba(0,0,0,.15)}.factory-bootstrap-454 .btn-primary:active{background:#ba906d;border-color:#ae7d55;color:#fff;-webkit-box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5);box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.factory-bootstrap-454 .btn-primary:disabled,.factory-bootstrap-454 .btn-primary[disabled]{color:#d1cbc7!important;background:#ba906d!important;border-color:#ae7d55!important;text-shadow:none!important}.factory-bootstrap-454 .btn-group .btn.active.value{background-color:#c7a589;-webkit-box-shadow:inset 0 1px 2px #b78a66;box-shadow:inset 0 1px 2px #b78a66;border-top:1px solid #b78a66;border-bottom:1px solid #b78a66;border-left:1px solid #b78a66}.factory-bootstrap-454 .pagination>.active>a,.factory-bootstrap-454 .pagination>.active>a:focus,.factory-bootstrap-454 .pagination>.active>a:hover,.factory-bootstrap-454 .pagination>.active>span,.factory-bootstrap-454 .pagination>.active>span:focus,.factory-bootstrap-454 .pagination>.active>span:hover{background-color:#c7a589;border-color:#b78a66}
|
libs/factory/bootstrap/assets/css-min/bootstrap.core.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Bootstrap generator - v1.0.1, 2021-
|
3 |
* Webcraftic factory build
|
4 |
*
|
5 |
* Copyright 2018, Alex Kovalev <alex.kovalevv@gmail.com>, Webcraftic <wordpress.webraftic@gmail.com>
|
@@ -8,18 +8,4 @@
|
|
8 |
*/
|
9 |
|
10 |
|
11 |
-
.factory-bootstrap-449 article,.factory-bootstrap-449 aside,.factory-bootstrap-449 details,.factory-bootstrap-449 figcaption,.factory-bootstrap-449 figure,.factory-bootstrap-449 footer,.factory-bootstrap-449 header,.factory-bootstrap-449 hgroup,.factory-bootstrap-449 main,.factory-bootstrap-449 nav,.factory-bootstrap-449 section,.factory-bootstrap-449 summary{display:block}.factory-bootstrap-449 audio,.factory-bootstrap-449 canvas,.factory-bootstrap-449 video{display:inline-block}.factory-bootstrap-449 audio:not([controls]){display:none;height:0}.factory-bootstrap-449 [hidden],.factory-bootstrap-449 template{display:none}.factory-bootstrap-449 body{margin:0}.factory-bootstrap-449 a{background:0 0}.factory-bootstrap-449 a:focus{outline:thin dotted}.factory-bootstrap-449 a:active,.factory-bootstrap-449 a:hover{outline:0}.factory-bootstrap-449 h1{margin:.67em 0}.factory-bootstrap-449 b,.factory-bootstrap-449 strong{font-weight:700}.factory-bootstrap-449 dfn{font-style:italic}.factory-bootstrap-449 hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}.factory-bootstrap-449 mark{color:#000;background:#ff0}.factory-bootstrap-449 code,.factory-bootstrap-449 kbd,.factory-bootstrap-449 pre,.factory-bootstrap-449 samp{font-size:1em}.factory-bootstrap-449 pre{white-space:pre-wrap}.factory-bootstrap-449 q{quotes:"\201C" "\201D" "\2018" "\2019"}.factory-bootstrap-449 sub,.factory-bootstrap-449 sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}.factory-bootstrap-449 sup{top:-.5em}.factory-bootstrap-449 sub{bottom:-.25em}.factory-bootstrap-449 img{border:0}.factory-bootstrap-449 svg:not(:root){overflow:hidden}.factory-bootstrap-449 figure{margin:0}.factory-bootstrap-449 button,.factory-bootstrap-449 input,.factory-bootstrap-449 select,.factory-bootstrap-449 textarea{margin:0}.factory-bootstrap-449 button,.factory-bootstrap-449 select{text-transform:none}.factory-bootstrap-449 select{padding-right:4px!important}.factory-bootstrap-449 button,.factory-bootstrap-449 input[type=reset],.factory-bootstrap-449 input[type=submit],html .factory-bootstrap-449 input[type=button]{cursor:pointer;-webkit-appearance:button}.factory-bootstrap-449 button[disabled],html .factory-bootstrap-449 input[disabled]{cursor:default}.factory-bootstrap-449 input[type=checkbox],.factory-bootstrap-449 input[type=radio]{padding:0;box-sizing:border-box}.factory-bootstrap-449 input[type=search]{-webkit-appearance:textfield}.factory-bootstrap-449 input[type=search]::-webkit-search-cancel-button,.factory-bootstrap-449 input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.factory-bootstrap-449 button::-moz-focus-inner,.factory-bootstrap-449 input::-moz-focus-inner{padding:0;border:0}.factory-bootstrap-449 textarea{overflow:auto;vertical-align:top}.factory-bootstrap-449 table{border-collapse:collapse;border-spacing:0}@media print{.factory-bootstrap-449 *{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}.factory-bootstrap-449 a,.factory-bootstrap-449 a:visited{text-decoration:underline}.factory-bootstrap-449 a[href]:after{content:" (" attr(href) ")"}.factory-bootstrap-449 abbr[title]:after{content:" (" attr(title) ")"}.factory-bootstrap-449 a[href^="javascript:"]:after,.factory-bootstrap-449 a[hr |