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 / chat / blank.php

blank.php in VikBooking Hotel Booking Engine & PMS trunk, at admin/layouts/chat/blank.php

77 lines 1.7 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 string $icon
17 * @var string $title
18 * @var string $subtitle
19 */
20 extract($displayData);
21
22 $icon = $icon ?? VikBookingIcons::i('comments');
23 $title = $title ?? JText::translate('VBO_CHAT_THREADS_EMPTY_TITLE');
24 $subtitle = $subtitle ?? JText::translate('VBO_CHAT_THREADS_EMPTY_SUBTITLE');
25
26 ?>
27
28 <style>
29 .vbo-chat-blank-pane {
30 height: 100%;
31 display: flex;
32 flex-direction: column;
33 justify-content: center;
34 align-items: center;
35 max-width: 600px;
36 margin: auto;
37 gap: 20px;
38 text-align: center;
39 }
40 .vbo-chat-blank-pane .blank-icon {
41 font-size: 128px;
42 margin-bottom: 25px;
43 }
44 .vbo-chat-blank-pane .blank-title {
45 font-size: 2.5em;
46 line-height: 1em;
47 font-weight: 500;
48 margin-bottom: 10px;
49 }
50 .vbo-chat-blank-pane .blank-subtitle {
51 font-size: 1.5em;
52 line-height: 1.5em;
53 }
54 </style>
55
56 <div class="vbo-chat-blank-pane">
57
58 <?php if ($icon): ?>
59 <div class="blank-icon">
60 <i class="<?php echo $icon; ?>"></i>
61 </div>
62 <?php endif; ?>
63
64 <?php if ($title): ?>
65 <div class="blank-title">
66 <?php echo $title; ?>
67 </div>
68 <?php endif; ?>
69
70 <?php if ($subtitle): ?>
71 <div class="blank-subtitle">
72 <?php echo $subtitle; ?>
73 </div>
74 <?php endif; ?>
75
76 </div>
77