forked from swt02026/XOOPS_equipment_manage
-
Notifications
You must be signed in to change notification settings - Fork 2
/
indexvue.php
38 lines (32 loc) · 1.32 KB
/
indexvue.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/*
You may not change or alter any portion of this comment or credits
of supporting developers from this source code or any supporting source code
which is considered copyrighted (c) material of the original comment or credit authors.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
* Module: Equipment
*
* @category Module
* @package equipment
* @author swt02026 (https://github.com/swt02026/)
* @author XOOPS Development Team <http://xoops.org>
* @copyright {@link https://xoops.org/ XOOPS Project}
* @license GPL 2.0 or later
* @link https://xoops.org/
* @since 1.0.0
*/
$GLOBALS['xoopsOption']['template_main'] = 'equipment_borrow.tpl';
require_once __DIR__ . '/header.php';
//require_once XOOPS_ROOT_PATH.'/header.php';
require_once __DIR__ . '/include/config.php';
/** @var EquipmentEquipmentHandler $equipmentHandler */
$json_data = $equipmentHandler->getDataJson();
$xoopsTpl->assign('json_data', $json_data);
/** @var EquipmentRentalsHandler $rentalsHandler */
$borrow_data = $rentalsHandler->getDataJson();
$xoopsTpl->assign('borrow_data', $borrow_data);
include_once XOOPS_ROOT_PATH . '/footer.php';