Version Description
- Enhancement - Added reject button by default
- Enhancement - Help text improvements
Download this release
Release Info
Developer | webtoffee |
Plugin | Cookie Law / GDPR Info |
Version | 2.0.2 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.0.2
- admin/class-cookie-law-info-admin.php +3 -3
- admin/css/cookie-law-info-admin.css +118 -3
- admin/js/cookie-law-info-admin.js +3 -3
- admin/modules/ccpa/ccpa.php +3 -3
- admin/modules/ccpa/views/ccpa_settings.php +1 -1
- admin/modules/cookies/cookies.php +3 -3
- admin/partials/cookie-law-info-privacy_overview.php +2 -3
- admin/views/admin-settings-advanced.php +2 -2
- admin/views/admin-settings-buttons.php +22 -31
- admin/views/admin-settings-general.php +1 -1
- admin/views/admin-settings-help.php +1 -1
- admin/views/admin-settings-messagebar.php +18 -25
- admin/views/goto-pro.php +52 -51
- cookie-law-info.php +3 -3
- images/crown.svg +15 -0
- images/money-back-badge.svg +32 -0
- images/support.svg +9 -0
- includes/class-cookie-law-info.php +7 -7
- public/class-cookie-law-info-public.php +1 -0
- public/css/cookie-law-info-gdpr.css +7 -1
- public/js/cookie-law-info-public.js +16 -1
- public/modules/script-blocker/views/settings.php +0 -0
- public/views/cookie-law-info_bar.php +1 -1
- public/views/cookie-law-info_popup_content.php +0 -0
- readme.txt +10 -8
admin/class-cookie-law-info-admin.php
CHANGED
@@ -269,7 +269,7 @@ class Cookie_Law_Info_Admin {
|
|
269 |
{
|
270 |
$links[] = '<a href="'. get_admin_url(null,'edit.php?post_type='.CLI_POST_TYPE.'&page=cookie-law-info') .'">'.__('Settings','cookie-law-info').'</a>';
|
271 |
$links[] = '<a href="https://www.webtoffee.com/product/gdpr-cookie-consent/" target="_blank">'.__('Support','cookie-law-info').'</a>';
|
272 |
-
$links[] = '<a href="https://www.webtoffee.com/product/gdpr-cookie-consent/?utm_source=free_plugin_listing&utm_medium=gdpr_basic&utm_campaign=GDPR&utm_content='.CLI_VERSION.'" target="_blank">'.__('Premium Upgrade','cookie-law-info').'</a>';
|
273 |
return $links;
|
274 |
}
|
275 |
|
@@ -469,11 +469,11 @@ class Cookie_Law_Info_Admin {
|
|
469 |
public function get_js_actions() {
|
470 |
$js_actions = array(
|
471 |
'close_header' => array(
|
472 |
-
'text'=>__('Close
|
473 |
'value'=>'#cookie_action_close_header'
|
474 |
),
|
475 |
'open_url' => array(
|
476 |
-
'text' => __('
|
477 |
'value'=>'CONSTANT_OPEN_URL') // Don't change this value, is used by jQuery
|
478 |
);
|
479 |
return $js_actions;
|
269 |
{
|
270 |
$links[] = '<a href="'. get_admin_url(null,'edit.php?post_type='.CLI_POST_TYPE.'&page=cookie-law-info') .'">'.__('Settings','cookie-law-info').'</a>';
|
271 |
$links[] = '<a href="https://www.webtoffee.com/product/gdpr-cookie-consent/" target="_blank">'.__('Support','cookie-law-info').'</a>';
|
272 |
+
$links[] = '<a href="https://www.webtoffee.com/product/gdpr-cookie-consent/?utm_source=free_plugin_listing&utm_medium=gdpr_basic&utm_campaign=GDPR&utm_content='.CLI_VERSION.'" target="_blank" style="color: #3db634; font-weight: 500;">'.__('Premium Upgrade','cookie-law-info').'</a>';
|
273 |
return $links;
|
274 |
}
|
275 |
|
469 |
public function get_js_actions() {
|
470 |
$js_actions = array(
|
471 |
'close_header' => array(
|
472 |
+
'text'=>__('Close consent bar','cookie-law-info'),
|
473 |
'value'=>'#cookie_action_close_header'
|
474 |
),
|
475 |
'open_url' => array(
|
476 |
+
'text' => __('Redirect to URL on click','cookie-law-info'),
|
477 |
'value'=>'CONSTANT_OPEN_URL') // Don't change this value, is used by jQuery
|
478 |
);
|
479 |
return $js_actions;
|
admin/css/cookie-law-info-admin.css
CHANGED
@@ -280,11 +280,11 @@ table.wc_emails .wc-email-settings-table-status .tips,table.cli_script_items .wc
|
|
280 |
}
|
281 |
.cli-admin-table label{ width:100%; display: inline-block; font-weight: bold; margin-bottom: 10px; margin-top: 15px; }
|
282 |
.cli_non_necessary_form .cli_form_help{ color: #aaa; font-style: italic; font-weight:250; font-size: 12px; }
|
283 |
-
.cli_settings_left{ width:
|
284 |
-
.cli_settings_right{ width:
|
285 |
.cli_privacy_overview_form label{ width:100%; display: inline-block; font-weight: bold; margin-bottom: 10px; margin-top: 15px; }
|
286 |
.cli_privacy_overview_form .cli_form_help{ color: #aaa; font-style: italic; font-weight:250; font-size: 12px; }
|
287 |
-
.cli_form_help{ color: #
|
288 |
.cli_form_er{ color:red; font-style: italic; font-weight:300; font-size: 12px; display: inline-block; width: 100%;}
|
289 |
.cli_scroll_accept_er{ display: none; }
|
290 |
.cli_premium_features{ font-size:14px; }
|
@@ -789,4 +789,119 @@ span.wt-cli-tootip-icon {
|
|
789 |
}
|
790 |
.wt-cli-gdpr-plugin-branding-tagline {
|
791 |
margin-top: 5px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
792 |
}
|
280 |
}
|
281 |
.cli-admin-table label{ width:100%; display: inline-block; font-weight: bold; margin-bottom: 10px; margin-top: 15px; }
|
282 |
.cli_non_necessary_form .cli_form_help{ color: #aaa; font-style: italic; font-weight:250; font-size: 12px; }
|
283 |
+
.cli_settings_left{ width:65%;float: left; margin-bottom: 25px; }
|
284 |
+
.cli_settings_right { width: calc(35% - 25px); float: left; margin-left: 25px; }
|
285 |
.cli_privacy_overview_form label{ width:100%; display: inline-block; font-weight: bold; margin-bottom: 10px; margin-top: 15px; }
|
286 |
.cli_privacy_overview_form .cli_form_help{ color: #aaa; font-style: italic; font-weight:250; font-size: 12px; }
|
287 |
+
.cli_form_help{ color: #8e8989; font-style: italic; font-weight:250; font-size: 12px; display: inline-block; width: 100%; }
|
288 |
.cli_form_er{ color:red; font-style: italic; font-weight:300; font-size: 12px; display: inline-block; width: 100%;}
|
289 |
.cli_scroll_accept_er{ display: none; }
|
290 |
.cli_premium_features{ font-size:14px; }
|
789 |
}
|
790 |
.wt-cli-gdpr-plugin-branding-tagline {
|
791 |
margin-top: 5px;
|
792 |
+
}
|
793 |
+
/* Upgrade side bar styles */
|
794 |
+
.wt-ier-sidebar-wrapper{
|
795 |
+
background: #FFFFFF;
|
796 |
+
border-radius: 5px;
|
797 |
+
max-width: 370px;
|
798 |
+
}
|
799 |
+
.wt-ier-sidebar-img{
|
800 |
+
margin: 0 auto 20px auto;
|
801 |
+
display: block;
|
802 |
+
}
|
803 |
+
.wt-ier-sidebar-title{
|
804 |
+
font-weight: 600;
|
805 |
+
font-size: 17px;
|
806 |
+
line-height: 25px;
|
807 |
+
color: #000000;
|
808 |
+
margin-bottom: 20px;
|
809 |
+
}
|
810 |
+
.wt-ier-icon{
|
811 |
+
width: auto;
|
812 |
+
height: 100%;
|
813 |
+
max-height: 25px;
|
814 |
+
margin-right: 8px;
|
815 |
+
}
|
816 |
+
.wt-ier-sidebar-p{
|
817 |
+
font-style: normal;
|
818 |
+
font-weight: normal;
|
819 |
+
font-size: 12px;
|
820 |
+
line-height: 16px;
|
821 |
+
color: #000000;
|
822 |
+
margin: 0;
|
823 |
+
}
|
824 |
+
.wt-ier-green-btn{
|
825 |
+
background: #00CB95;
|
826 |
+
border-radius: 4px;
|
827 |
+
font-weight: 600;
|
828 |
+
font-size: 16px;
|
829 |
+
line-height: 19px;
|
830 |
+
text-align: center;
|
831 |
+
padding: 15px 20px;
|
832 |
+
color: #FFFFFF;
|
833 |
+
display: inline-block;
|
834 |
+
text-decoration: none;
|
835 |
+
transition: all .2s ease;
|
836 |
+
border:none;
|
837 |
+
margin-top: 20px;
|
838 |
+
}
|
839 |
+
.wt-ier-green-btn:hover,.wt-ier-green-btn:focus{
|
840 |
+
text-decoration: none;
|
841 |
+
opacity: .8;
|
842 |
+
transition: all .2s ease;
|
843 |
+
border:none;
|
844 |
+
transform: translateY(1px);
|
845 |
+
}
|
846 |
+
.wt-ier-wrapper{
|
847 |
+
background-color: #fff;
|
848 |
+
padding: 30px;
|
849 |
+
}
|
850 |
+
.wt-ier-box-wrapper{
|
851 |
+
background: #FFFFFF;
|
852 |
+
border: 1px solid #D2D2D2;
|
853 |
+
border-radius: 6px;
|
854 |
+
min-height: 100%;
|
855 |
+
}
|
856 |
+
.wt-ier-p-5{
|
857 |
+
padding:35px;
|
858 |
+
}
|
859 |
+
.wt-ier-p-4{
|
860 |
+
padding:20px;
|
861 |
+
}
|
862 |
+
.wt-ier-v-center{
|
863 |
+
-ms-flex-align: center;
|
864 |
+
align-items: center;
|
865 |
+
}
|
866 |
+
.wt-ier-flex {
|
867 |
+
display: -ms-flexbox;
|
868 |
+
display: flex;
|
869 |
+
}
|
870 |
+
.wt-ier-center{
|
871 |
+
text-align: center;
|
872 |
+
}
|
873 |
+
.wt-ier-row * {
|
874 |
+
box-sizing: border-box;
|
875 |
+
}
|
876 |
+
.wt-ier-row{
|
877 |
+
display: -ms-flexbox;
|
878 |
+
display: flex;
|
879 |
+
-ms-flex-wrap: wrap;
|
880 |
+
flex-wrap: wrap;
|
881 |
+
margin: -15px;
|
882 |
+
}
|
883 |
+
.wt-ier-col-12{
|
884 |
+
-ms-flex: 0 0 100%;
|
885 |
+
flex: 0 0 100%;
|
886 |
+
max-width: 100%;
|
887 |
+
|
888 |
+
}
|
889 |
+
.wt-ier-col-md-6,.wt-ier-col-12{
|
890 |
+
position: relative;
|
891 |
+
width: 100%;
|
892 |
+
padding:15px;
|
893 |
+
}
|
894 |
+
@media (min-width: 768px){
|
895 |
+
.wt-ier-col-md-6{
|
896 |
+
-ms-flex: 0 0 50%;
|
897 |
+
flex: 0 0 50%;
|
898 |
+
max-width: 50%;
|
899 |
+
}
|
900 |
+
.wt-ier-mb-md-0{
|
901 |
+
margin-bottom: 0;
|
902 |
+
}
|
903 |
+
.wt-ier-border-md-right{
|
904 |
+
border-right: 1px solid #E8E8E8;
|
905 |
+
}
|
906 |
+
|
907 |
}
|
admin/js/cookie-law-info-admin.js
CHANGED
@@ -65,7 +65,7 @@
|
|
65 |
var prnt=$(this).parent('.cli_sub_tab');
|
66 |
var ctnr=prnt.siblings('.cli_sub_tab_container');
|
67 |
prnt.find('li a').css({'color':'#0073aa','cursor':'pointer'});
|
68 |
-
$(this).find('a').css({'color':'#
|
69 |
ctnr.find('.cli_sub_tab_content').hide();
|
70 |
ctnr.find('.cli_sub_tab_content[data-id="'+trgt+'"]').fadeIn();
|
71 |
});
|
@@ -274,14 +274,14 @@ var wtCliAdminFunctions = {
|
|
274 |
}
|
275 |
},
|
276 |
revisitConsentPositionEvent: function(){
|
277 |
-
jQuery(document).on('change', '
|
278 |
wtCliAdminFunctions.revisitConsentPosition();
|
279 |
});
|
280 |
},
|
281 |
|
282 |
revisitConsentPosition: function(){
|
283 |
var barType = jQuery('input[type="radio"][name="cookie_bar_as_field"]:checked').val();
|
284 |
-
var position = jQuery('
|
285 |
var revisitConsentMarginLabel = jQuery('#wt-cli-revisit-consent-margin-label');
|
286 |
var currentText = jQuery('#wt-cli-revisit-consent-margin-label').val();
|
287 |
if( barType === "popup" ) {
|
65 |
var prnt=$(this).parent('.cli_sub_tab');
|
66 |
var ctnr=prnt.siblings('.cli_sub_tab_container');
|
67 |
prnt.find('li a').css({'color':'#0073aa','cursor':'pointer'});
|
68 |
+
$(this).find('a').css({'color':'#000','cursor':'default','font-weight':'600'});
|
69 |
ctnr.find('.cli_sub_tab_content').hide();
|
70 |
ctnr.find('.cli_sub_tab_content[data-id="'+trgt+'"]').fadeIn();
|
71 |
});
|
274 |
}
|
275 |
},
|
276 |
revisitConsentPositionEvent: function(){
|
277 |
+
jQuery(document).on('change', 'input[type="radio"][name="notify_position_horizontal_field"],select[name="popup_showagain_position_field"],input[name="cookie_bar_as_field"],select[name="widget_position_field"]', function(){
|
278 |
wtCliAdminFunctions.revisitConsentPosition();
|
279 |
});
|
280 |
},
|
281 |
|
282 |
revisitConsentPosition: function(){
|
283 |
var barType = jQuery('input[type="radio"][name="cookie_bar_as_field"]:checked').val();
|
284 |
+
var position = jQuery('input[type="radio"][name="notify_position_horizontal_field"]:checked').val();
|
285 |
var revisitConsentMarginLabel = jQuery('#wt-cli-revisit-consent-margin-label');
|
286 |
var currentText = jQuery('#wt-cli-revisit-consent-margin-label').val();
|
287 |
if( barType === "popup" ) {
|
admin/modules/ccpa/ccpa.php
CHANGED
@@ -147,15 +147,15 @@ class Cookie_Law_Info_CCPA
|
|
147 |
<div class="wt-cli-ccpa-message-toggler">
|
148 |
<div class="wt-cli-form-group">
|
149 |
<input type="radio" name="consent_type_field" id="consent_type_field_gdpr" value="gdpr" '.checked( $consent_type, 'gdpr',false).'><label for="consent_type_field_gdpr"><b>'.__('GDPR','cookie-law-info').'</b></label>
|
150 |
-
<div class="wt-cli-info-bar"><small>'.__('
|
151 |
</div>
|
152 |
<div class="wt-cli-form-group">
|
153 |
<input type="radio" name="consent_type_field" id="consent_type_field_ccpa" value="ccpa" '.checked( $consent_type, 'ccpa',false).'><label for="consent_type_field_ccpa"><b>'.__('CCPA','cookie-law-info').'</b></label>
|
154 |
-
<div class="wt-cli-info-bar"><small>'.__('
|
155 |
</div>
|
156 |
<div class="wt-cli-form-group">
|
157 |
<input type="radio" name="consent_type_field" id="consent_type_field_ccpa_gdpr" value="ccpa_gdpr" '.checked( $consent_type, 'ccpa_gdpr',false).'><label for="consent_type_field_ccpa_gdpr"><b>'.__('CCPA & GDPR','cookie-law-info').'</b></label>
|
158 |
-
<div class="wt-cli-info-bar"><small>'.__('
|
159 |
</div>
|
160 |
<textarea id="wt_ci_gdpr_only" name="gdpr_content_field" style="display:none">'.stripslashes( $gdpr_content ).'</textarea>
|
161 |
<textarea id="wt_ci_ccpa_only" name="ccpa_content_field" style="display:none">'.stripslashes( $ccpa_only_content ).'</textarea>
|
147 |
<div class="wt-cli-ccpa-message-toggler">
|
148 |
<div class="wt-cli-form-group">
|
149 |
<input type="radio" name="consent_type_field" id="consent_type_field_gdpr" value="gdpr" '.checked( $consent_type, 'gdpr',false).'><label for="consent_type_field_gdpr"><b>'.__('GDPR','cookie-law-info').'</b></label>
|
150 |
+
<div class="wt-cli-info-bar"><small>'.__('GDPR compliance is essential for your website if it has a target audience from the European union.','cookie-law-info').'</small></div>
|
151 |
</div>
|
152 |
<div class="wt-cli-form-group">
|
153 |
<input type="radio" name="consent_type_field" id="consent_type_field_ccpa" value="ccpa" '.checked( $consent_type, 'ccpa',false).'><label for="consent_type_field_ccpa"><b>'.__('CCPA','cookie-law-info').'</b></label>
|
154 |
+
<div class="wt-cli-info-bar"><small>'.__('CCPA compliance is essential for your website if it has a target audience from California.','cookie-law-info').'</small></div>
|
155 |
</div>
|
156 |
<div class="wt-cli-form-group">
|
157 |
<input type="radio" name="consent_type_field" id="consent_type_field_ccpa_gdpr" value="ccpa_gdpr" '.checked( $consent_type, 'ccpa_gdpr',false).'><label for="consent_type_field_ccpa_gdpr"><b>'.__('CCPA & GDPR','cookie-law-info').'</b></label>
|
158 |
+
<div class="wt-cli-info-bar"><small>'.__('Comply with both the laws on the same website if your target audience are from European union and California.','cookie-law-info').'</small></div>
|
159 |
</div>
|
160 |
<textarea id="wt_ci_gdpr_only" name="gdpr_content_field" style="display:none">'.stripslashes( $gdpr_content ).'</textarea>
|
161 |
<textarea id="wt_ci_ccpa_only" name="ccpa_content_field" style="display:none">'.stripslashes( $ccpa_only_content ).'</textarea>
|
admin/modules/ccpa/views/ccpa_settings.php
CHANGED
@@ -15,7 +15,7 @@ ob_start();
|
|
15 |
</tr>
|
16 |
|
17 |
<tr valign="top">
|
18 |
-
<th scope="row"><label for="ccpa_enable_bar_field"><?php _e('
|
19 |
<td>
|
20 |
<input type="hidden" name="ccpa_enable_bar_field" value="false" id="ccpa_enable_bar_no">
|
21 |
<input name="ccpa_enable_bar_field" type="checkbox" value="true" id="ccpa_enable_bar_yes" <?php checked(Cookie_Law_Info::sanitise_settings('ccpa_enable_bar', $cookie_options['ccpa_enable_bar']), true); ?>>
|
15 |
</tr>
|
16 |
|
17 |
<tr valign="top">
|
18 |
+
<th scope="row"><label for="ccpa_enable_bar_field"><?php _e('Show CCPA notice', 'cookie-law-info'); ?></label><span class="wt-cli-tootip" data-wt-cli-tooltip="<?php _e('Displays CCPA notice on the consent bar of your site and records prior consent from the user.', 'cookie-law-info'); ?>"><span class="wt-cli-tootip-icon"></span></span></th>
|
19 |
<td>
|
20 |
<input type="hidden" name="ccpa_enable_bar_field" value="false" id="ccpa_enable_bar_no">
|
21 |
<input name="ccpa_enable_bar_field" type="checkbox" value="true" id="ccpa_enable_bar_yes" <?php checked(Cookie_Law_Info::sanitise_settings('ccpa_enable_bar', $cookie_options['ccpa_enable_bar']), true); ?>>
|
admin/modules/cookies/cookies.php
CHANGED
@@ -943,7 +943,7 @@ class Cookie_Law_Info_Cookies {
|
|
943 |
'sensitivity' => 'necessary',
|
944 |
),
|
945 |
'cookielawinfo-checkbox-functional' => array(
|
946 |
-
'title' => 'cookielawinfo-
|
947 |
'description' => 'The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".',
|
948 |
'category' => 'necessary',
|
949 |
'type' => 0,
|
@@ -959,7 +959,7 @@ class Cookie_Law_Info_Cookies {
|
|
959 |
'sensitivity' => 'necessary',
|
960 |
),
|
961 |
'cookielawinfo-checkbox-analytics' => array(
|
962 |
-
'title' => 'cookielawinfo-
|
963 |
'description' => 'This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".',
|
964 |
'category' => 'necessary',
|
965 |
'type' => 0,
|
@@ -967,7 +967,7 @@ class Cookie_Law_Info_Cookies {
|
|
967 |
'sensitivity' => 'necessary',
|
968 |
),
|
969 |
'cookielawinfo-checkbox-others' => array(
|
970 |
-
'title' => 'cookielawinfo-
|
971 |
'description' => 'This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.',
|
972 |
'category' => 'necessary',
|
973 |
'type' => 0,
|
943 |
'sensitivity' => 'necessary',
|
944 |
),
|
945 |
'cookielawinfo-checkbox-functional' => array(
|
946 |
+
'title' => 'cookielawinfo-checkbox-functional',
|
947 |
'description' => 'The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".',
|
948 |
'category' => 'necessary',
|
949 |
'type' => 0,
|
959 |
'sensitivity' => 'necessary',
|
960 |
),
|
961 |
'cookielawinfo-checkbox-analytics' => array(
|
962 |
+
'title' => 'cookielawinfo-checkbox-analytics',
|
963 |
'description' => 'This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".',
|
964 |
'category' => 'necessary',
|
965 |
'type' => 0,
|
967 |
'sensitivity' => 'necessary',
|
968 |
),
|
969 |
'cookielawinfo-checkbox-others' => array(
|
970 |
+
'title' => 'cookielawinfo-checkbox-others',
|
971 |
'description' => 'This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.',
|
972 |
'category' => 'necessary',
|
973 |
'type' => 0,
|
admin/partials/cookie-law-info-privacy_overview.php
CHANGED
@@ -29,13 +29,13 @@ if ( ! defined( 'WPINC' ) ) {
|
|
29 |
<table class="form-table cli_privacy_overview_form" >
|
30 |
<tr valign="top">
|
31 |
<td>
|
32 |
-
<label for="privacy_overview_title"><?php _e('
|
33 |
<input type="text" name="privacy_overview_title" value="<?php echo sanitize_text_field( stripslashes( $privacy_title ) ); ?>" class="cli-textbox" />
|
34 |
</td>
|
35 |
</tr>
|
36 |
<tr valign="top">
|
37 |
<td>
|
38 |
-
<label for="privacy_overview_content"><?php _e('
|
39 |
<?php
|
40 |
$cli_use_editor= apply_filters('cli_use_editor_in_po',true);
|
41 |
if($cli_use_editor)
|
@@ -50,7 +50,6 @@ if ( ! defined( 'WPINC' ) ) {
|
|
50 |
}
|
51 |
?>
|
52 |
<div class="clearfix"></div>
|
53 |
-
<span class="cli_form_help"><?php _e('This will be shown in the settings visible for user on consent screen.', 'cookie-law-info'); ?></span>
|
54 |
</td>
|
55 |
</tr>
|
56 |
</table>
|
29 |
<table class="form-table cli_privacy_overview_form" >
|
30 |
<tr valign="top">
|
31 |
<td>
|
32 |
+
<label for="privacy_overview_title"><?php _e('Title', 'cookie-law-info'); ?></label>
|
33 |
<input type="text" name="privacy_overview_title" value="<?php echo sanitize_text_field( stripslashes( $privacy_title ) ); ?>" class="cli-textbox" />
|
34 |
</td>
|
35 |
</tr>
|
36 |
<tr valign="top">
|
37 |
<td>
|
38 |
+
<label for="privacy_overview_content"><?php _e('Privacy overview is displayed when the user clicks on ‘cookie settings’ from the cookie consent bar. Edit/ modify the title and content of ‘privacy overview’ from here.', 'cookie-law-info'); ?></label>
|
39 |
<?php
|
40 |
$cli_use_editor= apply_filters('cli_use_editor_in_po',true);
|
41 |
if($cli_use_editor)
|
50 |
}
|
51 |
?>
|
52 |
<div class="clearfix"></div>
|
|
|
53 |
</td>
|
54 |
</tr>
|
55 |
</table>
|
admin/views/admin-settings-advanced.php
CHANGED
@@ -10,10 +10,10 @@ if ( ! defined( 'WPINC' ) ) {
|
|
10 |
|
11 |
<table class="form-table">
|
12 |
<tr valign="top">
|
13 |
-
<th scope="row"><?php _e('Reset
|
14 |
<td>
|
15 |
<input type="submit" name="delete_all_settings" value="<?php _e('Delete settings and reset', 'cookie-law-info'); ?>" class="button-secondary" onclick="cli_store_settings_btn_click(this.name); if(confirm('<?php _e('Are you sure you want to delete all your settings?', 'cookie-law-info'); ?>')){ }else{ return false;};" />
|
16 |
-
<span class="cli_form_help"><?php _e('Warning:
|
17 |
</td>
|
18 |
</tr>
|
19 |
</table>
|
10 |
|
11 |
<table class="form-table">
|
12 |
<tr valign="top">
|
13 |
+
<th scope="row"><?php _e('Reset settings', 'cookie-law-info'); ?></th>
|
14 |
<td>
|
15 |
<input type="submit" name="delete_all_settings" value="<?php _e('Delete settings and reset', 'cookie-law-info'); ?>" class="button-secondary" onclick="cli_store_settings_btn_click(this.name); if(confirm('<?php _e('Are you sure you want to delete all your settings?', 'cookie-law-info'); ?>')){ }else{ return false;};" />
|
16 |
+
<span class="cli_form_help"><?php _e('Warning: Resets all your current settings to default.', 'cookie-law-info'); ?></span>
|
17 |
</td>
|
18 |
</tr>
|
19 |
</table>
|
admin/views/admin-settings-buttons.php
CHANGED
@@ -11,15 +11,15 @@ if ( ! defined( 'WPINC' ) ) {
|
|
11 |
<li data-target="accept-all-button"><a><?php _e('Accept All Button', 'cookie-law-info'); ?></a></li>
|
12 |
<li data-target="reject-button"><a><?php _e( 'Reject Button', 'cookie-law-info' ); ?></a></li>
|
13 |
<li data-target="settings-button"><a><?php _e( 'Settings Button', 'cookie-law-info' ); ?></a></li>
|
14 |
-
<li data-target="read-more-button"><a><?php _e( 'Read
|
15 |
-
<li data-target="do-not-sell-button" class="wt-cli-ccpa-element"><a><?php _e( 'Do not sell
|
16 |
</ul>
|
17 |
|
18 |
<div class="cli_sub_tab_container">
|
19 |
|
20 |
<div class="cli_sub_tab_content" data-id="accept-button" style="display:block;">
|
21 |
<h3><?php _e( 'Accept Button', 'cookie-law-info' ); ?> <code>[cookie_button]</code></h3>
|
22 |
-
<p><?php _e( '
|
23 |
<table class="form-table">
|
24 |
<tr valign="top">
|
25 |
<th scope="row"><label for="button_1_text_field"><?php _e( 'Text', 'cookie-law-info' ); ?></label></th>
|
@@ -64,12 +64,12 @@ if ( ! defined( 'WPINC' ) ) {
|
|
64 |
<th scope="row"><label for="button_1_url_field"><?php _e( 'URL', 'cookie-law-info' ); ?></label></th>
|
65 |
<td>
|
66 |
<input type="text" name="button_1_url_field" id="button_1_url_field" value="<?php echo $the_options['button_1_url']; ?>" />
|
67 |
-
<span class="cli_form_help"><?php _e( '
|
68 |
</td>
|
69 |
</tr>
|
70 |
|
71 |
<tr valign="top" class="cli-plugin-row cli-indent-15" cli_frm_tgl-id="cli_accept_action" cli_frm_tgl-val="CONSTANT_OPEN_URL">
|
72 |
-
<th scope="row"><label for="button_1_new_win_field"><?php _e( 'Open URL in new window
|
73 |
<td>
|
74 |
<input type="radio" id="button_1_new_win_field_yes" name="button_1_new_win_field" class="styled" value="true" <?php echo ( $the_options['button_1_new_win'] == true ) ? ' checked="checked"' : ''; ?> /><?php _e( 'Yes', 'cookie-law-info' ); ?>
|
75 |
|
@@ -80,7 +80,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
80 |
|
81 |
|
82 |
<tr valign="top">
|
83 |
-
<th scope="row"><label for="button_1_button_size_field"><?php _e( 'Size', 'cookie-law-info' ); ?></label></th>
|
84 |
<td>
|
85 |
<select name="button_1_button_size_field" class="vvv_combobox">
|
86 |
<?php $this->print_combobox_options( $this->get_button_sizes(), $the_options['button_1_button_size'] ); ?>
|
@@ -92,6 +92,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
92 |
|
93 |
<div class="cli_sub_tab_content" data-id="reject-button">
|
94 |
<h3><?php _e( 'Reject Button', 'cookie-law-info' ); ?> <code>[cookie_reject]</code></h3>
|
|
|
95 |
<table class="form-table" >
|
96 |
<tr valign="top">
|
97 |
<th scope="row"><label for="button_3_text_field"><?php _e( 'Text', 'cookie-law-info' ); ?></label></th>
|
@@ -139,19 +140,19 @@ if ( ! defined( 'WPINC' ) ) {
|
|
139 |
<th scope="row"><label for="button_3_url_field"><?php _e( 'URL', 'cookie-law-info' ); ?></label></th>
|
140 |
<td>
|
141 |
<input type="text" name="button_3_url_field" id="button_3_url_field" value="<?php echo $the_options['button_3_url']; ?>" />
|
142 |
-
<span class="cli_form_help"><?php _e( '
|
143 |
</td>
|
144 |
</tr>
|
145 |
|
146 |
<tr valign="top" class="cli-plugin-row" cli_frm_tgl-id="cli_reject_action" cli_frm_tgl-val="CONSTANT_OPEN_URL">
|
147 |
-
<th scope="row"><label for="button_3_new_win_field"><?php _e( 'Open URL in new window
|
148 |
<td>
|
149 |
<input type="radio" id="button_3_new_win_field_yes" name="button_3_new_win_field" class="styled" value="true" <?php echo ( $the_options['button_3_new_win'] == true ) ? ' checked="checked"' : ''; ?> /><?php _e( 'Yes', 'cookie-law-info' ); ?>
|
150 |
<input type="radio" id="button_3_new_win_field_no" name="button_3_new_win_field" class="styled" value="false" <?php echo ( $the_options['button_3_new_win'] == false ) ? ' checked="checked"' : ''; ?> /><?php _e( 'No', 'cookie-law-info' ); ?>
|
151 |
</td>
|
152 |
</tr>
|
153 |
<tr valign="top">
|
154 |
-
<th scope="row"><label for="button_3_button_size_field"><?php _e( 'Size', 'cookie-law-info' ); ?></label></th>
|
155 |
<td>
|
156 |
<select name="button_3_button_size_field" class="vvv_combobox">
|
157 |
<?php $this->print_combobox_options( $this->get_button_sizes(), $the_options['button_3_button_size'] ); ?>
|
@@ -162,9 +163,10 @@ if ( ! defined( 'WPINC' ) ) {
|
|
162 |
</div>
|
163 |
<div class="cli_sub_tab_content" data-id="settings-button">
|
164 |
<h3><?php _e( 'Settings Button', 'cookie-law-info' ); ?> <code>[cookie_settings]</code></h3>
|
|
|
165 |
<table class="form-table" >
|
166 |
<tr valign="top">
|
167 |
-
<th scope="row"><label for="button_4_text_field"><?php _e(
|
168 |
<td>
|
169 |
<input type="text" name="button_4_text_field" value="<?php echo stripslashes( $the_options['button_4_text'] ); ?>" />
|
170 |
</td>
|
@@ -193,19 +195,14 @@ if ( ! defined( 'WPINC' ) ) {
|
|
193 |
?>
|
194 |
</td>
|
195 |
</tr>
|
196 |
-
<tr valign="top">
|
197 |
-
<th scope="row"><label for="button_4_button_size_field"><?php _e( 'Size', 'cookie-law-info' ); ?></label></th>
|
198 |
-
<td>
|
199 |
-
<select name="button_4_button_size_field" class="vvv_combobox">
|
200 |
-
<?php $this->print_combobox_options( $this->get_button_sizes(), $the_options['button_4_button_size'] ); ?>
|
201 |
-
</select>
|
202 |
-
</td>
|
203 |
-
</tr>
|
204 |
</table><!-- end custom button -->
|
205 |
</div>
|
206 |
<div class="cli_sub_tab_content" data-id="read-more-button">
|
207 |
-
<h3><?php _e( 'Read
|
208 |
-
<p
|
|
|
|
|
|
|
209 |
<?php
|
210 |
if ( Cookie_Law_Info_Admin::module_exists( 'cli-policy-generator' ) ) {
|
211 |
?>
|
@@ -294,31 +291,25 @@ if ( ! defined( 'WPINC' ) ) {
|
|
294 |
</td>
|
295 |
</tr>
|
296 |
<tr valign="top">
|
297 |
-
<th scope="row"><label for="button_2_new_win_field"><?php _e( '
|
298 |
<td>
|
299 |
<input type="radio" id="button_2_hidebar_field_yes" name="button_2_hidebar_field" class="styled" value="true" <?php echo ( $the_options['button_2_hidebar'] == true ) ? ' checked="checked"' : ''; ?> /> <?php _e( 'Yes', 'cookie-law-info' ); ?>
|
300 |
<input type="radio" id="button_2_hidebar_field_no" name="button_2_hidebar_field" class="styled" value="false" <?php echo ( $the_options['button_2_hidebar'] == false ) ? ' checked="checked"' : ''; ?> /> <?php _e( 'No', 'cookie-law-info' ); ?>
|
301 |
</td>
|
302 |
</tr>
|
303 |
<tr valign="top">
|
304 |
-
<th scope="row"><label for="button_2_new_win_field"><?php _e( 'Open in new window
|
305 |
<td>
|
306 |
<input type="radio" id="button_2_new_win_field_yes" name="button_2_new_win_field" class="styled" value="true" <?php echo ( $the_options['button_2_new_win'] == true ) ? ' checked="checked"' : ''; ?> /> <?php _e( 'Yes', 'cookie-law-info' ); ?>
|
307 |
<input type="radio" id="button_2_new_win_field_no" name="button_2_new_win_field" class="styled" value="false" <?php echo ( $the_options['button_2_new_win'] == false ) ? ' checked="checked"' : ''; ?> /> <?php _e( 'No', 'cookie-law-info' ); ?>
|
308 |
</td>
|
309 |
</tr>
|
310 |
-
<tr valign="top">
|
311 |
-
<th scope="row"><label for="button_2_button_size_field"><?php _e( 'Size', 'cookie-law-info' ); ?></label></th>
|
312 |
-
<td>
|
313 |
-
<select name="button_2_button_size_field" class="vvv_combobox">
|
314 |
-
<?php $this->print_combobox_options( $this->get_button_sizes(), $the_options['button_2_button_size'] ); ?>
|
315 |
-
</select>
|
316 |
-
</td>
|
317 |
-
</tr>
|
318 |
</table><!-- end custom button -->
|
319 |
</div>
|
320 |
<div class="cli_sub_tab_content wt-cli-ccpa-element" data-id="do-not-sell-button">
|
321 |
-
<h3><?php _e( 'Do not sell
|
|
|
|
|
322 |
<table class="form-table">
|
323 |
<tr valign="top">
|
324 |
<th scope="row"><label for="button_6_text_field"><?php _e( 'CCPA Text', 'cookie-law-info' ); ?></label></th>
|
11 |
<li data-target="accept-all-button"><a><?php _e('Accept All Button', 'cookie-law-info'); ?></a></li>
|
12 |
<li data-target="reject-button"><a><?php _e( 'Reject Button', 'cookie-law-info' ); ?></a></li>
|
13 |
<li data-target="settings-button"><a><?php _e( 'Settings Button', 'cookie-law-info' ); ?></a></li>
|
14 |
+
<li data-target="read-more-button"><a><?php _e( 'Read more', 'cookie-law-info' ); ?></a></li>
|
15 |
+
<li data-target="do-not-sell-button" class="wt-cli-ccpa-element"><a><?php _e( 'Do not sell', 'cookie-law-info' ); ?></a></li>
|
16 |
</ul>
|
17 |
|
18 |
<div class="cli_sub_tab_container">
|
19 |
|
20 |
<div class="cli_sub_tab_content" data-id="accept-button" style="display:block;">
|
21 |
<h3><?php _e( 'Accept Button', 'cookie-law-info' ); ?> <code>[cookie_button]</code></h3>
|
22 |
+
<p><?php _e( 'Customize the Accept button to match the theme of your site. Insert the shortcode [cookie_button] in Customise Cookie Bar > Cookie bar > Message to include accept button in cookie consent bar.', 'cookie-law-info' ); ?></p>
|
23 |
<table class="form-table">
|
24 |
<tr valign="top">
|
25 |
<th scope="row"><label for="button_1_text_field"><?php _e( 'Text', 'cookie-law-info' ); ?></label></th>
|
64 |
<th scope="row"><label for="button_1_url_field"><?php _e( 'URL', 'cookie-law-info' ); ?></label></th>
|
65 |
<td>
|
66 |
<input type="text" name="button_1_url_field" id="button_1_url_field" value="<?php echo $the_options['button_1_url']; ?>" />
|
67 |
+
<span class="cli_form_help"><?php _e( 'Specify the URL to redirect users on accept button click. e.g. Entering the cookie policy page URL will redirect users to the cookie policy page after giving consent.', 'cookie-law-info' ); ?></span>
|
68 |
</td>
|
69 |
</tr>
|
70 |
|
71 |
<tr valign="top" class="cli-plugin-row cli-indent-15" cli_frm_tgl-id="cli_accept_action" cli_frm_tgl-val="CONSTANT_OPEN_URL">
|
72 |
+
<th scope="row"><label for="button_1_new_win_field"><?php _e( 'Open URL in new window', 'cookie-law-info' ); ?></label></th>
|
73 |
<td>
|
74 |
<input type="radio" id="button_1_new_win_field_yes" name="button_1_new_win_field" class="styled" value="true" <?php echo ( $the_options['button_1_new_win'] == true ) ? ' checked="checked"' : ''; ?> /><?php _e( 'Yes', 'cookie-law-info' ); ?>
|
75 |
|
80 |
|
81 |
|
82 |
<tr valign="top">
|
83 |
+
<th scope="row"><label for="button_1_button_size_field"><?php _e( 'Button Size', 'cookie-law-info' ); ?></label></th>
|
84 |
<td>
|
85 |
<select name="button_1_button_size_field" class="vvv_combobox">
|
86 |
<?php $this->print_combobox_options( $this->get_button_sizes(), $the_options['button_1_button_size'] ); ?>
|
92 |
|
93 |
<div class="cli_sub_tab_content" data-id="reject-button">
|
94 |
<h3><?php _e( 'Reject Button', 'cookie-law-info' ); ?> <code>[cookie_reject]</code></h3>
|
95 |
+
<p><?php _e( 'Customize the Reject button to match the theme of your site. Insert the shortcode <b>[cookie_reject]</b> in <b>Customise Cookie Bar > Cookie bar > Message</b> to include reject button in cookie consent bar.', 'cookie-law-info' ); ?></p>
|
96 |
<table class="form-table" >
|
97 |
<tr valign="top">
|
98 |
<th scope="row"><label for="button_3_text_field"><?php _e( 'Text', 'cookie-law-info' ); ?></label></th>
|
140 |
<th scope="row"><label for="button_3_url_field"><?php _e( 'URL', 'cookie-law-info' ); ?></label></th>
|
141 |
<td>
|
142 |
<input type="text" name="button_3_url_field" id="button_3_url_field" value="<?php echo $the_options['button_3_url']; ?>" />
|
143 |
+
<span class="cli_form_help"><?php _e( 'Specify the URL to redirect users on reject button click. e.g. Entering the cookie policy page URL will redirect users to the cookie policy page after rejecting cookies.', 'cookie-law-info' ); ?></span>
|
144 |
</td>
|
145 |
</tr>
|
146 |
|
147 |
<tr valign="top" class="cli-plugin-row" cli_frm_tgl-id="cli_reject_action" cli_frm_tgl-val="CONSTANT_OPEN_URL">
|
148 |
+
<th scope="row"><label for="button_3_new_win_field"><?php _e( 'Open URL in new window', 'cookie-law-info' ); ?></label></th>
|
149 |
<td>
|
150 |
<input type="radio" id="button_3_new_win_field_yes" name="button_3_new_win_field" class="styled" value="true" <?php echo ( $the_options['button_3_new_win'] == true ) ? ' checked="checked"' : ''; ?> /><?php _e( 'Yes', 'cookie-law-info' ); ?>
|
151 |
<input type="radio" id="button_3_new_win_field_no" name="button_3_new_win_field" class="styled" value="false" <?php echo ( $the_options['button_3_new_win'] == false ) ? ' checked="checked"' : ''; ?> /><?php _e( 'No', 'cookie-law-info' ); ?>
|
152 |
</td>
|
153 |
</tr>
|
154 |
<tr valign="top">
|
155 |
+
<th scope="row"><label for="button_3_button_size_field"><?php _e( 'Button Size', 'cookie-law-info' ); ?></label></th>
|
156 |
<td>
|
157 |
<select name="button_3_button_size_field" class="vvv_combobox">
|
158 |
<?php $this->print_combobox_options( $this->get_button_sizes(), $the_options['button_3_button_size'] ); ?>
|
163 |
</div>
|
164 |
<div class="cli_sub_tab_content" data-id="settings-button">
|
165 |
<h3><?php _e( 'Settings Button', 'cookie-law-info' ); ?> <code>[cookie_settings]</code></h3>
|
166 |
+
<p><?php _e( 'Customize the cookie settings to match the theme of your site. Insert the shortcode <b>[cookie_settings]</b> in <b>Customise Cookie Bar > Cookie bar > Message</b> to include cookie settings within the cookie consent bar. Clicking ‘Cookie settings’ opens up a pop up window with provisions to enable/disable cookie categories.', 'cookie-law-info' ); ?></p>
|
167 |
<table class="form-table" >
|
168 |
<tr valign="top">
|
169 |
+
<th scope="row"><label for="button_4_text_field"><?php _e('Text', 'cookie-law-info' ); ?></label></th>
|
170 |
<td>
|
171 |
<input type="text" name="button_4_text_field" value="<?php echo stripslashes( $the_options['button_4_text'] ); ?>" />
|
172 |
</td>
|
195 |
?>
|
196 |
</td>
|
197 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
</table><!-- end custom button -->
|
199 |
</div>
|
200 |
<div class="cli_sub_tab_content" data-id="read-more-button">
|
201 |
+
<h3><?php _e( 'Read more', 'cookie-law-info' ); ?> <code>[cookie_link]</code></h3>
|
202 |
+
<p>
|
203 |
+
<?php _e( '‘Read more’ redirects users to the ‘Privacy & Cookie Policy’ page. Create a ‘Privacy & Cookie Policy’ page for your site from here.', 'cookie-law-info' ); ?>
|
204 |
+
<?php _e( 'Insert the shortcode <b>[cookie_link]</b> in <b>Customise Cookie Bar > Cookie bar > Message</b> to include ‘Read more’ within the cookie consent bar.', 'cookie-law-info' ); ?>
|
205 |
+
</p>
|
206 |
<?php
|
207 |
if ( Cookie_Law_Info_Admin::module_exists( 'cli-policy-generator' ) ) {
|
208 |
?>
|
291 |
</td>
|
292 |
</tr>
|
293 |
<tr valign="top">
|
294 |
+
<th scope="row"><label for="button_2_new_win_field"><?php _e( 'Hide cookie bar in this page/URL', 'cookie-law-info' ); ?></label></th>
|
295 |
<td>
|
296 |
<input type="radio" id="button_2_hidebar_field_yes" name="button_2_hidebar_field" class="styled" value="true" <?php echo ( $the_options['button_2_hidebar'] == true ) ? ' checked="checked"' : ''; ?> /> <?php _e( 'Yes', 'cookie-law-info' ); ?>
|
297 |
<input type="radio" id="button_2_hidebar_field_no" name="button_2_hidebar_field" class="styled" value="false" <?php echo ( $the_options['button_2_hidebar'] == false ) ? ' checked="checked"' : ''; ?> /> <?php _e( 'No', 'cookie-law-info' ); ?>
|
298 |
</td>
|
299 |
</tr>
|
300 |
<tr valign="top">
|
301 |
+
<th scope="row"><label for="button_2_new_win_field"><?php _e( 'Open in a new window', 'cookie-law-info' ); ?></label></th>
|
302 |
<td>
|
303 |
<input type="radio" id="button_2_new_win_field_yes" name="button_2_new_win_field" class="styled" value="true" <?php echo ( $the_options['button_2_new_win'] == true ) ? ' checked="checked"' : ''; ?> /> <?php _e( 'Yes', 'cookie-law-info' ); ?>
|
304 |
<input type="radio" id="button_2_new_win_field_no" name="button_2_new_win_field" class="styled" value="false" <?php echo ( $the_options['button_2_new_win'] == false ) ? ' checked="checked"' : ''; ?> /> <?php _e( 'No', 'cookie-law-info' ); ?>
|
305 |
</td>
|
306 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
307 |
</table><!-- end custom button -->
|
308 |
</div>
|
309 |
<div class="cli_sub_tab_content wt-cli-ccpa-element" data-id="do-not-sell-button">
|
310 |
+
<h3><?php _e( 'Do not sell', 'cookie-law-info' ); ?> <code>[wt_cli_ccpa_optout]</code></h3>
|
311 |
+
<p><?php _e( 'Customise the appearance of CCPA notice. Enabling ‘Show CCPA notice’ displays the notice on the consent bar and records prior consent from the user. Alternatively, insert CCPA shortcode [wt_cli_ccpa_optout] to render CCPA notice in a specific page of your site, preferably, cookie policy page.', 'cookie-law-info' ); ?></p>
|
312 |
+
|
313 |
<table class="form-table">
|
314 |
<tr valign="top">
|
315 |
<th scope="row"><label for="button_6_text_field"><?php _e( 'CCPA Text', 'cookie-law-info' ); ?></label></th>
|
admin/views/admin-settings-general.php
CHANGED
@@ -30,7 +30,7 @@ if (!defined('WPINC')) {
|
|
30 |
<?php do_action('wt_cli_ccpa_settings'); ?>
|
31 |
</div>
|
32 |
</div>
|
33 |
-
<table class="form-table">
|
34 |
<!-- SHOW ONCE / TIMER -->
|
35 |
<tr valign="top">
|
36 |
<th scope="row"><label for="show_once_yn_field"><?php _e('Auto-hide(Accept) cookie bar after delay?', 'cookie-law-info'); ?></label></th>
|
30 |
<?php do_action('wt_cli_ccpa_settings'); ?>
|
31 |
</div>
|
32 |
</div>
|
33 |
+
<table class="form-table" style="border-top: 2px dotted #e2e4e7;">
|
34 |
<!-- SHOW ONCE / TIMER -->
|
35 |
<tr valign="top">
|
36 |
<th scope="row"><label for="show_once_yn_field"><?php _e('Auto-hide(Accept) cookie bar after delay?', 'cookie-law-info'); ?></label></th>
|
admin/views/admin-settings-help.php
CHANGED
@@ -14,7 +14,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
14 |
<div class="cli_sub_tab_content" data-id="shortcodes" style="display:block;">
|
15 |
<div style="font-size: 14px;">
|
16 |
<h3><?php _e('Cookie bar shortcodes', 'cookie-law-info'); ?></h3>
|
17 |
-
<?php _e('You can
|
18 |
</div>
|
19 |
<ul class="cli-shortcodes">
|
20 |
<li>
|
14 |
<div class="cli_sub_tab_content" data-id="shortcodes" style="display:block;">
|
15 |
<div style="font-size: 14px;">
|
16 |
<h3><?php _e('Cookie bar shortcodes', 'cookie-law-info'); ?></h3>
|
17 |
+
<?php _e('You can insert the shortcodes in the Settings > Customise Cookie Bar > Cookie bar > Message to get it rendered on the cookie consent bar of your site.', 'cookie-law-info'); ?>
|
18 |
</div>
|
19 |
<ul class="cli-shortcodes">
|
20 |
<li>
|
admin/views/admin-settings-messagebar.php
CHANGED
@@ -12,13 +12,12 @@ if (!defined('WPINC')) {
|
|
12 |
<div class="cli_sub_tab_container">
|
13 |
<div class="cli_sub_tab_content" data-id="cookie-message" style="display:block;">
|
14 |
<div class="wt-cli-section wt-cli-section-general-settings">
|
15 |
-
<h3><?php _e('Cookie Bar', 'cookie-law-info'); ?></h3>
|
16 |
<table class="form-table">
|
17 |
<tr valign="top">
|
18 |
<th scope="row"><label for="bar_heading_text_field"><?php _e('Message Heading', 'cookie-law-info'); ?></label></th>
|
19 |
<td>
|
20 |
<input type="text" name="bar_heading_text_field" value="<?php echo stripslashes($the_options['bar_heading_text']) ?>" />
|
21 |
-
<span class="cli_form_help"><?php _e('Leave it blank
|
22 |
</span>
|
23 |
</td>
|
24 |
</tr>
|
@@ -29,7 +28,7 @@ if (!defined('WPINC')) {
|
|
29 |
echo '<textarea name="notify_message_field" class="vvv_textbox">';
|
30 |
echo apply_filters('format_to_edit', stripslashes($the_options['notify_message'])) . '</textarea>';
|
31 |
?>
|
32 |
-
<span class="cli_form_help"><?php _e('
|
33 |
</td>
|
34 |
</tr>
|
35 |
<tr valign="top">
|
@@ -104,12 +103,15 @@ if (!defined('WPINC')) {
|
|
104 |
<td colspan="2" style="padding: 0px;">
|
105 |
<table>
|
106 |
<tr valign="top" cli_frm_tgl-id="cli_bar_pos" cli_frm_tgl-val="top" cli_frm_tgl-lvl="2">
|
107 |
-
|
108 |
-
<label for="header_fix_field"><?php _e('Fix Cookie Bar to Header?', 'cookie-law-info'); ?></label></th>
|
109 |
<td>
|
110 |
-
<
|
111 |
-
|
112 |
-
|
|
|
|
|
|
|
|
|
113 |
</td>
|
114 |
</tr>
|
115 |
</table>
|
@@ -142,14 +144,13 @@ if (!defined('WPINC')) {
|
|
142 |
<div class="cli_sub_tab_content" data-id="show-again-tab">
|
143 |
<div class="wt-cli-section wt-cli-section-floating-widget-settings">
|
144 |
<div class="cli_sub_tab_content" data-id="show-again-tab">
|
145 |
-
<h3><?php _e('Revisit consent', 'cookie-law-info'); ?><span style="margin-left:5px;font-size: 12px;color: #000000ba;font-style: italic;">( <?php _e('previously', 'cookie-law-info'); ?><span style="font-size: 14px;"> <?php _e('Show again tab', 'cookie-law-info'); ?></span> )</span></h3>
|
146 |
<div class="wt-cli-notice wt-cli-info">
|
147 |
-
<?php echo __('Revisit consent will allow the visitors to view/edit/revoke their prior preferences.
|
148 |
</div>
|
149 |
<div class="wt-cli-revisit-consent-widget">
|
150 |
<table class="form-table">
|
151 |
<tr valign="top">
|
152 |
-
<th scope="row"><label for="showagain_tab_field"><?php _e('Enable revisit consent widget', 'cookie-law-info'); ?><span class="wt-cli-tootip" data-wt-cli-tooltip="<?php _e('
|
153 |
<td>
|
154 |
<input type="hidden" name="showagain_tab_field" value="false" id="showagain_tab_field_no">
|
155 |
<input name="showagain_tab_field" type="checkbox" value="true" id="showagain_tab_field_yes" class="wt-cli-input-toggle-checkbox" data-cli-toggle-target="wt-cli-revisit-consent-widget" <?php checked($the_options['showagain_tab'], true); ?>>
|
@@ -160,19 +161,10 @@ if (!defined('WPINC')) {
|
|
160 |
<div class="wt-cli-input-toggle-section" data-cli-toggle-id="wt-cli-revisit-consent-widget">
|
161 |
<table class="form-table">
|
162 |
<tr valign="top" cli_frm_tgl-id="cli_bar_type" cli_frm_tgl-val="banner" cli_frm_tgl-lvl="0">
|
163 |
-
<th scope="row"><label for="notify_position_horizontal_field"><?php _e('
|
164 |
<td>
|
165 |
-
<
|
166 |
-
|
167 |
-
if ($the_options['notify_position_horizontal'] == "right") {
|
168 |
-
echo '<option value="right" selected="selected">' . __('Right', 'cookie-law-info') . '</option>';
|
169 |
-
echo '<option value="left">' . __('Left', 'cookie-law-info') . '</option>';
|
170 |
-
} else {
|
171 |
-
echo '<option value="right">' . __('Right', 'cookie-law-info') . '</option>';
|
172 |
-
echo '<option value="left" selected="selected">' . __('Left', 'cookie-law-info') . '</option>';
|
173 |
-
}
|
174 |
-
?>
|
175 |
-
</select>
|
176 |
</td>
|
177 |
</tr>
|
178 |
|
@@ -203,7 +195,7 @@ if (!defined('WPINC')) {
|
|
203 |
<th scope="row"><label id="wt-cli-revisit-consent-margin-label" for="showagain_x_position_field" data-cli-right-text="<?php _e('From Right Margin', 'cookie-law-info'); ?>" data-cli-left-text="<?php _e('From Left Margin', 'cookie-law-info'); ?>"><?php _e('From Left Margin', 'cookie-law-info'); ?></label></th>
|
204 |
<td>
|
205 |
<input type="text" name="showagain_x_position_field" value="<?php echo $the_options['showagain_x_position'] ?>" />
|
206 |
-
<span class="cli_form_help"><?php _e('Specify
|
207 |
</td>
|
208 |
</tr>
|
209 |
|
@@ -212,9 +204,10 @@ if (!defined('WPINC')) {
|
|
212 |
</div>
|
213 |
<table class="form-table" style="margin-top: 0;">
|
214 |
<tr valign="top">
|
215 |
-
<th scope="row"><label for="showagain_text"><?php _e('
|
216 |
<td>
|
217 |
<input type="text" name="showagain_text_field" value="<?php echo $the_options['showagain_text'] ?>" />
|
|
|
218 |
</td>
|
219 |
</tr>
|
220 |
</table>
|
12 |
<div class="cli_sub_tab_container">
|
13 |
<div class="cli_sub_tab_content" data-id="cookie-message" style="display:block;">
|
14 |
<div class="wt-cli-section wt-cli-section-general-settings">
|
|
|
15 |
<table class="form-table">
|
16 |
<tr valign="top">
|
17 |
<th scope="row"><label for="bar_heading_text_field"><?php _e('Message Heading', 'cookie-law-info'); ?></label></th>
|
18 |
<td>
|
19 |
<input type="text" name="bar_heading_text_field" value="<?php echo stripslashes($the_options['bar_heading_text']) ?>" />
|
20 |
+
<span class="cli_form_help"><?php _e('Input text to have a heading for the cookie consent bar. Leave it blank if you do not need one.', 'cookie-law-info'); ?>
|
21 |
</span>
|
22 |
</td>
|
23 |
</tr>
|
28 |
echo '<textarea name="notify_message_field" class="vvv_textbox">';
|
29 |
echo apply_filters('format_to_edit', stripslashes($the_options['notify_message'])) . '</textarea>';
|
30 |
?>
|
31 |
+
<span class="cli_form_help"><?php _e('Modify/edit the content of the cookie consent bar.', 'cookie-law-info'); ?> <br /><em><?php _e('Supports shortcodes.(link shortcodes to help link) e.g. [cookie_button] for accept button, [cookie_reject] for reject button, [cookie_link] for Read more, [cookie_settings] for cookie settings.', 'cookie-law-info'); ?></em></span>
|
32 |
</td>
|
33 |
</tr>
|
34 |
<tr valign="top">
|
103 |
<td colspan="2" style="padding: 0px;">
|
104 |
<table>
|
105 |
<tr valign="top" cli_frm_tgl-id="cli_bar_pos" cli_frm_tgl-val="top" cli_frm_tgl-lvl="2">
|
106 |
+
<th></th>
|
|
|
107 |
<td>
|
108 |
+
<div style="margin-top:-15px; margin-bottom:15px;">
|
109 |
+
<input type="radio" id="header_fix_field_yes" name="header_fix_field" class="styled" value="true" <?php echo ($the_options['header_fix'] == true) ? ' checked="checked"' : ''; ?> /> <?php _e('Fix bar on header', 'cookie-law-info'); ?>
|
110 |
+
</div>
|
111 |
+
<div>
|
112 |
+
<input type="radio" id="iheader_fix_field_no" name="header_fix_field" class="styled" value="false" <?php echo ($the_options['header_fix'] == false) ? ' checked="checked"' : ''; ?> /> <?php _e('Move with the scroll', 'cookie-law-info'); ?>
|
113 |
+
</div>
|
114 |
+
|
115 |
</td>
|
116 |
</tr>
|
117 |
</table>
|
144 |
<div class="cli_sub_tab_content" data-id="show-again-tab">
|
145 |
<div class="wt-cli-section wt-cli-section-floating-widget-settings">
|
146 |
<div class="cli_sub_tab_content" data-id="show-again-tab">
|
|
|
147 |
<div class="wt-cli-notice wt-cli-info">
|
148 |
+
<?php echo __('Revisit consent will allow the visitors to view/edit/revoke their prior preferences. Enable to display a sticky/fixed widget widget at the footer of your website. You can also manually insert a widget by adding the shortcode <b>[wt_cli_manage_consent]</b> to your website.', 'cookie-law-info'); ?>
|
149 |
</div>
|
150 |
<div class="wt-cli-revisit-consent-widget">
|
151 |
<table class="form-table">
|
152 |
<tr valign="top">
|
153 |
+
<th scope="row"><label for="showagain_tab_field"><?php _e('Enable revisit consent widget', 'cookie-law-info'); ?><span class="wt-cli-tootip" data-wt-cli-tooltip="<?php _e('Enable to display a sticky/fixed widget at the footer of your website (remains fixed on page scroll).', 'cookie-law-info'); ?>"><span class="wt-cli-tootip-icon"></span></span></label></th>
|
154 |
<td>
|
155 |
<input type="hidden" name="showagain_tab_field" value="false" id="showagain_tab_field_no">
|
156 |
<input name="showagain_tab_field" type="checkbox" value="true" id="showagain_tab_field_yes" class="wt-cli-input-toggle-checkbox" data-cli-toggle-target="wt-cli-revisit-consent-widget" <?php checked($the_options['showagain_tab'], true); ?>>
|
161 |
<div class="wt-cli-input-toggle-section" data-cli-toggle-id="wt-cli-revisit-consent-widget">
|
162 |
<table class="form-table">
|
163 |
<tr valign="top" cli_frm_tgl-id="cli_bar_type" cli_frm_tgl-val="banner" cli_frm_tgl-lvl="0">
|
164 |
+
<th scope="row"><label for="notify_position_horizontal_field"><?php _e('Widget position', 'cookie-law-info'); ?></label></th>
|
165 |
<td>
|
166 |
+
<input type="radio" id="notify_position_horizontal_field_right" name="notify_position_horizontal_field" class="styled" value="right" <?php checked( $the_options['notify_position_horizontal'], 'right'); ?> /> <?php _e('Right', 'cookie-law-info'); ?>
|
167 |
+
<input type="radio" id="notify_position_horizontal_field_left" name="notify_position_horizontal_field" class="styled" value="left" <?php checked( $the_options['notify_position_horizontal'], 'left'); ?> /> <?php _e('Left', 'cookie-law-info'); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
</td>
|
169 |
</tr>
|
170 |
|
195 |
<th scope="row"><label id="wt-cli-revisit-consent-margin-label" for="showagain_x_position_field" data-cli-right-text="<?php _e('From Right Margin', 'cookie-law-info'); ?>" data-cli-left-text="<?php _e('From Left Margin', 'cookie-law-info'); ?>"><?php _e('From Left Margin', 'cookie-law-info'); ?></label></th>
|
196 |
<td>
|
197 |
<input type="text" name="showagain_x_position_field" value="<?php echo $the_options['showagain_x_position'] ?>" />
|
198 |
+
<span class="cli_form_help"><?php _e('Specify the widget distance from margin in ‘px’ or ‘%’ . e.g. 100px or 30%', 'cookie-law-info'); ?></span>
|
199 |
</td>
|
200 |
</tr>
|
201 |
|
204 |
</div>
|
205 |
<table class="form-table" style="margin-top: 0;">
|
206 |
<tr valign="top">
|
207 |
+
<th scope="row"><label for="showagain_text"><?php _e('Text on the widget', 'cookie-law-info'); ?></label></th>
|
208 |
<td>
|
209 |
<input type="text" name="showagain_text_field" value="<?php echo $the_options['showagain_text'] ?>" />
|
210 |
+
<span class="cli_form_help"><?php _e('Input a text to appear on the revisit consent widget.', 'cookie-law-info'); ?></span>
|
211 |
</td>
|
212 |
</tr>
|
213 |
</table>
|
admin/views/goto-pro.php
CHANGED
@@ -20,9 +20,9 @@
|
|
20 |
.cli-button:hover, .cli-button:visited {
|
21 |
color: #fff;
|
22 |
}
|
23 |
-
.cli_gopro_block{ background: #fff; float: left; height:auto;
|
24 |
.cli_gopro_block h3{ text-align: center; }
|
25 |
-
.cli_premium_features{ padding-left: 20px; }
|
26 |
.cli_premium_features li{ padding-left:15px; padding-right: 15px; }
|
27 |
.cli_premium_features li::before {
|
28 |
font-family: dashicons;
|
@@ -50,61 +50,62 @@
|
|
50 |
border-radius: 3px;
|
51 |
text-decoration: none;
|
52 |
}
|
|
|
|
|
|
|
|
|
53 |
</style>
|
54 |
|
55 |
-
<div id="cli-plugin-migrate">
|
56 |
-
<h3><?php echo __('Where did my settings go?','cookie-law-info'); ?></h3>
|
57 |
-
<p><?php echo __('Cookie Law Info version 0.9 has been updated and has new settings.','cookie-law-info'); ?> <strong><?php echo __('Your previous settings are safe.','cookie-law-info'); ?></strong></p>
|
58 |
-
<p><?php echo __('You can either copy over your old settings to this version, or use the new default values.','cookie-law-info'); ?> </p>
|
59 |
-
<form method="post" action="<?php esc_url($_SERVER["REQUEST_URI"]) ?>">
|
60 |
-
<p><label for="cli-migration"><?php echo __('Would you like to:','cookie-law-info'); ?></label></p>
|
61 |
-
<ul>
|
62 |
-
<li><input type="radio" id="cli-migration_field_yes" name="cli-migration_field" class="styled" value="2" /> <?php echo __('Use previous settings','cookie-law-info'); ?></li>
|
63 |
-
<li><input type="radio" id="cli-migration_field_yes" name="cli-migration_field" class="styled" value="3" checked="checked" /> <?php echo __('Start afresh with the new version','cookie-law-info'); ?></li>
|
64 |
-
</ul>
|
65 |
-
<input type="submit" name="cli-migration-button" value="Update" class="button-secondary" onclick="return confirm('Are you sure you want to migrate settings?');" />
|
66 |
-
</form>
|
67 |
-
<p><?php echo __('If you want to go back to the previous version you can always download it again from','cookie-law-info'); ?> <a href="http://www.cookielawinfo.com">CookieLawInfo.com.</a></p>
|
68 |
-
</div>
|
69 |
-
|
70 |
<div class="cli_gopro_block" style="margin-top: 43px;">
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
<li><?php echo __('Javascript helper functions','cookie-law-info'); ?></li>
|
95 |
-
|
96 |
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
<
|
101 |
-
|
102 |
-
|
103 |
-
<
|
104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
</div>
|
106 |
|
107 |
-
<div class="cli_gopro_block">
|
108 |
<h3 style="text-align: center;"><?php echo __('Like this plugin?','cookie-law-info'); ?></h3>
|
109 |
<p><?php echo __('If you find this plugin useful please show your support and rate it','cookie-law-info'); ?> <a href="http://wordpress.org/support/view/plugin-reviews/cookie-law-info" target="_blank" style="color: #ffc600; text-decoration: none;">★★★★★</a><?php echo __(' on','cookie-law-info'); ?> <a href="http://wordpress.org/support/view/plugin-reviews/cookie-law-info" target="_blank">WordPress.org</a> -<?php echo __(' much appreciated!','cookie-law-info'); ?> :)</p>
|
110 |
</div>
|
20 |
.cli-button:hover, .cli-button:visited {
|
21 |
color: #fff;
|
22 |
}
|
23 |
+
.cli_gopro_block{ background: #fff; float: left; height:auto; box-shadow: 0px 2px 2px #ccc; margin-top: 20px; width: 100%; box-sizing:border-box; }
|
24 |
.cli_gopro_block h3{ text-align: center; }
|
25 |
+
.cli_premium_features{ padding-left: 20px;padding-top: 10px;}
|
26 |
.cli_premium_features li{ padding-left:15px; padding-right: 15px; }
|
27 |
.cli_premium_features li::before {
|
28 |
font-family: dashicons;
|
50 |
border-radius: 3px;
|
51 |
text-decoration: none;
|
52 |
}
|
53 |
+
.wt-cli-pro-feature-list {
|
54 |
+
padding: 35px 15px;
|
55 |
+
border-top: 1px solid #dfdfdf;
|
56 |
+
}
|
57 |
</style>
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
<div class="cli_gopro_block" style="margin-top: 43px;">
|
60 |
+
<!----sidebar starts----->
|
61 |
+
<div class="wt-ier-sidebar-wrapper" style="padding:35px 50px;">
|
62 |
+
<img src="<?php echo CLI_PLUGIN_URL . 'images/crown.svg'; ?>" class="wt-ier-sidebar-img">
|
63 |
+
<h3 class="wt-ier-sidebar-title wt-ier-center"><?php echo __('Get access to advanced features for GDPR compliance.','cookie-law-info'); ?></h3>
|
64 |
+
<div class="wt-ier-row">
|
65 |
+
<div class="wt-ier-col-12 wt-ier-col-md-6 wt-ier-border-md-right">
|
66 |
+
<div class="wt-ier-flex wt-ier-v-center ">
|
67 |
+
<img src="<?php echo CLI_PLUGIN_URL . 'images/money-back-badge.svg'; ?>" class="wt-ier-icon">
|
68 |
+
<p class="wt-ier-sidebar-p"><?php echo __('30 Day Money Back Guarantee','cookie-law-info'); ?></p>
|
69 |
+
</div>
|
70 |
+
</div>
|
71 |
+
<div class="wt-ier-col-12 wt-ier-col-md-6">
|
72 |
+
<div class="wt-ier-flex wt-ier-v-center">
|
73 |
+
<img src="<?php echo CLI_PLUGIN_URL . 'images/support.svg'; ?>" class="wt-ier-icon">
|
74 |
+
<p class="wt-ier-sidebar-p"><?php echo __('Fast and Superior Support','cookie-law-info'); ?></p>
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
<div class="wt-ier-center wt-ier-pt-4">
|
79 |
+
<a href="https://www.webtoffee.com/product/gdpr-cookie-consent/?utm_source=free_plugin_sidebar&utm_medium=gdpr_basic&utm_campaign=GDPR&utm_content=<?php echo CLI_VERSION;?>" class="wt-ier-green-btn" target="_blank"><?php echo __('Upgrade to Premium','cookie-law-info'); ?></a>
|
80 |
+
</div>
|
81 |
+
</div>
|
82 |
+
<!----sidebar ends----->
|
|
|
|
|
83 |
|
84 |
+
<div class="wt-cli-pro-feature-list">
|
85 |
+
<h3 style=" text-align: left; font-size: 16px; font-weight: 500; padding-left: 13px;margin: 0; "><?php echo __('Premium features','cookie-law-info'); ?></h3>
|
86 |
+
<ul class="cli_premium_features">
|
87 |
+
<li><?php echo __('Automatic Cookie Scanner','cookie-law-info'); ?></li>
|
88 |
+
<li><?php echo __('Auto block scripts - Google Analytics, Facebook Pixel, Google Tag Manager, Hotjar Analytics, Google Publisher Tag, Youtube embed, Vimeo embed, Google maps, Addthis widget, Sharethis widget, Twitter widget, Soundcloud embed, Slideshare embed, Linkedin widget, Instagram embed, Pinterest widget','cookie-law-info'); ?></li>
|
89 |
+
<li><?php echo __('Location based exclusion of cookie notice for EU countries','cookie-law-info'); ?></li>
|
90 |
+
<li><?php echo __('Granular control over the cookies/scipts used by the website','cookie-law-info'); ?></li>
|
91 |
+
<li><?php echo __('User consent audit logs','cookie-law-info'); ?></li>
|
92 |
+
<li><?php echo __('4 different layouts and 26 pre-designed templates','cookie-law-info'); ?></li>
|
93 |
+
<li><?php echo __('Customized privacy overview','cookie-law-info'); ?></li>
|
94 |
+
<li><?php echo __('Cookie bar preview in admin settings page','cookie-law-info'); ?></li>
|
95 |
+
<li><?php echo __('Advanced support for cache plugins','cookie-law-info'); ?></li>
|
96 |
+
<li><?php echo __('Cookie bar theme customizer for banner/ widgets/ popup','cookie-law-info'); ?></li>
|
97 |
+
<li><?php echo __('GDPR compliance with Google Tag Manager','cookie-law-info'); ?></li>
|
98 |
+
<li><?php echo __('Javascript helper functions','cookie-law-info'); ?></li>
|
99 |
+
</ul>
|
100 |
+
<p style="text-align: center;">
|
101 |
+
<a href="https://www.webtoffee.com/gdpr-cookie-consent-plugin-basic-version-user-guide/" target="_blank" class="wt-ier-green-btn"><?php echo __('Documentation','cookie-law-info'); ?></a>
|
102 |
+
</p>
|
103 |
+
</div>
|
104 |
+
|
105 |
+
|
106 |
</div>
|
107 |
|
108 |
+
<div class="cli_gopro_block" style="padding: 15px 25px;">
|
109 |
<h3 style="text-align: center;"><?php echo __('Like this plugin?','cookie-law-info'); ?></h3>
|
110 |
<p><?php echo __('If you find this plugin useful please show your support and rate it','cookie-law-info'); ?> <a href="http://wordpress.org/support/view/plugin-reviews/cookie-law-info" target="_blank" style="color: #ffc600; text-decoration: none;">★★★★★</a><?php echo __(' on','cookie-law-info'); ?> <a href="http://wordpress.org/support/view/plugin-reviews/cookie-law-info" target="_blank">WordPress.org</a> -<?php echo __(' much appreciated!','cookie-law-info'); ?> :)</p>
|
111 |
</div>
|
cookie-law-info.php
CHANGED
@@ -16,9 +16,9 @@
|
|
16 |
* Plugin Name: GDPR Cookie Consent
|
17 |
* Plugin URI: https://www.webtoffee.com/product/gdpr-cookie-consent/
|
18 |
* Description: A simple way to show your website complies with the EU Cookie Law / GDPR.
|
19 |
-
* Version: 2.0.
|
20 |
* Author: WebToffee
|
21 |
-
* Author URI:
|
22 |
* License: GPLv3
|
23 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
24 |
* Text Domain: cookie-law-info
|
@@ -69,7 +69,7 @@ define ( 'CLI_ACTIVATION_ID','wtgdprcookieconsent');
|
|
69 |
* Currently plugin version.
|
70 |
* Rename this for your plugin and update it as you release new versions.
|
71 |
*/
|
72 |
-
define( 'CLI_VERSION', '2.0.
|
73 |
|
74 |
function wt_cookie_law_info_update_message( $data, $response )
|
75 |
{
|
16 |
* Plugin Name: GDPR Cookie Consent
|
17 |
* Plugin URI: https://www.webtoffee.com/product/gdpr-cookie-consent/
|
18 |
* Description: A simple way to show your website complies with the EU Cookie Law / GDPR.
|
19 |
+
* Version: 2.0.2
|
20 |
* Author: WebToffee
|
21 |
+
* Author URI: https://www.webtoffee.com/
|
22 |
* License: GPLv3
|
23 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
24 |
* Text Domain: cookie-law-info
|
69 |
* Currently plugin version.
|
70 |
* Rename this for your plugin and update it as you release new versions.
|
71 |
*/
|
72 |
+
define( 'CLI_VERSION', '2.0.2' );
|
73 |
|
74 |
function wt_cookie_law_info_update_message( $data, $response )
|
75 |
{
|
images/crown.svg
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<svg width="112" height="82" viewBox="0 0 112 82" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2 |
+
<path d="M23.3438 52.874L30.2262 30.5085L54.0251 51.7273L59.4742 51.1539L76.966 30.5085L89.5822 51.1539L76.6773 61.5803H45.4226L23.3438 52.874Z" fill="#FFA000"/>
|
3 |
+
<path d="M102.381 27.4384L75.9367 41.3863L55.0677 18.5389L36.362 41.0264L10.54 27.4445L17.453 69.3431C17.5391 69.8503 17.8024 70.3105 18.1959 70.6418C18.5894 70.9732 19.0877 71.1542 19.6021 71.1527H93.3411C93.8544 71.1516 94.3507 70.969 94.7422 70.637C95.1337 70.3051 95.3951 69.8453 95.4801 69.3391L102.381 27.4384Z" fill="#FFC107"/>
|
4 |
+
<path d="M56.473 79.8305C76.8349 79.8305 93.3415 74.9759 93.3415 68.9873C93.3415 62.9988 76.8349 58.1442 56.473 58.1442C36.1111 58.1442 19.6045 62.9988 19.6045 68.9873C19.6045 74.9759 36.1111 79.8305 56.473 79.8305Z" fill="#FFA000"/>
|
5 |
+
<path d="M56.473 82C37.0699 82 17.4351 77.5269 17.4351 68.9874C17.4351 60.4478 37.0699 55.9747 56.473 55.9747C75.8761 55.9747 95.5109 60.4478 95.5109 68.9874C95.5109 77.5269 75.8801 82 56.473 82ZM56.473 60.3116C33.7009 60.3116 21.7719 65.9518 21.7719 68.9874C21.7719 72.023 33.6907 77.6591 56.473 77.6591C79.2553 77.6591 91.172 72.0189 91.172 68.9833C91.172 65.9477 79.2533 60.3116 56.473 60.3116Z" fill="#FFD54F"/>
|
6 |
+
<path d="M56.4625 52.319C59.9278 52.319 62.7371 49.5098 62.7371 46.0444C62.7371 42.5791 59.9278 39.7699 56.4625 39.7699C52.9972 39.7699 50.188 42.5791 50.188 46.0444C50.188 49.5098 52.9972 52.319 56.4625 52.319Z" fill="#FFD54F"/>
|
7 |
+
<path d="M63.0586 47.9028C62.1945 44.7554 59.7709 45.0665 58.4717 45.4873C61.5967 44.4707 61.3365 42.2708 60.938 40.9655C61.3446 42.2708 62.7679 44.4789 65.4578 43.3504C63.2742 44.2755 62.3938 45.4812 63.0586 47.9028Z" fill="white"/>
|
8 |
+
<path d="M53.1525 10.5443C53.1525 8.57208 49.8526 5.27216 47.8804 5.27216C49.8526 5.27216 53.1525 1.97223 53.1525 0C53.1525 1.97223 56.4525 5.27216 58.4247 5.27216C56.4525 5.27623 53.1525 8.57208 53.1525 10.5443Z" fill="#FFD83B"/>
|
9 |
+
<path d="M5.27215 66.8524C5.27215 64.8802 1.9702 61.5803 0 61.5803C1.9702 61.5803 5.27215 58.2783 5.27215 56.3081C5.27215 58.2783 8.57208 61.5803 10.5443 61.5803C8.58021 61.5803 5.27215 64.8802 5.27215 66.8524Z" fill="#FFD83B"/>
|
10 |
+
<path d="M31.1693 25.9073C31.1693 25.2181 30.0164 24.0652 29.3271 24.0652C30.0164 24.0652 31.1693 22.9124 31.1693 22.2231C31.1693 22.9124 32.3221 24.0652 33.0114 24.0652C32.3221 24.0652 31.1693 25.2201 31.1693 25.9073Z" fill="#FFD83B"/>
|
11 |
+
<path d="M81.0443 25.9073C81.0443 25.2181 79.8914 24.0652 79.2021 24.0652C79.8914 24.0652 81.0443 22.9124 81.0443 22.2231C81.0443 22.9124 82.1971 24.0652 82.8864 24.0652C82.1971 24.0652 81.0443 25.2201 81.0443 25.9073Z" fill="#FFD83B"/>
|
12 |
+
<path d="M8.95618 19.8199C8.95618 18.4435 6.6505 16.1357 5.27197 16.1357C6.6505 16.1357 8.95618 13.8301 8.95618 12.4515C8.95618 13.8301 11.2619 16.1357 12.6404 16.1357C11.2619 16.1378 8.95618 18.4435 8.95618 19.8199Z" fill="#FFD83B"/>
|
13 |
+
<path d="M107.891 20.2509C107.891 18.8724 105.584 16.5647 104.207 16.5647C105.584 16.5647 107.891 14.259 107.891 12.8805C107.891 14.259 110.197 16.5647 111.575 16.5647C110.197 16.5667 107.891 18.8724 107.891 20.2509Z" fill="#FFD83B"/>
|
14 |
+
<path d="M106.419 70.3395C106.419 68.5848 103.481 65.6468 101.727 65.6468C103.481 65.6468 106.419 62.7088 106.419 60.9541C106.419 62.7088 109.357 65.6468 111.112 65.6468C109.357 65.663 106.419 68.5929 106.419 70.3395Z" fill="#FFD83B"/>
|
15 |
+
</svg>
|
images/money-back-badge.svg
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<svg width="30" height="25" viewBox="0 0 30 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2 |
+
<path d="M15.2043 25C21.9706 25 27.4326 19.4167 27.4326 12.5C27.4326 5.58333 21.9299 0 15.2043 0C8.43803 0 2.97607 5.58333 2.97607 12.5C2.97607 19.4167 8.43803 25 15.2043 25Z" fill="black"/>
|
3 |
+
<path d="M15.2043 25C21.9706 25 27.4326 19.4167 27.4326 12.5C27.4326 5.58333 21.9299 0 15.2043 0C8.43803 0 2.97607 5.58333 2.97607 12.5C2.97607 19.4167 8.43803 25 15.2043 25Z" fill="url(#paint0_linear)"/>
|
4 |
+
<path d="M29.5516 9.08325H0.48913C0.203804 9.08325 0 9.29159 0 9.58325V15.9166C0 16.1666 0.203804 16.4166 0.48913 16.4166H29.5516C29.7962 16.4166 30.0408 16.2083 30.0408 15.9166V9.58325C30 9.29159 29.7962 9.08325 29.5516 9.08325Z" fill="black"/>
|
5 |
+
<path d="M29.5516 9.08325H0.48913C0.203804 9.08325 0 9.29159 0 9.58325V15.9166C0 16.1666 0.203804 16.4166 0.48913 16.4166H29.5516C29.7962 16.4166 30.0408 16.2083 30.0408 15.9166V9.58325C30 9.29159 29.7962 9.08325 29.5516 9.08325Z" fill="url(#paint1_linear)"/>
|
6 |
+
<path d="M5.50282 13.6666V12.0833L5.99195 13.0416H6.44032L6.92945 12.0833V13.6666H7.41858V11.0833H6.92945L6.23652 12.5416L5.54358 11.0833H5.09521V13.6666H5.50282ZM8.72293 13.7083C9.29358 13.7083 9.61967 13.3333 9.61967 12.8333V12.5416C9.61967 12.0416 9.29358 11.6666 8.72293 11.6666C8.15228 11.6666 7.82619 12.0416 7.82619 12.5416V12.8333C7.86695 13.3333 8.19304 13.7083 8.72293 13.7083ZM8.72293 13.3333C8.43761 13.3333 8.31532 13.1249 8.31532 12.8749V12.5416C8.31532 12.2916 8.43761 12.0833 8.72293 12.0833C9.00826 12.0833 9.13054 12.2916 9.13054 12.5416V12.8749C9.13054 13.1249 9.00826 13.3333 8.72293 13.3333ZM10.5572 13.6666V12.5416C10.5572 12.2916 10.6795 12.1666 10.924 12.1666C11.1686 12.1666 11.2501 12.3333 11.2501 12.5416V13.6666H11.7392V12.4583C11.7392 11.9999 11.4947 11.7083 11.0871 11.7083C10.8017 11.7083 10.6387 11.7916 10.5164 11.9999V11.7916H10.068V13.7083H10.5572V13.6666ZM13.0436 13.7083C13.4512 13.7083 13.7773 13.4583 13.8588 13.1249H13.4104C13.3697 13.2499 13.2474 13.3749 13.0436 13.3749C12.7583 13.3749 12.636 13.1666 12.636 12.9583V12.9166H13.8588V12.5833C13.8588 12.1249 13.5735 11.7499 13.0028 11.7499C12.4322 11.7499 12.1468 12.1249 12.1468 12.6249V12.8749C12.1468 13.4166 12.5137 13.7083 13.0436 13.7083ZM13.4104 12.5416H12.636C12.636 12.2916 12.7583 12.0833 13.0436 12.0833C13.2881 12.0833 13.4104 12.2499 13.4104 12.4999V12.5416ZM15.0001 14.3333L15.8153 11.7916H15.3262L14.9593 13.1666L14.5517 11.7916H14.0626L14.7148 13.7083L14.511 14.3749H15.0001V14.3333ZM18.2202 13.6666C18.7093 13.6666 19.0762 13.3749 19.0762 12.9583C19.0762 12.6249 18.8724 12.4166 18.6278 12.3333C18.7909 12.2499 18.9539 12.0416 18.9539 11.7499C18.9539 11.3749 18.6686 11.0833 18.2202 11.0833H17.0789V13.6666H18.2202ZM18.0572 12.1666H17.5273V11.4999H18.0572C18.261 11.4999 18.3833 11.6249 18.3833 11.8333C18.3833 11.9999 18.3017 12.1666 18.0572 12.1666ZM18.1795 13.2499H17.5273V12.5416H18.1387C18.3833 12.5416 18.5055 12.6666 18.5055 12.8749C18.5463 13.1249 18.424 13.2499 18.1795 13.2499ZM20.0545 13.7083C20.2583 13.7083 20.5028 13.6249 20.5843 13.4999V13.6666H21.0735V12.4583C21.0735 11.9999 20.7474 11.7083 20.299 11.7083C19.8914 11.7083 19.6061 11.9166 19.4838 12.2916H19.9322C19.9729 12.2083 20.0952 12.1249 20.2583 12.1249C20.4621 12.1249 20.5843 12.2499 20.5843 12.4166V12.6666C20.5028 12.5833 20.3398 12.4999 20.0952 12.4999C19.6468 12.4999 19.3208 12.7083 19.3208 13.1249C19.3615 13.4999 19.6468 13.7083 20.0545 13.7083ZM20.1767 13.3749C19.9729 13.3749 19.8099 13.2916 19.8099 13.0833C19.8099 12.9166 19.9729 12.7916 20.1767 12.7916C20.3805 12.7916 20.5436 12.8749 20.5436 13.0416C20.5843 13.2499 20.4213 13.3749 20.1767 13.3749ZM22.3778 13.7083C22.867 13.7083 23.2338 13.3749 23.2338 12.9583H22.7854C22.7447 13.1666 22.6632 13.2916 22.3778 13.2916C22.0925 13.2916 21.9702 13.1249 21.9702 12.8333V12.5416C21.9702 12.2916 22.0925 12.0833 22.3778 12.0833C22.6224 12.0833 22.7447 12.2499 22.7854 12.4166H23.2338C23.2338 11.9583 22.867 11.6666 22.3778 11.6666C21.8072 11.6666 21.4811 12.0416 21.4811 12.5416V12.8333C21.4811 13.3333 21.8072 13.7083 22.3778 13.7083ZM24.1713 13.6666V12.7499L24.7827 13.6666H25.3534L24.7012 12.6666L25.3534 11.7499H24.7827L24.1713 12.6249V10.9583H23.6822V13.6666H24.1713Z" fill="white"/>
|
7 |
+
<path d="M10.8421 6.45833C10.7198 6.45833 10.5975 6.41667 10.516 6.375C10.4345 6.33333 10.353 6.25 10.2715 6.20833C10.2307 6.125 10.1899 6.04167 10.1899 5.91667H10.4753C10.4753 5.95833 10.516 6.04167 10.516 6.08333C10.5568 6.125 10.5975 6.16667 10.6383 6.16667C10.6791 6.20833 10.7606 6.20833 10.8421 6.20833C10.9236 6.20833 10.9644 6.20833 11.0459 6.16667C11.0867 6.125 11.1682 6.08333 11.1682 6.04167C11.209 6 11.209 5.95833 11.209 5.875C11.209 5.79167 11.209 5.75 11.1682 5.70833C11.1274 5.66667 11.0867 5.625 11.0459 5.58333C10.9644 5.54167 10.9236 5.54167 10.8421 5.54167H10.6791V5.29167H10.8421C10.9236 5.29167 10.9644 5.29167 11.0459 5.25C11.0867 5.20833 11.1274 5.20833 11.1682 5.125C11.209 5.08333 11.209 5.04167 11.209 4.95833C11.209 4.91667 11.209 4.83333 11.1682 4.79167C11.1274 4.75 11.0867 4.70833 11.0459 4.66667C11.0052 4.625 10.9236 4.625 10.8829 4.625C10.8014 4.625 10.7606 4.625 10.7198 4.66667C10.6791 4.70833 10.6383 4.70833 10.5975 4.75C10.5568 4.79167 10.5568 4.83333 10.5568 4.91667H10.2715C10.2715 4.79167 10.3122 4.70833 10.353 4.625C10.3937 4.54167 10.4753 4.5 10.5975 4.45833C10.6791 4.41667 10.8014 4.375 10.9236 4.375C11.0459 4.375 11.1682 4.41667 11.2497 4.45833C11.3312 4.5 11.4128 4.58333 11.4535 4.66667C11.4943 4.75 11.535 4.83333 11.535 4.91667C11.535 5.04167 11.4943 5.125 11.4535 5.20833C11.4128 5.29167 11.3312 5.33333 11.209 5.375C11.3312 5.375 11.4128 5.45833 11.4943 5.54167C11.5758 5.625 11.6166 5.70833 11.6166 5.83333C11.6166 5.95833 11.5758 6.04167 11.535 6.125C11.4943 6.20833 11.4128 6.29167 11.2905 6.33333C11.0867 6.45833 10.9644 6.45833 10.8421 6.45833Z" fill="white"/>
|
8 |
+
<path d="M12.5132 6.45837C12.3502 6.45837 12.2279 6.41671 12.1464 6.33337C12.0649 6.25004 11.9834 6.12504 11.9018 6.00004C11.8611 5.83337 11.8203 5.66671 11.8203 5.45837C11.8203 5.25004 11.8611 5.08337 11.9018 4.91671C11.9426 4.75004 12.0241 4.66671 12.1464 4.58337C12.2687 4.50004 12.391 4.45837 12.5132 4.45837C12.6763 4.45837 12.7986 4.50004 12.8801 4.58337C13.0024 4.66671 13.0431 4.79171 13.1247 4.91671C13.1654 5.08337 13.2062 5.25004 13.2062 5.45837C13.2062 5.66671 13.1654 5.83337 13.1247 6.00004C13.0839 6.16671 13.0024 6.25004 12.8801 6.33337C12.7986 6.41671 12.6763 6.45837 12.5132 6.45837ZM12.5132 6.20837C12.6355 6.20837 12.7578 6.12504 12.7986 6.00004C12.8801 5.87504 12.9209 5.70837 12.9209 5.45837C12.9209 5.29171 12.9209 5.16671 12.8801 5.04171C12.8393 4.91671 12.7986 4.83337 12.7578 4.79171C12.7171 4.75004 12.6355 4.70837 12.554 4.70837C12.4317 4.70837 12.3094 4.79171 12.2687 4.91671C12.1872 5.04171 12.1464 5.20837 12.1464 5.45837C12.1464 5.62504 12.1464 5.75004 12.1872 5.87504C12.2279 6.00004 12.2687 6.08337 12.3094 6.12504C12.3502 6.20837 12.4317 6.20837 12.5132 6.20837Z" fill="white"/>
|
9 |
+
<path d="M14.837 6.45829H14.2256V4.54163H14.837C15.0408 4.54163 15.1631 4.58329 15.3261 4.66663C15.4484 4.74996 15.5707 4.83329 15.6115 4.99996C15.693 5.12496 15.7337 5.33329 15.7337 5.49996C15.7337 5.70829 15.693 5.87496 15.6115 5.99996C15.5299 6.12496 15.4484 6.24996 15.2854 6.33329C15.2038 6.41663 15.0408 6.45829 14.837 6.45829ZM14.5109 6.16663H14.837C15 6.16663 15.0816 6.12496 15.2038 6.08329C15.2854 6.04163 15.3669 5.95829 15.4076 5.83329C15.4484 5.70829 15.4892 5.58329 15.4892 5.45829C15.4892 5.29163 15.4484 5.16663 15.4076 5.08329C15.3669 4.95829 15.2854 4.91663 15.2038 4.83329C15.1223 4.79163 15 4.74996 14.8778 4.74996H14.5517V6.16663H14.5109Z" fill="white"/>
|
10 |
+
<path d="M16.5087 6.45846C16.4271 6.45846 16.3456 6.45846 16.2641 6.41679C16.1826 6.37512 16.1418 6.33346 16.1011 6.25012C16.0603 6.16679 16.0195 6.12512 16.0195 6.00012C16.0195 5.91679 16.0195 5.83346 16.0603 5.79179C16.1011 5.75012 16.1418 5.70846 16.1826 5.66679C16.2233 5.62512 16.3049 5.62512 16.3456 5.58346C16.4271 5.58346 16.4679 5.54179 16.5494 5.54179C16.6309 5.54179 16.7125 5.54179 16.7532 5.50012C16.794 5.50012 16.8347 5.50012 16.8755 5.45846C16.9163 5.45846 16.9163 5.41679 16.9163 5.37512C16.9163 5.29179 16.8755 5.20846 16.8347 5.16679C16.794 5.12512 16.7125 5.08346 16.6309 5.08346C16.5494 5.08346 16.4679 5.12512 16.4271 5.16679C16.3864 5.20846 16.3456 5.25012 16.3049 5.29179L16.0603 5.25012C16.1011 5.16679 16.1418 5.08346 16.1826 5.04179C16.2233 5.00012 16.3049 4.95846 16.3864 4.91679C16.4679 4.87512 16.5494 4.87512 16.6309 4.87512C16.6717 4.87512 16.7532 4.87512 16.794 4.87512C16.8755 4.87512 16.9163 4.91679 16.957 4.95846C16.9978 5.00012 17.0386 5.04179 17.0793 5.12512C17.1201 5.20846 17.1201 5.29179 17.1201 5.37512V6.33346H16.8347V6.25012C16.8347 6.29179 16.794 6.33346 16.7532 6.37512C16.7125 6.41679 16.6717 6.45846 16.6309 6.45846C16.6717 6.45846 16.5902 6.45846 16.5087 6.45846ZM16.5494 6.25012C16.6309 6.25012 16.6717 6.25012 16.7532 6.20846C16.794 6.16679 16.8347 6.12512 16.8755 6.08346C16.9163 6.04179 16.9163 6.00012 16.9163 5.91679V5.75012C16.9163 5.75012 16.8755 5.75012 16.8755 5.79179C16.8347 5.79179 16.8347 5.79179 16.794 5.83346C16.7532 5.83346 16.7125 5.83346 16.6717 5.83346C16.6309 5.83346 16.5902 5.83346 16.5902 5.83346C16.5494 5.83346 16.4679 5.83346 16.4271 5.87512C16.3864 5.87512 16.3456 5.91679 16.3049 5.95846C16.3049 5.95846 16.3049 6.00012 16.3049 6.04179C16.3049 6.12512 16.3456 6.16679 16.3864 6.20846C16.4271 6.20846 16.5087 6.25012 16.5494 6.25012Z" fill="white"/>
|
11 |
+
<path d="M17.6896 6.95833C17.6489 6.95833 17.6081 6.95833 17.5673 6.95833C17.5266 6.95833 17.5266 6.95833 17.4858 6.95833L17.5673 6.70833C17.6489 6.75 17.6896 6.75 17.7711 6.70833C17.8119 6.70833 17.8527 6.625 17.8934 6.54167L17.9342 6.45833L17.4043 5H17.6896L18.0565 6.125L18.4233 5H18.7086L18.138 6.625C18.0972 6.70833 18.0565 6.75 18.0157 6.83333C17.9749 6.875 17.9342 6.91667 17.8527 6.95833C17.8527 6.95833 17.7711 6.95833 17.6896 6.95833Z" fill="white"/>
|
12 |
+
<path d="M20.0546 5.33325L19.8101 5.37492C19.8101 5.33325 19.7693 5.29159 19.7693 5.29159C19.7285 5.24992 19.7285 5.24992 19.6878 5.20825C19.647 5.20825 19.6063 5.16659 19.5247 5.16659C19.4432 5.16659 19.3617 5.16659 19.3209 5.20825C19.2802 5.24992 19.2394 5.29159 19.2394 5.33325C19.2394 5.37492 19.2394 5.41659 19.2802 5.45825C19.3209 5.49992 19.3617 5.49992 19.4432 5.54159L19.6878 5.58325C19.8101 5.62492 19.9323 5.66659 19.9731 5.70825C20.0546 5.79159 20.0546 5.87492 20.0546 5.95825C20.0546 6.04159 20.0139 6.12492 19.9731 6.20825C19.9323 6.29159 19.8508 6.33325 19.7693 6.37492C19.6878 6.41659 19.5655 6.41659 19.484 6.41659C19.3209 6.41659 19.1986 6.37492 19.0764 6.33325C18.9948 6.24992 18.9133 6.16659 18.8726 6.04159L19.1579 5.99992C19.1579 6.08325 19.1986 6.12492 19.2802 6.16659C19.3209 6.20825 19.4024 6.20825 19.484 6.20825C19.5655 6.20825 19.647 6.20825 19.6878 6.16659C19.7285 6.12492 19.7693 6.08325 19.7693 6.04159C19.7693 5.99992 19.7693 5.95825 19.7285 5.91659C19.6878 5.87492 19.647 5.87492 19.5655 5.83325L19.3209 5.79159C19.1986 5.74992 19.0764 5.70825 19.0356 5.62492C18.9541 5.54159 18.9541 5.45825 18.9541 5.37492C18.9541 5.29159 18.9948 5.20825 19.0356 5.16659C19.0764 5.08325 19.1579 5.04159 19.2394 4.99992C19.3209 4.95825 19.4025 4.95825 19.5247 4.95825C19.6878 4.95825 19.8101 4.99992 19.8916 5.04159C19.9731 5.12492 20.0139 5.24992 20.0546 5.33325Z" fill="white"/>
|
13 |
+
<path d="M9.98625 18.375C9.98625 18.3334 9.94549 18.25 9.90472 18.2084C9.86396 18.1667 9.8232 18.125 9.78244 18.0834C9.74168 18.0417 9.70092 18.0417 9.66016 18C9.6194 18 9.53788 17.9584 9.49711 17.9584C9.37483 17.9584 9.29331 18 9.21179 18.0417C9.13027 18.0834 9.04874 18.1667 9.00798 18.2917C8.96722 18.4584 8.96722 18.5834 8.96722 18.75C8.96722 18.9167 9.00798 19.0417 9.04874 19.1667C9.08951 19.2917 9.17103 19.375 9.25255 19.4167C9.33407 19.4584 9.45635 19.5 9.53788 19.5C9.66016 19.5 9.74168 19.4584 9.8232 19.4167C9.90473 19.375 9.94549 19.3334 9.98625 19.25C10.027 19.1667 10.0678 19.0834 10.0678 18.9584H10.1493H9.6194V18.7084H10.3531V18.9167C10.3531 19.0834 10.3123 19.2084 10.2716 19.3334C10.1901 19.4584 10.1085 19.5417 9.98625 19.625C9.86396 19.7084 9.74168 19.7084 9.57864 19.7084C9.41559 19.7084 9.25255 19.6667 9.13027 19.5834C9.00798 19.5 8.8857 19.375 8.84494 19.25C8.76342 19.0834 8.72266 18.9167 8.72266 18.7084C8.72266 18.5417 8.76342 18.4167 8.80418 18.2917C8.84494 18.1667 8.8857 18.0834 8.96722 18C9.04874 17.9167 9.13027 17.8334 9.25255 17.7917C9.37483 17.75 9.45635 17.7084 9.57864 17.7084C9.66016 17.7084 9.78244 17.7084 9.86396 17.75C9.94549 17.7917 10.027 17.8334 10.1085 17.875C10.1901 17.9167 10.2308 18 10.2716 18.0834C10.3123 18.1667 10.3531 18.25 10.3531 18.3334H9.98625V18.375Z" fill="white"/>
|
14 |
+
<path d="M11.5349 19.0832V18.2499H11.8202V19.7082H11.5349V19.4582C11.4942 19.5415 11.4534 19.5832 11.3719 19.6665C11.2904 19.7082 11.2088 19.7499 11.0866 19.7499C11.005 19.7499 10.9235 19.7499 10.842 19.7082C10.7605 19.6665 10.7197 19.6249 10.6789 19.5415C10.6382 19.4582 10.6382 19.3749 10.6382 19.2499V18.3332H10.9235V19.2082C10.9235 19.2915 10.9643 19.3749 11.005 19.4582C11.0458 19.4999 11.1273 19.5415 11.2088 19.5415C11.2496 19.5415 11.3311 19.5415 11.3719 19.4999C11.4126 19.4582 11.4534 19.4165 11.4942 19.3749C11.5349 19.2499 11.5349 19.1665 11.5349 19.0832Z" fill="white"/>
|
15 |
+
<path d="M12.5946 19.7083C12.5131 19.7083 12.4316 19.7083 12.35 19.6667C12.2685 19.625 12.2278 19.5833 12.187 19.5C12.1462 19.4167 12.1055 19.375 12.1055 19.25C12.1055 19.1667 12.1055 19.0833 12.1462 19.0417C12.187 19 12.2278 18.9583 12.2685 18.9167C12.3093 18.875 12.3908 18.875 12.4316 18.8333C12.5131 18.8333 12.5538 18.7917 12.6354 18.7917C12.7169 18.7917 12.7984 18.7917 12.8392 18.75C12.8799 18.75 12.9207 18.75 12.9614 18.7083C13.0022 18.7083 13.0022 18.6667 13.0022 18.625C13.0022 18.5417 12.9614 18.4583 12.9207 18.4167C12.8799 18.375 12.7984 18.3333 12.7169 18.3333C12.6354 18.3333 12.5538 18.375 12.5131 18.4167C12.4723 18.4583 12.4316 18.5 12.3908 18.5417L12.1462 18.5C12.187 18.4167 12.2278 18.3333 12.2685 18.2917C12.3093 18.25 12.3908 18.2083 12.4723 18.1667C12.5538 18.125 12.6354 18.125 12.7169 18.125C12.7576 18.125 12.8392 18.125 12.8799 18.125C12.9614 18.125 13.0022 18.1667 13.043 18.2083C13.0837 18.25 13.1245 18.2917 13.1653 18.375C13.206 18.4583 13.206 18.5417 13.206 18.625V19.5833H13.043V19.375C13.043 19.4167 13.0022 19.4583 12.9614 19.5C12.9207 19.5417 12.8799 19.5833 12.8392 19.5833C12.7576 19.7083 12.6761 19.7083 12.5946 19.7083ZM12.6761 19.5C12.7576 19.5 12.7984 19.5 12.8799 19.4583C12.9207 19.4167 12.9614 19.375 13.0022 19.3333C13.043 19.2917 13.043 19.25 13.043 19.1667V19C13.043 19 13.0022 19 13.0022 19.0417C12.9614 19.0417 12.9614 19.0417 12.9207 19.0833C12.8799 19.0833 12.8392 19.0833 12.7984 19.0833C12.7576 19.0833 12.7169 19.0833 12.7169 19.0833C12.6761 19.0833 12.5946 19.0833 12.5538 19.125C12.5131 19.125 12.4723 19.1667 12.4316 19.2083C12.3908 19.25 12.3908 19.2917 12.3908 19.3333C12.3908 19.4167 12.4316 19.4583 12.4723 19.5C12.5131 19.5 12.5946 19.5 12.6761 19.5Z" fill="white"/>
|
16 |
+
<path d="M13.6548 19.7082V18.2499H13.9401V18.4999C13.9809 18.4165 14.0216 18.3749 14.0624 18.3332C14.1439 18.2915 14.1847 18.2499 14.2662 18.2499H14.307C14.3477 18.2499 14.3477 18.2499 14.3477 18.2499V18.4999H14.307C14.2662 18.4999 14.2662 18.4999 14.2254 18.4999C14.1439 18.4999 14.1032 18.4999 14.0624 18.5415C14.0216 18.5832 13.9809 18.6249 13.9401 18.6665C13.8994 18.7082 13.8993 18.7915 13.8993 18.8332V19.7082H13.6548Z" fill="white"/>
|
17 |
+
<path d="M15.0819 19.7083C15.0004 19.7083 14.9189 19.7083 14.8373 19.6667C14.7558 19.625 14.7151 19.5833 14.6743 19.5C14.6335 19.4167 14.5928 19.375 14.5928 19.25C14.5928 19.1667 14.5928 19.0833 14.6335 19.0417C14.6743 19 14.7151 18.9583 14.7558 18.9167C14.7966 18.875 14.8781 18.875 14.9189 18.8333C15.0004 18.8333 15.0411 18.7917 15.1227 18.7917C15.2042 18.7917 15.2857 18.7917 15.3265 18.75C15.3672 18.75 15.408 18.75 15.4488 18.7083C15.4895 18.7083 15.4895 18.6667 15.4895 18.625C15.4895 18.5417 15.4488 18.4583 15.408 18.4167C15.3672 18.375 15.2857 18.3333 15.2042 18.3333C15.1227 18.3333 15.0411 18.375 15.0004 18.4167C14.9596 18.4583 14.9189 18.5 14.8781 18.5417L14.6335 18.5C14.6743 18.4167 14.7151 18.3333 14.7558 18.2917C14.7966 18.25 14.8781 18.2083 14.9596 18.1667C15.0411 18.125 15.1227 18.125 15.2042 18.125C15.2449 18.125 15.3265 18.125 15.3672 18.125C15.4488 18.125 15.4895 18.1667 15.5303 18.2083C15.571 18.25 15.6118 18.2917 15.6526 18.375C15.6933 18.4583 15.6933 18.5417 15.6933 18.625V19.5833H15.4895V19.375C15.4895 19.4167 15.4488 19.4583 15.408 19.5C15.3672 19.5417 15.3265 19.5833 15.2857 19.5833C15.2042 19.7083 15.1634 19.7083 15.0819 19.7083ZM15.1227 19.5C15.2042 19.5 15.2449 19.5 15.3265 19.4583C15.3672 19.4167 15.408 19.375 15.4488 19.3333C15.4895 19.2917 15.4895 19.25 15.4895 19.1667V19C15.4895 19 15.4488 19 15.4488 19.0417C15.408 19.0417 15.408 19.0417 15.3672 19.0833C15.3265 19.0833 15.2857 19.0833 15.2449 19.0833C15.2042 19.0833 15.1634 19.0833 15.1634 19.0833C15.1227 19.0833 15.0411 19.0833 15.0004 19.125C14.9596 19.125 14.9189 19.1667 14.8781 19.2083C14.8373 19.25 14.8373 19.2917 14.8373 19.3333C14.8373 19.4167 14.8781 19.4583 14.9189 19.5C15.0004 19.5 15.0411 19.5 15.1227 19.5Z" fill="white"/>
|
18 |
+
<path d="M16.3859 18.8332V19.7082H16.1006V18.2499H16.3452V18.4999C16.3859 18.4165 16.4267 18.3749 16.5082 18.3332C16.5897 18.2915 16.6712 18.2499 16.7528 18.2499C16.8343 18.2499 16.9158 18.2499 16.9973 18.2915C17.0789 18.3332 17.1196 18.3749 17.1604 18.4582C17.2011 18.5415 17.2011 18.6249 17.2011 18.7499V19.6665H16.9158V18.7915C16.9158 18.6665 16.875 18.6249 16.8343 18.5415C16.7935 18.4999 16.712 18.4582 16.6305 18.4582C16.549 18.4582 16.5082 18.4582 16.4674 18.4999C16.4267 18.5415 16.3859 18.5832 16.3452 18.6249C16.4267 18.7082 16.3859 18.7499 16.3859 18.8332Z" fill="white"/>
|
19 |
+
<path d="M18.3423 18.25V18.4583H17.5679V18.25H18.3423ZM17.7717 17.9166H18.057V19.2916C18.057 19.3333 18.057 19.375 18.0978 19.4166C18.0978 19.4583 18.1385 19.4583 18.1793 19.4583C18.22 19.4583 18.22 19.4583 18.2608 19.4583C18.3016 19.4583 18.3016 19.4583 18.3016 19.4583H18.3423L18.3831 19.7083C18.3831 19.7083 18.3423 19.7083 18.3016 19.7083C18.2608 19.7083 18.22 19.7083 18.1793 19.7083C18.0978 19.7083 18.057 19.7083 17.9755 19.6666C17.894 19.625 17.8532 19.5833 17.8124 19.5416C17.7717 19.5 17.7717 19.4166 17.7717 19.3333V17.9166Z" fill="white"/>
|
20 |
+
<path d="M19.2388 19.7083C19.1166 19.7083 18.9943 19.6666 18.872 19.625C18.7905 19.5833 18.7089 19.4583 18.6274 19.375C18.5867 19.25 18.5459 19.125 18.5459 19C18.5459 18.8333 18.5867 18.7083 18.6274 18.625C18.6682 18.5 18.7497 18.4166 18.872 18.375C18.9535 18.2916 19.0758 18.2916 19.1981 18.2916C19.2796 18.2916 19.3611 18.2916 19.4426 18.3333C19.5242 18.375 19.5649 18.4166 19.6465 18.4583C19.6872 18.5 19.7687 18.5833 19.7687 18.6666C19.8095 18.75 19.8095 18.875 19.8095 19V19.0833H18.6682V18.875H19.5649C19.5649 18.7916 19.5649 18.75 19.5242 18.6666C19.4834 18.625 19.4426 18.5833 19.4019 18.5416C19.3611 18.5 19.2796 18.5 19.1981 18.5C19.1166 18.5 19.035 18.5 18.9943 18.5416C18.9535 18.5833 18.9127 18.625 18.872 18.7083C18.8312 18.75 18.8312 18.8333 18.8312 18.9166V19.0833C18.8312 19.1666 18.8312 19.25 18.872 19.3333C18.9127 19.4166 18.9535 19.4583 18.9943 19.5C19.035 19.5416 19.1166 19.5416 19.1981 19.5416C19.2388 19.5416 19.2796 19.5416 19.3611 19.5C19.4019 19.5 19.4426 19.4583 19.4834 19.4166C19.5242 19.375 19.5242 19.3333 19.5649 19.2916L19.8095 19.3333C19.7687 19.4166 19.7687 19.5 19.6872 19.5416C19.6465 19.5833 19.5649 19.625 19.4834 19.6666C19.4426 19.7083 19.3611 19.7083 19.2388 19.7083Z" fill="white"/>
|
21 |
+
<path d="M20.7466 19.7083C20.6244 19.7083 20.5021 19.6666 20.3798 19.625C20.2983 19.5833 20.2168 19.4583 20.1352 19.375C20.0945 19.25 20.0537 19.125 20.0537 19C20.0537 18.8333 20.0945 18.7083 20.1352 18.625C20.176 18.5 20.2575 18.4166 20.3798 18.375C20.4613 18.2916 20.5836 18.2916 20.7059 18.2916C20.7874 18.2916 20.8689 18.2916 20.9505 18.3333C21.032 18.375 21.0727 18.4166 21.1543 18.4583C21.195 18.5 21.2765 18.5833 21.2765 18.6666C21.3173 18.75 21.3173 18.875 21.3173 19V19.0833H20.176V18.875H21.032C21.032 18.7916 21.032 18.75 20.9912 18.6666C20.9504 18.625 20.9097 18.5833 20.8689 18.5416C20.8282 18.5 20.7466 18.5 20.6651 18.5C20.5836 18.5 20.5021 18.5 20.4613 18.5416C20.4206 18.5833 20.3798 18.625 20.339 18.7083C20.3798 18.75 20.3798 18.7916 20.3798 18.875V19.0416C20.3798 19.125 20.3798 19.2083 20.4206 19.2916C20.4613 19.375 20.5021 19.4166 20.5428 19.4583C20.5836 19.5 20.6651 19.5 20.7466 19.5C20.7874 19.5 20.8282 19.5 20.9097 19.4583C20.9504 19.4583 20.9912 19.4166 21.032 19.375C21.0727 19.3333 21.0727 19.2916 21.1135 19.25L21.3581 19.2916C21.3173 19.375 21.3173 19.4583 21.2358 19.5C21.195 19.5416 21.1135 19.5833 21.032 19.625C20.9504 19.7083 20.8689 19.7083 20.7466 19.7083Z" fill="white"/>
|
22 |
+
<defs>
|
23 |
+
<linearGradient id="paint0_linear" x1="13.4206" y1="0.621958" x2="17.1739" y2="24.6911" gradientUnits="userSpaceOnUse">
|
24 |
+
<stop stop-color="#72D0FF"/>
|
25 |
+
<stop offset="1" stop-color="#349EFA"/>
|
26 |
+
</linearGradient>
|
27 |
+
<linearGradient id="paint1_linear" x1="-3.41209" y1="12.7435" x2="13.6943" y2="12.7435" gradientUnits="userSpaceOnUse">
|
28 |
+
<stop stop-color="#9795E7"/>
|
29 |
+
<stop offset="1" stop-color="#544EFA"/>
|
30 |
+
</linearGradient>
|
31 |
+
</defs>
|
32 |
+
</svg>
|
images/support.svg
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2 |
+
<path d="M10 0C4.486 0 0 4.486 0 10V14.143C0 15.167 0.897 16 2 16H3C3.26522 16 3.51957 15.8946 3.70711 15.7071C3.89464 15.5196 4 15.2652 4 15V9.857C4 9.59178 3.89464 9.33743 3.70711 9.14989C3.51957 8.96236 3.26522 8.857 3 8.857H2.092C2.648 4.987 5.978 2 10 2C14.022 2 17.352 4.987 17.908 8.857H17C16.7348 8.857 16.4804 8.96236 16.2929 9.14989C16.1054 9.33743 16 9.59178 16 9.857V16C16 17.103 15.103 18 14 18H12V17H8V20H14C16.206 20 18 18.206 18 16C19.103 16 20 15.167 20 14.143V10C20 4.486 15.514 0 10 0Z" fill="url(#paint0_linear)"/>
|
3 |
+
<defs>
|
4 |
+
<linearGradient id="paint0_linear" x1="8.5413" y1="0.497567" x2="11.4817" y2="19.7726" gradientUnits="userSpaceOnUse">
|
5 |
+
<stop stop-color="#72D0FF"/>
|
6 |
+
<stop offset="1" stop-color="#349EFA"/>
|
7 |
+
</linearGradient>
|
8 |
+
</defs>
|
9 |
+
</svg>
|
includes/class-cookie-law-info.php
CHANGED
@@ -78,7 +78,7 @@ class Cookie_Law_Info {
|
|
78 |
}
|
79 |
else
|
80 |
{
|
81 |
-
$this->version = '2.0.
|
82 |
}
|
83 |
$this->plugin_name = 'cookie-law-info';
|
84 |
|
@@ -405,17 +405,17 @@ class Cookie_Law_Info {
|
|
405 |
'button_2_hidebar' =>false,
|
406 |
'button_2_style' => array(),
|
407 |
|
408 |
-
'button_3_text' => 'REJECT',
|
409 |
'button_3_url' => '#',
|
410 |
'button_3_action' => '#cookie_action_close_header_reject',
|
411 |
-
'button_3_link_colour' => '#
|
412 |
'button_3_new_win' => false,
|
413 |
'button_3_as_button' => true,
|
414 |
-
'button_3_button_colour' => '#
|
415 |
'button_3_button_size' => 'medium',
|
416 |
'button_3_style' => array(),
|
417 |
|
418 |
-
'button_4_text' => 'Cookie
|
419 |
'button_4_url' => '#',
|
420 |
'button_4_action' => '#cookie_action_settings',
|
421 |
'button_4_link_colour' => '#333333',
|
@@ -434,7 +434,7 @@ class Cookie_Law_Info {
|
|
434 |
'button_7_as_button' => true,
|
435 |
'button_7_button_colour' => '#61a229',
|
436 |
'button_7_button_size' => 'medium',
|
437 |
-
'button_7_style' => array(),
|
438 |
|
439 |
'font_family' => 'inherit', // Pick the family, not the easy name (see helper function below)
|
440 |
'header_fix' => false,
|
@@ -446,7 +446,7 @@ class Cookie_Law_Info {
|
|
446 |
'notify_div_id' => '#cookie-law-info-bar',
|
447 |
'notify_position_horizontal' => 'right', // left | right
|
448 |
'notify_position_vertical' => 'bottom', // 'top' = header | 'bottom' = footer
|
449 |
-
'notify_message' => addslashes ( '<div class="cli-bar-container cli-style-v2"><div class="cli-bar-message">We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “
|
450 |
'scroll_close' => false,
|
451 |
'scroll_close_reload' => false,
|
452 |
'accept_close_reload' => false,
|
78 |
}
|
79 |
else
|
80 |
{
|
81 |
+
$this->version = '2.0.2';
|
82 |
}
|
83 |
$this->plugin_name = 'cookie-law-info';
|
84 |
|
405 |
'button_2_hidebar' =>false,
|
406 |
'button_2_style' => array(),
|
407 |
|
408 |
+
'button_3_text' => 'REJECT ALL',
|
409 |
'button_3_url' => '#',
|
410 |
'button_3_action' => '#cookie_action_close_header_reject',
|
411 |
+
'button_3_link_colour' => '#333333',
|
412 |
'button_3_new_win' => false,
|
413 |
'button_3_as_button' => true,
|
414 |
+
'button_3_button_colour' => '#dedfe0',
|
415 |
'button_3_button_size' => 'medium',
|
416 |
'button_3_style' => array(),
|
417 |
|
418 |
+
'button_4_text' => 'Cookie Settings',
|
419 |
'button_4_url' => '#',
|
420 |
'button_4_action' => '#cookie_action_settings',
|
421 |
'button_4_link_colour' => '#333333',
|
434 |
'button_7_as_button' => true,
|
435 |
'button_7_button_colour' => '#61a229',
|
436 |
'button_7_button_size' => 'medium',
|
437 |
+
'button_7_style' => array(),
|
438 |
|
439 |
'font_family' => 'inherit', // Pick the family, not the easy name (see helper function below)
|
440 |
'header_fix' => false,
|
446 |
'notify_div_id' => '#cookie-law-info-bar',
|
447 |
'notify_position_horizontal' => 'right', // left | right
|
448 |
'notify_position_vertical' => 'bottom', // 'top' = header | 'bottom' = footer
|
449 |
+
'notify_message' => addslashes ( '<div class="cli-bar-container cli-style-v2"><div class="cli-bar-message">We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “ACCEPT ALL”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.</div><div class="cli-bar-btn_container">[cookie_settings margin="0px 10px 0px 5px"][cookie_reject margin="5px 10px 5px 5px"][cookie_accept_all]</div></div>'),
|
450 |
'scroll_close' => false,
|
451 |
'scroll_close_reload' => false,
|
452 |
'accept_close_reload' => false,
|
public/class-cookie-law-info-public.php
CHANGED
@@ -184,6 +184,7 @@ class Cookie_Law_Info_Public
|
|
184 |
'ccpaEnabled' => $ccpa_enabled,
|
185 |
'ccpaRegionBased' => $ccpa_region_based,
|
186 |
'ccpaBarEnabled' => $ccpa_enable_bar,
|
|
|
187 |
'ccpaType' => $ccpa_type,
|
188 |
'js_blocking' => $js_blocking_enabled,
|
189 |
'custom_integration' => $enable_custom_integration,
|
184 |
'ccpaEnabled' => $ccpa_enabled,
|
185 |
'ccpaRegionBased' => $ccpa_region_based,
|
186 |
'ccpaBarEnabled' => $ccpa_enable_bar,
|
187 |
+
'strictlyEnabled' => Cookie_Law_Info_Cookies::get_instance()->get_strictly_necessory_categories(),
|
188 |
'ccpaType' => $ccpa_type,
|
189 |
'js_blocking' => $js_blocking_enabled,
|
190 |
'custom_integration' => $enable_custom_integration,
|
public/css/cookie-law-info-gdpr.css
CHANGED
@@ -463,7 +463,7 @@
|
|
463 |
top: 10px;
|
464 |
z-index: 1;
|
465 |
padding: 0;
|
466 |
-
background-color: transparent;
|
467 |
border: 0;
|
468 |
-webkit-appearance: none;
|
469 |
font-size: 1.5rem;
|
@@ -1366,4 +1366,10 @@ a.wt-cli-ccpa-opt-out {
|
|
1366 |
}
|
1367 |
.wt-cli-privacy-overview-actions {
|
1368 |
padding-bottom:0;
|
|
|
|
|
|
|
|
|
|
|
|
|
1369 |
}
|
463 |
top: 10px;
|
464 |
z-index: 1;
|
465 |
padding: 0;
|
466 |
+
background-color: transparent !important;
|
467 |
border: 0;
|
468 |
-webkit-appearance: none;
|
469 |
font-size: 1.5rem;
|
1366 |
}
|
1367 |
.wt-cli-privacy-overview-actions {
|
1368 |
padding-bottom:0;
|
1369 |
+
}
|
1370 |
+
@media only screen and (max-width: 479px) and (min-width: 320px){
|
1371 |
+
|
1372 |
+
.cli-style-v2 .cli-bar-btn_container {
|
1373 |
+
flex-wrap: wrap;
|
1374 |
+
}
|
1375 |
}
|
public/js/cookie-law-info-public.js
CHANGED
@@ -146,7 +146,8 @@ var CLI=
|
|
146 |
new_window=CLI.settings.button_7_new_win ? true : false;
|
147 |
}
|
148 |
else if(button_action=='reject')
|
149 |
-
{
|
|
|
150 |
CLI.reject_close();
|
151 |
new_window= Boolean( CLI.settings.button_3_new_win ) ? true : false;
|
152 |
}
|
@@ -862,6 +863,20 @@ var CLI=
|
|
862 |
}
|
863 |
});
|
864 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
865 |
hideCookieBarOnClose: function() {
|
866 |
jQuery(document).on('click','.cli_cookie_close_button',function(e){
|
867 |
e.preventDefault();
|
146 |
new_window=CLI.settings.button_7_new_win ? true : false;
|
147 |
}
|
148 |
else if(button_action=='reject')
|
149 |
+
{
|
150 |
+
CLI.disableAllCookies();
|
151 |
CLI.reject_close();
|
152 |
new_window= Boolean( CLI.settings.button_3_new_win ) ? true : false;
|
153 |
}
|
863 |
}
|
864 |
});
|
865 |
},
|
866 |
+
disableAllCookies:function()
|
867 |
+
{
|
868 |
+
jQuery('.cli-user-preference-checkbox').each(function(){
|
869 |
+
|
870 |
+
var cli_chkbox_elm=jQuery(this);
|
871 |
+
var cli_chkbox_data_id=cli_chkbox_elm.attr('data-id');
|
872 |
+
cliCategorySlug = cli_chkbox_data_id.replace('checkbox-','');
|
873 |
+
if(Cli_Data.strictlyEnabled.indexOf(cliCategorySlug) === -1)
|
874 |
+
{
|
875 |
+
cli_chkbox_elm.prop('checked',false);
|
876 |
+
CLI_Cookie.set('cookielawinfo-'+cli_chkbox_data_id,'no',CLI_ACCEPT_COOKIE_EXPIRE);
|
877 |
+
}
|
878 |
+
});
|
879 |
+
},
|
880 |
hideCookieBarOnClose: function() {
|
881 |
jQuery(document).on('click','.cli_cookie_close_button',function(e){
|
882 |
e.preventDefault();
|
public/modules/script-blocker/views/settings.php
CHANGED
File without changes
|
public/views/cookie-law-info_bar.php
CHANGED
@@ -37,7 +37,7 @@ if ( file_exists( $pop_content_html_file ) ) {
|
|
37 |
</div>
|
38 |
<?php if ( apply_filters( 'wt_cli_enable_ckyes_branding', true ) === true ) : ?>
|
39 |
<div class="wt-cli-ckyes-footer-section">
|
40 |
-
<div class="wt-cli-ckyes-brand-logo"><?php echo __( 'Powered by', 'cookie-law-info' ); ?> <a
|
41 |
</div>
|
42 |
<?php endif; ?>
|
43 |
|
37 |
</div>
|
38 |
<?php if ( apply_filters( 'wt_cli_enable_ckyes_branding', true ) === true ) : ?>
|
39 |
<div class="wt-cli-ckyes-footer-section">
|
40 |
+
<div class="wt-cli-ckyes-brand-logo"><?php echo __( 'Powered by', 'cookie-law-info' ); ?> <a href="https://www.cookieyes.com/"><img src="<?php echo CLI_PLUGIN_URL . 'public/images/logo-cookieyes.svg'; ?>" alt="CookieYes Logo"></a></div>
|
41 |
</div>
|
42 |
<?php endif; ?>
|
43 |
|
public/views/cookie-law-info_popup_content.php
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -5,11 +5,11 @@ Tags: GDPR, CCPA, cookie notice, DSGVO, RGPD, LGPD, PIPEDA, cookies , cookie law
|
|
5 |
Requires at least: 4.4.0
|
6 |
Tested up to: 5.7
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.0.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
12 |
-
Easily set up cookie notice and get GDPR
|
13 |
|
14 |
GDPR CookieConsent' plugin is getting renamed as ‘CookieYes - GDPR Cookie Consent & Compliance Notice' plugin. WebToffee will continue to develop and maintain this plugin. In addition to the current features, we have integrated a free Automatic Cookie Scan service into the plugin. You need an account with CookieYes in order to use the scan service, but no worries, we will automatically create an account for you when you initiate the scan.
|
15 |
|
@@ -189,6 +189,11 @@ For every update of the plugin, you will be notified of the installed plugins pa
|
|
189 |
|
190 |
== Changelog ==
|
191 |
|
|
|
|
|
|
|
|
|
|
|
192 |
= 2.0.1 =
|
193 |
|
194 |
* Enhancement - New shortcode [cookie_accept_all] to add accept all button to the banner
|
@@ -504,10 +509,7 @@ For every update of the plugin, you will be notified of the installed plugins pa
|
|
504 |
|
505 |
== Upgrade Notice ==
|
506 |
|
507 |
-
= 2.0.
|
508 |
|
509 |
-
* Enhancement -
|
510 |
-
* Enhancement -
|
511 |
-
* Enhancement - New filter `wt_cli_set_secure_cookies` to set plugin cookies as secure
|
512 |
-
* Fix - Site map issue with cookie category
|
513 |
-
* Fix - Cookie categories are not ordered properly in secondary languages
|
5 |
Requires at least: 4.4.0
|
6 |
Tested up to: 5.7
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.0.2
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
12 |
+
Easily set up cookie notice, cookie policy and get GDPR cookie compliance with our cookie scan. Supports GDPR, DSGVO, RGPD, LGPD, CCPA Do Not Sell and CNIL.
|
13 |
|
14 |
GDPR CookieConsent' plugin is getting renamed as ‘CookieYes - GDPR Cookie Consent & Compliance Notice' plugin. WebToffee will continue to develop and maintain this plugin. In addition to the current features, we have integrated a free Automatic Cookie Scan service into the plugin. You need an account with CookieYes in order to use the scan service, but no worries, we will automatically create an account for you when you initiate the scan.
|
15 |
|
189 |
|
190 |
== Changelog ==
|
191 |
|
192 |
+
= 2.0.2 =
|
193 |
+
|
194 |
+
* Enhancement - Added reject button by default
|
195 |
+
* Enhancement - Help text improvements
|
196 |
+
|
197 |
= 2.0.1 =
|
198 |
|
199 |
* Enhancement - New shortcode [cookie_accept_all] to add accept all button to the banner
|
509 |
|
510 |
== Upgrade Notice ==
|
511 |
|
512 |
+
= 2.0.2 =
|
513 |
|
514 |
+
* Enhancement - Added reject button by default
|
515 |
+
* Enhancement - Help text improvements
|
|
|
|
|
|