PluginProbe ʕ •ᴥ•ʔ
VikAppointments Services Booking Calendar / trunk
VikAppointments Services Booking Calendar vtrunk
trunk 1.2.17 1.2.18 1.2.19
vikappointments / libraries / html / system / body.php
vikappointments / libraries / html / system Last commit date
body.php 4 years ago messages.php 4 years ago notice.php 4 years ago pagination.php 4 years ago
body.php
41 lines
1 <?php
2 /**
3 * @package VikAppointments - Libraries
4 * @subpackage html.system
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 // fix [tmpl component] and [admin.php] issues on wordpress
15 JHtml::fetch('behavior.component');
16
17 $html = !empty($displayData['html']) ? $displayData['html'] : '';
18 $class = !empty($displayData['class']) ? ' ' . $displayData['class'] : '';
19
20 ?>
21
22 <div class="wrap plugin-container<?php echo $class; ?>">
23
24 <?php VikAppointmentsLayoutHelper::renderToolbar(); ?>
25
26 <?php
27 /**
28 * System messages are now fetched when processing the body
29 * in order to avoid keeping the same message within the
30 * session, as certain themes might obtain the buffer when
31 * the headers have been already sent.
32 *
33 * @since 1.1.7
34 */
35 // VikAppointmentsLayoutHelper::renderSystemMessages();
36 ?>
37
38 <?php echo $html; ?>
39
40 </div>
41