Version Description
(07/12/2020) =
* Modules: add support for Google Analytics 4 measurement ID
* Design: enable media buttons on wp_editor (now you can add images from the editor)
* Bot: fix translation issue
* Misc: add filters for capabilities wpmm_settings_capability
, wpmm_subscribers_capability
, and wpmm_all_actions_capability
(the last one can be used to override all capabilities)
* Misc: fix [loginform] shortcode redirect attribute
* Misc: a few CSS & Javascript improvements
* Misc: bump "Tested up to" version to 5.6
Download this release
Release Info
Developer | GeorgeJipa |
Plugin | WP Maintenance Mode |
Version | 2.3.0 |
Comparing to | |
See all releases |
Code changes from version 2.2.4 to 2.3.0
- assets/css/style-admin.css +36 -1
- assets/css/style-admin.min.css +1 -1
- assets/css/style.css +28 -1
- assets/css/style.min.css +1 -1
- assets/images/recommended/blocksy.jpg +0 -0
- assets/images/{resources → recommended}/postcards.jpg +0 -0
- assets/images/recommended/static-pages.png +0 -0
- assets/images/{resources → recommended}/strictthemes.png +0 -0
- assets/images/resources/blocksy.jpg +0 -0
- assets/images/resources/flatui.jpg +0 -0
- assets/images/resources/freephotoscc.jpg +0 -0
- assets/images/resources/linecons.jpg +0 -0
- assets/images/resources/qards.jpg +0 -0
- assets/js/bot.js +1 -2
- assets/js/bot.min.js +1 -1
- assets/js/scripts-admin.js +8 -8
- assets/js/scripts-admin.min.js +1 -1
- assets/js/scripts.js +1 -1
- assets/js/scripts.min.js +1 -1
- includes/classes/wp-maintenance-mode-admin.php +13 -11
- includes/classes/wp-maintenance-mode.php +15 -11
- includes/functions/helpers.php +126 -41
- languages/wp-maintenance-mode-de_DE.mo +0 -0
- languages/wp-maintenance-mode-de_DE.po +148 -147
- languages/wp-maintenance-mode-en_US.mo +0 -0
- languages/wp-maintenance-mode-en_US.po +147 -149
- languages/wp-maintenance-mode-es_ES.mo +0 -0
- languages/wp-maintenance-mode-es_ES.po +149 -148
- languages/wp-maintenance-mode-fa_IR.mo +0 -0
- languages/wp-maintenance-mode-fa_IR.po +149 -148
- languages/wp-maintenance-mode-fr_FR.mo +0 -0
- languages/wp-maintenance-mode-fr_FR.po +149 -148
- languages/wp-maintenance-mode-it_IT.mo +0 -0
- languages/wp-maintenance-mode-it_IT.po +149 -148
- languages/wp-maintenance-mode-nb_NO.mo +0 -0
- languages/wp-maintenance-mode-nb_NO.po +149 -148
- languages/wp-maintenance-mode-nl_NL.mo +0 -0
- languages/wp-maintenance-mode-nl_NL.po +149 -148
- languages/wp-maintenance-mode-pl_PL.mo +0 -0
- languages/wp-maintenance-mode-pl_PL.po +149 -148
- languages/wp-maintenance-mode-pt_BR.mo +0 -0
- languages/wp-maintenance-mode-pt_BR.po +149 -148
- languages/wp-maintenance-mode-pt_PT.mo +0 -0
- languages/wp-maintenance-mode-pt_PT.po +157 -150
- languages/wp-maintenance-mode-ro_RO.mo +0 -0
- languages/wp-maintenance-mode-ro_RO.po +156 -149
- languages/wp-maintenance-mode-ru_RU.mo +0 -0
- languages/wp-maintenance-mode-ru_RU.po +149 -148
- languages/wp-maintenance-mode-sv_SE.mo +0 -0
- languages/wp-maintenance-mode-sv_SE.po +149 -148
- languages/wp-maintenance-mode-uk_UA.mo +0 -0
- languages/wp-maintenance-mode-uk_UA.po +174 -155
- readme.txt +19 -10
- views/google-analytics.php +9 -5
- views/promo-blocksy.php +9 -0
- views/promo-strictthemes.php +0 -9
- views/settings.php +21 -36
- views/sidebar.php +13 -32
- wp-maintenance-mode.php +2 -3
assets/css/style-admin.css
CHANGED
@@ -102,11 +102,44 @@ h2.wpmm-title {
|
|
102 |
margin-left: 30px;
|
103 |
}
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
.tabs-content .wp-picker-holder {
|
106 |
position:absolute;
|
107 |
z-index:9999999;
|
108 |
}
|
109 |
|
|
|
|
|
|
|
|
|
110 |
.tabs-content .bot-hint {
|
111 |
background: #9f9f9f;
|
112 |
padding: 10px;
|
@@ -115,7 +148,9 @@ h2.wpmm-title {
|
|
115 |
color: #fff;
|
116 |
}
|
117 |
|
118 |
-
.tabs-content .bot-button {
|
|
|
|
|
119 |
|
120 |
/* SIDEBARS */
|
121 |
#sidebar .info_box ul {
|
102 |
margin-left: 30px;
|
103 |
}
|
104 |
|
105 |
+
.tabs-content td.has-inline-color-picker {
|
106 |
+
display: flex;
|
107 |
+
align-items: center;
|
108 |
+
}
|
109 |
+
|
110 |
+
.tabs-content td.has-inline-color-picker .wp-picker-container .wp-color-result {
|
111 |
+
margin: 0 6px 0px 6px;
|
112 |
+
}
|
113 |
+
|
114 |
+
@media screen and (max-width: 782px) {
|
115 |
+
.tabs-content td.has-inline-color-picker {
|
116 |
+
display: flex;
|
117 |
+
align-items: flex-start;
|
118 |
+
flex-direction: column;
|
119 |
+
}
|
120 |
+
|
121 |
+
.tabs-content td.has-inline-color-picker .wp-picker-container {
|
122 |
+
margin-top: 6px;
|
123 |
+
}
|
124 |
+
|
125 |
+
.tabs-content td.has-inline-color-picker .wp-picker-container .wp-color-result {
|
126 |
+
margin-left: 0;
|
127 |
+
}
|
128 |
+
|
129 |
+
.tabs-content .countdown_details .margin_left {
|
130 |
+
margin-left: 0;
|
131 |
+
}
|
132 |
+
}
|
133 |
+
|
134 |
.tabs-content .wp-picker-holder {
|
135 |
position:absolute;
|
136 |
z-index:9999999;
|
137 |
}
|
138 |
|
139 |
+
.tabs-content #subscribers_wrap .buttons {
|
140 |
+
margin-top: 8px;
|
141 |
+
}
|
142 |
+
|
143 |
.tabs-content .bot-hint {
|
144 |
background: #9f9f9f;
|
145 |
padding: 10px;
|
148 |
color: #fff;
|
149 |
}
|
150 |
|
151 |
+
.tabs-content .bot-button {
|
152 |
+
display: inline-block;
|
153 |
+
}
|
154 |
|
155 |
/* SIDEBARS */
|
156 |
#sidebar .info_box ul {
|
assets/css/style-admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
h2.wpmm-title{background:url(../images/icon-48.png) no-repeat 0;line-height:42px!important;margin-bottom:30px!important;height:48px;padding-left:55px!important}.wpmm-wrapper{display:table;width:100%}.wpmm-wrapper #content{min-width:800px}.wpmm-wrapper #sidebar{padding:0 0 0 20px;width:280px}.wpmm-wrapper #sidebar .sidebar_box{background:none repeat scroll 0 0 #fff;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);min-width:255px;line-height:1;margin-bottom:20px;padding:0}.wpmm-wrapper #sidebar .sidebar_box h3{margin:0;padding:8px 12px;border-bottom:1px solid #ececec}.wpmm-wrapper #sidebar .sidebar_box .inside{margin:6px 0 0;font-size:13px;line-height:1.4em;padding:0 12px 12px}.wpmm-wrapper .wrapper-cell{display:table-cell}.wpmm-wrapper .hidden{display:none}.nav-tab-wrapper{border-bottom:1px solid #ccc;padding-bottom:0;padding-left:10px}.nav-tab-wrapper a{font-size:15px;font-weight:700;line-height:24px;padding:6px 10px}.tabs-content{margin-top:20px;padding-left:10px}.tabs-content .wp-color-result{margin-bottom:-2px}.tabs-content ul.bg_list{float:left}.tabs-content ul.bg_list li{float:left;margin-right:7px;opacity:.4}.tabs-content ul.bg_list li.active{opacity:1}.tabs-content ul.bg_list li input{display:none}.tabs-content .countdown_details input{width:70px}.tabs-content .countdown_details .margin_left{margin-left:30px}.tabs-content .wp-picker-holder{position:absolute;z-index:9999999}.tabs-content .bot-hint{background:#9f9f9f;padding:10px;float:right;border-radius:5px;color:#fff}.tabs-content .bot-button{display:inline-block}#sidebar .info_box ul{margin-top:10px;margin-bottom:-5px}#sidebar .resources_box ul,#sidebar .themes_box ul{margin-top:10px;margin-bottom:-15px}#sidebar .resources_box li,#sidebar .themes_box li{margin-bottom:10px}.chosen-container,.chosen-select{width:195px!important}.chosen-container-active .chosen-choices{-webkit-box-shadow:none!important;box-shadow:none!important;background-image:none!important}.chosen-container-multi .chosen-choices{border:1px solid #ddd!important;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.07) inset!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.07)!important;background-image:none!important}.chosen-container .chosen-results li.highlighted{background-color:#0074a2!important;background-image:none!important}#footer-left .wpmm_rating:hover{text-decoration:none!important;color:#ffb900!important}
|
1 |
+
h2.wpmm-title{background:url(../images/icon-48.png) no-repeat 0;line-height:42px!important;margin-bottom:30px!important;height:48px;padding-left:55px!important}.wpmm-wrapper{display:table;width:100%}.wpmm-wrapper #content{min-width:800px}.wpmm-wrapper #sidebar{padding:0 0 0 20px;width:280px}.wpmm-wrapper #sidebar .sidebar_box{background:none repeat scroll 0 0 #fff;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);min-width:255px;line-height:1;margin-bottom:20px;padding:0}.wpmm-wrapper #sidebar .sidebar_box h3{margin:0;padding:8px 12px;border-bottom:1px solid #ececec}.wpmm-wrapper #sidebar .sidebar_box .inside{margin:6px 0 0;font-size:13px;line-height:1.4em;padding:0 12px 12px}.wpmm-wrapper .wrapper-cell{display:table-cell}.wpmm-wrapper .hidden{display:none}.nav-tab-wrapper{border-bottom:1px solid #ccc;padding-bottom:0;padding-left:10px}.nav-tab-wrapper a{font-size:15px;font-weight:700;line-height:24px;padding:6px 10px}.tabs-content{margin-top:20px;padding-left:10px}.tabs-content .wp-color-result{margin-bottom:-2px}.tabs-content ul.bg_list{float:left}.tabs-content ul.bg_list li{float:left;margin-right:7px;opacity:.4}.tabs-content ul.bg_list li.active{opacity:1}.tabs-content ul.bg_list li input{display:none}.tabs-content .countdown_details input{width:70px}.tabs-content .countdown_details .margin_left{margin-left:30px}.tabs-content td.has-inline-color-picker{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tabs-content td.has-inline-color-picker .wp-picker-container .wp-color-result{margin:0 6px}@media screen and (max-width:782px){.tabs-content td.has-inline-color-picker{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.tabs-content td.has-inline-color-picker .wp-picker-container{margin-top:6px}.tabs-content .countdown_details .margin_left,.tabs-content td.has-inline-color-picker .wp-picker-container .wp-color-result{margin-left:0}}.tabs-content .wp-picker-holder{position:absolute;z-index:9999999}.tabs-content #subscribers_wrap .buttons{margin-top:8px}.tabs-content .bot-hint{background:#9f9f9f;padding:10px;float:right;border-radius:5px;color:#fff}.tabs-content .bot-button{display:inline-block}#sidebar .info_box ul{margin-top:10px;margin-bottom:-5px}#sidebar .resources_box ul,#sidebar .themes_box ul{margin-top:10px;margin-bottom:-15px}#sidebar .resources_box li,#sidebar .themes_box li{margin-bottom:10px}.chosen-container,.chosen-select{width:195px!important}.chosen-container-active .chosen-choices{-webkit-box-shadow:none!important;box-shadow:none!important;background-image:none!important}.chosen-container-multi .chosen-choices{border:1px solid #ddd!important;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.07) inset!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.07)!important;background-image:none!important}.chosen-container .chosen-results li.highlighted{background-color:#0074a2!important;background-image:none!important}#footer-left .wpmm_rating:hover{text-decoration:none!important;color:#ffb900!important}
|
assets/css/style.css
CHANGED
@@ -90,6 +90,12 @@ body {
|
|
90 |
line-height: 45px;
|
91 |
margin: 0 0 80px;
|
92 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
.wrap h3 {
|
94 |
font-size: 24px;
|
95 |
font-weight: 400;
|
@@ -121,6 +127,7 @@ body {
|
|
121 |
box-sizing: border-box;
|
122 |
width: 450px;
|
123 |
display: inline-block;
|
|
|
124 |
}
|
125 |
.wrap form.subscribe_form {
|
126 |
/* box-sizing: border-box;
|
@@ -165,6 +172,7 @@ body {
|
|
165 |
.wrap form.subscribe_form input[type="text"] {
|
166 |
width: 245px;
|
167 |
}
|
|
|
168 |
.wrap form.subscribe_form input[type="submit"] {
|
169 |
background: #000;
|
170 |
color: #fff;
|
@@ -173,6 +181,10 @@ body {
|
|
173 |
padding: 20px 30px;
|
174 |
border-left: 3px solid #e0e0e0;
|
175 |
transition: all .3s;
|
|
|
|
|
|
|
|
|
176 |
}
|
177 |
.wrap form.subscribe_form input[type="submit"]:hover {
|
178 |
background: #fff;
|
@@ -449,12 +461,16 @@ body {
|
|
449 |
.background form.subscribe_form input[type="text"]::-ms-input-placeholder {
|
450 |
color: #fff;
|
451 |
}
|
|
|
|
|
|
|
|
|
|
|
452 |
.background .contact_us {
|
453 |
color: #fff;
|
454 |
border-color: #fff;
|
455 |
}
|
456 |
|
457 |
-
|
458 |
/**
|
459 |
* MEDIA QUERIES (RESPONSIVE)
|
460 |
**/
|
@@ -502,6 +518,17 @@ body {
|
|
502 |
padding-right: 0;
|
503 |
border-left: none;
|
504 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
505 |
.wrap .contact_us {
|
506 |
margin: 0 0 50px;
|
507 |
}
|
90 |
line-height: 45px;
|
91 |
margin: 0 0 80px;
|
92 |
}
|
93 |
+
|
94 |
+
.wrap h2 img {
|
95 |
+
max-width: 100%;
|
96 |
+
height: auto;
|
97 |
+
}
|
98 |
+
|
99 |
.wrap h3 {
|
100 |
font-size: 24px;
|
101 |
font-weight: 400;
|
127 |
box-sizing: border-box;
|
128 |
width: 450px;
|
129 |
display: inline-block;
|
130 |
+
background-color: #fff; /*2.3.0*/
|
131 |
}
|
132 |
.wrap form.subscribe_form {
|
133 |
/* box-sizing: border-box;
|
172 |
.wrap form.subscribe_form input[type="text"] {
|
173 |
width: 245px;
|
174 |
}
|
175 |
+
|
176 |
.wrap form.subscribe_form input[type="submit"] {
|
177 |
background: #000;
|
178 |
color: #fff;
|
181 |
padding: 20px 30px;
|
182 |
border-left: 3px solid #e0e0e0;
|
183 |
transition: all .3s;
|
184 |
+
|
185 |
+
/* Fix for https://github.com/andrianvaleanu/WP-Maintenance-Mode/issues/222#issuecomment-542777163 @ 2.3.0 */
|
186 |
+
border-radius: 0 !important;
|
187 |
+
-webkit-appearance: none !important;
|
188 |
}
|
189 |
.wrap form.subscribe_form input[type="submit"]:hover {
|
190 |
background: #fff;
|
461 |
.background form.subscribe_form input[type="text"]::-ms-input-placeholder {
|
462 |
color: #fff;
|
463 |
}
|
464 |
+
/*2.3.0*/
|
465 |
+
.background form.subscribe_form .subscribe_border {
|
466 |
+
background-color: transparent;
|
467 |
+
}
|
468 |
+
/**/
|
469 |
.background .contact_us {
|
470 |
color: #fff;
|
471 |
border-color: #fff;
|
472 |
}
|
473 |
|
|
|
474 |
/**
|
475 |
* MEDIA QUERIES (RESPONSIVE)
|
476 |
**/
|
518 |
padding-right: 0;
|
519 |
border-left: none;
|
520 |
}
|
521 |
+
|
522 |
+
/*2.3.0*/
|
523 |
+
.wrap form.subscribe_form input[type="submit"]:hover {
|
524 |
+
border-left: none;
|
525 |
+
}
|
526 |
+
|
527 |
+
.wrap div.subscribe_border {
|
528 |
+
width: 95%;
|
529 |
+
}
|
530 |
+
/**/
|
531 |
+
|
532 |
.wrap .contact_us {
|
533 |
margin: 0 0 50px;
|
534 |
}
|
assets/css/style.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;text-decoration:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{display:block;width:500px;margin:0 auto;text-align:left;position:relative;font-style:italic}blockquote:after,blockquote:before,q:after,q:before{content:'"';content:none}button,input{border-radius:0}table{border-collapse:collapse;border-spacing:0}em,i{font-style:italic}del{text-decoration:line-through}b,strong{font-weight:700}ol{width:600px;margin:0 auto;text-align:left}ol li{list-style-type:decimal}ul{width:600px;margin:0 auto;text-align:left}ul li{list-style:disc}a{color:inherit;text-decoration:underline}body,html{min-height:100%}body{background-color:#fff;color:#1b1f23;font-family:Helvetica Neue,Arial,sans-serif}.wrap{width:605px;margin:100px auto 0;text-align:center}.wrap h1{font-size:30px;font-weight:700;margin:0 0 90px}.wrap h2{line-height:45px;margin:0 0 80px}.wrap h2
|
1 |
+
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;text-decoration:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{display:block;width:500px;margin:0 auto;text-align:left;position:relative;font-style:italic}blockquote:after,blockquote:before,q:after,q:before{content:'"';content:none}button,input{border-radius:0}table{border-collapse:collapse;border-spacing:0}em,i{font-style:italic}del{text-decoration:line-through}b,strong{font-weight:700}ol{width:600px;margin:0 auto;text-align:left}ol li{list-style-type:decimal}ul{width:600px;margin:0 auto;text-align:left}ul li{list-style:disc}a{color:inherit;text-decoration:underline}body,html{min-height:100%}body{background-color:#fff;color:#1b1f23;font-family:Helvetica Neue,Arial,sans-serif}.wrap{width:605px;margin:100px auto 0;text-align:center}.wrap h1{font-size:30px;font-weight:700;margin:0 0 90px}.wrap h2{font-size:24px;font-weight:400;line-height:45px;margin:0 0 80px}.wrap h2 img{max-width:100%;height:auto}.wrap h3{font-size:24px;font-weight:400;margin:0 0 45px}.wrap .author_link{color:#616161;margin:0 0 50px}.wrap .author_link a{color:#000}.wrap .countdown{margin:0 0 85px}.wrap .countdown span{font-size:30px}.wrap div.subscribe_border{border:3px solid #e0e0e0;-webkit-box-sizing:border-box;box-sizing:border-box;width:450px;display:inline-block;background-color:#fff}.wrap form.subscribe_form{margin:0 0 75px;overflow:hidden;text-align:center}.wrap .subscribe_form .privacy_checkbox{color:#909090;max-width:450px;margin:15px auto;position:relative}.wrap form.subscribe_form .privacy_checkbox label.error{display:block!important;position:absolute;font-size:11px;left:39%}.wrap .subscribe_form .privacy_checkbox input{float:none;margin:3px 4.7px}.wrap .subscribe_form .privacy_tail{font-size:11px;color:#909090;max-width:450px;margin:0 auto}.wrap form.subscribe_form input{margin:0;outline:0;border:0;float:left;font-size:18px;padding:20px 25px;-webkit-box-sizing:content-box;box-sizing:content-box}.wrap form.subscribe_form input[type=text]{width:245px}.wrap form.subscribe_form input[type=submit]{background:#000;color:#fff;float:right;cursor:pointer;padding:20px 30px;border-left:3px solid #e0e0e0;-webkit-transition:all .3s;transition:all .3s;border-radius:0!important;-webkit-appearance:none!important}.wrap form.subscribe_form input[type=submit]:hover{background:#fff;color:#000;border-left:3px solid #e0e0e0}.wrap form.subscribe_form input[type=submit]:active{background:#1e1e1e;color:#fff}.wrap form.subscribe_form .error{color:red}.wrap form.subscribe_form label.error{display:none!important}.wrap form.login_form{width:100%;margin:15px 0 0}.wrap form.login_form input{display:inline-block;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;border:3px solid #e2e2e2;font-family:Helvetica Neue,Arial,sans-serif;font-size:16px;margin:0 10px 0 0;outline:0;padding:15px}.wrap form.login_form input[type=submit]{background:#000;color:#fff;margin:0;border-color:#000;font-weight:700;padding:15px 30px;cursor:pointer}.wrap form.login_form input[type=submit]:active{position:relative;top:1px}.wrap .social{margin:0 0 70px}.wrap .social a{width:22px;height:22px;margin:0 0 20px 55px;background-image:url(../images/icn_sprite.png);background-repeat:no-repeat;display:inline-block;text-indent:-999em}.wrap .social a:first-of-type{margin:0 0 20px}.wrap .social .git{background-position:0 0}.wrap .social .fb{background-position:-240px 0}.wrap .social .instagram{background-position:-707px 0}.wrap .social .tw{background-position:-162px 0}.wrap .social .rss{background-position:-402px 0}.wrap .social .mail{background-position:-560px 0}.wrap .social .pin{background-position:-322px 0}.wrap .social .dribbble{background-position:-82px 0}.wrap .social .gplus{background-position:-486px 0}.wrap .social .linkedin{background-position:-633px 0}.wrap .contact_us{color:#000;border:3px solid #000;font-size:18px;padding:15px 40px;display:inline-block;margin:0 0 70px}.wrap .contact_us:hover{background:#000;color:#fff}.contact_us{text-decoration:none}.contact_us,input[type=submit]{-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.contact{position:fixed;display:none;overflow:auto;top:0;bottom:0;left:0;right:0;background:rgba(27,31,35,.95)}.contact label.error{color:red;float:left;font-size:11px;padding-top:10px}.close-contact_form{position:absolute;left:46%;top:-60px;cursor:pointer}.close-contact_form img{width:40px;height:40px}.contact .form{width:520px;text-align:center;padding:40px;background:#f9f9f9;-webkit-box-sizing:border-box;box-sizing:border-box;margin:100px auto;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out}.contact .form input[type=submit],.contact .form input[type=text],.contact .form textarea{padding:15px 20px;margin:0;outline:0;width:100%;background:#f9f9f9;border:3px solid #e0e0e0;font-size:18px;font-family:Helvetica Neue,Arial,sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none}.contact .form label#content-error{margin-bottom:10px}.contact .form .privacy_checkbox{margin-top:20px;clear:both;color:#909090;font-size:15px;position:relative}.contact .form .privacy_checkbox label#acceptance-error{position:absolute;top:10px;left:39%}.contact .form .privacy_checkbox input{-webkit-transform:translatey(-2px);transform:translatey(-2px)}.contact .form .privacy_tail{font-size:11px;color:#c7c7c7;margin-top:16px;line-height:14px}.contact .form textarea{height:175px;padding:20px}.contact .form input[type=text]::-webkit-input-placeholder,.contact .form textarea::-webkit-input-placeholder{color:#dadada}.contact .form input[type=text]::-moz-input-placeholder,.contact .form textarea::-moz-input-placeholder{color:#dadada}.contact .form input[type=text]::-ms-input-placeholder,.contact .form textarea::-ms-input-placeholder{color:#dadada}.contact .form .col{width:205px;margin:0 0 30px;display:inline-block;float:left}.contact .form .col.last{float:right}.contact .form .submit{margin:30px 0 0;text-align:center;clear:left}.contact .form .submit input{cursor:pointer;display:inline-block;background:#1b1f24;color:#fff;border:0;padding:20px 45px;width:auto}.contact .move_top{-webkit-transform:perspective(1000px) translateY(-200px);transform:perspective(1000px) translateY(-200px)}.contact .move_bottom{-webkit-transform:perspective(1000px) translateY(0);transform:perspective(1000px) translateY(0)}.contact .zoom{-webkit-transform:perspective(1000px) scale(.5);transform:perspective(1000px) scale(.5);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.contact .zoomed{-webkit-transform:perspective(1000px) scale(1);transform:perspective(1000px) scale(1)}.contact .fold{-webkit-transform:perspective(1000px) rotateY(90deg);transform:perspective(1000px) rotateY(90deg)}.contact .unfold{-webkit-transform:perspective(1000px) rotateY(0);transform:perspective(1000px) rotateY(0)}.background{background:url(../images/backgrounds/bg1.jpg) no-repeat top fixed;background-size:cover}.background .countdown span{color:#fff}.background form.subscribe_form input[type=submit]{color:#000;background:#fff}.background form.subscribe_form input[type=text]{background:transparent;color:#fff}.background form.subscribe_form input.error[type=text]{color:red}.background form.subscribe_form input[type=text]::-webkit-input-placeholder{color:#fff}.background form.subscribe_form input[type=text]::-moz-input-placeholder{color:#fff}.background form.subscribe_form input[type=text]::-ms-input-placeholder{color:#fff}.background form.subscribe_form .subscribe_border{background-color:transparent}.background .contact_us{color:#fff;border-color:#fff}@media only screen and (max-width:700px){.wrap form.login_form{width:80%;margin:15px auto 0}.wrap form.login_form input{width:49%;margin:0 2% 0 0}.wrap form.login_form input[type=password]{margin:0}.wrap form.login_form input[type=submit]{width:100%;margin:15px 0 0}}@media only screen and (max-width:550px){.wrap{width:90%;margin:50px auto 0}.wrap h1{margin:0 0 50px}.wrap h2,.wrap h3{font-size:18px}.wrap form.subscribe_form{width:100%}.wrap form.subscribe_form,.wrap form.subscribe_form input{-webkit-box-sizing:border-box;box-sizing:border-box}.wrap form input[type=submit],.wrap form input[type=text]{width:100%!important}.wrap form.subscribe_form input[type=submit]{padding-left:0;padding-right:0;border-left:none}.wrap form.subscribe_form input[type=submit]:hover{border-left:none}.wrap div.subscribe_border{width:95%}.wrap .contact_us{margin:0 0 50px}.contact .form{width:90%}.contact .form input[type=submit],.contact .form p.col{width:100%}.wrap form.login_form{width:90%}.wrap form.login_form input{width:100%;margin:0 0 10px}.wrap form.login_form input[type=submit]{margin:10px 0 0}ol,ul{width:80%}blockquote,q{width:70%}}@media only screen and (max-width:465px){.contact .form .privacy_checkbox label#acceptance-error{top:28px;left:32%}}
|
assets/images/recommended/blocksy.jpg
ADDED
Binary file
|
assets/images/{resources → recommended}/postcards.jpg
RENAMED
File without changes
|
assets/images/recommended/static-pages.png
ADDED
Binary file
|
assets/images/{resources → recommended}/strictthemes.png
RENAMED
File without changes
|
assets/images/resources/blocksy.jpg
DELETED
Binary file
|
assets/images/resources/flatui.jpg
DELETED
Binary file
|
assets/images/resources/freephotoscc.jpg
DELETED
Binary file
|
assets/images/resources/linecons.jpg
DELETED
Binary file
|
assets/images/resources/qards.jpg
DELETED
Binary file
|
assets/js/bot.js
CHANGED
@@ -164,7 +164,6 @@ function checkEmail(option) {
|
|
164 |
|
165 |
jQuery.post(wpmm_vars.ajax_url, subscribe_bot_data, function(response) {
|
166 |
if (!response.success) {
|
167 |
-
// console.log(subscribe_bot_data);
|
168 |
alert(response.data);
|
169 |
return false;
|
170 |
}
|
@@ -369,7 +368,7 @@ function showStatement(pos) {
|
|
369 |
|
370 |
// Create an input button, append to user bubble
|
371 |
var button = jQuery('<a/>', {
|
372 |
-
text:
|
373 |
click: checkInput.bind(null, option)
|
374 |
}).appendTo(inputBubble);
|
375 |
|
164 |
|
165 |
jQuery.post(wpmm_vars.ajax_url, subscribe_bot_data, function(response) {
|
166 |
if (!response.success) {
|
|
|
167 |
alert(response.data);
|
168 |
return false;
|
169 |
}
|
368 |
|
369 |
// Create an input button, append to user bubble
|
370 |
var button = jQuery('<a/>', {
|
371 |
+
text: botVars.send,
|
372 |
click: checkInput.bind(null, option)
|
373 |
}).appendTo(inputBubble);
|
374 |
|
assets/js/bot.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(){var n,t={};function e(){}function r(n){return n}function i(n){return!!n}function u(n){return!n}var o="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||this;function a(n){return function(){if(null===n)throw new Error("Callback was already called.");n.apply(this,arguments),n=null}}function c(n){return function(){null!==n&&(n.apply(this,arguments),n=null)}}null!=o&&(n=o.async),t.noConflict=function(){return o.async=n,t};var s=Object.prototype.toString,l=Array.isArray||function(n){return"[object Array]"===s.call(n)};function f(n){return l(n)||"number"==typeof n.length&&n.length>=0&&n.length%1==0}function p(n,t){for(var e=-1,r=n.length;++e<r;)t(n[e],e,n)}function h(n,t){for(var e=-1,r=n.length,i=Array(r);++e<r;)i[e]=t(n[e],e,n);return i}function y(n){return h(Array(n),function(n,t){return t})}function m(n,t){p(v(n),function(e){t(n[e],e)})}function d(n,t){for(var e=0;e<n.length;e++)if(n[e]===t)return e;return-1}var v=Object.keys||function(n){var t=[];for(var e in n)n.hasOwnProperty(e)&&t.push(e);return t};function g(n){var t,e,r=-1;return f(n)?(t=n.length,function(){return++r<t?r:null}):(e=v(n),t=e.length,function(){return++r<t?e[r]:null})}function b(n,t){return t=null==t?n.length-1:+t,function(){for(var e=Math.max(arguments.length-t,0),r=Array(e),i=0;i<e;i++)r[i]=arguments[i+t];switch(t){case 0:return n.call(this,r);case 1:return n.call(this,arguments[0],r);case 2:return n.call(this,arguments[0],arguments[1],r)}}}function k(n){return function(t,e,r){return n(t,r)}}var w="function"==typeof setImmediate&&setImmediate,j=w?function(n){w(n)}:function(n){setTimeout(n,0)};function Q(n){return function(t,r,i){i=c(i||e);var u=g(t=t||[]);if(n<=0)return i(null);var o=!1,s=0,l=!1;!function e(){if(o&&s<=0)return i(null);for(;s<n&&!l;){var c=u();if(null===c)return o=!0,void(s<=0&&i(null));s+=1,r(t[c],c,a(function(n){s-=1,n?(i(n),l=!0):e()}))}}()}}function x(n){return function(e,r,i){return n(t.eachOf,e,r,i)}}function S(n){return function(t,e,r,i){return n(Q(e),t,r,i)}}function T(n){return function(e,r,i){return n(t.eachOfSeries,e,r,i)}}function E(n,t,r,i){i=c(i||e);var u=[];n(t,function(n,t,e){r(n,function(n,r){u[t]=r,e(n)})},function(n){i(n,u)})}function O(n,t,e,r){var i=[];n(t,function(n,t,r){e(n,function(e){e&&i.push({index:t,value:n}),r()})},function(){r(h(i.sort(function(n,t){return n.index-t.index}),function(n){return n.value}))})}function I(n,t,e,r){O(n,t,function(n,t){e(n,function(n){t(!n)})},r)}function L(n,t,e){return function(r,i,u,o){function a(){o&&o(e(!1,void 0))}function c(n,r,i){if(!o)return i();u(n,function(r){o&&t(r)&&(o(e(!0,n)),o=u=!1),i()})}arguments.length>3?n(r,i,c,a):(o=u,u=i,n(r,c,a))}}function A(n,t){return t}function C(n,t,r){r=r||e;var i=f(t)?[]:{};n(t,function(n,t,e){n(b(function(n,r){r.length<=1&&(r=r[0]),i[t]=r,e(n)}))},function(n){r(n,i)})}function _(n,t,e,r){var i=[];n(t,function(n,t,r){e(n,function(n,t){i=i.concat(t||[]),r(n)})},function(n){r(n,i)})}function z(n,r,i){if(null==r)r=1;else if(0===r)throw new Error("Concurrency must not be zero");function u(n,r,i,u){if(null!=u&&"function"!=typeof u)throw new Error("task callback must be a function");if(n.started=!0,l(r)||(r=[r]),0===r.length&&n.idle())return t.setImmediate(function(){n.drain()});p(r,function(t){var r={data:t,callback:u||e};i?n.tasks.unshift(r):n.tasks.push(r),n.tasks.length===n.concurrency&&n.saturated()}),t.setImmediate(n.process)}function o(n,t){return function(){c-=1;var e=arguments;p(t,function(n){n.callback.apply(n,e)}),n.tasks.length+c===0&&n.drain(),n.process()}}var c=0,s={tasks:[],concurrency:r,payload:i,saturated:e,empty:e,drain:e,started:!1,paused:!1,push:function(n,t){u(s,n,!1,t)},kill:function(){s.drain=e,s.tasks=[]},unshift:function(n,t){u(s,n,!0,t)},process:function(){if(!s.paused&&c<s.concurrency&&s.tasks.length)for(;c<s.concurrency&&s.tasks.length;){var t=s.payload?s.tasks.splice(0,s.payload):s.tasks.splice(0,s.tasks.length),e=h(t,function(n){return n.data});0===s.tasks.length&&s.empty(),c+=1;var r=a(o(s,t));n(e,r)}},length:function(){return s.tasks.length},running:function(){return c},idle:function(){return s.tasks.length+c===0},pause:function(){s.paused=!0},resume:function(){if(!1!==s.paused){s.paused=!1;for(var n=Math.min(s.concurrency,s.tasks.length),e=1;e<=n;e++)t.setImmediate(s.process)}}};return s}function q(n){return b(function(t,e){t.apply(null,e.concat([b(function(t,e){"undefined"!=typeof console&&(t?console.error&&console.error(t):console[n]&&p(e,function(t){console[n](t)}))})]))})}function B(n){return function(t,e,r){n(y(t),e,r)}}function N(n){return b(function(t,e){var r=b(function(e){var r=this,i=e.pop();return n(t,function(n,t,i){n.apply(r,e.concat([i]))},i)});return e.length?r.apply(this,e):r})}function M(n){return b(function(e){var r=e.pop();e.push(function(){var n=arguments;i?t.setImmediate(function(){r.apply(null,n)}):r.apply(null,n)});var i=!0;n.apply(this,e),i=!1})}"object"==typeof process&&"function"==typeof process.nextTick?t.nextTick=process.nextTick:t.nextTick=j,t.setImmediate=w?j:t.nextTick,t.forEach=t.each=function(n,e,r){return t.eachOf(n,k(e),r)},t.forEachSeries=t.eachSeries=function(n,e,r){return t.eachOfSeries(n,k(e),r)},t.forEachLimit=t.eachLimit=function(n,t,e,r){return Q(t)(n,k(e),r)},t.forEachOf=t.eachOf=function(n,t,r){r=c(r||e);var i=f(n=n||[])?n.length:v(n).length,u=0;if(!i)return r(null);function o(n){n?r(n):(u+=1)>=i&&r(null)}!function(n,t){f(n)?p(n,t):m(n,t)}(n,function(e,r){t(n[r],r,a(o))})},t.forEachOfSeries=t.eachOfSeries=function(n,r,i){i=c(i||e);var u=g(n=n||[]),o=u();!function e(){var c=!0;if(null===o)return i(null);r(n[o],o,a(function(n){if(n)i(n);else{if(null===(o=u()))return i(null);c?t.nextTick(e):e()}})),c=!1}()},t.forEachOfLimit=t.eachOfLimit=function(n,t,e,r){Q(t)(n,e,r)},t.map=x(E),t.mapSeries=T(E),t.mapLimit=S(E),t.inject=t.foldl=t.reduce=function(n,e,r,i){t.eachOfSeries(n,function(n,t,i){r(e,n,function(n,t){e=t,i(n)})},function(n){i(n||null,e)})},t.foldr=t.reduceRight=function(n,e,r,i){var u=h(n,function(n){return n}).reverse();t.reduce(u,e,r,i)},t.select=t.filter=x(O),t.selectLimit=t.filterLimit=S(O),t.selectSeries=t.filterSeries=T(O),t.reject=x(I),t.rejectLimit=S(I),t.rejectSeries=T(I),t.any=t.some=L(t.eachOf,i,r),t.someLimit=L(t.eachOfLimit,i,r),t.all=t.every=L(t.eachOf,u,u),t.everyLimit=L(t.eachOfLimit,u,u),t.detect=L(t.eachOf,r,A),t.detectSeries=L(t.eachOfSeries,r,A),t.sortBy=function(n,e,r){function i(n,t){var e=n.criteria,r=t.criteria;return e<r?-1:e>r?1:0}t.map(n,function(n,t){e(n,function(e,r){e?t(e):t(null,{value:n,criteria:r})})},function(n,t){if(n)return r(n);r(null,h(t.sort(i),function(n){return n.value}))})},t.auto=function(n,r){r=c(r||e);var i=v(n),u=i.length;if(!u)return r(null);var o={},a=[];function s(n){a.unshift(n)}function f(){u--,p(a.slice(0),function(n){n()})}s(function(){u||r(null,o)}),p(i,function(e){for(var i,u=l(n[e])?n[e]:[n[e]],c=b(function(n,i){if(i.length<=1&&(i=i[0]),n){var u={};m(o,function(n,t){u[t]=n}),u[e]=i,r(n,u)}else o[e]=i,t.setImmediate(f)}),h=u.slice(0,u.length-1),y=h.length;y--;){if(!(i=n[h[y]]))throw new Error("Has inexistant dependency");if(l(i)&&d(i,e)>=0)throw new Error("Has cyclic dependencies")}function v(){return n=function(n,t){return n&&o.hasOwnProperty(t)},t=!0,p(h,function(e,r,i){t=n(t,e,r,i)}),t&&!o.hasOwnProperty(e);var n,t}v()?u[u.length-1](c,o):s(function n(){v()&&((t=d(a,n))>=0&&a.splice(t,1),u[u.length-1](c,o));var t})})},t.retry=function(n,e,r){var i=5,u=0,o=[],a={times:i,interval:u};var c=arguments.length;if(c<1||c>3)throw new Error("Invalid arguments - must be either (task), (task, callback), (times, task) or (times, task, callback)");function s(n,e){function r(n,t){return function(r){n(function(n,e){r(!n||t,{err:n,result:e})},e)}}function i(n){return function(t){setTimeout(function(){t(null)},n)}}for(;a.times;){var u=!(a.times-=1);o.push(r(a.task,u)),!u&&a.interval>0&&o.push(i(a.interval))}t.series(o,function(t,e){e=e[e.length-1],(n||a.callback)(e.err,e.result)})}return c<=2&&"function"==typeof n&&(r=e,e=n),"function"!=typeof n&&function(n,t){if("number"==typeof t)n.times=parseInt(t,10)||i;else{if("object"!=typeof t)throw new Error("Unsupported argument type for 'times': "+typeof t);n.times=parseInt(t.times,10)||i,n.interval=parseInt(t.interval,10)||u}}(a,n),a.callback=r,a.task=e,a.callback?s():s},t.waterfall=function(n,r){if(r=c(r||e),!l(n)){var i=new Error("First argument to waterfall must be an array of functions");return r(i)}if(!n.length)return r();!function n(t){return b(function(e,i){if(e)r.apply(null,[e].concat(i));else{var u=t.next();u?i.push(n(u)):i.push(r),M(t).apply(null,i)}})}(t.iterator(n))()},t.parallel=function(n,e){C(t.eachOf,n,e)},t.parallelLimit=function(n,t,e){C(Q(t),n,e)},t.series=function(n,e){C(t.eachOfSeries,n,e)},t.iterator=function(n){return function t(e){function r(){return n.length&&n[e].apply(null,arguments),r.next()}return r.next=function(){return e<n.length-1?t(e+1):null},r}(0)},t.apply=b(function(n,t){return b(function(e){return n.apply(null,t.concat(e))})}),t.concat=x(_),t.concatSeries=T(_),t.whilst=function(n,t,r){if(r=r||e,n()){var i=b(function(e,u){e?r(e):n.apply(this,u)?t(i):r(null)});t(i)}else r(null)},t.doWhilst=function(n,e,r){var i=0;return t.whilst(function(){return++i<=1||e.apply(this,arguments)},n,r)},t.until=function(n,e,r){return t.whilst(function(){return!n.apply(this,arguments)},e,r)},t.doUntil=function(n,e,r){return t.doWhilst(n,function(){return!e.apply(this,arguments)},r)},t.during=function(n,t,r){r=r||e;var i=b(function(t,e){t?r(t):(e.push(u),n.apply(this,e))}),u=function(n,e){n?r(n):e?t(i):r(null)};n(u)},t.doDuring=function(n,e,r){var i=0;t.during(function(n){i++<1?n(null,!0):e.apply(this,arguments)},n,r)},t.queue=function(n,t){return z(function(t,e){n(t[0],e)},t,1)},t.priorityQueue=function(n,r){function i(n,t){return n.priority-t.priority}var u=t.queue(n,r);return u.push=function(n,r,o){!function(n,r,u,o){if(null!=o&&"function"!=typeof o)throw new Error("task callback must be a function");if(n.started=!0,l(r)||(r=[r]),0===r.length)return t.setImmediate(function(){n.drain()});p(r,function(r){var a={data:r,priority:u,callback:"function"==typeof o?o:e};n.tasks.splice(function(n,t,e){for(var r=-1,i=n.length-1;r<i;){var u=r+(i-r+1>>>1);e(t,n[u])>=0?r=u:i=u-1}return r}(n.tasks,a,i)+1,0,a),n.tasks.length===n.concurrency&&n.saturated(),t.setImmediate(n.process)})}(u,n,r,o)},delete u.unshift,u},t.cargo=function(n,t){return z(n,1,t)},t.log=q("log"),t.dir=q("dir"),t.memoize=function(n,e){var r={},i={};e=e||function(n){return n};var u=b(function(u){var o=u.pop(),a=e.apply(null,u);a in r?t.nextTick(function(){o.apply(null,r[a])}):a in i?i[a].push(o):(i[a]=[o],n.apply(null,u.concat([b(function(n){r[a]=n;var t=i[a];delete i[a];for(var e=0,u=t.length;e<u;e++)t[e].apply(null,n)})])))});return u.memo=r,u.unmemoized=n,u},t.unmemoize=function(n){return function(){return(n.unmemoized||n).apply(null,arguments)}},t.times=B(t.map),t.timesSeries=B(t.mapSeries),t.timesLimit=function(n,e,r,i){return t.mapLimit(y(n),e,r,i)},t.seq=function(){var n=arguments;return b(function(r){var i=this,u=r[r.length-1];"function"==typeof u?r.pop():u=e,t.reduce(n,r,function(n,t,e){t.apply(i,n.concat([b(function(n,t){e(n,t)})]))},function(n,t){u.apply(i,[n].concat(t))})})},t.compose=function(){return t.seq.apply(null,Array.prototype.reverse.call(arguments))},t.applyEach=N(t.eachOf),t.applyEachSeries=N(t.eachOfSeries),t.forever=function(n,t){var r=a(t||e),i=M(n);!function n(t){if(t)return r(t);i(n)}()},t.ensureAsync=M,t.constant=b(function(n){var t=[null].concat(n);return function(n){return n.apply(this,t)}}),t.wrapSync=t.asyncify=function(n){return b(function(t){var e,r=t.pop();try{e=n.apply(this,t)}catch(n){return r(n)}r(null,e)})},"undefined"!=typeof module&&module.exports?module.exports=t:"undefined"!=typeof define&&define.amd?define([],function(){return t}):o.async=t}();var conversationPos,DEBUG=!1,context={};function getCurrentTime(){var n=new Date,t=n.getHours(),e=n.getMinutes(),r=t>=12?"PM":"AM";return(t=(t%=12)||12)+":"+(e=e<10?"0"+e:e)+" "+r}function _phpCastString(n){switch(typeof n){case"boolean":return n?"1":"";case"string":return n;case"number":return isNaN(n)?"NAN":isFinite(n)?n+"":(n<0?"-":"")+"INF";case"undefined":return"";case"object":return Array.isArray(n)?"Array":null!==n?"Object":"";case"function":default:throw new Error("Unsupported value type")}}function strip_tags(n,t){t=(((t||"")+"").toLowerCase().match(/<[a-z][a-z0-9]*>/g)||[]).join("");var e=/<\/?([a-z0-9]*)\b[^>]*>?/gi,r=/<!--[\s\S]*?-->|<\?(?:php)?[\s\S]*?\?>/gi,i=_phpCastString(n);for(i="<"===i.substring(i.length-1)?i.substring(0,i.length-1):i;;){if(i===(i=i.replace(r,"").replace(e,function(n,e){return t.indexOf("<"+e.toLowerCase()+">")>-1?n:""})))return i}}function renderStatement(n){n=strip_tags(n),jQuery(".chat-container").append('<div class="chat-message-wrapper"><div class="absolute-wrapper"><div class="message-details"><div class="bot-avatar"></div><span class="message-date">'+getCurrentTime()+'</span></div></div><p class="chat-message">'+n+"</p></div>")}function showTyping(){jQuery(".chat-container").append('<div class="typing-wrapper"><div class="bot-avatar"></div><span class="bot-name">'+botName+'</span><p class="chat-message typing"><span class="dot"></span><span class="dot"></span><span class="dot"></span></p></div>')}function hideTyping(){jQuery(".typing-wrapper").remove()}var chatWrapper=jQuery(".bot-chat-wrapper");function scrollToBottom(){chatWrapper.animate({scrollTop:600},"slow")}function inputError(n){jQuery(".bot-error p").text(n),jQuery(".bot-error").animate({bottom:0},500).delay(3e3).animate({bottom:"-70px"},500)}function checkInput(n){var t=jQuery(".bot-container input[type=text]").val();return(t=strip_tags(t)).length>2?showResponse(n):inputError(botVars.validationName),!1}function checkEmail(n){var t=jQuery(".bot-container input[type=email]").val(),e=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t.toLowerCase()));if(t.length>7&&!0===e){var r="action=wpmm_add_subscriber&"+jQuery(".bot-container input[type=email]").serialize();jQuery.post(wpmm_vars.ajax_url,r,function(n){if(!n.success)return alert(n.data),!1},"json"),showResponse(n)}else inputError(botVars.validationEmail);return!1}function clearChat(){jQuery(".chat-container").empty()}function clearFooter(){jQuery(".choices").empty(),jQuery(".input").empty()}function startConversation(n,t){clearFooter(),clearChat(),conversationPos=n,jQuery.getScript(botVars.uploadsBaseUrl+"data.js",function(n){showStatement(t)})}function showStatement(n){var t,e=conversationData[conversationPos][n];"sideeffect"in e&&jQuery.type("function"===e.sideeffect)&&e.sideeffect(context),"array"===jQuery.type(e.statement)?t=e.statement:"string"===jQuery.type(e.statement)?t=[e.statement]:"function"===jQuery.type(e.statement)&&(t=e.statement(context)),async.eachSeries(t,function(n,t){if(showTyping(),scrollToBottom(),n.length<=50)var e=1800;else e=n.length/3*30*(Math.floor(5*Math.random())+1.2);DEBUG&&(e=0),setTimeout(function(){hideTyping(),renderStatement(n),scrollToBottom(),t()},e)},function(n){if("options"in e){jQuery(".input").hide(),jQuery(".choices").show();var t=e.options;t.length>0&&setTimeout(function(){for(var n=0;n<t.length;n++){var e,r=t[n];null===r.consequence?(e=null,"disabled"):(e=function(n){showResponse(n)}.bind(null,r),"");jQuery("<p/>",{text:r.choice,class:"chat-message user",click:e}).appendTo(".choices")}},750)}else if("input"in e){jQuery(".input").show(),jQuery(".choices").hide();var r=e.input,i=jQuery("<form/>",{submit:checkInput.bind(null,r)}),u=jQuery("<p/>",{class:"chat-message user"}).appendTo(i),o=jQuery("<input/>",{type:"text",placeholder:botVars.typeName,name:r.name,autocomplete:"off",required:!0}).appendTo(u);jQuery("<a/>",{text:"Send",click:checkInput.bind(null,r)}).appendTo(u);i.appendTo(".input"),async.nextTick(function(){o.focus()})}else if("email"in e){jQuery(".input").show(),jQuery(".choices").hide();r=e.email,i=jQuery("<form/>",{class:"bot_subscribe_form",submit:checkEmail.bind(null,r)}),u=jQuery("<p/>",{class:"chat-message user"}).appendTo(i),o=jQuery("<input/>",{type:"email",placeholder:botVars.typeEmail,name:r.email,autocomplete:"off"}).appendTo(u),jQuery("<a/>",{text:botVars.send,click:checkEmail.bind(null,r)}).appendTo(u);i.appendTo(".input"),async.nextTick(function(){o.focus()})}scrollToBottom()})}function showResponse(n){var t="";"name"in n?(context[n.name]=jQuery(".bot-container input[type=text]").val(),t=context[n.name]):"email"in n?(context[n.email]=jQuery(".bot-container input[type=email]").val(),t=context[n.email]):t=n.choice,clearFooter(),t=strip_tags(t),jQuery(".chat-container").append('<p class="chat-message user">'+t+"</p>"),"consequence"in n&&showStatement(n.consequence)}
|
1 |
+
!function(){var n,t={};function e(){}function r(n){return n}function i(n){return!!n}function u(n){return!n}var o="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||this;function a(n){return function(){if(null===n)throw new Error("Callback was already called.");n.apply(this,arguments),n=null}}function c(n){return function(){null!==n&&(n.apply(this,arguments),n=null)}}null!=o&&(n=o.async),t.noConflict=function(){return o.async=n,t};var s=Object.prototype.toString,l=Array.isArray||function(n){return"[object Array]"===s.call(n)};function f(n){return l(n)||"number"==typeof n.length&&n.length>=0&&n.length%1==0}function p(n,t){for(var e=-1,r=n.length;++e<r;)t(n[e],e,n)}function h(n,t){for(var e=-1,r=n.length,i=Array(r);++e<r;)i[e]=t(n[e],e,n);return i}function y(n){return h(Array(n),function(n,t){return t})}function m(n,t){p(v(n),function(e){t(n[e],e)})}function d(n,t){for(var e=0;e<n.length;e++)if(n[e]===t)return e;return-1}var v=Object.keys||function(n){var t=[];for(var e in n)n.hasOwnProperty(e)&&t.push(e);return t};function g(n){var t,e,r=-1;return f(n)?(t=n.length,function(){return++r<t?r:null}):(e=v(n),t=e.length,function(){return++r<t?e[r]:null})}function b(n,t){return t=null==t?n.length-1:+t,function(){for(var e=Math.max(arguments.length-t,0),r=Array(e),i=0;i<e;i++)r[i]=arguments[i+t];switch(t){case 0:return n.call(this,r);case 1:return n.call(this,arguments[0],r);case 2:return n.call(this,arguments[0],arguments[1],r)}}}function k(n){return function(t,e,r){return n(t,r)}}var w="function"==typeof setImmediate&&setImmediate,j=w?function(n){w(n)}:function(n){setTimeout(n,0)};function Q(n){return function(t,r,i){i=c(i||e);var u=g(t=t||[]);if(n<=0)return i(null);var o=!1,s=0,l=!1;!function e(){if(o&&s<=0)return i(null);for(;s<n&&!l;){var c=u();if(null===c)return o=!0,void(s<=0&&i(null));s+=1,r(t[c],c,a(function(n){s-=1,n?(i(n),l=!0):e()}))}}()}}function x(n){return function(e,r,i){return n(t.eachOf,e,r,i)}}function S(n){return function(t,e,r,i){return n(Q(e),t,r,i)}}function T(n){return function(e,r,i){return n(t.eachOfSeries,e,r,i)}}function E(n,t,r,i){i=c(i||e);var u=[];n(t,function(n,t,e){r(n,function(n,r){u[t]=r,e(n)})},function(n){i(n,u)})}function O(n,t,e,r){var i=[];n(t,function(n,t,r){e(n,function(e){e&&i.push({index:t,value:n}),r()})},function(){r(h(i.sort(function(n,t){return n.index-t.index}),function(n){return n.value}))})}function I(n,t,e,r){O(n,t,function(n,t){e(n,function(n){t(!n)})},r)}function L(n,t,e){return function(r,i,u,o){function a(){o&&o(e(!1,void 0))}function c(n,r,i){if(!o)return i();u(n,function(r){o&&t(r)&&(o(e(!0,n)),o=u=!1),i()})}arguments.length>3?n(r,i,c,a):(o=u,u=i,n(r,c,a))}}function A(n,t){return t}function C(n,t,r){r=r||e;var i=f(t)?[]:{};n(t,function(n,t,e){n(b(function(n,r){r.length<=1&&(r=r[0]),i[t]=r,e(n)}))},function(n){r(n,i)})}function _(n,t,e,r){var i=[];n(t,function(n,t,r){e(n,function(n,t){i=i.concat(t||[]),r(n)})},function(n){r(n,i)})}function z(n,r,i){if(null==r)r=1;else if(0===r)throw new Error("Concurrency must not be zero");function u(n,r,i,u){if(null!=u&&"function"!=typeof u)throw new Error("task callback must be a function");if(n.started=!0,l(r)||(r=[r]),0===r.length&&n.idle())return t.setImmediate(function(){n.drain()});p(r,function(t){var r={data:t,callback:u||e};i?n.tasks.unshift(r):n.tasks.push(r),n.tasks.length===n.concurrency&&n.saturated()}),t.setImmediate(n.process)}function o(n,t){return function(){c-=1;var e=arguments;p(t,function(n){n.callback.apply(n,e)}),n.tasks.length+c===0&&n.drain(),n.process()}}var c=0,s={tasks:[],concurrency:r,payload:i,saturated:e,empty:e,drain:e,started:!1,paused:!1,push:function(n,t){u(s,n,!1,t)},kill:function(){s.drain=e,s.tasks=[]},unshift:function(n,t){u(s,n,!0,t)},process:function(){if(!s.paused&&c<s.concurrency&&s.tasks.length)for(;c<s.concurrency&&s.tasks.length;){var t=s.payload?s.tasks.splice(0,s.payload):s.tasks.splice(0,s.tasks.length),e=h(t,function(n){return n.data});0===s.tasks.length&&s.empty(),c+=1;var r=a(o(s,t));n(e,r)}},length:function(){return s.tasks.length},running:function(){return c},idle:function(){return s.tasks.length+c===0},pause:function(){s.paused=!0},resume:function(){if(!1!==s.paused){s.paused=!1;for(var n=Math.min(s.concurrency,s.tasks.length),e=1;e<=n;e++)t.setImmediate(s.process)}}};return s}function q(n){return b(function(t,e){t.apply(null,e.concat([b(function(t,e){"undefined"!=typeof console&&(t?console.error&&console.error(t):console[n]&&p(e,function(t){console[n](t)}))})]))})}function B(n){return function(t,e,r){n(y(t),e,r)}}function N(n){return b(function(t,e){var r=b(function(e){var r=this,i=e.pop();return n(t,function(n,t,i){n.apply(r,e.concat([i]))},i)});return e.length?r.apply(this,e):r})}function M(n){return b(function(e){var r=e.pop();e.push(function(){var n=arguments;i?t.setImmediate(function(){r.apply(null,n)}):r.apply(null,n)});var i=!0;n.apply(this,e),i=!1})}"object"==typeof process&&"function"==typeof process.nextTick?t.nextTick=process.nextTick:t.nextTick=j,t.setImmediate=w?j:t.nextTick,t.forEach=t.each=function(n,e,r){return t.eachOf(n,k(e),r)},t.forEachSeries=t.eachSeries=function(n,e,r){return t.eachOfSeries(n,k(e),r)},t.forEachLimit=t.eachLimit=function(n,t,e,r){return Q(t)(n,k(e),r)},t.forEachOf=t.eachOf=function(n,t,r){r=c(r||e);var i=f(n=n||[])?n.length:v(n).length,u=0;if(!i)return r(null);function o(n){n?r(n):(u+=1)>=i&&r(null)}!function(n,t){f(n)?p(n,t):m(n,t)}(n,function(e,r){t(n[r],r,a(o))})},t.forEachOfSeries=t.eachOfSeries=function(n,r,i){i=c(i||e);var u=g(n=n||[]),o=u();!function e(){var c=!0;if(null===o)return i(null);r(n[o],o,a(function(n){if(n)i(n);else{if(null===(o=u()))return i(null);c?t.nextTick(e):e()}})),c=!1}()},t.forEachOfLimit=t.eachOfLimit=function(n,t,e,r){Q(t)(n,e,r)},t.map=x(E),t.mapSeries=T(E),t.mapLimit=S(E),t.inject=t.foldl=t.reduce=function(n,e,r,i){t.eachOfSeries(n,function(n,t,i){r(e,n,function(n,t){e=t,i(n)})},function(n){i(n||null,e)})},t.foldr=t.reduceRight=function(n,e,r,i){var u=h(n,function(n){return n}).reverse();t.reduce(u,e,r,i)},t.select=t.filter=x(O),t.selectLimit=t.filterLimit=S(O),t.selectSeries=t.filterSeries=T(O),t.reject=x(I),t.rejectLimit=S(I),t.rejectSeries=T(I),t.any=t.some=L(t.eachOf,i,r),t.someLimit=L(t.eachOfLimit,i,r),t.all=t.every=L(t.eachOf,u,u),t.everyLimit=L(t.eachOfLimit,u,u),t.detect=L(t.eachOf,r,A),t.detectSeries=L(t.eachOfSeries,r,A),t.sortBy=function(n,e,r){function i(n,t){var e=n.criteria,r=t.criteria;return e<r?-1:e>r?1:0}t.map(n,function(n,t){e(n,function(e,r){e?t(e):t(null,{value:n,criteria:r})})},function(n,t){if(n)return r(n);r(null,h(t.sort(i),function(n){return n.value}))})},t.auto=function(n,r){r=c(r||e);var i=v(n),u=i.length;if(!u)return r(null);var o={},a=[];function s(n){a.unshift(n)}function f(){u--,p(a.slice(0),function(n){n()})}s(function(){u||r(null,o)}),p(i,function(e){for(var i,u=l(n[e])?n[e]:[n[e]],c=b(function(n,i){if(i.length<=1&&(i=i[0]),n){var u={};m(o,function(n,t){u[t]=n}),u[e]=i,r(n,u)}else o[e]=i,t.setImmediate(f)}),h=u.slice(0,u.length-1),y=h.length;y--;){if(!(i=n[h[y]]))throw new Error("Has inexistant dependency");if(l(i)&&d(i,e)>=0)throw new Error("Has cyclic dependencies")}function v(){return n=function(n,t){return n&&o.hasOwnProperty(t)},t=!0,p(h,function(e,r,i){t=n(t,e,r,i)}),t&&!o.hasOwnProperty(e);var n,t}v()?u[u.length-1](c,o):s(function n(){v()&&((t=d(a,n))>=0&&a.splice(t,1),u[u.length-1](c,o));var t})})},t.retry=function(n,e,r){var i=5,u=0,o=[],a={times:i,interval:u};var c=arguments.length;if(c<1||c>3)throw new Error("Invalid arguments - must be either (task), (task, callback), (times, task) or (times, task, callback)");function s(n,e){function r(n,t){return function(r){n(function(n,e){r(!n||t,{err:n,result:e})},e)}}function i(n){return function(t){setTimeout(function(){t(null)},n)}}for(;a.times;){var u=!(a.times-=1);o.push(r(a.task,u)),!u&&a.interval>0&&o.push(i(a.interval))}t.series(o,function(t,e){e=e[e.length-1],(n||a.callback)(e.err,e.result)})}return c<=2&&"function"==typeof n&&(r=e,e=n),"function"!=typeof n&&function(n,t){if("number"==typeof t)n.times=parseInt(t,10)||i;else{if("object"!=typeof t)throw new Error("Unsupported argument type for 'times': "+typeof t);n.times=parseInt(t.times,10)||i,n.interval=parseInt(t.interval,10)||u}}(a,n),a.callback=r,a.task=e,a.callback?s():s},t.waterfall=function(n,r){if(r=c(r||e),!l(n)){var i=new Error("First argument to waterfall must be an array of functions");return r(i)}if(!n.length)return r();!function n(t){return b(function(e,i){if(e)r.apply(null,[e].concat(i));else{var u=t.next();u?i.push(n(u)):i.push(r),M(t).apply(null,i)}})}(t.iterator(n))()},t.parallel=function(n,e){C(t.eachOf,n,e)},t.parallelLimit=function(n,t,e){C(Q(t),n,e)},t.series=function(n,e){C(t.eachOfSeries,n,e)},t.iterator=function(n){return function t(e){function r(){return n.length&&n[e].apply(null,arguments),r.next()}return r.next=function(){return e<n.length-1?t(e+1):null},r}(0)},t.apply=b(function(n,t){return b(function(e){return n.apply(null,t.concat(e))})}),t.concat=x(_),t.concatSeries=T(_),t.whilst=function(n,t,r){if(r=r||e,n()){var i=b(function(e,u){e?r(e):n.apply(this,u)?t(i):r(null)});t(i)}else r(null)},t.doWhilst=function(n,e,r){var i=0;return t.whilst(function(){return++i<=1||e.apply(this,arguments)},n,r)},t.until=function(n,e,r){return t.whilst(function(){return!n.apply(this,arguments)},e,r)},t.doUntil=function(n,e,r){return t.doWhilst(n,function(){return!e.apply(this,arguments)},r)},t.during=function(n,t,r){r=r||e;var i=b(function(t,e){t?r(t):(e.push(u),n.apply(this,e))}),u=function(n,e){n?r(n):e?t(i):r(null)};n(u)},t.doDuring=function(n,e,r){var i=0;t.during(function(n){i++<1?n(null,!0):e.apply(this,arguments)},n,r)},t.queue=function(n,t){return z(function(t,e){n(t[0],e)},t,1)},t.priorityQueue=function(n,r){function i(n,t){return n.priority-t.priority}var u=t.queue(n,r);return u.push=function(n,r,o){!function(n,r,u,o){if(null!=o&&"function"!=typeof o)throw new Error("task callback must be a function");if(n.started=!0,l(r)||(r=[r]),0===r.length)return t.setImmediate(function(){n.drain()});p(r,function(r){var a={data:r,priority:u,callback:"function"==typeof o?o:e};n.tasks.splice(function(n,t,e){for(var r=-1,i=n.length-1;r<i;){var u=r+(i-r+1>>>1);e(t,n[u])>=0?r=u:i=u-1}return r}(n.tasks,a,i)+1,0,a),n.tasks.length===n.concurrency&&n.saturated(),t.setImmediate(n.process)})}(u,n,r,o)},delete u.unshift,u},t.cargo=function(n,t){return z(n,1,t)},t.log=q("log"),t.dir=q("dir"),t.memoize=function(n,e){var r={},i={};e=e||function(n){return n};var u=b(function(u){var o=u.pop(),a=e.apply(null,u);a in r?t.nextTick(function(){o.apply(null,r[a])}):a in i?i[a].push(o):(i[a]=[o],n.apply(null,u.concat([b(function(n){r[a]=n;var t=i[a];delete i[a];for(var e=0,u=t.length;e<u;e++)t[e].apply(null,n)})])))});return u.memo=r,u.unmemoized=n,u},t.unmemoize=function(n){return function(){return(n.unmemoized||n).apply(null,arguments)}},t.times=B(t.map),t.timesSeries=B(t.mapSeries),t.timesLimit=function(n,e,r,i){return t.mapLimit(y(n),e,r,i)},t.seq=function(){var n=arguments;return b(function(r){var i=this,u=r[r.length-1];"function"==typeof u?r.pop():u=e,t.reduce(n,r,function(n,t,e){t.apply(i,n.concat([b(function(n,t){e(n,t)})]))},function(n,t){u.apply(i,[n].concat(t))})})},t.compose=function(){return t.seq.apply(null,Array.prototype.reverse.call(arguments))},t.applyEach=N(t.eachOf),t.applyEachSeries=N(t.eachOfSeries),t.forever=function(n,t){var r=a(t||e),i=M(n);!function n(t){if(t)return r(t);i(n)}()},t.ensureAsync=M,t.constant=b(function(n){var t=[null].concat(n);return function(n){return n.apply(this,t)}}),t.wrapSync=t.asyncify=function(n){return b(function(t){var e,r=t.pop();try{e=n.apply(this,t)}catch(n){return r(n)}r(null,e)})},"undefined"!=typeof module&&module.exports?module.exports=t:"undefined"!=typeof define&&define.amd?define([],function(){return t}):o.async=t}();var conversationPos,DEBUG=!1,context={};function getCurrentTime(){var n=new Date,t=n.getHours(),e=n.getMinutes(),r=t>=12?"PM":"AM";return(t=(t%=12)||12)+":"+(e=e<10?"0"+e:e)+" "+r}function _phpCastString(n){switch(typeof n){case"boolean":return n?"1":"";case"string":return n;case"number":return isNaN(n)?"NAN":isFinite(n)?n+"":(n<0?"-":"")+"INF";case"undefined":return"";case"object":return Array.isArray(n)?"Array":null!==n?"Object":"";case"function":default:throw new Error("Unsupported value type")}}function strip_tags(n,t){t=(((t||"")+"").toLowerCase().match(/<[a-z][a-z0-9]*>/g)||[]).join("");var e=/<\/?([a-z0-9]*)\b[^>]*>?/gi,r=/<!--[\s\S]*?-->|<\?(?:php)?[\s\S]*?\?>/gi,i=_phpCastString(n);for(i="<"===i.substring(i.length-1)?i.substring(0,i.length-1):i;;){if(i===(i=i.replace(r,"").replace(e,function(n,e){return t.indexOf("<"+e.toLowerCase()+">")>-1?n:""})))return i}}function renderStatement(n){n=strip_tags(n),jQuery(".chat-container").append('<div class="chat-message-wrapper"><div class="absolute-wrapper"><div class="message-details"><div class="bot-avatar"></div><span class="message-date">'+getCurrentTime()+'</span></div></div><p class="chat-message">'+n+"</p></div>")}function showTyping(){jQuery(".chat-container").append('<div class="typing-wrapper"><div class="bot-avatar"></div><span class="bot-name">'+botName+'</span><p class="chat-message typing"><span class="dot"></span><span class="dot"></span><span class="dot"></span></p></div>')}function hideTyping(){jQuery(".typing-wrapper").remove()}var chatWrapper=jQuery(".bot-chat-wrapper");function scrollToBottom(){chatWrapper.animate({scrollTop:600},"slow")}function inputError(n){jQuery(".bot-error p").text(n),jQuery(".bot-error").animate({bottom:0},500).delay(3e3).animate({bottom:"-70px"},500)}function checkInput(n){var t=jQuery(".bot-container input[type=text]").val();return(t=strip_tags(t)).length>2?showResponse(n):inputError(botVars.validationName),!1}function checkEmail(n){var t=jQuery(".bot-container input[type=email]").val(),e=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t.toLowerCase()));if(t.length>7&&!0===e){var r="action=wpmm_add_subscriber&"+jQuery(".bot-container input[type=email]").serialize();jQuery.post(wpmm_vars.ajax_url,r,function(n){if(!n.success)return alert(n.data),!1},"json"),showResponse(n)}else inputError(botVars.validationEmail);return!1}function clearChat(){jQuery(".chat-container").empty()}function clearFooter(){jQuery(".choices").empty(),jQuery(".input").empty()}function startConversation(n,t){clearFooter(),clearChat(),conversationPos=n,jQuery.getScript(botVars.uploadsBaseUrl+"data.js",function(n){showStatement(t)})}function showStatement(n){var t,e=conversationData[conversationPos][n];"sideeffect"in e&&jQuery.type("function"===e.sideeffect)&&e.sideeffect(context),"array"===jQuery.type(e.statement)?t=e.statement:"string"===jQuery.type(e.statement)?t=[e.statement]:"function"===jQuery.type(e.statement)&&(t=e.statement(context)),async.eachSeries(t,function(n,t){if(showTyping(),scrollToBottom(),n.length<=50)var e=1800;else e=n.length/3*30*(Math.floor(5*Math.random())+1.2);DEBUG&&(e=0),setTimeout(function(){hideTyping(),renderStatement(n),scrollToBottom(),t()},e)},function(n){if("options"in e){jQuery(".input").hide(),jQuery(".choices").show();var t=e.options;t.length>0&&setTimeout(function(){for(var n=0;n<t.length;n++){var e,r=t[n];null===r.consequence?(e=null,"disabled"):(e=function(n){showResponse(n)}.bind(null,r),"");jQuery("<p/>",{text:r.choice,class:"chat-message user",click:e}).appendTo(".choices")}},750)}else if("input"in e){jQuery(".input").show(),jQuery(".choices").hide();var r=e.input,i=jQuery("<form/>",{submit:checkInput.bind(null,r)}),u=jQuery("<p/>",{class:"chat-message user"}).appendTo(i),o=jQuery("<input/>",{type:"text",placeholder:botVars.typeName,name:r.name,autocomplete:"off",required:!0}).appendTo(u);jQuery("<a/>",{text:botVars.send,click:checkInput.bind(null,r)}).appendTo(u);i.appendTo(".input"),async.nextTick(function(){o.focus()})}else if("email"in e){jQuery(".input").show(),jQuery(".choices").hide();r=e.email,i=jQuery("<form/>",{class:"bot_subscribe_form",submit:checkEmail.bind(null,r)}),u=jQuery("<p/>",{class:"chat-message user"}).appendTo(i),o=jQuery("<input/>",{type:"email",placeholder:botVars.typeEmail,name:r.email,autocomplete:"off"}).appendTo(u),jQuery("<a/>",{text:botVars.send,click:checkEmail.bind(null,r)}).appendTo(u);i.appendTo(".input"),async.nextTick(function(){o.focus()})}scrollToBottom()})}function showResponse(n){var t="";"name"in n?(context[n.name]=jQuery(".bot-container input[type=text]").val(),t=context[n.name]):"email"in n?(context[n.email]=jQuery(".bot-container input[type=email]").val(),t=context[n.email]):t=n.choice,clearFooter(),t=strip_tags(t),jQuery(".chat-container").append('<p class="chat-message user">'+t+"</p>"),"consequence"in n&&showStatement(n.consequence)}
|
assets/js/scripts-admin.js
CHANGED
@@ -11,7 +11,7 @@ jQuery(function($) {
|
|
11 |
$('.tabs-content div' + hash.replace('#', '#tab-')).removeClass('hidden');
|
12 |
}
|
13 |
|
14 |
-
$('.nav-tab-wrapper
|
15 |
var tab_id = $(this).attr('href').replace('#', '#tab-');
|
16 |
|
17 |
// active tab
|
@@ -38,7 +38,7 @@ jQuery(function($) {
|
|
38 |
* BACKGROUND UPLOADER
|
39 |
*/
|
40 |
var image_custom_uploader;
|
41 |
-
$('
|
42 |
e.preventDefault();
|
43 |
|
44 |
//If the uploader object has already been created, reopen the dialog
|
@@ -78,7 +78,7 @@ jQuery(function($) {
|
|
78 |
|
79 |
show_bg_type($('#design_bg_type').val());
|
80 |
|
81 |
-
$('
|
82 |
var selected_val = $(this).val();
|
83 |
|
84 |
show_bg_type(selected_val);
|
@@ -87,7 +87,7 @@ jQuery(function($) {
|
|
87 |
/**
|
88 |
* PREDEFINED BACKGROUND
|
89 |
*/
|
90 |
-
$('ul.bg_list
|
91 |
$(this).parent().children().removeClass('active');
|
92 |
$(this).addClass('active');
|
93 |
});
|
@@ -95,7 +95,7 @@ jQuery(function($) {
|
|
95 |
/**
|
96 |
* SUBSCRIBERS EXPORT
|
97 |
*/
|
98 |
-
$('#subscribers-export'
|
99 |
$('<iframe />').attr('src', wpmm_vars.ajax_url + '?action=wpmm_subscribers_export').appendTo('body').hide();
|
100 |
});
|
101 |
|
@@ -104,7 +104,7 @@ jQuery(function($) {
|
|
104 |
*
|
105 |
* @since 2.0.4
|
106 |
*/
|
107 |
-
$('#subscribers-empty-list'
|
108 |
$.post(wpmm_vars.ajax_url, {
|
109 |
action: 'wpmm_subscribers_empty_list'
|
110 |
}, function(response) {
|
@@ -120,7 +120,7 @@ jQuery(function($) {
|
|
120 |
/**
|
121 |
* RESET SETTINGS
|
122 |
*/
|
123 |
-
$('
|
124 |
var tab = $(this).data('tab'),
|
125 |
nonce = $('#tab-' + tab + ' #_wpnonce').val();
|
126 |
|
@@ -148,7 +148,7 @@ jQuery(function($) {
|
|
148 |
* BOT AVATAR UPLOADER
|
149 |
*/
|
150 |
var avatar_custom_uploader;
|
151 |
-
$('
|
152 |
e.preventDefault();
|
153 |
|
154 |
//If the uploader object has already been created, reopen the dialog
|
11 |
$('.tabs-content div' + hash.replace('#', '#tab-')).removeClass('hidden');
|
12 |
}
|
13 |
|
14 |
+
$('.nav-tab-wrapper').on('click', 'a', function() {
|
15 |
var tab_id = $(this).attr('href').replace('#', '#tab-');
|
16 |
|
17 |
// active tab
|
38 |
* BACKGROUND UPLOADER
|
39 |
*/
|
40 |
var image_custom_uploader;
|
41 |
+
$('body').on('click', '#upload_image_trigger', function(e) {
|
42 |
e.preventDefault();
|
43 |
|
44 |
//If the uploader object has already been created, reopen the dialog
|
78 |
|
79 |
show_bg_type($('#design_bg_type').val());
|
80 |
|
81 |
+
$('body').on('change', '#design_bg_type', function() {
|
82 |
var selected_val = $(this).val();
|
83 |
|
84 |
show_bg_type(selected_val);
|
87 |
/**
|
88 |
* PREDEFINED BACKGROUND
|
89 |
*/
|
90 |
+
$('ul.bg_list').on('click', 'li', function() {
|
91 |
$(this).parent().children().removeClass('active');
|
92 |
$(this).addClass('active');
|
93 |
});
|
95 |
/**
|
96 |
* SUBSCRIBERS EXPORT
|
97 |
*/
|
98 |
+
$('#subscribers_wrap').on('click', '#subscribers-export', function() {
|
99 |
$('<iframe />').attr('src', wpmm_vars.ajax_url + '?action=wpmm_subscribers_export').appendTo('body').hide();
|
100 |
});
|
101 |
|
104 |
*
|
105 |
* @since 2.0.4
|
106 |
*/
|
107 |
+
$('#subscribers_wrap').on('click', '#subscribers-empty-list', function() {
|
108 |
$.post(wpmm_vars.ajax_url, {
|
109 |
action: 'wpmm_subscribers_empty_list'
|
110 |
}, function(response) {
|
120 |
/**
|
121 |
* RESET SETTINGS
|
122 |
*/
|
123 |
+
$('body').on('click', '.reset_settings', function() {
|
124 |
var tab = $(this).data('tab'),
|
125 |
nonce = $('#tab-' + tab + ' #_wpnonce').val();
|
126 |
|
148 |
* BOT AVATAR UPLOADER
|
149 |
*/
|
150 |
var avatar_custom_uploader;
|
151 |
+
$('body').on('click', '#avatar_upload_trigger', function(e) {
|
152 |
e.preventDefault();
|
153 |
|
154 |
//If the uploader object has already been created, reopen the dialog
|
assets/js/scripts-admin.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(function(t){var e,a,
|
1 |
+
jQuery(function(t){var e,a,n=window.location.hash;""!==n&&(t(".nav-tab-wrapper").children().removeClass("nav-tab-active"),t('.nav-tab-wrapper a[href="'+n+'"]').addClass("nav-tab-active"),t(".tabs-content").children().addClass("hidden"),t(".tabs-content div"+n.replace("#","#tab-")).removeClass("hidden")),t(".nav-tab-wrapper").on("click","a",function(){var e=t(this).attr("href").replace("#","#tab-");t(this).parent().children().removeClass("nav-tab-active"),t(this).addClass("nav-tab-active"),t(".tabs-content").children().addClass("hidden"),t(".tabs-content div"+e).removeClass("hidden")}),t(".color_picker_trigger").wpColorPicker(),t(".chosen-select").chosen({disable_search_threshold:10}),t("body").on("click","#upload_image_trigger",function(a){a.preventDefault(),e?e.open():((e=wp.media.frames.file_frame=wp.media({title:"Upload Background",button:{text:"Choose Background"},multiple:!1})).on("select",function(){attachment=e.state().get("selection").first().toJSON();var a;a=attachment.url,t(".upload_image_url").val(a)}),e.open())}),show_bg_type=function(e){t(".design_bg_types").hide(),t("#show_"+e).show()},show_bg_type(t("#design_bg_type").val()),t("body").on("change","#design_bg_type",function(){var e=t(this).val();show_bg_type(e)}),t("ul.bg_list").on("click","li",function(){t(this).parent().children().removeClass("active"),t(this).addClass("active")}),t("#subscribers_wrap").on("click","#subscribers-export",function(){t("<iframe />").attr("src",wpmm_vars.ajax_url+"?action=wpmm_subscribers_export").appendTo("body").hide()}),t("#subscribers_wrap").on("click","#subscribers-empty-list",function(){t.post(wpmm_vars.ajax_url,{action:"wpmm_subscribers_empty_list"},function(e){if(!e.success)return alert(e.data),!1;t("#subscribers_wrap").html(e.data)},"json")}),t("body").on("click",".reset_settings",function(){var e=t(this).data("tab"),a=t("#tab-"+e+" #_wpnonce").val();t.post(wpmm_vars.ajax_url,{action:"wpmm_reset_settings",tab:e,_wpnonce:a},function(t){if(!t.success)return alert(t.data),!1;window.location.reload(!0)},"json")}),t(".countdown_start").datetimepicker({timeFormat:"HH:mm:ss",dateFormat:"dd-mm-yy"}),t("body").on("click","#avatar_upload_trigger",function(e){e.preventDefault(),a?a.open():((a=wp.media.frames.file_frame=wp.media({title:"Upload Avatar",button:{text:"Choose picture"},multiple:!1})).on("select",function(){attachment=a.state().get("selection").first().toJSON();var e;e=attachment.url,t(".upload_avatar_url").val(e)}),a.open())})});
|
assets/js/scripts.js
CHANGED
@@ -58,7 +58,7 @@ jQuery(function($) {
|
|
58 |
*/
|
59 |
if ($('.contact').length > 0) {
|
60 |
// show form
|
61 |
-
$('
|
62 |
var open_contact = $(this).data('open'),
|
63 |
close_contact = $(this).data('close');
|
64 |
|
58 |
*/
|
59 |
if ($('.contact').length > 0) {
|
60 |
// show form
|
61 |
+
$('body').on('click', '.contact_us', function() {
|
62 |
var open_contact = $(this).data('open'),
|
63 |
close_contact = $(this).data('close');
|
64 |
|
assets/js/scripts.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(function(a){var t=a(".countdown");if(t.length>0){var n=new Date(t.data("end"));t.countdown({until:n,compact:!0,layout:'<span class="day">{dn}</span> <span class="separator">:</span> <span class="hour">{hnn}</span> <span class="separator">:</span> <span class="minutes">{mnn}</span> <span class="separator">:</span> <span class="seconds">{snn}</span>'})}var s=a(".social");s.length>0&&(1==s.data("target")&&s.find("a").attr("target","_blank"));var c=a(".subscribe_form");if(c.length>0&&c.validate({submitHandler:function(t){var n="action=wpmm_add_subscriber&"+c.serialize();return a.post(wpmm_vars.ajax_url,n,function(t){if(!t.success)return alert(t.data),!1;a(".subscribe_wrapper").html(t.data)},"json"),!1}}),a(".contact").length>0){a("
|
1 |
+
jQuery(function(a){var t=a(".countdown");if(t.length>0){var n=new Date(t.data("end"));t.countdown({until:n,compact:!0,layout:'<span class="day">{dn}</span> <span class="separator">:</span> <span class="hour">{hnn}</span> <span class="separator">:</span> <span class="minutes">{mnn}</span> <span class="separator">:</span> <span class="seconds">{snn}</span>'})}var s=a(".social");s.length>0&&(1==s.data("target")&&s.find("a").attr("target","_blank"));var c=a(".subscribe_form");if(c.length>0&&c.validate({submitHandler:function(t){var n="action=wpmm_add_subscriber&"+c.serialize();return a.post(wpmm_vars.ajax_url,n,function(t){if(!t.success)return alert(t.data),!1;a(".subscribe_wrapper").html(t.data)},"json"),!1}}),a(".contact").length>0){a("body").on("click",".contact_us",function(){var t=a(this).data("open"),n=a(this).data("close");a(".contact").fadeIn(700),a("."+t).addClass(n)});var e=a(".contact_form");e.validate({submitHandler:function(t){var n="action=wpmm_send_contact&"+e.serialize();return a.post(wpmm_vars.ajax_url,n,function(t){if(!t.success)return alert(t.data),!1;e.parent().append('<div class="response">'+t.data+"</div>"),e.hide(),setTimeout(function(){a(".contact").hide(),e.parent().find(".response").remove(),e.trigger("reset"),e.show()},2e3)},"json"),!1}}),a(".close-contact_form").on("click",function(t){a(".contact").fadeOut(200)}),a("body").on("click",".contact",function(t){if(a(t.target).hasClass("contact")){var n=a(".contact_us").data("close");a(".form",a(this)).removeClass(n),a(this).fadeOut(200)}})}});
|
includes/classes/wp-maintenance-mode-admin.php
CHANGED
@@ -117,7 +117,7 @@ if (!class_exists('WP_Maintenance_Mode_Admin')) {
|
|
117 |
|
118 |
try {
|
119 |
// check capabilities
|
120 |
-
if (!current_user_can('
|
121 |
throw new Exception(__('You do not have access to this resource.', $this->plugin_slug));
|
122 |
}
|
123 |
|
@@ -155,7 +155,7 @@ if (!class_exists('WP_Maintenance_Mode_Admin')) {
|
|
155 |
|
156 |
try {
|
157 |
// check capabilities
|
158 |
-
if (!current_user_can('
|
159 |
throw new Exception(__('You do not have access to this resource.', $this->plugin_slug));
|
160 |
}
|
161 |
|
@@ -178,7 +178,7 @@ if (!class_exists('WP_Maintenance_Mode_Admin')) {
|
|
178 |
public function reset_settings() {
|
179 |
try {
|
180 |
// check capabilities
|
181 |
-
if (!current_user_can('
|
182 |
throw new Exception(__('You do not have access to this resource.', $this->plugin_slug));
|
183 |
}
|
184 |
|
@@ -220,7 +220,7 @@ if (!class_exists('WP_Maintenance_Mode_Admin')) {
|
|
220 |
*/
|
221 |
public function add_plugin_menu() {
|
222 |
$this->plugin_screen_hook_suffix = add_options_page(
|
223 |
-
__('WP Maintenance Mode', $this->plugin_slug), __('WP Maintenance Mode', $this->plugin_slug), '
|
224 |
);
|
225 |
}
|
226 |
|
@@ -228,11 +228,8 @@ if (!class_exists('WP_Maintenance_Mode_Admin')) {
|
|
228 |
* Settings page
|
229 |
*
|
230 |
* @since 2.0.0
|
231 |
-
* @global object $wp_roles
|
232 |
*/
|
233 |
public function display_plugin_settings() {
|
234 |
-
global $wp_roles;
|
235 |
-
|
236 |
// save settings
|
237 |
$this->save_plugin_settings();
|
238 |
|
@@ -250,6 +247,10 @@ if (!class_exists('WP_Maintenance_Mode_Admin')) {
|
|
250 |
if (!wp_verify_nonce($_POST['_wpnonce'], 'tab-' . $_POST['tab'])) {
|
251 |
die(__('Security check.', $this->plugin_slug));
|
252 |
}
|
|
|
|
|
|
|
|
|
253 |
|
254 |
// DO SOME SANITIZATIONS
|
255 |
$tab = $_POST['tab'];
|
@@ -431,6 +432,7 @@ if (!class_exists('WP_Maintenance_Mode_Admin')) {
|
|
431 |
$_POST['options']['gdpr']['policy_page_target'] = (int) $_POST['options']['gdpr']['policy_page_target'];
|
432 |
$_POST['options']['gdpr']['contact_form_tail'] = wp_kses($_POST['options']['gdpr']['contact_form_tail'], wpmm_gdpr_textarea_allowed_html());
|
433 |
$_POST['options']['gdpr']['subscribe_form_tail'] = wp_kses($_POST['options']['gdpr']['subscribe_form_tail'], wpmm_gdpr_textarea_allowed_html());
|
|
|
434 |
}
|
435 |
|
436 |
$this->plugin_settings[$tab] = $_POST['options'][$tab];
|
@@ -440,7 +442,7 @@ if (!class_exists('WP_Maintenance_Mode_Admin')) {
|
|
440 |
|
441 |
/**
|
442 |
* Add new safe inline style css (use by wp_kses_attr in wp_kses_post)
|
443 |
-
* - bug discovered by cokemorgan: https://github.com/
|
444 |
*
|
445 |
* @since 2.0.3
|
446 |
* @param array $properties
|
@@ -561,10 +563,10 @@ if (!class_exists('WP_Maintenance_Mode_Admin')) {
|
|
561 |
// delete wpmm_notice
|
562 |
delete_option('wpmm_notice');
|
563 |
|
564 |
-
// notice
|
565 |
ob_start();
|
566 |
-
include_once(WPMM_VIEWS_PATH . 'promo-
|
567 |
-
$notices['promo-
|
568 |
'class' => 'wpmm_notices updated notice is-dismissible',
|
569 |
'msg' => ob_get_clean()
|
570 |
);
|
117 |
|
118 |
try {
|
119 |
// check capabilities
|
120 |
+
if (!current_user_can(wpmm_get_capability('subscribers'))) {
|
121 |
throw new Exception(__('You do not have access to this resource.', $this->plugin_slug));
|
122 |
}
|
123 |
|
155 |
|
156 |
try {
|
157 |
// check capabilities
|
158 |
+
if (!current_user_can(wpmm_get_capability('subscribers'))) {
|
159 |
throw new Exception(__('You do not have access to this resource.', $this->plugin_slug));
|
160 |
}
|
161 |
|
178 |
public function reset_settings() {
|
179 |
try {
|
180 |
// check capabilities
|
181 |
+
if (!current_user_can(wpmm_get_capability('settings'))) {
|
182 |
throw new Exception(__('You do not have access to this resource.', $this->plugin_slug));
|
183 |
}
|
184 |
|
220 |
*/
|
221 |
public function add_plugin_menu() {
|
222 |
$this->plugin_screen_hook_suffix = add_options_page(
|
223 |
+
__('WP Maintenance Mode', $this->plugin_slug), __('WP Maintenance Mode', $this->plugin_slug), wpmm_get_capability('settings'), $this->plugin_slug, array($this, 'display_plugin_settings')
|
224 |
);
|
225 |
}
|
226 |
|
228 |
* Settings page
|
229 |
*
|
230 |
* @since 2.0.0
|
|
|
231 |
*/
|
232 |
public function display_plugin_settings() {
|
|
|
|
|
233 |
// save settings
|
234 |
$this->save_plugin_settings();
|
235 |
|
247 |
if (!wp_verify_nonce($_POST['_wpnonce'], 'tab-' . $_POST['tab'])) {
|
248 |
die(__('Security check.', $this->plugin_slug));
|
249 |
}
|
250 |
+
|
251 |
+
if(!current_user_can(wpmm_get_capability('settings'))) {
|
252 |
+
die(__('You do not have access to this resource.', $this->plugin_slug));
|
253 |
+
}
|
254 |
|
255 |
// DO SOME SANITIZATIONS
|
256 |
$tab = $_POST['tab'];
|
432 |
$_POST['options']['gdpr']['policy_page_target'] = (int) $_POST['options']['gdpr']['policy_page_target'];
|
433 |
$_POST['options']['gdpr']['contact_form_tail'] = wp_kses($_POST['options']['gdpr']['contact_form_tail'], wpmm_gdpr_textarea_allowed_html());
|
434 |
$_POST['options']['gdpr']['subscribe_form_tail'] = wp_kses($_POST['options']['gdpr']['subscribe_form_tail'], wpmm_gdpr_textarea_allowed_html());
|
435 |
+
break;
|
436 |
}
|
437 |
|
438 |
$this->plugin_settings[$tab] = $_POST['options'][$tab];
|
442 |
|
443 |
/**
|
444 |
* Add new safe inline style css (use by wp_kses_attr in wp_kses_post)
|
445 |
+
* - bug discovered by cokemorgan: https://github.com/andrianvaleanu/WP-Maintenance-Mode/issues/56
|
446 |
*
|
447 |
* @since 2.0.3
|
448 |
* @param array $properties
|
563 |
// delete wpmm_notice
|
564 |
delete_option('wpmm_notice');
|
565 |
|
566 |
+
// notice for blocksy
|
567 |
ob_start();
|
568 |
+
include_once(WPMM_VIEWS_PATH . 'promo-blocksy.php');
|
569 |
+
$notices['promo-blocksy'] = array(
|
570 |
'class' => 'wpmm_notices updated notice is-dismissible',
|
571 |
'msg' => ob_get_clean()
|
572 |
);
|
includes/classes/wp-maintenance-mode.php
CHANGED
@@ -4,7 +4,7 @@ if (!class_exists('WP_Maintenance_Mode')) {
|
|
4 |
|
5 |
class WP_Maintenance_Mode {
|
6 |
|
7 |
-
const VERSION = '2.
|
8 |
|
9 |
protected $plugin_slug = 'wp-maintenance-mode';
|
10 |
protected $plugin_settings;
|
@@ -149,7 +149,7 @@ if (!class_exists('WP_Maintenance_Mode')) {
|
|
149 |
'02' => __("I have just a few questions.", $this->plugin_slug),
|
150 |
'03' => __("What is your name?", $this->plugin_slug),
|
151 |
'04' => __("Nice to meet you here, {visitor_name}!"),
|
152 |
-
'05' => __("How you can see, our website will be
|
153 |
'06' => __("I know, you are very excited to see it, but we need a few days to finish it.", $this->plugin_slug),
|
154 |
'07' => __("Would you like to be first to see it?", $this->plugin_slug),
|
155 |
'08_1' => __("Cool! Please leave your email here and I will send you a message when it's ready.", $this->plugin_slug),
|
@@ -539,7 +539,7 @@ if (!class_exists('WP_Maintenance_Mode')) {
|
|
539 |
$protocol = !empty($_SERVER['SERVER_PROTOCOL']) && in_array($_SERVER['SERVER_PROTOCOL'], array('HTTP/1.1', 'HTTP/1.0')) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0';
|
540 |
$charset = get_bloginfo('charset') ? get_bloginfo('charset') : 'UTF-8';
|
541 |
$status_code = (int) apply_filters('wp_maintenance_mode_status_code', 503); // this hook will be removed in the next versions
|
542 |
-
$status_code = (int) apply_filters('wpmm_status_code',
|
543 |
$backtime_seconds = $this->calculate_backtime();
|
544 |
$backtime = (int) apply_filters('wpmm_backtime', $backtime_seconds);
|
545 |
|
@@ -552,7 +552,7 @@ if (!class_exists('WP_Maintenance_Mode')) {
|
|
552 |
$robots = apply_filters('wpmm_meta_robots', $robots);
|
553 |
|
554 |
$author = apply_filters('wm_meta_author', get_bloginfo('name')); // this hook will be removed in the next versions
|
555 |
-
$author = apply_filters('wpmm_meta_author',
|
556 |
|
557 |
$description = get_bloginfo('name') . ' - ' . get_bloginfo('description');
|
558 |
$description = apply_filters('wm_meta_description', $description); // this hook will be removed in the next versions
|
@@ -574,7 +574,7 @@ if (!class_exists('WP_Maintenance_Mode')) {
|
|
574 |
$heading = apply_filters('wm_heading', $heading); // this hook will be removed in the next versions
|
575 |
$heading = apply_filters('wpmm_heading', $heading);
|
576 |
|
577 |
-
$text = !empty($this->plugin_settings['design']['text']) ? $this->plugin_settings['design']['text'] : '';
|
578 |
$text = apply_filters('wpmm_text', do_shortcode($text));
|
579 |
|
580 |
// COUNTDOWN
|
@@ -583,10 +583,10 @@ if (!class_exists('WP_Maintenance_Mode')) {
|
|
583 |
|
584 |
// JS FILES
|
585 |
$wp_scripts = wp_scripts();
|
586 |
-
|
587 |
$scripts = array(
|
588 |
-
'jquery' => !empty($wp_scripts->registered['jquery-core']) ? site_url($wp_scripts->registered['jquery-core']->src) : '//ajax.googleapis.com/ajax/libs/jquery/
|
589 |
-
'frontend' => WPMM_JS_URL . 'scripts' . WPMM_ASSETS_SUFFIX . '.js'
|
590 |
);
|
591 |
if (!empty($this->plugin_settings['modules']['countdown_status']) && $this->plugin_settings['modules']['countdown_status'] == 1) {
|
592 |
$scripts['countdown-dependency'] = WPMM_JS_URL . 'jquery.plugin' . WPMM_ASSETS_SUFFIX . '.js';
|
@@ -596,17 +596,21 @@ if (!class_exists('WP_Maintenance_Mode')) {
|
|
596 |
$scripts['validate'] = WPMM_JS_URL . 'jquery.validate' . WPMM_ASSETS_SUFFIX . '.js';
|
597 |
}
|
598 |
if (!empty($this->plugin_settings['bot']['status']) && $this->plugin_settings['bot']['status'] == 1) {
|
599 |
-
|
|
|
|
|
|
|
|
|
600 |
add_action('wpmm_before_scripts', array($this, 'add_bot_extras'));
|
601 |
}
|
602 |
$scripts = apply_filters('wpmm_scripts', $scripts);
|
603 |
|
604 |
// CSS FILES
|
605 |
$styles = array(
|
606 |
-
'frontend' => WPMM_CSS_URL . 'style' . WPMM_ASSETS_SUFFIX . '.css'
|
607 |
);
|
608 |
if (!empty($this->plugin_settings['bot']['status']) && $this->plugin_settings['bot']['status'] == 1) {
|
609 |
-
$styles['bot'] = WPMM_CSS_URL . 'style.bot' . WPMM_ASSETS_SUFFIX . '.css';
|
610 |
$body_classes .= ' bot';
|
611 |
}
|
612 |
$styles = apply_filters('wpmm_styles', $styles);
|
4 |
|
5 |
class WP_Maintenance_Mode {
|
6 |
|
7 |
+
const VERSION = '2.3.0';
|
8 |
|
9 |
protected $plugin_slug = 'wp-maintenance-mode';
|
10 |
protected $plugin_settings;
|
149 |
'02' => __("I have just a few questions.", $this->plugin_slug),
|
150 |
'03' => __("What is your name?", $this->plugin_slug),
|
151 |
'04' => __("Nice to meet you here, {visitor_name}!"),
|
152 |
+
'05' => __("How you can see, our website will be launched very soon.", $this->plugin_slug),
|
153 |
'06' => __("I know, you are very excited to see it, but we need a few days to finish it.", $this->plugin_slug),
|
154 |
'07' => __("Would you like to be first to see it?", $this->plugin_slug),
|
155 |
'08_1' => __("Cool! Please leave your email here and I will send you a message when it's ready.", $this->plugin_slug),
|
539 |
$protocol = !empty($_SERVER['SERVER_PROTOCOL']) && in_array($_SERVER['SERVER_PROTOCOL'], array('HTTP/1.1', 'HTTP/1.0')) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0';
|
540 |
$charset = get_bloginfo('charset') ? get_bloginfo('charset') : 'UTF-8';
|
541 |
$status_code = (int) apply_filters('wp_maintenance_mode_status_code', 503); // this hook will be removed in the next versions
|
542 |
+
$status_code = (int) apply_filters('wpmm_status_code', $status_code);
|
543 |
$backtime_seconds = $this->calculate_backtime();
|
544 |
$backtime = (int) apply_filters('wpmm_backtime', $backtime_seconds);
|
545 |
|
552 |
$robots = apply_filters('wpmm_meta_robots', $robots);
|
553 |
|
554 |
$author = apply_filters('wm_meta_author', get_bloginfo('name')); // this hook will be removed in the next versions
|
555 |
+
$author = apply_filters('wpmm_meta_author', $author);
|
556 |
|
557 |
$description = get_bloginfo('name') . ' - ' . get_bloginfo('description');
|
558 |
$description = apply_filters('wm_meta_description', $description); // this hook will be removed in the next versions
|
574 |
$heading = apply_filters('wm_heading', $heading); // this hook will be removed in the next versions
|
575 |
$heading = apply_filters('wpmm_heading', $heading);
|
576 |
|
577 |
+
$text = !empty($this->plugin_settings['design']['text']) ? stripslashes($this->plugin_settings['design']['text']) : '';
|
578 |
$text = apply_filters('wpmm_text', do_shortcode($text));
|
579 |
|
580 |
// COUNTDOWN
|
583 |
|
584 |
// JS FILES
|
585 |
$wp_scripts = wp_scripts();
|
586 |
+
|
587 |
$scripts = array(
|
588 |
+
'jquery' => !empty($wp_scripts->registered['jquery-core']) ? site_url($wp_scripts->registered['jquery-core']->src) : '//ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery' . WPMM_ASSETS_SUFFIX . '.js',
|
589 |
+
'frontend' => WPMM_JS_URL . 'scripts' . WPMM_ASSETS_SUFFIX . '.js?ver=' . WP_Maintenance_Mode::VERSION
|
590 |
);
|
591 |
if (!empty($this->plugin_settings['modules']['countdown_status']) && $this->plugin_settings['modules']['countdown_status'] == 1) {
|
592 |
$scripts['countdown-dependency'] = WPMM_JS_URL . 'jquery.plugin' . WPMM_ASSETS_SUFFIX . '.js';
|
596 |
$scripts['validate'] = WPMM_JS_URL . 'jquery.validate' . WPMM_ASSETS_SUFFIX . '.js';
|
597 |
}
|
598 |
if (!empty($this->plugin_settings['bot']['status']) && $this->plugin_settings['bot']['status'] == 1) {
|
599 |
+
if(WPMM_ASSETS_SUFFIX === '') {
|
600 |
+
$scripts['bot-async'] = WPMM_JS_URL . 'bot.async.js';
|
601 |
+
}
|
602 |
+
|
603 |
+
$scripts['bot'] = WPMM_JS_URL . 'bot' . WPMM_ASSETS_SUFFIX . '.js?ver=' . WP_Maintenance_Mode::VERSION;
|
604 |
add_action('wpmm_before_scripts', array($this, 'add_bot_extras'));
|
605 |
}
|
606 |
$scripts = apply_filters('wpmm_scripts', $scripts);
|
607 |
|
608 |
// CSS FILES
|
609 |
$styles = array(
|
610 |
+
'frontend' => WPMM_CSS_URL . 'style' . WPMM_ASSETS_SUFFIX . '.css?ver=' . WP_Maintenance_Mode::VERSION
|
611 |
);
|
612 |
if (!empty($this->plugin_settings['bot']['status']) && $this->plugin_settings['bot']['status'] == 1) {
|
613 |
+
$styles['bot'] = WPMM_CSS_URL . 'style.bot' . WPMM_ASSETS_SUFFIX . '.css?ver=' . WP_Maintenance_Mode::VERSION;
|
614 |
$body_classes .= ' bot';
|
615 |
}
|
616 |
$styles = apply_filters('wpmm_styles', $styles);
|
includes/functions/helpers.php
CHANGED
@@ -11,6 +11,8 @@ function wpmm_plugin_info($plugin_slug) {
|
|
11 |
add_filter('extra_plugin_headers', 'wpmm_add_extra_plugin_headers', 99, 1);
|
12 |
|
13 |
$plugin_data = get_plugin_data(WPMM_PATH . $plugin_slug . '.php');
|
|
|
|
|
14 |
|
15 |
return $plugin_data;
|
16 |
}
|
@@ -63,6 +65,49 @@ function wpmm_multiselect($values, $current) {
|
|
63 |
}
|
64 |
}
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
/**
|
67 |
* Return list of banners
|
68 |
*
|
@@ -70,65 +115,90 @@ function wpmm_multiselect($values, $current) {
|
|
70 |
* @return array
|
71 |
*/
|
72 |
function wpmm_get_banners() {
|
73 |
-
$banners_path = WPMM_URL . 'assets/images/resources/';
|
74 |
-
|
75 |
return array(
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
'utm' => true
|
94 |
-
),
|
95 |
-
array(
|
96 |
-
'title' => 'Blocksy',
|
97 |
-
'link' => 'https://creativethemes.com/blocksy/',
|
98 |
-
'image' => $banners_path . 'blocksy.jpg',
|
99 |
-
'utm' => true
|
100 |
-
)
|
101 |
),
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
'utm' => true
|
108 |
-
),
|
109 |
-
array(
|
110 |
-
'title' => 'Flat UI Free',
|
111 |
-
'link' => 'https://designmodo.com/flat-free/',
|
112 |
-
'image' => $banners_path . 'flatui.jpg',
|
113 |
-
'utm' => true
|
114 |
-
)
|
115 |
)
|
116 |
);
|
117 |
}
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
/**
|
120 |
* Sanitize Google Analytics SiteID code
|
121 |
*
|
122 |
* Valid examples:
|
123 |
* UA-..........
|
124 |
* UA-..........-....
|
|
|
125 |
*
|
126 |
* @since 2.0.7
|
127 |
* @param string $string
|
128 |
* @return string
|
129 |
*/
|
130 |
function wpmm_sanitize_ga_code($string) {
|
131 |
-
preg_match('/UA-\d{4,10}(-\d{1,4})
|
132 |
|
133 |
return isset($matches[0]) ? $matches[0] : '';
|
134 |
}
|
@@ -156,6 +226,21 @@ function wpmm_gdpr_textarea_allowed_html() {
|
|
156 |
return apply_filters('wpmm_gdpr_textarea_allowed_html', $allowed_html);
|
157 |
}
|
158 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
if (!function_exists('wp_scripts')) {
|
160 |
|
161 |
/**
|
11 |
add_filter('extra_plugin_headers', 'wpmm_add_extra_plugin_headers', 99, 1);
|
12 |
|
13 |
$plugin_data = get_plugin_data(WPMM_PATH . $plugin_slug . '.php');
|
14 |
+
|
15 |
+
remove_filter('extra_plugin_headers', 'wpmm_add_extra_plugin_headers', 99, 1);
|
16 |
|
17 |
return $plugin_data;
|
18 |
}
|
65 |
}
|
66 |
}
|
67 |
|
68 |
+
/**
|
69 |
+
* Return the UTM'ized url
|
70 |
+
*
|
71 |
+
* @since 2.3.0
|
72 |
+
* @param string $url
|
73 |
+
* @param array $utms
|
74 |
+
* @return string
|
75 |
+
*/
|
76 |
+
function wpmm_get_utmized_url($url, $utms = array()) {
|
77 |
+
$utms = wp_parse_args($utms, array(
|
78 |
+
'source' => null,
|
79 |
+
'medium' => 'wpmaintenance',
|
80 |
+
'campaign' => null,
|
81 |
+
'term' => null,
|
82 |
+
'content' => null,
|
83 |
+
));
|
84 |
+
|
85 |
+
foreach ($utms as $key => $value) {
|
86 |
+
if (empty($value)) {
|
87 |
+
unset($utms[$key]);
|
88 |
+
continue;
|
89 |
+
}
|
90 |
+
|
91 |
+
$utms[$key] = sprintf('utm_%s=%s', $key, $value);
|
92 |
+
}
|
93 |
+
|
94 |
+
if (empty($utms)) {
|
95 |
+
return $url;
|
96 |
+
}
|
97 |
+
|
98 |
+
return sprintf('%s/?%s', untrailingslashit($url), implode('&', $utms));
|
99 |
+
}
|
100 |
+
|
101 |
+
/**
|
102 |
+
* Return banner url
|
103 |
+
*
|
104 |
+
* @param string $filename
|
105 |
+
* @return string
|
106 |
+
*/
|
107 |
+
function wpmm_get_banner_url($filename) {
|
108 |
+
return sprintf('%s/assets/images/recommended/%s', untrailingslashit(WPMM_URL), $filename);
|
109 |
+
}
|
110 |
+
|
111 |
/**
|
112 |
* Return list of banners
|
113 |
*
|
115 |
* @return array
|
116 |
*/
|
117 |
function wpmm_get_banners() {
|
|
|
|
|
118 |
return array(
|
119 |
+
array(
|
120 |
+
'title' => 'Blocksy',
|
121 |
+
'link' => 'https://creativethemes.com/blocksy/',
|
122 |
+
'image' => 'blocksy.jpg',
|
123 |
+
'utm' => true
|
124 |
+
),
|
125 |
+
array(
|
126 |
+
'title' => 'StrictThemes – WordPress Themes',
|
127 |
+
'link' => 'https://themeforest.net/user/strictthemes/portfolio?utf8=%E2%9C%93&order_by=sales&ref=StrictThemes',
|
128 |
+
'image' => 'strictthemes.png',
|
129 |
+
'utm' => false
|
130 |
+
),
|
131 |
+
array(
|
132 |
+
'title' => 'Postcards',
|
133 |
+
'link' => 'https://designmodo.com/postcards/',
|
134 |
+
'image' => 'postcards.jpg',
|
135 |
+
'utm' => true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
),
|
137 |
+
array(
|
138 |
+
'title' => 'Static Pages',
|
139 |
+
'link' => 'https://designmodo.com/static-pages/',
|
140 |
+
'image' => 'static-pages.png',
|
141 |
+
'utm' => true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
)
|
143 |
);
|
144 |
}
|
145 |
|
146 |
+
/**
|
147 |
+
* Get list of available backgrounds
|
148 |
+
*
|
149 |
+
* @since 2.3.0
|
150 |
+
* @return array
|
151 |
+
*/
|
152 |
+
function wpmm_get_backgrounds() {
|
153 |
+
$backgrounds = array();
|
154 |
+
|
155 |
+
foreach(glob(WPMM_PATH . 'assets/images/backgrounds/*_thumb.jpg') as $file) {
|
156 |
+
$backgrounds[] = array(
|
157 |
+
'big' => str_replace('_thumb', '', basename($file)),
|
158 |
+
'small' => basename($file)
|
159 |
+
);
|
160 |
+
}
|
161 |
+
|
162 |
+
return $backgrounds;
|
163 |
+
}
|
164 |
+
|
165 |
+
/**
|
166 |
+
* Get list of user roles
|
167 |
+
*
|
168 |
+
* @since 2.3.0
|
169 |
+
* @global object $wp_roles
|
170 |
+
* @return array
|
171 |
+
*/
|
172 |
+
function wpmm_get_user_roles() {
|
173 |
+
global $wp_roles;
|
174 |
+
|
175 |
+
$roles = array();
|
176 |
+
|
177 |
+
foreach($wp_roles->roles as $role => $details) {
|
178 |
+
if ($role === 'administrator') {
|
179 |
+
continue;
|
180 |
+
}
|
181 |
+
|
182 |
+
$roles[$role] = $details['name'];
|
183 |
+
}
|
184 |
+
|
185 |
+
return $roles;
|
186 |
+
}
|
187 |
+
|
188 |
/**
|
189 |
* Sanitize Google Analytics SiteID code
|
190 |
*
|
191 |
* Valid examples:
|
192 |
* UA-..........
|
193 |
* UA-..........-....
|
194 |
+
* G-..........
|
195 |
*
|
196 |
* @since 2.0.7
|
197 |
* @param string $string
|
198 |
* @return string
|
199 |
*/
|
200 |
function wpmm_sanitize_ga_code($string) {
|
201 |
+
preg_match('/(UA-\d{4,10}(-\d{1,4})?|G-\w+)/', $string, $matches);
|
202 |
|
203 |
return isset($matches[0]) ? $matches[0] : '';
|
204 |
}
|
226 |
return apply_filters('wpmm_gdpr_textarea_allowed_html', $allowed_html);
|
227 |
}
|
228 |
|
229 |
+
/**
|
230 |
+
* Return capability
|
231 |
+
*
|
232 |
+
* @since 2.3.0
|
233 |
+
* @param string $action
|
234 |
+
* @return string
|
235 |
+
*/
|
236 |
+
function wpmm_get_capability($action) {
|
237 |
+
if(has_filter('wpmm_all_actions_capability')) {
|
238 |
+
return apply_filters('wpmm_all_actions_capability', 'manage_options');
|
239 |
+
}
|
240 |
+
|
241 |
+
return apply_filters(sprintf('wpmm_%s_capability', $action), 'manage_options');
|
242 |
+
}
|
243 |
+
|
244 |
if (!function_exists('wp_scripts')) {
|
245 |
|
246 |
/**
|
languages/wp-maintenance-mode-de_DE.mo
CHANGED
Binary file
|
languages/wp-maintenance-mode-de_DE.po
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: WP Maintenance Mode 2.
|
4 |
-
"POT-Creation-Date:
|
5 |
"PO-Revision-Date: \n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Designmodo <info@designmodo.com>\n"
|
@@ -9,7 +9,7 @@ msgstr ""
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 2.
|
13 |
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
15 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;"
|
@@ -26,6 +26,7 @@ msgstr ""
|
|
26 |
#: includes/classes/wp-maintenance-mode-admin.php:121
|
27 |
#: includes/classes/wp-maintenance-mode-admin.php:159
|
28 |
#: includes/classes/wp-maintenance-mode-admin.php:182
|
|
|
29 |
msgid "You do not have access to this resource."
|
30 |
msgstr ""
|
31 |
|
@@ -46,7 +47,7 @@ msgid "The tab slug must not be empty."
|
|
46 |
msgstr ""
|
47 |
|
48 |
#: includes/classes/wp-maintenance-mode-admin.php:197
|
49 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
50 |
msgid "Security check."
|
51 |
msgstr ""
|
52 |
|
@@ -58,16 +59,16 @@ msgstr ""
|
|
58 |
msgid "WP Maintenance Mode"
|
59 |
msgstr "WP Wartungsmodus"
|
60 |
|
61 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
62 |
msgid ""
|
63 |
"WPMM: The file data.js could not be written, the bot will not work correctly."
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
67 |
msgid "Settings"
|
68 |
msgstr "Einstellungen"
|
69 |
|
70 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
71 |
#, php-format
|
72 |
msgid ""
|
73 |
"The Maintenance Mode is <strong>active</strong>. Please don't forget to <a "
|
@@ -76,36 +77,36 @@ msgstr ""
|
|
76 |
"Der Wartungsmodus ist <strong>aktiv</strong>. Bitte vergiss nicht ihn zu <a "
|
77 |
"href=\"%s\">deaktivieren</a>, wenn er nicht mehr benötigt wird."
|
78 |
|
79 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
80 |
msgid "Notice key cannot be empty."
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
84 |
#, php-format
|
85 |
msgid ""
|
86 |
"If you like <strong>WP Maintenance Mode</strong> please leave us a %s "
|
87 |
"rating. A huge thank you from WP Maintenance Mode makers in advance!"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
91 |
msgid ""
|
92 |
"Your WordPress version supports Privacy settings but you haven't set any "
|
93 |
"privacy policy page yet. Go to Settings ➡ Privacy to set one."
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
97 |
#, php-format
|
98 |
msgid "The plugin detected this Privacy page: %1$s – %2$sUse this url%3$s"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
102 |
#, php-format
|
103 |
msgid ""
|
104 |
"Your Privacy page is pointing to a different URL in WordPress settings. If "
|
105 |
"that's correct ignore this message, otherwise %s"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
109 |
msgid ""
|
110 |
"No privacy features detected for your WordPress version. Update WordPress to "
|
111 |
"get this field automatically filled in or type in the URL that points to "
|
@@ -146,7 +147,7 @@ msgid "Nice to meet you here, {visitor_name}!"
|
|
146 |
msgstr ""
|
147 |
|
148 |
#: includes/classes/wp-maintenance-mode.php:152
|
149 |
-
msgid "How you can see, our website will be
|
150 |
msgstr ""
|
151 |
|
152 |
#: includes/classes/wp-maintenance-mode.php:153
|
@@ -177,7 +178,7 @@ msgid "Have a great day!"
|
|
177 |
msgstr ""
|
178 |
|
179 |
#: includes/classes/wp-maintenance-mode.php:161
|
180 |
-
#: includes/classes/wp-maintenance-mode.php:
|
181 |
msgid "Type your name here…"
|
182 |
msgstr ""
|
183 |
|
@@ -190,7 +191,7 @@ msgid "Boring"
|
|
190 |
msgstr ""
|
191 |
|
192 |
#: includes/classes/wp-maintenance-mode.php:164
|
193 |
-
#: includes/classes/wp-maintenance-mode.php:
|
194 |
#, fuzzy
|
195 |
msgid "Type your email here…"
|
196 |
msgstr "Gib deine E-Mail-Adresse an"
|
@@ -227,37 +228,37 @@ msgstr ""
|
|
227 |
msgid "Maintenance Mode"
|
228 |
msgstr "Wartungsmodus"
|
229 |
|
230 |
-
#: includes/classes/wp-maintenance-mode.php:
|
231 |
msgid "Please type in your name."
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: includes/classes/wp-maintenance-mode.php:
|
235 |
#, fuzzy
|
236 |
msgid "Please type in a valid email address."
|
237 |
msgstr "Bitte gib eine gültige E-Mail-Adresse an."
|
238 |
|
239 |
-
#: includes/classes/wp-maintenance-mode.php:
|
240 |
msgid "Send"
|
241 |
msgstr "Senden"
|
242 |
|
243 |
-
#: includes/classes/wp-maintenance-mode.php:
|
244 |
-
#: includes/classes/wp-maintenance-mode.php:
|
245 |
msgid "Please enter a valid email address."
|
246 |
msgstr "Bitte gib eine gültige E-Mail-Adresse an."
|
247 |
|
248 |
-
#: includes/classes/wp-maintenance-mode.php:
|
249 |
msgid "You successfully subscribed. Thanks!"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: includes/classes/wp-maintenance-mode.php:
|
253 |
msgid "All fields required."
|
254 |
msgstr "Alle Felder sind notwendig."
|
255 |
|
256 |
-
#: includes/classes/wp-maintenance-mode.php:
|
257 |
msgid "Message via contact"
|
258 |
msgstr "Mitteilung via Kontakt"
|
259 |
|
260 |
-
#: includes/classes/wp-maintenance-mode.php:
|
261 |
msgid "Your email was sent to the website administrator. Thanks!"
|
262 |
msgstr "Deine E-Mail wurde an den Administrator der Website gesendet. Danke!"
|
263 |
|
@@ -286,7 +287,7 @@ msgstr ""
|
|
286 |
msgid "your e-mail..."
|
287 |
msgstr "deine E-Mail..."
|
288 |
|
289 |
-
#: views/maintenance.php:75 views/settings.php:
|
290 |
msgid "Subscribe"
|
291 |
msgstr "Abonniere"
|
292 |
|
@@ -319,19 +320,19 @@ msgstr "Kontaktiere uns"
|
|
319 |
msgid "Dashboard"
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: views/promo-
|
323 |
-
msgid "
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: views/promo-
|
327 |
msgid ""
|
328 |
-
"
|
329 |
-
"
|
330 |
-
"
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: views/promo-
|
334 |
-
msgid "
|
335 |
msgstr ""
|
336 |
|
337 |
#: views/settings.php:6
|
@@ -358,15 +359,15 @@ msgstr ""
|
|
358 |
msgid "GDPR"
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: views/settings.php:26 views/settings.php:
|
362 |
msgid "Status"
|
363 |
msgstr "Status"
|
364 |
|
365 |
-
#: views/settings.php:28 views/settings.php:
|
366 |
msgid "Activated"
|
367 |
msgstr "Aktiv"
|
368 |
|
369 |
-
#: views/settings.php:29 views/settings.php:
|
370 |
msgid "Deactivated"
|
371 |
msgstr "Inaktiv"
|
372 |
|
@@ -374,15 +375,15 @@ msgstr "Inaktiv"
|
|
374 |
msgid "Bypass for Search Bots"
|
375 |
msgstr "Bypass für Such-Bots"
|
376 |
|
377 |
-
#: views/settings.php:36 views/settings.php:
|
378 |
-
#: views/settings.php:
|
379 |
-
#: views/settings.php:
|
380 |
msgid "Yes"
|
381 |
msgstr "Ja"
|
382 |
|
383 |
-
#: views/settings.php:37 views/settings.php:
|
384 |
-
#: views/settings.php:
|
385 |
-
#: views/settings.php:
|
386 |
msgid "No"
|
387 |
msgstr "Nein"
|
388 |
|
@@ -394,31 +395,31 @@ msgstr "Erlaube Such-Bots den Zugang via Bypass?"
|
|
394 |
msgid "Backend Role"
|
395 |
msgstr "Backend-Rolle"
|
396 |
|
397 |
-
#: views/settings.php:45 views/settings.php:
|
398 |
msgid "Select role(s)"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: views/settings.php:
|
402 |
msgid ""
|
403 |
"Which user role is allowed to access the backend of this blog? "
|
404 |
"Administrators will always have access."
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: views/settings.php:
|
408 |
msgid "Frontend Role"
|
409 |
msgstr "Frontend-Rolle"
|
410 |
|
411 |
-
#: views/settings.php:
|
412 |
msgid ""
|
413 |
"Which user role is allowed to access the frontend of this blog? "
|
414 |
"Administrators will always have access."
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: views/settings.php:
|
418 |
msgid "Robots Meta Tag"
|
419 |
msgstr "Robots Meta Tag"
|
420 |
|
421 |
-
#: views/settings.php:
|
422 |
msgid ""
|
423 |
"The robots meta tag lets you use a granular, page-specific approach to "
|
424 |
"control how an individual page should be indexed and served to users in "
|
@@ -427,22 +428,22 @@ msgstr ""
|
|
427 |
"Mit dem Robots Meta Tag kannst du steuern, wie die Seite während des "
|
428 |
"Wartungsmodus indiziert werden soll."
|
429 |
|
430 |
-
#: views/settings.php:
|
431 |
msgid "Redirection"
|
432 |
msgstr "Weiterleitung"
|
433 |
|
434 |
-
#: views/settings.php:
|
435 |
msgid ""
|
436 |
"If you want to redirect a user (with no access to Dashboard/Backend) to a "
|
437 |
"URL (different from WordPress Dashboard URL) after login, then define a URL "
|
438 |
"(incl. http://)"
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: views/settings.php:
|
442 |
msgid "Exclude"
|
443 |
msgstr "Ausschluss"
|
444 |
|
445 |
-
#: views/settings.php:
|
446 |
msgid ""
|
447 |
"Exclude feed, pages, archives or IPs from maintenance mode. Add one slug / "
|
448 |
"IP per line!"
|
@@ -450,135 +451,135 @@ msgstr ""
|
|
450 |
"Ausschluss vom Wartungsmodus von Feed, Seiten, Archiven oder IPs möglich. "
|
451 |
"Ergänze einen Slug oder die IP pro Zeile."
|
452 |
|
453 |
-
#: views/settings.php:
|
454 |
msgid "Notice"
|
455 |
msgstr "Hinweis"
|
456 |
|
457 |
-
#: views/settings.php:
|
458 |
msgid "Do you want to see notices when maintenance mode is activated?"
|
459 |
msgstr "Willst du den Hinweis sehen, wenn der Wartungsmodus aktiv ist?"
|
460 |
|
461 |
-
#: views/settings.php:
|
462 |
msgid "Dashboard link"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: views/settings.php:
|
466 |
msgid ""
|
467 |
"Do you want to add a link to the dashboard on your maintenance mode page?"
|
468 |
msgstr "Soll ein Link zum Backend auf der Wartungswebseite angezeigt werden?"
|
469 |
|
470 |
-
#: views/settings.php:
|
471 |
-
#: views/settings.php:
|
472 |
msgid "Save settings"
|
473 |
msgstr "Einstellungen speichern"
|
474 |
|
475 |
-
#: views/settings.php:
|
476 |
-
#: views/settings.php:
|
477 |
msgid "Reset settings"
|
478 |
msgstr "Einstellungen zurücksetzen"
|
479 |
|
480 |
-
#: views/settings.php:
|
481 |
msgid "Content"
|
482 |
msgstr "Inhalt"
|
483 |
|
484 |
-
#: views/settings.php:
|
485 |
msgid "Title (HTML tag)"
|
486 |
msgstr "Titel (html Tag)"
|
487 |
|
488 |
-
#: views/settings.php:
|
489 |
msgid "Heading"
|
490 |
msgstr "Überschrift"
|
491 |
|
492 |
-
#: views/settings.php:
|
493 |
msgid "Text"
|
494 |
msgstr "Text"
|
495 |
|
496 |
-
#: views/settings.php:
|
497 |
msgid "This text will not be shown when the bot feature is enabled."
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: views/settings.php:
|
501 |
msgid "Background"
|
502 |
msgstr "Hintergrund"
|
503 |
|
504 |
-
#: views/settings.php:
|
505 |
msgid "Choose type"
|
506 |
msgstr "Type wählen"
|
507 |
|
508 |
-
#: views/settings.php:
|
509 |
msgid "Custom color"
|
510 |
msgstr "Benutzerdefinierte Farbe"
|
511 |
|
512 |
-
#: views/settings.php:
|
513 |
msgid "Uploaded background"
|
514 |
msgstr "Hochgeladene Hintergründe"
|
515 |
|
516 |
-
#: views/settings.php:
|
517 |
msgid "Predefined background"
|
518 |
msgstr "Vordefinierte Hintergründe"
|
519 |
|
520 |
-
#: views/settings.php:
|
521 |
msgid "Choose color"
|
522 |
msgstr "Farbe wählen"
|
523 |
|
524 |
-
#: views/settings.php:
|
525 |
msgid "Upload background"
|
526 |
msgstr "Hintergrund laden"
|
527 |
|
528 |
-
#: views/settings.php:
|
529 |
msgid "Backgrounds should have 1920x1280 px size."
|
530 |
msgstr "Hintergründe sollten eine Größe von 1920x1280 px haben."
|
531 |
|
532 |
-
#: views/settings.php:
|
533 |
msgid "Choose background"
|
534 |
msgstr "Hintergrund wählen"
|
535 |
|
536 |
-
#: views/settings.php:
|
537 |
#, php-format
|
538 |
msgid "source <a href=\"%s\" target=\"_blank\">Free Photos</a>"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: views/settings.php:
|
542 |
msgid "Countdown"
|
543 |
msgstr "Countdown"
|
544 |
|
545 |
-
#: views/settings.php:
|
546 |
msgid "Show countdown?"
|
547 |
msgstr "Zeige Countdown?"
|
548 |
|
549 |
-
#: views/settings.php:
|
550 |
msgid "Start date"
|
551 |
msgstr "Start-Datum"
|
552 |
|
553 |
-
#: views/settings.php:
|
554 |
msgid "Countdown (remaining time)"
|
555 |
msgstr "Countdown (Restzeit)"
|
556 |
|
557 |
-
#: views/settings.php:
|
558 |
msgid "Days"
|
559 |
msgstr "Tage"
|
560 |
|
561 |
-
#: views/settings.php:
|
562 |
msgid "Hours"
|
563 |
msgstr "Stunden"
|
564 |
|
565 |
-
#: views/settings.php:
|
566 |
msgid "Minutes"
|
567 |
msgstr "Minuten"
|
568 |
|
569 |
-
#: views/settings.php:
|
570 |
msgid "Color"
|
571 |
msgstr "Farbe"
|
572 |
|
573 |
-
#: views/settings.php:
|
574 |
msgid "Show subscribe?"
|
575 |
msgstr "Abonnieren anbieten?"
|
576 |
|
577 |
-
#: views/settings.php:
|
578 |
msgid "Stats"
|
579 |
msgstr "Statistik"
|
580 |
|
581 |
-
#: views/settings.php:
|
582 |
#, php-format
|
583 |
msgctxt "settings page"
|
584 |
msgid "You have %d subscriber"
|
@@ -586,238 +587,239 @@ msgid_plural "You have %s subscribers"
|
|
586 |
msgstr[0] ""
|
587 |
msgstr[1] ""
|
588 |
|
589 |
-
#: views/settings.php:
|
590 |
msgid "Export as CSV"
|
591 |
msgstr "Export als CSV"
|
592 |
|
593 |
-
#: views/settings.php:
|
594 |
msgid "Empty subscribers list"
|
595 |
msgstr ""
|
596 |
|
597 |
-
#: views/settings.php:
|
598 |
msgid "Social Networks"
|
599 |
msgstr "Soziale Netzwerke"
|
600 |
|
601 |
-
#: views/settings.php:
|
602 |
msgid "Show social networks?"
|
603 |
msgstr "Zeige soziale Netzwerke?"
|
604 |
|
605 |
-
#: views/settings.php:
|
606 |
msgid "Links target?"
|
607 |
msgstr "Link-Ziel"
|
608 |
|
609 |
-
#: views/settings.php:
|
610 |
msgid "New page"
|
611 |
msgstr "Neue Seite"
|
612 |
|
613 |
-
#: views/settings.php:
|
614 |
msgid "Same page"
|
615 |
msgstr "Selbe Seite"
|
616 |
|
617 |
-
#: views/settings.php:
|
618 |
msgid "Choose how the links will open."
|
619 |
msgstr "Wie soll der Link geöffnet werden?"
|
620 |
|
621 |
-
#: views/settings.php:
|
622 |
msgid "Contact"
|
623 |
msgstr "Kontakt"
|
624 |
|
625 |
-
#: views/settings.php:
|
626 |
msgid "Show contact?"
|
627 |
msgstr "Zeige Kontakt?"
|
628 |
|
629 |
-
#: views/settings.php:
|
630 |
msgid "Email address"
|
631 |
msgstr "E-Mail-Adresse"
|
632 |
|
633 |
-
#: views/settings.php:
|
634 |
msgid "Effects"
|
635 |
msgstr "Effekte"
|
636 |
|
637 |
-
#: views/settings.php:
|
638 |
msgid "Move top - Move bottom"
|
639 |
msgstr "Bewegung nach oben - nach untern"
|
640 |
|
641 |
-
#: views/settings.php:
|
642 |
msgid "Zoom - Zoomed"
|
643 |
msgstr "Zoom - Vergrößern"
|
644 |
|
645 |
-
#: views/settings.php:
|
646 |
msgid "Fold - Unfold"
|
647 |
msgstr "Falten - Klappen"
|
648 |
|
649 |
-
#: views/settings.php:
|
650 |
msgid "Google Analytics"
|
651 |
msgstr "Google Analytics"
|
652 |
|
653 |
-
#: views/settings.php:
|
654 |
msgid "Use Google Analytics?"
|
655 |
msgstr "Wird Google Analytics verwendet?"
|
656 |
|
657 |
-
#: views/settings.php:
|
658 |
msgid "Enable IP anonymization?"
|
659 |
msgstr ""
|
660 |
|
661 |
-
#: views/settings.php:
|
662 |
msgid "Tracking code"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: views/settings.php:
|
666 |
msgid ""
|
667 |
-
"Allowed formats: UA-XXXXXXXX, UA-XXXXXXXX-XXXX. Eg:
|
|
|
668 |
msgstr ""
|
669 |
|
670 |
-
#: views/settings.php:
|
671 |
msgid ""
|
672 |
"Setup the conversation steps to capture more subscribers with this friendly "
|
673 |
"way of asking email addresess."
|
674 |
msgstr ""
|
675 |
|
676 |
-
#: views/settings.php:
|
677 |
msgid ""
|
678 |
"You may also want to use these wildcards: {bot_name} and {visitor_name} to "
|
679 |
"make the conversation even more realistic."
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: views/settings.php:
|
683 |
msgid ""
|
684 |
"It is also ok if you don't fill in all the conversation steps if you don't "
|
685 |
"need to."
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: views/settings.php:
|
689 |
msgid ""
|
690 |
"If you want to see the list of subscribers, go to Modules » Subscribe "
|
691 |
"» Export as CSV."
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: views/settings.php:
|
695 |
#, fuzzy
|
696 |
msgid "Bot Name"
|
697 |
msgstr "Name"
|
698 |
|
699 |
-
#: views/settings.php:
|
700 |
msgid "This name will appear when the bot is typing."
|
701 |
msgstr ""
|
702 |
|
703 |
-
#: views/settings.php:
|
704 |
#, fuzzy
|
705 |
msgid "Upload avatar"
|
706 |
msgstr "Hintergrund laden"
|
707 |
|
708 |
-
#: views/settings.php:
|
709 |
msgid "A 512 x 512 px will work just fine."
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: views/settings.php:
|
713 |
msgid "Customize Messages"
|
714 |
msgstr ""
|
715 |
|
716 |
-
#: views/settings.php:
|
717 |
msgid "Message 1"
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: views/settings.php:
|
721 |
msgid "Message 2"
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: views/settings.php:
|
725 |
msgid "Message 3"
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: views/settings.php:
|
729 |
msgid "Response"
|
730 |
msgstr ""
|
731 |
|
732 |
-
#: views/settings.php:
|
733 |
msgid "Edit the placeholder's text"
|
734 |
msgstr ""
|
735 |
|
736 |
-
#: views/settings.php:
|
737 |
msgid "Message 4"
|
738 |
msgstr ""
|
739 |
|
740 |
-
#: views/settings.php:
|
741 |
msgid "Message 5"
|
742 |
msgstr ""
|
743 |
|
744 |
-
#: views/settings.php:
|
745 |
msgid "Message 6"
|
746 |
msgstr ""
|
747 |
|
748 |
-
#: views/settings.php:
|
749 |
msgid "Message 7"
|
750 |
msgstr ""
|
751 |
|
752 |
-
#: views/settings.php:
|
753 |
msgid "Edit button one"
|
754 |
msgstr ""
|
755 |
|
756 |
-
#: views/settings.php:
|
757 |
msgid "Edit button two"
|
758 |
msgstr ""
|
759 |
|
760 |
-
#: views/settings.php:
|
761 |
msgid "Message 8"
|
762 |
msgstr ""
|
763 |
|
764 |
-
#: views/settings.php:
|
765 |
msgid "(click on button one)"
|
766 |
msgstr ""
|
767 |
|
768 |
-
#: views/settings.php:
|
769 |
msgid "(click on button two)"
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: views/settings.php:
|
773 |
msgid "Message 9"
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: views/settings.php:
|
777 |
msgid "Message 10"
|
778 |
msgstr ""
|
779 |
|
780 |
-
#: views/settings.php:
|
781 |
msgid ""
|
782 |
"To make the plugin GDPR compliant, fill in the details and enable this "
|
783 |
"section."
|
784 |
msgstr ""
|
785 |
|
786 |
-
#: views/settings.php:
|
787 |
msgid ""
|
788 |
"Here we added some generic texts that you may want to review, change or "
|
789 |
"remove."
|
790 |
msgstr ""
|
791 |
|
792 |
-
#: views/settings.php:
|
793 |
msgid "Link name"
|
794 |
msgstr ""
|
795 |
|
796 |
-
#: views/settings.php:
|
797 |
msgid "Label the link that will be shown on frontend footer"
|
798 |
msgstr ""
|
799 |
|
800 |
-
#: views/settings.php:
|
801 |
msgid "P. Policy page link"
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: views/settings.php:
|
805 |
msgid "P. Policy link target"
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: views/settings.php:
|
809 |
msgid "Choose how the link will open."
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: views/settings.php:
|
813 |
msgid "Contact form 'tail'"
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: views/settings.php:
|
817 |
msgid "This will be shown together with the acceptance checkbox below the form"
|
818 |
msgstr ""
|
819 |
|
820 |
-
#: views/settings.php:
|
821 |
msgid "Subscribe form 'tail'"
|
822 |
msgstr ""
|
823 |
|
@@ -842,12 +844,11 @@ msgid "GitHub"
|
|
842 |
msgstr "GitHub"
|
843 |
|
844 |
#: views/sidebar.php:27
|
845 |
-
msgid "
|
846 |
msgstr ""
|
847 |
|
848 |
-
|
849 |
-
|
850 |
-
msgstr "Ressourcen"
|
851 |
|
852 |
#~ msgid "You have %d subscriber(s)"
|
853 |
#~ msgstr "Du hast %d Abonnenten"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: WP Maintenance Mode 2.3.0\n"
|
4 |
+
"POT-Creation-Date: 2020-12-07 17:13+0200\n"
|
5 |
"PO-Revision-Date: \n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: Designmodo <info@designmodo.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 2.4.2\n"
|
13 |
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
15 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;"
|
26 |
#: includes/classes/wp-maintenance-mode-admin.php:121
|
27 |
#: includes/classes/wp-maintenance-mode-admin.php:159
|
28 |
#: includes/classes/wp-maintenance-mode-admin.php:182
|
29 |
+
#: includes/classes/wp-maintenance-mode-admin.php:252
|
30 |
msgid "You do not have access to this resource."
|
31 |
msgstr ""
|
32 |
|
47 |
msgstr ""
|
48 |
|
49 |
#: includes/classes/wp-maintenance-mode-admin.php:197
|
50 |
+
#: includes/classes/wp-maintenance-mode-admin.php:248
|
51 |
msgid "Security check."
|
52 |
msgstr ""
|
53 |
|
59 |
msgid "WP Maintenance Mode"
|
60 |
msgstr "WP Wartungsmodus"
|
61 |
|
62 |
+
#: includes/classes/wp-maintenance-mode-admin.php:500
|
63 |
msgid ""
|
64 |
"WPMM: The file data.js could not be written, the bot will not work correctly."
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: includes/classes/wp-maintenance-mode-admin.php:534
|
68 |
msgid "Settings"
|
69 |
msgstr "Einstellungen"
|
70 |
|
71 |
+
#: includes/classes/wp-maintenance-mode-admin.php:553
|
72 |
#, php-format
|
73 |
msgid ""
|
74 |
"The Maintenance Mode is <strong>active</strong>. Please don't forget to <a "
|
77 |
"Der Wartungsmodus ist <strong>aktiv</strong>. Bitte vergiss nicht ihn zu <a "
|
78 |
"href=\"%s\">deaktivieren</a>, wenn er nicht mehr benötigt wird."
|
79 |
|
80 |
+
#: includes/classes/wp-maintenance-mode-admin.php:590
|
81 |
msgid "Notice key cannot be empty."
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: includes/classes/wp-maintenance-mode-admin.php:638
|
85 |
#, php-format
|
86 |
msgid ""
|
87 |
"If you like <strong>WP Maintenance Mode</strong> please leave us a %s "
|
88 |
"rating. A huge thank you from WP Maintenance Mode makers in advance!"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: includes/classes/wp-maintenance-mode-admin.php:662
|
92 |
msgid ""
|
93 |
"Your WordPress version supports Privacy settings but you haven't set any "
|
94 |
"privacy policy page yet. Go to Settings ➡ Privacy to set one."
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: includes/classes/wp-maintenance-mode-admin.php:665
|
98 |
#, php-format
|
99 |
msgid "The plugin detected this Privacy page: %1$s – %2$sUse this url%3$s"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: includes/classes/wp-maintenance-mode-admin.php:670
|
103 |
#, php-format
|
104 |
msgid ""
|
105 |
"Your Privacy page is pointing to a different URL in WordPress settings. If "
|
106 |
"that's correct ignore this message, otherwise %s"
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: includes/classes/wp-maintenance-mode-admin.php:674
|
110 |
msgid ""
|
111 |
"No privacy features detected for your WordPress version. Update WordPress to "
|
112 |
"get this field automatically filled in or type in the URL that points to "
|
147 |
msgstr ""
|
148 |
|
149 |
#: includes/classes/wp-maintenance-mode.php:152
|
150 |
+
msgid "How you can see, our website will be launched very soon."
|
151 |
msgstr ""
|
152 |
|
153 |
#: includes/classes/wp-maintenance-mode.php:153
|
178 |
msgstr ""
|
179 |
|
180 |
#: includes/classes/wp-maintenance-mode.php:161
|
181 |
+
#: includes/classes/wp-maintenance-mode.php:654
|
182 |
msgid "Type your name here…"
|
183 |
msgstr ""
|
184 |
|
191 |
msgstr ""
|
192 |
|
193 |
#: includes/classes/wp-maintenance-mode.php:164
|
194 |
+
#: includes/classes/wp-maintenance-mode.php:655
|
195 |
#, fuzzy
|
196 |
msgid "Type your email here…"
|
197 |
msgstr "Gib deine E-Mail-Adresse an"
|
228 |
msgid "Maintenance Mode"
|
229 |
msgstr "Wartungsmodus"
|
230 |
|
231 |
+
#: includes/classes/wp-maintenance-mode.php:651
|
232 |
msgid "Please type in your name."
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: includes/classes/wp-maintenance-mode.php:652
|
236 |
#, fuzzy
|
237 |
msgid "Please type in a valid email address."
|
238 |
msgstr "Bitte gib eine gültige E-Mail-Adresse an."
|
239 |
|
240 |
+
#: includes/classes/wp-maintenance-mode.php:656 views/maintenance.php:161
|
241 |
msgid "Send"
|
242 |
msgstr "Senden"
|
243 |
|
244 |
+
#: includes/classes/wp-maintenance-mode.php:869
|
245 |
+
#: includes/classes/wp-maintenance-mode.php:903 views/maintenance.php:140
|
246 |
msgid "Please enter a valid email address."
|
247 |
msgstr "Bitte gib eine gültige E-Mail-Adresse an."
|
248 |
|
249 |
+
#: includes/classes/wp-maintenance-mode.php:881
|
250 |
msgid "You successfully subscribed. Thanks!"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: includes/classes/wp-maintenance-mode.php:899
|
254 |
msgid "All fields required."
|
255 |
msgstr "Alle Felder sind notwendig."
|
256 |
|
257 |
+
#: includes/classes/wp-maintenance-mode.php:911
|
258 |
msgid "Message via contact"
|
259 |
msgstr "Mitteilung via Kontakt"
|
260 |
|
261 |
+
#: includes/classes/wp-maintenance-mode.php:928
|
262 |
msgid "Your email was sent to the website administrator. Thanks!"
|
263 |
msgstr "Deine E-Mail wurde an den Administrator der Website gesendet. Danke!"
|
264 |
|
287 |
msgid "your e-mail..."
|
288 |
msgstr "deine E-Mail..."
|
289 |
|
290 |
+
#: views/maintenance.php:75 views/settings.php:257
|
291 |
msgid "Subscribe"
|
292 |
msgstr "Abonniere"
|
293 |
|
320 |
msgid "Dashboard"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: views/promo-blocksy.php:1
|
324 |
+
msgid "Blocksy - The Most Innovative & Lightning Fast WordPress Theme"
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: views/promo-blocksy.php:4
|
328 |
msgid ""
|
329 |
+
"A blazing fast and lightweight WordPress theme built with the latest web "
|
330 |
+
"technologies. It was built with the Gutenberg editor in mind and has a lot "
|
331 |
+
"of options that makes it extendable and customizable."
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: views/promo-blocksy.php:8
|
335 |
+
msgid "Download for Free Now"
|
336 |
msgstr ""
|
337 |
|
338 |
#: views/settings.php:6
|
359 |
msgid "GDPR"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: views/settings.php:26 views/settings.php:455 views/settings.php:622
|
363 |
msgid "Status"
|
364 |
msgstr "Status"
|
365 |
|
366 |
+
#: views/settings.php:28 views/settings.php:458 views/settings.php:624
|
367 |
msgid "Activated"
|
368 |
msgstr "Aktiv"
|
369 |
|
370 |
+
#: views/settings.php:29 views/settings.php:459 views/settings.php:625
|
371 |
msgid "Deactivated"
|
372 |
msgstr "Inaktiv"
|
373 |
|
375 |
msgid "Bypass for Search Bots"
|
376 |
msgstr "Bypass für Such-Bots"
|
377 |
|
378 |
+
#: views/settings.php:36 views/settings.php:96 views/settings.php:106
|
379 |
+
#: views/settings.php:229 views/settings.php:265 views/settings.php:304
|
380 |
+
#: views/settings.php:378 views/settings.php:410 views/settings.php:419
|
381 |
msgid "Yes"
|
382 |
msgstr "Ja"
|
383 |
|
384 |
+
#: views/settings.php:37 views/settings.php:97 views/settings.php:107
|
385 |
+
#: views/settings.php:230 views/settings.php:266 views/settings.php:305
|
386 |
+
#: views/settings.php:379 views/settings.php:411 views/settings.php:420
|
387 |
msgid "No"
|
388 |
msgstr "Nein"
|
389 |
|
395 |
msgid "Backend Role"
|
396 |
msgstr "Backend-Rolle"
|
397 |
|
398 |
+
#: views/settings.php:45 views/settings.php:56
|
399 |
msgid "Select role(s)"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: views/settings.php:50
|
403 |
msgid ""
|
404 |
"Which user role is allowed to access the backend of this blog? "
|
405 |
"Administrators will always have access."
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: views/settings.php:54
|
409 |
msgid "Frontend Role"
|
410 |
msgstr "Frontend-Rolle"
|
411 |
|
412 |
+
#: views/settings.php:61
|
413 |
msgid ""
|
414 |
"Which user role is allowed to access the frontend of this blog? "
|
415 |
"Administrators will always have access."
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: views/settings.php:65
|
419 |
msgid "Robots Meta Tag"
|
420 |
msgstr "Robots Meta Tag"
|
421 |
|
422 |
+
#: views/settings.php:71
|
423 |
msgid ""
|
424 |
"The robots meta tag lets you use a granular, page-specific approach to "
|
425 |
"control how an individual page should be indexed and served to users in "
|
428 |
"Mit dem Robots Meta Tag kannst du steuern, wie die Seite während des "
|
429 |
"Wartungsmodus indiziert werden soll."
|
430 |
|
431 |
+
#: views/settings.php:75
|
432 |
msgid "Redirection"
|
433 |
msgstr "Weiterleitung"
|
434 |
|
435 |
+
#: views/settings.php:78
|
436 |
msgid ""
|
437 |
"If you want to redirect a user (with no access to Dashboard/Backend) to a "
|
438 |
"URL (different from WordPress Dashboard URL) after login, then define a URL "
|
439 |
"(incl. http://)"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: views/settings.php:82
|
443 |
msgid "Exclude"
|
444 |
msgstr "Ausschluss"
|
445 |
|
446 |
+
#: views/settings.php:89
|
447 |
msgid ""
|
448 |
"Exclude feed, pages, archives or IPs from maintenance mode. Add one slug / "
|
449 |
"IP per line!"
|
451 |
"Ausschluss vom Wartungsmodus von Feed, Seiten, Archiven oder IPs möglich. "
|
452 |
"Ergänze einen Slug oder die IP pro Zeile."
|
453 |
|
454 |
+
#: views/settings.php:93
|
455 |
msgid "Notice"
|
456 |
msgstr "Hinweis"
|
457 |
|
458 |
+
#: views/settings.php:99
|
459 |
msgid "Do you want to see notices when maintenance mode is activated?"
|
460 |
msgstr "Willst du den Hinweis sehen, wenn der Wartungsmodus aktiv ist?"
|
461 |
|
462 |
+
#: views/settings.php:103
|
463 |
msgid "Dashboard link"
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: views/settings.php:109
|
467 |
msgid ""
|
468 |
"Do you want to add a link to the dashboard on your maintenance mode page?"
|
469 |
msgstr "Soll ein Link zum Backend auf der Wartungswebseite angezeigt werden?"
|
470 |
|
471 |
+
#: views/settings.php:117 views/settings.php:215 views/settings.php:437
|
472 |
+
#: views/settings.php:607 views/settings.php:680
|
473 |
msgid "Save settings"
|
474 |
msgstr "Einstellungen speichern"
|
475 |
|
476 |
+
#: views/settings.php:118 views/settings.php:216 views/settings.php:438
|
477 |
+
#: views/settings.php:608 views/settings.php:681
|
478 |
msgid "Reset settings"
|
479 |
msgstr "Einstellungen zurücksetzen"
|
480 |
|
481 |
+
#: views/settings.php:123
|
482 |
msgid "Content"
|
483 |
msgstr "Inhalt"
|
484 |
|
485 |
+
#: views/settings.php:128
|
486 |
msgid "Title (HTML tag)"
|
487 |
msgstr "Titel (html Tag)"
|
488 |
|
489 |
+
#: views/settings.php:134
|
490 |
msgid "Heading"
|
491 |
msgstr "Überschrift"
|
492 |
|
493 |
+
#: views/settings.php:141 views/settings.php:271
|
494 |
msgid "Text"
|
495 |
msgstr "Text"
|
496 |
|
497 |
+
#: views/settings.php:156
|
498 |
msgid "This text will not be shown when the bot feature is enabled."
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: views/settings.php:162
|
502 |
msgid "Background"
|
503 |
msgstr "Hintergrund"
|
504 |
|
505 |
+
#: views/settings.php:167
|
506 |
msgid "Choose type"
|
507 |
msgstr "Type wählen"
|
508 |
|
509 |
+
#: views/settings.php:170
|
510 |
msgid "Custom color"
|
511 |
msgstr "Benutzerdefinierte Farbe"
|
512 |
|
513 |
+
#: views/settings.php:171
|
514 |
msgid "Uploaded background"
|
515 |
msgstr "Hochgeladene Hintergründe"
|
516 |
|
517 |
+
#: views/settings.php:172
|
518 |
msgid "Predefined background"
|
519 |
msgstr "Vordefinierte Hintergründe"
|
520 |
|
521 |
+
#: views/settings.php:177
|
522 |
msgid "Choose color"
|
523 |
msgstr "Farbe wählen"
|
524 |
|
525 |
+
#: views/settings.php:183
|
526 |
msgid "Upload background"
|
527 |
msgstr "Hintergrund laden"
|
528 |
|
529 |
+
#: views/settings.php:187
|
530 |
msgid "Backgrounds should have 1920x1280 px size."
|
531 |
msgstr "Hintergründe sollten eine Größe von 1920x1280 px haben."
|
532 |
|
533 |
+
#: views/settings.php:192
|
534 |
msgid "Choose background"
|
535 |
msgstr "Hintergrund wählen"
|
536 |
|
537 |
+
#: views/settings.php:194
|
538 |
#, php-format
|
539 |
msgid "source <a href=\"%s\" target=\"_blank\">Free Photos</a>"
|
540 |
msgstr ""
|
541 |
|
542 |
+
#: views/settings.php:221
|
543 |
msgid "Countdown"
|
544 |
msgstr "Countdown"
|
545 |
|
546 |
+
#: views/settings.php:226
|
547 |
msgid "Show countdown?"
|
548 |
msgstr "Zeige Countdown?"
|
549 |
|
550 |
+
#: views/settings.php:235
|
551 |
msgid "Start date"
|
552 |
msgstr "Start-Datum"
|
553 |
|
554 |
+
#: views/settings.php:241
|
555 |
msgid "Countdown (remaining time)"
|
556 |
msgstr "Countdown (Restzeit)"
|
557 |
|
558 |
+
#: views/settings.php:243
|
559 |
msgid "Days"
|
560 |
msgstr "Tage"
|
561 |
|
562 |
+
#: views/settings.php:244
|
563 |
msgid "Hours"
|
564 |
msgstr "Stunden"
|
565 |
|
566 |
+
#: views/settings.php:245
|
567 |
msgid "Minutes"
|
568 |
msgstr "Minuten"
|
569 |
|
570 |
+
#: views/settings.php:249
|
571 |
msgid "Color"
|
572 |
msgstr "Farbe"
|
573 |
|
574 |
+
#: views/settings.php:262
|
575 |
msgid "Show subscribe?"
|
576 |
msgstr "Abonnieren anbieten?"
|
577 |
|
578 |
+
#: views/settings.php:278
|
579 |
msgid "Stats"
|
580 |
msgstr "Statistik"
|
581 |
|
582 |
+
#: views/settings.php:282
|
583 |
#, php-format
|
584 |
msgctxt "settings page"
|
585 |
msgid "You have %d subscriber"
|
587 |
msgstr[0] ""
|
588 |
msgstr[1] ""
|
589 |
|
590 |
+
#: views/settings.php:287
|
591 |
msgid "Export as CSV"
|
592 |
msgstr "Export als CSV"
|
593 |
|
594 |
+
#: views/settings.php:288
|
595 |
msgid "Empty subscribers list"
|
596 |
msgstr ""
|
597 |
|
598 |
+
#: views/settings.php:296
|
599 |
msgid "Social Networks"
|
600 |
msgstr "Soziale Netzwerke"
|
601 |
|
602 |
+
#: views/settings.php:301
|
603 |
msgid "Show social networks?"
|
604 |
msgstr "Zeige soziale Netzwerke?"
|
605 |
|
606 |
+
#: views/settings.php:310
|
607 |
msgid "Links target?"
|
608 |
msgstr "Link-Ziel"
|
609 |
|
610 |
+
#: views/settings.php:313 views/settings.php:651
|
611 |
msgid "New page"
|
612 |
msgstr "Neue Seite"
|
613 |
|
614 |
+
#: views/settings.php:314 views/settings.php:652
|
615 |
msgid "Same page"
|
616 |
msgstr "Selbe Seite"
|
617 |
|
618 |
+
#: views/settings.php:316
|
619 |
msgid "Choose how the links will open."
|
620 |
msgstr "Wie soll der Link geöffnet werden?"
|
621 |
|
622 |
+
#: views/settings.php:370
|
623 |
msgid "Contact"
|
624 |
msgstr "Kontakt"
|
625 |
|
626 |
+
#: views/settings.php:375
|
627 |
msgid "Show contact?"
|
628 |
msgstr "Zeige Kontakt?"
|
629 |
|
630 |
+
#: views/settings.php:384
|
631 |
msgid "Email address"
|
632 |
msgstr "E-Mail-Adresse"
|
633 |
|
634 |
+
#: views/settings.php:390
|
635 |
msgid "Effects"
|
636 |
msgstr "Effekte"
|
637 |
|
638 |
+
#: views/settings.php:393
|
639 |
msgid "Move top - Move bottom"
|
640 |
msgstr "Bewegung nach oben - nach untern"
|
641 |
|
642 |
+
#: views/settings.php:394
|
643 |
msgid "Zoom - Zoomed"
|
644 |
msgstr "Zoom - Vergrößern"
|
645 |
|
646 |
+
#: views/settings.php:395
|
647 |
msgid "Fold - Unfold"
|
648 |
msgstr "Falten - Klappen"
|
649 |
|
650 |
+
#: views/settings.php:402
|
651 |
msgid "Google Analytics"
|
652 |
msgstr "Google Analytics"
|
653 |
|
654 |
+
#: views/settings.php:407
|
655 |
msgid "Use Google Analytics?"
|
656 |
msgstr "Wird Google Analytics verwendet?"
|
657 |
|
658 |
+
#: views/settings.php:416
|
659 |
msgid "Enable IP anonymization?"
|
660 |
msgstr ""
|
661 |
|
662 |
+
#: views/settings.php:426
|
663 |
msgid "Tracking code"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: views/settings.php:429
|
667 |
msgid ""
|
668 |
+
"Allowed formats: UA-XXXXXXXX, UA-XXXXXXXX-XXXX, G-XXXXXXXX. Eg: "
|
669 |
+
"UA-12345678-1 is valid"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: views/settings.php:447
|
673 |
msgid ""
|
674 |
"Setup the conversation steps to capture more subscribers with this friendly "
|
675 |
"way of asking email addresess."
|
676 |
msgstr ""
|
677 |
|
678 |
+
#: views/settings.php:448
|
679 |
msgid ""
|
680 |
"You may also want to use these wildcards: {bot_name} and {visitor_name} to "
|
681 |
"make the conversation even more realistic."
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: views/settings.php:449
|
685 |
msgid ""
|
686 |
"It is also ok if you don't fill in all the conversation steps if you don't "
|
687 |
"need to."
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: views/settings.php:450
|
691 |
msgid ""
|
692 |
"If you want to see the list of subscribers, go to Modules » Subscribe "
|
693 |
"» Export as CSV."
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: views/settings.php:463
|
697 |
#, fuzzy
|
698 |
msgid "Bot Name"
|
699 |
msgstr "Name"
|
700 |
|
701 |
+
#: views/settings.php:466
|
702 |
msgid "This name will appear when the bot is typing."
|
703 |
msgstr ""
|
704 |
|
705 |
+
#: views/settings.php:470
|
706 |
#, fuzzy
|
707 |
msgid "Upload avatar"
|
708 |
msgstr "Hintergrund laden"
|
709 |
|
710 |
+
#: views/settings.php:474
|
711 |
msgid "A 512 x 512 px will work just fine."
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: views/settings.php:480
|
715 |
msgid "Customize Messages"
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: views/settings.php:485
|
719 |
msgid "Message 1"
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: views/settings.php:493
|
723 |
msgid "Message 2"
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: views/settings.php:501
|
727 |
msgid "Message 3"
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: views/settings.php:509 views/settings.php:549 views/settings.php:571
|
731 |
msgid "Response"
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: views/settings.php:513 views/settings.php:575
|
735 |
msgid "Edit the placeholder's text"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: views/settings.php:517
|
739 |
msgid "Message 4"
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: views/settings.php:525
|
743 |
msgid "Message 5"
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: views/settings.php:533
|
747 |
msgid "Message 6"
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: views/settings.php:541
|
751 |
msgid "Message 7"
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: views/settings.php:553
|
755 |
msgid "Edit button one"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: views/settings.php:557
|
759 |
msgid "Edit button two"
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: views/settings.php:563 views/settings.php:579
|
763 |
msgid "Message 8"
|
764 |
msgstr ""
|
765 |
|
766 |
+
#: views/settings.php:563 views/settings.php:587 views/settings.php:595
|
767 |
msgid "(click on button one)"
|
768 |
msgstr ""
|
769 |
|
770 |
+
#: views/settings.php:579
|
771 |
msgid "(click on button two)"
|
772 |
msgstr ""
|
773 |
|
774 |
+
#: views/settings.php:587
|
775 |
msgid "Message 9"
|
776 |
msgstr ""
|
777 |
|
778 |
+
#: views/settings.php:595
|
779 |
msgid "Message 10"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: views/settings.php:617
|
783 |
msgid ""
|
784 |
"To make the plugin GDPR compliant, fill in the details and enable this "
|
785 |
"section."
|
786 |
msgstr ""
|
787 |
|
788 |
+
#: views/settings.php:618
|
789 |
msgid ""
|
790 |
"Here we added some generic texts that you may want to review, change or "
|
791 |
"remove."
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: views/settings.php:630
|
795 |
msgid "Link name"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: views/settings.php:634
|
799 |
msgid "Label the link that will be shown on frontend footer"
|
800 |
msgstr ""
|
801 |
|
802 |
+
#: views/settings.php:639
|
803 |
msgid "P. Policy page link"
|
804 |
msgstr ""
|
805 |
|
806 |
+
#: views/settings.php:648
|
807 |
msgid "P. Policy link target"
|
808 |
msgstr ""
|
809 |
|
810 |
+
#: views/settings.php:654
|
811 |
msgid "Choose how the link will open."
|
812 |
msgstr ""
|
813 |
|
814 |
+
#: views/settings.php:659
|
815 |
msgid "Contact form 'tail'"
|
816 |
msgstr ""
|
817 |
|
818 |
+
#: views/settings.php:663 views/settings.php:672
|
819 |
msgid "This will be shown together with the acceptance checkbox below the form"
|
820 |
msgstr ""
|
821 |
|
822 |
+
#: views/settings.php:668
|
823 |
msgid "Subscribe form 'tail'"
|
824 |
msgstr ""
|
825 |
|
844 |
msgstr "GitHub"
|
845 |
|
846 |
#: views/sidebar.php:27
|
847 |
+
msgid "Recommended"
|
848 |
msgstr ""
|
849 |
|
850 |
+
#~ msgid "Resources"
|
851 |
+
#~ msgstr "Ressourcen"
|
|
|
852 |
|
853 |
#~ msgid "You have %d subscriber(s)"
|
854 |
#~ msgstr "Du hast %d Abonnenten"
|
languages/wp-maintenance-mode-en_US.mo
CHANGED
Binary file
|
languages/wp-maintenance-mode-en_US.po
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: WP Maintenance Mode 2.
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Maciej Gryniuk <maciejka45@gmail.com>\n"
|
7 |
"Language-Team: Designmodo <info@designmodo.com>\n"
|
8 |
"Language: en\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 2.
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
@@ -26,6 +26,7 @@ msgstr ""
|
|
26 |
#: includes/classes/wp-maintenance-mode-admin.php:121
|
27 |
#: includes/classes/wp-maintenance-mode-admin.php:159
|
28 |
#: includes/classes/wp-maintenance-mode-admin.php:182
|
|
|
29 |
msgid "You do not have access to this resource."
|
30 |
msgstr ""
|
31 |
|
@@ -46,7 +47,7 @@ msgid "The tab slug must not be empty."
|
|
46 |
msgstr ""
|
47 |
|
48 |
#: includes/classes/wp-maintenance-mode-admin.php:197
|
49 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
50 |
msgid "Security check."
|
51 |
msgstr ""
|
52 |
|
@@ -58,52 +59,52 @@ msgstr ""
|
|
58 |
msgid "WP Maintenance Mode"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
62 |
msgid ""
|
63 |
"WPMM: The file data.js could not be written, the bot will not work correctly."
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
67 |
msgid "Settings"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
71 |
#, php-format
|
72 |
msgid ""
|
73 |
"The Maintenance Mode is <strong>active</strong>. Please don't forget to <a "
|
74 |
"href=\"%s\">deactivate</a> as soon as you are done."
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
78 |
msgid "Notice key cannot be empty."
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
82 |
#, php-format
|
83 |
msgid ""
|
84 |
"If you like <strong>WP Maintenance Mode</strong> please leave us a %s "
|
85 |
"rating. A huge thank you from WP Maintenance Mode makers in advance!"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
89 |
msgid ""
|
90 |
"Your WordPress version supports Privacy settings but you haven't set any "
|
91 |
"privacy policy page yet. Go to Settings ➡ Privacy to set one."
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
95 |
#, php-format
|
96 |
msgid "The plugin detected this Privacy page: %1$s – %2$sUse this url%3$s"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
100 |
#, php-format
|
101 |
msgid ""
|
102 |
"Your Privacy page is pointing to a different URL in WordPress settings. If "
|
103 |
"that's correct ignore this message, otherwise %s"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: includes/classes/wp-maintenance-mode-admin.php:
|
107 |
msgid ""
|
108 |
"No privacy features detected for your WordPress version. Update WordPress to "
|
109 |
"get this field automatically filled in or type in the URL that points to "
|
@@ -144,7 +145,7 @@ msgid "Nice to meet you here, {visitor_name}!"
|
|
144 |
msgstr ""
|
145 |
|
146 |
#: includes/classes/wp-maintenance-mode.php:152
|
147 |
-
msgid "How you can see, our website will be
|
148 |
msgstr ""
|
149 |
|
150 |
#: includes/classes/wp-maintenance-mode.php:153
|
@@ -175,7 +176,7 @@ msgid "Have a great day!"
|
|
175 |
msgstr ""
|
176 |
|
177 |
#: includes/classes/wp-maintenance-mode.php:161
|
178 |
-
#: includes/classes/wp-maintenance-mode.php:
|
179 |
msgid "Type your name here…"
|
180 |
msgstr ""
|
181 |
|
@@ -188,7 +189,7 @@ msgid "Boring"
|
|
188 |
msgstr ""
|
189 |
|
190 |
#: includes/classes/wp-maintenance-mode.php:164
|
191 |
-
#: includes/classes/wp-maintenance-mode.php:
|
192 |
msgid "Type your email here…"
|
193 |
msgstr ""
|
194 |
|
@@ -222,36 +223,36 @@ msgstr ""
|
|
222 |
msgid "Maintenance Mode"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: includes/classes/wp-maintenance-mode.php:
|
226 |
msgid "Please type in your name."
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: includes/classes/wp-maintenance-mode.php:
|
230 |
msgid "Please type in a valid email address."
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: includes/classes/wp-maintenance-mode.php:
|
234 |
msgid "Send"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: includes/classes/wp-maintenance-mode.php:
|
238 |
-
#: includes/classes/wp-maintenance-mode.php:
|
239 |
msgid "Please enter a valid email address."
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: includes/classes/wp-maintenance-mode.php:
|
243 |
msgid "You successfully subscribed. Thanks!"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: includes/classes/wp-maintenance-mode.php:
|
247 |
msgid "All fields required."
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: includes/classes/wp-maintenance-mode.php:
|
251 |
msgid "Message via contact"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: includes/classes/wp-maintenance-mode.php:
|
255 |
msgid "Your email was sent to the website administrator. Thanks!"
|
256 |
msgstr ""
|
257 |
|
@@ -280,7 +281,7 @@ msgstr ""
|
|
280 |
msgid "your e-mail..."
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: views/maintenance.php:75 views/settings.php:
|
284 |
msgid "Subscribe"
|
285 |
msgstr ""
|
286 |
|
@@ -313,19 +314,19 @@ msgstr ""
|
|
313 |
msgid "Dashboard"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: views/promo-
|
317 |
-
msgid "
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: views/promo-
|
321 |
msgid ""
|
322 |
-
"
|
323 |
-
"
|
324 |
-
"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: views/promo-
|
328 |
-
msgid "
|
329 |
msgstr ""
|
330 |
|
331 |
#: views/settings.php:6
|
@@ -352,15 +353,15 @@ msgstr ""
|
|
352 |
msgid "GDPR"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: views/settings.php:26 views/settings.php:
|
356 |
msgid "Status"
|
357 |
msgstr ""
|
358 |
|
359 |
-
#: views/settings.php:28 views/settings.php:
|
360 |
msgid "Activated"
|
361 |
msgstr ""
|
362 |
|
363 |
-
#: views/settings.php:29 views/settings.php:
|
364 |
msgid "Deactivated"
|
365 |
msgstr ""
|
366 |
|
@@ -368,15 +369,15 @@ msgstr ""
|
|
368 |
msgid "Bypass for Search Bots"
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: views/settings.php:36 views/settings.php:
|
372 |
-
#: views/settings.php:
|
373 |
-
#: views/settings.php:
|
374 |
msgid "Yes"
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: views/settings.php:37 views/settings.php:
|
378 |
-
#: views/settings.php:
|
379 |
-
#: views/settings.php:
|
380 |
msgid "No"
|
381 |
msgstr ""
|
382 |
|
@@ -388,187 +389,187 @@ msgstr ""
|
|
388 |
msgid "Backend Role"
|
389 |
msgstr ""
|
390 |
|
391 |
-
#: views/settings.php:45 views/settings.php:
|
392 |
msgid "Select role(s)"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: views/settings.php:
|
396 |
msgid ""
|
397 |
"Which user role is allowed to access the backend of this blog? "
|
398 |
"Administrators will always have access."
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: views/settings.php:
|
402 |
msgid "Frontend Role"
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: views/settings.php:
|
406 |
msgid ""
|
407 |
"Which user role is allowed to access the frontend of this blog? "
|
408 |
"Administrators will always have access."
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: views/settings.php:
|
412 |
msgid "Robots Meta Tag"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: views/settings.php:
|
416 |
msgid ""
|
417 |
"The robots meta tag lets you use a granular, page-specific approach to "
|
418 |
"control how an individual page should be indexed and served to users in "
|
419 |
"search results."
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: views/settings.php:
|
423 |
msgid "Redirection"
|
424 |
msgstr ""
|
425 |
|
426 |
-
#: views/settings.php:
|
427 |
msgid ""
|
428 |
"If you want to redirect a user (with no access to Dashboard/Backend) to a "
|
429 |
"URL (different from WordPress Dashboard URL) after login, then define a URL "
|
430 |
"(incl. http://)"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: views/settings.php:
|
434 |
msgid "Exclude"
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: views/settings.php:
|
438 |
msgid ""
|
439 |
"Exclude feed, pages, archives or IPs from maintenance mode. Add one slug / "
|
440 |
"IP per line!"
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: views/settings.php:
|
444 |
msgid "Notice"
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: views/settings.php:
|
448 |
msgid "Do you want to see notices when maintenance mode is activated?"
|
449 |
msgstr ""
|
450 |
|
451 |
-
#: views/settings.php:
|
452 |
msgid "Dashboard link"
|
453 |
msgstr ""
|
454 |
|
455 |
-
#: views/settings.php:
|
456 |
msgid ""
|
457 |
"Do you want to add a link to the dashboard on your maintenance mode page?"
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: views/settings.php:
|
461 |
-
#: views/settings.php:
|
462 |
msgid "Save settings"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: views/settings.php:
|
466 |
-
#: views/settings.php:
|
467 |
msgid "Reset settings"
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: views/settings.php:
|
471 |
msgid "Content"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: views/settings.php:
|
475 |
msgid "Title (HTML tag)"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: views/settings.php:
|
479 |
msgid "Heading"
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: views/settings.php:
|
483 |
msgid "Text"
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: views/settings.php:
|
487 |
msgid "This text will not be shown when the bot feature is enabled."
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: views/settings.php:
|
491 |
|