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 / admin / layouts / history / timeline.php

timeline.php in VikBooking Hotel Booking Engine & PMS trunk, at admin/layouts/history/timeline.php

64 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package VikBooking
4 * @subpackage com_vikbooking
5 * @author Alessio Gaggii - E4J srl
6 * @copyright Copyright (C) 2025 E4J srl. All rights reserved.
7 * @license GNU General Public License version 2 or later; see LICENSE
8 * @link https://vikwp.com
9 */
10
11 defined('ABSPATH') or die('No script kiddies please!');
12
13 /**
14 * Display data attributes.
15 *
16 * @var array $history
17 */
18 extract($displayData);
19
20 ?>
21
22 <div class="vbo-history-timeline">
23
24 <?php foreach (array_reverse($history) as $change): ?>
25
26 <div class="history-timeline-change">
27
28 <div class="change-icon">
29 <i class="<?php echo $change->icon; ?>"></i>
30 </div>
31
32 <div class="change-details">
33
34 <div class="change-events-list">
35 <?php foreach ($change->events as $event): ?>
36 <div class="change-event">
37 <?php echo $event->describe(); ?>
38 </div>
39 <?php endforeach; ?>
40 </div>
41
42 <div class="change-bottom">
43
44 <span class="change-user">
45 <?php if ($change->user->name): ?>
46 <?php echo $change->user->name; ?>
47 <?php else: ?>
48 <?php VikBookingIcons::e('history'); ?>&nbsp;<?php echo JText::translate('VBO_SCHEDULED_ACTIVITY'); ?>
49 <?php endif; ?>
50 </span>
51 <span class="change-date" title="<?php echo JHtml::fetch('date', $change->date, 'd F Y H:i'); ?>">
52
53 <?php echo JHtml::fetch('date.relative', $change->date, null, null, 'd F Y H:i'); ?>
54 </span>
55
56 </div>
57
58 </div>
59
60 </div>
61
62 <?php endforeach; ?>
63
64 </div>