| 1 |
<?php |
| 2 |
/** |
| 3 |
* @package VikBooking - Libraries |
| 4 |
* @subpackage html.system |
| 5 |
* @author E4J s.r.l. |
| 6 |
* @copyright Copyright (C) 2018 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 VikBookingLayoutHelper::renderToolbar(); ?> |
| 25 |
|
| 26 |
<?php |
| 27 |
/** |
| 28 |
* In order to avoid issues with the PHP Session, we no longer render the system messages here, |
| 29 |
* we rather do it in the process() method of the VikBookingBody class. |
| 30 |
* |
| 31 |
* @since 1.3.5 |
| 32 |
*/ |
| 33 |
// VikBookingLayoutHelper::renderSystemMessages(); |
| 34 |
?> |
| 35 |
|
| 36 |
<?php echo $html; ?> |
| 37 |
|
| 38 |
</div> |
| 39 |
|