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/team_page.php +18 -7 1.5.24 → 2.5.0 View file →
@@ -1,6 +1,17 @@
1 -<?php defined( 'ABSPATH' ) || exit; ?>
1 +<?php
2 +defined( 'ABSPATH' ) || exit;
2 3
4 +/**
5 + * @var iterable $hosts
6 + * @var string $wrapper_id
7 + * @var string $wrapper_class
8 + * @var string $logo
9 + * @var string $title
10 + * @var string $description
11 + */
12 +?>
13 +
3 14 <div id="<?php echo esc_attr($wrapper_id); ?>" class="fcal_teams <?php echo esc_attr($wrapper_class); ?>">
4 15 <div class="fcal_teams_inner">
5 16 <div style="display: none;" class="fcal_teams_wrap">
6 17 <?php if (!empty($logo) || !empty($title) || !empty($description)): ?>
@@ -20,18 +31,18 @@
20 31 <?php endif; ?>
21 32 </div>
22 33 <?php endif; ?>
23 34 <div class="fcal_team_body">
24 - <?php foreach ($hosts as $host): ?>
25 - <div data-calendar_id="<?php echo esc_attr($host->id); ?>" id="fcal_host_<?php echo esc_attr($host->id); ?>" class="fcal_each_member">
35 + <?php foreach ($hosts as $fluentBookingHost): ?>
36 + <div data-calendar_id="<?php echo esc_attr($fluentBookingHost->id); ?>" id="fcal_host_<?php echo esc_attr($fluentBookingHost->id); ?>" class="fcal_each_member">
26 37 <div class="fcal_person_avatar">
27 - <img src="<?php echo esc_url($host->getAuthorPhoto()); ?>"
28 - alt="<?php echo esc_attr($host->title); ?>">
38 + <img src="<?php echo esc_url($fluentBookingHost->getAuthorPhoto()); ?>"
39 + alt="<?php echo esc_attr($fluentBookingHost->title); ?>">
29 40 </div>
30 41 <div class="fcal_person_body">
31 - <h3 class="fcal_person_name"><?php echo esc_html($host->title); ?></h3>
42 + <h3 class="fcal_person_name"><?php echo esc_html($fluentBookingHost->title); ?></h3>
32 43 <div class="fcal_person_description">
33 - <?php echo wp_kses_post(wpautop($host->description)); ?>
44 + <?php echo wp_kses_post(wpautop($fluentBookingHost->description)); ?>
34 45 </div>
35 46 </div>
36 47 </div>
37 48 <?php endforeach; ?>