PluginProbe
VikBooking Hotel Booking Engine & PMS / trunk
VikBooking Hotel Booking Engine & PMS vtrunk
1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 1.7.3 All 36 releases
vikbooking / libraries / html / rss / optin / modal.php

modal.php in VikBooking Hotel Booking Engine & PMS trunk, at libraries/html/rss/optin/modal.php

113 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package VikBooking - Libraries
4 * @subpackage html.rss
5 * @author E4J s.r.l.
6 * @copyright Copyright (C) 2018 E4J s.r.l. All Rights Reserved.
7 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
8 * @link https://vikwp.com
9 */
10
11 // No direct access
12 defined('ABSPATH') or die('No script kiddies please!');
13
14 ?>
15
16 <style>
17 /* make background color of checkbox darker */
18 #rss_optin_status1:not(:checked) + label:before {
19 background-color: #ccc;
20 }
21 </style>
22
23 <!-- RSS intro -->
24
25 <p>
26 <?php
27 _e(
28 'This plugin supports the possibility of subscribing to RSS channels, and we are wondering if you are interested into using this service.',
29 'vikbooking'
30 );
31 ?>
32 </p>
33
34 <!-- explain RSS usage -->
35
36 <p>
37 <b>
38 <?php
39 _e(
40 'Why should I opt-in to this service?',
41 'vikbooking'
42 );
43 ?>
44 </b>
45 </p>
46
47 <p>
48 <?php
49 _e(
50 'The RSS service mainly covers these macro sections: <b>news</b>, <b>tips</b> and <b>offers</b>. In the wp-admin section of your website you may see important news about this plugin or anything else that has to do with the WordPress world. Sometimes you could receive notifications about tips or features that you didn\'t even think they could exist. Any notification will be displayed within a modal window just like this message. We can guarantee that this service is not an annoying advertising system, it is just a notification center.',
51 'vikbooking'
52 );
53 ?>
54 </p>
55
56 <!-- privacy policy -->
57
58 <p>
59 <b>
60 <?php
61 _e(
62 'What kind of personal data do we collect?',
63 'vikbooking'
64 );
65 ?>
66 </b>
67 </p>
68
69 <p>
70 <?php
71 _e(
72 'Our company does NOT collect any personal information. The syndication URLs never include sensitive data that may be linked back to you.',
73 'vikbooking'
74 );
75 ?>
76 </p>
77
78 <!-- opt-in checkbox -->
79
80 <p>
81 <?php
82 _e(
83 'We need you to explicitly opt-in to the RSS service for GDPR compliance. You are free to change your settings at any time from the Configuration page of this plugin.',
84 'vikbooking'
85 );
86 ?>
87 </p>
88
89 <p style="display: inline-block; width: 100%; margin: 0 auto;">
90 <?php
91 echo VikBooking::getVboApplication()->printYesNoButtons('rss_optin_status', __('Yes', 'vikbooking'), __('No', 'vikbooking'), 1, 1, 0);
92 ?>
93 <span style="margin-left: 6px;">
94 <?php
95 _e(
96 'I want to opt-in to the RSS service',
97 'vikbooking'
98 );
99 ?>
100 </span>
101 </p>
102
103 <!-- finalisation -->
104
105 <p>
106 <?php
107 _e(
108 'Hit the <b>Save</b> button to confirm your choice and close this modal window.',
109 'vikbooking'
110 );
111 ?>
112 </p>
113