PluginProbe ʕ •ᴥ•ʔ
ElementsKit Elementor Addons – Advanced Widgets & Templates Addons for Elementor / 4.0.2
ElementsKit Elementor Addons – Advanced Widgets & Templates Addons for Elementor v4.0.2
4.0.3 4.0.2 4.0.1 4.0.0 3.10.02 3.10.01 3.9.10 3.9.9 3.9.8 3.9.7 3.9.5 3.9.6 3.9.3 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.3.0 2.3.1 2.3.1.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.4.0 2.5.0 2.5.1 2.5.10 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.6.3 2.7.0 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.2 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 3.4.9 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.6.0 3.6.1 3.7.0 3.7.1 3.7.2 3.7.3 3.7.4 3.7.5 3.7.6 3.7.7 3.7.8 3.7.9 3.8.0 3.8.1 3.8.2 3.9.0 3.9.1 3.9.2 trunk 1.2.6 1.2.7 1.2.9 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.11 1.5.12 1.5.2 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.0.9.1 2.0.9.2 2.0.9.3
elementskit-lite / libs / framework / views / layout-user-consent-for-banner.php
elementskit-lite / libs / framework / views Last commit date
onboard-steps 2 weeks ago settings-sections 2 weeks ago init.php 2 weeks ago layout-onboard.php 1 year ago layout-settings.php 2 weeks ago layout-user-consent-for-banner.php 2 years ago
layout-user-consent-for-banner.php
43 lines
1 <style>
2 .ekit-user-consent-for-banner{
3 margin: 0 0 15px 0!important;
4 max-width: 655px;
5 }
6 .ekit-success-notice {
7 position: fixed;
8 top: 50px;
9 right: 20px;
10 background-color: #f2295b;
11 color: white;
12 padding: 10px;
13 border-radius: 5px;
14 display: none;
15 }
16 </style>
17 <script>
18 jQuery(document).ready(function ($) {
19 "use strict";
20 $('#ekit-admin-switch__ekit-user-consent-for-banner').on('change', function(){
21 let val = ($(this).prop("checked") ? $(this).val() : 'no');
22 let data = {
23 'settings' : {
24 'ekit_user_consent_for_banner' : val,
25 },
26 'nonce': "<?php echo esc_html(wp_create_nonce( 'ajax-nonce' )); ?>"
27 };
28
29 $.post( ajaxurl + '?action=ekit_admin_action', data, function( data ) {
30 $('#success-notice').fadeIn().delay(1000).fadeOut();
31 });
32 });
33 }); // end ready function
34 </script>
35
36 <div id="success-notice" class="ekit-success-notice"><?php esc_html_e( 'Success! Your action was completed', 'elementskit-lite' ); ?></div>
37 <div class="ekit-user-consent-for-banner notice notice-error">
38 <p>
39 <label for="ekit-admin-switch__ekit-user-consent-for-banner"><?php esc_html_e( 'Show update & fix related important messages, essential tutorials and promotional images on WP Dashboard', 'elementskit-lite' ); ?></label>
40 <input type="checkbox" <?php echo ( $this->utils->get_settings( 'ekit_user_consent_for_banner', 'yes' ) == 'yes' ? 'checked' : '' ); ?> value="yes" class="ekit-admin-control-input" name="ekit-user-consent-for-banner" id="ekit-admin-switch__ekit-user-consent-for-banner">
41 </p>
42 </div>
43