PluginProbe ʕ •ᴥ•ʔ
VikAppointments Services Booking Calendar / 1.2.20
VikAppointments Services Booking Calendar v1.2.20
1.2.21 1.2.20 trunk 1.2.17 1.2.18 1.2.19
vikappointments / libraries / html / license / lite.php
vikappointments / libraries / html / license Last commit date
lite.php 1 month ago update.php 1 month ago
lite.php
113 lines
1 <?php
2 /**
3 * @package VikAppointments - Libraries
4 * @subpackage html.license
5 * @author E4J s.r.l.
6 * @copyright Copyright (C) 2021 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 $view = $displayData['view'];
15
16 $lookup = array(
17 'acl' => array(
18 'title' => JText::translate('VAPACLMENUTITLE'),
19 'desc' => __('Define the permissions for each user role to allow or deny the access to certain pages and the actions they can perform.', 'vikappointments'),
20 ),
21
22 'customers' => array(
23 'title' => JText::translate('VAPMAINTITLEVIEWCUSTOMERS'),
24 'desc' => __('Here you can manage all of your customers information, their documents and send specific SMS notifications.', 'vikappointments'),
25 ),
26
27 'editconfigemp' => array(
28 'title' => JText::translate('VAPMAINTITLECONFIG'),
29 'desc' => __('Configure your website as a portal of employees, which will be able to manage all their stuff through a private area in the front-end.', 'vikappointments'),
30 ),
31
32 'editconfigcron' => array(
33 'title' => JText::translate('VAPMAINTITLEVIEWCRONJOBS'),
34 'desc' => __('Schedule some procedures to be executed periodically, such as SMS and E-mail reminders.', 'vikappointments'),
35 ),
36
37 'invoices' => array(
38 'title' => JText::translate('VAPMAINTITLEVIEWARCHIVE'),
39 'desc' => __('Manage all the invoices generated for the various appointments, packages and subscriptions.', 'vikappointments'),
40 ),
41
42 'locations' => array(
43 'title' => JText::translate('VAPMAINTITLEVIEWLOCATIONS'),
44 'desc' => __('Manage here the locations in which your employees perform their services.', 'vikappointments'),
45 ),
46
47 'options' => array(
48 'title' => JText::translate('VAPMAINTITLEVIEWOPTIONS'),
49 'desc' => __('Offer additional options to be purchased during the booking process of the appointments.', 'vikappointments'),
50 ),
51
52 'payments' => array(
53 'title' => JText::translate('VAPMAINTITLEVIEWPAYMENTS'),
54 'desc' => __('Allow your guests to pay their appointments online through your preferred bank gateway. The Pro version comes with an integration for PayPal Standard and two more payment solutions, but the framework could be extended by installing apposite payment plugins for VikAppointments for your preferred bank.', 'vikappointments'),
55 ),
56
57 'rates' => array(
58 'title' => JText::translate('VAPMAINTITLEVIEWSPECIALRATES'),
59 'desc' => __('Apply automated surcharges or discounts based on several conditions, such as the number of participants, the check-in date/time, the service type and so on.', 'vikappointments'),
60 ),
61
62 'restrictions' => array(
63 'title' => JText::translate('VAPMAINTITLEVIEWSPECIALRESTR'),
64 'desc' => __('Restrict the total number of appointments that a customer can book within an established range of time, such as at most 3 appointments per week.', 'vikappointments'),
65 ),
66
67 'reviews' => array(
68 'title' => JText::translate('VAPMAINTITLEVIEWREVIEWS'),
69 'desc' => __('Start collecting your own customers reviews for your services and employees.', 'vikappointments'),
70 ),
71 );
72
73 if (!isset($lookup[$view]))
74 {
75 return;
76 }
77
78 // set up toolbar title
79 JToolbarHelper::title($lookup[$view]['title']);
80
81 if (empty($lookup[$view]['image']))
82 {
83 // use the default logo image
84 $lookup[$view]['image'] = 'vikwp-lite-logo.png';
85 }
86
87 ?>
88
89 <div class="vap-free-nonavail-wrap">
90
91 <div class="vap-free-nonavail-inner">
92
93 <div class="vap-free-nonavail-logo">
94 <img src="<?php echo VIKAPPOINTMENTS_CORE_MEDIA_URI . 'images/' . $lookup[$view]['image']; ?>">
95 </div>
96
97 <div class="vap-free-nonavail-expl">
98 <h3><?php echo preg_replace("/Vik\s*Appointments - /i", '', $lookup[$view]['title']); ?></h3>
99
100 <p class="vap-free-nonavail-descr"><?php echo $lookup[$view]['desc']; ?></p>
101
102 <p class="vap-free-nonavail-footer-descr">
103 <a href="admin.php?page=vikappointments&amp;view=gotopro" class="btn vap-free-nonavail-gopro">
104 <i class="fas fa-rocket"></i>
105 <span><?php _e('Upgrade to PRO', 'vikappointments'); ?></span>
106 </a>
107 </p>
108 </div>
109
110 </div>
111
112 </div>
113