PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / 2.5.0
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution v2.5.0
2.5.0 2.4.0 2.3.0 2.2.5 2.2.0 2.1.2 2.1.1 trunk 1.10.0 1.10.01 1.10.02 1.5.0 1.5.01 1.5.02 1.5.1 1.5.10 1.5.20 1.5.21 1.5.22 1.5.23 1.5.24 1.5.25 1.6.0 1.7.0 1.7.1 All 34 releases
← All changes | app/Views/public/calendar.php +20 -12 1.5.21 → 2.5.0 View file →
@@ -1,18 +1,20 @@
1 1 <?php
2 - /**
3 - * @var $theme
4 - * @var $calenderEvent
5 - */
6 -
7 - defined( 'ABSPATH' ) || exit;
2 +defined( 'ABSPATH' ) || exit;
8 3
9 - $mode = '';
10 - if ($theme == 'dark') {
11 - $mode = 'fcal-dark-mode';
12 - } else if ($theme == 'light') {
13 - $mode = 'fcal-light-mode';
14 - }
4 +use FluentBooking\App\Models\CalendarSlot;
5 +
6 +/**
7 + * @var string $theme
8 + * @var CalendarSlot $calenderEvent
9 + */
10 +
11 +$mode = '';
12 +if ($theme == 'dark') {
13 + $mode = 'fcal-dark-mode';
14 +} else if ($theme == 'light') {
15 + $mode = 'fcal-light-mode';
16 +}
15 17 ?>
16 18 <div class="fcal_cal_wrap <?php echo esc_attr($mode); ?>">
17 19 <div class="fluent_booking_app" data-calendar_id="<?php echo (int)$calenderEvent->calendar_id; ?>"
18 20 data-event_id="<?php echo (int)$calenderEvent->id; ?>"></div>
@@ -18,4 +20,10 @@
18 20 data-event_id="<?php echo (int)$calenderEvent->id; ?>"></div>
19 21 <?php do_action('fluent_booking/short_code_render', $calenderEvent); ?>
20 22 </div>
21 23
24 +<style>
25 + .fcal_phone_wrapper .flag {
26 + background: url(<?php echo esc_url(\FluentBooking\App\App::getInstance()['url.assets'].'images/flags_responsive.png'); ?>) no-repeat;
27 + background-size: 100%;
28 + }
29 +</style>