Version Description
Download this release
Release Info
Developer | gaspar.nemes |
Plugin | GDPR Cookie Compliance |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- controllers/moove-controller.php +40 -43
- dist/scripts/admin.js +2 -2
- dist/styles/admin.css +1 -1
- dist/styles/custom-editor-style.css +1 -1
- dist/styles/main.css +1 -1
- languages/moove-gdpr.pot +354 -0
- moove-actions.php +12 -3
- moove-content.php +30 -13
- moove-gdpr.php +3 -2
- readme.txt +7 -1
- views/moove/admin/settings/advanced_cookies.php +15 -14
- views/moove/admin/settings/cookie_policy.php +12 -11
- views/moove/admin/settings/general_settings.php +46 -33
- views/moove/admin/settings/privacy_overview.php +9 -8
- views/moove/admin/settings/settings_page.php +12 -11
- views/moove/admin/settings/strictly_necessary_cookies.php +25 -12
- views/moove/admin/settings/third_party_cookies.php +15 -14
controllers/moove-controller.php
CHANGED
@@ -148,11 +148,15 @@ class Moove_GDPR_Controller {
|
|
148 |
*/
|
149 |
function moove_gdpr_cookie_popup_modal() {
|
150 |
ob_start(); ?>
|
151 |
-
<?php
|
|
|
|
|
|
|
|
|
152 |
<?php if ( isset( $modal_options['moove_gdpr_floating_button_enable'] ) && intval( $modal_options['moove_gdpr_floating_button_enable'] ) === 1 ) : ?>
|
153 |
<button data-href="#moove_gdpr_cookie_modal" id="moove_gdpr_save_popup_settings_button" style='display: none; <?php echo isset( $modal_options['moove_gdpr_floating_button_position'] ) ? $modal_options['moove_gdpr_floating_button_position'] : ''; ?>'>
|
154 |
<span class="moove_gdpr_icon"><i class="moovegdpr-advanced"></i></span>
|
155 |
-
<span class="moove_gdpr_text"><?php echo ( isset( $modal_options['moove_gdpr_floating_button_label'] ) && $modal_options['moove_gdpr_floating_button_label'] ) ? $modal_options['moove_gdpr_floating_button_label'] : __('Change cookie settings','moove-gdpr'); ?></span>
|
156 |
</button>
|
157 |
<?php endif; ?>
|
158 |
|
@@ -179,14 +183,14 @@ class Moove_GDPR_Controller {
|
|
179 |
<!-- .moove-gdpr-company-logo-holder -->
|
180 |
<ul id="moove-gdpr-menu">
|
181 |
<?php
|
182 |
-
$nav_label = isset( $modal_options['moove_gdpr_privacy_overview_tab_title'] ) && $modal_options['moove_gdpr_privacy_overview_tab_title'] ? $modal_options['moove_gdpr_privacy_overview_tab_title'] : __('Privacy Overview','moove-gdpr');
|
183 |
?>
|
184 |
<li class="menu-item-on menu-item-privacy_overview menu-item-selected">
|
185 |
<button data-href="#privacy_overview" class="moove-gdpr-tab-nav"><i class="moovegdpr-privacy-overview"></i> <span><?php echo $nav_label; ?></span></button>
|
186 |
</li>
|
187 |
|
188 |
<?php
|
189 |
-
$nav_label = isset( $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ) && $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ? $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] : __('Strictly Necessary Cookies','moove-gdpr');
|
190 |
?>
|
191 |
|
192 |
<li class="menu-item-strict-necesarry-cookies menu-item-off">
|
@@ -196,7 +200,7 @@ class Moove_GDPR_Controller {
|
|
196 |
|
197 |
<?php
|
198 |
$enabled_3rd_party_cookies = isset( $modal_options['moove_gdpr_third_party_cookies_enable'] ) && intval( $modal_options['moove_gdpr_third_party_cookies_enable'] ) === 1 ? true : false;
|
199 |
-
$nav_label = isset( $modal_options['moove_gdpr_performance_cookies_tab_title'] ) && $modal_options['moove_gdpr_performance_cookies_tab_title'] ? $modal_options['moove_gdpr_performance_cookies_tab_title'] : __('3rd Party Cookies','moove-gdpr');
|
200 |
?>
|
201 |
<?php if ( $enabled_3rd_party_cookies ) : ?>
|
202 |
<li class="menu-item-off menu-item-third_party_cookies">
|
@@ -206,7 +210,7 @@ class Moove_GDPR_Controller {
|
|
206 |
|
207 |
<?php
|
208 |
$enabled_advanced_cookies = isset( $modal_options['moove_gdpr_advanced_cookies_enable'] ) && intval( $modal_options['moove_gdpr_advanced_cookies_enable'] ) === 1 ? true : false;
|
209 |
-
$nav_label = isset( $modal_options['moove_gdpr_advanced_cookies_tab_title'] ) && $modal_options['moove_gdpr_advanced_cookies_tab_title'] ? $modal_options['moove_gdpr_advanced_cookies_tab_title'] : __('Additional Cookies','moove-gdpr');
|
210 |
?>
|
211 |
<?php if ( $enabled_advanced_cookies ) : ?>
|
212 |
<li class="menu-item-advanced-cookies menu-item-off">
|
@@ -218,7 +222,7 @@ class Moove_GDPR_Controller {
|
|
218 |
|
219 |
$enabled_cookie_policy = isset( $modal_options['moove_gdpr_cookie_policy_enable'] ) && intval( $modal_options['moove_gdpr_cookie_policy_enable'] ) === 1 ? true : false;
|
220 |
|
221 |
-
$nav_label = isset( $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] ) && $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] ? $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] : __('Cookie Policy','moove-gdpr');
|
222 |
|
223 |
?>
|
224 |
<?php if ( $enabled_cookie_policy ) : ?>
|
@@ -236,19 +240,14 @@ class Moove_GDPR_Controller {
|
|
236 |
<div class="moove-gdpr-modal-right-content">
|
237 |
<div class="main-modal-content">
|
238 |
<div class="moove-gdpr-modal-title">
|
239 |
-
|
240 |
-
$modal_title = isset( $modal_options['moove_gdpr_modal_title'] ) && $modal_options['moove_gdpr_modal_title'] ? $modal_options['moove_gdpr_modal_title'] : '';
|
241 |
-
?>
|
242 |
-
<?php if ( $modal_title ) : ?>
|
243 |
-
<h2><?php echo $modal_title; ?></h2>
|
244 |
-
<?php endif; ?>
|
245 |
</div>
|
246 |
<!-- .moove-gdpr-modal-ritle -->
|
247 |
<div class="moove-gdpr-tab-content <?php echo ! $modal_title ? 'moove-gdpr-no-modal-title' : ''; ?>">
|
248 |
<div id="privacy_overview" class="moove-gdpr-tab-main">
|
249 |
<?php
|
250 |
-
$tab_title = isset( $modal_options['moove_gdpr_privacy_overview_tab_title'] ) && $modal_options['moove_gdpr_privacy_overview_tab_title'] ? $modal_options['moove_gdpr_privacy_overview_tab_title'] : __('Privacy Overview','moove-gdpr');
|
251 |
-
$tab_content = isset( $modal_options['moove_gdpr_privacy_overview_tab_content'] ) && $modal_options['moove_gdpr_privacy_overview_tab_content'] ? $modal_options['moove_gdpr_privacy_overview_tab_content'] : Moove_GDPR_Content::moove_gdpr_get_privacy_overview_content();
|
252 |
?>
|
253 |
<h3 class="tab-title"><?php echo $tab_title; ?></h3>
|
254 |
<div class="moove-gdpr-tab-main-conent">
|
@@ -259,8 +258,8 @@ class Moove_GDPR_Controller {
|
|
259 |
|
260 |
<div id="strict-necesarry-cookies" class="moove-gdpr-tab-main" style="display:none">
|
261 |
<?php
|
262 |
-
$tab_title = isset( $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ) && $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ? $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] : __('Strictly Necessary Cookies','moove-gdpr');
|
263 |
-
$tab_content = Moove_GDPR_Content::moove_gdpr_get_strict_necessary_content();
|
264 |
?>
|
265 |
<h3 class="tab-title"><?php echo $tab_title; ?></h3>
|
266 |
<div class="moove-gdpr-tab-main-conent">
|
@@ -271,18 +270,18 @@ class Moove_GDPR_Controller {
|
|
271 |
<fieldset>
|
272 |
<label class="switch">
|
273 |
<input type="checkbox" value="check" id="moove_gdpr_strict_cookies">
|
274 |
-
<span class="slider round" data-text-enable="<?php
|
275 |
</label>
|
276 |
</fieldset>
|
277 |
</form>
|
278 |
</div>
|
279 |
<!-- .moove-gdpr-status-bar -->
|
280 |
<?php
|
281 |
-
$warning_message = isset( $modal_options['moove_gdpr_strictly_necessary_cookies_warning'] ) && $modal_options['moove_gdpr_strictly_necessary_cookies_warning'] ? $modal_options['moove_gdpr_strictly_necessary_cookies_warning'] : Moove_GDPR_Content::moove_gdpr_get_strict_necessary_warning();
|
282 |
if ( $warning_message ) :
|
283 |
?>
|
284 |
<div class="moove-gdpr-tab-main-conent moove-gdpr-strict-warning-message" style="margin-top: 10px;">
|
285 |
-
|
286 |
</div>
|
287 |
<!-- .moove-gdpr-tab-main-conent -->
|
288 |
<?php endif; ?>
|
@@ -294,8 +293,8 @@ class Moove_GDPR_Controller {
|
|
294 |
<?php if ( $enabled_advanced_cookies ) : ?>
|
295 |
<div id="advanced-cookies" class="moove-gdpr-tab-main" style="display:none">
|
296 |
<?php
|
297 |
-
$tab_title = isset( $modal_options['moove_gdpr_advanced_cookies_tab_title'] ) && $modal_options['moove_gdpr_advanced_cookies_tab_title'] ? $modal_options['moove_gdpr_advanced_cookies_tab_title'] : __('Additional Cookies','moove-gdpr');
|
298 |
-
$tab_content = isset( $modal_options['moove_gdpr_advanced_cookies_tab_content'] ) && $modal_options['moove_gdpr_advanced_cookies_tab_content'] ? $modal_options['moove_gdpr_advanced_cookies_tab_content'] : Moove_GDPR_Content::moove_gdpr_get_advanced_cookies_content();
|
299 |
?>
|
300 |
<h3 class="tab-title"><?php echo $tab_title; ?></h3>
|
301 |
<div class="moove-gdpr-tab-main-conent">
|
@@ -305,7 +304,7 @@ class Moove_GDPR_Controller {
|
|
305 |
<fieldset class="fl-disabled">
|
306 |
<label class="switch">
|
307 |
<input type="checkbox" value="check" id="moove_gdpr_advanced_cookies" disabled>
|
308 |
-
<span class="slider round" data-text-enable="<?php
|
309 |
</label>
|
310 |
</fieldset>
|
311 |
</form>
|
@@ -318,8 +317,8 @@ class Moove_GDPR_Controller {
|
|
318 |
|
319 |
<?php if ( $enabled_3rd_party_cookies ) : ?>
|
320 |
<?php
|
321 |
-
$tab_title = isset( $modal_options['moove_gdpr_performance_cookies_tab_title'] ) && $modal_options['moove_gdpr_performance_cookies_tab_title'] ? $modal_options['moove_gdpr_performance_cookies_tab_title'] : __('3rd Party Cookies','moove-gdpr');
|
322 |
-
$tab_content = isset( $modal_options['moove_gdpr_performance_cookies_tab_content'] ) && $modal_options['moove_gdpr_performance_cookies_tab_content'] ? $modal_options['moove_gdpr_performance_cookies_tab_content'] : Moove_GDPR_Content::moove_gdpr_get_third_party_content();
|
323 |
?>
|
324 |
<div id="third_party_cookies" class="moove-gdpr-tab-main" style="display:none">
|
325 |
<h3 class="tab-title"><?php echo $tab_title; ?></h3>
|
@@ -330,7 +329,7 @@ class Moove_GDPR_Controller {
|
|
330 |
<fieldset class="fl-disabled">
|
331 |
<label class="switch">
|
332 |
<input type="checkbox" value="check" id="moove_gdpr_performance_cookies" disabled>
|
333 |
-
<span class="slider round" data-text-enable="<?php
|
334 |
</label>
|
335 |
</fieldset>
|
336 |
</form>
|
@@ -342,8 +341,8 @@ class Moove_GDPR_Controller {
|
|
342 |
<?php endif; ?>
|
343 |
<?php if ( $enabled_cookie_policy ) : ?>
|
344 |
<?php
|
345 |
-
$tab_title = isset( $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] ) && $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] ? $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] : __('3rd Party Cookies','moove-gdpr');
|
346 |
-
$tab_content = isset( $modal_options['moove_gdpr_cookies_policy_tab_content'] ) && $modal_options['moove_gdpr_cookies_policy_tab_content'] ? $modal_options['moove_gdpr_cookies_policy_tab_content'] : Moove_GDPR_Content::moove_gdpr_get_cookie_policy_content();
|
347 |
?>
|
348 |
<div id="cookie_policy_modal" class="moove-gdpr-tab-main" style="display:none">
|
349 |
<h3 class="tab-title"><?php echo $tab_title; ?></h3>
|
@@ -360,8 +359,8 @@ class Moove_GDPR_Controller {
|
|
360 |
<div class="moove-gdpr-modal-footer-content">
|
361 |
<div class="moove-gdpr-button-holder">
|
362 |
<?php
|
363 |
-
$allow_label = isset( $modal_options['moove_gdpr_modal_allow_button_label'] ) && $modal_options['moove_gdpr_modal_allow_button_label'] ? $modal_options['moove_gdpr_modal_allow_button_label'] : __('Enable All','moove-gdpr');
|
364 |
-
$save_settings = isset( $modal_options['moove_gdpr_modal_save_button_label'] ) && $modal_options['moove_gdpr_modal_save_button_label'] ? $modal_options['moove_gdpr_modal_save_button_label'] : __('Save Settings','moove-gdpr');
|
365 |
?>
|
366 |
<button class="mgbutton moove-gdpr-modal-allow-all" rel="nofollow"><?php echo $allow_label; ?></button>
|
367 |
<button class="mgbutton moove-gdpr-modal-save-settings" rel="nofollow"><?php echo $save_settings; ?></button>
|
@@ -386,10 +385,12 @@ class Moove_GDPR_Controller {
|
|
386 |
* @return void
|
387 |
*/
|
388 |
function moove_gdpr_cookie_popup_info() {
|
389 |
-
$
|
390 |
-
$
|
|
|
391 |
|
392 |
$scheme_class = $modal_scheme === 2 ? 'moove-gdpr-light-scheme' : 'moove-gdpr-dark-scheme';
|
|
|
393 |
ob_start(); ?>
|
394 |
<div id="moove_gdpr_cookie_info_bar" class="moove-gdpr-info-bar-hidden moove-gdpr-align-center <?php echo $scheme_class; ?>">
|
395 |
<div class="moove-gdpr-info-bar-container">
|
@@ -399,7 +400,7 @@ class Moove_GDPR_Controller {
|
|
399 |
<?php
|
400 |
$_content = '<p>'.__('We are using cookies to give you the best experience on our website.','moove-gdpr').'</p>'.
|
401 |
'<p>'.__('You can find out more about which cookies we are using or switch them off in [setting]settings[/setting].','moove-gdpr').'</p>';
|
402 |
-
$content = isset( $modal_options['moove_gdpr_info_bar_content'] ) && $modal_options['moove_gdpr_info_bar_content'] ? $modal_options['moove_gdpr_info_bar_content'] : $_content;
|
403 |
$content = str_replace('[setting]', '<span data-href="#moove_gdpr_cookie_modal" class="change-settings-button">', $content);
|
404 |
$content = str_replace('[/setting]', '</span>', $content);
|
405 |
echo $content;
|
@@ -407,14 +408,9 @@ class Moove_GDPR_Controller {
|
|
407 |
</div>
|
408 |
<!-- .moove-gdpr-cookie-notice -->
|
409 |
<div class="moove-gdpr-button-holder">
|
410 |
-
<button class="mgbutton moove-gdpr-infobar-allow-all" rel="nofollow"><?php echo isset( $modal_options['moove_gdpr_infobar_accept_button_label'] ) && $modal_options['moove_gdpr_infobar_accept_button_label'] ? $modal_options['moove_gdpr_infobar_accept_button_label'] : __('Accept','moove-gdpr'); ?></button>
|
411 |
</div>
|
412 |
<!-- .button-container -->
|
413 |
-
<?php /*
|
414 |
-
<div class="moove-gdpr-close-modal-button">
|
415 |
-
<a href="#"><i class="moovegdpr-arrow-close"></i></a>
|
416 |
-
</div>
|
417 |
-
<!-- .moove-gdpr-close-modal-button --> */ ?>
|
418 |
</div>
|
419 |
</div>
|
420 |
|
@@ -429,11 +425,12 @@ class Moove_GDPR_Controller {
|
|
429 |
* @return void
|
430 |
*/
|
431 |
public function moove_gdpr_get_scripts() {
|
432 |
-
$strict
|
433 |
-
$thirdparty
|
434 |
-
$advanced
|
435 |
$return_scripts = '';
|
436 |
-
$
|
|
|
437 |
ob_start();
|
438 |
|
439 |
if ( $thirdparty ) :
|
148 |
*/
|
149 |
function moove_gdpr_cookie_popup_modal() {
|
150 |
ob_start(); ?>
|
151 |
+
<?php
|
152 |
+
$option_name = Moove_GDPR_Content::moove_gdpr_get_option_name();
|
153 |
+
$modal_options = get_option( $option_name );
|
154 |
+
$wpml_lang = Moove_GDPR_Content::moove_gdpr_get_wpml_lang();
|
155 |
+
?>
|
156 |
<?php if ( isset( $modal_options['moove_gdpr_floating_button_enable'] ) && intval( $modal_options['moove_gdpr_floating_button_enable'] ) === 1 ) : ?>
|
157 |
<button data-href="#moove_gdpr_cookie_modal" id="moove_gdpr_save_popup_settings_button" style='display: none; <?php echo isset( $modal_options['moove_gdpr_floating_button_position'] ) ? $modal_options['moove_gdpr_floating_button_position'] : ''; ?>'>
|
158 |
<span class="moove_gdpr_icon"><i class="moovegdpr-advanced"></i></span>
|
159 |
+
<span class="moove_gdpr_text"><?php echo ( isset( $modal_options['moove_gdpr_floating_button_label'.$wpml_lang] ) && $modal_options['moove_gdpr_floating_button_label'.$wpml_lang] ) ? $modal_options['moove_gdpr_floating_button_label'.$wpml_lang] : __('Change cookie settings','moove-gdpr'); ?></span>
|
160 |
</button>
|
161 |
<?php endif; ?>
|
162 |
|
183 |
<!-- .moove-gdpr-company-logo-holder -->
|
184 |
<ul id="moove-gdpr-menu">
|
185 |
<?php
|
186 |
+
$nav_label = isset( $modal_options['moove_gdpr_privacy_overview_tab_title'.$wpml_lang] ) && $modal_options['moove_gdpr_privacy_overview_tab_title'.$wpml_lang] ? $modal_options['moove_gdpr_privacy_overview_tab_title'.$wpml_lang] : __('Privacy Overview','moove-gdpr');
|
187 |
?>
|
188 |
<li class="menu-item-on menu-item-privacy_overview menu-item-selected">
|
189 |
<button data-href="#privacy_overview" class="moove-gdpr-tab-nav"><i class="moovegdpr-privacy-overview"></i> <span><?php echo $nav_label; ?></span></button>
|
190 |
</li>
|
191 |
|
192 |
<?php
|
193 |
+
$nav_label = isset( $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'.$wpml_lang] ) && $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'.$wpml_lang] ? $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'.$wpml_lang] : __('Strictly Necessary Cookies','moove-gdpr');
|
194 |
?>
|
195 |
|
196 |
<li class="menu-item-strict-necesarry-cookies menu-item-off">
|
200 |
|
201 |
<?php
|
202 |
$enabled_3rd_party_cookies = isset( $modal_options['moove_gdpr_third_party_cookies_enable'] ) && intval( $modal_options['moove_gdpr_third_party_cookies_enable'] ) === 1 ? true : false;
|
203 |
+
$nav_label = isset( $modal_options['moove_gdpr_performance_cookies_tab_title'.$wpml_lang] ) && $modal_options['moove_gdpr_performance_cookies_tab_title'.$wpml_lang] ? $modal_options['moove_gdpr_performance_cookies_tab_title'.$wpml_lang] : __('3rd Party Cookies','moove-gdpr');
|
204 |
?>
|
205 |
<?php if ( $enabled_3rd_party_cookies ) : ?>
|
206 |
<li class="menu-item-off menu-item-third_party_cookies">
|
210 |
|
211 |
<?php
|
212 |
$enabled_advanced_cookies = isset( $modal_options['moove_gdpr_advanced_cookies_enable'] ) && intval( $modal_options['moove_gdpr_advanced_cookies_enable'] ) === 1 ? true : false;
|
213 |
+
$nav_label = isset( $modal_options['moove_gdpr_advanced_cookies_tab_title'.$wpml_lang] ) && $modal_options['moove_gdpr_advanced_cookies_tab_title'.$wpml_lang] ? $modal_options['moove_gdpr_advanced_cookies_tab_title'.$wpml_lang] : __('Additional Cookies','moove-gdpr');
|
214 |
?>
|
215 |
<?php if ( $enabled_advanced_cookies ) : ?>
|
216 |
<li class="menu-item-advanced-cookies menu-item-off">
|
222 |
|
223 |
$enabled_cookie_policy = isset( $modal_options['moove_gdpr_cookie_policy_enable'] ) && intval( $modal_options['moove_gdpr_cookie_policy_enable'] ) === 1 ? true : false;
|
224 |
|
225 |
+
$nav_label = isset( $modal_options['moove_gdpr_cookie_policy_tab_nav_label'.$wpml_lang] ) && $modal_options['moove_gdpr_cookie_policy_tab_nav_label'.$wpml_lang] ? $modal_options['moove_gdpr_cookie_policy_tab_nav_label'.$wpml_lang] : __('Cookie Policy','moove-gdpr');
|
226 |
|
227 |
?>
|
228 |
<?php if ( $enabled_cookie_policy ) : ?>
|
240 |
<div class="moove-gdpr-modal-right-content">
|
241 |
<div class="main-modal-content">
|
242 |
<div class="moove-gdpr-modal-title">
|
243 |
+
|
|
|
|
|
|
|
|
|
|
|
244 |
</div>
|
245 |
<!-- .moove-gdpr-modal-ritle -->
|
246 |
<div class="moove-gdpr-tab-content <?php echo ! $modal_title ? 'moove-gdpr-no-modal-title' : ''; ?>">
|
247 |
<div id="privacy_overview" class="moove-gdpr-tab-main">
|
248 |
<?php
|
249 |
+
$tab_title = isset( $modal_options['moove_gdpr_privacy_overview_tab_title'.$wpml_lang] ) && $modal_options['moove_gdpr_privacy_overview_tab_title'.$wpml_lang] ? $modal_options['moove_gdpr_privacy_overview_tab_title'.$wpml_lang] : __('Privacy Overview','moove-gdpr');
|
250 |
+
$tab_content = isset( $modal_options['moove_gdpr_privacy_overview_tab_content'.$wpml_lang] ) && $modal_options['moove_gdpr_privacy_overview_tab_content'.$wpml_lang] ? $modal_options['moove_gdpr_privacy_overview_tab_content'.$wpml_lang] : Moove_GDPR_Content::moove_gdpr_get_privacy_overview_content();
|
251 |
?>
|
252 |
<h3 class="tab-title"><?php echo $tab_title; ?></h3>
|
253 |
<div class="moove-gdpr-tab-main-conent">
|
258 |
|
259 |
<div id="strict-necesarry-cookies" class="moove-gdpr-tab-main" style="display:none">
|
260 |
<?php
|
261 |
+
$tab_title = isset( $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'.$wpml_lang] ) && $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'.$wpml_lang] ? $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'.$wpml_lang] : __('Strictly Necessary Cookies','moove-gdpr');
|
262 |
+
$tab_content = isset( $modal_options['moove_gdpr_strict_necessary_cookies_tab_content'.$wpml_lang] ) && $modal_options['moove_gdpr_strict_necessary_cookies_tab_content'.$wpml_lang] ? $modal_options['moove_gdpr_strict_necessary_cookies_tab_content'.$wpml_lang] : Moove_GDPR_Content::moove_gdpr_get_strict_necessary_content();
|
263 |
?>
|
264 |
<h3 class="tab-title"><?php echo $tab_title; ?></h3>
|
265 |
<div class="moove-gdpr-tab-main-conent">
|
270 |
<fieldset>
|
271 |
<label class="switch">
|
272 |
<input type="checkbox" value="check" id="moove_gdpr_strict_cookies">
|
273 |
+
<span class="slider round" data-text-enable="<?php echo isset( $modal_options['moove_gdpr_modal_enabled_checkbox_label'.$wpml_lang] ) && $modal_options['moove_gdpr_modal_enabled_checkbox_label'.$wpml_lang] ? $modal_options['moove_gdpr_modal_enabled_checkbox_label'.$wpml_lang] : __('Enabled','moove-gdpr'); ?>" data-text-disabled="<?php echo isset( $modal_options['moove_gdpr_modal_disabled_checkbox_label'.$wpml_lang] ) && $modal_options['moove_gdpr_modal_disabled_checkbox_label'.$wpml_lang] ? $modal_options['moove_gdpr_modal_disabled_checkbox_label'.$wpml_lang] : __('Disabled','moove-gdpr'); ?>"></span>
|
274 |
</label>
|
275 |
</fieldset>
|
276 |
</form>
|
277 |
</div>
|
278 |
<!-- .moove-gdpr-status-bar -->
|
279 |
<?php
|
280 |
+
$warning_message = isset( $modal_options['moove_gdpr_strictly_necessary_cookies_warning'.$wpml_lang] ) && $modal_options['moove_gdpr_strictly_necessary_cookies_warning'.$wpml_lang] ? $modal_options['moove_gdpr_strictly_necessary_cookies_warning'.$wpml_lang] : Moove_GDPR_Content::moove_gdpr_get_strict_necessary_warning();
|
281 |
if ( $warning_message ) :
|
282 |
?>
|
283 |
<div class="moove-gdpr-tab-main-conent moove-gdpr-strict-warning-message" style="margin-top: 10px;">
|
284 |
+
<?php echo wpautop( $warning_message ); ?>
|
285 |
</div>
|
286 |
<!-- .moove-gdpr-tab-main-conent -->
|
287 |
<?php endif; ?>
|
293 |
<?php if ( $enabled_advanced_cookies ) : ?>
|
294 |
<div id="advanced-cookies" class="moove-gdpr-tab-main" style="display:none">
|
295 |
<?php
|
296 |
+
$tab_title = isset( $modal_options['moove_gdpr_advanced_cookies_tab_title'.$wpml_lang] ) && $modal_options['moove_gdpr_advanced_cookies_tab_title'.$wpml_lang] ? $modal_options['moove_gdpr_advanced_cookies_tab_title'.$wpml_lang] : __('Additional Cookies'.$wpml_lang,'moove-gdpr');
|
297 |
+
$tab_content = isset( $modal_options['moove_gdpr_advanced_cookies_tab_content'.$wpml_lang] ) && $modal_options['moove_gdpr_advanced_cookies_tab_content'.$wpml_lang] ? $modal_options['moove_gdpr_advanced_cookies_tab_content'.$wpml_lang] : Moove_GDPR_Content::moove_gdpr_get_advanced_cookies_content();
|
298 |
?>
|
299 |
<h3 class="tab-title"><?php echo $tab_title; ?></h3>
|
300 |
<div class="moove-gdpr-tab-main-conent">
|
304 |
<fieldset class="fl-disabled">
|
305 |
<label class="switch">
|
306 |
<input type="checkbox" value="check" id="moove_gdpr_advanced_cookies" disabled>
|
307 |
+
<span class="slider round" data-text-enable="<?php echo isset( $modal_options['moove_gdpr_modal_enabled_checkbox_label'.$wpml_lang] ) && $modal_options['moove_gdpr_modal_enabled_checkbox_label'.$wpml_lang] ? $modal_options['moove_gdpr_modal_enabled_checkbox_label'.$wpml_lang] : __('Enabled','moove-gdpr'); ?>" data-text-disabled="<?php echo isset( $modal_options['moove_gdpr_modal_disabled_checkbox_label'.$wpml_lang] ) && $modal_options['moove_gdpr_modal_disabled_checkbox_label'.$wpml_lang] ? $modal_options['moove_gdpr_modal_disabled_checkbox_label'.$wpml_lang] : __('Disabled','moove-gdpr'); ?>"></span>
|
308 |
</label>
|
309 |
</fieldset>
|
310 |
</form>
|
317 |
|
318 |
<?php if ( $enabled_3rd_party_cookies ) : ?>
|
319 |
<?php
|
320 |
+
$tab_title = isset( $modal_options['moove_gdpr_performance_cookies_tab_title'.$wpml_lang] ) && $modal_options['moove_gdpr_performance_cookies_tab_title'.$wpml_lang] ? $modal_options['moove_gdpr_performance_cookies_tab_title'.$wpml_lang] : __('3rd Party Cookies','moove-gdpr');
|
321 |
+
$tab_content = isset( $modal_options['moove_gdpr_performance_cookies_tab_content'.$wpml_lang] ) && $modal_options['moove_gdpr_performance_cookies_tab_content'.$wpml_lang] ? $modal_options['moove_gdpr_performance_cookies_tab_content'.$wpml_lang] : Moove_GDPR_Content::moove_gdpr_get_third_party_content();
|
322 |
?>
|
323 |
<div id="third_party_cookies" class="moove-gdpr-tab-main" style="display:none">
|
324 |
<h3 class="tab-title"><?php echo $tab_title; ?></h3>
|
329 |
<fieldset class="fl-disabled">
|
330 |
<label class="switch">
|
331 |
<input type="checkbox" value="check" id="moove_gdpr_performance_cookies" disabled>
|
332 |
+
<span class="slider round" data-text-enable="<?php echo isset( $modal_options['moove_gdpr_modal_enabled_checkbox_label'.$wpml_lang] ) && $modal_options['moove_gdpr_modal_enabled_checkbox_label'.$wpml_lang] ? $modal_options['moove_gdpr_modal_enabled_checkbox_label'.$wpml_lang] : __('Enabled','moove-gdpr'); ?>" data-text-disabled="<?php echo isset( $modal_options['moove_gdpr_modal_disabled_checkbox_label'.$wpml_lang] ) && $modal_options['moove_gdpr_modal_disabled_checkbox_label'.$wpml_lang] ? $modal_options['moove_gdpr_modal_disabled_checkbox_label'.$wpml_lang] : __('Disabled','moove-gdpr'); ?>"></span>
|
333 |
</label>
|
334 |
</fieldset>
|
335 |
</form>
|
341 |
<?php endif; ?>
|
342 |
<?php if ( $enabled_cookie_policy ) : ?>
|
343 |
<?php
|
344 |
+
$tab_title = isset( $modal_options['moove_gdpr_cookie_policy_tab_nav_label'.$wpml_lang] ) && $modal_options['moove_gdpr_cookie_policy_tab_nav_label'.$wpml_lang] ? $modal_options['moove_gdpr_cookie_policy_tab_nav_label'.$wpml_lang] : __('3rd Party Cookies','moove-gdpr');
|
345 |
+
$tab_content = isset( $modal_options['moove_gdpr_cookies_policy_tab_content'.$wpml_lang] ) && $modal_options['moove_gdpr_cookies_policy_tab_content'.$wpml_lang] ? $modal_options['moove_gdpr_cookies_policy_tab_content'.$wpml_lang] : Moove_GDPR_Content::moove_gdpr_get_cookie_policy_content();
|
346 |
?>
|
347 |
<div id="cookie_policy_modal" class="moove-gdpr-tab-main" style="display:none">
|
348 |
<h3 class="tab-title"><?php echo $tab_title; ?></h3>
|
359 |
<div class="moove-gdpr-modal-footer-content">
|
360 |
<div class="moove-gdpr-button-holder">
|
361 |
<?php
|
362 |
+
$allow_label = isset( $modal_options['moove_gdpr_modal_allow_button_label'.$wpml_lang] ) && $modal_options['moove_gdpr_modal_allow_button_label'.$wpml_lang] ? $modal_options['moove_gdpr_modal_allow_button_label'.$wpml_lang] : __('Enable All','moove-gdpr');
|
363 |
+
$save_settings = isset( $modal_options['moove_gdpr_modal_save_button_label'.$wpml_lang] ) && $modal_options['moove_gdpr_modal_save_button_label'.$wpml_lang] ? $modal_options['moove_gdpr_modal_save_button_label'.$wpml_lang] : __('Save Settings','moove-gdpr');
|
364 |
?>
|
365 |
<button class="mgbutton moove-gdpr-modal-allow-all" rel="nofollow"><?php echo $allow_label; ?></button>
|
366 |
<button class="mgbutton moove-gdpr-modal-save-settings" rel="nofollow"><?php echo $save_settings; ?></button>
|
385 |
* @return void
|
386 |
*/
|
387 |
function moove_gdpr_cookie_popup_info() {
|
388 |
+
$option_name = Moove_GDPR_Content::moove_gdpr_get_option_name();
|
389 |
+
$modal_options = get_option( $option_name );
|
390 |
+
$modal_scheme = isset( $modal_options['moove_gdpr_colour_scheme'] ) ? ( ( intval( $modal_options['moove_gdpr_colour_scheme'] ) === 1 || intval( $modal_options['moove_gdpr_colour_scheme'] ) === 2 ) ? intval( $modal_options['moove_gdpr_colour_scheme'] ) : 1 ) : 1;
|
391 |
|
392 |
$scheme_class = $modal_scheme === 2 ? 'moove-gdpr-light-scheme' : 'moove-gdpr-dark-scheme';
|
393 |
+
$wpml_lang = Moove_GDPR_Content::moove_gdpr_get_wpml_lang();
|
394 |
ob_start(); ?>
|
395 |
<div id="moove_gdpr_cookie_info_bar" class="moove-gdpr-info-bar-hidden moove-gdpr-align-center <?php echo $scheme_class; ?>">
|
396 |
<div class="moove-gdpr-info-bar-container">
|
400 |
<?php
|
401 |
$_content = '<p>'.__('We are using cookies to give you the best experience on our website.','moove-gdpr').'</p>'.
|
402 |
'<p>'.__('You can find out more about which cookies we are using or switch them off in [setting]settings[/setting].','moove-gdpr').'</p>';
|
403 |
+
$content = isset( $modal_options['moove_gdpr_info_bar_content'.$wpml_lang] ) && $modal_options['moove_gdpr_info_bar_content'.$wpml_lang] ? $modal_options['moove_gdpr_info_bar_content'.$wpml_lang] : $_content;
|
404 |
$content = str_replace('[setting]', '<span data-href="#moove_gdpr_cookie_modal" class="change-settings-button">', $content);
|
405 |
$content = str_replace('[/setting]', '</span>', $content);
|
406 |
echo $content;
|
408 |
</div>
|
409 |
<!-- .moove-gdpr-cookie-notice -->
|
410 |
<div class="moove-gdpr-button-holder">
|
411 |
+
<button class="mgbutton moove-gdpr-infobar-allow-all" rel="nofollow"><?php echo isset( $modal_options['moove_gdpr_infobar_accept_button_label'.$wpml_lang] ) && $modal_options['moove_gdpr_infobar_accept_button_label'.$wpml_lang] ? $modal_options['moove_gdpr_infobar_accept_button_label'.$wpml_lang] : __('Accept','moove-gdpr'); ?></button>
|
412 |
</div>
|
413 |
<!-- .button-container -->
|
|
|
|
|
|
|
|
|
|
|
414 |
</div>
|
415 |
</div>
|
416 |
|
425 |
* @return void
|
426 |
*/
|
427 |
public function moove_gdpr_get_scripts() {
|
428 |
+
$strict = intval( $_POST['strict'] ) && intval( $_POST['strict'] ) === 1 ? true : false;
|
429 |
+
$thirdparty = intval( $_POST['thirdparty'] ) && intval( $_POST['thirdparty'] ) === 1 ? true : false;
|
430 |
+
$advanced = intval( $_POST['advanced'] ) && intval( $_POST['advanced'] ) === 1 ? true : false;
|
431 |
$return_scripts = '';
|
432 |
+
$option_name = Moove_GDPR_Content::moove_gdpr_get_option_name();
|
433 |
+
$modal_options = get_option( $option_name );
|
434 |
ob_start();
|
435 |
|
436 |
if ( $thirdparty ) :
|
dist/scripts/admin.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
!function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(e,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(e,require("jquery")):e.lity=t(e,e.jQuery||e.Zepto)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(e){var t=M();return D&&e.length?(e.one(D,t.resolve),setTimeout(t.resolve,500)):t.resolve(),t.promise()}function i(e,n,i){if(1===arguments.length)return t.extend({},e);if("string"==typeof n){if(void 0===i)return void 0===e[n]?null:e[n];e[n]=i}else t.extend(e,n);return this}function o(e){for(var t,n=decodeURI(e.split("#")[0]).split("&"),i={},o=0,r=n.length;o<r;o++)n[o]&&(t=n[o].split("="),i[t[0]]=t[1]);return i}function r(e,n){return e+(e.indexOf("?")>-1?"&":"?")+t.param(n)}function s(e,t){var n=e.indexOf("#");return-1===n?t:(n>0&&(e=e.substr(n)),t+e)}function a(e){return t('<span class="lity-error"/>').append(e)}function l(e,n){var i=n.opener()&&n.opener().data("lity-desc")||"Image with no description",o=t('<img src="'+e+'" alt="'+i+'"/>'),r=M(),s=function(){r.reject(a("Failed loading image"))};return o.on("load",function(){if(0===this.naturalWidth)return s();r.resolve(o)}).on("error",s),r.promise()}function d(e,n){var i,o,r;try{i=t(e)}catch(e){return!1}return!!i.length&&(o=t('<i style="display:none !important"/>'),r=i.hasClass("lity-hide"),n.element().one("lity:remove",function(){o.before(i).remove(),r&&!i.closest(".lity-content").length&&i.addClass("lity-hide")}),i.removeClass("lity-hide").after(o))}function c(e){var n=O.exec(e);return!!n&&m(s(e,r("https://www.youtube"+(n[2]||"")+".com/embed/"+n[4],t.extend({autoplay:1},o(n[5]||"")))))}function h(e){var n=I.exec(e);return!!n&&m(s(e,r("https://player.vimeo.com/video/"+n[3],t.extend({autoplay:1},o(n[4]||"")))))}function u(e){var n=R.exec(e);return!!n&&(0!==e.indexOf("http")&&(e="https:"+e),m(s(e,r("https://www.facebook.com/plugins/video.php?href="+e,t.extend({autoplay:1},o(n[4]||""))))))}function p(e){var t=W.exec(e);return!!t&&m(s(e,r("https://www.google."+t[3]+"/maps?"+t[6],{output:t[6].indexOf("layer=c")>0?"svembed":"embed"})))}function m(e){return'<div class="lity-iframe-container"><iframe frameborder="0" allowfullscreen src="'+e+'"/></div>'}function v(){return S.documentElement.clientHeight?S.documentElement.clientHeight:Math.round(B.height())}function f(e){var t=E();t&&(27===e.keyCode&&t.options("esc")&&t.close(),9===e.keyCode&&g(e,t))}function g(e,t){var n=t.element().find(F),i=n.index(S.activeElement);e.shiftKey&&i<=0?(n.get(n.length-1).focus(),e.preventDefault()):e.shiftKey||i!==n.length-1||(n.get(0).focus(),e.preventDefault())}function y(){t.each(_,function(e,t){t.resize()})}function w(e){1===_.unshift(e)&&(P.addClass("lity-active"),B.on({resize:y,keydown:f})),t("body > *").not(e.element()).addClass("lity-hidden").each(function(){var e=t(this);void 0===e.data(L)&&e.data(L,e.attr(T)||null)}).attr(T,"true")}function b(e){var n;e.element().attr(T,"true"),1===_.length&&(P.removeClass("lity-active"),B.off({resize:y,keydown:f})),_=t.grep(_,function(t){return e!==t}),n=_.length?_[0].element():t(".lity-hidden"),n.removeClass("lity-hidden").each(function(){var e=t(this),n=e.data(L);n?e.attr(T,n):e.removeAttr(T),e.removeData(L)})}function E(){return 0===_.length?null:_[0]}function C(e,n,i,o){var r,s="inline",a=t.extend({},i);return o&&a[o]?(r=a[o](e,n),s=o):(t.each(["inline","iframe"],function(e,t){delete a[t],a[t]=i[t]}),t.each(a,function(t,i){return!i||!(!i.test||i.test(e,n))||(r=i(e,n),!1!==r?(s=t,!1):void 0)})),{handler:s,content:r||""}}function x(e,o,r,s){function a(e){c=t(e).css("max-height",v()+"px"),d.find(".lity-loader").each(function(){var e=t(this);n(e).always(function(){e.remove()})}),d.removeClass("lity-loading").find(".lity-content").empty().append(c),u=!0,c.trigger("lity:ready",[h])}var l,d,c,h=this,u=!1,p=!1;o=t.extend({},j,o),d=t(o.template),h.element=function(){return d},h.opener=function(){return r},h.options=t.proxy(i,h,o),h.handlers=t.proxy(i,h,o.handlers),h.resize=function(){u&&!p&&c.css("max-height",v()+"px").trigger("lity:resize",[h])},h.close=function(){if(u&&!p){p=!0,b(h);var e=M();if(s&&(S.activeElement===d[0]||t.contains(d[0],S.activeElement)))try{s.focus()}catch(e){}return c.trigger("lity:close",[h]),d.removeClass("lity-opened").addClass("lity-closed"),n(c.add(d)).always(function(){c.trigger("lity:remove",[h]),d.remove(),d=void 0,e.resolve()}),e.promise()}},l=C(e,h,o.handlers,o.handler),d.attr(T,"false").addClass("lity-loading lity-opened lity-"+l.handler).appendTo("body").focus().on("click","[data-lity-close]",function(e){t(e.target).is("[data-lity-close]")&&h.close()}).trigger("lity:open",[h]),w(h),t.when(l.content).always(a)}function k(e,n,i){e.preventDefault?(e.preventDefault(),i=t(this),e=i.data("lity-target")||i.attr("href")||i.attr("src")):i=t(i);var o=new x(e,t.extend({},i.data("lity-options")||i.data("lity"),n),i,S.activeElement);if(!e.preventDefault)return o}var S=e.document,B=t(e),M=t.Deferred,P=t("html"),_=[],T="aria-hidden",L="lity-"+T,F='a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable],[tabindex]:not([tabindex^="-"])',j={esc:!0,handler:null,handlers:{image:l,inline:d,youtube:c,vimeo:h,googlemaps:p,facebookvideo:u,iframe:m},template:'<div class="lity" role="dialog" aria-label="Dialog Window (Press escape to close)" tabindex="-1"><div class="lity-wrap" data-lity-close role="document"><div class="lity-loader" aria-hidden="true">Loading...</div><div class="lity-container"><div class="lity-content"></div><button class="lity-close" type="button" aria-label="Close (Press escape to close)" data-lity-close>×</button></div></div></div>'},N=/(^data:image\/)|(\.(png|jpe?g|gif|svg|webp|bmp|ico|tiff?)(\?\S*)?$)/i,O=/(youtube(-nocookie)?\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?([\w-]{11})(.*)?/i,I=/(vimeo(pro)?.com)\/(?:[^\d]+)?(\d+)\??(.*)?$/,W=/((maps|www)\.)?google\.([^\/\?]+)\/?((maps\/?)?\?)(.*)/i,R=/(facebook\.com)\/([a-z0-9_-]*)\/videos\/([0-9]*)(.*)?$/i,D=function(){var e=S.createElement("div"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return t[n];return!1}();return l.test=function(e){return N.test(e)},k.version="2.2.2",k.options=t.proxy(i,k,j),k.handlers=t.proxy(i,k,j.handlers),k.current=E,t(S).on("click.lity","[data-lity]",k),k}),window.jscolor||(window.jscolor=function(){var e={register:function(){e.attachDOMReadyEvent(e.init),e.attachEvent(document,"mousedown",e.onDocumentMouseDown),e.attachEvent(document,"touchstart",e.onDocumentTouchStart),e.attachEvent(window,"resize",e.onWindowResize)},init:function(){e.jscolor.lookupClass&&e.jscolor.installByClassName(e.jscolor.lookupClass)},tryInstallOnElements:function(t,n){for(var i=new RegExp("(^|\\s)("+n+")(\\s*(\\{[^}]*\\})|\\s|$)","i"),o=0;o<t.length;o+=1)if(void 0===t[o].type||"color"!==t[o].type.toLowerCase()||!e.isColorAttrSupported){var r;if(!t[o].jscolor&&t[o].className&&(r=t[o].className.match(i))){var s=t[o],a=null,l=e.getDataAttr(s,"jscolor");null!==l?a=l:r[4]&&(a=r[4]);var d={};if(a)try{d=new Function("return ("+a+")")()}catch(t){e.warn("Error parsing jscolor options: "+t+":\n"+a)}s.jscolor=new e.jscolor(s,d)}}},isColorAttrSupported:function(){var e=document.createElement("input");return!(!e.setAttribute||(e.setAttribute("type","color"),"color"!==e.type.toLowerCase()))}(),isCanvasSupported:function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))}(),fetchElement:function(e){return"string"==typeof e?document.getElementById(e):e},isElementType:function(e,t){return e.nodeName.toLowerCase()===t.toLowerCase()},getDataAttr:function(e,t){var n="data-"+t,i=e.getAttribute(n);return null!==i?i:null},attachEvent:function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)},detachEvent:function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n)},_attachedGroupEvents:{},attachGroupEvent:function(t,n,i,o){e._attachedGroupEvents.hasOwnProperty(t)||(e._attachedGroupEvents[t]=[]),e._attachedGroupEvents[t].push([n,i,o]),e.attachEvent(n,i,o)},detachGroupEvents:function(t){if(e._attachedGroupEvents.hasOwnProperty(t)){for(var n=0;n<e._attachedGroupEvents[t].length;n+=1){var i=e._attachedGroupEvents[t][n];e.detachEvent(i[0],i[1],i[2])}delete e._attachedGroupEvents[t]}},attachDOMReadyEvent:function(e){var t=!1,n=function(){t||(t=!0,e())};if("complete"===document.readyState)return void setTimeout(n,1);if(document.addEventListener)document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1);else if(document.attachEvent&&(document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",arguments.callee),n())}),window.attachEvent("onload",n),document.documentElement.doScroll&&window===window.top)){var i=function(){if(document.body)try{document.documentElement.doScroll("left"),n()}catch(e){setTimeout(i,1)}};i()}},warn:function(e){window.console&&window.console.warn&&window.console.warn(e)},preventDefault:function(e){e.preventDefault&&e.preventDefault(),e.returnValue=!1},captureTarget:function(t){t.setCapture&&(e._capturedTarget=t,e._capturedTarget.setCapture())},releaseTarget:function(){e._capturedTarget&&(e._capturedTarget.releaseCapture(),e._capturedTarget=null)},fireEvent:function(e,t){if(e){var n;document.createEvent?(n=document.createEvent("HTMLEvents"),n.initEvent(t,!0,!0),e.dispatchEvent(n)):document.createEventObject?(n=document.createEventObject(),e.fireEvent("on"+t,n)):e["on"+t]&&e["on"+t]()}},classNameToList:function(e){return e.replace(/^\s+|\s+$/g,"").split(/\s+/)},hasClass:function(e,t){return!!t&&-1!==(" "+e.className.replace(/\s+/g," ")+" ").indexOf(" "+t+" ")},setClass:function(t,n){for(var i=e.classNameToList(n),o=0;o<i.length;o+=1)e.hasClass(t,i[o])||(t.className+=(t.className?" ":"")+i[o])},unsetClass:function(t,n){for(var i=e.classNameToList(n),o=0;o<i.length;o+=1){var r=new RegExp("^\\s*"+i[o]+"\\s*|\\s*"+i[o]+"\\s*$|\\s+"+i[o]+"(\\s+)","g");t.className=t.className.replace(r,"$1")}},getStyle:function(e){return window.getComputedStyle?window.getComputedStyle(e):e.currentStyle},setStyle:function(){var e=document.createElement("div"),t=function(t){for(var n=0;n<t.length;n+=1)if(t[n]in e.style)return t[n]},n={borderRadius:t(["borderRadius","MozBorderRadius","webkitBorderRadius"]),boxShadow:t(["boxShadow","MozBoxShadow","webkitBoxShadow"])};return function(e,t,i){switch(t.toLowerCase()){case"opacity":var o=Math.round(100*parseFloat(i));e.style.opacity=i,e.style.filter="alpha(opacity="+o+")";break;default:e.style[n[t]]=i}}}(),setBorderRadius:function(t,n){e.setStyle(t,"borderRadius",n||"0")},setBoxShadow:function(t,n){e.setStyle(t,"boxShadow",n||"none")},getElementPos:function(t,n){var i=0,o=0,r=t.getBoundingClientRect();if(i=r.left,o=r.top,!n){var s=e.getViewPos();i+=s[0],o+=s[1]}return[i,o]},getElementSize:function(e){return[e.offsetWidth,e.offsetHeight]},getAbsPointerPos:function(e){e||(e=window.event);var t=0,n=0;return void 0!==e.changedTouches&&e.changedTouches.length?(t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY):"number"==typeof e.clientX&&(t=e.clientX,n=e.clientY),{x:t,y:n}},getRelPointerPos:function(e){e||(e=window.event);var t=e.target||e.srcElement,n=t.getBoundingClientRect(),i=0,o=0,r=0,s=0;return void 0!==e.changedTouches&&e.changedTouches.length?(r=e.changedTouches[0].clientX,s=e.changedTouches[0].clientY):"number"==typeof e.clientX&&(r=e.clientX,s=e.clientY),i=r-n.left,o=s-n.top,{x:i,y:o}},getViewPos:function(){var e=document.documentElement;return[(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0),(window.pageYOffset||e.scrollTop)-(e.clientTop||0)]},getViewSize:function(){var e=document.documentElement;return[window.innerWidth||e.clientWidth,window.innerHeight||e.clientHeight]},redrawPosition:function(){if(e.picker&&e.picker.owner){var t,n,i=e.picker.owner;i.fixed?(t=e.getElementPos(i.targetElement,!0),n=[0,0]):(t=e.getElementPos(i.targetElement),n=e.getViewPos());var o,r,s,a=e.getElementSize(i.targetElement),l=e.getViewSize(),d=e.getPickerOuterDims(i);switch(i.position.toLowerCase()){case"left":o=1,r=0,s=-1;break;case"right":o=1,r=0,s=1;break;case"top":o=0,r=1,s=-1;break;default:o=0,r=1,s=1}var c,h=(a[r]+d[r])/2;c=i.smartPosition?[-n[o]+t[o]+d[o]>l[o]&&-n[o]+t[o]+a[o]/2>l[o]/2&&t[o]+a[o]-d[o]>=0?t[o]+a[o]-d[o]:t[o],-n[r]+t[r]+a[r]+d[r]-h+h*s>l[r]?-n[r]+t[r]+a[r]/2>l[r]/2&&t[r]+a[r]-h-h*s>=0?t[r]+a[r]-h-h*s:t[r]+a[r]-h+h*s:t[r]+a[r]-h+h*s>=0?t[r]+a[r]-h+h*s:t[r]+a[r]-h-h*s]:[t[o],t[r]+a[r]-h+h*s];var u=c[o],p=c[r],m=i.fixed?"fixed":"absolute",v=(c[0]+d[0]>t[0]||c[0]<t[0]+a[0])&&c[1]+d[1]<t[1]+a[1];e._drawPosition(i,u,p,m,v)}},_drawPosition:function(t,n,i,o,r){var s=r?0:t.shadowBlur;e.picker.wrap.style.position=o,e.picker.wrap.style.left=n+"px",e.picker.wrap.style.top=i+"px",e.setBoxShadow(e.picker.boxS,t.shadow?new e.BoxShadow(0,s,t.shadowBlur,0,t.shadowColor):null)},getPickerDims:function(t){var n=!!e.getSliderComponent(t);return[2*t.insetWidth+2*t.padding+t.width+(n?2*t.insetWidth+e.getPadToSliderPadding(t)+t.sliderSize:0),2*t.insetWidth+2*t.padding+t.height+(t.closable?2*t.insetWidth+t.padding+t.buttonHeight:0)]},getPickerOuterDims:function(t){var n=e.getPickerDims(t);return[n[0]+2*t.borderWidth,n[1]+2*t.borderWidth]},getPadToSliderPadding:function(e){return Math.max(e.padding,1.5*(2*e.pointerBorderWidth+e.pointerThickness))},getPadYComponent:function(e){switch(e.mode.charAt(1).toLowerCase()){case"v":return"v"}return"s"},getSliderComponent:function(e){if(e.mode.length>2)switch(e.mode.charAt(2).toLowerCase()){case"s":return"s";case"v":return"v"}return null},onDocumentMouseDown:function(t){t||(t=window.event);var n=t.target||t.srcElement;n._jscLinkedInstance?n._jscLinkedInstance.showOnClick&&n._jscLinkedInstance.show():n._jscControlName?e.onControlPointerStart(t,n,n._jscControlName,"mouse"):e.picker&&e.picker.owner&&e.picker.owner.hide()},onDocumentTouchStart:function(t){t||(t=window.event);var n=t.target||t.srcElement;n._jscLinkedInstance?n._jscLinkedInstance.showOnClick&&n._jscLinkedInstance.show():n._jscControlName?e.onControlPointerStart(t,n,n._jscControlName,"touch"):e.picker&&e.picker.owner&&e.picker.owner.hide()},onWindowResize:function(t){e.redrawPosition()},onParentScroll:function(t){e.picker&&e.picker.owner&&e.picker.owner.hide()},_pointerMoveEvent:{mouse:"mousemove",touch:"touchmove"},_pointerEndEvent:{mouse:"mouseup",touch:"touchend"},_pointerOrigin:null,_capturedTarget:null,onControlPointerStart:function(t,n,i,o){var r=n._jscInstance;e.preventDefault(t),e.captureTarget(n);var s=function(r,s){e.attachGroupEvent("drag",r,e._pointerMoveEvent[o],e.onDocumentPointerMove(t,n,i,o,s)),e.attachGroupEvent("drag",r,e._pointerEndEvent[o],e.onDocumentPointerEnd(t,n,i,o))};if(s(document,[0,0]),window.parent&&window.frameElement){var a=window.frameElement.getBoundingClientRect(),l=[-a.left,-a.top];s(window.parent.window.document,l)}var d=e.getAbsPointerPos(t),c=e.getRelPointerPos(t);switch(e._pointerOrigin={x:d.x-c.x,y:d.y-c.y},i){case"pad":switch(e.getSliderComponent(r)){case"s":0===r.hsv[1]&&r.fromHSV(null,100,null);break;case"v":0===r.hsv[2]&&r.fromHSV(null,null,100)}e.setPad(r,t,0,0);break;case"sld":e.setSld(r,t,0)}e.dispatchFineChange(r)},onDocumentPointerMove:function(t,n,i,o,r){return function(t){var o=n._jscInstance;switch(i){case"pad":t||(t=window.event),e.setPad(o,t,r[0],r[1]),e.dispatchFineChange(o);break;case"sld":t||(t=window.event),e.setSld(o,t,r[1]),e.dispatchFineChange(o)}}},onDocumentPointerEnd:function(t,n,i,o){return function(t){var i=n._jscInstance;e.detachGroupEvents("drag"),e.releaseTarget(),e.dispatchChange(i)}},dispatchChange:function(t){t.valueElement&&e.isElementType(t.valueElement,"input")&&e.fireEvent(t.valueElement,"change")},dispatchFineChange:function(e){if(e.onFineChange){var t;t="string"==typeof e.onFineChange?new Function(e.onFineChange):e.onFineChange,t.call(e)}},setPad:function(t,n,i,o){var r=e.getAbsPointerPos(n),s=i+r.x-e._pointerOrigin.x-t.padding-t.insetWidth,a=o+r.y-e._pointerOrigin.y-t.padding-t.insetWidth,l=s*(360/(t.width-1)),d=100-a*(100/(t.height-1));switch(e.getPadYComponent(t)){case"s":t.fromHSV(l,d,null,e.leaveSld);break;case"v":t.fromHSV(l,null,d,e.leaveSld)}},setSld:function(t,n,i){var o=e.getAbsPointerPos(n),r=i+o.y-e._pointerOrigin.y-t.padding-t.insetWidth,s=100-r*(100/(t.height-1));switch(e.getSliderComponent(t)){case"s":t.fromHSV(null,s,null,e.leavePad);break;case"v":t.fromHSV(null,null,s,e.leavePad)}},_vmlNS:"jsc_vml_",_vmlCSS:"jsc_vml_css_",_vmlReady:!1,initVML:function(){if(!e._vmlReady){var t=document;if(t.namespaces[e._vmlNS]||t.namespaces.add(e._vmlNS,"urn:schemas-microsoft-com:vml"),!t.styleSheets[e._vmlCSS]){var n=["shape","shapetype","group","background","path","formulas","handles","fill","stroke","shadow","textbox","textpath","imagedata","line","polyline","curve","rect","roundrect","oval","arc","image"],i=t.createStyleSheet();i.owningElement.id=e._vmlCSS;for(var o=0;o<n.length;o+=1)i.addRule(e._vmlNS+"\\:"+n[o],"behavior:url(#default#VML);")}e._vmlReady=!0}},createPalette:function(){var t={elm:null,draw:null};if(e.isCanvasSupported){var n=document.createElement("canvas"),i=n.getContext("2d"),o=function(e,t,o){n.width=e,n.height=t,i.clearRect(0,0,n.width,n.height);var r=i.createLinearGradient(0,0,n.width,0);r.addColorStop(0,"#F00"),r.addColorStop(1/6,"#FF0"),r.addColorStop(2/6,"#0F0"),r.addColorStop(.5,"#0FF"),r.addColorStop(4/6,"#00F"),r.addColorStop(5/6,"#F0F"),r.addColorStop(1,"#F00"),i.fillStyle=r,i.fillRect(0,0,n.width,n.height);var s=i.createLinearGradient(0,0,0,n.height);switch(o.toLowerCase()){case"s":s.addColorStop(0,"rgba(255,255,255,0)"),s.addColorStop(1,"rgba(255,255,255,1)");break;case"v":s.addColorStop(0,"rgba(0,0,0,0)"),s.addColorStop(1,"rgba(0,0,0,1)")}i.fillStyle=s,i.fillRect(0,0,n.width,n.height)};t.elm=n,t.draw=o}else{e.initVML();var r=document.createElement("div");r.style.position="relative",r.style.overflow="hidden";var s=document.createElement(e._vmlNS+":fill");s.type="gradient",s.method="linear",s.angle="90",s.colors="16.67% #F0F, 33.33% #00F, 50% #0FF, 66.67% #0F0, 83.33% #FF0";var a=document.createElement(e._vmlNS+":rect");a.style.position="absolute",a.style.left="-1px",a.style.top="-1px",a.stroked=!1,a.appendChild(s),r.appendChild(a);var l=document.createElement(e._vmlNS+":fill");l.type="gradient",l.method="linear",l.angle="180",l.opacity="0";var d=document.createElement(e._vmlNS+":rect");d.style.position="absolute",d.style.left="-1px",d.style.top="-1px",d.stroked=!1,d.appendChild(l),r.appendChild(d);var o=function(e,t,n){switch(r.style.width=e+"px",r.style.height=t+"px",a.style.width=d.style.width=e+1+"px",a.style.height=d.style.height=t+1+"px",s.color="#F00",s.color2="#F00",n.toLowerCase()){case"s":l.color=l.color2="#FFF";break;case"v":l.color=l.color2="#000"}};t.elm=r,t.draw=o}return t},createSliderGradient:function(){var t={elm:null,draw:null};if(e.isCanvasSupported){var n=document.createElement("canvas"),i=n.getContext("2d"),o=function(e,t,o,r){n.width=e,n.height=t,i.clearRect(0,0,n.width,n.height);var s=i.createLinearGradient(0,0,0,n.height);s.addColorStop(0,o),s.addColorStop(1,r),i.fillStyle=s,i.fillRect(0,0,n.width,n.height)};t.elm=n,t.draw=o}else{e.initVML();var r=document.createElement("div");r.style.position="relative",r.style.overflow="hidden";var s=document.createElement(e._vmlNS+":fill");s.type="gradient",s.method="linear",s.angle="180";var a=document.createElement(e._vmlNS+":rect");a.style.position="absolute",a.style.left="-1px",a.style.top="-1px",a.stroked=!1,a.appendChild(s),r.appendChild(a);var o=function(e,t,n,i){r.style.width=e+"px",r.style.height=t+"px",a.style.width=e+1+"px",a.style.height=t+1+"px",s.color=n,s.color2=i};t.elm=r,t.draw=o}return t},leaveValue:1,leaveStyle:2,leavePad:4,leaveSld:8,BoxShadow:function(){var e=function(e,t,n,i,o,r){this.hShadow=e,this.vShadow=t,this.blur=n,this.spread=i,this.color=o,this.inset=!!r};return e.prototype.toString=function(){var e=[Math.round(this.hShadow)+"px",Math.round(this.vShadow)+"px",Math.round(this.blur)+"px",Math.round(this.spread)+"px",this.color];return this.inset&&e.push("inset"),e.join(" ")},e}(),jscolor:function(t,n){function i(e,t,n){e/=255,t/=255,n/=255;var i=Math.min(Math.min(e,t),n),o=Math.max(Math.max(e,t),n),r=o-i;if(0===r)return[null,0,100*o];var s=e===i?3+(n-t)/r:t===i?5+(e-n)/r:1+(t-e)/r;return[60*(6===s?0:s),r/o*100,100*o]}function o(e,t,n){var i=n/100*255;if(null===e)return[i,i,i];e/=60,t/=100;var o=Math.floor(e),r=o%2?e-o:1-(e-o),s=i*(1-t),a=i*(1-t*r);switch(o){case 6:case 0:return[i,a,s];case 1:return[a,i,s];case 2:return[s,i,a];case 3:return[s,a,i];case 4:return[a,s,i];case 5:return[i,s,a]}}function r(){e.unsetClass(m.targetElement,m.activeClass),e.picker.wrap.parentNode.removeChild(e.picker.wrap),delete e.picker.owner}function s(){m._processParentElementsInDOM(),e.picker||(e.picker={owner:null,wrap:document.createElement("div"),box:document.createElement("div"),boxS:document.createElement("div"),boxB:document.createElement("div"),pad:document.createElement("div"),padB:document.createElement("div"),padM:document.createElement("div"),padPal:e.createPalette(),cross:document.createElement("div"),crossBY:document.createElement("div"),crossBX:document.createElement("div"),crossLY:document.createElement("div"),crossLX:document.createElement("div"),sld:document.createElement("div"),sldB:document.createElement("div"),sldM:document.createElement("div"),sldGrad:e.createSliderGradient(),sldPtrS:document.createElement("div"),sldPtrIB:document.createElement("div"),sldPtrMB:document.createElement("div"),sldPtrOB:document.createElement("div"),btn:document.createElement("div"),btnT:document.createElement("span")},e.picker.pad.appendChild(e.picker.padPal.elm),e.picker.padB.appendChild(e.picker.pad),e.picker.cross.appendChild(e.picker.crossBY),e.picker.cross.appendChild(e.picker.crossBX),e.picker.cross.appendChild(e.picker.crossLY),e.picker.cross.appendChild(e.picker.crossLX),e.picker.padB.appendChild(e.picker.cross),e.picker.box.appendChild(e.picker.padB),e.picker.box.appendChild(e.picker.padM),e.picker.sld.appendChild(e.picker.sldGrad.elm),e.picker.sldB.appendChild(e.picker.sld),e.picker.sldB.appendChild(e.picker.sldPtrOB),e.picker.sldPtrOB.appendChild(e.picker.sldPtrMB),e.picker.sldPtrMB.appendChild(e.picker.sldPtrIB),e.picker.sldPtrIB.appendChild(e.picker.sldPtrS),e.picker.box.appendChild(e.picker.sldB),e.picker.box.appendChild(e.picker.sldM),e.picker.btn.appendChild(e.picker.btnT),e.picker.box.appendChild(e.picker.btn),e.picker.boxB.appendChild(e.picker.box),e.picker.wrap.appendChild(e.picker.boxS),e.picker.wrap.appendChild(e.picker.boxB));var t=e.picker,n=!!e.getSliderComponent(m),i=e.getPickerDims(m),o=2*m.pointerBorderWidth+m.pointerThickness+2*m.crossSize,r=e.getPadToSliderPadding(m),s=Math.min(m.borderRadius,Math.round(m.padding*Math.PI));t.wrap.style.clear="both",t.wrap.style.width=i[0]+2*m.borderWidth+"px",t.wrap.style.height=i[1]+2*m.borderWidth+"px",t.wrap.style.zIndex=m.zIndex,t.box.style.width=i[0]+"px",t.box.style.height=i[1]+"px",t.boxS.style.position="absolute",t.boxS.style.left="0",t.boxS.style.top="0",t.boxS.style.width="100%",t.boxS.style.height="100%",e.setBorderRadius(t.boxS,s+"px"),t.boxB.style.position="relative",t.boxB.style.border=m.borderWidth+"px solid",t.boxB.style.borderColor=m.borderColor,t.boxB.style.background=m.backgroundColor,e.setBorderRadius(t.boxB,s+"px"),t.padM.style.background=t.sldM.style.background="#FFF",e.setStyle(t.padM,"opacity","0"),e.setStyle(t.sldM,"opacity","0"),t.pad.style.position="relative",t.pad.style.width=m.width+"px",t.pad.style.height=m.height+"px",t.padPal.draw(m.width,m.height,e.getPadYComponent(m)),t.padB.style.position="absolute",t.padB.style.left=m.padding+"px",t.padB.style.top=m.padding+"px",t.padB.style.border=m.insetWidth+"px solid",t.padB.style.borderColor=m.insetColor,t.padM._jscInstance=m,t.padM._jscControlName="pad",t.padM.style.position="absolute",t.padM.style.left="0",t.padM.style.top="0",t.padM.style.width=m.padding+2*m.insetWidth+m.width+r/2+"px",t.padM.style.height=i[1]+"px",t.padM.style.cursor="crosshair",t.cross.style.position="absolute",t.cross.style.left=t.cross.style.top="0",t.cross.style.width=t.cross.style.height=o+"px",t.crossBY.style.position=t.crossBX.style.position="absolute",t.crossBY.style.background=t.crossBX.style.background=m.pointerBorderColor,t.crossBY.style.width=t.crossBX.style.height=2*m.pointerBorderWidth+m.pointerThickness+"px",t.crossBY.style.height=t.crossBX.style.width=o+"px",t.crossBY.style.left=t.crossBX.style.top=Math.floor(o/2)-Math.floor(m.pointerThickness/2)-m.pointerBorderWidth+"px",t.crossBY.style.top=t.crossBX.style.left="0",t.crossLY.style.position=t.crossLX.style.position="absolute",t.crossLY.style.background=t.crossLX.style.background=m.pointerColor,t.crossLY.style.height=t.crossLX.style.width=o-2*m.pointerBorderWidth+"px",t.crossLY.style.width=t.crossLX.style.height=m.pointerThickness+"px",t.crossLY.style.left=t.crossLX.style.top=Math.floor(o/2)-Math.floor(m.pointerThickness/2)+"px",t.crossLY.style.top=t.crossLX.style.left=m.pointerBorderWidth+"px",t.sld.style.overflow="hidden",t.sld.style.width=m.sliderSize+"px",t.sld.style.height=m.height+"px",t.sldGrad.draw(m.sliderSize,m.height,"#000","#000"),t.sldB.style.display=n?"block":"none",t.sldB.style.position="absolute",t.sldB.style.right=m.padding+"px",t.sldB.style.top=m.padding+"px",t.sldB.style.border=m.insetWidth+"px solid",t.sldB.style.borderColor=m.insetColor,t.sldM._jscInstance=m,t.sldM._jscControlName="sld",t.sldM.style.display=n?"block":"none",t.sldM.style.position="absolute",t.sldM.style.right="0",t.sldM.style.top="0",t.sldM.style.width=m.sliderSize+r/2+m.padding+2*m.insetWidth+"px",t.sldM.style.height=i[1]+"px",t.sldM.style.cursor="default",t.sldPtrIB.style.border=t.sldPtrOB.style.border=m.pointerBorderWidth+"px solid "+m.pointerBorderColor,t.sldPtrOB.style.position="absolute",t.sldPtrOB.style.left=-(2*m.pointerBorderWidth+m.pointerThickness)+"px",t.sldPtrOB.style.top="0",t.sldPtrMB.style.border=m.pointerThickness+"px solid "+m.pointerColor,t.sldPtrS.style.width=m.sliderSize+"px",t.sldPtrS.style.height=f+"px",t.btn.style.display=m.closable?"block":"none",t.btn.style.position="absolute",t.btn.style.left=m.padding+"px",t.btn.style.bottom=m.padding+"px",t.btn.style.padding="0 15px",t.btn.style.height=m.buttonHeight+"px",t.btn.style.border=m.insetWidth+"px solid",function(){var e=m.insetColor.split(/\s+/),n=e.length<2?e[0]:e[1]+" "+e[0]+" "+e[0]+" "+e[1];t.btn.style.borderColor=n}(),t.btn.style.color=m.buttonColor,t.btn.style.font="12px sans-serif",t.btn.style.textAlign="center";try{t.btn.style.cursor="pointer"}catch(e){t.btn.style.cursor="hand"}t.btn.onmousedown=function(){m.hide()},t.btnT.style.lineHeight=m.buttonHeight+"px",t.btnT.innerHTML="",t.btnT.appendChild(document.createTextNode(m.closeText)),a(),l(),e.picker.owner&&e.picker.owner!==m&&e.unsetClass(e.picker.owner.targetElement,m.activeClass),e.picker.owner=m,e.isElementType(v,"body")?e.redrawPosition():e._drawPosition(m,0,0,"relative",!1),t.wrap.parentNode!=v&&v.appendChild(t.wrap),e.setClass(m.targetElement,m.activeClass)}function a(){switch(e.getPadYComponent(m)){case"s":var t=1;break;case"v":var t=2}var n=Math.round(m.hsv[0]/360*(m.width-1)),i=Math.round((1-m.hsv[t]/100)*(m.height-1)),r=2*m.pointerBorderWidth+m.pointerThickness+2*m.crossSize,s=-Math.floor(r/2);switch(e.picker.cross.style.left=n+s+"px",e.picker.cross.style.top=i+s+"px",e.getSliderComponent(m)){case"s":var a=o(m.hsv[0],100,m.hsv[2]),l=o(m.hsv[0],0,m.hsv[2]),d="rgb("+Math.round(a[0])+","+Math.round(a[1])+","+Math.round(a[2])+")",c="rgb("+Math.round(l[0])+","+Math.round(l[1])+","+Math.round(l[2])+")";e.picker.sldGrad.draw(m.sliderSize,m.height,d,c);break;case"v":var h=o(m.hsv[0],m.hsv[1],100),d="rgb("+Math.round(h[0])+","+Math.round(h[1])+","+Math.round(h[2])+")",c="#000";e.picker.sldGrad.draw(m.sliderSize,m.height,d,c)}}function l(){var t=e.getSliderComponent(m);if(t){switch(t){case"s":var n=1;break;case"v":var n=2}var i=Math.round((1-m.hsv[n]/100)*(m.height-1));e.picker.sldPtrOB.style.top=i-(2*m.pointerBorderWidth+m.pointerThickness)-Math.floor(f/2)+"px"}}function d(){return e.picker&&e.picker.owner===m}function c(){m.importColor()}this.value=null,this.valueElement=t,this.styleElement=t,this.required=!0,this.refine=!0,this.hash=!1,this.uppercase=!0,this.onFineChange=null,this.activeClass="jscolor-active",this.minS=0,this.maxS=100,this.minV=0,this.maxV=100,this.hsv=[0,0,100],this.rgb=[255,255,255],this.width=181,this.height=101,this.showOnClick=!0,this.mode="HSV",this.position="bottom",this.smartPosition=!0,this.sliderSize=16,this.crossSize=8,this.closable=!1,this.closeText="Close",this.buttonColor="#000000",this.buttonHeight=18,this.padding=12,this.backgroundColor="#FFFFFF",this.borderWidth=1,this.borderColor="#BBBBBB",this.borderRadius=8,this.insetWidth=1,this.insetColor="#BBBBBB",this.shadow=!0,this.shadowBlur=15,this.shadowColor="rgba(0,0,0,0.2)",this.pointerColor="#4C4C4C",this.pointerBorderColor="#FFFFFF",this.pointerBorderWidth=1,this.pointerThickness=2,this.zIndex=1e3,this.container=null;for(var h in n)n.hasOwnProperty(h)&&(this[h]=n[h]);if(this.hide=function(){d()&&r()},this.show=function(){s()},this.redraw=function(){d()&&s()},this.importColor=function(){this.valueElement&&e.isElementType(this.valueElement,"input")?this.refine?!this.required&&/^\s*$/.test(this.valueElement.value)?(this.valueElement.value="",this.styleElement&&(this.styleElement.style.backgroundImage=this.styleElement._jscOrigStyle.backgroundImage,this.styleElement.style.backgroundColor=this.styleElement._jscOrigStyle.backgroundColor,this.styleElement.style.color=this.styleElement._jscOrigStyle.color),this.exportColor(e.leaveValue|e.leaveStyle)):this.fromString(this.valueElement.value)||this.exportColor():this.fromString(this.valueElement.value,e.leaveValue)||(this.styleElement&&(this.styleElement.style.backgroundImage=this.styleElement._jscOrigStyle.backgroundImage,this.styleElement.style.backgroundColor=this.styleElement._jscOrigStyle.backgroundColor,this.styleElement.style.color=this.styleElement._jscOrigStyle.color),this.exportColor(e.leaveValue|e.leaveStyle)):this.exportColor()},this.exportColor=function(t){if(!(t&e.leaveValue)&&this.valueElement){var n=this.toString();this.uppercase&&(n=n.toUpperCase()),this.hash&&(n="#"+n),e.isElementType(this.valueElement,"input")?this.valueElement.value=n:this.valueElement.innerHTML=n}t&e.leaveStyle||this.styleElement&&(this.styleElement.style.backgroundImage="none",this.styleElement.style.backgroundColor="#"+this.toString(),this.styleElement.style.color=this.isLight()?"#000":"#FFF"),t&e.leavePad||!d()||a(),t&e.leaveSld||!d()||l()},this.fromHSV=function(e,t,n,i){if(null!==e){if(isNaN(e))return!1;e=Math.max(0,Math.min(360,e))}if(null!==t){if(isNaN(t))return!1;t=Math.max(0,Math.min(100,this.maxS,t),this.minS)}if(null!==n){if(isNaN(n))return!1;n=Math.max(0,Math.min(100,this.maxV,n),this.minV)}this.rgb=o(null===e?this.hsv[0]:this.hsv[0]=e,null===t?this.hsv[1]:this.hsv[1]=t,null===n?this.hsv[2]:this.hsv[2]=n),this.exportColor(i)},this.fromRGB=function(e,t,n,r){if(null!==e){if(isNaN(e))return!1;e=Math.max(0,Math.min(255,e))}if(null!==t){if(isNaN(t))return!1;t=Math.max(0,Math.min(255,t))}if(null!==n){if(isNaN(n))return!1;n=Math.max(0,Math.min(255,n))}var s=i(null===e?this.rgb[0]:e,null===t?this.rgb[1]:t,null===n?this.rgb[2]:n);null!==s[0]&&(this.hsv[0]=Math.max(0,Math.min(360,s[0]))),0!==s[2]&&(this.hsv[1]=null===s[1]?null:Math.max(0,this.minS,Math.min(100,this.maxS,s[1]))),this.hsv[2]=null===s[2]?null:Math.max(0,this.minV,Math.min(100,this.maxV,s[2]));var a=o(this.hsv[0],this.hsv[1],this.hsv[2]);this.rgb[0]=a[0],this.rgb[1]=a[1],this.rgb[2]=a[2],this.exportColor(r)},this.fromString=function(e,t){
|
2 |
-
var n;if(n=e.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i))return 6===n[1].length?this.fromRGB(parseInt(n[1].substr(0,2),16),parseInt(n[1].substr(2,2),16),parseInt(n[1].substr(4,2),16),t):this.fromRGB(parseInt(n[1].charAt(0)+n[1].charAt(0),16),parseInt(n[1].charAt(1)+n[1].charAt(1),16),parseInt(n[1].charAt(2)+n[1].charAt(2),16),t),!0;if(n=e.match(/^\W*rgba?\(([^)]*)\)\W*$/i)){var i,o,r,s=n[1].split(","),a=/^\s*(\d*)(\.\d+)?\s*$/;if(s.length>=3&&(i=s[0].match(a))&&(o=s[1].match(a))&&(r=s[2].match(a))){var l=parseFloat((i[1]||"0")+(i[2]||"")),d=parseFloat((o[1]||"0")+(o[2]||"")),c=parseFloat((r[1]||"0")+(r[2]||""));return this.fromRGB(l,d,c,t),!0}}return!1},this.toString=function(){return(256|Math.round(this.rgb[0])).toString(16).substr(1)+(256|Math.round(this.rgb[1])).toString(16).substr(1)+(256|Math.round(this.rgb[2])).toString(16).substr(1)},this.toHEXString=function(){return"#"+this.toString().toUpperCase()},this.toRGBString=function(){return"rgb("+Math.round(this.rgb[0])+","+Math.round(this.rgb[1])+","+Math.round(this.rgb[2])+")"},this.isLight=function(){return.213*this.rgb[0]+.715*this.rgb[1]+.072*this.rgb[2]>127.5},this._processParentElementsInDOM=function(){if(!this._linkedElementsProcessed){this._linkedElementsProcessed=!0;var t=this.targetElement;do{var n=e.getStyle(t);n&&"fixed"===n.position.toLowerCase()&&(this.fixed=!0),t!==this.targetElement&&(t._jscEventsAttached||(e.attachEvent(t,"scroll",e.onParentScroll),t._jscEventsAttached=!0))}while((t=t.parentNode)&&!e.isElementType(t,"body"))}},"string"==typeof t){var u=t,p=document.getElementById(u);p?this.targetElement=p:e.warn("Could not find target element with ID '"+u+"'")}else t?this.targetElement=t:e.warn("Invalid target element: '"+t+"'");if(this.targetElement._jscLinkedInstance)return void e.warn("Cannot link jscolor twice to the same element. Skipping.");this.targetElement._jscLinkedInstance=this,this.valueElement=e.fetchElement(this.valueElement),this.styleElement=e.fetchElement(this.styleElement);var m=this,v=this.container?e.fetchElement(this.container):document.getElementsByTagName("body")[0],f=3;if(e.isElementType(this.targetElement,"button"))if(this.targetElement.onclick){var g=this.targetElement.onclick;this.targetElement.onclick=function(e){return g.call(this,e),!1}}else this.targetElement.onclick=function(){return!1};if(this.valueElement&&e.isElementType(this.valueElement,"input")){var y=function(){m.fromString(m.valueElement.value,e.leaveValue),e.dispatchFineChange(m)};e.attachEvent(this.valueElement,"keyup",y),e.attachEvent(this.valueElement,"input",y),e.attachEvent(this.valueElement,"blur",c),this.valueElement.setAttribute("autocomplete","off")}this.styleElement&&(this.styleElement._jscOrigStyle={backgroundImage:this.styleElement.style.backgroundImage,backgroundColor:this.styleElement.style.backgroundColor,color:this.styleElement.style.color}),this.value?this.fromString(this.value)||this.exportColor():this.importColor()}};return e.jscolor.lookupClass="jscolor",e.jscolor.installByClassName=function(t){var n=document.getElementsByTagName("input"),i=document.getElementsByTagName("button");e.tryInstallOnElements(n,t),e.tryInstallOnElements(i,t)},e.register(),e.jscolor}()),function(e){var t={common:{init:function(){e(document).on("keyup","input[name=moove_gdpr_company_logo]",function(){console.log("changed"),e(".moove_gdpr_company_logo_holder").css("background-image","url("+e(this).val()+")")})},finalize:function(){}},home:{init:function(){},finalize:function(){}},about_us:{init:function(){}}},n={fire:function(e,n,i){var o,r=t;n=void 0===n?"init":n,o=""!==e,o=o&&r[e],(o=o&&"function"==typeof r[e][n])&&r[e][n](i)},loadEvents:function(){n.fire("common"),e.each(document.body.className.replace(/-/g,"_").split(/\s+/),function(e,t){n.fire(t),n.fire(t,"finalize")}),n.fire("common","finalize")}};e(document).ready(n.loadEvents)}(jQuery);
|
1 |
+
!function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(e,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(e,require("jquery")):e.lity=t(e,e.jQuery||e.Zepto)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(e){var t=M();return R&&e.length?(e.one(R,t.resolve),setTimeout(t.resolve,500)):t.resolve(),t.promise()}function i(e,n,i){if(1===arguments.length)return t.extend({},e);if("string"==typeof n){if(void 0===i)return void 0===e[n]?null:e[n];e[n]=i}else t.extend(e,n);return this}function o(e){for(var t,n=decodeURI(e.split("#")[0]).split("&"),i={},o=0,r=n.length;o<r;o++)n[o]&&(t=n[o].split("="),i[t[0]]=t[1]);return i}function r(e,n){return e+(e.indexOf("?")>-1?"&":"?")+t.param(n)}function s(e,t){var n=e.indexOf("#");return-1===n?t:(n>0&&(e=e.substr(n)),t+e)}function a(e){return t('<span class="lity-error"/>').append(e)}function l(e,n){var i=n.opener()&&n.opener().data("lity-desc")||"Image with no description",o=t('<img src="'+e+'" alt="'+i+'"/>'),r=M(),s=function(){r.reject(a("Failed loading image"))};return o.on("load",function(){if(0===this.naturalWidth)return s();r.resolve(o)}).on("error",s),r.promise()}function d(e,n){var i,o,r;try{i=t(e)}catch(e){return!1}return!!i.length&&(o=t('<i style="display:none !important"/>'),r=i.hasClass("lity-hide"),n.element().one("lity:remove",function(){o.before(i).remove(),r&&!i.closest(".lity-content").length&&i.addClass("lity-hide")}),i.removeClass("lity-hide").after(o))}function c(e){var n=O.exec(e);return!!n&&m(s(e,r("https://www.youtube"+(n[2]||"")+".com/embed/"+n[4],t.extend({autoplay:1},o(n[5]||"")))))}function h(e){var n=I.exec(e);return!!n&&m(s(e,r("https://player.vimeo.com/video/"+n[3],t.extend({autoplay:1},o(n[4]||"")))))}function u(e){var n=D.exec(e);return!!n&&(0!==e.indexOf("http")&&(e="https:"+e),m(s(e,r("https://www.facebook.com/plugins/video.php?href="+e,t.extend({autoplay:1},o(n[4]||""))))))}function p(e){var t=W.exec(e);return!!t&&m(s(e,r("https://www.google."+t[3]+"/maps?"+t[6],{output:t[6].indexOf("layer=c")>0?"svembed":"embed"})))}function m(e){return'<div class="lity-iframe-container"><iframe frameborder="0" allowfullscreen src="'+e+'"/></div>'}function v(){return S.documentElement.clientHeight?S.documentElement.clientHeight:Math.round(B.height())}function f(e){var t=E();t&&(27===e.keyCode&&t.options("esc")&&t.close(),9===e.keyCode&&g(e,t))}function g(e,t){var n=t.element().find(F),i=n.index(S.activeElement);e.shiftKey&&i<=0?(n.get(n.length-1).focus(),e.preventDefault()):e.shiftKey||i!==n.length-1||(n.get(0).focus(),e.preventDefault())}function y(){t.each(P,function(e,t){t.resize()})}function w(e){1===P.unshift(e)&&(_.addClass("lity-active"),B.on({resize:y,keydown:f})),t("body > *").not(e.element()).addClass("lity-hidden").each(function(){var e=t(this);void 0===e.data(L)&&e.data(L,e.attr(T)||null)}).attr(T,"true")}function b(e){var n;e.element().attr(T,"true"),1===P.length&&(_.removeClass("lity-active"),B.off({resize:y,keydown:f})),P=t.grep(P,function(t){return e!==t}),n=P.length?P[0].element():t(".lity-hidden"),n.removeClass("lity-hidden").each(function(){var e=t(this),n=e.data(L);n?e.attr(T,n):e.removeAttr(T),e.removeData(L)})}function E(){return 0===P.length?null:P[0]}function C(e,n,i,o){var r,s="inline",a=t.extend({},i);return o&&a[o]?(r=a[o](e,n),s=o):(t.each(["inline","iframe"],function(e,t){delete a[t],a[t]=i[t]}),t.each(a,function(t,i){return!i||!(!i.test||i.test(e,n))||(r=i(e,n),!1!==r?(s=t,!1):void 0)})),{handler:s,content:r||""}}function x(e,o,r,s){function a(e){c=t(e).css("max-height",v()+"px"),d.find(".lity-loader").each(function(){var e=t(this);n(e).always(function(){e.remove()})}),d.removeClass("lity-loading").find(".lity-content").empty().append(c),u=!0,c.trigger("lity:ready",[h])}var l,d,c,h=this,u=!1,p=!1;o=t.extend({},j,o),d=t(o.template),h.element=function(){return d},h.opener=function(){return r},h.options=t.proxy(i,h,o),h.handlers=t.proxy(i,h,o.handlers),h.resize=function(){u&&!p&&c.css("max-height",v()+"px").trigger("lity:resize",[h])},h.close=function(){if(u&&!p){p=!0,b(h);var e=M();if(s&&(S.activeElement===d[0]||t.contains(d[0],S.activeElement)))try{s.focus()}catch(e){}return c.trigger("lity:close",[h]),d.removeClass("lity-opened").addClass("lity-closed"),n(c.add(d)).always(function(){c.trigger("lity:remove",[h]),d.remove(),d=void 0,e.resolve()}),e.promise()}},l=C(e,h,o.handlers,o.handler),d.attr(T,"false").addClass("lity-loading lity-opened lity-"+l.handler).appendTo("body").focus().on("click","[data-lity-close]",function(e){t(e.target).is("[data-lity-close]")&&h.close()}).trigger("lity:open",[h]),w(h),t.when(l.content).always(a)}function k(e,n,i){e.preventDefault?(e.preventDefault(),i=t(this),e=i.data("lity-target")||i.attr("href")||i.attr("src")):i=t(i);var o=new x(e,t.extend({},i.data("lity-options")||i.data("lity"),n),i,S.activeElement);if(!e.preventDefault)return o}var S=e.document,B=t(e),M=t.Deferred,_=t("html"),P=[],T="aria-hidden",L="lity-"+T,F='a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable],[tabindex]:not([tabindex^="-"])',j={esc:!0,handler:null,handlers:{image:l,inline:d,youtube:c,vimeo:h,googlemaps:p,facebookvideo:u,iframe:m},template:'<div class="lity" role="dialog" aria-label="Dialog Window (Press escape to close)" tabindex="-1"><div class="lity-wrap" data-lity-close role="document"><div class="lity-loader" aria-hidden="true">Loading...</div><div class="lity-container"><div class="lity-content"></div><button class="lity-close" type="button" aria-label="Close (Press escape to close)" data-lity-close>×</button></div></div></div>'},N=/(^data:image\/)|(\.(png|jpe?g|gif|svg|webp|bmp|ico|tiff?)(\?\S*)?$)/i,O=/(youtube(-nocookie)?\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?([\w-]{11})(.*)?/i,I=/(vimeo(pro)?.com)\/(?:[^\d]+)?(\d+)\??(.*)?$/,W=/((maps|www)\.)?google\.([^\/\?]+)\/?((maps\/?)?\?)(.*)/i,D=/(facebook\.com)\/([a-z0-9_-]*)\/videos\/([0-9]*)(.*)?$/i,R=function(){var e=S.createElement("div"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return t[n];return!1}();return l.test=function(e){return N.test(e)},k.version="2.2.2",k.options=t.proxy(i,k,j),k.handlers=t.proxy(i,k,j.handlers),k.current=E,t(S).on("click.lity","[data-lity]",k),k}),window.jscolor||(window.jscolor=function(){var e={register:function(){e.attachDOMReadyEvent(e.init),e.attachEvent(document,"mousedown",e.onDocumentMouseDown),e.attachEvent(document,"touchstart",e.onDocumentTouchStart),e.attachEvent(window,"resize",e.onWindowResize)},init:function(){e.jscolor.lookupClass&&e.jscolor.installByClassName(e.jscolor.lookupClass)},tryInstallOnElements:function(t,n){for(var i=new RegExp("(^|\\s)("+n+")(\\s*(\\{[^}]*\\})|\\s|$)","i"),o=0;o<t.length;o+=1)if(void 0===t[o].type||"color"!==t[o].type.toLowerCase()||!e.isColorAttrSupported){var r;if(!t[o].jscolor&&t[o].className&&(r=t[o].className.match(i))){var s=t[o],a=null,l=e.getDataAttr(s,"jscolor");null!==l?a=l:r[4]&&(a=r[4]);var d={};if(a)try{d=new Function("return ("+a+")")()}catch(t){e.warn("Error parsing jscolor options: "+t+":\n"+a)}s.jscolor=new e.jscolor(s,d)}}},isColorAttrSupported:function(){var e=document.createElement("input");return!(!e.setAttribute||(e.setAttribute("type","color"),"color"!==e.type.toLowerCase()))}(),isCanvasSupported:function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))}(),fetchElement:function(e){return"string"==typeof e?document.getElementById(e):e},isElementType:function(e,t){return e.nodeName.toLowerCase()===t.toLowerCase()},getDataAttr:function(e,t){var n="data-"+t,i=e.getAttribute(n);return null!==i?i:null},attachEvent:function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)},detachEvent:function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n)},_attachedGroupEvents:{},attachGroupEvent:function(t,n,i,o){e._attachedGroupEvents.hasOwnProperty(t)||(e._attachedGroupEvents[t]=[]),e._attachedGroupEvents[t].push([n,i,o]),e.attachEvent(n,i,o)},detachGroupEvents:function(t){if(e._attachedGroupEvents.hasOwnProperty(t)){for(var n=0;n<e._attachedGroupEvents[t].length;n+=1){var i=e._attachedGroupEvents[t][n];e.detachEvent(i[0],i[1],i[2])}delete e._attachedGroupEvents[t]}},attachDOMReadyEvent:function(e){var t=!1,n=function(){t||(t=!0,e())};if("complete"===document.readyState)return void setTimeout(n,1);if(document.addEventListener)document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1);else if(document.attachEvent&&(document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",arguments.callee),n())}),window.attachEvent("onload",n),document.documentElement.doScroll&&window===window.top)){var i=function(){if(document.body)try{document.documentElement.doScroll("left"),n()}catch(e){setTimeout(i,1)}};i()}},warn:function(e){window.console&&window.console.warn&&window.console.warn(e)},preventDefault:function(e){e.preventDefault&&e.preventDefault(),e.returnValue=!1},captureTarget:function(t){t.setCapture&&(e._capturedTarget=t,e._capturedTarget.setCapture())},releaseTarget:function(){e._capturedTarget&&(e._capturedTarget.releaseCapture(),e._capturedTarget=null)},fireEvent:function(e,t){if(e){var n;document.createEvent?(n=document.createEvent("HTMLEvents"),n.initEvent(t,!0,!0),e.dispatchEvent(n)):document.createEventObject?(n=document.createEventObject(),e.fireEvent("on"+t,n)):e["on"+t]&&e["on"+t]()}},classNameToList:function(e){return e.replace(/^\s+|\s+$/g,"").split(/\s+/)},hasClass:function(e,t){return!!t&&-1!==(" "+e.className.replace(/\s+/g," ")+" ").indexOf(" "+t+" ")},setClass:function(t,n){for(var i=e.classNameToList(n),o=0;o<i.length;o+=1)e.hasClass(t,i[o])||(t.className+=(t.className?" ":"")+i[o])},unsetClass:function(t,n){for(var i=e.classNameToList(n),o=0;o<i.length;o+=1){var r=new RegExp("^\\s*"+i[o]+"\\s*|\\s*"+i[o]+"\\s*$|\\s+"+i[o]+"(\\s+)","g");t.className=t.className.replace(r,"$1")}},getStyle:function(e){return window.getComputedStyle?window.getComputedStyle(e):e.currentStyle},setStyle:function(){var e=document.createElement("div"),t=function(t){for(var n=0;n<t.length;n+=1)if(t[n]in e.style)return t[n]},n={borderRadius:t(["borderRadius","MozBorderRadius","webkitBorderRadius"]),boxShadow:t(["boxShadow","MozBoxShadow","webkitBoxShadow"])};return function(e,t,i){switch(t.toLowerCase()){case"opacity":var o=Math.round(100*parseFloat(i));e.style.opacity=i,e.style.filter="alpha(opacity="+o+")";break;default:e.style[n[t]]=i}}}(),setBorderRadius:function(t,n){e.setStyle(t,"borderRadius",n||"0")},setBoxShadow:function(t,n){e.setStyle(t,"boxShadow",n||"none")},getElementPos:function(t,n){var i=0,o=0,r=t.getBoundingClientRect();if(i=r.left,o=r.top,!n){var s=e.getViewPos();i+=s[0],o+=s[1]}return[i,o]},getElementSize:function(e){return[e.offsetWidth,e.offsetHeight]},getAbsPointerPos:function(e){e||(e=window.event);var t=0,n=0;return void 0!==e.changedTouches&&e.changedTouches.length?(t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY):"number"==typeof e.clientX&&(t=e.clientX,n=e.clientY),{x:t,y:n}},getRelPointerPos:function(e){e||(e=window.event);var t=e.target||e.srcElement,n=t.getBoundingClientRect(),i=0,o=0,r=0,s=0;return void 0!==e.changedTouches&&e.changedTouches.length?(r=e.changedTouches[0].clientX,s=e.changedTouches[0].clientY):"number"==typeof e.clientX&&(r=e.clientX,s=e.clientY),i=r-n.left,o=s-n.top,{x:i,y:o}},getViewPos:function(){var e=document.documentElement;return[(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0),(window.pageYOffset||e.scrollTop)-(e.clientTop||0)]},getViewSize:function(){var e=document.documentElement;return[window.innerWidth||e.clientWidth,window.innerHeight||e.clientHeight]},redrawPosition:function(){if(e.picker&&e.picker.owner){var t,n,i=e.picker.owner;i.fixed?(t=e.getElementPos(i.targetElement,!0),n=[0,0]):(t=e.getElementPos(i.targetElement),n=e.getViewPos());var o,r,s,a=e.getElementSize(i.targetElement),l=e.getViewSize(),d=e.getPickerOuterDims(i);switch(i.position.toLowerCase()){case"left":o=1,r=0,s=-1;break;case"right":o=1,r=0,s=1;break;case"top":o=0,r=1,s=-1;break;default:o=0,r=1,s=1}var c,h=(a[r]+d[r])/2;c=i.smartPosition?[-n[o]+t[o]+d[o]>l[o]&&-n[o]+t[o]+a[o]/2>l[o]/2&&t[o]+a[o]-d[o]>=0?t[o]+a[o]-d[o]:t[o],-n[r]+t[r]+a[r]+d[r]-h+h*s>l[r]?-n[r]+t[r]+a[r]/2>l[r]/2&&t[r]+a[r]-h-h*s>=0?t[r]+a[r]-h-h*s:t[r]+a[r]-h+h*s:t[r]+a[r]-h+h*s>=0?t[r]+a[r]-h+h*s:t[r]+a[r]-h-h*s]:[t[o],t[r]+a[r]-h+h*s];var u=c[o],p=c[r],m=i.fixed?"fixed":"absolute",v=(c[0]+d[0]>t[0]||c[0]<t[0]+a[0])&&c[1]+d[1]<t[1]+a[1];e._drawPosition(i,u,p,m,v)}},_drawPosition:function(t,n,i,o,r){var s=r?0:t.shadowBlur;e.picker.wrap.style.position=o,e.picker.wrap.style.left=n+"px",e.picker.wrap.style.top=i+"px",e.setBoxShadow(e.picker.boxS,t.shadow?new e.BoxShadow(0,s,t.shadowBlur,0,t.shadowColor):null)},getPickerDims:function(t){var n=!!e.getSliderComponent(t);return[2*t.insetWidth+2*t.padding+t.width+(n?2*t.insetWidth+e.getPadToSliderPadding(t)+t.sliderSize:0),2*t.insetWidth+2*t.padding+t.height+(t.closable?2*t.insetWidth+t.padding+t.buttonHeight:0)]},getPickerOuterDims:function(t){var n=e.getPickerDims(t);return[n[0]+2*t.borderWidth,n[1]+2*t.borderWidth]},getPadToSliderPadding:function(e){return Math.max(e.padding,1.5*(2*e.pointerBorderWidth+e.pointerThickness))},getPadYComponent:function(e){switch(e.mode.charAt(1).toLowerCase()){case"v":return"v"}return"s"},getSliderComponent:function(e){if(e.mode.length>2)switch(e.mode.charAt(2).toLowerCase()){case"s":return"s";case"v":return"v"}return null},onDocumentMouseDown:function(t){t||(t=window.event);var n=t.target||t.srcElement;n._jscLinkedInstance?n._jscLinkedInstance.showOnClick&&n._jscLinkedInstance.show():n._jscControlName?e.onControlPointerStart(t,n,n._jscControlName,"mouse"):e.picker&&e.picker.owner&&e.picker.owner.hide()},onDocumentTouchStart:function(t){t||(t=window.event);var n=t.target||t.srcElement;n._jscLinkedInstance?n._jscLinkedInstance.showOnClick&&n._jscLinkedInstance.show():n._jscControlName?e.onControlPointerStart(t,n,n._jscControlName,"touch"):e.picker&&e.picker.owner&&e.picker.owner.hide()},onWindowResize:function(t){e.redrawPosition()},onParentScroll:function(t){e.picker&&e.picker.owner&&e.picker.owner.hide()},_pointerMoveEvent:{mouse:"mousemove",touch:"touchmove"},_pointerEndEvent:{mouse:"mouseup",touch:"touchend"},_pointerOrigin:null,_capturedTarget:null,onControlPointerStart:function(t,n,i,o){var r=n._jscInstance;e.preventDefault(t),e.captureTarget(n);var s=function(r,s){e.attachGroupEvent("drag",r,e._pointerMoveEvent[o],e.onDocumentPointerMove(t,n,i,o,s)),e.attachGroupEvent("drag",r,e._pointerEndEvent[o],e.onDocumentPointerEnd(t,n,i,o))};if(s(document,[0,0]),window.parent&&window.frameElement){var a=window.frameElement.getBoundingClientRect(),l=[-a.left,-a.top];s(window.parent.window.document,l)}var d=e.getAbsPointerPos(t),c=e.getRelPointerPos(t);switch(e._pointerOrigin={x:d.x-c.x,y:d.y-c.y},i){case"pad":switch(e.getSliderComponent(r)){case"s":0===r.hsv[1]&&r.fromHSV(null,100,null);break;case"v":0===r.hsv[2]&&r.fromHSV(null,null,100)}e.setPad(r,t,0,0);break;case"sld":e.setSld(r,t,0)}e.dispatchFineChange(r)},onDocumentPointerMove:function(t,n,i,o,r){return function(t){var o=n._jscInstance;switch(i){case"pad":t||(t=window.event),e.setPad(o,t,r[0],r[1]),e.dispatchFineChange(o);break;case"sld":t||(t=window.event),e.setSld(o,t,r[1]),e.dispatchFineChange(o)}}},onDocumentPointerEnd:function(t,n,i,o){return function(t){var i=n._jscInstance;e.detachGroupEvents("drag"),e.releaseTarget(),e.dispatchChange(i)}},dispatchChange:function(t){t.valueElement&&e.isElementType(t.valueElement,"input")&&e.fireEvent(t.valueElement,"change")},dispatchFineChange:function(e){if(e.onFineChange){var t;t="string"==typeof e.onFineChange?new Function(e.onFineChange):e.onFineChange,t.call(e)}},setPad:function(t,n,i,o){var r=e.getAbsPointerPos(n),s=i+r.x-e._pointerOrigin.x-t.padding-t.insetWidth,a=o+r.y-e._pointerOrigin.y-t.padding-t.insetWidth,l=s*(360/(t.width-1)),d=100-a*(100/(t.height-1));switch(e.getPadYComponent(t)){case"s":t.fromHSV(l,d,null,e.leaveSld);break;case"v":t.fromHSV(l,null,d,e.leaveSld)}},setSld:function(t,n,i){var o=e.getAbsPointerPos(n),r=i+o.y-e._pointerOrigin.y-t.padding-t.insetWidth,s=100-r*(100/(t.height-1));switch(e.getSliderComponent(t)){case"s":t.fromHSV(null,s,null,e.leavePad);break;case"v":t.fromHSV(null,null,s,e.leavePad)}},_vmlNS:"jsc_vml_",_vmlCSS:"jsc_vml_css_",_vmlReady:!1,initVML:function(){if(!e._vmlReady){var t=document;if(t.namespaces[e._vmlNS]||t.namespaces.add(e._vmlNS,"urn:schemas-microsoft-com:vml"),!t.styleSheets[e._vmlCSS]){var n=["shape","shapetype","group","background","path","formulas","handles","fill","stroke","shadow","textbox","textpath","imagedata","line","polyline","curve","rect","roundrect","oval","arc","image"],i=t.createStyleSheet();i.owningElement.id=e._vmlCSS;for(var o=0;o<n.length;o+=1)i.addRule(e._vmlNS+"\\:"+n[o],"behavior:url(#default#VML);")}e._vmlReady=!0}},createPalette:function(){var t={elm:null,draw:null};if(e.isCanvasSupported){var n=document.createElement("canvas"),i=n.getContext("2d"),o=function(e,t,o){n.width=e,n.height=t,i.clearRect(0,0,n.width,n.height);var r=i.createLinearGradient(0,0,n.width,0);r.addColorStop(0,"#F00"),r.addColorStop(1/6,"#FF0"),r.addColorStop(2/6,"#0F0"),r.addColorStop(.5,"#0FF"),r.addColorStop(4/6,"#00F"),r.addColorStop(5/6,"#F0F"),r.addColorStop(1,"#F00"),i.fillStyle=r,i.fillRect(0,0,n.width,n.height);var s=i.createLinearGradient(0,0,0,n.height);switch(o.toLowerCase()){case"s":s.addColorStop(0,"rgba(255,255,255,0)"),s.addColorStop(1,"rgba(255,255,255,1)");break;case"v":s.addColorStop(0,"rgba(0,0,0,0)"),s.addColorStop(1,"rgba(0,0,0,1)")}i.fillStyle=s,i.fillRect(0,0,n.width,n.height)};t.elm=n,t.draw=o}else{e.initVML();var r=document.createElement("div");r.style.position="relative",r.style.overflow="hidden";var s=document.createElement(e._vmlNS+":fill");s.type="gradient",s.method="linear",s.angle="90",s.colors="16.67% #F0F, 33.33% #00F, 50% #0FF, 66.67% #0F0, 83.33% #FF0";var a=document.createElement(e._vmlNS+":rect");a.style.position="absolute",a.style.left="-1px",a.style.top="-1px",a.stroked=!1,a.appendChild(s),r.appendChild(a);var l=document.createElement(e._vmlNS+":fill");l.type="gradient",l.method="linear",l.angle="180",l.opacity="0";var d=document.createElement(e._vmlNS+":rect");d.style.position="absolute",d.style.left="-1px",d.style.top="-1px",d.stroked=!1,d.appendChild(l),r.appendChild(d);var o=function(e,t,n){switch(r.style.width=e+"px",r.style.height=t+"px",a.style.width=d.style.width=e+1+"px",a.style.height=d.style.height=t+1+"px",s.color="#F00",s.color2="#F00",n.toLowerCase()){case"s":l.color=l.color2="#FFF";break;case"v":l.color=l.color2="#000"}};t.elm=r,t.draw=o}return t},createSliderGradient:function(){var t={elm:null,draw:null};if(e.isCanvasSupported){var n=document.createElement("canvas"),i=n.getContext("2d"),o=function(e,t,o,r){n.width=e,n.height=t,i.clearRect(0,0,n.width,n.height);var s=i.createLinearGradient(0,0,0,n.height);s.addColorStop(0,o),s.addColorStop(1,r),i.fillStyle=s,i.fillRect(0,0,n.width,n.height)};t.elm=n,t.draw=o}else{e.initVML();var r=document.createElement("div");r.style.position="relative",r.style.overflow="hidden";var s=document.createElement(e._vmlNS+":fill");s.type="gradient",s.method="linear",s.angle="180";var a=document.createElement(e._vmlNS+":rect");a.style.position="absolute",a.style.left="-1px",a.style.top="-1px",a.stroked=!1,a.appendChild(s),r.appendChild(a);var o=function(e,t,n,i){r.style.width=e+"px",r.style.height=t+"px",a.style.width=e+1+"px",a.style.height=t+1+"px",s.color=n,s.color2=i};t.elm=r,t.draw=o}return t},leaveValue:1,leaveStyle:2,leavePad:4,leaveSld:8,BoxShadow:function(){var e=function(e,t,n,i,o,r){this.hShadow=e,this.vShadow=t,this.blur=n,this.spread=i,this.color=o,this.inset=!!r};return e.prototype.toString=function(){var e=[Math.round(this.hShadow)+"px",Math.round(this.vShadow)+"px",Math.round(this.blur)+"px",Math.round(this.spread)+"px",this.color];return this.inset&&e.push("inset"),e.join(" ")},e}(),jscolor:function(t,n){function i(e,t,n){e/=255,t/=255,n/=255;var i=Math.min(Math.min(e,t),n),o=Math.max(Math.max(e,t),n),r=o-i;if(0===r)return[null,0,100*o];var s=e===i?3+(n-t)/r:t===i?5+(e-n)/r:1+(t-e)/r;return[60*(6===s?0:s),r/o*100,100*o]}function o(e,t,n){var i=n/100*255;if(null===e)return[i,i,i];e/=60,t/=100;var o=Math.floor(e),r=o%2?e-o:1-(e-o),s=i*(1-t),a=i*(1-t*r);switch(o){case 6:case 0:return[i,a,s];case 1:return[a,i,s];case 2:return[s,i,a];case 3:return[s,a,i];case 4:return[a,s,i];case 5:return[i,s,a]}}function r(){e.unsetClass(m.targetElement,m.activeClass),e.picker.wrap.parentNode.removeChild(e.picker.wrap),delete e.picker.owner}function s(){m._processParentElementsInDOM(),e.picker||(e.picker={owner:null,wrap:document.createElement("div"),box:document.createElement("div"),boxS:document.createElement("div"),boxB:document.createElement("div"),pad:document.createElement("div"),padB:document.createElement("div"),padM:document.createElement("div"),padPal:e.createPalette(),cross:document.createElement("div"),crossBY:document.createElement("div"),crossBX:document.createElement("div"),crossLY:document.createElement("div"),crossLX:document.createElement("div"),sld:document.createElement("div"),sldB:document.createElement("div"),sldM:document.createElement("div"),sldGrad:e.createSliderGradient(),sldPtrS:document.createElement("div"),sldPtrIB:document.createElement("div"),sldPtrMB:document.createElement("div"),sldPtrOB:document.createElement("div"),btn:document.createElement("div"),btnT:document.createElement("span")},e.picker.pad.appendChild(e.picker.padPal.elm),e.picker.padB.appendChild(e.picker.pad),e.picker.cross.appendChild(e.picker.crossBY),e.picker.cross.appendChild(e.picker.crossBX),e.picker.cross.appendChild(e.picker.crossLY),e.picker.cross.appendChild(e.picker.crossLX),e.picker.padB.appendChild(e.picker.cross),e.picker.box.appendChild(e.picker.padB),e.picker.box.appendChild(e.picker.padM),e.picker.sld.appendChild(e.picker.sldGrad.elm),e.picker.sldB.appendChild(e.picker.sld),e.picker.sldB.appendChild(e.picker.sldPtrOB),e.picker.sldPtrOB.appendChild(e.picker.sldPtrMB),e.picker.sldPtrMB.appendChild(e.picker.sldPtrIB),e.picker.sldPtrIB.appendChild(e.picker.sldPtrS),e.picker.box.appendChild(e.picker.sldB),e.picker.box.appendChild(e.picker.sldM),e.picker.btn.appendChild(e.picker.btnT),e.picker.box.appendChild(e.picker.btn),e.picker.boxB.appendChild(e.picker.box),e.picker.wrap.appendChild(e.picker.boxS),e.picker.wrap.appendChild(e.picker.boxB));var t=e.picker,n=!!e.getSliderComponent(m),i=e.getPickerDims(m),o=2*m.pointerBorderWidth+m.pointerThickness+2*m.crossSize,r=e.getPadToSliderPadding(m),s=Math.min(m.borderRadius,Math.round(m.padding*Math.PI));t.wrap.style.clear="both",t.wrap.style.width=i[0]+2*m.borderWidth+"px",t.wrap.style.height=i[1]+2*m.borderWidth+"px",t.wrap.style.zIndex=m.zIndex,t.box.style.width=i[0]+"px",t.box.style.height=i[1]+"px",t.boxS.style.position="absolute",t.boxS.style.left="0",t.boxS.style.top="0",t.boxS.style.width="100%",t.boxS.style.height="100%",e.setBorderRadius(t.boxS,s+"px"),t.boxB.style.position="relative",t.boxB.style.border=m.borderWidth+"px solid",t.boxB.style.borderColor=m.borderColor,t.boxB.style.background=m.backgroundColor,e.setBorderRadius(t.boxB,s+"px"),t.padM.style.background=t.sldM.style.background="#FFF",e.setStyle(t.padM,"opacity","0"),e.setStyle(t.sldM,"opacity","0"),t.pad.style.position="relative",t.pad.style.width=m.width+"px",t.pad.style.height=m.height+"px",t.padPal.draw(m.width,m.height,e.getPadYComponent(m)),t.padB.style.position="absolute",t.padB.style.left=m.padding+"px",t.padB.style.top=m.padding+"px",t.padB.style.border=m.insetWidth+"px solid",t.padB.style.borderColor=m.insetColor,t.padM._jscInstance=m,t.padM._jscControlName="pad",t.padM.style.position="absolute",t.padM.style.left="0",t.padM.style.top="0",t.padM.style.width=m.padding+2*m.insetWidth+m.width+r/2+"px",t.padM.style.height=i[1]+"px",t.padM.style.cursor="crosshair",t.cross.style.position="absolute",t.cross.style.left=t.cross.style.top="0",t.cross.style.width=t.cross.style.height=o+"px",t.crossBY.style.position=t.crossBX.style.position="absolute",t.crossBY.style.background=t.crossBX.style.background=m.pointerBorderColor,t.crossBY.style.width=t.crossBX.style.height=2*m.pointerBorderWidth+m.pointerThickness+"px",t.crossBY.style.height=t.crossBX.style.width=o+"px",t.crossBY.style.left=t.crossBX.style.top=Math.floor(o/2)-Math.floor(m.pointerThickness/2)-m.pointerBorderWidth+"px",t.crossBY.style.top=t.crossBX.style.left="0",t.crossLY.style.position=t.crossLX.style.position="absolute",t.crossLY.style.background=t.crossLX.style.background=m.pointerColor,t.crossLY.style.height=t.crossLX.style.width=o-2*m.pointerBorderWidth+"px",t.crossLY.style.width=t.crossLX.style.height=m.pointerThickness+"px",t.crossLY.style.left=t.crossLX.style.top=Math.floor(o/2)-Math.floor(m.pointerThickness/2)+"px",t.crossLY.style.top=t.crossLX.style.left=m.pointerBorderWidth+"px",t.sld.style.overflow="hidden",t.sld.style.width=m.sliderSize+"px",t.sld.style.height=m.height+"px",t.sldGrad.draw(m.sliderSize,m.height,"#000","#000"),t.sldB.style.display=n?"block":"none",t.sldB.style.position="absolute",t.sldB.style.right=m.padding+"px",t.sldB.style.top=m.padding+"px",t.sldB.style.border=m.insetWidth+"px solid",t.sldB.style.borderColor=m.insetColor,t.sldM._jscInstance=m,t.sldM._jscControlName="sld",t.sldM.style.display=n?"block":"none",t.sldM.style.position="absolute",t.sldM.style.right="0",t.sldM.style.top="0",t.sldM.style.width=m.sliderSize+r/2+m.padding+2*m.insetWidth+"px",t.sldM.style.height=i[1]+"px",t.sldM.style.cursor="default",t.sldPtrIB.style.border=t.sldPtrOB.style.border=m.pointerBorderWidth+"px solid "+m.pointerBorderColor,t.sldPtrOB.style.position="absolute",t.sldPtrOB.style.left=-(2*m.pointerBorderWidth+m.pointerThickness)+"px",t.sldPtrOB.style.top="0",t.sldPtrMB.style.border=m.pointerThickness+"px solid "+m.pointerColor,t.sldPtrS.style.width=m.sliderSize+"px",t.sldPtrS.style.height=f+"px",t.btn.style.display=m.closable?"block":"none",t.btn.style.position="absolute",t.btn.style.left=m.padding+"px",t.btn.style.bottom=m.padding+"px",t.btn.style.padding="0 15px",t.btn.style.height=m.buttonHeight+"px",t.btn.style.border=m.insetWidth+"px solid",function(){var e=m.insetColor.split(/\s+/),n=e.length<2?e[0]:e[1]+" "+e[0]+" "+e[0]+" "+e[1];t.btn.style.borderColor=n}(),t.btn.style.color=m.buttonColor,t.btn.style.font="12px sans-serif",t.btn.style.textAlign="center";try{t.btn.style.cursor="pointer"}catch(e){t.btn.style.cursor="hand"}t.btn.onmousedown=function(){m.hide()},t.btnT.style.lineHeight=m.buttonHeight+"px",t.btnT.innerHTML="",t.btnT.appendChild(document.createTextNode(m.closeText)),a(),l(),e.picker.owner&&e.picker.owner!==m&&e.unsetClass(e.picker.owner.targetElement,m.activeClass),e.picker.owner=m,e.isElementType(v,"body")?e.redrawPosition():e._drawPosition(m,0,0,"relative",!1),t.wrap.parentNode!=v&&v.appendChild(t.wrap),e.setClass(m.targetElement,m.activeClass)}function a(){switch(e.getPadYComponent(m)){case"s":var t=1;break;case"v":var t=2}var n=Math.round(m.hsv[0]/360*(m.width-1)),i=Math.round((1-m.hsv[t]/100)*(m.height-1)),r=2*m.pointerBorderWidth+m.pointerThickness+2*m.crossSize,s=-Math.floor(r/2);switch(e.picker.cross.style.left=n+s+"px",e.picker.cross.style.top=i+s+"px",e.getSliderComponent(m)){case"s":var a=o(m.hsv[0],100,m.hsv[2]),l=o(m.hsv[0],0,m.hsv[2]),d="rgb("+Math.round(a[0])+","+Math.round(a[1])+","+Math.round(a[2])+")",c="rgb("+Math.round(l[0])+","+Math.round(l[1])+","+Math.round(l[2])+")";e.picker.sldGrad.draw(m.sliderSize,m.height,d,c);break;case"v":var h=o(m.hsv[0],m.hsv[1],100),d="rgb("+Math.round(h[0])+","+Math.round(h[1])+","+Math.round(h[2])+")",c="#000";e.picker.sldGrad.draw(m.sliderSize,m.height,d,c)}}function l(){var t=e.getSliderComponent(m);if(t){switch(t){case"s":var n=1;break;case"v":var n=2}var i=Math.round((1-m.hsv[n]/100)*(m.height-1));e.picker.sldPtrOB.style.top=i-(2*m.pointerBorderWidth+m.pointerThickness)-Math.floor(f/2)+"px"}}function d(){return e.picker&&e.picker.owner===m}function c(){m.importColor()}this.value=null,this.valueElement=t,this.styleElement=t,this.required=!0,this.refine=!0,this.hash=!1,this.uppercase=!0,this.onFineChange=null,this.activeClass="jscolor-active",this.minS=0,this.maxS=100,this.minV=0,this.maxV=100,this.hsv=[0,0,100],this.rgb=[255,255,255],this.width=181,this.height=101,this.showOnClick=!0,this.mode="HSV",this.position="bottom",this.smartPosition=!0,this.sliderSize=16,this.crossSize=8,this.closable=!1,this.closeText="Close",this.buttonColor="#000000",this.buttonHeight=18,this.padding=12,this.backgroundColor="#FFFFFF",this.borderWidth=1,this.borderColor="#BBBBBB",this.borderRadius=8,this.insetWidth=1,this.insetColor="#BBBBBB",this.shadow=!0,this.shadowBlur=15,this.shadowColor="rgba(0,0,0,0.2)",this.pointerColor="#4C4C4C",this.pointerBorderColor="#FFFFFF",this.pointerBorderWidth=1,this.pointerThickness=2,this.zIndex=1e3,this.container=null;for(var h in n)n.hasOwnProperty(h)&&(this[h]=n[h]);if(this.hide=function(){d()&&r()},this.show=function(){s()},this.redraw=function(){d()&&s()},this.importColor=function(){this.valueElement&&e.isElementType(this.valueElement,"input")?this.refine?!this.required&&/^\s*$/.test(this.valueElement.value)?(this.valueElement.value="",this.styleElement&&(this.styleElement.style.backgroundImage=this.styleElement._jscOrigStyle.backgroundImage,this.styleElement.style.backgroundColor=this.styleElement._jscOrigStyle.backgroundColor,this.styleElement.style.color=this.styleElement._jscOrigStyle.color),this.exportColor(e.leaveValue|e.leaveStyle)):this.fromString(this.valueElement.value)||this.exportColor():this.fromString(this.valueElement.value,e.leaveValue)||(this.styleElement&&(this.styleElement.style.backgroundImage=this.styleElement._jscOrigStyle.backgroundImage,this.styleElement.style.backgroundColor=this.styleElement._jscOrigStyle.backgroundColor,this.styleElement.style.color=this.styleElement._jscOrigStyle.color),this.exportColor(e.leaveValue|e.leaveStyle)):this.exportColor()},this.exportColor=function(t){if(!(t&e.leaveValue)&&this.valueElement){var n=this.toString();this.uppercase&&(n=n.toUpperCase()),this.hash&&(n="#"+n),e.isElementType(this.valueElement,"input")?this.valueElement.value=n:this.valueElement.innerHTML=n}t&e.leaveStyle||this.styleElement&&(this.styleElement.style.backgroundImage="none",this.styleElement.style.backgroundColor="#"+this.toString(),this.styleElement.style.color=this.isLight()?"#000":"#FFF"),t&e.leavePad||!d()||a(),t&e.leaveSld||!d()||l()},this.fromHSV=function(e,t,n,i){if(null!==e){if(isNaN(e))return!1;e=Math.max(0,Math.min(360,e))}if(null!==t){if(isNaN(t))return!1;t=Math.max(0,Math.min(100,this.maxS,t),this.minS)}if(null!==n){if(isNaN(n))return!1;n=Math.max(0,Math.min(100,this.maxV,n),this.minV)}this.rgb=o(null===e?this.hsv[0]:this.hsv[0]=e,null===t?this.hsv[1]:this.hsv[1]=t,null===n?this.hsv[2]:this.hsv[2]=n),this.exportColor(i)},this.fromRGB=function(e,t,n,r){if(null!==e){if(isNaN(e))return!1;e=Math.max(0,Math.min(255,e))}if(null!==t){if(isNaN(t))return!1;t=Math.max(0,Math.min(255,t))}if(null!==n){if(isNaN(n))return!1;n=Math.max(0,Math.min(255,n))}var s=i(null===e?this.rgb[0]:e,null===t?this.rgb[1]:t,null===n?this.rgb[2]:n);null!==s[0]&&(this.hsv[0]=Math.max(0,Math.min(360,s[0]))),0!==s[2]&&(this.hsv[1]=null===s[1]?null:Math.max(0,this.minS,Math.min(100,this.maxS,s[1]))),this.hsv[2]=null===s[2]?null:Math.max(0,this.minV,Math.min(100,this.maxV,s[2]));var a=o(this.hsv[0],this.hsv[1],this.hsv[2]);this.rgb[0]=a[0],this.rgb[1]=a[1],this.rgb[2]=a[2],this.exportColor(r)},this.fromString=function(e,t){
|
2 |
+
var n;if(n=e.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i))return 6===n[1].length?this.fromRGB(parseInt(n[1].substr(0,2),16),parseInt(n[1].substr(2,2),16),parseInt(n[1].substr(4,2),16),t):this.fromRGB(parseInt(n[1].charAt(0)+n[1].charAt(0),16),parseInt(n[1].charAt(1)+n[1].charAt(1),16),parseInt(n[1].charAt(2)+n[1].charAt(2),16),t),!0;if(n=e.match(/^\W*rgba?\(([^)]*)\)\W*$/i)){var i,o,r,s=n[1].split(","),a=/^\s*(\d*)(\.\d+)?\s*$/;if(s.length>=3&&(i=s[0].match(a))&&(o=s[1].match(a))&&(r=s[2].match(a))){var l=parseFloat((i[1]||"0")+(i[2]||"")),d=parseFloat((o[1]||"0")+(o[2]||"")),c=parseFloat((r[1]||"0")+(r[2]||""));return this.fromRGB(l,d,c,t),!0}}return!1},this.toString=function(){return(256|Math.round(this.rgb[0])).toString(16).substr(1)+(256|Math.round(this.rgb[1])).toString(16).substr(1)+(256|Math.round(this.rgb[2])).toString(16).substr(1)},this.toHEXString=function(){return"#"+this.toString().toUpperCase()},this.toRGBString=function(){return"rgb("+Math.round(this.rgb[0])+","+Math.round(this.rgb[1])+","+Math.round(this.rgb[2])+")"},this.isLight=function(){return.213*this.rgb[0]+.715*this.rgb[1]+.072*this.rgb[2]>127.5},this._processParentElementsInDOM=function(){if(!this._linkedElementsProcessed){this._linkedElementsProcessed=!0;var t=this.targetElement;do{var n=e.getStyle(t);n&&"fixed"===n.position.toLowerCase()&&(this.fixed=!0),t!==this.targetElement&&(t._jscEventsAttached||(e.attachEvent(t,"scroll",e.onParentScroll),t._jscEventsAttached=!0))}while((t=t.parentNode)&&!e.isElementType(t,"body"))}},"string"==typeof t){var u=t,p=document.getElementById(u);p?this.targetElement=p:e.warn("Could not find target element with ID '"+u+"'")}else t?this.targetElement=t:e.warn("Invalid target element: '"+t+"'");if(this.targetElement._jscLinkedInstance)return void e.warn("Cannot link jscolor twice to the same element. Skipping.");this.targetElement._jscLinkedInstance=this,this.valueElement=e.fetchElement(this.valueElement),this.styleElement=e.fetchElement(this.styleElement);var m=this,v=this.container?e.fetchElement(this.container):document.getElementsByTagName("body")[0],f=3;if(e.isElementType(this.targetElement,"button"))if(this.targetElement.onclick){var g=this.targetElement.onclick;this.targetElement.onclick=function(e){return g.call(this,e),!1}}else this.targetElement.onclick=function(){return!1};if(this.valueElement&&e.isElementType(this.valueElement,"input")){var y=function(){m.fromString(m.valueElement.value,e.leaveValue),e.dispatchFineChange(m)};e.attachEvent(this.valueElement,"keyup",y),e.attachEvent(this.valueElement,"input",y),e.attachEvent(this.valueElement,"blur",c),this.valueElement.setAttribute("autocomplete","off")}this.styleElement&&(this.styleElement._jscOrigStyle={backgroundImage:this.styleElement.style.backgroundImage,backgroundColor:this.styleElement.style.backgroundColor,color:this.styleElement.style.color}),this.value?this.fromString(this.value)||this.exportColor():this.importColor()}};return e.jscolor.lookupClass="jscolor",e.jscolor.installByClassName=function(t){var n=document.getElementsByTagName("input"),i=document.getElementsByTagName("button");e.tryInstallOnElements(n,t),e.tryInstallOnElements(i,t)},e.register(),e.jscolor}()),function(e){var t={common:{init:function(){e(document).on("keyup","input[name=moove_gdpr_company_logo]",function(){console.log("changed"),e(".moove_gdpr_company_logo_holder").css("background-image","url("+e(this).val()+")")}),e(document).on("click",'#moove_gdpr_tab_advanced_cookies button[type="submit"], #moove_gdpr_tab_third_party_cookies button[type="submit"]',function(t){e.trim(e(this).closest("form").find("textarea[required]").val())||(t.preventDefault(),e(this).closest("form").find(".form-table").addClass("moove-gdpr-form-error"))})},finalize:function(){}},home:{init:function(){},finalize:function(){}},about_us:{init:function(){}}},n={fire:function(e,n,i){var o,r=t;n=void 0===n?"init":n,o=""!==e,o=o&&r[e],(o=o&&"function"==typeof r[e][n])&&r[e][n](i)},loadEvents:function(){n.fire("common"),e.each(document.body.className.replace(/-/g,"_").split(/\s+/),function(e,t){n.fire(t),n.fire(t,"finalize")}),n.fire("common","finalize")}};e(document).ready(n.loadEvents)}(jQuery);
|
dist/styles/admin.css
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
/*! Lity - v2.2.2 - 2017-07-17
|
2 |
* http://sorgalla.com/lity/
|
3 |
-
* Copyright (c) 2015-2017 Jan Sorgalla; Licensed MIT */.lity{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;white-space:nowrap;background:#0b0b0b;background:rgba(0,0,0,.9);outline:none!important;opacity:0;transition:opacity .3s ease}.lity.lity-opened{opacity:1}.lity.lity-closed{opacity:0}.lity *{box-sizing:border-box}.lity-wrap{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;text-align:center;outline:none!important}.lity-wrap:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.lity-loader{z-index:9991;color:#fff;position:absolute;top:50%;margin-top:-.8em;width:100%;text-align:center;font-size:14px;font-family:Arial,Helvetica,sans-serif;opacity:0;transition:opacity .3s ease}.lity-loading .lity-loader{opacity:1}.lity-container{z-index:9992;position:relative;text-align:left;vertical-align:middle;display:inline-block;white-space:normal;max-width:100%;max-height:100%;outline:none!important}.lity-content{z-index:9993;width:100%;-webkit-transform:scale(1);transform:scale(1);transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.lity-closed .lity-content,.lity-loading .lity-content{-webkit-transform:scale(.8);transform:scale(.8)}.lity-content:after{content:"";position:absolute;left:0;top:0;bottom:0;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6)}.lity-close{z-index:9994;width:35px;height:35px;position:fixed;right:0;top:0;-webkit-appearance:none;cursor:pointer;text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close::-moz-focus-inner{border:0;padding:0}.lity-close:active,.lity-close:focus,.lity-close:hover,.lity-close:visited{text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close:active{top:1px}.lity-image img{max-width:100%;display:block;line-height:0;border:0}.lity-facebookvideo .lity-container,.lity-googlemaps .lity-container,.lity-iframe .lity-container,.lity-vimeo .lity-container,.lity-youtube .lity-container{width:100%;max-width:964px}.lity-iframe-container{width:100%;height:0;padding-top:56.25%;overflow:auto;pointer-events:auto;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-overflow-scrolling:touch}.lity-iframe-container iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.lity-hide{display:none}.moove-gdpr-form-container .moove-logo{display:block;width:67px;height:16px;position:absolute;top:25px;right:20px;background:url(../images/moove_logo_br.png) no-repeat;background-size:cover}.moove-gdpr-form-container input[type=radio].on-off{margin:0}.moove_gdpr_company_logo_holder{display:inline-block;padding-bottom:50px;width:130px;height:0;background-position:0;background-repeat:no-repeat;background-size:contain}#wp-moove_gdpr_advanced_cookies_tab_content-wrap,#wp-moove_gdpr_cookies_policy_tab_content-wrap,#wp-moove_gdpr_info_bar_content-wrap,#wp-moove_gdpr_performance_cookies_tab_content-wrap,#wp-moove_gdpr_privacy_overview_tab_content-wrap,#wp-moove_gdpr_strict_necessary_cookies_tab_content-wrap{max-width:570px}span.separator{display:inline-block;margin-left:10px}#moove_form_checker_wrap .nav-tab-wrapper a.nav-tab{font-size:12px;padding:3px 8px}#moove_gdpr_info_bar_content-html,#moove_gdpr_info_bar_content-tmce{display:none}#moove_form_checker_wrap .moove-gdpr-settings-branding{margin:25px 0;font-style:italic}#moove_form_checker_wrap .moove-gdpr-settings-branding hr{margin:0}#moove_form_checker_wrap .moove-gdpr-settings-branding p{margin:15px 0}#moove_form_checker_wrap .moove-gdpr-settings-branding p span{display:inline-block;background-image:url(../images/moove_logo_br.png);width:66px;height:15px;background-size:contain;background-repeat:no-repeat;background-position:0 100%}#moove_form_checker_wrap .moove-gdpr-settings-branding p a{text-decoration:none;color:inherit}#moove_form_checker_wrap .moove-gdpr-settings-branding p a:hover{text-decoration:underline}.moove-gdpr-form-error label[for=moove_gdpr_advanced_cookies_footer_scripts],.moove-gdpr-form-error label[for=moove_gdpr_third_party_footer_scripts]{color:red}.moove-gdpr-form-error #moove_gdpr_advanced_cookies_footer_scripts,.moove-gdpr-form-error #moove_gdpr_third_party_footer_scripts{border-color:red}
|
1 |
/*! Lity - v2.2.2 - 2017-07-17
|
2 |
* http://sorgalla.com/lity/
|
3 |
+
* Copyright (c) 2015-2017 Jan Sorgalla; Licensed MIT */.lity{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;white-space:nowrap;background:#0b0b0b;background:rgba(0,0,0,.9);outline:none!important;opacity:0;transition:opacity .3s ease}.lity.lity-opened{opacity:1}.lity.lity-closed{opacity:0}.lity *{box-sizing:border-box}.lity-wrap{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;text-align:center;outline:none!important}.lity-wrap:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.lity-loader{z-index:9991;color:#fff;position:absolute;top:50%;margin-top:-.8em;width:100%;text-align:center;font-size:14px;font-family:Arial,Helvetica,sans-serif;opacity:0;transition:opacity .3s ease}.lity-loading .lity-loader{opacity:1}.lity-container{z-index:9992;position:relative;text-align:left;vertical-align:middle;display:inline-block;white-space:normal;max-width:100%;max-height:100%;outline:none!important}.lity-content{z-index:9993;width:100%;-webkit-transform:scale(1);transform:scale(1);transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.lity-closed .lity-content,.lity-loading .lity-content{-webkit-transform:scale(.8);transform:scale(.8)}.lity-content:after{content:"";position:absolute;left:0;top:0;bottom:0;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6)}.lity-close{z-index:9994;width:35px;height:35px;position:fixed;right:0;top:0;-webkit-appearance:none;cursor:pointer;text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close::-moz-focus-inner{border:0;padding:0}.lity-close:active,.lity-close:focus,.lity-close:hover,.lity-close:visited{text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close:active{top:1px}.lity-image img{max-width:100%;display:block;line-height:0;border:0}.lity-facebookvideo .lity-container,.lity-googlemaps .lity-container,.lity-iframe .lity-container,.lity-vimeo .lity-container,.lity-youtube .lity-container{width:100%;max-width:964px}.lity-iframe-container{width:100%;height:0;padding-top:56.25%;overflow:auto;pointer-events:auto;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-overflow-scrolling:touch}.lity-iframe-container iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.lity-hide{display:none}.moove-gdpr-form-container .moove-logo{display:block;width:67px;height:16px;position:absolute;top:25px;right:20px;background:url(../images/moove_logo_br.png) no-repeat;background-size:cover}.moove-gdpr-form-container input[type=radio].on-off{margin:0}.moove_gdpr_company_logo_holder{display:inline-block;padding-bottom:50px;width:130px;height:0;background-position:0;background-repeat:no-repeat;background-size:contain}#wp-moove_gdpr_advanced_cookies_tab_content-wrap,#wp-moove_gdpr_cookies_policy_tab_content-wrap,#wp-moove_gdpr_info_bar_content-wrap,#wp-moove_gdpr_performance_cookies_tab_content-wrap,#wp-moove_gdpr_privacy_overview_tab_content-wrap,#wp-moove_gdpr_strict_necessary_cookies_tab_content-wrap,#wp-moove_gdpr_strictly_necessary_cookies_warning-wrap{max-width:570px}span.separator{display:inline-block;margin-left:10px}#moove_form_checker_wrap .nav-tab-wrapper a.nav-tab{font-size:12px;padding:3px 8px}#moove_gdpr_info_bar_content-html,#moove_gdpr_info_bar_content-tmce{display:none}#moove_form_checker_wrap .moove-gdpr-settings-branding{margin:25px 0;font-style:italic}#moove_form_checker_wrap .moove-gdpr-settings-branding hr{margin:0}#moove_form_checker_wrap .moove-gdpr-settings-branding p{margin:15px 0}#moove_form_checker_wrap .moove-gdpr-settings-branding p span{display:inline-block;background-image:url(../images/moove_logo_br.png);width:66px;height:15px;background-size:contain;background-repeat:no-repeat;background-position:0 100%}#moove_form_checker_wrap .moove-gdpr-settings-branding p a{text-decoration:none;color:inherit}#moove_form_checker_wrap .moove-gdpr-settings-branding p a:hover{text-decoration:underline}.moove-gdpr-form-error label[for=moove_gdpr_advanced_cookies_footer_scripts],.moove-gdpr-form-error label[for=moove_gdpr_third_party_footer_scripts]{color:red}.moove-gdpr-form-error #moove_gdpr_advanced_cookies_footer_scripts,.moove-gdpr-form-error #moove_gdpr_third_party_footer_scripts{border-color:red}
|
dist/styles/custom-editor-style.css
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
/*! Lity - v2.2.2 - 2017-07-17
|
2 |
* http://sorgalla.com/lity/
|
3 |
-
* Copyright (c) 2015-2017 Jan Sorgalla; Licensed MIT */.lity{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;white-space:nowrap;background:#0b0b0b;background:rgba(0,0,0,.9);outline:none!important;opacity:0;transition:opacity .3s ease}.lity.lity-opened{opacity:1}.lity.lity-closed{opacity:0}.lity *{box-sizing:border-box}.lity-wrap{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;text-align:center;outline:none!important}.lity-wrap:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.lity-loader{z-index:9991;color:#fff;position:absolute;top:50%;margin-top:-.8em;width:100%;text-align:center;font-size:14px;font-family:Arial,Helvetica,sans-serif;opacity:0;transition:opacity .3s ease}.lity-loading .lity-loader{opacity:1}.lity-container{z-index:9992;position:relative;text-align:left;vertical-align:middle;display:inline-block;white-space:normal;max-width:100%;max-height:100%;outline:none!important}.lity-content{z-index:9993;width:100%;-webkit-transform:scale(1);transform:scale(1);transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.lity-closed .lity-content,.lity-loading .lity-content{-webkit-transform:scale(.8);transform:scale(.8)}.lity-content:after{content:"";position:absolute;left:0;top:0;bottom:0;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6)}.lity-close{z-index:9994;width:35px;height:35px;position:fixed;right:0;top:0;-webkit-appearance:none;cursor:pointer;text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close::-moz-focus-inner{border:0;padding:0}.lity-close:active,.lity-close:focus,.lity-close:hover,.lity-close:visited{text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close:active{top:1px}.lity-image img{max-width:100%;display:block;line-height:0;border:0}.lity-facebookvideo .lity-container,.lity-googlemaps .lity-container,.lity-iframe .lity-container,.lity-vimeo .lity-container,.lity-youtube .lity-container{width:100%;max-width:964px}.lity-iframe-container{width:100%;height:0;padding-top:56.25%;overflow:auto;pointer-events:auto;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-overflow-scrolling:touch}.lity-iframe-container iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.lity-hide{display:none}.mce-content-body.moove_gdpr_advanced_cookies_tab_content,.mce-content-body.moove_gdpr_cookies_policy_tab_content,.mce-content-body.moove_gdpr_performance_cookies_tab_content,.mce-content-body.moove_gdpr_privacy_overview_tab_content,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content{margin:10px;max-width:400px}.mce-content-body.moove_gdpr_advanced_cookies_tab_content a,.mce-content-body.moove_gdpr_advanced_cookies_tab_content li,.mce-content-body.moove_gdpr_advanced_cookies_tab_content p,.mce-content-body.moove_gdpr_cookies_policy_tab_content a,.mce-content-body.moove_gdpr_cookies_policy_tab_content li,.mce-content-body.moove_gdpr_cookies_policy_tab_content p,.mce-content-body.moove_gdpr_performance_cookies_tab_content a,.mce-content-body.moove_gdpr_performance_cookies_tab_content li,.mce-content-body.moove_gdpr_performance_cookies_tab_content p,.mce-content-body.moove_gdpr_privacy_overview_tab_content a,.mce-content-body.moove_gdpr_privacy_overview_tab_content li,.mce-content-body.moove_gdpr_privacy_overview_tab_content p,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content a,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content li,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content p{font:normal 11px/14px Tahoma,Geneva,sans-serif;margin-bottom:15px;margin-top:0}.mce-content-body.moove_gdpr_advanced_cookies_tab_content h1,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h2,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h3,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h4,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h5,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h6,.mce-content-body.moove_gdpr_cookies_policy_tab_content h1,.mce-content-body.moove_gdpr_cookies_policy_tab_content h2,.mce-content-body.moove_gdpr_cookies_policy_tab_content h3,.mce-content-body.moove_gdpr_cookies_policy_tab_content h4,.mce-content-body.moove_gdpr_cookies_policy_tab_content h5,.mce-content-body.moove_gdpr_cookies_policy_tab_content h6,.mce-content-body.moove_gdpr_performance_cookies_tab_content h1,.mce-content-body.moove_gdpr_performance_cookies_tab_content h2,.mce-content-body.moove_gdpr_performance_cookies_tab_content h3,.mce-content-body.moove_gdpr_performance_cookies_tab_content h4,.mce-content-body.moove_gdpr_performance_cookies_tab_content h5,.mce-content-body.moove_gdpr_performance_cookies_tab_content h6,.mce-content-body.moove_gdpr_privacy_overview_tab_content h1,.mce-content-body.moove_gdpr_privacy_overview_tab_content h2,.mce-content-body.moove_gdpr_privacy_overview_tab_content h3,.mce-content-body.moove_gdpr_privacy_overview_tab_content h4,.mce-content-body.moove_gdpr_privacy_overview_tab_content h5,.mce-content-body.moove_gdpr_privacy_overview_tab_content h6,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h1,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h2,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h3,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h4,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h5,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h6{font:normal 14px/18px Tahoma,Geneva,sans-serif;margin-bottom:15px;margin-top:0;font-weight:700;text-transform:none}.mce-content-body.moove_gdpr_info_bar_content{margin:10px}.mce-content-body.moove_gdpr_info_bar_content h1,.mce-content-body.moove_gdpr_info_bar_content h2,.mce-content-body.moove_gdpr_info_bar_content h3,.mce-content-body.moove_gdpr_info_bar_content h4,.mce-content-body.moove_gdpr_info_bar_content h5,.mce-content-body.moove_gdpr_info_bar_content h6,.mce-content-body.moove_gdpr_info_bar_content li,.mce-content-body.moove_gdpr_info_bar_content p,.mce-content-body.moove_gdpr_info_bar_content p a{font:normal 11pt/16pt Arial,sans-serif;margin:0}
|
1 |
/*! Lity - v2.2.2 - 2017-07-17
|
2 |
* http://sorgalla.com/lity/
|
3 |
+
* Copyright (c) 2015-2017 Jan Sorgalla; Licensed MIT */.lity{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;white-space:nowrap;background:#0b0b0b;background:rgba(0,0,0,.9);outline:none!important;opacity:0;transition:opacity .3s ease}.lity.lity-opened{opacity:1}.lity.lity-closed{opacity:0}.lity *{box-sizing:border-box}.lity-wrap{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;text-align:center;outline:none!important}.lity-wrap:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.lity-loader{z-index:9991;color:#fff;position:absolute;top:50%;margin-top:-.8em;width:100%;text-align:center;font-size:14px;font-family:Arial,Helvetica,sans-serif;opacity:0;transition:opacity .3s ease}.lity-loading .lity-loader{opacity:1}.lity-container{z-index:9992;position:relative;text-align:left;vertical-align:middle;display:inline-block;white-space:normal;max-width:100%;max-height:100%;outline:none!important}.lity-content{z-index:9993;width:100%;-webkit-transform:scale(1);transform:scale(1);transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.lity-closed .lity-content,.lity-loading .lity-content{-webkit-transform:scale(.8);transform:scale(.8)}.lity-content:after{content:"";position:absolute;left:0;top:0;bottom:0;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6)}.lity-close{z-index:9994;width:35px;height:35px;position:fixed;right:0;top:0;-webkit-appearance:none;cursor:pointer;text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close::-moz-focus-inner{border:0;padding:0}.lity-close:active,.lity-close:focus,.lity-close:hover,.lity-close:visited{text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close:active{top:1px}.lity-image img{max-width:100%;display:block;line-height:0;border:0}.lity-facebookvideo .lity-container,.lity-googlemaps .lity-container,.lity-iframe .lity-container,.lity-vimeo .lity-container,.lity-youtube .lity-container{width:100%;max-width:964px}.lity-iframe-container{width:100%;height:0;padding-top:56.25%;overflow:auto;pointer-events:auto;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-overflow-scrolling:touch}.lity-iframe-container iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.lity-hide{display:none}.mce-content-body.moove_gdpr_advanced_cookies_tab_content,.mce-content-body.moove_gdpr_cookies_policy_tab_content,.mce-content-body.moove_gdpr_performance_cookies_tab_content,.mce-content-body.moove_gdpr_privacy_overview_tab_content,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content,.mce-content-body.moove_gdpr_strictly_necessary_cookies_warning{margin:10px;max-width:400px}.mce-content-body.moove_gdpr_advanced_cookies_tab_content a,.mce-content-body.moove_gdpr_advanced_cookies_tab_content li,.mce-content-body.moove_gdpr_advanced_cookies_tab_content p,.mce-content-body.moove_gdpr_cookies_policy_tab_content a,.mce-content-body.moove_gdpr_cookies_policy_tab_content li,.mce-content-body.moove_gdpr_cookies_policy_tab_content p,.mce-content-body.moove_gdpr_performance_cookies_tab_content a,.mce-content-body.moove_gdpr_performance_cookies_tab_content li,.mce-content-body.moove_gdpr_performance_cookies_tab_content p,.mce-content-body.moove_gdpr_privacy_overview_tab_content a,.mce-content-body.moove_gdpr_privacy_overview_tab_content li,.mce-content-body.moove_gdpr_privacy_overview_tab_content p,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content a,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content li,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content p,.mce-content-body.moove_gdpr_strictly_necessary_cookies_warning a,.mce-content-body.moove_gdpr_strictly_necessary_cookies_warning li,.mce-content-body.moove_gdpr_strictly_necessary_cookies_warning p{font:normal 11px/14px Tahoma,Geneva,sans-serif;margin-bottom:15px;margin-top:0}.mce-content-body.moove_gdpr_advanced_cookies_tab_content h1,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h2,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h3,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h4,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h5,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h6,.mce-content-body.moove_gdpr_cookies_policy_tab_content h1,.mce-content-body.moove_gdpr_cookies_policy_tab_content h2,.mce-content-body.moove_gdpr_cookies_policy_tab_content h3,.mce-content-body.moove_gdpr_cookies_policy_tab_content h4,.mce-content-body.moove_gdpr_cookies_policy_tab_content h5,.mce-content-body.moove_gdpr_cookies_policy_tab_content h6,.mce-content-body.moove_gdpr_performance_cookies_tab_content h1,.mce-content-body.moove_gdpr_performance_cookies_tab_content h2,.mce-content-body.moove_gdpr_performance_cookies_tab_content h3,.mce-content-body.moove_gdpr_performance_cookies_tab_content h4,.mce-content-body.moove_gdpr_performance_cookies_tab_content h5,.mce-content-body.moove_gdpr_performance_cookies_tab_content h6,.mce-content-body.moove_gdpr_privacy_overview_tab_content h1,.mce-content-body.moove_gdpr_privacy_overview_tab_content h2,.mce-content-body.moove_gdpr_privacy_overview_tab_content h3,.mce-content-body.moove_gdpr_privacy_overview_tab_content h4,.mce-content-body.moove_gdpr_privacy_overview_tab_content h5,.mce-content-body.moove_gdpr_privacy_overview_tab_content h6,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h1,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h2,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h3,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h4,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h5,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h6,.mce-content-body.moove_gdpr_strictly_necessary_cookies_warning h1,.mce-content-body.moove_gdpr_strictly_necessary_cookies_warning h2,.mce-content-body.moove_gdpr_strictly_necessary_cookies_warning h3,.mce-content-body.moove_gdpr_strictly_necessary_cookies_warning h4,.mce-content-body.moove_gdpr_strictly_necessary_cookies_warning h5,.mce-content-body.moove_gdpr_strictly_necessary_cookies_warning h6{font:normal 14px/18px Tahoma,Geneva,sans-serif;margin-bottom:15px;margin-top:0;font-weight:700;text-transform:none}.mce-content-body.moove_gdpr_info_bar_content{margin:10px}.mce-content-body.moove_gdpr_info_bar_content h1,.mce-content-body.moove_gdpr_info_bar_content h2,.mce-content-body.moove_gdpr_info_bar_content h3,.mce-content-body.moove_gdpr_info_bar_content h4,.mce-content-body.moove_gdpr_info_bar_content h5,.mce-content-body.moove_gdpr_info_bar_content h6,.mce-content-body.moove_gdpr_info_bar_content li,.mce-content-body.moove_gdpr_info_bar_content p,.mce-content-body.moove_gdpr_info_bar_content p a{font:normal 11pt/16pt Arial,sans-serif;margin:0}
|
dist/styles/main.css
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
/*! Lity - v2.2.2 - 2017-07-17
|
2 |
* http://sorgalla.com/lity/
|
3 |
-
* Copyright (c) 2015-2017 Jan Sorgalla; Licensed MIT */.lity{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;white-space:nowrap;background:#0b0b0b;background:rgba(0,0,0,.9);outline:none!important;opacity:0;transition:opacity .3s ease}.lity.lity-opened{opacity:1}.lity.lity-closed{opacity:0}.lity *{box-sizing:border-box}.lity-wrap{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;text-align:center;outline:none!important}.lity-wrap:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.lity-loader{z-index:9991;color:#fff;position:absolute;top:50%;margin-top:-.8em;width:100%;text-align:center;font-size:14px;font-family:Arial,Helvetica,sans-serif;opacity:0;transition:opacity .3s ease}.lity-loading .lity-loader{opacity:1}.lity-container{z-index:9992;position:relative;text-align:left;vertical-align:middle;display:inline-block;white-space:normal;max-width:100%;max-height:100%;outline:none!important}.lity-content{z-index:9993;width:100%;-webkit-transform:scale(1);transform:scale(1);transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.lity-closed .lity-content,.lity-loading .lity-content{-webkit-transform:scale(.8);transform:scale(.8)}.lity-content:after{content:"";position:absolute;left:0;top:0;bottom:0;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6)}.lity-close{z-index:9994;width:35px;height:35px;position:fixed;right:0;top:0;-webkit-appearance:none;cursor:pointer;text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close::-moz-focus-inner{border:0;padding:0}.lity-close:active,.lity-close:focus,.lity-close:hover,.lity-close:visited{text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close:active{top:1px}.lity-image img{max-width:100%;display:block;line-height:0;border:0}.lity-facebookvideo .lity-container,.lity-googlemaps .lity-container,.lity-iframe .lity-container,.lity-vimeo .lity-container,.lity-youtube .lity-container{width:100%;max-width:964px}.lity-iframe-container{width:100%;height:0;padding-top:56.25%;overflow:auto;pointer-events:auto;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-overflow-scrolling:touch}.lity-iframe-container iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.lity-hide{display:none}@import url("https://fonts.googleapis.com/css?family=Nunito:400,600,700,800");@font-face{font-family:moovegdpr;src:url(../fonts/moovegdpr.eot?ynqoef);src:url(../fonts/moovegdpr.eot?ynqoef#iefix) format("embedded-opentype"),url(../fonts/moovegdpr.ttf?ynqoef) format("truetype"),url(../fonts/moovegdpr.woff?ynqoef) format("woff"),url(../fonts/moovegdpr.svg?ynqoef#moovegdpr) format("svg");font-weight:400;font-style:normal}[class*=" moovegdpr-"],[class^=moovegdpr-]{font-family:moovegdpr!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.moovegdpr-arrow-close:before{content:"\e900"}.moovegdpr-policy:before{content:"\e901"}.moovegdpr-advanced:before{content:"\e902"}.moovegdpr-3rd-party:before{content:"\e903"}.moovegdpr-strict-necessary:before{content:"\e904"}.moovegdpr-privacy-overview:before{content:"\e905"}#moove_gdpr_cookie_modal{margin:0 auto;margin-top:0;min-height:60vh;font-family:Nunito,sans-serif!important}#moove_gdpr_cookie_modal button{letter-spacing:0;outline:none;cursor:pointer}#moove_gdpr_cookie_modal *{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#moove_gdpr_cookie_modal .switch{position:relative;display:inline-block;width:50px;height:30px}#moove_gdpr_cookie_modal .switch input{display:none}#moove_gdpr_cookie_modal .switch .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:red;transition:.4s}#moove_gdpr_cookie_modal .switch .slider:before{position:absolute;content:"";height:26px;width:26px;left:1px;bottom:1px;transition:.4s;border:1px solid #f2f2f2;border-radius:50%;background-color:#fff;box-shadow:0 5px 15px 0 rgba(0,0,0,.25);display:block;box-sizing:content-box}#moove_gdpr_cookie_modal .switch .slider:after{content:attr(data-text-disabled);position:absolute;top:0;left:60px;font:800 16px/30px Nunito,sans-serif!important;color:red;display:block}#moove_gdpr_cookie_modal .switch .slider.round{border-radius:34px}#moove_gdpr_cookie_modal .switch .slider.round:before{border-radius:50%}#moove_gdpr_cookie_modal .switch input:checked+.slider{background-color:#2e9935}#moove_gdpr_cookie_modal .switch input:checked+.slider:after{content:attr(data-text-enable);color:#2e9935}#moove_gdpr_cookie_modal .switch input:focus+.slider{box-shadow:0 0 1px #2e9935}#moove_gdpr_cookie_modal .switch input:checked+.slider:before{-webkit-transform:translateX(20px);transform:translateX(20px)}#moove_gdpr_cookie_modal a,#moove_gdpr_cookie_modal button{outline:none!important;box-shadow:none!important;text-shadow:none!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{color:#000;background-color:#fff;width:100%;width:80vw;max-width:1170px;min-height:600px;border-radius:10px;position:relative;margin:0 auto}#moove_gdpr_cookie_modal .moove-gdpr-modal-content fieldset{background-color:transparent!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close{position:absolute;text-decoration:none!important;top:-30px;right:-30px;display:block;width:60px;height:60px;line-height:60px;text-align:center;border-radius:50%;background:transparent;padding:0;z-index:99}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close:hover i{background-color:#fff!important;color:#0c4da2}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close i{display:block;width:60px;height:60px;line-height:60px;font-size:48px;background-color:#0c4da2;border:1px solid #0c4da2;color:#fff;border-radius:50%;transition:all .3s ease}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder{padding:0;margin-bottom:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder img{max-height:75px;max-width:70%}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-title h2{font:normal 20px Nunito,sans-serif!important;margin:5px 0 0;padding:0;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-content.moove-gdpr-no-modal-title .moove-gdpr-tab-main h3.tab-title{margin-top:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main h3.tab-title{font:800 28px Nunito,sans-serif!important;margin:0;padding:0;color:#000;margin-bottom:25px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:35vh;overflow-y:auto;padding-right:20px;padding-bottom:15px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent button,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent li,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent p{font:400 16px Nunito,sans-serif!important;margin-bottom:20px;margin-top:0;padding:0;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h1,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h2,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h3,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h4,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h5,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h6{font:600 18px Nunito,sans-serif!important;margin-bottom:20px;margin-top:0;font-weight:700;text-transform:none;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent a{color:#000;text-decoration:underline}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent.moove-gdpr-strict-warning-message{display:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar{padding:5px;margin-right:10px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar.checkbox-selected p>input[type=checkbox]:checked+label{background-position:205px -81px;color:#09a501}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar p{display:inline-block;float:right;color:#09a501;margin:0;line-height:1.2;font:700 11px Arial,Helvetica,sans-serif;font-weight:700}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset{border:none;padding:0;margin:0;box-shadow:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset:hover label{color:#09a501}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>{width:220px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]+label:hover,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:focus+label,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:hover+label{color:#09a501;cursor:pointer}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:checked+label:hover,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:focus:checked+label,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:hover:checked+label{color:#09a501}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input+label{background:url(../images/moove-gdpr-inputs.png) 205px -1px no-repeat;height:16px;padding-right:25px;left:0;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>label{padding:0;width:225px;line-height:17px;text-align:right;display:block;font-weight:700}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input{padding:0;margin:0;height:16px;width:16px;float:left;right:37px;position:absolute;opacity:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:130px;position:absolute;left:0;bottom:0;width:100%;background-color:#f1f1f1;z-index:15;border-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{content:"";position:absolute;bottom:130px;left:60px;right:60px;height:1px;display:block;background-color:#c9c8c8}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-branding{text-decoration:none;padding:0 10px;font-size:10px;color:#000;font-weight:700;line-height:15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;width:150px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-branding img{height:15px;margin-left:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder{width:100%;display:block;padding:0 60px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton{margin:0;background-color:#2f9d37;text-decoration:none;border-radius:150px;color:#fff;line-height:18px;padding:15px 10px;transition:all .3s ease;border:1px solid #2f9d37;min-width:160px;text-align:center;text-transform:none;letter-spacing:0;font:800 14px/20px Nunito,sans-serif;cursor:pointer}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton:hover,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton:hover{color:#2f9d37;background-color:#fff}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton.moove-gdpr-modal-allow-all,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton.moove-gdpr-modal-allow-all{float:left}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton.moove-gdpr-modal-save-settings,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton.moove-gdpr-modal-save-settings{float:right;background-color:#2f9d37;color:#fff;display:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton.moove-gdpr-modal-save-settings:hover,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton.moove-gdpr-modal-save-settings:hover{color:#2f9d37;background-color:#fff}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{width:40%;display:inline-block;float:left;padding:40px 60px;position:absolute;height:100%;top:0;box-shadow:0 0 30px 0 rgba(35,35,35,.1);background:#fff;z-index:10;left:0;border-top-left-radius:5px;border-bottom-left-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt{position:absolute;bottom:0;padding-bottom:30px;left:60px;right:60px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt a{color:#000;font:700 15px Nunito,sans-serif!important;letter-spacing:-.3px;padding:20px 0;position:relative;top:10px;text-decoration:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt a img{width:60px;height:auto;display:inline-block;margin-left:5px;position:relative;top:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu{padding:0;list-style:none;margin:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li{margin:0;padding:0;list-style:none;margin-bottom:15px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected button{background-color:#fff;border-color:#f1f1f1;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected a i,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected button i{color:#000!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font:800 14px Nunito,sans-serif!important;text-decoration:none;text-transform:uppercase;background-color:#f1f1f1;border:1px solid #f1f1f1;line-height:1.1;padding:13px 20px;color:#0c4da2;width:100%;transition:all .3s ease;border-radius:5px;text-align:left}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a:hover span,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button:hover span{text-decoration:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a i,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button i{display:inline-block;float:left;font-size:30px;width:40px;margin-right:5px;position:relative;top:0;color:#0c4da2}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a span,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button span{display:inline-block;width:calc(100% - 40px)}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{width:60%;display:inline-block;float:right;padding:40px 60px;position:absolute;top:0;height:100%;right:0;background-color:#f1f1f1;border-top-right-radius:5px;border-bottom-right-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo{width:100%;height:0;padding-bottom:38px;background-size:contain;background-position:0;background-repeat:no-repeat}.moove-hidden{display:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar:after,.moove-clearfix:after{content:"";display:table;clear:both}#moove_gdpr_cookie_info_bar{position:fixed;bottom:0;left:0;width:100%;min-height:60px;max-height:200px;color:#fff;z-index:9900;background-color:#202020;border-top:1px solid #fff;font-family:Tahoma,Geneva,sans-serif;transition:bottom .3s cubic-bezier(.17,.04,.03,.94)}#moove_gdpr_cookie_info_bar.moove-gdpr-info-bar-hidden{bottom:-200px}#moove_gdpr_cookie_info_bar.moove-gdpr-align-center,#moove_gdpr_cookie_info_bar.moove-gdpr-align-right{text-align:center}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme{background-color:#fff;border-top:1px solid #202020}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme p{color:#202020!important}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{color:#202020!important;font-family:Nunito,sans-serif!important}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button{text-decoration:underline!important;outline:none!important}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a:hover,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button:hover{color:#2f9d37!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme{background-color:#202020;border-top:1px solid #fff}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme p{color:#fff!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{color:#fff!important;font-family:Nunito,sans-serif!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button{text-decoration:underline!important;outline:none!important;transition:all .2s ease}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a:hover,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button:hover{color:#2f9d37!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton:hover,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton:hover{background-color:#fff!important;color:#2f9d37!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a{border-color:#fff;color:#fff!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a:hover{background-color:#fff;color:#202020!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container{padding:10px 40px;position:relative;display:inline-block}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container i.gdpricon-cog-1{font-size:40px;width:60px;height:50px;line-height:50px;text-align:center;position:absolute;top:calc(50% - 25px);left:0;color:#fff!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-close-cookie-popup{position:absolute;width:60px;height:50px;line-height:50px;text-align:center;top:calc(50% - 25px);right:0;text-decoration:none;outline:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-close-cookie-popup i{width:28px;height:28px;line-height:26px;text-align:center;text-decoration:none;background-color:#fff;color:#424449;border-radius:50%;display:block;border:1px solid #fff;font-size:16px;position:relative}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-close-cookie-popup:hover i{background-color:#424449;color:#fff}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content{display:block;padding-left:30px;padding-right:30px;text-align:left;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{margin:0;font-family:Nunito,sans-serif!important;font-size:14px!important;line-height:18px!important;font-weight:700;padding-bottom:0;color:#fff!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a{display:inline-block;width:35px;height:35px;border:1px solid #202020;color:#202020;text-decoration:none!important;outline:none!important;line-height:35px;text-align:center;font-size:16px;border-radius:50%;font-size:28px;padding-top:1px;transition:all .2s ease;margin-left:6vw}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a:hover{background-color:#202020;color:#fff!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton{background-color:#2f9d37;text-decoration:none;font:normal 14px/20px Nunito,sans-serif;border-radius:5px;color:#fff;font-weight:800;text-decoration:none!important;border-radius:150px;padding:8px 30px;transition:all .3s ease;border:none;display:inline-block;margin:3px 4px;white-space:nowrap;text-transform:none;letter-spacing:0;cursor:pointer}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton:hover,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton:hover{color:#fff!important;background-color:#202020}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton.change-settings-button,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton.change-settings-button{background-color:#424449;color:#fff;border-color:transparent;text-decoration:underline;cursor:pointer}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton.change-settings-button:hover,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton.change-settings-button:hover{border-color:#fff}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content span.change-settings-button{text-decoration:underline;cursor:pointer;transition:all .2s ease}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-button-holder{padding-left:3vw}.lity.moove_gdpr_cookie_modal_open .lity-close{opacity:0!important;visibility:hidden!important}#moove_gdpr_save_popup_settings_button{display:block;z-index:1001;position:fixed;bottom:50px;left:50px;background-color:rgba(0,0,0,.8);transition:all .3s ease;color:#fff;padding:0 5px;height:38px;outline:none;font:normal 14px/20px Nunito,sans-serif}#moove_gdpr_save_popup_settings_button span.moove_gdpr_icon{display:inline-block;line-height:38px;float:left;font-size:30px;min-width:30px;text-align:center}#moove_gdpr_save_popup_settings_button span.moove_gdpr_icon i{position:relative;top:2px}#moove_gdpr_save_popup_settings_button span.moove_gdpr_text{font:normal 12px Arial,sans-serif;text-transform:uppercase;line-height:38px;display:none;padding:0 5px}#moove_gdpr_save_popup_settings_button:hover{background-color:#000}#moove_gdpr_save_popup_settings_button:hover span.moove_gdpr_text{display:inline-block}@media (max-width:767px){#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt button{top:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder img{max-height:40px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder{text-align:center}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container i.gdpricon-cog-1{display:none}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content{padding-left:0;padding-right:40px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-cookie-notice{padding-left:4px;margin-bottom:10px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{font:normal 8pt/12pt Arial,sans-serif}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-button-holder{padding-left:0}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content{display:block}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton{font-size:10px;padding:2px 10px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container{padding:15px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{font:normal 14px/16px Arial,sans-serif!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button button{display:inline-block;width:30px;height:30px;border:1px solid #202020;color:#202020;text-decoration:none!important;outline:none!important;line-height:30px;text-align:center;font-size:16px;border-radius:50%;font-size:27px;padding-top:1px;transition:all .2s ease;margin-left:6vw;position:absolute;right:5px;top:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{width:100%;padding:10px;padding-top:30px;position:relative;top:0;left:0;text-align:center;height:140px;border-radius:0;border-top-left-radius:5px;border-top-right-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{min-height:300px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close{position:absolute;top:-15px;right:-15px;display:block;width:30px;height:30px;line-height:30px;text-decoration:none!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close i{width:30px;height:30px;line-height:30px;font-size:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo{padding-bottom:30px;background-size:contain;background-position:50%;margin-top:10px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder{margin-bottom:15px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a span,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button span{display:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button{padding:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a i,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button i{margin:0;text-align:center;width:24px;font-size:24px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu{display:inline-block;margin:0 auto}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt{top:3px;right:3px;left:auto;padding:0;bottom:auto;-webkit-transform:scale(.8);transform:scale(.8)}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li{list-style:none;margin-bottom:20px;display:inline-block;float:left;margin:0 5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{width:100%;position:relative;padding:15px 10px;height:calc(90vh - 140px);border-radius:0;border-bottom-left-radius:5px;border-bottom-right-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{padding:0;max-height:40vh}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{max-height:90vw}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton{margin:0;background-color:#fff;text-decoration:none;border-radius:150px;color:#000;font-weight:800;font-size:12px;line-height:18px;padding:5px;transition:all .3s ease;border:1px solid #fff;color:#fff;min-width:110px;text-align:center;text-transform:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder{padding:0 10px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main h3.tab-title{font:800 16px Nunito,sans-serif!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent li,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent p{font:600 12px Nunito,sans-serif!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h1,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h2,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h3,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h4,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h5,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h6{font:700 14px Nunito,sans-serif!important}#moove_gdpr_cookie_modal .switch .slider:after{font:800 12px/30px Nunito,sans-serif!important;min-width:130px!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{height:70px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{left:10px;right:10px;bottom:70px}}@media screen and (max-width:767px) and (orientation:landscape){#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo{margin-top:0;background-position:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder{text-align:left;margin:0;display:inline-block;float:left;width:40%}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu{max-width:60%;float:right}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{padding-top:40px;height:90px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main h3.tab-title{margin-bottom:10px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{height:45px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{bottom:45px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:36vh}#moove_gdpr_cookie_modal{background:#fff;border-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{height:65vh}}@media (min-width:768px) and (max-width:999px){#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{padding:30px 20px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{height:120px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder{padding:0 20px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{bottom:120px;left:20px;right:20px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{padding:30px 20px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{min-height:620px;-webkit-transform:scale(.75);transform:scale(.75)}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt{left:20px;right:20px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p>a{font-size:13px!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:35vh}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button{padding:10px 15px;font:800 12px Nunito,sans-serif!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content{padding-left:20px;padding-right:20px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button button{margin-left:5vw}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main h3.tab-title{font:800 24px Nunito,sans-serif!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton{-webkit-transform:scale(.75);transform:scale(.75)}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container{padding:10px 20px}}@media (min-width:1000px) and (max-width:1300px){#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{padding:40px 30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{height:120px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder{padding:0 30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{bottom:120px;left:30px;right:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:48vh}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt{left:30px;right:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{padding:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{min-width:700px}}@media (min-width:768px) and (max-height:700px){#moove_gdpr_cookie_modal .moove-gdpr-modal-content{min-height:600px;-webkit-transform:scale(.7);transform:scale(.7)}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:60vh}}
|
1 |
/*! Lity - v2.2.2 - 2017-07-17
|
2 |
* http://sorgalla.com/lity/
|
3 |
+
* Copyright (c) 2015-2017 Jan Sorgalla; Licensed MIT */.lity{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;white-space:nowrap;background:#0b0b0b;background:rgba(0,0,0,.9);outline:none!important;opacity:0;transition:opacity .3s ease}.lity.lity-opened{opacity:1}.lity.lity-closed{opacity:0}.lity *{box-sizing:border-box}.lity-wrap{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;text-align:center;outline:none!important}.lity-wrap:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.lity-loader{z-index:9991;color:#fff;position:absolute;top:50%;margin-top:-.8em;width:100%;text-align:center;font-size:14px;font-family:Arial,Helvetica,sans-serif;opacity:0;transition:opacity .3s ease}.lity-loading .lity-loader{opacity:1}.lity-container{z-index:9992;position:relative;text-align:left;vertical-align:middle;display:inline-block;white-space:normal;max-width:100%;max-height:100%;outline:none!important}.lity-content{z-index:9993;width:100%;-webkit-transform:scale(1);transform:scale(1);transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.lity-closed .lity-content,.lity-loading .lity-content{-webkit-transform:scale(.8);transform:scale(.8)}.lity-content:after{content:"";position:absolute;left:0;top:0;bottom:0;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6)}.lity-close{z-index:9994;width:35px;height:35px;position:fixed;right:0;top:0;-webkit-appearance:none;cursor:pointer;text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close::-moz-focus-inner{border:0;padding:0}.lity-close:active,.lity-close:focus,.lity-close:hover,.lity-close:visited{text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close:active{top:1px}.lity-image img{max-width:100%;display:block;line-height:0;border:0}.lity-facebookvideo .lity-container,.lity-googlemaps .lity-container,.lity-iframe .lity-container,.lity-vimeo .lity-container,.lity-youtube .lity-container{width:100%;max-width:964px}.lity-iframe-container{width:100%;height:0;padding-top:56.25%;overflow:auto;pointer-events:auto;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-overflow-scrolling:touch}.lity-iframe-container iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.lity-hide{display:none}@import url("https://fonts.googleapis.com/css?family=Nunito:400,600,700,800");@font-face{font-family:moovegdpr;src:url(../fonts/moovegdpr.eot?ynqoef);src:url(../fonts/moovegdpr.eot?ynqoef#iefix) format("embedded-opentype"),url(../fonts/moovegdpr.ttf?ynqoef) format("truetype"),url(../fonts/moovegdpr.woff?ynqoef) format("woff"),url(../fonts/moovegdpr.svg?ynqoef#moovegdpr) format("svg");font-weight:400;font-style:normal}[class*=" moovegdpr-"],[class^=moovegdpr-]{font-family:moovegdpr!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.moovegdpr-arrow-close:before{content:"\e900"}.moovegdpr-policy:before{content:"\e901"}.moovegdpr-advanced:before{content:"\e902"}.moovegdpr-3rd-party:before{content:"\e903"}.moovegdpr-strict-necessary:before{content:"\e904"}.moovegdpr-privacy-overview:before{content:"\e905"}#moove_gdpr_cookie_modal{margin:0 auto;margin-top:0;min-height:60vh;font-family:Nunito,sans-serif!important}#moove_gdpr_cookie_modal button{letter-spacing:0;outline:none;cursor:pointer}#moove_gdpr_cookie_modal *{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#moove_gdpr_cookie_modal .switch{position:relative;display:inline-block;width:50px;height:30px}#moove_gdpr_cookie_modal .switch input{display:none}#moove_gdpr_cookie_modal .switch .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:red;transition:.4s}#moove_gdpr_cookie_modal .switch .slider:before{position:absolute;content:"";height:26px;width:26px;left:1px;bottom:1px;transition:.4s;border:1px solid #f2f2f2;border-radius:50%;background-color:#fff;box-shadow:0 5px 15px 0 rgba(0,0,0,.25);display:block;box-sizing:content-box}#moove_gdpr_cookie_modal .switch .slider:after{content:attr(data-text-disabled);position:absolute;top:0;left:60px;font:800 16px/30px Nunito,sans-serif!important;color:red;display:block;white-space:nowrap}#moove_gdpr_cookie_modal .switch .slider.round{border-radius:34px}#moove_gdpr_cookie_modal .switch .slider.round:before{border-radius:50%}#moove_gdpr_cookie_modal .switch input:checked+.slider{background-color:#2e9935}#moove_gdpr_cookie_modal .switch input:checked+.slider:after{content:attr(data-text-enable);color:#2e9935;white-space:nowrap}#moove_gdpr_cookie_modal .switch input:focus+.slider{box-shadow:0 0 1px #2e9935}#moove_gdpr_cookie_modal .switch input:checked+.slider:before{-webkit-transform:translateX(20px);transform:translateX(20px)}#moove_gdpr_cookie_modal a,#moove_gdpr_cookie_modal button{outline:none!important;box-shadow:none!important;text-shadow:none!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{color:#000;background-color:#fff;width:100%;width:80vw;max-width:1170px;min-height:600px;border-radius:10px;position:relative;margin:0 auto}#moove_gdpr_cookie_modal .moove-gdpr-modal-content fieldset{background-color:transparent!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close{position:absolute;text-decoration:none!important;top:-30px;right:-30px;display:block;width:60px;height:60px;line-height:60px;text-align:center;border-radius:50%;background:transparent;padding:0;z-index:99}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close:hover i{background-color:#fff!important;color:#0c4da2}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close i{display:block;width:60px;height:60px;line-height:60px;font-size:48px;background-color:#0c4da2;border:1px solid #0c4da2;color:#fff;border-radius:50%;transition:all .3s ease}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder{padding:0;margin-bottom:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder img{max-height:75px;max-width:70%}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-title h2{font:normal 20px Nunito,sans-serif!important;margin:5px 0 0;padding:0;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-content.moove-gdpr-no-modal-title .moove-gdpr-tab-main h3.tab-title{margin-top:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main h3.tab-title{font:800 28px Nunito,sans-serif!important;margin:0;padding:0;color:#000;margin-bottom:25px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:35vh;overflow-y:auto;padding-right:20px;padding-bottom:15px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent button,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent li,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent p{font:400 16px Nunito,sans-serif!important;margin-bottom:20px;margin-top:0;padding:0;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h1,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h2,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h3,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h4,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h5,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h6{font:600 18px Nunito,sans-serif!important;margin-bottom:20px;margin-top:0;font-weight:700;text-transform:none;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent a{color:#000;text-decoration:underline}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent.moove-gdpr-strict-warning-message{display:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar{padding:5px;margin-right:10px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar.checkbox-selected p>input[type=checkbox]:checked+label{background-position:205px -81px;color:#09a501}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar p{display:inline-block;float:right;color:#09a501;margin:0;line-height:1.2;font:700 11px Arial,Helvetica,sans-serif;font-weight:700}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset{border:none;padding:0;margin:0;box-shadow:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset:hover label{color:#09a501}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>{width:220px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]+label:hover,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:focus+label,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:hover+label{color:#09a501;cursor:pointer}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:checked+label:hover,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:focus:checked+label,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:hover:checked+label{color:#09a501}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input+label{background:url(../images/moove-gdpr-inputs.png) 205px -1px no-repeat;height:16px;padding-right:25px;left:0;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>label{padding:0;width:225px;line-height:17px;text-align:right;display:block;font-weight:700}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input{padding:0;margin:0;height:16px;width:16px;float:left;right:37px;position:absolute;opacity:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:130px;position:absolute;left:0;bottom:0;width:100%;background-color:#f1f1f1;z-index:15;border-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{content:"";position:absolute;bottom:130px;left:60px;right:60px;height:1px;display:block;background-color:#c9c8c8}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-branding{text-decoration:none;padding:0 10px;font-size:10px;color:#000;font-weight:700;line-height:15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;width:150px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-branding img{height:15px;margin-left:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder{width:100%;display:block;padding:0 60px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton{margin:0;background-color:#2f9d37;text-decoration:none;border-radius:150px;color:#fff;line-height:18px;padding:15px 10px;transition:all .3s ease;border:1px solid #2f9d37;min-width:160px;text-align:center;text-transform:none;letter-spacing:0;font:800 14px/20px Nunito,sans-serif;cursor:pointer}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton:hover,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton:hover{color:#2f9d37;background-color:#fff}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton.moove-gdpr-modal-allow-all,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton.moove-gdpr-modal-allow-all{float:left}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton.moove-gdpr-modal-save-settings,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton.moove-gdpr-modal-save-settings{float:right;background-color:#2f9d37;color:#fff;display:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton.moove-gdpr-modal-save-settings:hover,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton.moove-gdpr-modal-save-settings:hover{color:#2f9d37;background-color:#fff}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{width:40%;display:inline-block;float:left;padding:40px 60px;position:absolute;height:100%;top:0;box-shadow:0 0 30px 0 rgba(35,35,35,.1);background:#fff;z-index:10;left:0;border-top-left-radius:5px;border-bottom-left-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt{position:absolute;bottom:0;padding-bottom:30px;left:60px;right:60px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt a{color:#000;font:700 15px Nunito,sans-serif!important;letter-spacing:-.3px;padding:20px 0;position:relative;top:10px;text-decoration:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt a img{width:60px;height:auto;display:inline-block;margin-left:5px;position:relative;top:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu{padding:0;list-style:none;margin:0;z-index:12}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li{margin:0;padding:0;list-style:none;margin-bottom:15px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected button{background-color:#fff;border-color:#f1f1f1;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected a i,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected button i{color:#000!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font:800 14px Nunito,sans-serif!important;text-decoration:none;text-transform:uppercase;background-color:#f1f1f1;border:1px solid #f1f1f1;line-height:1.1;padding:13px 20px;color:#0c4da2;width:100%;transition:all .3s ease;border-radius:5px;text-align:left}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a:hover span,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button:hover span{text-decoration:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a i,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button i{display:inline-block;float:left;font-size:30px;width:40px;margin-right:5px;position:relative;top:0;color:#0c4da2}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a span,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button span{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:calc(100% - 40px)}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{width:60%;display:inline-block;float:right;padding:40px 60px;position:absolute;top:0;height:100%;right:0;background-color:#f1f1f1;border-top-right-radius:5px;border-bottom-right-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo{width:100%;height:0;padding-bottom:38px;background-size:contain;background-position:0;background-repeat:no-repeat}.moove-hidden{display:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar:after,.moove-clearfix:after{content:"";display:table;clear:both}#moove_gdpr_cookie_info_bar{position:fixed;bottom:0;left:0;width:100%;min-height:60px;max-height:200px;color:#fff;z-index:9900;background-color:#202020;border-top:1px solid #fff;font-family:Tahoma,Geneva,sans-serif;transition:bottom .3s cubic-bezier(.17,.04,.03,.94)}#moove_gdpr_cookie_info_bar.moove-gdpr-info-bar-hidden{bottom:-200px}#moove_gdpr_cookie_info_bar.moove-gdpr-align-center,#moove_gdpr_cookie_info_bar.moove-gdpr-align-right{text-align:center}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme{background-color:#fff;border-top:1px solid #202020}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme p{color:#202020!important}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{color:#202020!important;font-family:Nunito,sans-serif!important}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button{text-decoration:underline!important;outline:none!important}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a:hover,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button:hover{color:#2f9d37!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme{background-color:#202020;border-top:1px solid #fff}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme p{color:#fff!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{color:#fff!important;font-family:Nunito,sans-serif!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button{text-decoration:underline!important;outline:none!important;transition:all .2s ease}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a:hover,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button:hover{color:#2f9d37!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton:hover,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton:hover{background-color:#fff!important;color:#2f9d37!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a{border-color:#fff;color:#fff!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a:hover{background-color:#fff;color:#202020!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container{padding:10px 40px;position:relative;display:inline-block}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container i.gdpricon-cog-1{font-size:40px;width:60px;height:50px;line-height:50px;text-align:center;position:absolute;top:calc(50% - 25px);left:0;color:#fff!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-close-cookie-popup{position:absolute;width:60px;height:50px;line-height:50px;text-align:center;top:calc(50% - 25px);right:0;text-decoration:none;outline:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-close-cookie-popup i{width:28px;height:28px;line-height:26px;text-align:center;text-decoration:none;background-color:#fff;color:#424449;border-radius:50%;display:block;border:1px solid #fff;font-size:16px;position:relative}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-close-cookie-popup:hover i{background-color:#424449;color:#fff}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content{display:block;padding-left:30px;padding-right:30px;text-align:left;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{margin:0;font-family:Nunito,sans-serif!important;font-size:14px!important;line-height:18px!important;font-weight:700;padding-bottom:0;color:#fff!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a{display:inline-block;width:35px;height:35px;border:1px solid #202020;color:#202020;text-decoration:none!important;outline:none!important;line-height:35px;text-align:center;font-size:16px;border-radius:50%;font-size:28px;padding-top:1px;transition:all .2s ease;margin-left:6vw}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a:hover{background-color:#202020;color:#fff!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton{background-color:#2f9d37;text-decoration:none;font:normal 14px/20px Nunito,sans-serif;border-radius:5px;color:#fff;font-weight:800;text-decoration:none!important;border-radius:150px;padding:8px 30px;transition:all .3s ease;border:none;display:inline-block;margin:3px 4px;white-space:nowrap;text-transform:none;letter-spacing:0;cursor:pointer}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton:hover,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton:hover{color:#fff!important;background-color:#202020}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton.change-settings-button,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton.change-settings-button{background-color:#424449;color:#fff;border-color:transparent;text-decoration:underline;cursor:pointer}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton.change-settings-button:hover,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton.change-settings-button:hover{border-color:#fff}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content span.change-settings-button{text-decoration:underline;cursor:pointer;transition:all .2s ease}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-button-holder{padding-left:3vw}.lity.moove_gdpr_cookie_modal_open .lity-close{opacity:0!important;visibility:hidden!important}#moove_gdpr_save_popup_settings_button{display:block;z-index:1001;position:fixed;border:none!important;bottom:50px;left:50px;background-color:rgba(0,0,0,.8);transition:all .3s ease;color:#fff;padding:0 5px!important;height:38px;outline:none;font:normal 14px/20px Nunito,sans-serif}#moove_gdpr_save_popup_settings_button span.moove_gdpr_icon{display:inline-block;line-height:38px;float:left;font-size:30px;min-width:30px;text-align:center}#moove_gdpr_save_popup_settings_button span.moove_gdpr_icon i{position:relative;top:2px}#moove_gdpr_save_popup_settings_button span.moove_gdpr_text{font:normal 12px Arial,sans-serif;text-transform:uppercase;line-height:38px;display:none;padding:0 5px}#moove_gdpr_save_popup_settings_button:hover{background-color:#000}#moove_gdpr_save_popup_settings_button:hover span.moove_gdpr_text{display:inline-block}@media (max-width:767px){#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt button{top:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt a.moove-gdpr-branding{top:-8px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder img{max-height:40px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder{text-align:center}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container i.gdpricon-cog-1{display:none}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content{padding-left:0;padding-right:40px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-cookie-notice{padding-left:4px;margin-bottom:10px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{font:normal 8pt/12pt Arial,sans-serif}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-button-holder{padding-left:0}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content{display:block}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton{font-size:10px;padding:2px 10px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container{padding:15px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{font:normal 14px/16px Arial,sans-serif!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button button{display:inline-block;width:30px;height:30px;border:1px solid #202020;color:#202020;text-decoration:none!important;outline:none!important;line-height:30px;text-align:center;font-size:16px;border-radius:50%;font-size:27px;padding-top:1px;transition:all .2s ease;margin-left:6vw;position:absolute;right:5px;top:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{width:100%;padding:10px;padding-top:30px;position:relative;top:0;left:0;text-align:center;height:140px;border-radius:0;border-top-left-radius:5px;border-top-right-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{min-height:220px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close{position:absolute;top:-15px;right:-15px;display:block;width:30px;height:30px;line-height:30px;text-decoration:none!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close i{width:30px;height:30px;line-height:30px;font-size:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo{padding-bottom:30px;background-size:contain;background-position:50%;margin-top:10px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder{margin-bottom:15px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a span,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button span{display:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button{padding:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a i,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button i{margin:0;text-align:center;width:24px;font-size:24px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu{display:inline-block;margin:0 auto}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt{top:3px;right:3px;left:auto;padding:0;bottom:auto;-webkit-transform:scale(.8);transform:scale(.8)}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li{list-style:none;margin-bottom:20px;display:inline-block;float:left;margin:0 5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{width:100%;position:relative;padding:15px 10px;height:calc(90vh - 200px);border-radius:0;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.moove-gdpr-branding-cnt a{padding:10px 0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{padding:0;max-height:30vh;position:relative;overflow:auto}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{max-height:90vw}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton{margin:0;background-color:#fff;text-decoration:none;border-radius:150px;color:#000;font-weight:800;font-size:12px;line-height:18px;padding:5px;transition:all .3s ease;border:1px solid #fff;color:#fff;min-width:110px;text-align:center;text-transform:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder{padding:0 10px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main h3.tab-title{font:800 16px Nunito,sans-serif!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent li,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent p{font:600 12px Nunito,sans-serif!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h1,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h2,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h3,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h4,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h5,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h6{font:700 14px Nunito,sans-serif!important}#moove_gdpr_cookie_modal .switch .slider:after{font:800 12px/30px Nunito,sans-serif!important;min-width:130px!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{height:70px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{left:10px;right:10px;bottom:70px}}@media screen and (max-width:767px) and (orientation:landscape){#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo{margin-top:0;background-position:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder{text-align:left;margin:0;display:inline-block;float:left;width:40%}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu{max-width:60%;float:right}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{padding-top:30px;height:75px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main h3.tab-title{margin-bottom:10px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{height:45px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{bottom:45px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:25vh}#moove_gdpr_cookie_modal{background:#fff;border-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{height:55vh}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt a.moove-gdpr-branding{top:0;padding:0}}@media (min-width:768px) and (max-width:999px){#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{padding:30px 20px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{height:120px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder{padding:0 20px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{bottom:120px;left:20px;right:20px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{padding:30px 20px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{min-height:620px;-webkit-transform:scale(.75);transform:scale(.75)}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt{left:20px;right:20px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p>a{font-size:13px!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:35vh}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button{padding:10px 15px;font:800 12px Nunito,sans-serif!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content{padding-left:20px;padding-right:20px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button button{margin-left:5vw}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main h3.tab-title{font:800 24px Nunito,sans-serif!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton{-webkit-transform:scale(.75);transform:scale(.75)}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container{padding:10px 20px}}@media (min-width:1000px) and (max-width:1300px){#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{padding:40px 30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{height:120px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder{padding:0 30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{bottom:120px;left:30px;right:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:48vh}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt{left:30px;right:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{padding:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{min-width:700px}}@media (min-width:768px) and (max-height:700px){#moove_gdpr_cookie_modal .moove-gdpr-modal-content{min-height:600px;-webkit-transform:scale(.7);transform:scale(.7)}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:60vh}}
|
languages/moove-gdpr.pot
CHANGED
@@ -0,0 +1,354 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#, fuzzy
|
2 |
+
msgid ""
|
3 |
+
msgstr ""
|
4 |
+
"Project-Id-Version: PACKAGE VERSION\n"
|
5 |
+
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2018-05-02 13:18+0000\n"
|
7 |
+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
+
"Last-Translator: \n"
|
9 |
+
"Language-Team: \n"
|
10 |
+
"Language: \n"
|
11 |
+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Loco https://localise.biz/"
|
16 |
+
|
17 |
+
#: moove-actions.php:103
|
18 |
+
msgid "Powered by GDPR plugin"
|
19 |
+
msgstr ""
|
20 |
+
|
21 |
+
#: moove-content.php:40
|
22 |
+
msgid ""
|
23 |
+
"<p>This website uses cookies so that we can provide you with the best user "
|
24 |
+
"experience possible. Cookie information is stored in your browser and "
|
25 |
+
"performs functions such as recognising you when you return to our website "
|
26 |
+
"and helping our team to understand which sections of the website you find "
|
27 |
+
"most interesting and useful.</p><p>You can adjust all of your cookie "
|
28 |
+
"settings by navigating the tabs on the left hand side.</p>"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: moove-content.php:49
|
32 |
+
msgid ""
|
33 |
+
"<p>Strictly Necessary Cookie should be enabled at all times so that we can "
|
34 |
+
"save your preferences for cookie settings.</p>"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: moove-content.php:58
|
38 |
+
msgid ""
|
39 |
+
"If you disable this cookie, we will not be able to save your preferences. "
|
40 |
+
"This means that every time you visit this website you will need to enable or "
|
41 |
+
"disable cookies again."
|
42 |
+
msgstr ""
|
43 |
+
|
44 |
+
#: moove-content.php:67
|
45 |
+
msgid ""
|
46 |
+
"<p>This website uses the following additional cookies:</p><p>(List the "
|
47 |
+
"cookies that you are using on the website here.)</p>"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: moove-content.php:76
|
51 |
+
msgid ""
|
52 |
+
"<p>This website uses Google Analytics to collect anonymous information such "
|
53 |
+
"as the number of visitors to the site, and the most popular pages.</p><p>"
|
54 |
+
"Keeping this cookie enabled helps us to improve our website.</p>"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: moove-content.php:85
|
58 |
+
msgid ""
|
59 |
+
"<p>More information about our <a href='#' target='_blank'>Cookie Policy</a>"
|
60 |
+
"</p>"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: moove-functions.php:23
|
64 |
+
msgid "Settings"
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: controllers/moove-controller.php:155
|
68 |
+
#: views/moove/admin/settings/general_settings.php:222
|
69 |
+
msgid "Change cookie settings"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: controllers/moove-controller.php:182 controllers/moove-controller.php:250
|
73 |
+
#: views/moove/admin/settings/privacy_overview.php:36
|
74 |
+
#: views/moove/admin/settings/privacy_overview.php:50
|
75 |
+
#: views/moove/admin/settings/settings_page.php:43
|
76 |
+
msgid "Privacy Overview"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#: controllers/moove-controller.php:189 controllers/moove-controller.php:262
|
80 |
+
#: views/moove/admin/settings/settings_page.php:50
|
81 |
+
#: views/moove/admin/settings/strictly_necessary_cookies.php:35
|
82 |
+
#: views/moove/admin/settings/strictly_necessary_cookies.php:48
|
83 |
+
msgid "Strictly Necessary Cookies"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: controllers/moove-controller.php:199 controllers/moove-controller.php:321
|
87 |
+
#: controllers/moove-controller.php:345
|
88 |
+
#: views/moove/admin/settings/settings_page.php:57
|
89 |
+
#: views/moove/admin/settings/third_party_cookies.php:65
|
90 |
+
#: views/moove/admin/settings/third_party_cookies.php:87
|
91 |
+
msgid "3rd Party Cookies"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: controllers/moove-controller.php:209 controllers/moove-controller.php:297
|
95 |
+
#: views/moove/admin/settings/advanced_cookies.php:65
|
96 |
+
#: views/moove/admin/settings/advanced_cookies.php:88
|
97 |
+
#: views/moove/admin/settings/settings_page.php:64
|
98 |
+
msgid "Additional Cookies"
|
99 |
+
msgstr ""
|
100 |
+
|
101 |
+
#: controllers/moove-controller.php:221
|
102 |
+
#: views/moove/admin/settings/cookie_policy.php:43
|
103 |
+
#: views/moove/admin/settings/cookie_policy.php:66
|
104 |
+
#: views/moove/admin/settings/settings_page.php:70
|
105 |
+
msgid "Cookie Policy"
|
106 |
+
msgstr ""
|
107 |
+
|
108 |
+
#: controllers/moove-controller.php:274 controllers/moove-controller.php:308
|
109 |
+
#: controllers/moove-controller.php:333
|
110 |
+
msgid "Enabled"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#: controllers/moove-controller.php:274 controllers/moove-controller.php:308
|
114 |
+
#: controllers/moove-controller.php:333
|
115 |
+
msgid "Disabled"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: controllers/moove-controller.php:363
|
119 |
+
#: views/moove/admin/settings/general_settings.php:130
|
120 |
+
msgid "Enable All"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: controllers/moove-controller.php:364
|
124 |
+
msgid "Save Settings"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: controllers/moove-controller.php:400
|
128 |
+
msgid "We are using cookies to give you the best experience on our website."
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: controllers/moove-controller.php:401
|
132 |
+
msgid ""
|
133 |
+
"You can find out more about which cookies we are using or switch them off in "
|
134 |
+
"[setting]settings[/setting]."
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: controllers/moove-controller.php:410
|
138 |
+
#: views/moove/admin/settings/general_settings.php:173
|
139 |
+
msgid "Accept"
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: views/moove/admin/settings/advanced_cookies.php:75
|
143 |
+
#: views/moove/admin/settings/cookie_policy.php:53
|
144 |
+
#: views/moove/admin/settings/third_party_cookies.php:75
|
145 |
+
msgid "Turn"
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: views/moove/admin/settings/advanced_cookies.php:78
|
149 |
+
#: views/moove/admin/settings/cookie_policy.php:56
|
150 |
+
#: views/moove/admin/settings/third_party_cookies.php:78
|
151 |
+
msgid "On"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: views/moove/admin/settings/advanced_cookies.php:79
|
155 |
+
#: views/moove/admin/settings/cookie_policy.php:57
|
156 |
+
#: views/moove/admin/settings/third_party_cookies.php:79
|
157 |
+
msgid "Off"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: views/moove/admin/settings/advanced_cookies.php:85
|
161 |
+
#: views/moove/admin/settings/cookie_policy.php:63
|
162 |
+
#: views/moove/admin/settings/privacy_overview.php:47
|
163 |
+
#: views/moove/admin/settings/strictly_necessary_cookies.php:45
|
164 |
+
#: views/moove/admin/settings/third_party_cookies.php:84
|
165 |
+
msgid "Tab Title"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: views/moove/admin/settings/advanced_cookies.php:94
|
169 |
+
#: views/moove/admin/settings/cookie_policy.php:72
|
170 |
+
#: views/moove/admin/settings/privacy_overview.php:56
|
171 |
+
#: views/moove/admin/settings/strictly_necessary_cookies.php:54
|
172 |
+
#: views/moove/admin/settings/third_party_cookies.php:93
|
173 |
+
msgid "Tab Content"
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: views/moove/admin/settings/advanced_cookies.php:117
|
177 |
+
#: views/moove/admin/settings/third_party_cookies.php:116
|
178 |
+
msgid "The below script will be added to the page if user enables this cookie."
|
179 |
+
msgstr ""
|
180 |
+
|
181 |
+
#: views/moove/admin/settings/advanced_cookies.php:125
|
182 |
+
#: views/moove/admin/settings/third_party_cookies.php:124
|
183 |
+
msgid ""
|
184 |
+
"For example, you can use it for Google Analytics script or any other 3rd "
|
185 |
+
"party code snippets."
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: views/moove/admin/settings/advanced_cookies.php:133
|
189 |
+
#: views/moove/admin/settings/cookie_policy.php:99
|
190 |
+
#: views/moove/admin/settings/general_settings.php:242
|
191 |
+
#: views/moove/admin/settings/privacy_overview.php:81
|
192 |
+
#: views/moove/admin/settings/strictly_necessary_cookies.php:99
|
193 |
+
#: views/moove/admin/settings/third_party_cookies.php:132
|
194 |
+
msgid "Save changes"
|
195 |
+
msgstr ""
|
196 |
+
|
197 |
+
#: views/moove/admin/settings/general_settings.php:44
|
198 |
+
msgid "Modal General Settings"
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#: views/moove/admin/settings/general_settings.php:52
|
202 |
+
msgid "Brand Primary Colour"
|
203 |
+
msgstr ""
|
204 |
+
|
205 |
+
#: views/moove/admin/settings/general_settings.php:61
|
206 |
+
msgid "Brand Secondary Colour"
|
207 |
+
msgstr ""
|
208 |
+
|
209 |
+
#: views/moove/admin/settings/general_settings.php:70
|
210 |
+
msgid "Modal Logo"
|
211 |
+
msgstr ""
|
212 |
+
|
213 |
+
#: views/moove/admin/settings/general_settings.php:71
|
214 |
+
msgid "Recommended size:"
|
215 |
+
msgstr ""
|
216 |
+
|
217 |
+
#: views/moove/admin/settings/general_settings.php:71
|
218 |
+
msgid "pixels"
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: views/moove/admin/settings/general_settings.php:118
|
222 |
+
msgid "Save Settings - Button Label"
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#: views/moove/admin/settings/general_settings.php:121
|
226 |
+
msgid "Save Changes"
|
227 |
+
msgstr ""
|
228 |
+
|
229 |
+
#: views/moove/admin/settings/general_settings.php:127
|
230 |
+
msgid "Enable All - Button Label"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
#: views/moove/admin/settings/general_settings.php:138
|
234 |
+
msgid "Cookie Info Bar Settings"
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: views/moove/admin/settings/general_settings.php:145
|
238 |
+
msgid "Infobar Content"
|
239 |
+
msgstr ""
|
240 |
+
|
241 |
+
#: views/moove/admin/settings/general_settings.php:153
|
242 |
+
msgid ""
|
243 |
+
"<p>We are using cookies to give you the best experience on our website.</p>"
|
244 |
+
"<p>You can find out more about which cookies we are using or switch them off "
|
245 |
+
"in [setting]settings[/setting].</p>"
|
246 |
+
msgstr ""
|
247 |
+
|
248 |
+
#: views/moove/admin/settings/general_settings.php:165
|
249 |
+
msgid ""
|
250 |
+
"You can use the following shortcut to link the settings modal:<br><span>"
|
251 |
+
"<strong>[setting]</strong>settings<strong>[/setting]</strong></span>"
|
252 |
+
msgstr ""
|
253 |
+
|
254 |
+
#: views/moove/admin/settings/general_settings.php:170
|
255 |
+
msgid "Accept - Button Label"
|
256 |
+
msgstr ""
|
257 |
+
|
258 |
+
#: views/moove/admin/settings/general_settings.php:179
|
259 |
+
msgid "Colour scheme"
|
260 |
+
msgstr ""
|
261 |
+
|
262 |
+
#: views/moove/admin/settings/general_settings.php:183
|
263 |
+
#: views/moove/admin/settings/general_settings.php:209
|
264 |
+
#: views/moove/admin/settings/general_settings.php:212
|
265 |
+
msgid "Enable"
|
266 |
+
msgstr ""
|
267 |
+
|
268 |
+
#: views/moove/admin/settings/general_settings.php:185
|
269 |
+
msgid "Dark"
|
270 |
+
msgstr ""
|
271 |
+
|
272 |
+
#: views/moove/admin/settings/general_settings.php:188
|
273 |
+
msgid "Light"
|
274 |
+
msgstr ""
|
275 |
+
|
276 |
+
#: views/moove/admin/settings/general_settings.php:198
|
277 |
+
msgid "Change Settings - Floating Button"
|
278 |
+
msgstr ""
|
279 |
+
|
280 |
+
#: views/moove/admin/settings/general_settings.php:205
|
281 |
+
msgid "Enable Floating Button"
|
282 |
+
msgstr ""
|
283 |
+
|
284 |
+
#: views/moove/admin/settings/general_settings.php:219
|
285 |
+
msgid "Button - Hover Label"
|
286 |
+
msgstr ""
|
287 |
+
|
288 |
+
#: views/moove/admin/settings/general_settings.php:228
|
289 |
+
msgid "Button - Custom CSS - Hover Label"
|
290 |
+
msgstr ""
|
291 |
+
|
292 |
+
#: views/moove/admin/settings/general_settings.php:232
|
293 |
+
msgid ""
|
294 |
+
"You can align the position eg.: <strong>top: 20px; right: 20px;</strong>"
|
295 |
+
msgstr ""
|
296 |
+
|
297 |
+
#: views/moove/admin/settings/settings_page.php:2
|
298 |
+
msgid "GDPR Cookie Compliance Plugin Settings"
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: views/moove/admin/settings/settings_page.php:4
|
302 |
+
msgid "Settings saved."
|
303 |
+
msgstr ""
|
304 |
+
|
305 |
+
#: views/moove/admin/settings/settings_page.php:6
|
306 |
+
#: views/moove/admin/settings/settings_page.php:15
|
307 |
+
msgid "Dismiss this notice."
|
308 |
+
msgstr ""
|
309 |
+
|
310 |
+
#: views/moove/admin/settings/settings_page.php:12
|
311 |
+
msgid "You need to insert the relevant script for the settings to be saved!"
|
312 |
+
msgstr ""
|
313 |
+
|
314 |
+
#: views/moove/admin/settings/settings_page.php:19
|
315 |
+
msgid ""
|
316 |
+
"General Data Protection Regulation (GDPR) is a <a href=\"http://www.eugdpr."
|
317 |
+
"org/\" target=\"_blank\">European regulation</a> to strengthen and unify the "
|
318 |
+
"data protection of EU citizens."
|
319 |
+
msgstr ""
|
320 |
+
|
321 |
+
#: views/moove/admin/settings/settings_page.php:39
|
322 |
+
msgid "General Settings"
|
323 |
+
msgstr ""
|
324 |
+
|
325 |
+
#: views/moove/admin/settings/strictly_necessary_cookies.php:77
|
326 |
+
msgid "Tab Warning Message"
|
327 |
+
msgstr ""
|
328 |
+
|
329 |
+
#: views/moove/admin/settings/strictly_necessary_cookies.php:91
|
330 |
+
msgid "Will be displayed below the Checkbox in the front-end!"
|
331 |
+
msgstr ""
|
332 |
+
|
333 |
+
#. Name of the plugin
|
334 |
+
msgid "GDPR Cookie Compliance"
|
335 |
+
msgstr ""
|
336 |
+
|
337 |
+
#. Description of the plugin
|
338 |
+
msgid ""
|
339 |
+
"GDPR is an EU wide legislation that specifies how user data should be "
|
340 |
+
"handled. This plugin has settings that can assist you with GDPR cookie "
|
341 |
+
"compliance requirements."
|
342 |
+
msgstr ""
|
343 |
+
|
344 |
+
#. URI of the plugin
|
345 |
+
msgid "https://wordpress.org/plugins/gdpr-cookie-compliance/"
|
346 |
+
msgstr ""
|
347 |
+
|
348 |
+
#. Author of the plugin
|
349 |
+
msgid "Moove Agency"
|
350 |
+
msgstr ""
|
351 |
+
|
352 |
+
#. Author URI of the plugin
|
353 |
+
msgid "https://www.mooveagency.com"
|
354 |
+
msgstr ""
|
moove-actions.php
CHANGED
@@ -29,6 +29,7 @@ class Moove_GDPR_Actions {
|
|
29 |
function __construct() {
|
30 |
$this->moove_register_scripts();
|
31 |
$this->moove_register_ajax_actions();
|
|
|
32 |
}
|
33 |
|
34 |
/**
|
@@ -71,7 +72,7 @@ class Moove_GDPR_Actions {
|
|
71 |
*/
|
72 |
public function moove_frontend_gdpr_scripts() {
|
73 |
|
74 |
-
wp_enqueue_script( 'moove_gdpr_frontend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/scripts/main.js', array( 'jquery' ), '1.0.
|
75 |
wp_enqueue_style( 'moove_gdpr_frontend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/styles/main.css' );
|
76 |
$this->moove_localize_script( 'moove_gdpr_frontend' );
|
77 |
}
|
@@ -81,7 +82,7 @@ class Moove_GDPR_Actions {
|
|
81 |
* @return void
|
82 |
*/
|
83 |
public function moove_gdpr_admin_scripts() {
|
84 |
-
wp_enqueue_script( 'moove_gdpr_backend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/scripts/admin.js', array( 'jquery' ), '1.0.
|
85 |
wp_enqueue_style( 'moove_gdpr_backend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/styles/admin.css' );
|
86 |
}
|
87 |
|
@@ -99,10 +100,18 @@ class Moove_GDPR_Actions {
|
|
99 |
public function moove_gdpr_footer_branding_content() {
|
100 |
ob_start();
|
101 |
?>
|
102 |
-
<a href="https://wordpress.org/plugins/gdpr-cookie-compliance" target="_blank" class='moove-gdpr-branding'
|
103 |
<?php
|
104 |
return ob_get_clean();
|
105 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
}
|
107 |
$moove_gdpr_actions_provider = new Moove_GDPR_Actions();
|
108 |
|
29 |
function __construct() {
|
30 |
$this->moove_register_scripts();
|
31 |
$this->moove_register_ajax_actions();
|
32 |
+
add_action( 'plugins_loaded', array( &$this, 'moove_gdpr_load_textdomain' ) );
|
33 |
}
|
34 |
|
35 |
/**
|
72 |
*/
|
73 |
public function moove_frontend_gdpr_scripts() {
|
74 |
|
75 |
+
wp_enqueue_script( 'moove_gdpr_frontend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/scripts/main.js', array( 'jquery' ), '1.0.2', true );
|
76 |
wp_enqueue_style( 'moove_gdpr_frontend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/styles/main.css' );
|
77 |
$this->moove_localize_script( 'moove_gdpr_frontend' );
|
78 |
}
|
82 |
* @return void
|
83 |
*/
|
84 |
public function moove_gdpr_admin_scripts() {
|
85 |
+
wp_enqueue_script( 'moove_gdpr_backend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/scripts/admin.js', array( 'jquery' ), '1.0.2', true );
|
86 |
wp_enqueue_style( 'moove_gdpr_backend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/styles/admin.css' );
|
87 |
}
|
88 |
|
100 |
public function moove_gdpr_footer_branding_content() {
|
101 |
ob_start();
|
102 |
?>
|
103 |
+
<a href="https://wordpress.org/plugins/gdpr-cookie-compliance" target="_blank" class='moove-gdpr-branding'><?php _e('Powered by GDPR plugin','moove-gdpr'); ?></a>
|
104 |
<?php
|
105 |
return ob_get_clean();
|
106 |
}
|
107 |
+
|
108 |
+
/**
|
109 |
+
* Load plugin textdomain.
|
110 |
+
*
|
111 |
+
*/
|
112 |
+
function moove_gdpr_load_textdomain() {
|
113 |
+
load_plugin_textdomain( 'moove-gdpr', false, basename( dirname( __FILE__ ) ) . '/languages' );
|
114 |
+
}
|
115 |
}
|
116 |
$moove_gdpr_actions_provider = new Moove_GDPR_Actions();
|
117 |
|
moove-content.php
CHANGED
@@ -9,8 +9,6 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
9 |
* @author Gaspar Nemes
|
10 |
*/
|
11 |
|
12 |
-
load_textdomain( 'moove-gdpr', plugins_url( __FILE__ ) . DIRECTORY_SEPARATOR . 'languages' );
|
13 |
-
|
14 |
/**
|
15 |
* Moove_GDPR_Content Class Doc Comment
|
16 |
*
|
@@ -39,8 +37,8 @@ class Moove_GDPR_Content {
|
|
39 |
* @return string Filtered Content
|
40 |
*/
|
41 |
function moove_gdpr_get_privacy_overview_content() {
|
42 |
-
$_content = "<p>This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.</p><p>You can adjust all of your cookie settings by navigating the tabs on the left hand side.</p>";
|
43 |
-
return
|
44 |
}
|
45 |
|
46 |
/**
|
@@ -48,8 +46,8 @@ class Moove_GDPR_Content {
|
|
48 |
* @return string Filtered Content
|
49 |
*/
|
50 |
function moove_gdpr_get_strict_necessary_content() {
|
51 |
-
$_content = "<p>Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.</p>";
|
52 |
-
return
|
53 |
}
|
54 |
|
55 |
/**
|
@@ -57,7 +55,7 @@ class Moove_GDPR_Content {
|
|
57 |
* @return string Filtered Content
|
58 |
*/
|
59 |
function moove_gdpr_get_strict_necessary_warning() {
|
60 |
-
$_content = "If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.";
|
61 |
return $_content;
|
62 |
}
|
63 |
|
@@ -66,8 +64,8 @@ class Moove_GDPR_Content {
|
|
66 |
* @return string Filtered Content
|
67 |
*/
|
68 |
function moove_gdpr_get_advanced_cookies_content() {
|
69 |
-
$_content = "<p>This website uses the following additional cookies:</p><p>(List the cookies that you are using on the website here.)</p>";
|
70 |
-
return
|
71 |
}
|
72 |
|
73 |
/**
|
@@ -75,8 +73,8 @@ class Moove_GDPR_Content {
|
|
75 |
* @return string Filtered Content
|
76 |
*/
|
77 |
function moove_gdpr_get_third_party_content() {
|
78 |
-
$_content = "<p>This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.</p><p>Keeping this cookie enabled helps us to improve our website.</p>";
|
79 |
-
return
|
80 |
}
|
81 |
|
82 |
/**
|
@@ -84,8 +82,27 @@ class Moove_GDPR_Content {
|
|
84 |
* @return string Filtered Content
|
85 |
*/
|
86 |
function moove_gdpr_get_cookie_policy_content() {
|
87 |
-
$_content = "<p>More information about our <a href='#' target='_blank'>Cookie Policy</a></p>";
|
88 |
-
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
}
|
90 |
|
91 |
}
|
9 |
* @author Gaspar Nemes
|
10 |
*/
|
11 |
|
|
|
|
|
12 |
/**
|
13 |
* Moove_GDPR_Content Class Doc Comment
|
14 |
*
|
37 |
* @return string Filtered Content
|
38 |
*/
|
39 |
function moove_gdpr_get_privacy_overview_content() {
|
40 |
+
$_content = __("<p>This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.</p><p>You can adjust all of your cookie settings by navigating the tabs on the left hand side.</p>","moove-gdpr");
|
41 |
+
return $_content;
|
42 |
}
|
43 |
|
44 |
/**
|
46 |
* @return string Filtered Content
|
47 |
*/
|
48 |
function moove_gdpr_get_strict_necessary_content() {
|
49 |
+
$_content = __("<p>Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.</p>","moove-gdpr");
|
50 |
+
return $_content;
|
51 |
}
|
52 |
|
53 |
/**
|
55 |
* @return string Filtered Content
|
56 |
*/
|
57 |
function moove_gdpr_get_strict_necessary_warning() {
|
58 |
+
$_content = __("If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.","moove-gdpr");
|
59 |
return $_content;
|
60 |
}
|
61 |
|
64 |
* @return string Filtered Content
|
65 |
*/
|
66 |
function moove_gdpr_get_advanced_cookies_content() {
|
67 |
+
$_content = __("<p>This website uses the following additional cookies:</p><p>(List the cookies that you are using on the website here.)</p>","moove-gdpr");
|
68 |
+
return $_content;
|
69 |
}
|
70 |
|
71 |
/**
|
73 |
* @return string Filtered Content
|
74 |
*/
|
75 |
function moove_gdpr_get_third_party_content() {
|
76 |
+
$_content = __("<p>This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.</p><p>Keeping this cookie enabled helps us to improve our website.</p>","moove-gdpr");
|
77 |
+
return $_content;
|
78 |
}
|
79 |
|
80 |
/**
|
82 |
* @return string Filtered Content
|
83 |
*/
|
84 |
function moove_gdpr_get_cookie_policy_content() {
|
85 |
+
$_content = __("<p>More information about our <a href='#' target='_blank'>Cookie Policy</a></p>","moove-gdpr");
|
86 |
+
return $_content;
|
87 |
+
}
|
88 |
+
|
89 |
+
/**
|
90 |
+
* Get option name
|
91 |
+
*/
|
92 |
+
|
93 |
+
function moove_gdpr_get_option_name() {
|
94 |
+
return 'moove_gdpr_plugin_settings';
|
95 |
+
}
|
96 |
+
|
97 |
+
/**
|
98 |
+
* Get WMPL language code
|
99 |
+
*/
|
100 |
+
|
101 |
+
function moove_gdpr_get_wpml_lang() {
|
102 |
+
if ( defined( 'ICL_LANGUAGE_CODE' ) ) {
|
103 |
+
return '_'.ICL_LANGUAGE_CODE;
|
104 |
+
}
|
105 |
+
return '';
|
106 |
}
|
107 |
|
108 |
}
|
moove-gdpr.php
CHANGED
@@ -6,7 +6,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
6 |
* Plugin Name: GDPR Cookie Compliance
|
7 |
* Plugin URI: https://wordpress.org/plugins/gdpr-cookie-compliance/
|
8 |
* Description: GDPR is an EU wide legislation that specifies how user data should be handled. This plugin has settings that can assist you with GDPR cookie compliance requirements.
|
9 |
-
* Version: 1.0.
|
10 |
* Author: Moove Agency
|
11 |
* Author URI: https://www.mooveagency.com
|
12 |
* License: GPLv2
|
@@ -28,7 +28,8 @@ function moove_gdpr_activate() {
|
|
28 |
* Function on plugin deactivation. It removes the pages created before.
|
29 |
*/
|
30 |
function moove_gdpr_deactivate() {
|
31 |
-
|
|
|
32 |
}
|
33 |
|
34 |
include_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'moove-view.php' );
|
6 |
* Plugin Name: GDPR Cookie Compliance
|
7 |
* Plugin URI: https://wordpress.org/plugins/gdpr-cookie-compliance/
|
8 |
* Description: GDPR is an EU wide legislation that specifies how user data should be handled. This plugin has settings that can assist you with GDPR cookie compliance requirements.
|
9 |
+
* Version: 1.0.2
|
10 |
* Author: Moove Agency
|
11 |
* Author URI: https://www.mooveagency.com
|
12 |
* License: GPLv2
|
28 |
* Function on plugin deactivation. It removes the pages created before.
|
29 |
*/
|
30 |
function moove_gdpr_deactivate() {
|
31 |
+
$option_name = Moove_GDPR_Content::moove_gdpr_get_option_name();
|
32 |
+
// update_option( $option_name, array() );
|
33 |
}
|
34 |
|
35 |
include_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'moove-view.php' );
|
readme.txt
CHANGED
@@ -54,4 +54,10 @@ This plugin was developed by [Moove Agency](https://www.mooveagency.com).
|
|
54 |
|
55 |
= 1.0.1. =
|
56 |
* Fixed button conflicts.
|
57 |
-
* Fixed validation for the scripts in tabs.
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
= 1.0.1. =
|
56 |
* Fixed button conflicts.
|
57 |
+
* Fixed validation for the scripts in tabs.
|
58 |
+
|
59 |
+
= 1.0.2. =
|
60 |
+
* Fixed .pot file.
|
61 |
+
* Added WPML support.
|
62 |
+
* Fixed Strictly Necessary tab content.
|
63 |
+
* Fixed conflicts inside the WYSIWYG editor.
|
views/moove/admin/settings/advanced_cookies.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<?php
|
2 |
-
$option_name =
|
3 |
$gdpr_options = get_option( $option_name );
|
|
|
4 |
$gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
|
5 |
if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
|
6 |
$nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
|
@@ -27,7 +28,7 @@
|
|
27 |
foreach ( $_POST as $form_key => $form_value ) :
|
28 |
if ( $form_key === 'moove_gdpr_advanced_cookies_tab_content' ) :
|
29 |
$value = apply_filters( 'the_content', wp_unslash( $form_value ) );
|
30 |
-
$gdpr_options[$form_key] = $value;
|
31 |
update_option( $option_name, $gdpr_options );
|
32 |
$gdpr_options = get_option( $option_name );
|
33 |
elseif ( $form_key === 'moove_gdpr_advanced_cookies_footer_scripts' ) :
|
@@ -62,7 +63,7 @@
|
|
62 |
?>
|
63 |
<br />
|
64 |
<?php
|
65 |
-
$nav_label = isset( $gdpr_options['moove_gdpr_advanced_cookies_tab_title'] ) && $gdpr_options['moove_gdpr_advanced_cookies_tab_title'] ? $gdpr_options['moove_gdpr_advanced_cookies_tab_title'] : __('Additional Cookies','moove-gdpr');
|
66 |
?>
|
67 |
<h2><?php echo $nav_label; ?></h2>
|
68 |
<hr />
|
@@ -72,32 +73,32 @@
|
|
72 |
<tbody>
|
73 |
<tr>
|
74 |
<th scope="row">
|
75 |
-
<label for="moove_gdpr_advanced_cookies_enable"
|
76 |
</th>
|
77 |
<td>
|
78 |
-
<input name="moove_gdpr_advanced_cookies_enable" type="radio" value="1" id="moove_gdpr_advanced_cookies_enable_on" <?php echo isset( $gdpr_options['moove_gdpr_advanced_cookies_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_advanced_cookies_enable'] ) === 1 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_advanced_cookies_enable_on"
|
79 |
-
<input name="moove_gdpr_advanced_cookies_enable" type="radio" value="0" id="moove_gdpr_advanced_cookies_enable_off" <?php echo isset( $gdpr_options['moove_gdpr_advanced_cookies_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_advanced_cookies_enable'] ) === 0 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_advanced_cookies_enable_off"
|
80 |
</td>
|
81 |
</tr>
|
82 |
|
83 |
<tr>
|
84 |
<th scope="row">
|
85 |
-
<label for="moove_gdpr_advanced_cookies_tab_title"
|
86 |
</th>
|
87 |
<td>
|
88 |
-
<input name="moove_gdpr_advanced_cookies_tab_title" type="text" id="moove_gdpr_advanced_cookies_tab_title" value="<?php echo
|
89 |
</td>
|
90 |
</tr>
|
91 |
|
92 |
<tr>
|
93 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
94 |
-
<label for="moove_gdpr_advanced_cookies_tab_content"
|
95 |
</th>
|
96 |
</tr>
|
97 |
<tr class="moove_gdpr_table_form_holder">
|
98 |
<th colspan="2" scope="row">
|
99 |
<?php
|
100 |
-
$content = isset( $gdpr_options['moove_gdpr_advanced_cookies_tab_content'] ) && $gdpr_options['moove_gdpr_advanced_cookies_tab_content'] ? maybe_unserialize( $gdpr_options['moove_gdpr_advanced_cookies_tab_content'] ) : false;
|
101 |
if ( ! $content ) :
|
102 |
$content = Moove_GDPR_Content::moove_gdpr_get_advanced_cookies_content();
|
103 |
endif;
|
@@ -114,15 +115,15 @@
|
|
114 |
|
115 |
<tr>
|
116 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
117 |
-
<label for="moove_gdpr_advanced_cookies_footer_scripts"
|
118 |
</th>
|
119 |
</tr>
|
120 |
<tr class="moove_gdpr_advanced_cookies_footer_scripts">
|
121 |
<th scope="row" colspan="2">
|
122 |
<?php $content = isset( $gdpr_options['moove_gdpr_advanced_cookies_footer_scripts'] ) && $gdpr_options['moove_gdpr_advanced_cookies_footer_scripts'] ? wp_unslash( $gdpr_options['moove_gdpr_advanced_cookies_footer_scripts'] ) : '';
|
123 |
?>
|
124 |
-
<textarea name="moove_gdpr_advanced_cookies_footer_scripts" id="moove_gdpr_advanced_cookies_footer_scripts" class="large-text code" rows="13"><?php echo $content; ?></textarea>
|
125 |
-
<p class="description" id="moove_gdpr_advanced_cookies_footer_scripts-description"
|
126 |
</th>
|
127 |
</tr>
|
128 |
</tbody>
|
@@ -130,5 +131,5 @@
|
|
130 |
|
131 |
<hr />
|
132 |
<br />
|
133 |
-
<button type="submit" class="button button-primary"
|
134 |
</form>
|
1 |
<?php
|
2 |
+
$option_name = Moove_GDPR_Content::moove_gdpr_get_option_name();
|
3 |
$gdpr_options = get_option( $option_name );
|
4 |
+
$wpml_lang = Moove_GDPR_Content::moove_gdpr_get_wpml_lang();
|
5 |
$gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
|
6 |
if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
|
7 |
$nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
|
28 |
foreach ( $_POST as $form_key => $form_value ) :
|
29 |
if ( $form_key === 'moove_gdpr_advanced_cookies_tab_content' ) :
|
30 |
$value = apply_filters( 'the_content', wp_unslash( $form_value ) );
|
31 |
+
$gdpr_options[$form_key.$wpml_lang] = $value;
|
32 |
update_option( $option_name, $gdpr_options );
|
33 |
$gdpr_options = get_option( $option_name );
|
34 |
elseif ( $form_key === 'moove_gdpr_advanced_cookies_footer_scripts' ) :
|
63 |
?>
|
64 |
<br />
|
65 |
<?php
|
66 |
+
$nav_label = isset( $gdpr_options['moove_gdpr_advanced_cookies_tab_title'.$wpml_lang] ) && $gdpr_options['moove_gdpr_advanced_cookies_tab_title'.$wpml_lang] ? $gdpr_options['moove_gdpr_advanced_cookies_tab_title'.$wpml_lang] : __('Additional Cookies','moove-gdpr');
|
67 |
?>
|
68 |
<h2><?php echo $nav_label; ?></h2>
|
69 |
<hr />
|
73 |
<tbody>
|
74 |
<tr>
|
75 |
<th scope="row">
|
76 |
+
<label for="moove_gdpr_advanced_cookies_enable"><?php _e('Turn','moove-gdpr'); ?></label>
|
77 |
</th>
|
78 |
<td>
|
79 |
+
<input name="moove_gdpr_advanced_cookies_enable" type="radio" value="1" id="moove_gdpr_advanced_cookies_enable_on" <?php echo isset( $gdpr_options['moove_gdpr_advanced_cookies_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_advanced_cookies_enable'] ) === 1 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_advanced_cookies_enable_on"><?php _e('On','moove-gdpr'); ?></label> <span class="separator"></span>
|
80 |
+
<input name="moove_gdpr_advanced_cookies_enable" type="radio" value="0" id="moove_gdpr_advanced_cookies_enable_off" <?php echo isset( $gdpr_options['moove_gdpr_advanced_cookies_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_advanced_cookies_enable'] ) === 0 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_advanced_cookies_enable_off"><?php _e('Off','moove-gdpr'); ?></label>
|
81 |
</td>
|
82 |
</tr>
|
83 |
|
84 |
<tr>
|
85 |
<th scope="row">
|
86 |
+
<label for="moove_gdpr_advanced_cookies_tab_title"><?php _e('Tab Title','moove-gdpr'); ?></label>
|
87 |
</th>
|
88 |
<td>
|
89 |
+
<input name="moove_gdpr_advanced_cookies_tab_title<?php echo $wpml_lang; ?>" type="text" id="moove_gdpr_advanced_cookies_tab_title" value="<?php echo $nav_label; ?>" class="regular-text">
|
90 |
</td>
|
91 |
</tr>
|
92 |
|
93 |
<tr>
|
94 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
95 |
+
<label for="moove_gdpr_advanced_cookies_tab_content"><?php _e('Tab Content','moove-gdpr'); ?></label>
|
96 |
</th>
|
97 |
</tr>
|
98 |
<tr class="moove_gdpr_table_form_holder">
|
99 |
<th colspan="2" scope="row">
|
100 |
<?php
|
101 |
+
$content = isset( $gdpr_options['moove_gdpr_advanced_cookies_tab_content'.$wpml_lang] ) && $gdpr_options['moove_gdpr_advanced_cookies_tab_content'.$wpml_lang] ? maybe_unserialize( $gdpr_options['moove_gdpr_advanced_cookies_tab_content'.$wpml_lang] ) : false;
|
102 |
if ( ! $content ) :
|
103 |
$content = Moove_GDPR_Content::moove_gdpr_get_advanced_cookies_content();
|
104 |
endif;
|
115 |
|
116 |
<tr>
|
117 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
118 |
+
<label for="moove_gdpr_advanced_cookies_footer_scripts"><?php _e('The below script will be added to the page if user enables this cookie.','moove-gdpr'); ?></label>
|
119 |
</th>
|
120 |
</tr>
|
121 |
<tr class="moove_gdpr_advanced_cookies_footer_scripts">
|
122 |
<th scope="row" colspan="2">
|
123 |
<?php $content = isset( $gdpr_options['moove_gdpr_advanced_cookies_footer_scripts'] ) && $gdpr_options['moove_gdpr_advanced_cookies_footer_scripts'] ? wp_unslash( $gdpr_options['moove_gdpr_advanced_cookies_footer_scripts'] ) : '';
|
124 |
?>
|
125 |
+
<textarea required name="moove_gdpr_advanced_cookies_footer_scripts" id="moove_gdpr_advanced_cookies_footer_scripts" class="large-text code" rows="13"><?php echo $content; ?></textarea>
|
126 |
+
<p class="description" id="moove_gdpr_advanced_cookies_footer_scripts-description"><?php _e('For example, you can use it for Google Analytics script or any other 3rd party code snippets.','moove-gdpr'); ?></p>
|
127 |
</th>
|
128 |
</tr>
|
129 |
</tbody>
|
131 |
|
132 |
<hr />
|
133 |
<br />
|
134 |
+
<button type="submit" class="button button-primary"><?php _e('Save changes','moove-gdpr'); ?></button>
|
135 |
</form>
|
views/moove/admin/settings/cookie_policy.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<?php
|
2 |
-
$option_name =
|
3 |
$gdpr_options = get_option( $option_name );
|
|
|
4 |
$gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
|
5 |
if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
|
6 |
$nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
|
@@ -19,7 +20,7 @@
|
|
19 |
foreach ( $_POST as $form_key => $form_value ) :
|
20 |
if ( $form_key === 'moove_gdpr_cookies_policy_tab_content' ) :
|
21 |
$value = apply_filters( 'the_content', wp_unslash( $form_value ) );
|
22 |
-
$gdpr_options[$form_key] = $value;
|
23 |
update_option( $option_name, $gdpr_options );
|
24 |
$gdpr_options = get_option( $option_name );
|
25 |
elseif ( $form_key !== 'moove_gdpr_cookie_policy_enable' ) :
|
@@ -40,7 +41,7 @@
|
|
40 |
?>
|
41 |
<br />
|
42 |
<?php
|
43 |
-
$nav_label = isset( $gdpr_options['moove_gdpr_cookie_policy_tab_nav_label'] ) && $gdpr_options['moove_gdpr_cookie_policy_tab_nav_label'] ? $gdpr_options['moove_gdpr_cookie_policy_tab_nav_label'] : __('Cookie Policy','moove-gdpr');
|
44 |
?>
|
45 |
<h2><?php echo $nav_label; ?></h2>
|
46 |
<hr />
|
@@ -50,32 +51,32 @@
|
|
50 |
<tbody>
|
51 |
<tr>
|
52 |
<th scope="row">
|
53 |
-
<label for="moove_gdpr_cookie_policy_enable"
|
54 |
</th>
|
55 |
<td>
|
56 |
-
<input name="moove_gdpr_cookie_policy_enable" type="radio" value="1" id="moove_gdpr_cookie_policy_enable_on" <?php echo isset( $gdpr_options['moove_gdpr_cookie_policy_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_cookie_policy_enable'] ) === 1 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_cookie_policy_enable_on"
|
57 |
-
<input name="moove_gdpr_cookie_policy_enable" type="radio" value="0" id="moove_gdpr_cookie_policy_enable_off" <?php echo isset( $gdpr_options['moove_gdpr_cookie_policy_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_cookie_policy_enable'] ) === 0 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_cookie_policy_enable_off"
|
58 |
|
59 |
</td>
|
60 |
</tr>
|
61 |
<tr>
|
62 |
<th scope="row">
|
63 |
-
<label for="moove_gdpr_cookie_policy_tab_nav_label"
|
64 |
</th>
|
65 |
<td>
|
66 |
-
<input name="moove_gdpr_cookie_policy_tab_nav_label" type="text" id="moove_gdpr_cookie_policy_tab_nav_label" value="<?php echo
|
67 |
</td>
|
68 |
</tr>
|
69 |
|
70 |
<tr>
|
71 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
72 |
-
<label for="moove_gdpr_cookies_policy_tab_content"
|
73 |
</th>
|
74 |
</tr>
|
75 |
<tr class="moove_gdpr_table_form_holder">
|
76 |
<th colspan="2" scope="row">
|
77 |
<?php
|
78 |
-
$content = isset( $gdpr_options['moove_gdpr_cookies_policy_tab_content'] ) && $gdpr_options['moove_gdpr_cookies_policy_tab_content'] ? wp_unslash( $gdpr_options['moove_gdpr_cookies_policy_tab_content'] ) : false;
|
79 |
if ( ! $content ) :
|
80 |
$_content = Moove_GDPR_Content::moove_gdpr_get_cookie_policy_content();
|
81 |
$content = apply_filters( 'the_content', $_content );
|
@@ -96,5 +97,5 @@
|
|
96 |
|
97 |
<hr />
|
98 |
<br />
|
99 |
-
<button type="submit" class="button button-primary"
|
100 |
</form>
|
1 |
<?php
|
2 |
+
$option_name = Moove_GDPR_Content::moove_gdpr_get_option_name();
|
3 |
$gdpr_options = get_option( $option_name );
|
4 |
+
$wpml_lang = Moove_GDPR_Content::moove_gdpr_get_wpml_lang();
|
5 |
$gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
|
6 |
if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
|
7 |
$nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
|
20 |
foreach ( $_POST as $form_key => $form_value ) :
|
21 |
if ( $form_key === 'moove_gdpr_cookies_policy_tab_content' ) :
|
22 |
$value = apply_filters( 'the_content', wp_unslash( $form_value ) );
|
23 |
+
$gdpr_options[$form_key.$wpml_lang] = $value;
|
24 |
update_option( $option_name, $gdpr_options );
|
25 |
$gdpr_options = get_option( $option_name );
|
26 |
elseif ( $form_key !== 'moove_gdpr_cookie_policy_enable' ) :
|
41 |
?>
|
42 |
<br />
|
43 |
<?php
|
44 |
+
$nav_label = isset( $gdpr_options['moove_gdpr_cookie_policy_tab_nav_label'.$wpml_lang] ) && $gdpr_options['moove_gdpr_cookie_policy_tab_nav_label'.$wpml_lang] ? $gdpr_options['moove_gdpr_cookie_policy_tab_nav_label'.$wpml_lang] : __('Cookie Policy','moove-gdpr');
|
45 |
?>
|
46 |
<h2><?php echo $nav_label; ?></h2>
|
47 |
<hr />
|
51 |
<tbody>
|
52 |
<tr>
|
53 |
<th scope="row">
|
54 |
+
<label for="moove_gdpr_cookie_policy_enable"><?php _e('Turn','moove-gdpr'); ?></label>
|
55 |
</th>
|
56 |
<td>
|
57 |
+
<input name="moove_gdpr_cookie_policy_enable" type="radio" value="1" id="moove_gdpr_cookie_policy_enable_on" <?php echo isset( $gdpr_options['moove_gdpr_cookie_policy_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_cookie_policy_enable'] ) === 1 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_cookie_policy_enable_on"><?php _e('On','moove-gdpr'); ?></label> <span class="separator"></span>
|
58 |
+
<input name="moove_gdpr_cookie_policy_enable" type="radio" value="0" id="moove_gdpr_cookie_policy_enable_off" <?php echo isset( $gdpr_options['moove_gdpr_cookie_policy_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_cookie_policy_enable'] ) === 0 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_cookie_policy_enable_off"><?php _e('Off','moove-gdpr'); ?></label>
|
59 |
|
60 |
</td>
|
61 |
</tr>
|
62 |
<tr>
|
63 |
<th scope="row">
|
64 |
+
<label for="moove_gdpr_cookie_policy_tab_nav_label"><?php _e('Tab Title','moove-gdpr'); ?></label>
|
65 |
</th>
|
66 |
<td>
|
67 |
+
<input name="moove_gdpr_cookie_policy_tab_nav_label<?php echo $wpml_lang; ?>" type="text" id="moove_gdpr_cookie_policy_tab_nav_label" value="<?php echo $nav_label; ?>" class="regular-text">
|
68 |
</td>
|
69 |
</tr>
|
70 |
|
71 |
<tr>
|
72 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
73 |
+
<label for="moove_gdpr_cookies_policy_tab_content"><?php _e('Tab Content','moove-gdpr'); ?></label>
|
74 |
</th>
|
75 |
</tr>
|
76 |
<tr class="moove_gdpr_table_form_holder">
|
77 |
<th colspan="2" scope="row">
|
78 |
<?php
|
79 |
+
$content = isset( $gdpr_options['moove_gdpr_cookies_policy_tab_content'.$wpml_lang] ) && $gdpr_options['moove_gdpr_cookies_policy_tab_content'.$wpml_lang] ? wp_unslash( $gdpr_options['moove_gdpr_cookies_policy_tab_content'.$wpml_lang] ) : false;
|
80 |
if ( ! $content ) :
|
81 |
$_content = Moove_GDPR_Content::moove_gdpr_get_cookie_policy_content();
|
82 |
$content = apply_filters( 'the_content', $_content );
|
97 |
|
98 |
<hr />
|
99 |
<br />
|
100 |
+
<button type="submit" class="button button-primary"><?php _e('Save changes','moove-gdpr'); ?></button>
|
101 |
</form>
|
views/moove/admin/settings/general_settings.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<?php
|
2 |
-
$option_name =
|
3 |
$gdpr_options = get_option( $option_name );
|
|
|
4 |
$gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
|
5 |
if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
|
6 |
$nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
|
@@ -18,9 +19,8 @@
|
|
18 |
$gdpr_options = get_option( $option_name );
|
19 |
foreach ( $_POST as $form_key => $form_value ) :
|
20 |
if ( $form_key === 'moove_gdpr_info_bar_content' ) :
|
21 |
-
$
|
22 |
-
$
|
23 |
-
$gdpr_options[$form_key] = $value;
|
24 |
update_option( $option_name, $gdpr_options );
|
25 |
$gdpr_options = get_option( $option_name );
|
26 |
elseif ( $form_key !== 'moove_gdpr_floating_button_enable' ) :
|
@@ -41,7 +41,7 @@
|
|
41 |
?>
|
42 |
<br />
|
43 |
<form action="?page=moove-gdpr&tab=general_settings" method="post" id="moove_gdpr_tab_general_settings">
|
44 |
-
<h2
|
45 |
<hr />
|
46 |
<?php wp_nonce_field( 'moove_gdpr_nonce_field', 'moove_gdpr_nonce' ); ?>
|
47 |
<table class="form-table">
|
@@ -49,7 +49,7 @@
|
|
49 |
|
50 |
<tr>
|
51 |
<th scope="row">
|
52 |
-
<label for="moove_gdpr_brand_colour"
|
53 |
</th>
|
54 |
<td>
|
55 |
<input class="jscolor {hash:true} regular-text" name="moove_gdpr_brand_colour" value="<?php echo isset( $gdpr_options['moove_gdpr_brand_colour'] ) && $gdpr_options['moove_gdpr_brand_colour'] ? $gdpr_options['moove_gdpr_brand_colour'] : '0C4DA2'; ?>" >
|
@@ -58,7 +58,7 @@
|
|
58 |
|
59 |
<tr>
|
60 |
<th scope="row">
|
61 |
-
<label for="moove_gdpr_brand_secondary_colour"
|
62 |
</th>
|
63 |
<td>
|
64 |
<input class="jscolor {hash:true} regular-text" name="moove_gdpr_brand_secondary_colour" value="<?php echo isset( $gdpr_options['moove_gdpr_brand_secondary_colour'] ) && $gdpr_options['moove_gdpr_brand_secondary_colour'] ? $gdpr_options['moove_gdpr_brand_secondary_colour'] : '000000'; ?>" >
|
@@ -67,8 +67,8 @@
|
|
67 |
|
68 |
<tr>
|
69 |
<th scope="row">
|
70 |
-
<label for="moove_gdpr_company_logo"
|
71 |
-
<p class="description"
|
72 |
<!-- .description -->
|
73 |
</th>
|
74 |
<td>
|
@@ -115,42 +115,55 @@
|
|
115 |
|
116 |
<tr>
|
117 |
<th scope="row">
|
118 |
-
<label for="moove_gdpr_modal_save_button_label"
|
119 |
</th>
|
120 |
<td>
|
121 |
-
<input name="moove_gdpr_modal_save_button_label" type="text" id="moove_gdpr_modal_save_button_label" value="<?php echo isset( $gdpr_options['moove_gdpr_modal_save_button_label'] ) && $gdpr_options['moove_gdpr_modal_save_button_label'] ? $gdpr_options['moove_gdpr_modal_save_button_label'] : __('Save Changes','moove-gdpr'); ?>" class="regular-text">
|
122 |
</td>
|
123 |
</tr>
|
124 |
|
125 |
<tr>
|
126 |
<th scope="row">
|
127 |
-
<label for="moove_gdpr_modal_allow_button_label"
|
128 |
</th>
|
129 |
<td>
|
130 |
-
<input name="moove_gdpr_modal_allow_button_label" type="text" id="moove_gdpr_modal_allow_button_label" value="<?php echo isset( $gdpr_options['moove_gdpr_modal_allow_button_label'] ) && $gdpr_options['moove_gdpr_modal_allow_button_label'] ? $gdpr_options['moove_gdpr_modal_allow_button_label'] : __('Enable All','moove-gdpr'); ?>" class="regular-text">
|
131 |
</td>
|
132 |
</tr>
|
133 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
</tbody>
|
135 |
</table>
|
136 |
<br />
|
137 |
<hr />
|
138 |
-
<h2
|
139 |
<hr />
|
140 |
|
141 |
<table class="form-table">
|
142 |
<tbody>
|
143 |
<tr>
|
144 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
145 |
-
<label for="moove_gdpr_info_bar_content"
|
146 |
</th>
|
147 |
</tr>
|
148 |
<tr class="moove_gdpr_table_form_holder">
|
149 |
<th colspan="2" scope="row">
|
150 |
<?php
|
151 |
-
$content = isset( $gdpr_options['moove_gdpr_info_bar_content'] ) && $gdpr_options['moove_gdpr_info_bar_content'] ? maybe_unserialize( $gdpr_options['moove_gdpr_info_bar_content'] ) : false;
|
152 |
if ( ! $content ) :
|
153 |
-
$_content = "<p>We are using cookies to give you the best experience on our website.</p><p>You can find out more about which cookies we are using or switch them off in [setting]settings[/setting].</p>";
|
154 |
$content = apply_filters( 'the_content', $_content );
|
155 |
endif;
|
156 |
?>
|
@@ -162,30 +175,30 @@
|
|
162 |
);
|
163 |
wp_editor( $content, 'moove_gdpr_info_bar_content', $settings );
|
164 |
?>
|
165 |
-
<p class="description"
|
166 |
</th>
|
167 |
</tr>
|
168 |
<tr>
|
169 |
<th scope="row">
|
170 |
-
<label for="moove_gdpr_infobar_accept_button_label"
|
171 |
</th>
|
172 |
<td>
|
173 |
-
<input name="moove_gdpr_infobar_accept_button_label" type="text" id="moove_gdpr_infobar_accept_button_label" value="<?php echo isset( $gdpr_options['moove_gdpr_infobar_accept_button_label'] ) && $gdpr_options['moove_gdpr_infobar_accept_button_label'] ? $gdpr_options['moove_gdpr_infobar_accept_button_label'] : __('Accept','moove-gdpr'); ?>" class="regular-text">
|
174 |
</td>
|
175 |
</tr>
|
176 |
|
177 |
<tr>
|
178 |
<th scope="row">
|
179 |
-
<label for="moove_gdpr_colour_scheme"
|
180 |
</th>
|
181 |
<td>
|
182 |
<fieldset>
|
183 |
-
<legend class="screen-reader-text"><span
|
184 |
<input name="moove_gdpr_colour_scheme" type="radio" <?php echo isset( $gdpr_options['moove_gdpr_colour_scheme'] ) ? ( intval( $gdpr_options['moove_gdpr_colour_scheme'] ) === 1 ? 'checked' : ( ! isset( $gdpr_options['moove_gdpr_colour_scheme'] ) ? 'checked' : '' ) ) : 'checked'; ?> id="moove_gdpr_colour_scheme_dark" value="1">
|
185 |
-
<label for="moove_gdpr_colour_scheme_dark"
|
186 |
|
187 |
<input name="moove_gdpr_colour_scheme" type="radio" <?php echo isset( $gdpr_options['moove_gdpr_colour_scheme'] ) ? ( intval( $gdpr_options['moove_gdpr_colour_scheme'] ) === 2 ? 'checked' : '' ) : ''; ?> id="moove_gdpr_colour_scheme_light" value="2">
|
188 |
-
<label for="moove_gdpr_colour_scheme_light"
|
189 |
</fieldset>
|
190 |
</td>
|
191 |
</tr>
|
@@ -195,41 +208,41 @@
|
|
195 |
|
196 |
<br />
|
197 |
<hr />
|
198 |
-
<h2
|
199 |
<hr />
|
200 |
|
201 |
<table class="form-table">
|
202 |
<tbody>
|
203 |
<tr>
|
204 |
<th scope="row">
|
205 |
-
<label for="moove_gdpr_floating_button_enable"
|
206 |
</th>
|
207 |
<td>
|
208 |
<fieldset>
|
209 |
-
<legend class="screen-reader-text"><span
|
210 |
<label for="moove_gdpr_floating_button_enable">
|
211 |
<input name="moove_gdpr_floating_button_enable" type="checkbox" <?php echo isset( $gdpr_options['moove_gdpr_floating_button_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_floating_button_enable'] ) === 1 ? 'checked' : '' ) : ''; ?> id="moove_gdpr_floating_button_enable" value="1">
|
212 |
-
Enable
|
213 |
</fieldset>
|
214 |
</td>
|
215 |
</tr>
|
216 |
|
217 |
<tr>
|
218 |
<th scope="row">
|
219 |
-
<label for="moove_gdpr_floating_button_label"
|
220 |
</th>
|
221 |
<td>
|
222 |
-
<input name="moove_gdpr_floating_button_label" type="text" id="moove_gdpr_floating_button_label" value="<?php echo isset( $gdpr_options['moove_gdpr_floating_button_label'] ) && $gdpr_options['moove_gdpr_floating_button_label'] ? $gdpr_options['moove_gdpr_floating_button_label'] : __('Change cookie settings','moove-gdpr'); ?>" class="regular-text">
|
223 |
</td>
|
224 |
</tr>
|
225 |
|
226 |
<tr>
|
227 |
<th scope="row">
|
228 |
-
<label for="moove_gdpr_floating_button_position"
|
229 |
</th>
|
230 |
<td>
|
231 |
<input name="moove_gdpr_floating_button_position" type="text" id="moove_gdpr_floating_button_position" value="<?php echo isset( $gdpr_options['moove_gdpr_floating_button_position'] ) && $gdpr_options['moove_gdpr_floating_button_position'] ? $gdpr_options['moove_gdpr_floating_button_position'] : 'bottom: 20px; left: 20px;'; ?>" class="regular-text">
|
232 |
-
<p class="description" id="moove_gdpr_floating_button_position-description"
|
233 |
</td>
|
234 |
</tr>
|
235 |
|
@@ -239,5 +252,5 @@
|
|
239 |
<br />
|
240 |
<hr />
|
241 |
<br />
|
242 |
-
<button type="submit" class="button button-primary"
|
243 |
</form>
|
1 |
<?php
|
2 |
+
$option_name = Moove_GDPR_Content::moove_gdpr_get_option_name();
|
3 |
$gdpr_options = get_option( $option_name );
|
4 |
+
$wpml_lang = Moove_GDPR_Content::moove_gdpr_get_wpml_lang();
|
5 |
$gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
|
6 |
if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
|
7 |
$nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
|
19 |
$gdpr_options = get_option( $option_name );
|
20 |
foreach ( $_POST as $form_key => $form_value ) :
|
21 |
if ( $form_key === 'moove_gdpr_info_bar_content' ) :
|
22 |
+
$value = apply_filters( 'the_content', wp_unslash( $form_value ) );
|
23 |
+
$gdpr_options[$form_key.$wpml_lang] = $value;
|
|
|
24 |
update_option( $option_name, $gdpr_options );
|
25 |
$gdpr_options = get_option( $option_name );
|
26 |
elseif ( $form_key !== 'moove_gdpr_floating_button_enable' ) :
|
41 |
?>
|
42 |
<br />
|
43 |
<form action="?page=moove-gdpr&tab=general_settings" method="post" id="moove_gdpr_tab_general_settings">
|
44 |
+
<h2><?php _e('Modal General Settings','moove-gdpr'); ?></h2>
|
45 |
<hr />
|
46 |
<?php wp_nonce_field( 'moove_gdpr_nonce_field', 'moove_gdpr_nonce' ); ?>
|
47 |
<table class="form-table">
|
49 |
|
50 |
<tr>
|
51 |
<th scope="row">
|
52 |
+
<label for="moove_gdpr_brand_colour"><?php _e('Brand Primary Colour','moove-gdpr'); ?></label>
|
53 |
</th>
|
54 |
<td>
|
55 |
<input class="jscolor {hash:true} regular-text" name="moove_gdpr_brand_colour" value="<?php echo isset( $gdpr_options['moove_gdpr_brand_colour'] ) && $gdpr_options['moove_gdpr_brand_colour'] ? $gdpr_options['moove_gdpr_brand_colour'] : '0C4DA2'; ?>" >
|
58 |
|
59 |
<tr>
|
60 |
<th scope="row">
|
61 |
+
<label for="moove_gdpr_brand_secondary_colour"><?php _e('Brand Secondary Colour','moove-gdpr'); ?></label>
|
62 |
</th>
|
63 |
<td>
|
64 |
<input class="jscolor {hash:true} regular-text" name="moove_gdpr_brand_secondary_colour" value="<?php echo isset( $gdpr_options['moove_gdpr_brand_secondary_colour'] ) && $gdpr_options['moove_gdpr_brand_secondary_colour'] ? $gdpr_options['moove_gdpr_brand_secondary_colour'] : '000000'; ?>" >
|
67 |
|
68 |
<tr>
|
69 |
<th scope="row">
|
70 |
+
<label for="moove_gdpr_company_logo"><?php _e('Modal Logo','moove-gdpr'); ?></label>
|
71 |
+
<p class="description"><?php _e('Recommended size:','moove-gdpr'); ?><br>130 x 50 <?php _e('pixels','moove-gdpr'); ?></p>
|
72 |
<!-- .description -->
|
73 |
</th>
|
74 |
<td>
|
115 |
|
116 |
<tr>
|
117 |
<th scope="row">
|
118 |
+
<label for="moove_gdpr_modal_save_button_label"><?php _e('Save Settings - Button Label','moove-gdpr'); ?></label>
|
119 |
</th>
|
120 |
<td>
|
121 |
+
<input name="moove_gdpr_modal_save_button_label<?php echo $wpml_lang; ?>" type="text" id="moove_gdpr_modal_save_button_label" value="<?php echo isset( $gdpr_options['moove_gdpr_modal_save_button_label'.$wpml_lang] ) && $gdpr_options['moove_gdpr_modal_save_button_label'.$wpml_lang] ? $gdpr_options['moove_gdpr_modal_save_button_label'.$wpml_lang] : __('Save Changes','moove-gdpr'); ?>" class="regular-text">
|
122 |
</td>
|
123 |
</tr>
|
124 |
|
125 |
<tr>
|
126 |
<th scope="row">
|
127 |
+
<label for="moove_gdpr_modal_allow_button_label"><?php _e('Enable All - Button Label','moove-gdpr'); ?></label>
|
128 |
</th>
|
129 |
<td>
|
130 |
+
<input name="moove_gdpr_modal_allow_button_label<?php echo $wpml_lang; ?>" type="text" id="moove_gdpr_modal_allow_button_label" value="<?php echo isset( $gdpr_options['moove_gdpr_modal_allow_button_label'.$wpml_lang] ) && $gdpr_options['moove_gdpr_modal_allow_button_label'.$wpml_lang] ? $gdpr_options['moove_gdpr_modal_allow_button_label'.$wpml_lang] : __('Enable All','moove-gdpr'); ?>" class="regular-text">
|
131 |
</td>
|
132 |
</tr>
|
133 |
|
134 |
+
<tr>
|
135 |
+
<th scope="row">
|
136 |
+
<label for="moove_gdpr_modal_allow_button_label"><?php _e('Checkbox Labels','moove-gdpr'); ?></label>
|
137 |
+
</th>
|
138 |
+
<td>
|
139 |
+
<input name="moove_gdpr_modal_enabled_checkbox_label<?php echo $wpml_lang; ?>" type="text" id="moove_gdpr_modal_enabled_checkbox_label" value="<?php echo isset( $gdpr_options['moove_gdpr_modal_enabled_checkbox_label'.$wpml_lang] ) && $gdpr_options['moove_gdpr_modal_enabled_checkbox_label'.$wpml_lang] ? $gdpr_options['moove_gdpr_modal_enabled_checkbox_label'.$wpml_lang] : __('Enabled','moove-gdpr'); ?>" class="regular-text"><br />
|
140 |
+
<input name="moove_gdpr_modal_disabled_checkbox_label<?php echo $wpml_lang; ?>" type="text" id="moove_gdpr_modal_disabled_checkbox_label" value="<?php echo isset( $gdpr_options['moove_gdpr_modal_disabled_checkbox_label'.$wpml_lang] ) && $gdpr_options['moove_gdpr_modal_disabled_checkbox_label'.$wpml_lang] ? $gdpr_options['moove_gdpr_modal_disabled_checkbox_label'.$wpml_lang] : __('Disabled','moove-gdpr'); ?>" class="regular-text">
|
141 |
+
</td>
|
142 |
+
|
143 |
+
</tr>
|
144 |
+
|
145 |
+
|
146 |
+
|
147 |
</tbody>
|
148 |
</table>
|
149 |
<br />
|
150 |
<hr />
|
151 |
+
<h2><?php _e('Cookie Info Bar Settings','moove-gdpr'); ?></h2>
|
152 |
<hr />
|
153 |
|
154 |
<table class="form-table">
|
155 |
<tbody>
|
156 |
<tr>
|
157 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
158 |
+
<label for="moove_gdpr_info_bar_content"><?php _e('Infobar Content','moove-gdpr'); ?></label>
|
159 |
</th>
|
160 |
</tr>
|
161 |
<tr class="moove_gdpr_table_form_holder">
|
162 |
<th colspan="2" scope="row">
|
163 |
<?php
|
164 |
+
$content = isset( $gdpr_options['moove_gdpr_info_bar_content'.$wpml_lang] ) && $gdpr_options['moove_gdpr_info_bar_content'.$wpml_lang] ? maybe_unserialize( $gdpr_options['moove_gdpr_info_bar_content'.$wpml_lang] ) : false;
|
165 |
if ( ! $content ) :
|
166 |
+
$_content = __("<p>We are using cookies to give you the best experience on our website.</p><p>You can find out more about which cookies we are using or switch them off in [setting]settings[/setting].</p>","moove-gdpr");
|
167 |
$content = apply_filters( 'the_content', $_content );
|
168 |
endif;
|
169 |
?>
|
175 |
);
|
176 |
wp_editor( $content, 'moove_gdpr_info_bar_content', $settings );
|
177 |
?>
|
178 |
+
<p class="description"><?php _e('You can use the following shortcut to link the settings modal:<br><span><strong>[setting]</strong>settings<strong>[/setting]</strong></span>','moove-gdpr'); ?></p>
|
179 |
</th>
|
180 |
</tr>
|
181 |
<tr>
|
182 |
<th scope="row">
|
183 |
+
<label for="moove_gdpr_infobar_accept_button_label"><?php _e('Accept - Button Label','moove-gdpr'); ?></label>
|
184 |
</th>
|
185 |
<td>
|
186 |
+
<input name="moove_gdpr_infobar_accept_button_label<?php echo $wpml_lang; ?>" type="text" id="moove_gdpr_infobar_accept_button_label" value="<?php echo isset( $gdpr_options['moove_gdpr_infobar_accept_button_label'.$wpml_lang] ) && $gdpr_options['moove_gdpr_infobar_accept_button_label'.$wpml_lang] ? $gdpr_options['moove_gdpr_infobar_accept_button_label'.$wpml_lang] : __('Accept','moove-gdpr'); ?>" class="regular-text">
|
187 |
</td>
|
188 |
</tr>
|
189 |
|
190 |
<tr>
|
191 |
<th scope="row">
|
192 |
+
<label for="moove_gdpr_colour_scheme"><?php _e('Colour scheme','moove-gdpr'); ?></label>
|
193 |
</th>
|
194 |
<td>
|
195 |
<fieldset>
|
196 |
+
<legend class="screen-reader-text"><span><?php _e('Enable','moove-gdpr'); ?></span></legend>
|
197 |
<input name="moove_gdpr_colour_scheme" type="radio" <?php echo isset( $gdpr_options['moove_gdpr_colour_scheme'] ) ? ( intval( $gdpr_options['moove_gdpr_colour_scheme'] ) === 1 ? 'checked' : ( ! isset( $gdpr_options['moove_gdpr_colour_scheme'] ) ? 'checked' : '' ) ) : 'checked'; ?> id="moove_gdpr_colour_scheme_dark" value="1">
|
198 |
+
<label for="moove_gdpr_colour_scheme_dark"><?php _e('Dark','moove-gdpr'); ?></label> <br>
|
199 |
|
200 |
<input name="moove_gdpr_colour_scheme" type="radio" <?php echo isset( $gdpr_options['moove_gdpr_colour_scheme'] ) ? ( intval( $gdpr_options['moove_gdpr_colour_scheme'] ) === 2 ? 'checked' : '' ) : ''; ?> id="moove_gdpr_colour_scheme_light" value="2">
|
201 |
+
<label for="moove_gdpr_colour_scheme_light"><?php _e('Light','moove-gdpr'); ?></label>
|
202 |
</fieldset>
|
203 |
</td>
|
204 |
</tr>
|
208 |
|
209 |
<br />
|
210 |
<hr />
|
211 |
+
<h2><?php _e('Change Settings - Floating Button','moove-gdpr'); ?></h2>
|
212 |
<hr />
|
213 |
|
214 |
<table class="form-table">
|
215 |
<tbody>
|
216 |
<tr>
|
217 |
<th scope="row">
|
218 |
+
<label for="moove_gdpr_floating_button_enable"><?php _e('Enable Floating Button','moove-gdpr'); ?></label>
|
219 |
</th>
|
220 |
<td>
|
221 |
<fieldset>
|
222 |
+
<legend class="screen-reader-text"><span><?php _e('Enable','moove-gdpr'); ?></span></legend>
|
223 |
<label for="moove_gdpr_floating_button_enable">
|
224 |
<input name="moove_gdpr_floating_button_enable" type="checkbox" <?php echo isset( $gdpr_options['moove_gdpr_floating_button_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_floating_button_enable'] ) === 1 ? 'checked' : '' ) : ''; ?> id="moove_gdpr_floating_button_enable" value="1">
|
225 |
+
<?php _e('Enable','moove-gdpr'); ?></label>
|
226 |
</fieldset>
|
227 |
</td>
|
228 |
</tr>
|
229 |
|
230 |
<tr>
|
231 |
<th scope="row">
|
232 |
+
<label for="moove_gdpr_floating_button_label"><?php _e('Button - Hover Label','moove-gdpr'); ?></label>
|
233 |
</th>
|
234 |
<td>
|
235 |
+
<input name="moove_gdpr_floating_button_label<?php echo $wpml_lang; ?>" type="text" id="moove_gdpr_floating_button_label" value="<?php echo isset( $gdpr_options['moove_gdpr_floating_button_label'.$wpml_lang] ) && $gdpr_options['moove_gdpr_floating_button_label'.$wpml_lang] ? $gdpr_options['moove_gdpr_floating_button_label'.$wpml_lang] : __('Change cookie settings','moove-gdpr'); ?>" class="regular-text">
|
236 |
</td>
|
237 |
</tr>
|
238 |
|
239 |
<tr>
|
240 |
<th scope="row">
|
241 |
+
<label for="moove_gdpr_floating_button_position"><?php _e('Button - Custom Position (CSS)','moove-gdpr'); ?></label>
|
242 |
</th>
|
243 |
<td>
|
244 |
<input name="moove_gdpr_floating_button_position" type="text" id="moove_gdpr_floating_button_position" value="<?php echo isset( $gdpr_options['moove_gdpr_floating_button_position'] ) && $gdpr_options['moove_gdpr_floating_button_position'] ? $gdpr_options['moove_gdpr_floating_button_position'] : 'bottom: 20px; left: 20px;'; ?>" class="regular-text">
|
245 |
+
<p class="description" id="moove_gdpr_floating_button_position-description"><?php _e('You can align the position eg.: <strong>top: 20px; right: 20px;</strong>','moove-gdpr'); ?></p>
|
246 |
</td>
|
247 |
</tr>
|
248 |
|
252 |
<br />
|
253 |
<hr />
|
254 |
<br />
|
255 |
+
<button type="submit" class="button button-primary"><?php _e('Save changes','moove-gdpr'); ?></button>
|
256 |
</form>
|
views/moove/admin/settings/privacy_overview.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<?php
|
2 |
-
$option_name =
|
3 |
$gdpr_options = get_option( $option_name );
|
|
|
4 |
$gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
|
5 |
if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
|
6 |
$nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
|
@@ -11,7 +12,7 @@
|
|
11 |
foreach ( $_POST as $form_key => $form_value ) :
|
12 |
if ( $form_key === 'moove_gdpr_privacy_overview_tab_content' ) :
|
13 |
$value = apply_filters( 'the_content', wp_unslash( $form_value ) );
|
14 |
-
$gdpr_options[$form_key] = $value;
|
15 |
update_option( $option_name, $gdpr_options );
|
16 |
$gdpr_options = get_option( $option_name );
|
17 |
else :
|
@@ -33,7 +34,7 @@
|
|
33 |
<br />
|
34 |
|
35 |
<?php
|
36 |
-
$nav_label = isset( $gdpr_options['moove_gdpr_privacy_overview_tab_title'] ) && $gdpr_options['moove_gdpr_privacy_overview_tab_title'] ? $gdpr_options['moove_gdpr_privacy_overview_tab_title'] : __('Privacy Overview','moove-gdpr');
|
37 |
?>
|
38 |
|
39 |
<h2><?php echo $nav_label; ?></h2>
|
@@ -44,22 +45,22 @@
|
|
44 |
<tbody>
|
45 |
<tr>
|
46 |
<th scope="row">
|
47 |
-
<label for="moove_gdpr_privacy_overview_tab_title"
|
48 |
</th>
|
49 |
<td>
|
50 |
-
<input name="moove_gdpr_privacy_overview_tab_title" type="text" id="moove_gdpr_privacy_overview_tab_title" value="<?php echo
|
51 |
</td>
|
52 |
</tr>
|
53 |
|
54 |
<tr>
|
55 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
56 |
-
<label for="moove_gdpr_privacy_overview_tab_content"
|
57 |
</th>
|
58 |
</tr>
|
59 |
<tr class="moove_gdpr_table_form_holder">
|
60 |
<th colspan="2" scope="row">
|
61 |
<?php
|
62 |
-
$content = isset( $gdpr_options['moove_gdpr_privacy_overview_tab_content'] ) && $gdpr_options['moove_gdpr_privacy_overview_tab_content'] ? wp_unslash( $gdpr_options['moove_gdpr_privacy_overview_tab_content'] ) : false;
|
63 |
if ( ! $content ) :
|
64 |
$content = Moove_GDPR_Content::moove_gdpr_get_privacy_overview_content();
|
65 |
endif;
|
@@ -78,5 +79,5 @@
|
|
78 |
|
79 |
<hr />
|
80 |
<br />
|
81 |
-
<button type="submit" class="button button-primary"
|
82 |
</form>
|
1 |
<?php
|
2 |
+
$option_name = Moove_GDPR_Content::moove_gdpr_get_option_name();
|
3 |
$gdpr_options = get_option( $option_name );
|
4 |
+
$wpml_lang = Moove_GDPR_Content::moove_gdpr_get_wpml_lang();
|
5 |
$gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
|
6 |
if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
|
7 |
$nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
|
12 |
foreach ( $_POST as $form_key => $form_value ) :
|
13 |
if ( $form_key === 'moove_gdpr_privacy_overview_tab_content' ) :
|
14 |
$value = apply_filters( 'the_content', wp_unslash( $form_value ) );
|
15 |
+
$gdpr_options[$form_key.$wpml_lang] = $value;
|
16 |
update_option( $option_name, $gdpr_options );
|
17 |
$gdpr_options = get_option( $option_name );
|
18 |
else :
|
34 |
<br />
|
35 |
|
36 |
<?php
|
37 |
+
$nav_label = isset( $gdpr_options['moove_gdpr_privacy_overview_tab_title'.$wpml_lang] ) && $gdpr_options['moove_gdpr_privacy_overview_tab_title'.$wpml_lang] ? $gdpr_options['moove_gdpr_privacy_overview_tab_title'.$wpml_lang] : __('Privacy Overview','moove-gdpr');
|
38 |
?>
|
39 |
|
40 |
<h2><?php echo $nav_label; ?></h2>
|
45 |
<tbody>
|
46 |
<tr>
|
47 |
<th scope="row">
|
48 |
+
<label for="moove_gdpr_privacy_overview_tab_title"><?php _e('Tab Title','moove-gdpr'); ?></label>
|
49 |
</th>
|
50 |
<td>
|
51 |
+
<input name="moove_gdpr_privacy_overview_tab_title<?php echo $wpml_lang; ?>" type="text" id="moove_gdpr_privacy_overview_tab_title" value="<?php echo $nav_label; ?>" class="regular-text">
|
52 |
</td>
|
53 |
</tr>
|
54 |
|
55 |
<tr>
|
56 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
57 |
+
<label for="moove_gdpr_privacy_overview_tab_content"><?php _e('Tab Content','moove-gdpr'); ?></label>
|
58 |
</th>
|
59 |
</tr>
|
60 |
<tr class="moove_gdpr_table_form_holder">
|
61 |
<th colspan="2" scope="row">
|
62 |
<?php
|
63 |
+
$content = isset( $gdpr_options['moove_gdpr_privacy_overview_tab_content'.$wpml_lang] ) && $gdpr_options['moove_gdpr_privacy_overview_tab_content'.$wpml_lang] ? wp_unslash( $gdpr_options['moove_gdpr_privacy_overview_tab_content'.$wpml_lang] ) : false;
|
64 |
if ( ! $content ) :
|
65 |
$content = Moove_GDPR_Content::moove_gdpr_get_privacy_overview_content();
|
66 |
endif;
|
79 |
|
80 |
<hr />
|
81 |
<br />
|
82 |
+
<button type="submit" class="button button-primary"><?php _e('Save changes','moove-gdpr'); ?></button>
|
83 |
</form>
|
views/moove/admin/settings/settings_page.php
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
<div class="wrap" id="moove_form_checker_wrap">
|
2 |
<h1><?php _e('GDPR Cookie Compliance Plugin Settings','moove-gdpr'); ?></h1>
|
3 |
<div id="moove-gdpr-setting-error-settings_updated" class="updated settings-error notice is-dismissible" style="display:none;">
|
4 |
-
<p><strong
|
5 |
<button type="button" class="notice-dismiss">
|
6 |
-
<span class="screen-reader-text"
|
7 |
</button>
|
8 |
</div>
|
9 |
|
10 |
<div id="moove-gdpr-setting-error-settings_scripts_empty" class="error settings-error notice is-dismissible" style="display:none;">
|
11 |
<p>
|
12 |
-
<strong
|
13 |
</p>
|
14 |
<button type="button" class="notice-dismiss">
|
15 |
-
<span class="screen-reader-text"
|
16 |
</button>
|
17 |
</div>
|
18 |
|
19 |
-
<h4
|
20 |
|
21 |
<?php
|
22 |
$current_tab = sanitize_text_field( wp_unslash( $_GET['tab'] ) );
|
@@ -30,8 +30,9 @@
|
|
30 |
echo Moove_GDPR_View::load( 'moove.admin.settings.' . $active_tab , $data );
|
31 |
$tab_data = ob_get_clean();
|
32 |
|
33 |
-
$option_name =
|
34 |
$modal_options = get_option( $option_name );
|
|
|
35 |
?>
|
36 |
|
37 |
<h2 class="nav-tab-wrapper">
|
@@ -40,34 +41,34 @@
|
|
40 |
</a>
|
41 |
|
42 |
<?php
|
43 |
-
$nav_label = isset( $modal_options['moove_gdpr_privacy_overview_tab_title'] ) && $modal_options['moove_gdpr_privacy_overview_tab_title'] ? $modal_options['moove_gdpr_privacy_overview_tab_title'] : __('Privacy Overview','moove-gdpr');
|
44 |
?>
|
45 |
<a href="?page=moove-gdpr&tab=privacy_overview" class="nav-tab <?php echo $active_tab == 'privacy_overview' ? 'nav-tab-active' : ''; ?>">
|
46 |
<?php echo $nav_label; ?>
|
47 |
</a>
|
48 |
|
49 |
<?php
|
50 |
-
$nav_label = isset( $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ) && $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ? $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] : __('Strictly Necessary Cookies','moove-gdpr');
|
51 |
?>
|
52 |
<a href="?page=moove-gdpr&tab=strictly_necessary_cookies" class="nav-tab <?php echo $active_tab == 'strictly_necessary_cookies' ? 'nav-tab-active' : ''; ?>">
|
53 |
<?php echo $nav_label; ?>
|
54 |
</a>
|
55 |
|
56 |
<?php
|
57 |
-
$nav_label = isset( $modal_options['moove_gdpr_performance_cookies_tab_title'] ) && $modal_options['moove_gdpr_performance_cookies_tab_title'] ? $modal_options['moove_gdpr_performance_cookies_tab_title'] : __('3rd Party Cookies','moove-gdpr');
|
58 |
?>
|
59 |
<a href="?page=moove-gdpr&tab=third_party_cookies" class="nav-tab <?php echo $active_tab == 'third_party_cookies' ? 'nav-tab-active' : ''; ?>">
|
60 |
<?php echo $nav_label; ?>
|
61 |
</a>
|
62 |
|
63 |
<?php
|
64 |
-
$nav_label = isset( $modal_options['moove_gdpr_advanced_cookies_tab_title'] ) && $modal_options['moove_gdpr_advanced_cookies_tab_title'] ? $modal_options['moove_gdpr_advanced_cookies_tab_title'] : __('Additional Cookies','moove-gdpr');
|
65 |
?>
|
66 |
<a href="?page=moove-gdpr&tab=advanced_cookies" class="nav-tab <?php echo $active_tab == 'advanced_cookies' ? 'nav-tab-active' : ''; ?>">
|
67 |
<?php echo $nav_label; ?>
|
68 |
</a>
|
69 |
<?php
|
70 |
-
$nav_label = isset( $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] ) && $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] ? $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] : __('Cookie Policy','moove-gdpr');
|
71 |
?>
|
72 |
<a href="?page=moove-gdpr&tab=cookie_policy" class="nav-tab <?php echo $active_tab == 'cookie_policy' ? 'nav-tab-active' : ''; ?>">
|
73 |
<?php echo $nav_label; ?>
|
1 |
<div class="wrap" id="moove_form_checker_wrap">
|
2 |
<h1><?php _e('GDPR Cookie Compliance Plugin Settings','moove-gdpr'); ?></h1>
|
3 |
<div id="moove-gdpr-setting-error-settings_updated" class="updated settings-error notice is-dismissible" style="display:none;">
|
4 |
+
<p><strong><?php _e('Settings saved.','moove-gdpr'); ?></strong></p>
|
5 |
<button type="button" class="notice-dismiss">
|
6 |
+
<span class="screen-reader-text"><?php _e('Dismiss this notice.','moove-gdpr'); ?></span>
|
7 |
</button>
|
8 |
</div>
|
9 |
|
10 |
<div id="moove-gdpr-setting-error-settings_scripts_empty" class="error settings-error notice is-dismissible" style="display:none;">
|
11 |
<p>
|
12 |
+
<strong><?php _e('You need to insert the relevant script for the settings to be saved!','moove-gdpr'); ?></strong>
|
13 |
</p>
|
14 |
<button type="button" class="notice-dismiss">
|
15 |
+
<span class="screen-reader-text"><?php _e('Dismiss this notice.','moove-gdpr'); ?></span>
|
16 |
</button>
|
17 |
</div>
|
18 |
|
19 |
+
<h4><?php _e('General Data Protection Regulation (GDPR) is a <a href="http://www.eugdpr.org/" target="_blank">European regulation</a> to strengthen and unify the data protection of EU citizens.','moove-gdpr'); ?><br> </h4>
|
20 |
|
21 |
<?php
|
22 |
$current_tab = sanitize_text_field( wp_unslash( $_GET['tab'] ) );
|
30 |
echo Moove_GDPR_View::load( 'moove.admin.settings.' . $active_tab , $data );
|
31 |
$tab_data = ob_get_clean();
|
32 |
|
33 |
+
$option_name = Moove_GDPR_Content::moove_gdpr_get_option_name();
|
34 |
$modal_options = get_option( $option_name );
|
35 |
+
$wpml_lang = Moove_GDPR_Content::moove_gdpr_get_wpml_lang();
|
36 |
?>
|
37 |
|
38 |
<h2 class="nav-tab-wrapper">
|
41 |
</a>
|
42 |
|
43 |
<?php
|
44 |
+
$nav_label = isset( $modal_options['moove_gdpr_privacy_overview_tab_title'.$wpml_lang] ) && $modal_options['moove_gdpr_privacy_overview_tab_title'.$wpml_lang] ? $modal_options['moove_gdpr_privacy_overview_tab_title'.$wpml_lang] : __('Privacy Overview','moove-gdpr');
|
45 |
?>
|
46 |
<a href="?page=moove-gdpr&tab=privacy_overview" class="nav-tab <?php echo $active_tab == 'privacy_overview' ? 'nav-tab-active' : ''; ?>">
|
47 |
<?php echo $nav_label; ?>
|
48 |
</a>
|
49 |
|
50 |
<?php
|
51 |
+
$nav_label = isset( $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'.$wpml_lang] ) && $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'.$wpml_lang] ? $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'.$wpml_lang] : __('Strictly Necessary Cookies','moove-gdpr');
|
52 |
?>
|
53 |
<a href="?page=moove-gdpr&tab=strictly_necessary_cookies" class="nav-tab <?php echo $active_tab == 'strictly_necessary_cookies' ? 'nav-tab-active' : ''; ?>">
|
54 |
<?php echo $nav_label; ?>
|
55 |
</a>
|
56 |
|
57 |
<?php
|
58 |
+
$nav_label = isset( $modal_options['moove_gdpr_performance_cookies_tab_title'.$wpml_lang] ) && $modal_options['moove_gdpr_performance_cookies_tab_title'.$wpml_lang] ? $modal_options['moove_gdpr_performance_cookies_tab_title'.$wpml_lang] : __('3rd Party Cookies','moove-gdpr');
|
59 |
?>
|
60 |
<a href="?page=moove-gdpr&tab=third_party_cookies" class="nav-tab <?php echo $active_tab == 'third_party_cookies' ? 'nav-tab-active' : ''; ?>">
|
61 |
<?php echo $nav_label; ?>
|
62 |
</a>
|
63 |
|
64 |
<?php
|
65 |
+
$nav_label = isset( $modal_options['moove_gdpr_advanced_cookies_tab_title'.$wpml_lang] ) && $modal_options['moove_gdpr_advanced_cookies_tab_title'.$wpml_lang] ? $modal_options['moove_gdpr_advanced_cookies_tab_title'.$wpml_lang] : __('Additional Cookies','moove-gdpr');
|
66 |
?>
|
67 |
<a href="?page=moove-gdpr&tab=advanced_cookies" class="nav-tab <?php echo $active_tab == 'advanced_cookies' ? 'nav-tab-active' : ''; ?>">
|
68 |
<?php echo $nav_label; ?>
|
69 |
</a>
|
70 |
<?php
|
71 |
+
$nav_label = isset( $modal_options['moove_gdpr_cookie_policy_tab_nav_label'.$wpml_lang] ) && $modal_options['moove_gdpr_cookie_policy_tab_nav_label'.$wpml_lang] ? $modal_options['moove_gdpr_cookie_policy_tab_nav_label'.$wpml_lang] : __('Cookie Policy','moove-gdpr');
|
72 |
?>
|
73 |
<a href="?page=moove-gdpr&tab=cookie_policy" class="nav-tab <?php echo $active_tab == 'cookie_policy' ? 'nav-tab-active' : ''; ?>">
|
74 |
<?php echo $nav_label; ?>
|
views/moove/admin/settings/strictly_necessary_cookies.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<?php
|
2 |
-
$option_name =
|
3 |
$gdpr_options = get_option( $option_name );
|
|
|
4 |
$gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
|
5 |
if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
|
6 |
$nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
|
@@ -11,7 +12,12 @@
|
|
11 |
foreach ( $_POST as $form_key => $form_value ) :
|
12 |
if ( $form_key === 'moove_gdpr_strict_necessary_cookies_tab_content' ) :
|
13 |
$value = apply_filters( 'the_content', wp_unslash( $form_value ) );
|
14 |
-
$gdpr_options[$form_key] = $value;
|
|
|
|
|
|
|
|
|
|
|
15 |
update_option( $option_name, $gdpr_options );
|
16 |
$gdpr_options = get_option( $option_name );
|
17 |
elseif ( $form_key !== 'moove_gdpr_strictly_necessary_cookies_enable' ) :
|
@@ -32,7 +38,7 @@
|
|
32 |
?>
|
33 |
<br />
|
34 |
<?php
|
35 |
-
$nav_label = isset( $gdpr_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ) && $gdpr_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ? $gdpr_options['moove_gdpr_strictly_necessary_cookies_tab_title'] : __('Strictly Necessary Cookies','moove-gdpr');
|
36 |
?>
|
37 |
<h2><?php echo $nav_label; ?></h2>
|
38 |
<hr />
|
@@ -42,22 +48,22 @@
|
|
42 |
<tbody>
|
43 |
<tr>
|
44 |
<th scope="row">
|
45 |
-
<label for="moove_gdpr_strictly_necessary_cookies_tab_title"
|
46 |
</th>
|
47 |
<td>
|
48 |
-
<input name="moove_gdpr_strictly_necessary_cookies_tab_title" type="text" id="moove_gdpr_strictly_necessary_cookies_tab_title" value="<?php echo
|
49 |
</td>
|
50 |
</tr>
|
51 |
|
52 |
<tr>
|
53 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
54 |
-
<label for="moove_gdpr_strict_necessary_cookies_tab_content"
|
55 |
</th>
|
56 |
</tr>
|
57 |
<tr class="moove_gdpr_table_form_holder">
|
58 |
<th colspan="2" scope="row">
|
59 |
<?php
|
60 |
-
$content = isset( $gdpr_options['moove_gdpr_strict_necessary_cookies_tab_content'] ) && $gdpr_options['moove_gdpr_strict_necessary_cookies_tab_content'] ? wp_unslash( $gdpr_options['moove_gdpr_strict_necessary_cookies_tab_content'] ) : false;
|
61 |
if ( ! $content ) :
|
62 |
$content = Moove_GDPR_Content::moove_gdpr_get_strict_necessary_content();
|
63 |
endif;
|
@@ -74,14 +80,21 @@
|
|
74 |
|
75 |
<tr>
|
76 |
<th scope="row" style="padding-bottom: 0;" colspan="2">
|
77 |
-
<label for="moove_gdpr_strictly_necessary_cookies_warning"
|
78 |
</th>
|
79 |
</tr>
|
80 |
<tr>
|
81 |
<th style="padding-top: 10px;" colspan="2">
|
82 |
-
<?php $content = isset( $gdpr_options['moove_gdpr_strictly_necessary_cookies_warning'] ) && $gdpr_options['moove_gdpr_strictly_necessary_cookies_warning'] ? $gdpr_options['moove_gdpr_strictly_necessary_cookies_warning'] : Moove_GDPR_Content::moove_gdpr_get_strict_necessary_warning(); ?>
|
83 |
-
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
</th>
|
86 |
</tr>
|
87 |
</tbody>
|
@@ -89,5 +102,5 @@
|
|
89 |
|
90 |
<hr />
|
91 |
<br />
|
92 |
-
<button type="submit" class="button button-primary"
|
93 |
</form>
|
1 |
<?php
|
2 |
+
$option_name = Moove_GDPR_Content::moove_gdpr_get_option_name();
|
3 |
$gdpr_options = get_option( $option_name );
|
4 |
+
$wpml_lang = Moove_GDPR_Content::moove_gdpr_get_wpml_lang();
|
5 |
$gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
|
6 |
if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
|
7 |
$nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
|
12 |
foreach ( $_POST as $form_key => $form_value ) :
|
13 |
if ( $form_key === 'moove_gdpr_strict_necessary_cookies_tab_content' ) :
|
14 |
$value = apply_filters( 'the_content', wp_unslash( $form_value ) );
|
15 |
+
$gdpr_options[$form_key.$wpml_lang] = $value;
|
16 |
+
update_option( $option_name, $gdpr_options );
|
17 |
+
$gdpr_options = get_option( $option_name );
|
18 |
+
elseif ( $form_key === 'moove_gdpr_strictly_necessary_cookies_warning' ) :
|
19 |
+
$value = apply_filters( 'the_content', wp_unslash( $form_value ) );
|
20 |
+
$gdpr_options[$form_key.$wpml_lang] = $value;
|
21 |
update_option( $option_name, $gdpr_options );
|
22 |
$gdpr_options = get_option( $option_name );
|
23 |
elseif ( $form_key !== 'moove_gdpr_strictly_necessary_cookies_enable' ) :
|
38 |
?>
|
39 |
<br />
|
40 |
<?php
|
41 |
+
$nav_label = isset( $gdpr_options['moove_gdpr_strictly_necessary_cookies_tab_title'.$wpml_lang] ) && $gdpr_options['moove_gdpr_strictly_necessary_cookies_tab_title'.$wpml_lang] ? $gdpr_options['moove_gdpr_strictly_necessary_cookies_tab_title'.$wpml_lang] : __('Strictly Necessary Cookies','moove-gdpr');
|
42 |
?>
|
43 |
<h2><?php echo $nav_label; ?></h2>
|
44 |
<hr />
|
48 |
<tbody>
|
49 |
<tr>
|
50 |
<th scope="row">
|
51 |
+
<label for="moove_gdpr_strictly_necessary_cookies_tab_title"><?php _e('Tab Title','moove-gdpr'); ?></label>
|
52 |
</th>
|
53 |
<td>
|
54 |
+
<input name="moove_gdpr_strictly_necessary_cookies_tab_title<?php echo $wpml_lang; ?>" type="text" id="moove_gdpr_strictly_necessary_cookies_tab_title" value="<?php echo $nav_label; ?>" class="regular-text">
|
55 |
</td>
|
56 |
</tr>
|
57 |
|
58 |
<tr>
|
59 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
60 |
+
<label for="moove_gdpr_strict_necessary_cookies_tab_content"><?php _e('Tab Content','moove-gdpr'); ?></label>
|
61 |
</th>
|
62 |
</tr>
|
63 |
<tr class="moove_gdpr_table_form_holder">
|
64 |
<th colspan="2" scope="row">
|
65 |
<?php
|
66 |
+
$content = isset( $gdpr_options['moove_gdpr_strict_necessary_cookies_tab_content'.$wpml_lang] ) && $gdpr_options['moove_gdpr_strict_necessary_cookies_tab_content'.$wpml_lang] ? wp_unslash( $gdpr_options['moove_gdpr_strict_necessary_cookies_tab_content'.$wpml_lang] ) : false;
|
67 |
if ( ! $content ) :
|
68 |
$content = Moove_GDPR_Content::moove_gdpr_get_strict_necessary_content();
|
69 |
endif;
|
80 |
|
81 |
<tr>
|
82 |
<th scope="row" style="padding-bottom: 0;" colspan="2">
|
83 |
+
<label for="moove_gdpr_strictly_necessary_cookies_warning"><?php _e('Tab Warning Message','moove-gdpr'); ?></label>
|
84 |
</th>
|
85 |
</tr>
|
86 |
<tr>
|
87 |
<th style="padding-top: 10px;" colspan="2">
|
88 |
+
<?php $content = isset( $gdpr_options['moove_gdpr_strictly_necessary_cookies_warning'.$wpml_lang] ) && $gdpr_options['moove_gdpr_strictly_necessary_cookies_warning'.$wpml_lang] ? $gdpr_options['moove_gdpr_strictly_necessary_cookies_warning'.$wpml_lang] : Moove_GDPR_Content::moove_gdpr_get_strict_necessary_warning(); ?>
|
89 |
+
|
90 |
+
<?php
|
91 |
+
$settings = array (
|
92 |
+
'media_buttons' => false,
|
93 |
+
'editor_height' => 50,
|
94 |
+
);
|
95 |
+
wp_editor( $content, 'moove_gdpr_strictly_necessary_cookies_warning', $settings );
|
96 |
+
?>
|
97 |
+
<p class="description" id="moove_gdpr_strictly_necessary_cookies_warning-description"><?php _e('Will be displayed below the Checkbox in the front-end!','moove-gdpr'); ?></p>
|
98 |
</th>
|
99 |
</tr>
|
100 |
</tbody>
|
102 |
|
103 |
<hr />
|
104 |
<br />
|
105 |
+
<button type="submit" class="button button-primary"><?php _e('Save changes','moove-gdpr'); ?></button>
|
106 |
</form>
|
views/moove/admin/settings/third_party_cookies.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<?php
|
2 |
-
$option_name =
|
3 |
$gdpr_options = get_option( $option_name );
|
|
|
4 |
$gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
|
5 |
if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
|
6 |
$nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
|
@@ -27,7 +28,7 @@
|
|
27 |
foreach ( $_POST as $form_key => $form_value ) :
|
28 |
if ( $form_key === 'moove_gdpr_performance_cookies_tab_content' ) :
|
29 |
$value = apply_filters( 'the_content', wp_unslash( $form_value ) );
|
30 |
-
$gdpr_options[$form_key] = $value;
|
31 |
update_option( $option_name, $gdpr_options );
|
32 |
$gdpr_options = get_option( $option_name );
|
33 |
elseif ( $form_key === 'moove_gdpr_third_party_footer_scripts' ) :
|
@@ -62,7 +63,7 @@
|
|
62 |
?>
|
63 |
<br />
|
64 |
<?php
|
65 |
-
$nav_label = isset( $gdpr_options['moove_gdpr_performance_cookies_tab_title'] ) && $gdpr_options['moove_gdpr_performance_cookies_tab_title'] ? $gdpr_options['moove_gdpr_performance_cookies_tab_title'] : __('3rd Party Cookies','moove-gdpr');
|
66 |
?>
|
67 |
<h2><?php echo $nav_label; ?></h2>
|
68 |
<hr />
|
@@ -72,31 +73,31 @@
|
|
72 |
<tbody>
|
73 |
<tr>
|
74 |
<th scope="row">
|
75 |
-
<label for="moove_gdpr_third_party_cookies_enable"
|
76 |
</th>
|
77 |
<td>
|
78 |
-
<input name="moove_gdpr_third_party_cookies_enable" type="radio" value="1" id="moove_gdpr_third_party_cookies_enable_on" <?php echo isset( $gdpr_options['moove_gdpr_third_party_cookies_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_third_party_cookies_enable'] ) === 1 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_third_party_cookies_enable_on"
|
79 |
-
<input name="moove_gdpr_third_party_cookies_enable" type="radio" value="0" id="moove_gdpr_third_party_cookies_enable_off" <?php echo isset( $gdpr_options['moove_gdpr_third_party_cookies_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_third_party_cookies_enable'] ) === 0 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_third_party_cookies_enable_off"
|
80 |
</td>
|
81 |
</tr>
|
82 |
<tr>
|
83 |
<th scope="row">
|
84 |
-
<label for="moove_gdpr_performance_cookies_tab_title"
|
85 |
</th>
|
86 |
<td>
|
87 |
-
<input name="moove_gdpr_performance_cookies_tab_title" type="text" id="moove_gdpr_performance_cookies_tab_title" value="<?php echo
|
88 |
</td>
|
89 |
</tr>
|
90 |
|
91 |
<tr>
|
92 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
93 |
-
<label for="moove_gdpr_performance_cookies_tab_content"
|
94 |
</th>
|
95 |
</tr>
|
96 |
<tr class="moove_gdpr_table_form_holder">
|
97 |
<th colspan="2" scope="row">
|
98 |
<?php
|
99 |
-
$content = isset( $gdpr_options['moove_gdpr_performance_cookies_tab_content'] ) && $gdpr_options['moove_gdpr_performance_cookies_tab_content'] ? wp_unslash( $gdpr_options['moove_gdpr_performance_cookies_tab_content'] ) : false;
|
100 |
if ( ! $content ) :
|
101 |
$content = Moove_GDPR_Content::moove_gdpr_get_third_party_content();
|
102 |
endif;
|
@@ -113,15 +114,15 @@
|
|
113 |
|
114 |
<tr>
|
115 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
116 |
-
<label for="moove_gdpr_third_party_footer_scripts"
|
117 |
</th>
|
118 |
</tr>
|
119 |
<tr class="moove_gdpr_third_party_footer_scripts">
|
120 |
<th scope="row" colspan="2">
|
121 |
<?php $content = isset( $gdpr_options['moove_gdpr_third_party_footer_scripts'] ) && $gdpr_options['moove_gdpr_third_party_footer_scripts'] ? maybe_unserialize( $gdpr_options['moove_gdpr_third_party_footer_scripts'] ) : '';
|
122 |
?>
|
123 |
-
<textarea name="moove_gdpr_third_party_footer_scripts" id="moove_gdpr_third_party_footer_scripts" class="large-text code" rows="13"><?php echo $content; ?></textarea>
|
124 |
-
<p class="description" id="moove_gdpr_third_party_footer_scripts-description"
|
125 |
</th>
|
126 |
</tr>
|
127 |
</tbody>
|
@@ -129,5 +130,5 @@
|
|
129 |
|
130 |
<hr />
|
131 |
<br />
|
132 |
-
<button type="submit" class="button button-primary"
|
133 |
</form>
|
1 |
<?php
|
2 |
+
$option_name = Moove_GDPR_Content::moove_gdpr_get_option_name();
|
3 |
$gdpr_options = get_option( $option_name );
|
4 |
+
$wpml_lang = Moove_GDPR_Content::moove_gdpr_get_wpml_lang();
|
5 |
$gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
|
6 |
if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
|
7 |
$nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
|
28 |
foreach ( $_POST as $form_key => $form_value ) :
|
29 |
if ( $form_key === 'moove_gdpr_performance_cookies_tab_content' ) :
|
30 |
$value = apply_filters( 'the_content', wp_unslash( $form_value ) );
|
31 |
+
$gdpr_options[$form_key.$wpml_lang] = $value;
|
32 |
update_option( $option_name, $gdpr_options );
|
33 |
$gdpr_options = get_option( $option_name );
|
34 |
elseif ( $form_key === 'moove_gdpr_third_party_footer_scripts' ) :
|
63 |
?>
|
64 |
<br />
|
65 |
<?php
|
66 |
+
$nav_label = isset( $gdpr_options['moove_gdpr_performance_cookies_tab_title'.$wpml_lang] ) && $gdpr_options['moove_gdpr_performance_cookies_tab_title'.$wpml_lang] ? $gdpr_options['moove_gdpr_performance_cookies_tab_title'.$wpml_lang] : __('3rd Party Cookies','moove-gdpr');
|
67 |
?>
|
68 |
<h2><?php echo $nav_label; ?></h2>
|
69 |
<hr />
|
73 |
<tbody>
|
74 |
<tr>
|
75 |
<th scope="row">
|
76 |
+
<label for="moove_gdpr_third_party_cookies_enable"><?php _e('Turn','moove-gdpr'); ?></label>
|
77 |
</th>
|
78 |
<td>
|
79 |
+
<input name="moove_gdpr_third_party_cookies_enable" type="radio" value="1" id="moove_gdpr_third_party_cookies_enable_on" <?php echo isset( $gdpr_options['moove_gdpr_third_party_cookies_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_third_party_cookies_enable'] ) === 1 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_third_party_cookies_enable_on"><?php _e('On','moove-gdpr'); ?></label> <span class="separator"></span>
|
80 |
+
<input name="moove_gdpr_third_party_cookies_enable" type="radio" value="0" id="moove_gdpr_third_party_cookies_enable_off" <?php echo isset( $gdpr_options['moove_gdpr_third_party_cookies_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_third_party_cookies_enable'] ) === 0 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_third_party_cookies_enable_off"><?php _e('Off','moove-gdpr'); ?></label>
|
81 |
</td>
|
82 |
</tr>
|
83 |
<tr>
|
84 |
<th scope="row">
|
85 |
+
<label for="moove_gdpr_performance_cookies_tab_title"><?php _e('Tab Title','moove-gdpr'); ?></label>
|
86 |
</th>
|
87 |
<td>
|
88 |
+
<input name="moove_gdpr_performance_cookies_tab_title<?php echo $wpml_lang; ?>" type="text" id="moove_gdpr_performance_cookies_tab_title" value="<?php echo $nav_label; ?>" class="regular-text">
|
89 |
</td>
|
90 |
</tr>
|
91 |
|
92 |
<tr>
|
93 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
94 |
+
<label for="moove_gdpr_performance_cookies_tab_content"><?php _e('Tab Content','moove-gdpr'); ?></label>
|
95 |
</th>
|
96 |
</tr>
|
97 |
<tr class="moove_gdpr_table_form_holder">
|
98 |
<th colspan="2" scope="row">
|
99 |
<?php
|
100 |
+
$content = isset( $gdpr_options['moove_gdpr_performance_cookies_tab_content'.$wpml_lang] ) && $gdpr_options['moove_gdpr_performance_cookies_tab_content'.$wpml_lang] ? wp_unslash( $gdpr_options['moove_gdpr_performance_cookies_tab_content'.$wpml_lang] ) : false;
|
101 |
if ( ! $content ) :
|
102 |
$content = Moove_GDPR_Content::moove_gdpr_get_third_party_content();
|
103 |
endif;
|
114 |
|
115 |
<tr>
|
116 |
<th scope="row" colspan="2" style="padding-bottom: 0;">
|
117 |
+
<label for="moove_gdpr_third_party_footer_scripts"><?php _e('The below script will be added to the page if user enables this cookie.','moove-gdpr'); ?></label>
|
118 |
</th>
|
119 |
</tr>
|
120 |
<tr class="moove_gdpr_third_party_footer_scripts">
|
121 |
<th scope="row" colspan="2">
|
122 |
<?php $content = isset( $gdpr_options['moove_gdpr_third_party_footer_scripts'] ) && $gdpr_options['moove_gdpr_third_party_footer_scripts'] ? maybe_unserialize( $gdpr_options['moove_gdpr_third_party_footer_scripts'] ) : '';
|
123 |
?>
|
124 |
+
<textarea required name="moove_gdpr_third_party_footer_scripts" id="moove_gdpr_third_party_footer_scripts" class="large-text code" rows="13"><?php echo $content; ?></textarea>
|
125 |
+
<p class="description" id="moove_gdpr_third_party_footer_scripts-description"><?php _e('For example, you can use it for Google Analytics script or any other 3rd party code snippets.','moove-gdpr'); ?></p>
|
126 |
</th>
|
127 |
</tr>
|
128 |
</tbody>
|
130 |
|
131 |
<hr />
|
132 |
<br />
|
133 |
+
<button type="submit" class="button button-primary"><?php _e('Save changes','moove-gdpr'); ?></button>
|
134 |
</form>
|